]> sourceware.org Git - glibc.git/blame - ChangeLog
Update Ukrainian translations
[glibc.git] / ChangeLog
CommitLineData
1b19c006
AM
12014-01-10 Allan McRae <allan@archlinux.org>
2
3 * po/uk.po: Update Ukrainian translation from translation project.
4
9f236c49
BM
52014-01-08 Brooks Moses <bmoses@google.com>
6
7 * elf/dl-load.c: Fix comment typo.
8
cd6701cf
CD
92014-01-08 Carlos O'Donell <carlos@redhat.com>
10
11 * po/header.pot: Rename to...
12 * po/pot.header: ... this.
13 * po/Makefile: Use pot.header.
14
66671c84
YK
152014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
16 Maxim Kuvyrkov <maxim@kugelworks.com>
17
18 [BZ #16394]
cd6701cf
CD
19 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
20 SRC and DEST against LEN.
66671c84 21
38f34581
AZ
222014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23
24 [BZ #16414]
25 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
26 implementation.
27 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
28
292014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
30
31 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32
4c327f2a
JM
332014-01-08 Joseph Myers <joseph@codesourcery.com>
34
35 [BZ #16408]
36 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
37 for large positive arguments.
38
b821f414
JM
392014-01-07 Joseph Myers <joseph@codesourcery.com>
40
1f0f2067
JM
41 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
42
a5a326f6
JM
43 * math/auto-libm-test-in: Mark various tests with
44 xfail-rounding:ldbl-128ibm.
45 * math/auto-libm-test-out: Regenerated.
46
b821f414
JM
47 [BZ #16407]
48 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
49 Increase overflow threshold.
50
94c8a4bc
OB
512014-01-07 Ondřej Bílka <neleai@seznam.cz>
52
53 [BZ #14286]
54 * stdio-common/vfprintf.c: Check for integer overflow.
55
87ded0c3
AK
562014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57
58 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
59 the first argument and return value of __tls_get_addr_internal.
60
c5eebdd0
AK
612014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
62
63 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
64 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
65
05d138ef
AK
662014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
67
68 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
69 * sysdeps/s390/rtld-global-offsets.sym: New file.
70 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
71 GLIBC_2.19 symbol.
72 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
73 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
74 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
75 ... this.
76 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
77 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
78 ... this.
79 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
80 Regenerate.
81 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
82 Regenerate.
83 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
84 halfs of GPRs for high_gprs contexts.
85 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
86 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
87 field.
88 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
89 uc_flags field.
90 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
91 64 bit versions:
92 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
93 for high GPRs (uc_high_gprs) and for future extensions
94 (__reserved).
95 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
96 for future extensions (__reserved).
97 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
98 64 bit versions:
99 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
100 SC_HIGHGPRS offset definition.
101 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
102 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
103
93a45ff1
AK
1042014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
105
106 * Versions.def: Add GLIBC_2.19 for libpthread.
107 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
108 siglongjmp for libpthread with GLIBC_2.19 symver.
109 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
110 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
111 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
112 * sysdeps/s390/__longjmp.c: New file.
113 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
114 * sysdeps/s390/longjmp.c: New file.
115 * sysdeps/s390/setjmp.S: New file.
116 * sysdeps/s390/sigjmp.S: New file.
117 * sysdeps/s390/v1-longjmp.c: New file.
118 * sysdeps/s390/v1-setjmp.h: New file.
119 * sysdeps/s390/v1-sigjmp.c: New file.
120 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
121 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
122 GLIBC_2.19 version.
123 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
124 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
125 versioned symbols for ____longjmp_chk.
126 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
127 Likewise.
128 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
129 Regenerate.
130 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
131 Regenerate.
132 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
133 Regenerate.
134 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
135 Regenerate.
136 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
137 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
138 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
139 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
140 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
141 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
142 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
143 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
144 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
145 * sysdeps/s390/rtld-__longjmp.c: New file.
146 * sysdeps/s390/rtld-setjmp.S: New file.
147
eb3fc44b
JM
1482014-01-06 Joseph Myers <joseph@codesourcery.com>
149
150 [BZ #16400]
151 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
152 Return -__logl (x) for small positive arguments without evaluating
153 a polynomial.
154
9341dde4
MF
1552014-01-06 Mike Frysinger <vapier@gentoo.org>
156
157 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
158 Rename to ...
159 (__ptrace_peeksiginfo_args): ... this.
160 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
161 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
162 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
163
4cff0293
AM
1642014-01-06 Allan McRae <allan@archlinux.org>
165
166 * inet/netinet/in.h: Fix typo in comment.
167
75595dcf
AJ
1682014-01-05 Andreas Jaeger <aj@suse.de>
169
170 * sysdeps/i386/fpu/libm-test-ulps: Update.
171
79c1e109
AM
1722014-01-05 Allan McRae <allan@archlinux.org>
173
dd804818
AM
174 * po/libc.pot: Regenerated.
175
79c1e109
AM
176 * malloc/memusagestat.c: Fix gettext call formatting.
177
0c813d1f
SK
1782014-01-04 Sami Kerola <kerolasa@iki.fi>
179
180 * nscd/nscd.c: Improve usage() output.
181
20f4a8d9
MF
1822014-01-04 Mike Frysinger <vapier@gentoo.org>
183
184 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
185 * sysdeps/unix/sysv/linux/configure: Regenerated.
186 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
187 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
188
22562bb2
JM
1892014-01-03 Joseph Myers <joseph@codesourcery.com>
190
191 [BZ #16390]
192 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
193 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
194
d7ad2d9b
AZ
1952014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
196
197 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
198 extra tokens at end of #undef directive.
199 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
200 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
201 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
202
7f507ee1
AH
2032014-01-03 Andrew Hunter <ahh@google.com>
204
0da43124 205 * elf/dl-open.c (dl_open_worker): New comment.
7f507ee1
AH
206 * elf/dl-reloc.c (_dl_try_allocate_static_tls): Use
207 atomic_compare_and_exchange_bool_acq
208 (_dl_allocate_static_tls): Block signals.
209 * elf/dl-tls.c (allocate_and_init): Return void.
210 (_dl_update_slotinfo): Block signals, use atomic update.
211
7dd009d8
JM
2122014-01-03 Joseph Myers <joseph@codesourcery.com>
213
24db925a
JM
214 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
215
7dd009d8
JM
216 * math/auto-libm-test-in: Mark various tests with
217 xfail-rounding:ldbl-128ibm.
218 * math/auto-libm-test-out: Regenerated.
219
396e3ecf
JM
2202014-01-02 Joseph Myers <joseph@codesourcery.com>
221
819e5d50
JM
222 [BZ #16386]
223 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
224 numbers with subnormal high part when calculating exponent.
225
90b6a1e5
JM
226 [BZ #16385]
227 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
228 fabs.
229
396e3ecf
JM
230 [BZ #16384]
231 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
232 M_LN2l.
233 (__ieee754_acoshl): Use __log1pl not __log1p.
234
6c8dbf00
OB
2352013-01-02 Ondřej Bílka <neleai@seznam.cz>
236
237 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
238 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
239 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
240 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
241 Convert to GNU style.
242 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
243 mem2mem_check, mem2chunk_check, top_check, realloc_check,
244 memalign_check, __malloc_set_state): Likewise.
245 * malloc/mallocbug.c (main): Likewise.
246 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
247 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
248 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
249 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
250 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
251 * malloc/malloc.h: Likewise.
252 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
253 memalignhook, reallochook, mabort): Likewise.
254 * malloc/mcheck.h: Likewise.
255 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
256 mmap64, mremap, munmap, dest): Likewise.
257 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
258 * malloc/morecore.c (__default_morecore): Likewise.
259 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
260 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
261 _obstack_allocated_p, obstack_free, _obstack_memory_used,
262 print_and_abort): Likewise.
263 * malloc/obstack.h: Likewise.
264 * malloc/set-freeres.c (__libc_freeres): Likewise.
265 * malloc/tst-mallocstate.c (main): Likewise.
266 * malloc/tst-mtrace.c (main): Likewise.
267 * malloc/tst-realloc.c (do_test): Likewise.
268
d4124212
SP
2692013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
270
9a3c6a6f
SP
271 [BZ #16366]
272 * nscd/netgroupcache.c (do_notfound): New function.
273 (addgetnetgrentX): Use it.
274
d4124212
SP
275 [BZ # 16365]
276 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
277 NSS_STATUS_NOTFOUND.
278
97b9a009
JM
2792014-01-01 Joseph Myers <joseph@codesourcery.com>
280
281 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
282 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
283
d4697bc9
AM
2842014-01-01 Allan McRae <allan@archlinux.org>
285
ddb3687f
AM
286 * scripts/update-copyrights: Update configure input file suffix.
287
88726d48
AM
288 * NEWS: Update copyright year.
289 * catgets/gencat.c: Likewise.
290 * csu/version.c: Likewise.
291 * debug/catchsegv.sh: Likewise.
292 * debug/pcprofiledump.c: Likewise.
293 * debug/xtrace.sh: Likewise.
294 * elf/ldconfig.c: Likewise.
295 * elf/ldd.bash.in: Likewise.
296 * elf/pldd.c: Likewise.
297 * elf/sotruss.ksh: Likewise.
298 * elf/sprof.c: Likewise.
299 * iconv/iconv_prog.c: Likewise.
300 * iconv/iconvconfig.c: Likewise.
301 * locale/programs/locale.c: Likewise.
302 * locale/programs/localedef.c: Likewise.
303 * login/programs/pt_chown.c: Likewise.
304 * malloc/memusage.sh: Likewise.
305 * malloc/memusagestat.c: Likewise.
306 * malloc/mtrace.pl: Likewise.
307 * manual/libc.texinfo: Likewise.
308 * nscd/nscd.c: Likewise.
309 * nss/getent.c: Likewise.
310 * nss/makedb.c: Likewise.
311 * posix/getconf.c: Likewise.
312 * scripts/test-installation.pl: Likewise.
313
d4697bc9
AM
314 * All files with FSF copyright notices: Update copyright dates
315 using scripts/update-copyrights.
316 * intl/plural.c: Regenerated.
317 * locale/programs/charmap-kw.h: Likewise.
318 * locale/programs/locfile-kw.h: Likewise.
319
c8590f9d
MF
3202013-12-31 Mike Frysinger <vapier@gentoo.org>
321
322 * sysdeps/unix/sysv/linux/configure: Regenerated.
323 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
324 the linux/fanotify.h header.
325 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
326 HAVE_LINUX_FANOTIFY_H is defined.
327
b19221b9
SP
3282013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
329
dd1d85e5
SP
330 * benchtests/cos-inputs: New inputs.
331 * benchtests/sin-inputs: Likewise.
332
1acbb90f
SP
333 * benchtests/atan-inputs: New inputs. Fix name of multiple
334 precision fallback inputs.
335
4c012ed3
SP
336 * benchtests/atanh-inputs: New inputs.
337 * benchtests/tanh-inputs: Likewise.
338
eff98324
SP
339 * benchtests/acosh-inputs: New inputs.
340 * benchtests/asinh-inputs: Likewise.
341
ce641152
SP
342 * benchtests/cosh-inputs: New inputs.
343 * benchtests/sinh-inputs: Likewise.
344
b19221b9
SP
345 * benchtests/acos-inputs: Add more inputs.
346 * benchtests/asin-inputs: Likewise.
347
030a4976 3482013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 349
030a4976 350 [BZ #16375]
9dcc8f11
VS
351 * manual/arith.texi: Fix spelling.
352 * manual/charset.texi: Likewise.
353 * manual/errno.texi: Likewise.
354 * manual/filesys.texi: Likewise.
355 * manual/lang.texi: Likewise.
356 * manual/llio.texi: Likewise.
357 * manual/locale.texi: Likewise.
358 * manual/message.texi: Likewise.
359 * manual/resource.texi: Likewise.
360 * manual/search.texi: Likewise.
361 * manual/setjmp.texi: Likewise.
362 * manual/stdio.texi: Likewise.
363 * manual/string.texi: Likewise.
364 * manual/sysinfo.texi: Likewise.
365 * manual/time.texi: Likewise.
366
11520a57
CD
3672013-12-27 Carlos O'Donell <carlos@redhat.com>
368
369 * po/sl.po: New file.
370
471103ae
MF
3712013-12-27 Mike Frysinger <vapier@gentoo.org>
372
373 * .gitignore: Add core/.gdbinit/.gdb_history.
374
6c9642ed
AM
3752013-12-27 Allan McRae <allan@archlinux.org>
376
377 [BZ #16369]
378 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
379 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
380
3f637079
BM
3812013-12-24 Brooks Moses <bmoses@google.com>
382
383 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
384 all compilers that claim C++98 compliance, not just GCC.
385 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
386 Likewise.
387
abc26e99
MK
3882013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
389
390 * NEWS: Restore accidentally deleted bug-fix entries.
391
362b47fe
MK
3922013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
393 Ondřej Bílka <neleai@seznam.cz>
394
395 [BZ #15073]
396 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 397 have_lock.
362b47fe 398
b9bcbbcb
OB
3992013-12-23 Ondřej Bílka <neleai@seznam.cz>
400
401 [BZ #12986]
402 * manual/stdio.texi (String Input Conversions): Clarify that character
403 classes are not supported.
404
fb55fcd2
AZ
4052013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
406
407 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
408
ef7344f0
JM
4092013-12-22 Joseph Myers <joseph@codesourcery.com>
410
4f40e4b3
JM
411 [BZ #16337]
412 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
413 Calculate results for small negative arguments directly rather
414 than using reflection formula with special underflow handling.
415
ef7344f0
JM
416 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
417 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
418 sysdeps/unix/bsd/bsd4.4/syscalls.list.
419 (fchflags): Likewise.
420 (revoke): Likewise.
421 (setlogin): Likewise.
422 (sigaltstack): Likewise.
423 (wait4): Likewise.
424 (sigblock): Remove.
425 (sigsetmask): Likewise.
426 (wait3): Likewise.
427 (waitpid): Likewise.
428 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
429 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
430 file.
431 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
432 * sysdeps/unix/bsd/Makefile: ... here.
433 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
434 * sysdeps/unix/bsd/Versions: ... here.
435 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
436 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
437 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
438 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
439 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
440 * sysdeps/unix/bsd/sigblock.c: ... here.
441 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
442 * sysdeps/unix/bsd/sigsetmask.c: ... here.
443 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
444 * sysdeps/unix/bsd/sigvec.c: ... here.
445 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
446 * sysdeps/unix/bsd/tcdrain.c: ... here.
447 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
448 * sysdeps/unix/bsd/tcgetattr.c: ... here.
449 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
450 * sysdeps/unix/bsd/tcsetattr.c: ... here.
451 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
452 * sysdeps/unix/bsd/wait.c: ... here.
453 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
454 * sysdeps/unix/bsd/wait3.c: ... here.
455 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
456 * sysdeps/unix/bsd/waitpid.c: ... here.
457
5b0626b9
JM
4582013-12-21 Joseph Myers <joseph@codesourcery.com>
459
460 [BZ #16356]
461 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
462 round-to-nearest for [!USE_AS_EXPM1L].
463 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
464 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
465 more tests of exp and exp10. Expect some exp10 tests to miss
466 exceptions or fail in directed rounding modes.
467 * math/auto-libm-test-out: Regenerated.
468 * math/libm-test.inc (exp10_tonearest_test_data): New array.
469 (exp10_test_tonearest): New function.
470 (exp10_towardzero_test_data): New array.
471 (exp10_test_towardzero): New function.
472 (exp10_downward_test_data): New array.
473 (exp10_test_downward): New function.
474 (exp10_upward_test_data): New array.
475 (exp10_test_upward): New function.
476 (main): Call the new functions.
477 * sysdeps/i386/fpu/libm-test-ulps: Update.
478 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
479
7fda5682
JM
4802013-12-20 Joseph Myers <joseph@codesourcery.com>
481
31e3a405
JM
482 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
483 asinh, atan, atan2, atanh, cbrt, cos and cosh.
484 * math/auto-libm-test-out: Regenerated.
485 * math/libm-test.inc (acosh_test_data): Add more tests.
486 (atanh_test_data): Likewise.
487 (ceil_test_data): Likewise.
488 (copysign_test_data): Likewise.
489 * sysdeps/i386/fpu/libm-test-ulps: Update.
490 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
491
85bff96a
JM
492 * timezone/checktab.awk: Update from tzcode 2013i.
493 * timezone/private.h: Likewise.
494 * timezone/scheck.c: Likewise.
495 * timezone/tzfile.h: Likewise.
496 * timezone/tzselect.ksh: Likewise.
497 * timezone/zdump.c: Likewise.
498 * timezone/zic.c: Likewise.
499
b7867a3b
JM
500 * math/auto-libm-test-in: Add tests of cpow.
501 * math/auto-libm-test-out: Regenerated.
502 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
503 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
504 mpc_cc_c.
505 (func_calc_desc): Add mpc_cc_c union field.
506 (test_functions): Add cpow.
507 (special_fill_2pi): New function.
508 (special_real_inputs): Add 2pi.
509 (calc_generic_results): Handle mpc_cc_c.
510 * sysdeps/i386/fpu/libm-test-ulps: Update.
511 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
512
7fda5682
JM
513 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
514 csqrt, ctan and ctanh.
515 * math/auto-libm-test-out: Regenerated.
516 * math/libm-test.inc (TEST_COND_x86_64): New macro.
517 (TEST_COND_x86): Likewise.
518 (ccos_test_data): Use AUTO_TESTS_c_c.
519 (ccosh_test_data): Likewise.
520 (cexp_test_data): Likewise.
521 (clog_test_data): Likewise.
522 (csqrt_test_data): Likewise.
523 (ctan_test_data): Likewise.
524 (ctan_tonearest_test_data): Likewise.
525 (ctan_towardzero_test_data): Likewise.
526 (ctan_downward_test_data): Likewise.
527 (ctan_upward_test_data): Likewise.
528 (ctanh_test_data): Likewise.
529 (ctanh_tonearest_test_data): Likewise.
530 (ctanh_towardzero_test_data): Likewise.
531 (ctanh_downward_test_data): Likewise.
532 (ctanh_upward_test_data): Likewise.
533 * math/gen-auto-libm-tests.c (func_calc_method): Add value
534 mpc_c_c.
535 (func_calc_desc): Add mpc_c_c union field.
536 (FUNC_mpc_c_c): New macro.
537 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
538 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
539 ctanh.
540 (special_fill_min_subnorm_p120): New function.
541 (special_real_inputs): Add min_subnorm_p120.
542 (calc_generic_results): Handle mpc_c_c.
543 * sysdeps/i386/fpu/libm-test-ulps: Update.
544 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
545
5ff8d60e
SP
5462013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
547
392dd2de
SP
548 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
549 do_sin_slow): New functions.
550 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
551 cslow2, csloww1, csloww2): Use the new functions.
552
84ba214c
SP
553 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
554 Use M to change sign of result instead of X. Assume X is
555 positive.
556 (csloww1): Likewise.
557 (__sin): Adjust.
558 (__cos): Adjust.
559
975195e4
SP
560 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
561 arguments A and DA.
562 (__sin): Adjust.
563 (__cos): Likewise.
564
5ff8d60e
SP
565 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
566 (__cos): Likewise.
567 (sloww1): Don't adjust sign of DX.
568 (csloww1): Likewise.
569 (sloww2): Use X directly and don't adjust sign of DX.
570 (csloww2): Likewise.
571
eb983568
JM
5722013-12-19 Joseph Myers <joseph@codesourcery.com>
573
64a17f1a
JM
574 * math/auto-libm-test-in: Add tests of cabs and carg.
575 * math/auto-libm-test-out: Regenerated.
576 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
577 (carg_test_data): Likewise.
578 * math/gen-auto-libm-tests.c (func_calc_method): Add value
579 mpc_c_f.
580 (func_calc_desc): Add mpc_c_f union field.
581 (test_functions): Add cabs and carg.
582 (calc_generic_results): Handle mpc_c_f.
583
eb983568
JM
584 * sysdeps/powerpc/powerpc32/libgcc-compat.S
585 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
586 as a macro and a compat symbol.
587 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
588 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
589 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
590 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
591 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
592 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
593 not use .hidden.
594 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
595 Likewise.
596 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
597 Likewise.
598 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
599 Likewise.
600 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
601 Likewise.
602 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
603 Likewise.
604 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
605 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
606 from GLIBC_2.3.2.
607
6eeb678a
AZ
6082013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
609
610 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
611
063b2acb
PP
6122013-12-19 Paul Pluzhnikov <ppluzhnikov@google.com>
613
614 * elf/dl-misc.c (ptr_to_signal_safe_allocator_header): New function.
615 (__signal_safe_memalign, __signal_safe_free): Use it.
616 (__signal_safe_realloc): Likewise.
617
6f6fc482
JM
6182013-12-19 Joseph Myers <joseph@codesourcery.com>
619
21fea2e2
JM
620 * manual/texinfo.tex: Update to version 2013-11-26.10 with
621 trailing whitespace removed.
622 * scripts/config.guess: Update to version 2013-11-29.
623 * scripts/config.sub: Update to version 2013-10-01.
624
6f6fc482
JM
625 * math/auto-libm-test-in: Add tests of sincos.
626 * math/auto-libm-test-out: Regenerated.
627 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
628 * math/gen-auto-libm-tests.c (func_calc_method): Add value
629 mpfr_f_11.
630 (func_calc_desc): Add mpfr_f_11 union field.
631 (test_functions): Add sincos.
632 (calc_generic_results): Handle mpfr_f_11.
633 * sysdeps/i386/fpu/libm-test-ulps: Update.
634 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
635
83f5c32d
AS
6362013-12-19 Andreas Schwab <schwab@suse.de>
637
638 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
639 CALL_MCOUNT.
640 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
641 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
642 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
643
c688b419
JM
6442013-12-19 Joseph Myers <joseph@codesourcery.com>
645
335ee092
JM
646 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
647 * sysdeps/i386/fpu/libm-test-ulps: Update.
648 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
649
f88acd39
JM
650 [BZ #16293]
651 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
652 round-to-nearest mode when using frndint.
653 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
654 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
655 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
656 Likewise.
657 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
658 sinh test to fail.
659 * math/auto-libm-test-out: Regenerated.
660 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
661 (TEST_COND_x86): Likewise.
662 (expm1_tonearest_test_data): New array.
663 (expm1_test_tonearest): New function.
664 (expm1_towardzero_test_data): New array.
665 (expm1_test_towardzero): New function.
666 (expm1_downward_test_data): New array.
667 (expm1_test_downward): New function.
668 (expm1_upward_test_data): New array.
669 (expm1_test_upward): New function.
670 (main): Run the new test functions.
671 * sysdeps/i386/fpu/libm-test-ulps: Update.
672 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
673
c688b419
JM
674 * include/features.h: Update comment documenting feature test
675 macros. Mention _DEFAULT_SOURCE in comment.
676 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
677 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
678 _BSD_SOURCE and _SVID_SOURCE.
679 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
680 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
681 !_SVID_SOURCE]: Likewise.
682 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
683 (__USE_POSIX_IMPLICITLY): Define.
684 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
685 (_POSIX_SOURCE): Undefine and redefine.
686 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
687 (_POSIX_C_SOURCE): Likewise.
688 * manual/creature.texi (_DEFAULT_SOURCE): Document.
689 (Feature Test Macros): Update documentation of default features.
690
9f6e964c
RS
6912013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
692
693 * benchtests/Makefile: Add bench-strtok.
694 * benchtests/bench-strtok.c: New file: strtok benchtest.
695
ee0a148a
AM
6962013-12-19 Allan McRae <allan@archlinux.org>
697
698 * manual/install.texi: Suppress menu for plain text output.
699 * INSTALL: Regenerated.
700
1f33d36a
PP
7012013-12-18 Andrew Hunter <ahh@google.com>
702
703 * sysdeps/generic/ldsodefs.h (__signal_safe_memalign): New prototype.
704 (__signal_safe_malloc, __signal_safe_free): Likewise.
705 (__signal_safe_realloc, __signal_safe_calloc): Likewise.
706 * elf/dl-misc.c (__signal_safe_allocator_header): New struct.
707 (__signal_safe_memalign, __signal_safe_malloc): New function.
708 (__signal_safe_free, __signal_safe_realloc): Likewise.
709 (__signal_safe_calloc): Likewise.
710 * elf/dl-tls.c (allocate_dtv, _dl_clear_dtv): Call signal-safe
711 functions.
712 (_dl_deallocate_tls, _dl_update_slotinfo): Likewise.
713
35e8f7ab
PP
7142013-12-18 Andrew Hunter <ahh@google.com>
715
716 * elf/Versions (ld): Add _dl_clear_dtv.
717 * sysdeps/generic/ldsodefs.h (_dl_clear_dtv): New prototype.
718 * elf/dl-tls.c (_dl_clear_dtv): New function.
719 * nptl/allocatestack.c (get_cached_stack): Call _dl_clear_dtv.
720
69a17d9d
PP
7212013-12-18 Andrew Hunter <ahh@google.com>
722
723 * sysdeps/generic/ldsodefs.h (_dl_mask_all_signals): New prototype.
724 (_dl_unmask_signals): Likewise.
725 * sysdeps/mach/hurd/dl-sysdep.h (_dl_mask_all_signals): New stub.
726 (_dl_unmask_all_signals): Likewise.
727 * sysdeps/unix/sysv/linux/dl-sysdep.h (_dl_mask_all_signals): New prototype.
728 (_dl_unmask_all_signals): Likewise.
729 * sysdeps/unix/sysv/linux/dl-sysdep.c (_dl_mask_all_signals): New function.
730 (_dl_unmask_signals): Likewise.
731
b9ab448f
BM
7322013-12-18 Brooks Moses <bmoses@google.com>
733
734 [BZ #15846]
735 * misc/getauxval.c: Include errno.h.
736 (__getauxval): Set errno to ENOENT if the requested type is not
737 found.
738 * misc/sys/auxv.h (getauxval): Document that it may set errno;
739 don't declare with __attribute_const__.
740 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
741 * manual/startup.texi: Document that getauxval sets errno.
742
23776487
JM
7432013-12-18 Joseph Myers <joseph@codesourcery.com>
744
f889953b
JM
745 * math/auto-libm-test-in: Add tests of jn and yn.
746 * math/auto-libm-test-out: Regenerated.
747 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
748 (yn_test_data): Likewise.
749 * math/gen-auto-libm-tests.c (func_calc_method): Add value
750 mpfr_if_f.
751 (func_calc_desc): Add mpfr_if_f union field.
752 (FUNC_mpfr_if_f): New macro.
753 (test_functions): Add jn and yn.
754 (calc_generic_results): Assert type of second input for
755 mpfr_ff_f. Handle mpfr_if_f.
756 (output_for_one_input_case): Disable all checking for arguments
757 fitting floating-point types in case of an integer argument.
758 * sysdeps/i386/fpu/libm-test-ulps: Update.
759 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
760
23776487
JM
761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
762 Don't expect fegetround reference in libm.so.
763
cb756c6d
MS
7642013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
765
766 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
767 $(config-cflags-nofma).
768
2dec468f
JM
7692013-12-18 Joseph Myers <joseph@codesourcery.com>
770
5953eb3a
JM
771 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
772 * math/auto-libm-test-out: Regenerated.
773
2dec468f
JM
774 [BZ #16338]
775 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
776 to determine exponent and adjust argument to have exponent of -1.
777 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
778 log2.
779 * math/auto-libm-test-out: Regenerated.
780 * sysdeps/i386/fpu/libm-test-ulps: Update.
781 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
782
4d84e6ad
OB
7832013-12-18 Ondřej Bílka <neleai@seznam.cz>
784
785 * manual/probes.texi: Remove cases when per-thread arenas are
786 disabled.
787
1818483b
AS
7882013-12-18 Andreas Schwab <schwab@suse.de>
789
790 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
791 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
792 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
793 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
794 * sysdeps/i386/i686/multiarch/Makefile: Update.
795 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
796
25de95bf
JM
7972013-12-17 Joseph Myers <joseph@codesourcery.com>
798
799 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
800 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
801
674762d9
PE
8022013-12-17 Paul Eggert <eggert@cs.ucla.edu>
803
0748546f
PE
804 Support TZ transition times < 00:00:00.
805 This is needed for version-3 tz-format files; it supports time
806 stamps past 2037 for America/Godthab (the only entry in the tz
807 database for which this change is relevant).
808 * manual/time.texi (TZ Variable): Document transition times
809 from -167:59:59 through -00:00:01.
810 * time/tzset.c (tz_rule): Time of day is now signed.
811 (__tzset_parse_tz): Parse negative time of day.
812
4480e934
PE
813 Document TZ transition times >= 25:00:00.
814 * manual/time.texi (TZ Variable): Document transition times from
815 25:00:00 through 167:59:59. These are already supported, and this
816 support will help with version-3 tz-format files.
817
69947401
PE
818 * manual/time.texi (TZ Variable): Modernize North America example
819 to reflect current (i.e., 2007-and-later) daylight saving rules.
820
674762d9
PE
821 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
822
7011c262
JM
8232013-12-17 Joseph Myers <joseph@codesourcery.com>
824
2fc6557e
JM
825 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
826 * sysdeps/unix/bsd/bits/stat.h: Likewise.
827 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
828 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
829 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
830 * sysdeps/unix/bsd/bsdstat.h: Likewise.
831 * sysdeps/unix/bsd/clock.c: Likewise.
832 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
833 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
834 * sysdeps/unix/bsd/init-posix.c: Likewise.
835 * sysdeps/unix/bsd/poll.c: Likewise.
836 * sysdeps/unix/bsd/ptsname.c: Likewise.
837 * sysdeps/unix/bsd/seekdir.c: Likewise.
838 * sysdeps/unix/bsd/setegid.c: Likewise.
839 * sysdeps/unix/bsd/seteuid.c: Likewise.
840 * sysdeps/unix/bsd/setgid.c: Likewise.
841 * sysdeps/unix/bsd/setrgid.c: Likewise.
842 * sysdeps/unix/bsd/setruid.c: Likewise.
843 * sysdeps/unix/bsd/setsid.c: Likewise.
844 * sysdeps/unix/bsd/setuid.c: Likewise.
845 * sysdeps/unix/bsd/sigaction.c: Likewise.
846 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
847 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
848 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
849 * sysdeps/unix/bsd/telldir.c: Likewise.
850 * sysdeps/unix/bsd/times.c: Likewise.
851 * sysdeps/unix/bsd/usleep.c: Likewise.
852
029c7b25
JM
853 * misc/Makefile (install-lib): Remove libbsd-compat.a.
854 ($(objpfx)libbsd-compat.a): Remove rule.
855
7011c262
JM
856 * include/features.h (__FAVOR_BSD): Do not define.
857 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
858 features conflicting with POSIX.
859 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
860 (_BSD_SOURCE): Remove description of not being a subset of other
861 feature test macros.
862 * manual/job.texi (getpgrp): Do not document BSD version.
863 (getpgid): Do not document by reference to BSD getpgrp.
864 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
865 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
866 * signal/signal.h [__FAVOR_BSD]: Likewise.
867 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
868 instead of making contents conditional on [__FAVOR_BSD].
869 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
870
affb6f78
AZ
8712013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
872
873 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
874
c88769dd
JM
8752013-12-17 Joseph Myers <joseph@codesourcery.com>
876
6432a540
JM
877 [BZ #16314]
878 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
879 values below 2**-450, not 2**-500.
880 * math/auto-libm-test-in: Don't allow spurious underflow from
881 hypot.
882 * math/auto-libm-test-out: Regenerated.
883
c88769dd
JM
884 [BZ #16316]
885 [BZ #16330]
886 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
887 values of ha and hb and sort them after adjusting subnormal
888 arguments.
889 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
890 Likewise.
891 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
892 values of ea and eb and sort them after adjusting subnormal
893 arguments.
894 * math/auto-libm-test-in: Do not expect some hypot tests of
895 subnormals to fail. Add more hypot tests.
896 * math/auto-libm-test-out: Regenerated.
897
29618f6b
KK
8982013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
899
900 [BZ #13304]
901 * sysdeps/sh/s_fma.c: New file.
902 * sysdeps/sh/s_fmaf.c: New file.
903 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
904 version.
905 * sysdeps/sh/Implies: Add sh/soft-fp.
906
eacfdfbf
RM
9072013-12-16 Roland McGrath <roland@hack.frob.com>
908
909 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
910 level of indirection to members `objname', `errstring', `malloced'.
911 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
912 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
913 it as the __longjmp argument (just pass 1 instead).
914 (_dl_catch_error): Initialize C with argument pointers and address of
915 volatile local ERRCODE rather than copying values out of C at return.
916
ff362e5b
JM
9172013-12-16 Joseph Myers <joseph@codesourcery.com>
918
919 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
920 * math/auto-libm-test-out: Regenerated.
921 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
922 (hypot_test_data): Likewise.
923 (pow_test_data): Likewise.
924 (pow_tonearest_test_data): Likewise.
925 * math/gen-auto-libm-tests.c (func_calc_method): Add value
926 mpfr_ff_f.
927 (func_calc_desc): Add mpfr_ff_f union field.
928 (FUNC_mpfr_ff_f): New macro.
929 (test_functions): Add atan2, hypot and pow.
930 (special_fill_min): New function.
931 (special_fill_minus_min): Likewise.
932 (special_fill_min_subnorm): Likewise.
933 (special_fill_minus_min_subnorm): Likewise.
934 (special_real_inputs): Add min, -min, min_subnorm and
935 -min_subnorm.
936 (calc_generic_results): Handle mpfr_ff_f.
937 * sysdeps/i386/fpu/libm-test-ulps: Update.
938 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
939
5764c27f
WN
9402013-12-16 Will Newton <will.newton@linaro.org>
941
942 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
943 (Aligned Memory Blocks): Add documentation for aligned_alloc
944 and suggest it as an alternative to posix_memalign.
945 (Hooks for Malloc): Document __memalign_hook is also called
946 for aligned_alloc. (Summary of Malloc): Add summary for
947 aligned alloc. Document __memalign_hook is also called
948 for aligned_alloc.
949
0a096e44
WN
9502013-12-16 Will Newton <will.newton@linaro.org>
951
952 * manual/memory.texi (Malloc Examples): Clarify default
953 alignment documentation. Suggest posix_memalign rather
954 than memalign or valloc.
955 (Aligned Memory Blocks): Remove suggestion to use memalign
956 or valloc. Remove obsolete comment about BSD.
957 Document memalign errno values and mark the function obsolete.
958 Document posix_memalign returned error codes. Mark valloc
959 as obsolete. (Hooks for Malloc): __memalign_hook is also
960 called for posix_memalign and valloc.
961 (Summary of Malloc): Add posix_memalign to function summary.
962 __memalign_hook is also called for posix_memalign and valloc.
963
8d561986
SP
9642013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
965
966 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
967 TAYLOR_SIN.
968 (__sin): Adjust.
969 (__cos): Likewise.
970 (sloww): Use mynumber union. Expand ternary operator into
971 if-else statements.
972 (cslow): use mynumber union.
973
73616a74
AM
9742013-12-16 Allan McRae <allan@archlinux.org>
975
9e8ac24b
AM
976 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
977 * configure: Regenerated.
978
6f8e37eb
AM
979 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
980
8894bad3
AM
981 [BZ #14120]
982 * configure.ac: Added --enable-maintainer-mode. Check for
983 autoconf when enabled.
984 * configure: Regenerated.
985
73616a74
AM
986 * nscd/nscd.service: New file.
987 * nscd/nscd.tmpfiles: New file.
988
584b18eb
OB
9892013-12-14 Ondřej Bílka <neleai@seznam.cz>
990
991 [BZ #12100]
992 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
993 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
994 * sysdeps/x86_64/multiarch/strstr.c: ... here.
995 (strstr): Add __strstr_sse2_unaligned ifunc.
996 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
997 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
998 (strcasestr): Remove __strcasestr_sse42 ifunc.
999 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
1000 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
1001 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
1002
8a5c7897
KK
10032013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1004
1005 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
1006 * sysdeps/sh/bits/fenv.h: ... here.
1007 * sysdeps/sh/sh4/fpu/bits: Remove directory.
1008
fd712ef3
AZ
10092013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1010
1011 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
1012
42fcb46c
AZ
10132013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1014
1015 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
1016 hypotf multiarch implementations.
1017 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
1018 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
1019 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
1020 multiarch hypot for PPC64.
1021 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
1022 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
1023 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
1024 multiarch hypotf for PPC64.
1025
83efded4
AZ
10262013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1027
1028 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
1029 modff multiarch implementations.
1030 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
1031 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
1032 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
1033 multiarch modf for PPC64.
1034 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
1035 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
1036 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
1037 multiarch modff for PPC64.
1038
43e246d2
AZ
10392013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1040
1041 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
1042 and logl multiarch implementations.
1043 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
1044 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
1045 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
1046 multiarch logb for PPC64.
1047 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
1048 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
1049 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
1050 multiarch logb for PPC64.
1051 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
1052 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
1053 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
1054 multiarch logb for PPC64.
1055
8fdad123
AZ
10562013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1057
1058 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
1059 isinff multiarch implementation.
1060 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
1061 file.
1062 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
1063 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
1064 multiarch isinf for PPC64.
1065 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
1066 file.
1067 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
1068 multiarch isinff for PPC64.
1069
1481d706
AZ
10702013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1071
1072 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
1073 finitef multiarch implementation.
1074 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
1075 file.
1076 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
1077 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
1078 multiarch finite for PPC64.
1079 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
1080 file.
1081 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
1082 multiarch finitef for PPC64.
1083
5ccd5fc8
AZ
10842013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1085
1086 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
1087 lrint multiarch implementation.
1088 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
1089 file.
1090 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
1091 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
1092 multiarch llrint for PPC64.
1093 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
1094 multiarch lrint for PPC64.
1095
2568f3fa
AZ
10962013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1097
1098 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
1099 copysignf multiarch implementation.
1100 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
1101 file.
1102 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
1103 file.
1104 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
1105 multiarch copysign for PPC64.
1106 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
1107 multiarch copysignf for PPC64.
1108
1cb341fd
AZ
11092013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1110
1111 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
1112 multiarch implementation.
1113 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
1114 file.
1115 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
1116 file.
1117 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
1118 file.
1119 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
1120 file.
1121 multiarch llround for PPC64.
1122 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
1123 multiarch trunc for PPC64.
1124 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
1125 multiarch truncf for PPC64.
1126
59a3e194
AZ
11272013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1128
1129 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
1130 multiarch implementation.
1131 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
1132 file.
1133 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
1134 file.
1135 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
1136 file.
1137 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
1138 file.
1139 multiarch llround for PPC64.
1140 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
1141 multiarch round for PPC64.
1142 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
1143 multiarch roundf for PPC64.
1144
357fd3b4
AZ
11452013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1146
1147 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
1148 multiarch implementation.
1149 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
1150 file.
1151 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
1152 file.
1153 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
1154 file.
1155 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
1156 file.
1157 multiarch llround for PPC64.
1158 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
1159 multiarch floor for PPC64.
1160 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
1161 multiarch floorf for PPC64.
1162
96770f12
AZ
11632013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1164
1165 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
1166 multiarch implementation.
1167 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
1168 file.
1169 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
1170 file.
1171 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
1172 file.
1173 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
1174 file.
1175 multiarch llround for PPC64.
1176 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
1177 multiarch ceil for PPC64.
1178 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
1179 multiarch ceilf for PPC64.
1180
c3627f6e
AZ
11812013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1182
1183 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
1184 multiarch implementation.
1185 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
1186 file.
1187 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
1188 file.
1189 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
1190 file.
1191 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
1192 multiarch llround for PPC64.
1193 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
1194 multiarch lround for PPC64.
1195
b2284ad7
AZ
11962013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1197
1198 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
1199 multiarch implementation.
1200 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
1201 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
1202 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
1203 file.
1204 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
1205 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
1206 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
1207 multiarch isnan for PPC64.
1208 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
1209 multiarch isnanf for PPC64.
1210
69bbc63d
AZ
12112013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1212
1213 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
1214 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
1215 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
1216 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
1217 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
1218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
1219
c24517c9
AZ
12202013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1221
1222 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
1223 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1224 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1225 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1226
a52374e8
AZ
12272013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1228
1229 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
1230 multiarch implementations.
1231 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1232 (__libc_ifunc_impl_list): Likewise.
1233 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
1234 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
1235 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
1236 multiarch stpcpy for PPC64.
1237
7f5ec113
AZ
12382013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1239
1240 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
1241 multiarch implementations.
1242 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1243 (__libc_ifunc_impl_list): Likewise.
1244 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
1245 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
1246 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
1247 multiarch strcpy for PPC64.
1248
e28bcd42
AZ
12492013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1250
1251 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
1252 redefine function name.
1253 (_wordcopy_fwd_dest_aligned): Likewise.
1254 (_wordcopy_bwd_aligned): Likewise.
1255 (_wordcopy_bwd_dest_aligned): Likewise.
1256 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
1257 multiarch implementations.
1258 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1259 (__libc_ifunc_impl_list): Likewise.
1260 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
1261 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
1262 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
1263 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
1264 multiarch wcscpy for PPC64.
1265
92cacfce
AZ
12662013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1267
1268 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
1269 multiarch implementations.
1270 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1271 (__libc_ifunc_impl_list): Likewise.
1272 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
1273 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
1274 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
1275 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
1276 multiarch wcscpy for PPC64.
1277
7b714620
AZ
12782013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1279
1280 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
1281 multiarch implementations.
1282 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1283 (__libc_ifunc_impl_list): Likewise.
1284 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
1285 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
1286 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
1287 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
1288 multiarch wcsrchr for PPC64.
1289
16fd2ae3
AZ
12902013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1291
1292 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
1293 multiarch implementations.
1294 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1295 (__libc_ifunc_impl_list): Likewise.
1296 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
1297 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
1298 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
1299 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
1300 multiarch wcschr for PPC64.
1301
9ee2969b
AZ
13022013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1303
1304 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
1305 multiarch implementations.
1306 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1307 (__libc_ifunc_impl_list): Likewise.
1308 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
1309 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
1310 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
1311 multiarch strchrnul for PPC64.
1312
372dc060
AZ
13132013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1314
1315 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
1316 implementations.
1317 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1318 (__libc_ifunc_impl_list): Likewise.
1319 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
1320 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
1321 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
1322 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
1323 strchr for PPC64.
1324
24c2c3b9
AZ
13252013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1326
1327 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
1328 implementations.
1329 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1330 (__libc_ifunc_impl_list): Likewise.
1331 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
1332 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
1333 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
1334 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
1335 strncmp for PPC64.
1336
1c92d9a0
AZ
13372013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1338
1339 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
1340 multiarch implementations.
1341 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1342 (__libc_ifunc_impl_list): Likewise.
1343 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
1344 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
1345 strncasecmp for PPC64.
1346 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
1347 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
1348 multiarch strncasecmp_l for PPC64.
1349
17de3ee3
AZ
13502013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1351
1352 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
1353 multiarch implementations.
1354 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1355 (__libc_ifunc_impl_list): Likewise.
1356 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
1357 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
1358 multiarch strcasecmp for PPC64.
1359 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
1360 file.
1361 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
1362 multiarch strcasecmp_l for PPC64.
1363
62982bf9
AZ
13642013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1365
1366 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
1367 implementations.
1368 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1369 (__libc_ifunc_impl_list): Likewise.
1370 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
1371 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
1372 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
1373 strnlen for PPC64.
1374
a65f4904
AZ
13752013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1376
1377 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
1378 implementations.
1379 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1380 (__libc_ifunc_impl_list): Likewise.
1381 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
1382 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
1383 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
1384 strlen for PPC64.
1385
1fd005ad
AZ
13862013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1387
1388 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
1389 implementations.
1390 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1391 (__libc_ifunc_impl_list): Likewise.
1392 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
1393 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
1394 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
1395 rawmemrchr for PPC64.
1396
cd05ba91
AZ
13972013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1398
1399 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
1400 implementation.
1401 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1402 (__libc_ifunc_impl_list): Likewise.
1403 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
1404 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
1405 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
1406 memrchr for PPC64.
1407
870f8676
AZ
14082013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1409
1410 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
1411 implementation.
1412 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1413 (__libc_ifunc_impl_list): Likewise.
1414 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
1415 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
1416 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
1417 memchr for PPC64.
1418
f00be62b
AZ
14192013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1420
1421 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
1422 implementation.
1423 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1424 (__libc_ifunc_impl_list): Likewise.
1425 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
1426 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
1427 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
1428 mempcpy for PPC64.
1429
8a29a3d0
AZ
14302013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1431
1432 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
1433 avoid cretion of __bzero symbol.
1434 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
1435 Likewise.
1436 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
1437 Likewise.
1438 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
1439 Likewise.
1440 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
1441 multiarch implementations.
1442 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1443 (__libc_ifunc_impl_list): Likewise.
1444 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
1445 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
1446 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
1447 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
1448 bzero for PPC32.
1449 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
1450 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
1451 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
1452 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
1453 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
1454 memset for PPC64.
1455 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
1456
07253fcf
AZ
14572013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1458
1459 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
1460 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
1461 implementations.
1462 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1463 (__libc_ifunc_impl_list): Likewise.
1464 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
1465 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
1466 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
1467 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
1468 memcmp for PPC64.
1469
b5beafbc
AZ
14702013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1471
1472 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
1473 multiarch for POWER/PPC64.
1474 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1475 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
1476 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
1477 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
1478 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
1479 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
1480 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
1481 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
1482 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
1483 memcpy for PPC64.
1484
5e6a4d4b
AZ
14852013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1486
1487 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
1488 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
1489 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
1490 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
1491 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
1492 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
1493 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
1494 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
1495 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
1496 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
1497 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
1498 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
1499 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
1500 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
1501 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
1502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
1503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
1504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
1505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
1506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
1507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
1508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
1509
ddfab6dc
KK
15102013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1511
1512 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
1513
19b5525e
SP
15142013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1515
1516 * benchtests/Makefile (bench): Add exp2 and log2.
1517 (LDLIBS-bench-exp2): Add -lm.
1518 (LDLIBS-bench-log2): Likewise.
1519 * benchtests/exp2-inputs: New inputs file.
1520 * benchtests/log2-inputs: New inputs file.
1521 * benchtests/log-inputs: Add new inputs.
1522 * benchtests/tan-inputs: Likewise.
1523
196f7f5d
SP
15242013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1525
7a74607f
SP
1526 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
1527 definition...
1528 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
1529 csloww1, csloww2): ... from here.
1530
196f7f5d
SP
1531 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
1532 instead of structures.
1533 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
1534 (POLYNOMIAL): Likewise.
1535 (TAYLOR_SLOW): Likewise.
1536 (__sin): Likewise.
1537 (__cos): Likewise.
1538 (slow1): Likewise.
1539 (slow2): Likewise.
1540 (sloww): Likewise.
1541 (sloww1); Likewise.
1542 (sloww2): Likewise.
1543 (bsloww1): Likewise.
1544 (bsloww2): Likewise.
1545 (cslow2): Likewise.
1546 (csloww): Likewise.
1547 (csloww1): Likewise.
1548 (csloww2): Likewise.
1549
0dfa665c
OB
15502013-12-10 Ondřej Bílka <neleai@seznam.cz>
1551
1552 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
1553 (__malloc_assert, __libc_realloc, __libc_calloc,
1554 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
1555 memcpy and memset.
1556 * malloc/hooks.c (realloc_check): Likewise.
1557
5782a80f
OB
15582013-12-10 Ondřej Bílka <neleai@seznam.cz>
1559
1560 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
1561 * malloc/arena.c: Remove PER_THREAD conditional.
1562 [!PER_THREAD]: Remove code.
1563 (ptmalloc_unlock_all2): Likewise.
1564 (ptmalloc_init): Likewise.
1565 (_int_new_arena): Likewise.
1566 (arena_get2): Likewise.
1567 * malloc/hooks.c (__malloc_get_state): Likewise.
1568 (__malloc_set_state): Likewise.
1569 * malloc/malloc.c: Likewise.
1570 (struct malloc_state): Likewise.
1571 (struct malloc_par): Likewise.
1572 (__libc_realloc): Likewise.
1573 (__libc_mallopt): Likewise.
1574
aeb95445
AZ
15752013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1576
1577 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
1578
e8349efd
OB
15792013-12-09 Ondřej Bílka <neleai@seznam.cz>
1580
1581 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
1582 macro to a function. Check for zero perturb_byte.
1583 (_int_malloc, _int_free): Remove zero perturb_byte checks.
1584
f3eeb3fc
OB
15852013-12-09 Ondřej Bílka <neleai@seznam.cz>
1586
1587 * malloc/malloc.c: (force_reg): Remove.
1588 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
1589 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
1590 force_reg by atomic_forced_read.
1591 * malloc/arena.c (ptmalloc_init): Likewise.
1592 * malloc/hooks.c (top_check): Likewise.
1593
be2f9009
AZ
15942013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1595
1596 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1597
e7b914bd
MT
15982013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
1599
1600 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1601
9f0be4f8
JM
16022013-12-08 Joseph Myers <joseph@codesourcery.com>
1603
1604 * math/auto-libm-test-in: Add tests of lgamma.
1605 * math/auto-libm-test-out: Regenerated.
1606 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
1607 (M_LOG_2_SQRT_PIl): Likewise.
1608 (lgamma_test_data): Use AUTO_TESTS_f_f1.
1609 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1610 mpfr_f_f1.
1611 (func_calc_desc): Add mpfr_f_f1 union field.
1612 (ARGS1): New macro.
1613 (ARGS2): Likewise.
1614 (ARGS3): Likewise.
1615 (ARGS4): Likewise.
1616 (RET1): Likewise.
1617 (RET2): Likewise.
1618 (CALC): Likewise.
1619 (FUNC): Likewise.
1620 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
1621 (test_functions): Add lgamma.
1622 (calc_generic_results): Handle mpfr_f_f1.
1623 * sysdeps/i386/fpu/libm-test-ulps: Update.
1624 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1625
24eeafdb
AZ
16262013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1627
1628 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
1629 __mpn_add_n for PowerPC64/POWER7.
1630 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
1631 __mpn_sub_n for PowerPC64/POWER7.
1632
4a2c0fd4
AZ
16332013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1634
1635 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
1636 __mpn_addmul_1 for PowerPC64.
1637 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
1638 __mpn_submul_1 for PowerPC64.
1639 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
1640 for PowerPC64.
1641 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
1642 for PowerPC64.
1643
4b5b548c
FS
16442013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
1645
1646 [BZ #15089]
1647 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
1648
0a3ac0aa
AZ
16492013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1650
1651 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
1652
ccdc8438
AZ
16532013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1654
1655 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
1656 add multiarch folders.
1657 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
1658 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
1659 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
1660 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
1661 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
1662 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
1663 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
1664 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
1665 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
1666 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
1667 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
1668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
1669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
1670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
1671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
1672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
1673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
1674
2e973d99
AZ
16752013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1676
1677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1678 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
1679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
1680 New file.
1681 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
1682 New file.
1683 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
1684 multiarch __ieee754_hypot for PowerPC32.
1685 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
1686 New file.
1687 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
1688 New file.
1689 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
1690 multiarch __ieee754_hypotf for PowerPC32.
1691
2d9470b2
AZ
16922013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1693
1694 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
1695 long_double_symbol only if __logbl is defined.
1696 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
1697 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
1698 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
1699 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
1700 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
1701 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
1702 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
1703 path for implementation.
1704 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
1705 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
1706 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
1707 logb, and logbl multiarch implementations for PowerPC32.
1708 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
1709 file.
1710 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
1711 file.
1712 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
1713 multiarch logb for PowerPC32.
1714 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
1715 file.
1716 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
1717 file.
1718 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
1719 multiarch logbf for PowerPC32.
1720 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
1721 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
1722 file.
1723 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
1724 multiarch logbl implementation for PowerPC32.
1725
5212ffce
AZ
17262013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1727
1728 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
1729 and modff multiarch implementations.
1730 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
1731 New file.
1732 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
1733 New file.
1734 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
1735 multiarch modf for PowerPC32.
1736 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
1737 New file.
1738 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
1739 New file.
1740 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
1741 multiarch modff for PowerPC32.
1742
79dccf31
AZ
17432013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1744
1745 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
1746 and lrintf multiarch implementations.
1747 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
1748 New file.
1749 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
1750 New file.
1751 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
1752 multiarch lrint for PowerPC32.
1753 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
1754 file: multiarch lrintf for PowerPC32.
1755
deb66480
AZ
17562013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1757
1758 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
1759 and lroundf multiarch implementations.
1760 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
1761 New file.
1762 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
1763 New file.
1764 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
1765 New file.
1766 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
1767 multiarch lround for PowerPC32.
1768 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
1769 file: multiarch lroundf for PowerPC32.
1770
264b036b
AZ
17712013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1772
1773 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1774 copysign and copysignf multiarch implementations.
1775 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
1776 New file.
1777 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
1778 New file.
1779 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
1780 file: multiarch copysign for PowerPC32.
1781 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
1782 file: multiarch copysignf for PowerPC32.
1783
d47db6c9
AZ
17842013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1785
1786 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
1787 and truncf multiarch implementations.
1788 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
1789 New file.
1790 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
1791 file.
1792 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
1793 multiarch trunc for PowerPC32.
1794 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
1795 New file.
1796 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
1797 New file.
1798 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
1799 multiarch truncf for PowerPC32.
1800
ddb60b5a
AZ
18012013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1802
1803 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
1804 and roundf multiarch implementations.
1805 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
1806 New file.
1807 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
1808 file.
1809 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
1810 multiarch round for PowerPC32.
1811 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
1812 New file.
1813 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
1814 New file.
1815 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
1816 multiarch roundf for PowerPC32.
1817
bedcf49b
AZ
18182013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1819
1820 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
1821 and floorf multiarch implementations.
1822 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
1823 New file.
1824 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
1825 file.
1826 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
1827 multiarch floor for PowerPC32.
1828 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
1829 New file.
1830 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
1831 New file.
1832 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
1833 multiarch floorf for PowerPC32.
1834
35ae5b40
AZ
18352013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1836
1837 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
1838 and ceilf multiarch implementations.
1839 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
1840 New file.
1841 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
1842 file.
1843 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
1844 multiarch ceil for PowerPC32.
1845 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
1846 New file.
1847 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
1848 file.
1849 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
1850 multiarch ceilf for PowerPC32.
1851
ae1a4cd9
AZ
18522013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1853
1854 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
1855 is defined.
1856 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
1857 FINITEF is defined.
1858 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
1859 and finitef multiarch implementations.
1860 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
1861 New file.
1862 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
1863 file.
1864 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
1865 multiarch finite for PowerPC32.
1866 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
1867 New file.
1868 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
1869 file: multiarch finitef for PowerPC32.
1870
64fffd65
AZ
18712013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1872
1873 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
1874 and isinff multiarch implementations.
1875 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
1876 file.
1877 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
1878 file.
1879 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
1880 multiarch isinf for PowerPC32.
1881 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
1882 New file.
1883 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
1884 multiarch isinff for PowerPC32.
1885
8e4e7ba2
AZ
18862013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1887
1888 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
1889 alias when __isnan is defined.
1890 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
1891 and isnanf multiarch implementations.
1892 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
1893 file.
1894 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
1895 file.
1896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
1897 file.
1898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
1899 file.
1900 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
1901 multiarch isnan for PowerPC32.
1902 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
1903 New file.
1904 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
1905 New file.
1906 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
1907 multiarch isnanf for PowerPC32.
1908
ddba588e
AZ
19092013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1910
1911 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
1912 and sqrtf multiarch implementations.
1913 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
1914 file.
1915 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
1916 file.
1917 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
1918 multiarch sqrt for PowerPC32.
1919 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
1920 file.
1921 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
1922 file.
1923 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
1924 multiarch sqrtf for PowerPC32.
1925
0f96a2f0
AZ
19262013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1927
1928 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
1929 and llroundf multiarch implementations.
1930 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
1931 New file.
1932 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
1933 New file.
1934 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
1935 New file.
1936 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
1937 file: multiarch llround for PowerPC32.
1938 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
1939 file: multiarch llroundf for PowerPC32.
1940
c9b5d79e
AZ
19412013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1942
1943 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
1944 multiarch PowerPC32 fpu implementations.
1945 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
1946 New file.
1947 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
1948 New file.
1949 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
1950 multiarch llrint for PowerPC32.
1951 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
1952 New file.
1953 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
1954 New file.
1955 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
1956 file.
1957
9cbb3aab
AZ
19582013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1959
1960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
1961
ea5a72f8
AZ
19622013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1963
1964 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
1965 file.
1966 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
1967 file.
1968 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
1969 file.
1970 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
1971 multiarch wordcopy for PPC32.
1972 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
1973 wordcopy objects.
1974 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1975 (__libc_ifunc_impl_list): Likewise.
1976 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
1977 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
1978 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
1979 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
1980 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
1981 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
1982
93be09e7
AZ
19832013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1984
1985 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
1986 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
1987 file.
1988 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
1989 file.
1990 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
1991 file.
1992 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
1993 multiarch wcscpy for PPC32.
1994 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
1995 multiarch objects.
1996 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1997 (__libc_ifunc_impl_list): Likewise.
1998 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
1999 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
2000 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
2001 sysdeps/powerpc/power6/wcscpy.c.
2002
bb04e529
AZ
20032013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2004
2005 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
2006 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
2007 file.
2008 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
2009 file.
2010 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
2011 file.
2012 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
2013 multiarch wcsrchr for PPC32.
2014 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
2015 multiarch objects.
2016 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2017 (__libc_ifunc_impl_list): Likewise.
2018 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
2019 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
2020 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
2021 sysdeps/powerpc/power6/wcsrchr.c.
2022
05b5cd1c
AZ
20232013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2024
2025 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
2026 file.
2027 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
2028 file.
2029 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
2030 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
2031 multiarch wcschr for PPc32.
2032 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
2033 multiarch objects.
2034 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2035 (__libc_ifunc_impl_list): Likewise.
2036 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
2037 * sysdeps/powerpc/power6/wcschr.c: ... to here.
2038 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
2039 sysdeps/powerpc/power6/wcschr.c.
2040
ba964147
AZ
20412013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2042
2043 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
2044 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
2045 file.
2046 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
2047 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
2048 file: multiarch strchr for PPC32.
2049 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
2050 multiarch objects.
2051 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2052 (__libc_ifunc_impl_list): Likewise.
2053
31c81aaa
AZ
20542013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2055
2056 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
2057 name.
2058 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
2059 file.
2060 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
2061 file.
2062 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
2063 multiarch strchrnul for PPC32.
2064 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
2065 multiarch objects.
2066 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2067 (__libc_ifunc_impl_list): Likewise.
2068
0d0607d9
AZ
20692013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2070
2071 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
2072 file.
2073 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
2074 multiarch strncasecmp for PPC32.
2075 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
2076 file.
2077 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
2078 multiarch strncasecmp_l for PPC32.
2079 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
2080 strncasecmp multiarch objects.
2081 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2082 (__libc_ifunc_impl_list): Likewise.
2083
4dfd5c86
AZ
20842013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2085
2086 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
2087 file.
2088 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
2089 multiarch strncasecmp for PPC32.
2090 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
2091 New file.
2092 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
2093 multiarch strcasecmp_l for PPC32.
2094 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
2095 multiarch objects.
2096 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2097 (__libc_ifunc_impl_list): Likewise.
2098
a19e01a3
AZ
20992013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2100
2101 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
2102 file.
2103 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
2104 file.
2105 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
2106 multiarch strncmp for PPC32.
2107 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
2108 multiarch objects.
2109 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2110 (__libc_ifunc_impl_list): Likewise.
2111
ae9cf7a2
AZ
21122013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2113
2114 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
2115 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
2116 file.
2117 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
2118 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
2119 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
2120 multiarch objects.
2121 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2122 (__libc_ifunc_impl_list): Likewise.
2123
3148bb7d
AZ
21242013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2125
2126 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
2127 file.
2128 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
2129 file.
2130 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
2131 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
2132 multiarch objects.
2133 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2134 (__libc_ifunc_impl_list): Likewise.
2135
7af8b946
AZ
21362013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2137
2138 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
2139 file.
2140 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
2141 file.
2142 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
2143 multiarch rawmemchr for PPC32.
2144 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
2145 multiarch objects.
2146 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2147 (__libc_ifunc_impl_list): Likewise.
2148
03a6aa6a
AZ
21492013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2150
2151 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
2152 file.
2153 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
2154 file.
2155 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
2156 file: memrchr multiarch for PPC32.
2157 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
2158 multiarch objects.
2159 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2160 (__libc_ifunc_impl_list): Likewise.
2161
1c62e6d9
AZ
21622013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2163
2164 * string/memchr.c (__memchr): Using macro to redefine symbol name.
2165 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
2166 file.
2167 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
2168 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
2169 multiarch memchr for PPC32.
2170 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
2171 multiarch objects.
2172 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2173 (__libc_ifunc_impl_list): Likewise.
2174
87da8bdb
AZ
21752013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2176
2177 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
2178 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
2179 file.
2180 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
2181 file.
2182 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
2183 file: multiarch mempcpy for PPC32.
2184 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
2185 multiarch objects.
2186 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2187 (__libc_ifunc_impl_list): Likewise.
2188
20ed4714
AZ
21892013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2190
2191 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
2192 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
2193 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
2194 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
2195 multiarch bzero for PPC32.
2196 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
2197 file.
2198 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
2199 file.
2200 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
2201 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
2202 file: multiarch memset for PPC32.
2203 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
2204 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
2205 memset multiarch objects.
2206 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2207 (__libc_ifunc_impl_list): Likewise.
2208
ab3e3a46
AZ
22092013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2210
2211 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
2212 file.
2213 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
2214 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
2215 memcmp for PPC32.
2216 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
2217 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
2218 multiarch objects.
2219 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2220 (__libc_ifunc_impl_list): Likewise.
2221
930de6f0
AZ
22222013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2223
2224 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
2225 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
2226 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
2227 file.
2228 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
2229 file.
2230 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
2231 file.
2232 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
2233 multiarch memcpy for PPC32.
2234 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
2235 multiarch objects.
2236 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2237 (__libc_ifunc_impl_list): Likewise.
2238
4c628e00
AZ
22392013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2240
2241 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
2242 support multiarch for POWER/PPC32.
2243 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
2244 Likewise.
2245 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
2246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
2247 Implies file to make multiarch folder appers before the fpu and
2248 default folder for power4 configuration.
2249
f4479220
SP
22502013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
2251
2252 * scripts/bench.pl: Append volatile keyword to type.
2253
8517800f
KK
22542013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2255
2256 * sysdeps/sh/sotruss-lib.c: New file.
2257 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
2258
180138f1
AZ
22592013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2260
2261 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2262
bbf37bdc
JM
22632013-12-05 Joseph Myers <joseph@codesourcery.com>
2264
e47cc4e0
JM
2265 [BZ #6810]
2266 * math/w_tgamma.c: Include <errno.h>.
2267 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
2268 * math/w_tgammaf.c: Include <errno.h>.
2269 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
2270 * math/w_tgammal.c: Include <errno.h>.
2271 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
2272 * math/auto-libm-test-in: Do not allow missing errno on tgamma
2273 underflow. Add more tgamma tests.
2274 * math/auto-libm-test-out: Regenerated.
2275 * sysdeps/i386/fpu/libm-test-ulps: Update.
2276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2277
bbf37bdc
JM
2278 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
2279 sin, sinh, tan, tanh, tgamma, y0 and y1.
2280 * math/auto-libm-test-out: Regenerated.
2281 * math/libm-test.inc (TEST_COND_x86_64): New macro.
2282 (TEST_COND_x86): Likewise.
2283 (M_E2l): Remove macro.
2284 (M_E3l): Likewise.
2285 (M_2_SQRT_PIl): Likewise.
2286 (M_SQRT_PIl): Likewise.
2287 (M_1_DIV_El): Likewise.
2288 (log_test_data): Use AUTO_TESTS_f_f.
2289 (log10_test_data): Likewise.
2290 (log1p_test_data): Likewise.
2291 (log2_test_data): Likewise.
2292 (sin_test_data): Likewise.
2293 (sin_tonearest_test_data): Likewise.
2294 (sin_towardzero_test_data): Likewise.
2295 (sin_downward_test_data): Likewise.
2296 (sin_upward_test_data): Likewise.
2297 (sinh_test_data): Likewise.
2298 (sinh_tonearest_test_data): Likewise.
2299 (sinh_towardzero_test_data): Likewise.
2300 (sinh_downward_test_data): Likewise.
2301 (sinh_upward_test_data): Likewise.
2302 (tan_test_data): Likewise.
2303 (tan_tonearest_test_data): Likewise.
2304 (tan_towardzero_test_data): Likewise.
2305 (tan_downward_test_data): Likewise.
2306 (tan_upward_test_data): Likewise.
2307 (tanh_test_data): Likewise.
2308 (tgamma_test_data): Likewise.
2309 (y0_test_data): Likewise.
2310 (y1_test_data): Likewise.
2311 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
2312 (special_real_inputs): Add pi/4.
2313 * sysdeps/i386/fpu/libm-test-ulps: Update.
2314 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2315
eb5ad6b9
AZ
23162013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2317
2318 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
2319 "longjmp_target" static probes.
2320 (__longjmp): Rename to __longjmp_symbol.
2321 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2322 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
2323 on which longjmp to generate.
2324 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2325 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
2326 probe.
2327 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2328 (__sigjmp_save): Rename to __sigjmp_save_symbol.
2329 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2330 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
2331 and __sigjmp_save_symbol based on which sigsetjmp to generated.
2332 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
2333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
2334 __longjmp_symbol based on which __longjmp to generate.
2335 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
2336 probe.
2337 (setjmp): Rename to setjmp_symbol.
2338 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2339 (_setjmp): Rename to _setjmp_symbol.
2340 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2341 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
2342 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
2343 which setjmp to generate.
2344 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
2345 "longjmp_target" static probes.
2346
d136c6dc
SP
23472013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2348
9298ecba
SP
2349 * benchtests/README: Add note about output arguments.
2350 * benchtests/bench-sincos.c: Remove file.
2351 * benchtests/sincos-inputs: New file.
2352 * scripts/bench.pl: Identify output arguments and define
2353 static variables for them.
2354
232983e9
SP
2355 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
2356
d136c6dc
SP
2357 [BZ #15941]
2358 * Makefile (INSTALL): Add install-plain.texi as the primary
2359 dependency.
2360 * manual/install-plain.texi: New file.
2361 * manual/install.texi: Include node directive only for
2362 non-plaintext output.
2363
699ff837
JM
23642013-12-04 Joseph Myers <joseph@codesourcery.com>
2365
ab07cea8
JM
2366 * stdlib/longlong.h: Update from GCC.
2367
699ff837
JM
2368 [BZ #6807]
2369 [BZ #15901]
2370 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
2371 * math/w_j0f.c (y0f): Likewise.
2372 * math/w_j0l.c (__y0l): Likewise.
2373 * math/w_j1.c (y1): Likewise.
2374 * math/w_j1f.c (y1f): Likewise.
2375 * math/w_j1l.c (__y1l): Likewise
2376 * math/w_jn.c (yn): Likewise.
2377 * math/w_jnf.c (ynf): Likewise.
2378 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
2379 Bessel function pole errors in _POSIX_ mode. Use NAN as return
2380 value for Bessel function domain errors outside _SVID_ mode.
2381 Adjust sign of return value for yn (negative integer, 0).
2382 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
2383 by zero in return for negative x and set sign appropriately for
2384 negative n.
2385 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
2386 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2387 * math/libm-test.inc (y0_test_data): Add more tests and adjust
2388 expectations in error cases.
2389 (y1_test_data): Likewise.
2390 (yn_test_data): Likewise.
2391 * sysdeps/i386/fpu/libm-test-ulps: Update.
2392 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2393
5b118558
UW
23942013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2395
2396 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
2397 "64" to "64-v1". Add "64-v2".
2398 (abi-64-options): Rename to ...
2399 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
2400 (abi-64-condition): Rename to ...
2401 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
2402 (abi-64-ld-soname): Rename to ...
2403 (abi-64-v1-ld-soname): ... this.
2404 (abi-64-v2-options): Define.
2405 (abi-64-v2-condition): Likewise.
2406 (abi-64-v2-ld-soname): Likewise.
2407 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
2408 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
2409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
2410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
2411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
2412
61cd8fe4
UW
24132013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2414 Alan Modra <amodra@gmail.com>
2415
2416 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
2417 New versions for use with the ELFv2 ABI.
2418 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
2419 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
2420 declaration.
2421 (struct La_ppc64v2_retval): Likewise.
2422 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
2423 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
2424 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
2425 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
2426 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
2427 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
2428 Do not save or restore CR.
2429 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
2430 (_dl_profile_resolve): Do no save or restore CR. Support extended
2431 return values for ELFv2 ABI. Fix location of FPR return registers.
2432 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
2433 updated values for _CALL_ELF == 2.
2434 (La_regs, La_retval, int_retval): Likewise.
2435
8b8a692c
UW
24362013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2437
2438 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
2439 (FRAME_MIN_SIZE_PARM): Likewise.
2440 (FRAME_BACKCHAIN): Likewise.
2441 (FRAME_CR_SAVE): Likewise.
2442 (FRAME_LR_SAVE): Likewise.
2443 (FRAME_TOC_SAVE): Likewise.
2444 (FRAME_PARM_SAVE): Likewise.
2445 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2446 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2447 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2448 (call_mcount_parm_offset): New macro.
2449 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
2450 (PROF): Use symbolic stack frame offsets.
2451 (TAIL_CALL_SYSCALL_ERROR): Likewise.
2452 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
2453 Redefine in terms of FRAME_MIN_SIZE.
2454 (_dl_runtime_resolve): Use symbolic stack frame offsets.
2455 (_dl_profile_resolve): Likewise. Update comment.
2456 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
2457 symbols stack frame offsets.
2458 (__sigsetjmp): Likewise.
2459 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
2460 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
2461 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
2462 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
2463
2464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
2465 (FRAME_BACKCHAIN): Remove.
2466 (FRAME_CR_SAVE): Likewise.
2467 (FRAME_LR_SAVE): Likewise.
2468 (FRAME_COMPILER_DW): Likewise.
2469 (FRAME_LINKER_DW): Likewise.
2470 (FRAME_TOC_SAVE): Likewise.
2471 (FRAME_PARM_SAVE): Likewise.
2472 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2473 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2474 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
2476 (CHECK_SP): Use symbolic stack frame offsets.
2477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
2478 zone" instead of caller's parameter save area for temp storage.
2479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
2480 Likewise. Also, use symbolic stack frame offsets.
2481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
2482 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
2483 our own stack frame instead of the caller's.
2484 (__socket): Use symbolic stack frame offsets.
2485
122b66de
UW
24862013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2487 Alan Modra <amodra@gmail.com>
2488
2489 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
2490 Define.
2491 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
2492 PPC64_LOCAL_ENTRY_OFFSET): Define.
2493 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
2494 New function.
2495 (elf_machine_fixup_plt): Call it.
2496 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
2497 reloc arguments.
2498 (elf_machine_rela): Update call to elf_machine_plt_conflict.
54285cf9
SP
2499 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2500 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
2501 r2 before calling target.
2502
696caf1d
UW
25032013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2504 Alan Modra <amodra@gmail.com>
2505
2506 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
2507 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
2508 versions of macros to support ELFv2 ABI.
2509 (LOCALENTRY): New macro.
2510 (ENTRY, EALIGN): Use it.
2511 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
2512 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
2513 fall through into ENTRY entry point.
2514 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
2515 Only define if _CALL_ELF != 2.
2516
2517 (elf_machine_matches_host): Verify ABI version matches.
2518 (RTLD_START): Use LOCALENTRY.
2519 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
2520 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
2521 (PLT_ENTRY_WORDS): New macro.
2522 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
2523 (elf_machine_runtime_setup): Support ELFv2 ABI.
2524 (elf_machine_fixup_plt): Likewise.
2525 (elf_machine_plt_conflict): Likewise.
2526 (resolve_ifunc): Likewise.
2527 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
2528 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
2529 Likewise.
2530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
2531 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
2532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2533 (makecontext): Support ELFv2 ABI.
2534 * elf/elf.h (EF_PPC64_ABI): Define.
2535
d31beafa
UW
25362013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2537
2538 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
2539 New assembler macro.
2540 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
2541 [ASSEMBLER] (ENTRY): ... but instead here ...
2542 [ASSEMBLER] (EALIGN): ... and here.
2543 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
2544 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
2545 [!ASSEMBLER] (ENTRY_2): Use it.
2546 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
2547 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
2548 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2549 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
2550 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
2551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
2552 Use PPC64_LOAD_FUNCPTR.
2553
b525166b
UW
25542013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2555
2556 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
2557
7ec07d9a
AM
25582013-12-04 Alan Modra <amodra@gmail.com>
2559
2560 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
2561 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
2562 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
2563 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
2564
2565 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
2566 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
2567 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
2568 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
2569 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
2570 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
2571
5162e7dd
UW
25722013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2573
2574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2575 (__makecontext): Fix incorrect CFI when backtracing out of
2576 context created via makecontext.
2577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
2578 (__setcontext): Fix incorrect CFI during switch to new context.
2579 (__novec_setcontext): Likewise.
2580
19e3372b
OB
25812013-12-04 Ondřej Bílka <neleai@seznam.cz>
2582
2583 [BZ #4772]
2584 * time/strptime_l.c (__strptime_internal): Allow modifiers
2585 in strptime.
2586 * time/tst-strptime.c (day_tests): Add testcase.
2587
2588
ecaf142d
SP
25892013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2590
2591 * scripts/bench.pl: Skip over blank lines.
2592
fbf964ae
PE
25932013-12-04 Paul Eggert <eggert@cs.ucla.edu>
2594
2595 [BZ #926]
2596 * manual/time.texi (Calendar Time): Clarify what timezone functions
2597 use.
2598
fa60a674
AZ
25992013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2600
2601 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2602
d674f0ef
OB
26032013-12-04 Ondřej Bílka <neleai@seznam.cz>
2604
2605 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
2606 implementation.
2607 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
2608 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
2609 * debug/memset_chk.c (__memset_chk): Likewise.
2610 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
2611 * debug/strncpy_chk.c: Likewise.
2612
17dea188
JM
26132013-12-03 Joseph Myers <joseph@codesourcery.com>
2614
749008ff
JM
2615 [BZ #15268]
2616 [BZ #15425]
2617 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
2618 (__ieee754_exp): For possibly underflowing results, check size of
2619 result and force underflow exception if required.
2620 * math/auto-libm-test-in: Add more tests of exp.
2621 * math/auto-libm-test-out: Regenerated.
2622 * sysdeps/i386/fpu/libm-test-ulps: Update.
2623 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2624
17dea188
JM
2625 [BZ #16283]
2626 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
2627 * math/w_exp2f.c (__exp2f): Likewise.
2628 * math/w_exp2l.c (__exp2l): Likewise.
2629 * math/auto-libm-test-in: Do not allow missing errno on exp2
2630 underflow.
2631 * math/auto-libm-test-out: Regenerated.
2632
b20de2c3
OB
26332013-12-03 Ondřej Bílka <neleai@seznam.cz>
2634
2635 [BZ #16274]
2636 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
2637 handle filename validation.
2638 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
2639 (do_open): Delete.
2640
d8e2dbe3
JM
26412013-12-03 Joseph Myers <joseph@codesourcery.com>
2642
34e16df5
JM
2643 [BZ #6786]
2644 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
2645 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
2646 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
2647 <float.h>.
2648 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
2649 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
2650 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2651 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
2652 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2653 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
2654 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2655 * math/auto-libm-test-in: Don't allow missing errno from erfc.
2656 Add more erfc tests.
2657 * math/auto-libm-test-out: Regenerated.
2658 * sysdeps/i386/fpu/libm-test-ulps: Update.
2659 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2660
d8e2dbe3
JM
2661 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
2662 exp2, expm1, j0 and j1.
2663 * math/auto-libm-test-out: Regenerated.
2664 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
2665 (erfc_test_data): Likewise.
2666 (exp_test_data): Likewise.
2667 (exp_tonearest_test_data): Likewise.
2668 (exp_towardzero_test_data): Likewise.
2669 (exp_downward_test_data): Likewise.
2670 (exp_upward_test_data): Likewise.
2671 (exp10_test_data): Likewise.
2672 (exp2_test_data): Likewise.
2673 (expm1_test_data): Likewise.
2674 (j0_test_data): Likewise.
2675 (j1_test_data): Likewise.
2676 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
2677 (input_flag_type): Add flag_xfail_rounding.
2678 (input_flags): Add xfail-rounding.
2679 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
2680 (output_for_one_input_case): Handle flag_xfail_rounding.
2681 * sysdeps/i386/fpu/libm-test-ulps: Update.
2682 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2683
18d14251
AJ
26842013-12-03 Aurelien Jarno <aurelien@aurel32.net>
2685
3d2e6075 2686 [BZ #16289]
18d14251
AJ
2687 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
2688 division by 0.
2689
520d437b
SP
26902013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2691
2692 [BZ #16195]
2693 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
2694 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
2695 (STAP_PROBE0): New macro.
2696 (STAP_PROBE1): Likewise.
2697 (STAP_PROBE2): Likewise.
2698 (STAP_PROBE3): Likewise.
2699 (STAP_PROBE4): Likewise.
2700
416e0145
OB
27012013-12-02 Ondřej Bílka <neleai@seznam.cz>
2702
2703 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
2704
9d17796a
SE
27052013-12-02 Steve Ellcey <sellcey@mips.com>
2706
2707 * benchtests/Makefile (bench): Add sqrt.
2708 (LDLIBS-bench-sqrt): New.
2709 * benchtests/sqrt-input: New.
2710
f524d6a8
PS
27112013-12-02 Pavel Simerda <psimerda@redhat.com>
2712
639a0ef8
PS
2713 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
2714 (GAIH_EAI): Likewise.
2715 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
2716 (gaih_inet): Likewise.
2717 (getaddrinfo): Don't use GAIH_EAI.
2718
f524d6a8
PS
2719 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
2720 (struct gaih): Remove definition.
2721
df3aedaf
SP
27222013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2723
2724 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
2725 Use HERRNOP directly.
2726
1ab19dec
AZ
27272013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2728
b42ad38d 2729 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 2730
176b0c79
JM
27312013-11-30 Joseph Myers <joseph@codesourcery.com>
2732
2733 * math/gen-auto-libm-tests.c (test_functions): Add more
2734 single-argument functions.
2735 (special_fill_pi_2): New function.
2736 (special_fill_minus_pi_2): Likewise.
2737 (special_fill_pi_6): Likewise.
2738 (special_fill_minus_pi_6): Likewise.
2739 (special_fill_pi_3): Likewise.
2740 (special_fill_2pi_3): Likewise.
2741 (special_fill_e): Likewise.
2742 (special_fill_1_e): Likewise.
2743 (special_fill_e_minus_1): Likewise.
2744 (special_real_inputs): Add more special inputs.
2745 (output_for_one_input_case): Do not require ERANGE on underflow to
2746 zero if round-to-nearest result does not underflow to zero, unless
2747 exact results required.
2748 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
2749 atan, atanh, cbrt, cos and cosh.
2750 * math/auto-libm-test-out: Regenerated.
2751 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
2752 (acos_tonearest_test_data): Likewise.
2753 (acos_towardzero_test_data): Likewise.
2754 (acos_downward_test_data): Likewise.
2755 (acos_upward_test_data): Likewise.
2756 (acosh_test_data): Likewise.
2757 (asin_test_data): Likewise.
2758 (asin_tonearest_test_data): Likewise.
2759 (asin_towardzero_test_data): Likewise.
2760 (asin_upward_test_data): Likewise.
2761 (asinh_test_data): Likewise.
2762 (atan_test_data): Likewise.
2763 (atanh_test_data): Likewise.
2764 (cbrt_test_data): Likewise.
2765 (cos_test_data): Likewise.
2766 (cos_tonearest_test_data): Likewise.
2767 (cos_towardzero_test_data): Likewise.
2768 (cos_downward_test_data): Likewise.
2769 (cos_upward_test_data): Likewise.
2770 (cosh_test_data): Likewise.
2771 (cosh_tonearest_test_data): Likewise.
2772 (cosh_towardzero_test_data): Likewise.
2773 (cosh_downward_test_data): Likewise.
2774 (cosh_upward_test_data): Likewise.
2775 * sysdeps/i386/fpu/libm-test-ulps: Update.
2776 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2777
ffb536d0
JM
27782013-11-29 Joseph Myers <joseph@codesourcery.com>
2779
2a77a467
JM
2780 [BZ #6787]
2781 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
2782 * math/w_exp10f.c (__exp10f): Likewise.
2783 * math/w_exp10l.c (__exp10l): Likewise.
2784 * math/libm-test.inc (exp10_test_data): Add more tests and expect
2785 errno settings in existing tests.
2786
ea3bc4e8
JM
2787 [BZ #14032]
2788 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
2789 precision control set to double precision.
2790 * sysdeps/i386/fpu/w_sqrt.c: New file.
2791 * math/auto-libm-test-in: Add more tests.
2792 * math/auto-libm-test-out: Update.
2793
0712c9d8
JM
2794 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
2795 (sqrt_test_tonearest): New function.
2796 (sqrt_towardzero_test_data): New variable.
2797 (sqrt_test_towardzero): New function.
2798 (sqrt_downward_test_data): New variable.
2799 (sqrt_test_downward): New function.
2800 (sqrt_upward_test_data): New variable.
2801 (sqrt_test_upward): New function.
2802 (main): Call the new functions.
2803
ffb536d0
JM
2804 * math/gen-auto-libm-tests.c: New file.
2805 * math/auto-libm-test-in: Likewise.
2806 * math/auto-libm-test-out: New generated file.
2807 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
2808 variables.
2809 (%beautify): Add generated representations of zero.
2810 (top level): Set $auto_input and call parse_auto_input.
2811 (beautify): Remove trailing "f" from hex float constants.
2812 (parse_args): Handle XFAIL_TEST.
2813 (convert_condition): New function.
2814 (or_value): Likewise.
2815 (or_cond_value): Likewise.
2816 (generate_testfile): Handle AUTO_TESTS_* lines.
2817 (parse_auto_input): New function.
2818 * math/libm-test.inc (XFAIL_TEST): New macro.
2819 (ERRNO_UNCHANGED): Update value.
2820 (ERRNO_EDOM): Likewise.
2821 (ERRNO_ERANGE): Likewise.
2822 (IGNORE_RESULT): Likewise.
2823 (TEST_COND_flt_32): New macro.
2824 (TEST_COND_dbl_64): Likewise.
2825 (TEST_COND_ldbl_96_intel): Likewise.
2826 (TEST_COND_ldbl_96_m68k): Likewise.
2827 (TEST_COND_ldbl_128): Likewise.
2828 (TEST_COND_ldbl_128ibm): Likewise.
2829 (TEST_COND_long32): Likewise.
2830 (TEST_COND_long64): Likewise.
2831 (TEST_COND_before_rounding): Likewise.
2832 (TEST_COND_after_rounding): Likewise.
2833 (enable_test): Handle XFAIL_TEST flag.
2834 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
2835 with finite results.
2836 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
2837 auto-libm-test-out.
2838
acd98a8e
AK
28392013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2840 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2841
2842 [BZ #16214]
2843 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
2844 __tls_get_addr_internal instead of __tls_get_offset in order to
2845 avoid GOT pointer dependency. Make rtld export
2846 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
2847 __tls_get_addr since we are a __tls_get_offset platform.
2848 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
2849 GOT pointer being set up before.
2850 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
2851
3c1c46a6
JM
28522013-11-28 Joseph Myers <joseph@codesourcery.com>
2853
7475aef5
JM
2854 * manual/math.texi (Errors in Math Functions): Document accuracy
2855 goals.
2856
8bca7cd8
JM
2857 [BZ #15004]
2858 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
2859 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
2860 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
2861 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2862 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2863 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2864 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2865 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
2866 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
2867 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2868 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2869 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2870 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2871 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2872 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
2873 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
2874
91a1f3fe
JM
2875 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
2876 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
2877 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
2878 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
2879 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
2880 Likewise.
2881 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
2882 Likewise.
2883 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
2884 Likewise.
2885 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
2886 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
2887 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
2888 atomic-feupdateenv and flt-rounds.
2889 * sysdeps/powerpc/nofpu/Versions (libc): Add
2890 __atomic_feholdexcept, __atomic_feclearexcept,
2891 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
2892 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
2893 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
2894 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
2895 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
2896 here.
2897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2898 Update.
2899
c5df7609
JM
2900 * manual/arith.texi (FP Exceptions): Document that exceptions may
2901 not be raised when matherr is used.
2902 (Math Error Reporting): Document overflow in directed rounding
2903 modes. Document that errno may not be set when finite values are
2904 returned on overflow. Document intent to set errno on underflow
2905 only for underflow to zero.
2906
3c1c46a6
JM
2907 [BZ #16271]
2908 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
2909 round-to-nearest then adjust result for other rounding modes.
2910 * include/fenv.h (fegetround): Use libm_hidden_proto.
2911 * math/fegetround.c (fegetround): Use libm_hidden_def.
2912 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
2913 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
2914 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
2915 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
2916 Likewise.
2917 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
2918 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2919 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
2920 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
2921
5a4c6d53
SP
29222013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2923
2924 [BZ #16077]
2925 * nss/Versions (libnss_files): Add
2926 _nss_files_gethostbyname3_r.
2927 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
2928 New function.
2929 (HOST_DB_LOOKUP): Remove macro.
2930 (_nss_files_gethostbyname_r): Implement function without the
2931 HOST_DB_LOOKUP macro.
2932 (_nss_files_gethostbyname2_r): Likewise.
2933
897b98ba
OB
29342013-11-28 Ondřej Bílka <neleai@seznam.cz>
2935
2936 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
2937
6f476861
UB
29382013-11-26 Uros Bizjak <ubizjak@gmail.com>
2939
2940 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
2941 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
2942 warning.
2943
bd12ab55
AZ
29442013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2945
2946 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
2947 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
2948 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
2949 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2950 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
2951 __fe_nomask_env_priv and attribute_hidden.
2952 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
2953 (libc_feupdateenv_test_ppc): Likewise.
2954 (libc_feresetround_ppc): Likewise.
2955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2956 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
2957 compat_symbol macro.
2958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2959 (__fe_nomask_env): Likewise.
2960 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
2961
52bb6543
OB
29622013-11-26 Ondřej Bílka <neleai@seznam.cz>
2963
2964 * string/Makefile: Remove ifunc tests.
2965 * string/test-string.h: Define TEST_IFUNC.
2966 * string/test-bcopy-ifunc.c: Remove.
2967 * string/test-bzero-ifunc.c: Likewise.
2968 * string/test-memccpy-ifunc.c: Likewise.
2969 * string/test-memchr-ifunc.c: Likewise.
2970 * string/test-memcmp-ifunc.c: Likewise.
2971 * string/test-memcpy-ifunc.c: Likewise.
2972 * string/test-memmem-ifunc.c: Likewise.
2973 * string/test-memmove-ifunc.c: Likewise.
2974 * string/test-mempcpy-ifunc.c: Likewise.
2975 * string/test-memrchr-ifunc.c: Likewise.
2976 * string/test-memset-ifunc.c: Likewise.
2977 * string/test-rawmemchr-ifunc.c: Likewise.
2978 * string/test-stpcpy-ifunc.c: Likewise.
2979 * string/test-stpncpy-ifunc.c: Likewise.
2980 * string/test-strcasecmp-ifunc.c: Likewise.
2981 * string/test-strcasestr-ifunc.c: Likewise.
2982 * string/test-strcat-ifunc.c: Likewise.
2983 * string/test-strchr-ifunc.c: Likewise.
2984 * string/test-strchrnul-ifunc.c: Likewise.
2985 * string/test-strcmp-ifunc.c: Likewise.
2986 * string/test-strcpy-ifunc.c: Likewise.
2987 * string/test-strcspn-ifunc.c: Likewise.
2988 * string/test-strlen-ifunc.c: Likewise.
2989 * string/test-strncasecmp-ifunc.c: Likewise.
2990 * string/test-strncat-ifunc.c: Likewise.
2991 * string/test-strncmp-ifunc.c: Likewise.
2992 * string/test-strncpy-ifunc.c: Likewise.
2993 * string/test-strnlen-ifunc.c: Likewise.
2994 * string/test-strpbrk-ifunc.c: Likewise.
2995 * string/test-strrchr-ifunc.c: Likewise.
2996 * string/test-strspn-ifunc.c: Likewise.
2997 * string/test-strstr-ifunc.c: Likewise.
2998
ab260039 29992013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
3000
3001 * benchtests/Makefile: Remove ifunc tests.
3002 * benchtests/bench-string.h: Define TEST_IFUNC.
3003 * benchtests/bench-bcopy-ifunc.c: Remove.
3004 * benchtests/bench-bzero-ifunc.c: Likewise.
3005 * benchtests/bench-memccpy-ifunc.c: Likewise.
3006 * benchtests/bench-memchr-ifunc.c: Likewise.
3007 * benchtests/bench-memcmp-ifunc.c: Likewise.
3008 * benchtests/bench-memcpy-ifunc.c: Likewise.
3009 * benchtests/bench-memmem-ifunc.c: Likewise.
3010 * benchtests/bench-memmove-ifunc.c: Likewise.
3011 * benchtests/bench-mempcpy-ifunc.c: Likewise.
3012 * benchtests/bench-memrchr-ifunc.c: Likewise.
3013 * benchtests/bench-memset-ifunc.c: Likewise.
3014 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
3015 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
3016 * benchtests/bench-stpcpy-ifunc.c: Likewise.
3017 * benchtests/bench-stpncpy-ifunc.c: Likewise.
3018 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
3019 * benchtests/bench-strcasestr-ifunc.c: Likewise.
3020 * benchtests/bench-strcat-ifunc.c: Likewise.
3021 * benchtests/bench-strchr-ifunc.c: Likewise.
3022 * benchtests/bench-strchrnul-ifunc.c: Likewise.
3023 * benchtests/bench-strcmp-ifunc.c: Likewise.
3024 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
3025 * benchtests/bench-strcpy-ifunc.c: Likewise.
3026 * benchtests/bench-strcspn-ifunc.c: Likewise.
3027 * benchtests/bench-strlen-ifunc.c: Likewise.
3028 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
3029 * benchtests/bench-strncat-ifunc.c: Likewise.
3030 * benchtests/bench-strncmp-ifunc.c: Likewise.
3031 * benchtests/bench-strncpy-ifunc.c: Likewise.
3032 * benchtests/bench-strnlen-ifunc.c: Likewise.
3033 * benchtests/bench-strpbrk-ifunc.c: Likewise.
3034 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 3035 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
3036 * benchtests/bench-strspn-ifunc.c: Likewise.
3037 * benchtests/bench-strstr-ifunc.c: Likewise.
3038
30392013-11-26 Ondřej Bílka <neleai@seznam.cz>
3040
ab260039
OB
3041 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
3042
d1d9eaf4 30432013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 3044
d1d9eaf4
OB
3045 * resolv/netdb.h: Use __glibc_reserved instead __unused.
3046 * rt/aio.h: Likewise.
3047 * sysdeps/gnu/bits/utmp.h: Likewise.
3048 * sysdeps/gnu/bits/utmpx.h: Likewise.
3049 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
3050 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
3051 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
3052 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
3053 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
3054 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
3055 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
3056 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
3057 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
3058 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
3059 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
3060 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
3061 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
3062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
3063 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
3064 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
3065 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
3066 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
3067 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
3068 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
3069 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
3070 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
3071 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
3072 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
3073 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
3074 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3075 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
3076 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
3077 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
3078 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
3079 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
3080 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
3081 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
3082 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
3083 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
3084 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
3085 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
3086 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
3087 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
3088 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
3089 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
3090 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
3091
a7624ed9
CD
30922013-11-25 Carlos O'Donell <carlos@redhat.com>
3093
3094 [BZ #16245]
3095 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
3096 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
3097
63cfe52b
JM
30982013-11-25 Joseph Myers <joseph@codesourcery.com>
3099
3100 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
3101 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
3102 Likewise.
3103
41e8926a
AZ
31042013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3105
3106 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
3107 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
3108 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
3109 (__fesetround): Remove define.
3110 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
3111 rounding and exceptions handling.
3112 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
3113 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
3114 (__fe_nomask_env): Likewise.
3115 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
3116 __fegetround instead of fegetround.
3117 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
3118 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
3119
6851bd4d
RM
31202013-11-21 Roland McGrath <roland@hack.frob.com>
3121
070906ff
RM
3122 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
3123 it's there.
3124
6851bd4d
RM
3125 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
3126
84ae135d
MI
31272013-11-21 Meador Inge <meadori@codesourcery.com>
3128
3129 [BZ #11157]
3130 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
3131 (encrypt_r): Likewise.
3132 * malloc/obstack.h (obstack_free): Likewise.
3133 * posix/unistd.h (encrypt): Likewise.
3134
daf75146
GM
31352013-11-21 Guy Martin <gmsoft@tuxicoman.be>
3136
3137 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
3138 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
3139 DL_CALL_DT_FINI() that call the functions directly.
3140 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
3141 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
3142 * elf/dl-fini.c: Likewise.
3143
10ad46bc
OB
31442013-11-20 Ondřej Bílka <neleai@seznam.cz>
3145
3146 * malloc/hooks.c (memalign_check): Add alignment rounding.
3147 * malloc/malloc.c (_mid_memalign): New function.
3148 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
3149 Implement by calling _mid_memalign.
3150 * manual/probes.texi (Memory Allocation Probes): Remove
3151 memory_valloc_retry and memory_pvalloc_retry.
3152
f3fd2628
SP
31532013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
3154
4712799f
SP
3155 * locale/programs/locarchive.c (open_archive): Add const
3156 qualifier to ARCHIVEFNAME and copy default fname to
3157 DEFAULT_FNAME.
3158
0417b20f
SP
3159 [BZ #15601]
3160 * libio/tst-widetext.input: Rename Oriya to Odia.
3161 * locale/iso-639.def: Likewise.
3162
f3fd2628
SP
3163 * manual/probes.texi (Mathematical Function Probes): Add
3164 documentation for sin, cos, asin and acos probes.
3165 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
3166 (__sin32): Add slowasin probe.
3167 (__cos32): Add slowacos probe.
3168 (__mpsin): Add slowsin probe.
3169 (__mpcos): Add slowcos probe.
3170
73c1ce4f
JM
31712013-11-19 Joseph Myers <joseph@codesourcery.com>
3172
3173 [BZ #15483]
3174 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
3175 thread-local __sim_exceptions_thread and global
3176 __sim_exceptions_global.
3177 (__sim_disabled_exceptions): Change to thread-local
3178 __sim_disabled_exceptions_thread and global
3179 __sim_disabled_exceptions_global.
3180 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
3181 and global __sim_round_mode_global.
3182 (__simulate_exceptions): Use thread-local floating-point state and
3183 set global state from it as needed.
3184 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
3185 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
3186 __sim_round_mode_thread.
3187 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
3188 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
3189 and global __sim_exceptions_global.
3190 (__sim_disabled_exceptions): Change to thread-local
3191 __sim_disabled_exceptions_thread and global
3192 __sim_disabled_exceptions_global.
3193 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
3194 and global __sim_round_mode_global.
3195 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
3196 (SIM_SET_GLOBAL): Likewise.
3197 * sysdeps/powerpc/soft-fp/sfp-machine.h
3198 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
3199 __sim_round_mode_thread.
3200 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
3201 __sim_disabled_exceptions_thread.
3202 (__sim_exceptions): Change to __sim_exceptions_thread.
3203 (__sim_disabled_exceptions): Change to
3204 __sim_disabled_exceptions_thread.
3205 (__sim_round_mode): Change to __sim_round_mode_thread.
3206 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
3207 thread-local floating-point state and set global state from it as
3208 needed.
3209 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
3210 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
3211 (__sim_disabled_exceptions): Remove extern declaration.
3212 (feenableexcept): Use thread-local floating-point state and set
3213 global state from it as needed.
3214 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
3215 extern declaration.
3216 (__sim_disabled_exceptions): Likewise.
3217 (__sim_round_mode): Likewise.
3218 (__fegetenv): Use thread-local floating-point state.
3219 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
3220 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
3221 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
3222 floating-point state and set global state from it as needed.
3223 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
3224 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
3225 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
3226 Likewise.
3227 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
3228 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
3229 Likewise.
3230 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
3231 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
3232 Use __sim_round_mode_thread.
3233 * math/test-fenv-tls.c: New file.
3234 * math/Makefile (tests): Add test-fenv-tls.
3235 ($(objpfx)test-fenv-tls): Depend on
3236 $(common-objpfx)nptl/libpthread.so.
3237
b5449b12
AS
32382013-11-19 Andreas Schwab <schwab@suse.de>
3239
3240 * locale/programs/locale.c (show_info): Decode wordarray elements.
3241 * locale/categories.def (LC_MONETARY): Add element for
3242 _NL_MONETARY_CRNCYSTR.
3243 * locale/C-monetary.c (conversion_rate): New variable.
3244 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
3245 element.
3246
e186536b
CM
32472013-11-18 Chris Metcalf <cmetcalf@tilera.com>
3248
3249 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
3250 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
3251
5c349950
PP
32522013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
3253
3254 * elf/Makefile (tst-auxv): New test.
3255 * elf/tst-auxv.c: New
3256 * elf/rtld.c (dl_main): Adjust AT_EXECFN
3257
699df45b
JM
32582013-11-18 Joseph Myers <joseph@codesourcery.com>
3259
3260 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
3261 (hidden_proto): Caller changed.
3262 (hidden_tls_proto): New macro.
3263 (libc_hidden_tls_proto): Likewise.
3264 (rtld_hidden_tls_proto): Likewise.
3265 (libm_hidden_tls_proto): Likewise.
3266 (libresolv_hidden_tls_proto): Likewise.
3267 (librt_hidden_tls_proto): Likewise.
3268 (libdl_hidden_tls_proto): Likewise.
3269 (libnss_files_hidden_tls_proto): Likewise.
3270 (libnsl_hidden_tls_proto): Likewise.
3271 (libnss_nisplus_hidden_tls_proto): Likewise.
3272 (libutil_hidden_tls_proto): Likewise.
3273
b7589107
OB
32742013-11-18 Ondřej Bílka <neleai@seznam.cz>
3275
3276 [BZ #10253]
3277 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
3278 (decompose_rpath): Defer expansion to fillin_rpath.
3279 (_dl_init_paths): Pass linkmap to fillin_rpath.
3280
250c23bd
RS
32812013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3282
3283 * benchtests/Makefile: Add strsep.
3284 * benchtests/bench-strsep.c: New file: strsep benchtest.
3285 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
3286
a7931fcf
AS
32872013-11-18 Andreas Schwab <schwab@suse.de>
3288
3289 * locale/programs/locale.c (show_info) [case byte]: Check for
3290 '\377' instead of '\177'.
3291 * locale/C-monetary.c (not_available): Always use "\377".
3292 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
3293 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
3294 detect unavailable sign_posn locale elements.
3295 * locale/localeconv.c (__localeconv): For grouping and
3296 mon_grouping handle "\177" and "\377" like no grouping.
3297 (INT_ELEM): New macro. Use it to set all numeric members.
3298 * locale/programs/ld-monetary.c (monetary_read)
3299 <tok_mon_grouping>: Normalize single -1 to the empty string.
3300 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
3301 Likewise.
3302
728dab0e
OB
33032013-11-07 Ondřej Bílka <neleai@seznam.cz>
3304
3305 [BZ #16055]
3306 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
3307 when we match (nil).
3308 * stdio-common/tst-sscanf.c (struct test): Add testcase.
3309
66294491
JM
33102013-11-16 Joseph Myers <joseph@codesourcery.com>
3311
ce665817
JM
3312 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
3313 (NO_TEST_INLINE): Update value.
3314 (ERRNO_UNCHANGED): Likewise.
3315 (ERRNO_EDOM): Likewise.
3316 (ERRNO_ERANGE): Likewise.
3317 (IGNORE_RESULT): Likewise.
3318 (check_float_internal): Check signs of NaN results if
3319 TEST_NAN_SIGN used.
3320 (check_complex): Pass TEST_NAN_SIGN flag through to second
3321 check_float_internal call.
3322 (copysign_test_data): Add tests with quiet NaNs as second
3323 argument. Use TEST_NAN_SIGN.
3324 (fabs_test_data): Add test of negative quiet NaN argument. Use
3325 TEST_NAN_SIGN.
3326 (signbit_test_data): Add tests of quiet NaN argument.
3327 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
3328
ee1466a9
JM
3329 * math/gen-libm-test.pl (show_exceptions): Take extra argument
3330 $ignore_result.
3331 (parse_args): Handle function results specified as IGNORE.
3332 * math/libm-test.inc (IGNORE_RESULT): New macro.
3333 (check_float_internal): Do not check numerical result if flag
3334 IGNORE_RESULT set.
3335 (check_complex): Pass through IGNORE_RESULT to second
3336 check_float_internal call.
3337 (check_int): Do not check numerical result if flag IGNORE_RESULT
3338 set.
3339 (check_long): Likewise.
3340 (check_bool): Likewise.
3341 (check_longlong): Likewise.
3342 (lrint_test_data): Add tests of infinite and NaN arguments.
3343 (lrint_tonearest_test_data): Likewise.
3344 (lrint_towardzero_test_data): Likewise.
3345 (lrint_downward_test_data): Likewise.
3346 (lrint_upward_test_data): Likewise.
3347 (llrint_test_data): Likewise.
3348 (llrint_tonearest_test_data): Likewise.
3349 (llrint_towardzero_test_data): Likewise.
3350 (llrint_downward_test_data): Likewise.
3351 (llrint_upward_test_data): Likewise.
3352 (lround_test_data): Likewise.
3353 (llround_test_data): Likewise.
3354
14407b7e
JM
3355 * math/libm-test.inc (NO_TEST_INLINE): New macro.
3356 (ERRNO_UNCHANGED): Update value.
3357 (ERRNO_EDOM): Likewise.
3358 (ERRNO_ERANGE): Likewise.
3359 (NO_TEST_INLINE_FLOAT): New macro.
3360 (NO_TEST_INLINE_DOUBLE): Likewise.
3361 (enable_test): New function.
3362 (RUN_TEST_f_f): Check enable_test before running test.
3363 (RUN_TEST_2_f): Likewise.
3364 (RUN_TEST_fff_f): Likewise.
3365 (RUN_TEST_c_f): Likewise.
3366 (RUN_TEST_f_f1): Likewise.
3367 (RUN_TEST_fF_f1): Likewise.
3368 (RUN_TEST_fI_f1): Likewise.
3369 (RUN_TEST_ffI_f1): Likewise.
3370 (RUN_TEST_c_c): Likewise.
3371 (RUN_TEST_cc_c): Likewise.
3372 (RUN_TEST_f_i): Likewise.
3373 (RUN_TEST_f_i_tg): Likewise.
3374 (RUN_TEST_ff_i_tg): Likewise.
3375 (RUN_TEST_f_b): Likewise.
3376 (RUN_TEST_f_b_tg): Likewise.
3377 (RUN_TEST_f_l): Likewise.
3378 (RUN_TEST_f_L): Likewise.
3379 (RUN_TEST_fFF_11): Likewise.
3380 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
3381 conditionals.
3382 (cosh_test_data): Likewise.
3383 (exp_test_data): Likewise.
3384 (expm1_test_data): Likewise.
3385 (hypot_test_data): Likewise.
3386 (pow_test_data): Likewise.
3387 (sinh_test_data): Likewise.
3388 (tanh_test_data): Likewise.
3389 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
3390 flags argument.
3391
ca07f197
JM
3392 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
3393 tests with quiet NaN input and output.
3394 (acosh_test_data): Likewise.
3395 (asin_test_data): Likewise.
3396 (asinh_test_data): Likewise.
3397 (atan_test_data): Likewise.
3398 (atanh_test_data): Likewise.
3399 (atan2_test_data): Likewise.
3400 (cbrt_test_data): Likewise.
3401 (cos_test_data): Likewise.
3402 (cosh_test_data): Likewise.
3403 (erf_test_data): Likewise.
3404 (erfc_test_data): Likewise.
3405 (exp_test_data): Likewise.
3406 (exp10_test_data): Likewise.
3407 (exp2_test_data): Likewise.
3408 (expm1_test_data): Likewise.
3409 (hypot_test_data): Likewise.
3410 (j0_test_data): Likewise.
3411 (j1_test_data): Likewise.
3412 (jn_test_data): Likewise.
3413 (lgamma_test_data): Likewise.
3414 (log_test_data): Likewise.
3415 (log10_test_data): Likewise.
3416 (log1p_test_data): Likewise.
3417 (log2_test_data): Likewise.
3418 (pow_test_data): Likewise.
3419 (scalb_test_data): Likewise.
3420 (sin_test_data): Likewise.
3421 (sincos_test_data): Likewise.
3422 (sinh_test_data): Likewise.
3423 (tan_test_data): Likewise.
3424 (tanh_test_data): Likewise.
3425 (tgamma_test_data): Likewise.
3426 (y0_test_data): Likewise.
3427 (y1_test_data): Likewise.
3428 (yn_test_data): Likewise.
3429
66294491
JM
3430 [BZ #16167]
3431 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
3432 argument being NaN and avoid computations with second argument in
3433 that case.
3434 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3435 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3436 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3437
1820b143
CL
34382013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
3439
3440 * locale/iso-639.def: Add Chitwani Tharu (the).
3441
714bd261
AS
34422013-11-14 Andreas Schwab <schwab@suse.de>
3443
3444 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
3445 word instead of empty string.
3446
7ab44563
AZ
34472013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3448
3449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3450 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
3451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3452 (__fe_nomask_env): Likewise.
3453
e8470ea2
SE
34542013-11-13 Steve Ellcey <sellcey@mips.com>
3455
3456 * benchtests/bench-timing.h: Include time.h.
3457
17c1d9f0
L
34582013-11-13 H.J. Lu <hongjiu.lu@intel.com>
3459
3460 [BZ #15997]
3461 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
3462 to 3.4.0 for x32.
3463 * sysdeps/unix/sysv/linux/configure: Regenerated.
3464
9310c284
JM
34652013-11-13 Joseph Myers <joseph@codesourcery.com>
3466
3467 [BZ #16151]
3468 * stdlib/strtod_l.c (round_and_return): Do not consider
3469 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
3470 exponent one less than half the least subnormal exponent.
3471 * stdlib/test-strtod-round-data: Add more tests.
3472 * stdlib/tst-strtod-round.c (tests): Regenerated.
3473
7a2ad8cf
AZ
34742013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3475
3476 [BZ #14143]
3477 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
3478 (__fe_mask_env): Likewise.
3479 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
3480 libm_hidden_proto and add function prototype.
3481 (__fe_mask_env): Add function prototype.
3482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3483 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
3484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3485 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
3486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3487 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
3488
50727aa7
MS
34892013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3490
b2f386c1 3491 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
3492 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
3493
a615be46
MS
34942013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3495
3496 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
3497 of htab_find_slot().
3498
7ddace62
DM
34992013-11-11 David S. Miller <davem@davemloft.net>
3500
3501 [BZ #16150]
3502 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
3503 symbol in the non-vis3 case in static builds.
3504 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
3505 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
3506 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
3507 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
3508
9182aa67
JK
35092013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3510
3511 [BZ #387]
3512 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
3513 it is empty.
3514
450a2e2d
AZ
35152013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3516
b2f386c1
SP
3517 * benchtests/Makefile: Add bench-strtod.
3518 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 3519
8ec3f656
AS
35202013-11-11 Andreas Schwab <schwab@suse.de>
3521
3522 [BZ #16153]
3523 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
3524 terminating NUL in key length.
3525
76a9b998
AZ
35262013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3527
3528 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
3529 Add artificial ODP entry for vDSO symbol for PPC64.
3530 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
3531 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
3532
e4368156
OB
35332013-11-07 Ondřej Bílka <neleai@seznam.cz>
3534
3535 [BZ #15374]
3536 * nss/getent.c (services_keys): Recognize services starting with digit.
3537
8d6bb57c
DM
35382013-11-06 David S. Miller <davem@davemloft.net>
3539
3540 [BZ #15985]
3541 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
3542 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
3543
e256c421
WN
35442013-11-06 Will Newton <will.newton@linaro.org>
3545
3546 * manual/memory.texi (Malloc Examples): Remove register
3547 keyword from examples.
3548
f6e12daa 35492013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 3550
f6e12daa 3551 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 3552
9d880655
AS
35532013-11-04 Joseph Myers <joseph@codesourcery.com>
3554
3555 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
3556 depending on [__GCC_IEC_559 > 0].
3557 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
3558 depending on [__GCC_IEC_559_COMPLEX > 0].
3559
ae129d3c
CL
35602013-11-03 Chris Leonard <cjl@sugarlabs.org>
3561
3562 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
3563 to iso-639.def.
3564
4a15c2a4 35652013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
3566
3567 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
3568
8b35e35d
OB
35692013-11-01 Ondřej Bílka <neleai@seznam.cz>
3570
3571 [BZ #16112]
3572 * malloc/malloc (malloc_info): Do not handle first bin as
3573 special case.
3574
1d70fd6c
CL
35752013-11-01 Chris Leonard <cjl@sugarlabs.org>
3576
3577 * locale/iso-639.def: Add Central Nahuatl (nhn).
3578
8c5c2600
BH
35792013-11-01 Bruno Haible <bruno@clisp.org>
3580
3581 [BZ #7003]
3582 * manual/math.texi (BSD Random): Specify range upper bound as
3583 in POSIX.
3584
da5579c2
CL
35852013-10-31 Chris Leonard <cjl@sugarlabs.org>
3586
3587 * locale/iso-639.def: Add Meadow Mari (mhr).
3588
5d30d853
OB
35892013-10-31 Ondřej Bílka <neleai@seznam.cz>
3590
3591 [BZ #14752], [BZ #15763]
3592 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
3593 Validate name.
3594 * rt/tst_shm.c: Add test for escaping directory.
3595
a4966c61
AS
35962013-10-31 Andreas Schwab <schwab@suse.de>
3597
8a43e768 3598 [BZ #15917]
a4966c61
AS
3599 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
3600 followed by 'x' as part of digit sequence.
3601 * stdio-common/tst-sscanf.c (double_tests2): New tests.
3602
28d708c4
MAP
36032013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
3604
3605 [BZ #16037]
3606 * configure.ac: allow GNU Make 4.0 and greater.
3607 * configure: Regenerated.
3608
a56ee40b
WN
36092013-10-30 Will Newton <will.newton@linaro.org>
3610
3611 [BZ #16038]
3612 * malloc/hooks.c (memalign_check): Limit alignment to the
3613 maximum representable power of two.
3614 * malloc/malloc.c (__libc_memalign): Likewise.
3615 * malloc/tst-memalign.c (do_test): Add test for very
3616 large alignment values.
3617 * malloc/tst-posix_memalign.c (do_test): Likewise.
3618
c6e4925d
OB
36192013-10-30 Ondřej Bílka <neleai@seznam.cz>
3620
3621 [BZ #11087]
3622 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
3623 (munmap_chunk): Likewise.
3624 (mremap_chunk): Likewise.
3625
36262013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 3627
8a43e768 3628 [BZ #15799]
bbea82f7
OB
3629 * stdlib/div.c (div): Remove obsolete code.
3630 * stdlib/ldiv.c (ldiv): Likewise.
3631 * stdlib/lldiv.c (lldiv): Likewise.
3632
977f4b31
SP
36332013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3634
3635 [BZ #16071]
3636 * nss/nss_files/files-XXX.c (get_contents_ret): New
3637 enumerator.
3638 (get_contents): New function.
3639 (internal_getent): Use it. Expand size of LINEBUFLEN.
3640
cb8a6dbd
MF
36412013-10-30 Mike Frysinger <vapier@gentoo.org>
3642
3643 * configure.in: Moved to ...
3644 * configure.ac: ... here. Change reference to configure.in
3645 to configure.ac.
3646 * sysdeps/arm/preconfigure.ac: ... here.
3647 configure.in to configure.ac.
3648 * sysdeps/gnu/configure.in: Moved to ...
3649 * sysdeps/gnu/configure.ac: ... here.
3650 * sysdeps/i386/configure.in: Moved to ...
3651 * sysdeps/i386/configure.ac: ... here.
3652 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
3653 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
3654 * sysdeps/mach/configure.in: Moved to ...
3655 * sysdeps/mach/configure.ac: ... here.
3656 * sysdeps/mach/hurd/configure.in: Moved to ...
3657 * sysdeps/mach/hurd/configure.ac: ... here.
3658 * sysdeps/powerpc/configure.in: Moved to ...
3659 * sysdeps/powerpc/configure.ac: ... here.
3660 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
3661 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
3662 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
3663 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
3664 * sysdeps/s390/s390-32/configure.in: Moved to ...
3665 * sysdeps/s390/s390-32/configure.ac: ... here.
3666 * sysdeps/s390/s390-64/configure.in: Moved to ...
3667 * sysdeps/s390/s390-64/configure.ac: ... here.
3668 * sysdeps/sh/configure.in: Moved to ...
3669 * sysdeps/sh/configure.ac: ... here.
3670 * sysdeps/sparc/configure.in: Moved to ...
3671 * sysdeps/sparc/configure.ac: ... here.
3672 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
3673 * sysdeps/unix/sysv/linux/configure.ac: ... here.
3674 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
3675 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
3676 * sysdeps/x86_64/configure.in: Moved to ...
3677 * sysdeps/x86_64/configure.ac: ... here.
3678 * sysdeps/x86_64/preconfigure.in: Moved to ...
3679 * sysdeps/x86_64/preconfigure.ac: ... here.
3680 * aclocal.m4: Change reference to configure.in to configure.ac.
3681 * config.h.in: Likewise.
3682 * manual/install.texi: Likewise.
3683 * manual/maint.texi: Likewise.
3684 * Makefile: Likewise.
3685 * malloc/Makefile: Likewise.
3686 * nscd/Makefile: Likewise.
3687 * Makeconfig: Change reference to configure.in and
3688 preconfigure.in to configure.ac and preconfigure.ac
3689 respectively.
3690 * INSTALL: Regenerated.
3691 * configure: Likewise.
3692 * sysdeps/gnu/configure: Likewise.
3693 * sysdeps/i386/configure: Likewise.
3694 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
3695 * sysdeps/mach/configure: Likewise.
3696 * sysdeps/mach/hurd/configure: Likewise.
3697 * sysdeps/powerpc/configure: Likewise.
3698 * sysdeps/powerpc/powerpc32/configure: Likewise.
3699 * sysdeps/powerpc/powerpc64/configure: Likewise.
3700 * sysdeps/s390/s390-32/configure: Likewise.
3701 * sysdeps/s390/s390-64/configure: Likewise.
3702 * sysdeps/sh/configure: Likewise.
3703 * sysdeps/sparc/configure: Likewise.
3704 * sysdeps/unix/sysv/linux/configure: Likewise.
3705 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
3706 * sysdeps/x86_64/configure: Likewise.
3707 * sysdeps/x86_64/preconfigure: Likewise.
3708
36a4953a
AS
37092013-10-29 Andreas Schwab <schwab@suse.de>
3710
3711 * stdio-common/Makefile (tst-swscanf-ENV): Define.
3712
c79a1204
SP
37132013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3714
dfa1b402
SP
3715 * benchtests/pow-inputs: Add new inputs.
3716
54f73d9c
SP
3717 * benchtests/exp-inputs: Add new inputs.
3718
c79a1204
SP
3719 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
3720 conditional check for return value.
3721 (__cos32): Likewise.
3722
67beb545 37232013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
3724
3725 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
3726 to provide a boost for large inputs with word alignment.
3727 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
3728 implementation based on optimized PPC64 strcpy.
3729 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
3730 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
3731 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
3732 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
3733
151659f6
OB
37342013-10-25 Ondřej Bílka <neleai@seznam.cz>
3735
482a077e 3736 [BZ #2801]
151659f6
OB
3737 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
3738
10b0f26b
OB
37392013-10-25 Ondřej Bílka <neleai@seznam.cz>
3740
3741 [BZ #14876]
3742 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
3743 * time/tst-strptime.c (day_tests): Add testcase.
3744
ca42d35e
OB
37452013-10-25 Ondřej Bílka <neleai@seznam.cz>
3746
482a077e 3747 [BZ #14029]
ca42d35e
OB
3748 * manual/pattern.texi: Acknowledge that fnmatch can fail.
3749
52e6d801
FB
37502013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
3751
3752 [BZ #16074]
3753 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
3754 MAP_FAILED on error.
3755
7cbcdb36
SP
37562013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3757
3758 [BZ #16072]
3759 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
3760 heap for large requests.
3761
894f3f10
AM
37622013-10-25 Aurelien Jarno <aurelien@aurel32.net>
3763
3764 [BZ #9954]
3765 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
3766 result if the result has no associated interface.
3767 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
3768 interface for all 127.X.Y.Z addresses.
3769
b85545a6
CL
37702013-10-24 Chris Leonard <cjl@sugarlabs.org>
3771
3772 * locale/iso-639.def: Add Ligurian (lij)
3773
d1f23d46
OB
37742013-10-21 Ondřej Bílka <neleai@seznam.cz>
3775
3776 [BZ #15825]
3777 * sunrpc/rpc_main.c: Document rpcgen -5.
3778
4db5b08f
MS
37792013-10-19 Michael Stahl <mstahl@redhat.com>
3780
3781 * elf/rtld.c (do_preload): Print the reason why preloading failed.
3782
a471e96a
OB
37832013-10-19 Ondřej Bílka <neleai@seznam.cz>
3784
d1f23d46 3785 [BZ #10278]
a471e96a
OB
3786 * posix/glob.c: Match only directories when trailing slash is present.
3787 * posix/tst-gnuglob.c (my_opendir): Do not open files.
3788 (main): Add testcase.
3789
45c30c61
OB
37902013-10-19 Ondřej Bílka <neleai@seznam.cz>
3791
3792 [BZ #15670]
3793 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
3794
484c12fb
CD
37952013-10-18 Carlos O'Donell <carlos@redhat.com>
3796
3d7dc513
CD
3797 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
3798 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
3799 AUTH_DES and cindex for FIPS 140-2.
3800 (DES Encryption): Add cindex FIPS 46-3.
3801
484c12fb
CD
3802 * locale/locarchive.h (struct locarhandle): Add fname.
3803 * locale/programs/localedef.c (main): Pass ARGV[remaining]
3804 if an optional argument was specified to --list-archive,
3805 otherwise NULL.
3806 * locale/programs/locarchive.c (show_archive_content): Take new
3807 argument fname and pass it via ah.fname to open_archive.
3808 * locale/programs/localedef.h: Update decl.
3809 (open_archive): If AH->fname is non-null, open that file
3810 rather than the default file name, and don't ignore ENOENT.
3811 (create_archive): Set AH.fname to NULL.
3812 (delete_locales_from_archive): Likewise.
3813 (add_locales_to_archive): Likewise.
3814 * locale/programs/locfile.c (write_all_categories): Likewise.
3815
3c8325fb
JM
38162013-10-18 Joseph Myers <joseph@codesourcery.com>
3817 Aldy Hernandez <aldyh@redhat.com>
3818
3819 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
3820 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
3821 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
3822 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
3823 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
3824 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
3825 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
3826 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
3827 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
3828 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
3829 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
3830 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
3831 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
3832 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
3833 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
3834 Likewise.
3835 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
3836 Likewise.
3837 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
3838 Likewise.
3839 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
3840 Likewise.
3841 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
3842 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
3843 Likewise.
3844 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
3845 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
3846 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
3847 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
3848 Likewise.
3849 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
3850 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
3851 * sysdeps/powerpc/preconfigure: Likewise.
3852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
3853 Likewise.
3854 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
3855 Replace contents of file by #include of <fenv_libc.h>.
3856 * sysdeps/powerpc/soft-fp/sfp-machine.h
3857 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
3858 and <sys/prctl.h>.
3859 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
3860 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
3861 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
3862 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
3863 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
3864 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
3865 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
3866 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
3867 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
3868 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
3869 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
3870 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
3871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
3872 Allow copysignl PLT reference to be missing.
3873
5abe0682
RS
38742013-10-18 Richard Sandiford <richard@codesourcery.com>
3875 Joseph Myers <joseph@codesourcery.com
3876
3877 [BZ #15948]
3878 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
3879 single character.
3880 (add_to_tablewc): Assert sequence of wide characters is nonempty.
3881
c7738d08
SP
38822013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3883
3884 * elf/tst-tls-dlinfo.c: Don't include tls.h.
3885 * elf/tst-tls1.c: Likewise.
3886 * elf/tst-tls10.h: Likewise.
3887 * elf/tst-tls14.c: Likewise.
3888 * elf/tst-tls2.c: Likewise.
3889 * elf/tst-tls3.c: Likewise.
3890 * elf/tst-tls4.c: Likewise.
3891 * elf/tst-tls5.c: Likewise.
3892 * elf/tst-tls6.c: Likewise.
3893 * elf/tst-tls7.c: Likewise.
3894 * elf/tst-tls8.c: Likewise.
3895 * elf/tst-tls9.c: Likewise.
3896 * elf/tst-tlsmod1.c: Likewise.
3897 * elf/tst-tlsmod13.c: Likewise.
3898 * elf/tst-tlsmod13a.c: Likewise.
3899 * elf/tst-tlsmod14a.c: Likewise.
3900 * elf/tst-tlsmod16a.c: Likewise.
3901 * elf/tst-tlsmod16b.c: Likewise.
3902 * elf/tst-tlsmod2.c: Likewise.
3903 * elf/tst-tlsmod3.c: Likewise.
3904 * elf/tst-tlsmod4.c: Likewise.
3905 * elf/tst-tlsmod5.c: Likewise.
3906 * elf/tst-tlsmod6.c: Likewise.
3907
0bfcf2c7
OB
39082013-10-18 Ondřej Bílka <neleai@seznam.cz>
3909
3910 [BZ #12486]
3911 * malloc/malloc.c: remove checks for statistics.
3912
264aad1e
OB
39132013-10-17 Ondřej Bílka <neleai@seznam.cz>
3914
3915 [BZ #15277]
3916 * inet/inet_net.c (inet_network): Detect additional invalid strings.
3917 * inet/tst-network.c: Add testcase.
3918
b957ced8
AS
39192013-10-17 Andreas Schwab <schwab@suse.de>
3920
3921 [BZ #15218]
3922 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
3923 to determine canonical name.
3924
c5d5d574
OB
39252013-10-17 Ondřej Bílka <neleai@seznam.cz>
3926
3927 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
3928 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
3929 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3930 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
3931 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3932 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
3933 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
3934 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
3935 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
3936 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
3937 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
3938 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3939 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3940 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3941 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
3942 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
3943 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3944 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3945 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
3946 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
3947 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3948 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3949 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3950 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
3951 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
3952 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
3953 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
3954 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
3955 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
3956 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
3957 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
3958 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3959 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
3960 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3961 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3962 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3963 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3964 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3965 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3966 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3967 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3968 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
3969 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
3970 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3971 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
3972 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3973 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3974 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
3975 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
3976 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3977 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
3978 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3979 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3980 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
3981 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3982 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
3983 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3984 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3985
e5c2c2d0
JM
39862013-10-17 Joseph Myers <joseph@codesourcery.com>
3987
3988 [BZ #16041]
3989 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
3990 make result into a quiet NaN.
3991
51ca9e29
JM
39922013-10-16 Joseph Myers <joseph@codesourcery.com>
3993
3994 * soft-fp/adddf3.c: Fix horizontal whitespace.
3995 * soft-fp/addsf3.c: Likewise.
3996 * soft-fp/addtf3.c: Likewise.
3997 * soft-fp/divdf3.c: Likewise.
3998 * soft-fp/divsf3.c: Likewise.
3999 * soft-fp/divtf3.c: Likewise.
4000 * soft-fp/double.h: Likewise.
4001 * soft-fp/eqdf2.c: Likewise.
4002 * soft-fp/eqsf2.c: Likewise.
4003 * soft-fp/eqtf2.c: Likewise.
4004 * soft-fp/extenddftf2.c: Likewise.
4005 * soft-fp/extended.h: Likewise.
4006 * soft-fp/extendsfdf2.c: Likewise.
4007 * soft-fp/extendsftf2.c: Likewise.
4008 * soft-fp/extendxftf2.c: Likewise.
4009 * soft-fp/fixdfdi.c: Likewise.
4010 * soft-fp/fixdfsi.c: Likewise.
4011 * soft-fp/fixdfti.c: Likewise.
4012 * soft-fp/fixsfdi.c: Likewise.
4013 * soft-fp/fixsfsi.c: Likewise.
4014 * soft-fp/fixsfti.c: Likewise.
4015 * soft-fp/fixtfdi.c: Likewise.
4016 * soft-fp/fixtfsi.c: Likewise.
4017 * soft-fp/fixtfti.c: Likewise.
4018 * soft-fp/fixunsdfdi.c: Likewise.
4019 * soft-fp/fixunsdfsi.c: Likewise.
4020 * soft-fp/fixunsdfti.c: Likewise.
4021 * soft-fp/fixunssfdi.c: Likewise.
4022 * soft-fp/fixunssfsi.c: Likewise.
4023 * soft-fp/fixunssfti.c: Likewise.
4024 * soft-fp/fixunstfdi.c: Likewise.
4025 * soft-fp/fixunstfsi.c: Likewise.
4026 * soft-fp/fixunstfti.c: Likewise.
4027 * soft-fp/floatdidf.c: Likewise.
4028 * soft-fp/floatdisf.c: Likewise.
4029 * soft-fp/floatditf.c: Likewise.
4030 * soft-fp/floatsidf.c: Likewise.
4031 * soft-fp/floatsisf.c: Likewise.
4032 * soft-fp/floatsitf.c: Likewise.
4033 * soft-fp/floattidf.c: Likewise.
4034 * soft-fp/floattisf.c: Likewise.
4035 * soft-fp/floattitf.c: Likewise.
4036 * soft-fp/floatundidf.c: Likewise.
4037 * soft-fp/floatundisf.c: Likewise.
4038 * soft-fp/floatunditf.c: Likewise.
4039 * soft-fp/floatunsidf.c: Likewise.
4040 * soft-fp/floatunsisf.c: Likewise.
4041 * soft-fp/floatunsitf.c: Likewise.
4042 * soft-fp/floatuntidf.c: Likewise.
4043 * soft-fp/floatuntisf.c: Likewise.
4044 * soft-fp/floatuntitf.c: Likewise.
4045 * soft-fp/fmadf4.c: Likewise.
4046 * soft-fp/fmasf4.c: Likewise.
4047 * soft-fp/fmatf4.c: Likewise.
4048 * soft-fp/gedf2.c: Likewise.
4049 * soft-fp/gesf2.c: Likewise.
4050 * soft-fp/getf2.c: Likewise.
4051 * soft-fp/ledf2.c: Likewise.
4052 * soft-fp/lesf2.c: Likewise.
4053 * soft-fp/letf2.c: Likewise.
4054 * soft-fp/muldf3.c: Likewise.
4055 * soft-fp/mulsf3.c: Likewise.
4056 * soft-fp/multf3.c: Likewise.
4057 * soft-fp/negdf2.c: Likewise.
4058 * soft-fp/negsf2.c: Likewise.
4059 * soft-fp/negtf2.c: Likewise.
4060 * soft-fp/op-1.h: Likewise.
4061 * soft-fp/op-2.h: Likewise.
4062 * soft-fp/op-4.h: Likewise.
4063 * soft-fp/op-8.h: Likewise.
4064 * soft-fp/op-common.h: Likewise.
4065 * soft-fp/quad.h: Likewise.
4066 * soft-fp/single.h: Likewise.
4067 * soft-fp/soft-fp.h: Likewise.
4068 * soft-fp/sqrtdf2.c: Likewise.
4069 * soft-fp/sqrtsf2.c: Likewise.
4070 * soft-fp/sqrttf2.c: Likewise.
4071 * soft-fp/subdf3.c: Likewise.
4072 * soft-fp/subsf3.c: Likewise.
4073 * soft-fp/subtf3.c: Likewise.
4074 * soft-fp/truncdfsf2.c: Likewise.
4075 * soft-fp/trunctfdf2.c: Likewise.
4076 * soft-fp/trunctfsf2.c: Likewise.
4077 * soft-fp/trunctfxf2.c: Likewise.
4078 * soft-fp/unorddf2.c: Likewise.
4079 * soft-fp/unordsf2.c: Likewise.
4080 * soft-fp/unordtf2.c: Likewise.
4081
9ebb0332
JM
40822013-10-15 Joseph Myers <joseph@codesourcery.com>
4083
4084 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
4085 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
4086
4b1a6d8b
OB
40872013-10-15 Ondřej Bílka <neleai@seznam.cz>
4088
4089 * elf/dl-libc.c: Clear initfini list after freeing.
4090
1e145589
JM
40912013-10-14 Joseph Myers <joseph@codesourcery.com>
4092
4093 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
4094 * soft-fp/addsf3.c: Likewise.
4095 * soft-fp/addtf3.c: Likewise.
4096 * soft-fp/divdf3.c: Likewise.
4097 * soft-fp/divsf3.c: Likewise.
4098 * soft-fp/divtf3.c: Likewise.
4099 * soft-fp/double.h: Likewise.
4100 * soft-fp/eqdf2.c: Likewise.
4101 * soft-fp/eqsf2.c: Likewise.
4102 * soft-fp/eqtf2.c: Likewise.
4103 * soft-fp/extenddftf2.c: Likewise.
4104 * soft-fp/extended.h: Likewise.
4105 * soft-fp/extendsfdf2.c: Likewise.
4106 * soft-fp/extendsftf2.c: Likewise.
4107 * soft-fp/extendxftf2.c: Likewise.
4108 * soft-fp/fixdfdi.c: Likewise.
4109 * soft-fp/fixdfsi.c: Likewise.
4110 * soft-fp/fixdfti.c: Likewise.
4111 * soft-fp/fixsfdi.c: Likewise.
4112 * soft-fp/fixsfsi.c: Likewise.
4113 * soft-fp/fixsfti.c: Likewise.
4114 * soft-fp/fixtfdi.c: Likewise.
4115 * soft-fp/fixtfsi.c: Likewise.
4116 * soft-fp/fixtfti.c: Likewise.
4117 * soft-fp/fixunsdfdi.c: Likewise.
4118 * soft-fp/fixunsdfsi.c: Likewise.
4119 * soft-fp/fixunsdfti.c: Likewise.
4120 * soft-fp/fixunssfdi.c: Likewise.
4121 * soft-fp/fixunssfsi.c: Likewise.
4122 * soft-fp/fixunssfti.c: Likewise.
4123 * soft-fp/fixunstfdi.c: Likewise.
4124 * soft-fp/fixunstfsi.c: Likewise.
4125 * soft-fp/fixunstfti.c: Likewise.
4126 * soft-fp/floatdidf.c: Likewise.
4127 * soft-fp/floatdisf.c: Likewise.
4128 * soft-fp/floatditf.c: Likewise.
4129 * soft-fp/floatsidf.c: Likewise.
4130 * soft-fp/floatsisf.c: Likewise.
4131 * soft-fp/floatsitf.c: Likewise.
4132 * soft-fp/floattidf.c: Likewise.
4133 * soft-fp/floattisf.c: Likewise.
4134 * soft-fp/floattitf.c: Likewise.
4135 * soft-fp/floatundidf.c: Likewise.
4136 * soft-fp/floatundisf.c: Likewise.
4137 * soft-fp/floatunsidf.c: Likewise.
4138 * soft-fp/floatunsisf.c: Likewise.
4139 * soft-fp/floatuntidf.c: Likewise.
4140 * soft-fp/floatuntisf.c: Likewise.
4141 * soft-fp/floatuntitf.c: Likewise.
4142 * soft-fp/fmadf4.c: Likewise.
4143 * soft-fp/fmasf4.c: Likewise.
4144 * soft-fp/fmatf4.c: Likewise.
4145 * soft-fp/gedf2.c: Likewise.
4146 * soft-fp/gesf2.c: Likewise.
4147 * soft-fp/getf2.c: Likewise.
4148 * soft-fp/ledf2.c: Likewise.
4149 * soft-fp/lesf2.c: Likewise.
4150 * soft-fp/letf2.c: Likewise.
4151 * soft-fp/muldf3.c: Likewise.
4152 * soft-fp/mulsf3.c: Likewise.
4153 * soft-fp/multf3.c: Likewise.
4154 * soft-fp/negdf2.c: Likewise.
4155 * soft-fp/negsf2.c: Likewise.
4156 * soft-fp/negtf2.c: Likewise.
4157 * soft-fp/op-1.h: Likewise.
4158 * soft-fp/op-2.h: Likewise.
4159 * soft-fp/op-4.h: Likewise.
4160 * soft-fp/op-8.h: Likewise.
4161 * soft-fp/op-common.h: Likewise.
4162 * soft-fp/quad.h: Likewise.
4163 * soft-fp/single.h: Likewise.
4164 * soft-fp/soft-fp.h: Likewise.
4165 * soft-fp/sqrtdf2.c: Likewise.
4166 * soft-fp/sqrtsf2.c: Likewise.
4167 * soft-fp/sqrttf2.c: Likewise.
4168 * soft-fp/subdf3.c: Likewise.
4169 * soft-fp/subsf3.c: Likewise.
4170 * soft-fp/subtf3.c: Likewise.
4171 * soft-fp/truncdfsf2.c: Likewise.
4172 * soft-fp/trunctfdf2.c: Likewise.
4173 * soft-fp/trunctfsf2.c: Likewise.
4174 * soft-fp/trunctfxf2.c: Likewise.
4175 * soft-fp/unorddf2.c: Likewise.
4176 * soft-fp/unordsf2.c: Likewise.
4177 * soft-fp/unordtf2.c: Likewise.
4178
17c48a60
OB
41792013-10-14 Ondřej Bílka <neleai@seznam.cz>
4180
4181 [BZ #15672]
4182 * misc/error.c (error_tail): Fix possible buffer overflow.
4183
cabba934
OB
41842013-10-14 Aurelien Jarno <aurelien@aurel32.net>
4185
4186 [BZ #13028]
4187 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
4188 address.
4189
94bf958a
PM
41902013-10-14 P. J. McDermott <pj@pehjota.net>
4191
4192 [BZ #832]
4193 * elf/ldd.bash.in (try_trace): New function. Delete previous code
4194 testing pipefail option.
4195
71b4dea7
JM
41962013-10-12 Joseph Myers <joseph@codesourcery.com>
4197
4198 * soft-fp/double.h: Indent preprocessor directives inside #if.
4199 * soft-fp/extended.h: Likewise.
4200 * soft-fp/op-2.h: Likewise.
4201 * soft-fp/op-4.h: Likewise.
4202 * soft-fp/op-common.h: Likewise.
4203 * soft-fp/quad.h: Likewise.
4204 * soft-fp/single.h: Likewise.
4205 * soft-fp/soft-fp.h: Likewise.
4206
55602758
YC
42072013-10-12 Yuri Chornoivan <yurchor@ukr.net>
4208
4209 * iconv/iconv_prog.c: Fix typos.
4210 * stdio-common/psiginfo-data.h: Likewise.
4211
9cd83302
RT
42122013-10-12 Reuben Thomas <rrt@sc3d.org>
4213
4214 [BZ #15764]
4215 * locale/setlocale.c: Fix typo.
4216
99fd9f47
JM
42172013-10-12 Joseph Myers <joseph@codesourcery.com>
4218
b7ea74f0
JM
4219 [BZ #16036]
4220 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
4221 signaling NaN arguments.
4222 * soft-fp/unordsf2.c (__unordsf2): Likewise.
4223 * soft-fp/unordtf2.c (__unordtf2): Likewise.
4224
8a509447
JM
4225 [BZ #14910]
4226 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
4227 unordered operands.
4228 * soft-fp/gesf2.c (__gesf2): Likewise.
4229 * soft-fp/getf2.c (__getf2): Likewise.
4230 * soft-fp/ledf2.c (__ledf2): Likewise.
4231 * soft-fp/lesf2.c (__lesf2): Likewise.
4232 * soft-fp/letf2.c (__letf2): Likewise.
4233
98998e9f
JM
4234 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
4235 * soft-fp/eqsf2.c (__eqsf2): Likewise.
4236 * soft-fp/eqtf2.c (__eqtf2): Likewise.
4237 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
4238 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
4239 * soft-fp/fixdfti.c (__fixdfti): Likewise.
4240 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
4241 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
4242 * soft-fp/fixsfti.c (__fixsfti): Likewise.
4243 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
4244 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
4245 * soft-fp/fixtfti.c (__fixtfti): Likewise.
4246 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
4247 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
4248 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
4249 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
4250 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
4251 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
4252 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
4253 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
4254 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
4255 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
4256 * soft-fp/floatdisf.c (__floatdisf): Likewise.
4257 * soft-fp/floatsisf.c (__floatsisf): Likewise.
4258 * soft-fp/floattidf.c (__floattidf): Likewise.
4259 * soft-fp/floattisf.c (__floattisf): Likewise.
4260 * soft-fp/floattitf.c (__floattitf): Likewise.
4261 * soft-fp/floatundidf.c (__floatundidf): Likewise.
4262 * soft-fp/floatundisf.c (__floatundisf): Likewise.
4263 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
4264 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
4265 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
4266 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
4267 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
4268 * soft-fp/gesf2.c (__gesf2): Likewise.
4269 * soft-fp/getf2.c (__getf2): Likewise.
4270 * soft-fp/ledf2.c (__ledf2): Likewise.
4271 * soft-fp/lesf2.c (__lesf2): Likewise.
4272 * soft-fp/letf2.c (__letf2): Likewise.
4273
8edc4a11
JM
4274 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
4275 Undefine and redefine.
4276 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
4277 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
4278 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
4279 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
4280 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4281 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
4282 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4283 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
4284 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4285 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
4286 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4287 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
4288 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4289 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
4290 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4291
8399acaf
JM
4292 [BZ #16032]
4293 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
4294 without decrementing exponent if mantissa >= that for the
4295 denominator, not >.
4296 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
4297 denominator, not >. Decrement exponent in < case instead of
4298 incrementing in >= case.
4299 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
4300 without decrementing exponent if mantissa >= that for the
4301 denominator, not >.
4302
99fd9f47
JM
4303 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
4304 computing saturated result for unsigned overflow.
4305
10e1cf6b
SP
43062013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4307 Jeff Law <law@redhat.com>
4308
4309 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
4310 (atan2Mp): Add systemtap probe marker.
4311 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
4312 (__ieee754_log): Add systemtap probe marker.
4313 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
4314 (atanMp): Add systemtap probe marker.
4315 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
4316 (tanMp): Add systemtap probe marker.
4317 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
4318 (__slowexp): Add systemtap probe marker.
4319 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
4320 (__slowpow): Add systemtap probe marker.
4321 * manual/probes.texi: Document probes.
4322
3d110c7c
EB
43232013-10-11 Eric Biggers <ebiggers3@gmail.com>
4324
4325 [BZ #15362]
4326 * libio/fileops.c (_IO_new_file_write): Return count of bytes
4327 written.
4328 (_IO_new_file_xsputn): Don't return EOF if nothing has been
4329 written.
4330 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
4331 written to buffer but not flushed.
4332 * libio/iofwrite_u.c: Likewise.
4333 * libio/iopadn.c: Return bytes returned even if EOF was
4334 encountered.
4335 * libio/iowpadn.c: Likewise.
4336 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
4337 if _IO_padn does not write the whole buffer.
4338 [!COMPILE_WPRINTF] (PAD): Likewise.
4339
75b4202a
DM
43402013-10-10 David S. Miller <davem@davemloft.net>
4341
4342 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
4343 directory block.
4344
6c6352e6
JM
43452013-10-10 Joseph Myers <joseph@codesourcery.com>
4346
33b853c3
JM
4347 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
4348 instead of FSF address.
4349 * soft-fp/fixdfti.c: Likewise.
4350 * soft-fp/fixsfti.c: Likewise.
4351 * soft-fp/fixtfti.c: Likewise.
4352 * soft-fp/fixunsdfti.c: Likewise.
4353 * soft-fp/fixunssfti.c: Likewise.
4354 * soft-fp/fixunstfti.c: Likewise.
4355 * soft-fp/floattidf.c: Likewise.
4356 * soft-fp/floattisf.c: Likewise.
4357 * soft-fp/floattitf.c: Likewise.
4358 * soft-fp/floatuntidf.c: Likewise.
4359 * soft-fp/floatuntisf.c: Likewise.
4360 * soft-fp/floatuntitf.c: Likewise.
4361 * soft-fp/trunctfxf2.c: Likewise.
4362
6c6352e6
JM
4363 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
4364 * soft-fp/fixdfti.c: Likewise.
4365 * soft-fp/fixsfti.c: Likewise.
4366 * soft-fp/fixtfti.c: Likewise.
4367 * soft-fp/fixunsdfti.c: Likewise.
4368 * soft-fp/fixunssfti.c: Likewise.
4369 * soft-fp/fixunstfti.c: Likewise.
4370 * soft-fp/floattidf.c: Likewise.
4371 * soft-fp/floattisf.c: Likewise.
4372 * soft-fp/floattitf.c: Likewise.
4373 * soft-fp/floatuntidf.c: Likewise.
4374 * soft-fp/floatuntisf.c: Likewise.
4375 * soft-fp/floatuntitf.c: Likewise.
4376 * soft-fp/trunctfxf2.c: Likewise.
4377
3bf78b71
DM
43782013-10-10 David S. Miller <davem@davemloft.net>
4379
4380 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4381
6f10289e
JM
43822013-10-10 Joseph Myers <joseph@codsourcery.com>
4383
bd878fc0
JM
4384 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4385 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
4386 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
4387 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
4388 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
4389 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
4390 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
4391
6f10289e
JM
4392 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
4393 for NaNs before doing comparisons on argument.
4394 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
4395 Likewise.
4396
321e2684
WN
43972013-10-10 Will Newton <will.newton@linaro.org>
4398
4399 * malloc/hooks.c (memalign_check): Ensure the value of bytes
4400 passed to _int_memalign does not overflow.
4401
40fefba1
TR
44022013-10-10 Torvald Riegel <triegel@redhat.com>
4403
4404 * scripts/bench.pl: Add include-sources directive.
4405 * benchtests/README: Update documentation.
4406
2ae21ed2
JM
44072013-10-10 Joseph Myers <joseph@codesourcery.com>
4408
dcc2dd3f
JM
4409 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
4410 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
4411 instead of FP_INIT_ROUNDMODE.
4412 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
4413 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
4414
2ae21ed2
JM
4415 [BZ #16034]
4416 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
4417 copy class of input value.
4418 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
4419 not handle exceptions.
4420 * soft-fp/negsf2.c (__negsf2): Likewise.
4421 * soft-fp/negtf2.c (__negtf2): Likewise.
4422 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
4423
cb8f9562
JM
44242013-10-09 Joseph Myers <joseph@codesourcery.com>
4425
4426 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
4427 semicolon. From Linux kernel.
4428
5b60c59d
AB
44292013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
4430
4431 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
4432
b86835ca
YC
44332013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
4434
4435 [BZ #156]
4436 * manual/socket.texi: Added statement about buffer
4437 for gethostbyname2_r.
4438
e7044ea7
OB
44392013-10-08 Ondřej Bílka <neleai@seznam.cz>
4440
4441 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
4442 Use .p2align directive instead, throughout.
4443 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4444 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4445 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
4446 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4447 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4448 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
4449 * sysdeps/x86_64/strchr.S: Likewise.
4450 * sysdeps/x86_64/strrchr.S: Likewise.
4451
09544cbc
SP
44522013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4453
88576635
SP
4454 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
4455
e7b2d1dd
SP
4456 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
4457
09544cbc
SP
4458 * sysdeps/generic/math_private.h (__mpsin1): Remove
4459 declaration.
4460 (__mpcos1): Likewise.
4461 (__mpsin): New argument __range_reduce.
4462 (__mpcos): Likewise.
4463 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4464 (slow): Use __mpsin and __mpcos.
4465 (slow1): Likewise.
4466 (slow2): Likewise.
4467 (sloww): Likewise.
4468 (sloww1): Likewise.
4469 (sloww2): Likewise.
4470 (bsloww): Likewise.
4471 (bsloww1): Likewise.
4472 (bsloww2): Likewise.
4473 (cslow2): Likewise.
4474 (csloww): Likewise.
4475 (csloww1): Likewise.
4476 (csloww2): Likewise.
4477 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
4478 range_reduce. Merge in __mpsin1.
4479 (__mpcos): Likewise.
4480 (__mpsin1): Remove.
4481 (__mpcos1): Likewise.
4482
7602d070
JM
44832013-10-07 Joseph Myers <joseph@codesourcery.com>
4484
4485 * locale/loadlocale.c (_nl_intern_locale_data): Use
4486 LOCFILE_ALIGNED_P.
4487 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
4488 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
4489 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
4490 obstack data is appropriately aligned.
4491 (obstack_int32_grow_fast): Likewise.
4492 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
4493 * locale/programs/locfile.c (add_locale_uint32): Likewise.
4494 (add_locale_uint32_array): Likewise.
4495
a357259b
SP
44962013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4497
4498 * benchtests/Makefile: Remove ARGLIST and RET variables.
4499 ($(objpfx)bench-%.c): Pass only function name to the script.
4500 * benchtests/README: Update documentation.
4501 * benchtests/acos-inputs: Add new directives.
4502 * benchtests/acosh-inputs: Likewise.
4503 * benchtests/asin-inputs: Likewise.
4504 * benchtests/asinh-inputs: Likewise.
4505 * benchtests/atan-inputs: Likewise.
4506 * benchtests/atanh-inputs: Likewise.
4507 * benchtests/cos-inputs: Likewise.
4508 * benchtests/cosh-inputs: Likewise.
4509 * benchtests/exp-inputs: Likewise.
4510 * benchtests/log-inputs: Likewise.
4511 * benchtests/pow-inputs: Likewise.
4512 * benchtests/rint-inputs: Likewise.
4513 * benchtests/sin-inputs: Likewise.
4514 * benchtests/sinh-inputs: Likewise.
4515 * benchtests/tan-inputs: Likewise.
4516 * benchtests/tanh-inputs: Likewise.
4517 * scripts/bench.pl: Add support for new directives.
4518
9ec1b13d
AM
45192013-10-07 Alan Modra <amodra@gmail.com>
4520
4521 * README: Fix careless merge.
4522
8b7d57cd
AM
45232013-10-05 Alan Modra <amodra@gmail.com>
4524
4525 * NEWS: Mention powerpc64le support and bugs fixed.
4526 * README: Both big-endian and little-endian powerpc64 supported.
4527
7b7bab13
ST
45282013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
4529
4530 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
4531 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
4532 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
4533 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
4534
d39baad1
RA
45352013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
4536
4537 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
4538 match prototype.
4539
cd78f7e7
JM
45402013-10-04 Joseph Myers <joseph@codesourcery.com>
4541
29d73d86
JM
4542 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
4543 Move -mhard-float appending from
4544 ports/sysdeps/powerpc/powerpc32/Makefile.
4545 [$(with-fp) = yes] (ASFLAGS): Likewise.
4546 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
4547 * sysdeps/powerpc/nofpu: Move directory from
4548 ports/sysdeps/powerpc/nofpu.
4549 * sysdeps/powerpc/soft-fp: Move directory from
4550 ports/sysdeps/powerpc/soft-fp.
4551 * sysdeps/powerpc/powerpc32/405: Move directory from
4552 ports/sysdeps/powerpc/powerpc32/405.
4553 * sysdeps/powerpc/powerpc32/440: Move directory from
4554 ports/sysdeps/powerpc/powerpc32/440.
4555 * sysdeps/powerpc/powerpc32/464: Move directory from
4556 ports/sysdeps/powerpc/powerpc32/464.
4557 * sysdeps/powerpc/powerpc32/476: Move directory from
4558 ports/sysdeps/powerpc/powerpc32/476.
4559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
4560 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
4561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
4562 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
4563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
4564 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
4565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
4566 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
4567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
4568 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
4569 * README: Update for powerpc-*-linux-gnu software floating point
4570 support in libc.
4571
e246b347
JM
4572 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
4573 case to powerpc/powerpc32*.
4574 * sysdeps/unix/sysv/linux/configure: Regenerated.
4575
89c2003e
JM
4576 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
4577 (_FPU_MASK_OM): Define as 0x04.
4578 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
4579 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
4580 0x00c10080.
4581 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
4582 0x0000003c.
4583 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
4584
cd78f7e7
JM
4585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
4586 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4587 getcontext_e500.
4588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
4589 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4590 setcontext_e500.
4591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
4592 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
4593 and setcontext_e500.
4594
c755294d
CL
45952013-10-04 Chris Leonard <cjl@sugarlabs,.org>
4596
4597 * locale/iso-3166.def: Update iso-1366.def and related occurrences
4598
e16d221c
SP
45992013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4600
4601 * manual/threads.texi (Default Thread Attributes): Fix typo.
4602
215c7d43
WN
46032013-10-04 Will Newton <will.newton@linaro.org>
4604
4605 * malloc/Makefile: Add tst-memalign.
4606 * malloc/tst-memalign.c: New file.
4607
27d0461b
WN
4608 * malloc/tst-posix_memalign.c: Add comments.
4609 (do_test): Add comments and call free on all potentially
4610 allocated pointers. Add space after cast.
4611
1bc92709
WN
4612 * malloc/tst-pvalloc.c: Add comments.
4613 (do_test): Add comments and call free on all potentially
4614 allocated pointers. Remove duplicate check for NULL pointer.
4615 Add space after cast.
4616
66a9be9d
WN
4617 * malloc/tst-valloc.c: Add comments.
4618 (do_test): Add comments and call free on all potentially
4619 allocated pointers. Remove duplicate check for NULL pointer.
4620 Add space after cast.
4621
4cb81307
AM
46222013-10-04 Alan Modra <amodra@gmail.com>
4623
4624 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4625 Use stdint types in rather than __attribute__((mode())).
4626 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4627
f8e3e9f3
AM
46282013-10-04 Alan Modra <amodra@gmail.com>
4629
4630 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4631 Correct handling of unaligned relocs for little-endian.
4632 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4633
8f9ebb08
AM
46342013-10-04 Alan Modra <amodra@gmail.com>
4635
4636 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
4637 * configure: Regenerate.
4638 * nptl/shlib-versions: Powerpc*le starts at 2.18.
4639 * shlib-versions: Likewise.
4640
0edf96c2
AM
46412013-10-04 Alan Modra <amodra@gmail.com>
4642
4643 * string/tester.c (test_memrchr): Increment reported test cycle.
4644
e0f7a380
AM
46452013-10-04 Alan Modra <amodra@gmail.com>
4646
4647 * string/test-memcpy.c (do_one_test): When reporting errors, print
4648 string address and don't overrun end of string.
4649
466b0393
AM
46502013-10-04 Alan Modra <amodra@gmail.com>
4651
4652 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
4653 insrdi. Make better use of reg selection to speed exit slightly.
4654 Schedule entry path a little better. Remove useless "are we done"
4655 checks on entry to main loop. Handle wrapping around zero address.
4656 Correct main loop count. Handle single left-over word from main
4657 loop inline rather than by using loop_small. Remove extra word
4658 case in loop_small caused by wrong loop count. Add little-endian
4659 support.
4660 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4661 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
4662 cache hint.
4663 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4664 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
4665 support. Avoid rlwimi.
4666 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
4667
3be87c77
AM
46682013-10-04 Alan Modra <amodra@gmail.com>
4669
4670 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 4671 insrdi. Formatting.
3be87c77
AM
4672 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
4673 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4674 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
4675 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
4676 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4677 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
4678
759cfef3
AM
46792013-10-04 Alan Modra <amodra@gmail.com>
4680
4681 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
4682 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4683 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
4684 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
4685 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4686 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4687 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4688 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
4689 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
4690 use of regs. Use power7 mtocrf. Tidy function tails.
4691
fe6e95d7
AM
46922013-10-04 Alan Modra <amodra@gmail.com>
4693
4694 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
4695 Formatting. Consistently use rXXX register defines or rN defines.
4696 Use early exit labels that avoid restoring unused non-volatile regs.
4697 Make cr field use more consistent with rWORDn compares. Rename
4698 regs used as shift registers for unaligned loop, using rN defines
4699 for short lifetime/multiple use regs.
4700 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4701 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
4702 addi 1,1,64 to pop stack frame. Simplify return value code.
4703 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4704
664318c3
AM
47052013-10-04 Alan Modra <amodra@gmail.com>
4706
4707 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
4708 support. Correct typos, formatting. Optimize tail. Use insrdi
4709 rather than rlwimi.
4710 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
4711 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
4712 little-endian support. Correct typos.
4713 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
4714 rather than rlwimi.
4715 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
4716 in loop and entry code to keep "and." results.
4717 (strchr): Add little-endian support. Comment. Move cntlzd
4718 earlier in tail.
4719 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
4720
43b84013
AM
47212013-10-04 Alan Modra <amodra@gmail.com>
4722
4723 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
4724 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
4725 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
4726 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
4727
8a7413f9
AM
47282013-10-04 Alan Modra <amodra@gmail.com>
4729
4730 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
4731 (rTMP): Define as r11.
4732 (strcmp): Add little-endian support. Optimise tail.
4733 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
4734 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4735 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
4736 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
4737 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
4738 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4739 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
4740
33ee81de
AM
47412013-10-04 Alan Modra <amodra@gmail.com>
4742
4743 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
4744 little-endian support. Remove unnecessary "are we done" tests.
4745 Handle "s" wrapping around zero and extremely large "size".
4746 Correct main loop count. Handle single left-over word from main
4747 loop inline rather than by using small_loop. Correct comments.
4748 Delete "zero" tail, use "end_max" instead.
4749 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
4750
db9b4570
AM
47512013-10-04 Alan Modra <amodra@gmail.com>
4752
4753 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
4754 support. Don't branch over align.
4755 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
4756 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
4757 support. Rearrange tmp reg use to suit. Comment.
4758 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
4759
f7c399cf
AM
47602013-10-04 Alan Modra <amodra@gmail.com>
4761
4762 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
4763
0b2c2ace
AM
47642013-10-04 Alan Modra <amodra@gmail.com>
4765
4766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
4767 conditional form of branch and link when obtaining pc.
4768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
4769
02f04a6c
AM
47702013-10-04 Alan Modra <amodra@gmail.com>
4771
4772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
4773 HIWORD/LOWORD.
4774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
4775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
4776
9b874b2f
AM
47772013-10-04 Alan Modra <amodra@gmail.com>
4778
4779 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
4780 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
4781 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
4782 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
4783 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4784 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4785 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
4786 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4787 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
4788 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
4789
be1e5d31
AB
47902013-10-04 Anton Blanchard <anton@au1.ibm.com>
4791 Alistair Popple <alistair@ozlabs.au.ibm.com>
4792 Alan Modra <amodra@gmail.com>
4793
4794 [BZ #15723]
4795 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
4796 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
4797 _dl_hwcap access for little-endian.
4798 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
4799 destroy vmx regs when saving unaligned.
4800 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
4801 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
4802 destroy vmx regs when saving unaligned.
4803
fef13a78
AM
48042013-10-04 Alan Modra <amodra@gmail.com>
4805
4806 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
4807 Don't use a union to pack hi/low value.
4808
76a66d51
AB
48092013-10-04 Anton Blanchard <anton@au1.ibm.com>
4810
4811 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
4812 for little-endian.
4813 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4814 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
4815 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4816 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4817 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4818
6a31fe7f
AM
48192013-10-04 Alan Modra <amodra@gmail.com>
4820
4821 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
4822 constants to usual value for .cst8 section, and remove redundant
4823 high address load.
4824 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
4825 constant for 0x1p52. Load little-endian words of double from
4826 correct stack offsets.
4827
7b88401f
AM
48282013-10-04 Alan Modra <amodra@gmail.com>
4829
4830 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
4831 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
4832 words of double from correct stack offsets.
4833 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
4834 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
4835 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
4836 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
4837 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
4838 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
4839 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
4840 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
4841 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
4842 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
4843 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
4844 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
4845 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4846 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4847 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4848 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
4849 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
4850
9c008155
AM
48512013-10-04 Alan Modra <amodra@gmail.com>
4852
4853 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
4854 64-bit int/double union.
4855 (_FPU_SETCW): Likewise.
4856 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
4857 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
4858
da13146d
AM
48592013-10-04 Alan Modra <amodra@gmail.com>
4860
4861 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
4862 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
4863
603e8410
AM
48642013-10-04 Alan Modra <amodra@gmail.com>
4865
4866 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
4867 use vector int constants.
4868 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
4869
4a28b3ca
AB
48702013-10-04 Anton Blanchard <anton@au1.ibm.com>
4871
4872 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
4873 array with long long.
4874 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
4875 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
4876 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
4877 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
4878 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
4879 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
4880 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
4881 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
4882 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
4883 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
4884 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
4885 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
4886 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
4887
2ca85d2b
AB
48882013-10-04 Anton Blanchard <anton@au1.ibm.com>
4889
4890 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
4891 (__signbit): Likewise. Correct for little-endian.
4892 (__signbitl): Call __signbit.
4893 (lrint): Correct for little-endian.
4894 (lrintf): Call lrint.
4895
62a728ae
AM
48962013-10-04 Alan Modra <amodra@gmail.com>
4897
4898 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
4899 union 32-bit int array member with 64-bit int array.
4900 (t515, tm256): Double rather than long double.
4901 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
4902
32c301df
AM
49032013-10-04 Alan Modra <amodra@gmail.com>
4904
4905 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
4906 Delete.
4907 (IEEE854_LONG_DOUBLE_BIAS): Delete.
4908 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
4909 version of math_ldbl.h.
4910
650ef4bd
AM
49112013-10-04 Alan Modra <amodra@gmail.com>
4912
4913 [BZ #15734], [BZ #15735]
4914 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
4915 all uses of ieee875 long double macros and unions. Simplify test
4916 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
4917 ldbl_extract_mantissa value for ix,iy exponents. Properly
4918 normalize after ldbl_extract_mantissa, and don't add hidden bit
4919 already handled. Don't treat low word of ieee854 mantissa like
4920 low word of IBM long double and mask off bit when testing for
4921 zero.
4922 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
4923 all uses of ieee875 long double macros and unions. Simplify tests
4924 for 0.0L and inf. Correct double adjustment of k. Delete dead code
4925 adjusting ha,hb. Simplify code setting kld. Delete two600 and
4926 two1022, instead use their values. Recognise that tests for large
4927 "a" and small "b" are mutually exclusive. Rename vars. Comment.
4928 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
4929 Rewrite all uses of ieee875 long double macros and unions. Simplify
4930 test for 0.0L and nan. Correct negation.
4931 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
4932 ieee875 long double macros and unions. Correct output for large
4933 magnitude x. Correct absolute value calculation.
4934 (__erfcl): Likewise.
4935 * math/libm-test.inc: Add tests for errors discovered in IBM long
4936 double versions of fmodl, remainderl, erfl and erfcl.
4937
765714ca
AM
49382013-10-04 Alan Modra <amodra@gmail.com>
4939
4940 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
4941 all uses of ieee854 long double macros and unions. Simplify tests
4942 for long doubles that are fully specified by the high double.
4943 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
4944 Likewise.
4945 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
4946 Remove dead code too.
4947 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4948 (__ieee754_ynl): Likewise.
4949 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
4950 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
4951 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
4952 Remove dead code too.
4953 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
4954 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
4955 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
4956 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
4957 Simplify.
4958 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
4959 Simplify.
4960 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
4961 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
4962 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
4963 Comment on variable precision.
4964 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
4965 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4966 Likewise.
4967 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4968 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4969 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4970 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
4971 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
4972
4ebd120c
AM
49732013-10-04 Alan Modra <amodra@gmail.com>
4974
4975 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
4976 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
4977 all uses of ieee854 long double macros and unions.
4978 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
4979 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
4980 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
4981 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
4982 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
4983 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
4984 Likewise.
4985 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
4986 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
4987 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
4988 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
4989 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
4990 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
4991 Simplify sign and nan test too.
4992 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
4993 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
4994 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
4995 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
4996 Likewise.
4997 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
4998 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
4999 Likewise.
5000 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5001 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
5002 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
5003 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
5004 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
5005 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
5006
1b6adf88
AM
50072013-10-04 Alan Modra <amodra@gmail.com>
5008
5009 * stdio-common/printf_size.c (__printf_size): Don't use
5010 union ieee854_long_double in fpnum union.
5011 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
5012 signbit macro to retrieve sign from long double.
5013 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
5014 retrieve sign from long double.
5015 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
5016 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
5017 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
5018 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
5019 * math/test-misc.c (main): Don't use union ieee854_long_double.
5020
4cf69995
AM
50212013-10-04 Alan Modra <amodra@gmail.com>
5022
5023 [BZ #15680]
5024 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
5025 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
5026 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
5027 calculation. Remove unnecessary test for denormal exponent.
5028 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
5029 Correct handling of denormals. Avoid undefined shift behaviour.
5030 Correct normalisation of low mantissa when low double is denormal.
5031 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
5032 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
5033 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
5034 Correct normalisation of low mantissa. Test for overflow of high
5035 mantissa and normalise.
5036 (ldbl_nearbyint): Use more readable constant for two52.
5037 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
5038 (__mpn_construct_long_double): Fix test for overflow of high
5039 mantissa and correct normalisation. Avoid undefined shift.
5040
9605ca6c
AM
50412013-10-04 Alan Modra <amodra@gmail.com>
5042
5043 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
5044 (union ibm_extended_long_double): Define as an array of ieee754_double.
5045 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
5046 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
5047 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
5048 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5049 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5050 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
5051 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5052 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
5053 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
5054 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
5055 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
5056
975569d0
JM
50572013-10-03 Joseph Myers <joseph@codesourcery.com>
5058
d3d23756
JM
5059 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
5060 page size instead of calling getpagesize.
5061
975569d0
JM
5062 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
5063 (LOCFILE_ALIGN_MASK): Likewise.
5064 (LOCFILE_ALIGN_UP): Likewise.
5065 (LOCFILE_ALIGNED_P): Likewise.
5066 * locale/programs/ld-collate.c (collate_output): Use the new
5067 macros instead of __alignof__ (int32_t).
5068 * locale/weight.h (findidx): Likewise.
5069
b1fe1f2b
OB
50702013-10-03 Ondřej Bílka <neleai@seznam.cz>
5071
5072 [BZ #431]
5073 * manual/string.texi: Fix strncat and wcsncat.
5074
5f855e35
BM
50752013-10-03 Brooks Moses <bmoses@google.com>
5076
5077 [BZ #15915]
5078 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
5079 * Makerules: ...here, and adjust associated comments.
5080
3cef6009
WN
50812013-10-02 Will Newton <will.newton@linaro.org>
5082
5083 * malloc/Makefile: Add tst-pvalloc.
5084 * malloc/tst-pvalloc.c: New file.
5085
7815420b
WN
50862013-10-02 Will Newton <will.newton@linaro.org>
5087
5088 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
5089 improve test coverage.
5090
4868b204
WN
50912013-10-02 Will Newton <will.newton@linaro.org>
5092
5093 * malloc/Makefile: Add tst-posix_memalign.
5094 * malloc/tst-posix_memalign.c: New file.
5095
29c793b3
EB
50962013-10-01 Eric Blake <eblake@redhat.com>
5097
5098 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
5099 Use __THROWNL rather than __THROW on static functions.
5100
fd967522
PM
51012013-09-30 Petr Machata <pmachata@redhat.com>
5102
5103 * elf/elf.h (R_AARCH64_ABS16): New macro.
5104 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
5105 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
5106 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
5107 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
5108 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
5109 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
5110 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
5111 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
5112 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
5113 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
5114 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
5115 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
5116 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
5117 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
5118 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
5119 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
5120 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
5121 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
5122 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
5123 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
5124 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
5125 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
5126 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
5127 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
5128 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
5129 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
5130 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
5131 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
5132 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
5133 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
5134 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
5135 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
5136 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
5137 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
5138 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
5139 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
5140 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
5141 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
5142 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
5143 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
5144 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
5145 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
5146 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
5147 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
5148 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
5149 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
5150 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
5151 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
5152 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
5153 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
5154 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
5155 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
5156 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
5157 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
5158 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
5159 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
5160 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
5161 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
5162 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
5163 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
5164 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
5165 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
5166 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
5167 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
5168 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
5169 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
5170 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
5171 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
5172 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
5173 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
5174 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
5175 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
5176 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
5177 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
5178 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
5179 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
5180 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
5181 (R_AARCH64_TLSDESC_LDR): Likewise.
5182 (R_AARCH64_TLSDESC_ADD): Likewise.
5183 (R_AARCH64_TLSDESC_CALL): Likewise.
5184
b2179107
AS
51852013-09-30 Andreas Schwab <schwab@suse.de>
5186
5187 [BZ #15048]
5188 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
5189 the nss database lookup.
5190 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5191 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5192
47f28d0a
MF
51932013-09-28 Mike Frysinger <vapier@gentoo.org>
5194
5195 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
5196
51972013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
5198
5199 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
5200 ${Bash-specific parameter/pattern/string} parameter expansion.
5201 * sysdeps/unix/make-syscalls.sh: Likewise.
5202
f4518a17
KK
52032013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5204
5205 * sysdeps/sh/stackguard-macros.h: New file.
5206
dc1a95c7
OB
52072013-09-26 Ondřej Bílka <neleai@seznam.cz>
5208
5209 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
5210 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
5211 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
5212 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
5213 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5214 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
5215
5ebbff8f
AZ
52162013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5217
5218 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
5219 Fix thread ID register.
5220
4fd2cf9f
JM
52212013-09-25 Joseph Myers <joseph@codesourcery.com>
5222
5223 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
5224 [POSIX || UNIX98]: Require rather than permitting all symbols from
5225 <time.h>.
5226 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
5227 element of struct sched_param.
5228 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
5229 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
5230 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
5231 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
5232 constant.
5233
12c22bc4
OL
52342013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
5235
5236 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
5237 argument calculation.
5238
a03d8ea7
JM
52392013-09-24 Joseph Myers <joseph@codesourcery.com>
5240
5241 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
5242 Expect macro.
5243 [POSIX] (pthread_attr_t): Do not require type.
5244 [POSIX] (pthread_cond_t): Likewise.
5245 [POSIX] (pthread_condattr_t): Likewise.
5246 [POSIX] (pthread_key_t): Likewise.
5247 [POSIX] (pthread_mutex_t): Likewise.
5248 [POSIX] (pthread_mutexattr_t): Likewise.
5249 [POSIX] (pthread_once_t): Likewise.
5250 [POSIX] (pthread_t): Likewise.
5251 [POSIX-based standards] (pthread_atfork): Expect function.
5252
6055173a
JM
52532013-09-24 Joseph Myers <joseph@codesourcery.com>
5254 Richard Sandiford <richard@codesourcery.com>
5255
5256 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
5257 (swap_endianness_p): New extern variable.
5258 (set_big_endian): New inline function.
5259 (maybe_swap_uint32): Likewise.
5260 (maybe_swap_uint32_array): Likewise.
5261 (maybe_swap_uint32_obstack): Likewise.
5262 * locale/programs/locfile.c: Include <stdbool.h>.
5263 (swap_endianness_p): New variable.
5264 (add_locale_uint32): Call maybe_swap_uint32.
5265 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
5266 (write_locale_data): Call maybe_swap_uint32_array.
5267 * locale/programs/ld-collate.c (obstack_int32_grow): Call
5268 maybe_swap_uint32.
5269 (obstack_int32_grow_fast): Likewise.
5270 (output_weightwc): Call maybe_swap_uint32_obstack.
5271 (collate_output): Likewise.
5272 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
5273 (OPT_LITTLE_ENDIAN): Likewise.
5274 (options): Add --little-endian and --big-endian options.
5275 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
5276 * locale/programs/locarchive.c: Include "locfile.h".
5277 (GET): New macro.
5278 (SET): Likewise.
5279 (INC): Likewise.
5280 (create_archive): Use the new macros to access fields of
5281 structures directly mapped from or written to locale archives.
5282 (oldlocrecentcmp): Likewise.
5283 (enlarge_archive): Likewise.
5284 (insert_name): Likewise.
5285 (add_alias): Likewise.
5286 (add_locale): Likewise.
5287 (delete_locales_from_archive): Likewise.
5288 (show_archive_content): Likewise.
5289 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
5290 locale data.
5291
39bf0bb4
RM
52922013-09-24 Roland McGrath <roland@hack.frob.com>
5293
5294 * manual/freemanuals.texi: Updated from (newly) canonical copy at
5295 http://www.gnu.org/doc/freemanuals.texi.
5296 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
5297
f02eed10
WN
52982013-09-24 Will Newton <will.newton@linaro.org>
5299
5300 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
5301 macro.
5302
a3a6c312
JM
53032013-09-23 Joseph Myers <joseph@codesourcery.com>
5304
5305 * locale/hashval.h (compute_hashval): Interpret bytes of key as
5306 unsigned char.
5307
107375ac
MR
53082013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
5309
5310 * manual/threads.texi (POSIX Threads): Fix a typo.
5311
141f3a77
SP
53122013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5313
303e567a
SP
5314 [BZ #14547]
5315 * string/tst-strcoll-overflow.c: New test case.
5316 * string/Makefile (xtests): Add tst-strcoll-overflow.
5317 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
5318 cache if string sizes may cause integer overflow.
5319
141f3a77
SP
5320 [BZ #14547]
5321 * string/strcoll_l.c (coll_seq): New members rule, idx,
5322 save_idx and back_us.
5323 (get_next_seq_nocache): New function.
5324 (do_compare_nocache): New function.
5325 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
5326 when malloc fails.
5327
c61b4d41
CD
53282013-09-23 Carlos O'Donell <carlos@redhat.com>
5329
0b1f8e35
CD
5330 [BZ #15754]
5331 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
5332 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
5333 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
5334
c61b4d41
CD
5335 [BZ #15754]
5336 * elf/Makefile (tests): Add tst-ptrguard1.
5337 (tests-static): Add tst-ptrguard1-static.
5338 (tst-ptrguard1-ARGS): Define.
5339 (tst-ptrguard1-static-ARGS): Define.
5340 * elf/tst-ptrguard1.c: New file.
5341 * elf/tst-ptrguard1-static.c: New file.
5342 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
5343 * sysdeps/i386/stackguard-macros.h: Likewise.
5344 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
5345 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
5346 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5347 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5348 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
5349 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
5350
53512013-09-23 Hector Marco <hecmargi@upv.es>
5352 Ismael Ripoll <iripoll@disca.upv.es>
5353 Carlos O'Donell <carlos@redhat.com>
5354
5355 [BZ #15754]
5356 * sysdeps/generic/stackguard-macros.h: Define
5357 __pointer_chk_guard_local and POINTER_CHK_GUARD.
5358 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
5359 Define __pointer_chk_guard_local.
5360 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
5361 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
5362
f5f4e7b4
VV
53632013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
5364
5365 [BZ #15859]
5366 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
5367
5bb43a43
AS
53682013-09-20 Andreas Schwab <schwab@linux-m68k.org>
5369
5370 * include/string.h (__ffs): Declare as hidden.
5371 * string/ffs.c (__ffs): Define as hidden.
5372 * sysdeps/i386/ffs.c (__ffs): Likewise.
5373 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
5374 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
5375 * sysdeps/s390/ffs.c (__ffs): Likewise.
5376 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
5377
3ea5be54
AO
53782013-09-20 Alexandre Oliva <aoliva@redhat.com>
5379
ffb89e53
AO
5380 * NEWS: Mention malloc probes.
5381
322dea08
AO
5382 * malloc/arena.c (new_heap): New memory_heap_new probe.
5383 (grow_heap): New memory_heap_more probe.
5384 (shrink_heap): New memory_heap_less probe.
5385 (heap_trim): New memory_heap_free probe.
5386 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
5387 (systrim): New memory_sbrk_less probe.
5388 * manual/probes.texi: Document them.
5389
655673f3
AO
5390 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
5391 * manual/probes.texi: Document it.
5392
35fed6f1
AO
5393 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
5394 (__libc_realloc): Add memory_realloc_retry probe.
5395 (__libc_memalign): Add memory_memalign_retry probe.
5396 (__libc_valloc): Add memory_valloc_retry probe.
5397 (__libc_pvalloc): Add memory_pvalloc_retry probe.
5398 (__libc_calloc): Add memory_calloc_retry probe.
5399 * manual/probes.texi: Document them.
5400
6999d38c
AO
5401 * malloc/arena.c (get_free_list): Add probe
5402 memory_arena_reuse_free_list.
5403 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
5404 and memory_arena_reuse.
5405 (arena_get2) [!PER_THREAD]: Likewise.
5406 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
5407 memory_arena_reuse_realloc.
5408 * manual/probes.texi: Document them.
5409
0653427f
AO
5410 * malloc/malloc.c (__libc_free): Add
5411 memory_mallopt_free_dyn_thresholds probe.
5412 (__libc_mallopt): Add multiple memory_mallopt probes.
5413 * manual/probes.texi: Document them.
5414
3ea5be54
AO
5415 * malloc/malloc.c: Include stap-probe.h.
5416 (__libc_mallopt): Add memory_mallopt probe.
5417 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
5418 * manual/probes.texi: New.
5419 * manual/Makefile (chapters): Add probes.
5420 * manual/threads.texi: Set next node.
5421
e35696c3 54222013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 5423
e35696c3
CL
5424 [BZ #15963, #13985]
5425 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
5426 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
5427 Add `Chinese' to `nan' entry name.
5428
4aafb73c
SP
54292013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5430
5431 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
5432 (POLYNOMIAL): Likewise.
5433 (TAYLOR_SINCOS): Likewise.
5434 (TAYLOR_SLOW): Likewise.
5435 (__sin): Use TAYLOR_SINCOS.
5436 (__cos): Likewise.
5437 (slow): Use TAYLOR_SLOW.
5438 (sloww): Likewise.
5439 (bsloww): Likewise.
5440 (csloww): Likewise.
5441
d84f25c7
LD
54422013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5443
5444 * stdlib/strtod_l.c: Fix buffer overrun.
5445
5eea0404
SP
54462013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5447
7849ff93
SP
5448 * benchtests/Makefile (bench): Add sincos.
5449 * benchtests/bench-sincos.c: New file.
5450
cfa3c886
SP
5451 * math/libm-test.inc (cos_test_data): New test inputs.
5452 (sin_test_data): Likewise.
5453
b348e1e3
SP
5454 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
5455 macro.
5456 (__sin): Use it.
5457 (__cos): Likewise.
5458 (slow1): Likewise.
5459 (slow2): Likewise.
5460 (sloww1): Likewise.
5461 (sloww2): Likewise.
5462 (bsloww1): Likewise.
5463 (bsloww2): Likewise.
5464 (cslow2): Likewise.
5465 (csloww1): Likewise.
5466 (csloww2): Likewise.
5467
6cce25f8
SP
5468 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
5469 function.
5470 (__sin): Use it.
5471 (__cos): Likewise.
5472
5eea0404
SP
5473 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
5474 gotos.
5475 (__cos): Likewise.
5476
9c21573c
MR
54772013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
5478
5479 * config.h.in (HAVE_MIPS_NAN2008): New macro.
5480 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
5481 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
5482 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
5483 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
5484 * elf/cache.c (print_entry): Handle the new cache flags.
5485
24d22e65
JM
54862013-09-18 Joseph Myers <joseph@codesourcery.com>
5487 Aldy Hernandez <aldyh@redhat.com>
5488
5489 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
5490 Change condition to [_SOFT_FLOAT].
5491 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
5492 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
5493 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
5494 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
5495 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
5496 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
5497 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
5498 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
5499 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
5500 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
5501 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
5502 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
5503 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
5504 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
5505 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
5506 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
5507 declaration.
5508
d13ef066
JM
55092013-09-18 Joseph Myers <joseph@codesourcery.com>
5510
2e071de0
JM
5511 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
5512 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5513 (__longjmp): Use LOAD_GP to load saved GPRs.
5514 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
5515 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5516 (__sigsetjmp): Use SAVE_GP to save GPRs.
5517
d13ef066
JM
5518 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
5519 Do not append -msoft-float.
5520 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
5521
97a0650b
SP
55222013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5523
5524 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
5525
11ca09e9
JM
55262013-09-17 Joseph Myers <joseph@codesourcery.com>
5527
5528 [BZ #15966]
5529 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
5530 (_FPU_GETCW): Use initial "__" on variable and field names but not
5531 on macro parameter name.
5532 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
5533 parentheses around reference to macro parameter.
5534
08ffcf34
RS
55352013-09-13 Richard Sandiford <richard@codesourcery.com>
5536
5537 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
5538 prototype.
5539 (ctype_startup): Use uint32_t in cast and sizeof for
5540 ctype->charnames.
5541
ae7080d3
JL
55422013-09-11 Jia Liu <proljc@gmail.com>
5543
5544 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
5545 __daddr_t_defined.
5546 [__FreeBSD__]: Likewise.
5547
5905e7b3
OB
55482013-09-11 Ondřej Bílka <neleai@seznam.cz>
5549
5550 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5551 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
5552 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
5553 (strchr): Remove __strchr_sse42 ifunc selection.
5554 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
5555 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
5556
b987c776
WN
55572013-09-11 Will Newton <will.newton@linaro.org>
5558
5559 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
5560 parameter to RES. Remove hardcoded 1000 value.
5561 * benchtests/bench-skeleton.c (main): Pass RES parameter
5562 to TIMING_INIT and multiply result by 1000.
5563
ddf985af
AZ
55642013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5565
5566 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5567
ffdd3181
AS
55682013-09-11 Andreas Schwab <schwab@suse.de>
5569
5570 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
5571 if not defined.
5572 (O_TMPFILE) [__USE_GNU]: Define.
5573 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
5574 Define.
5575
b73ed247
WN
55762013-09-11 Will Newton <will.newton@linaro.org>
5577
5578 [BZ #15857]
5579 * malloc/malloc.c (__libc_memalign): Check the value of bytes
5580 does not overflow.
5581
55e17aad
WN
55822013-09-11 Will Newton <will.newton@linaro.org>
5583
5584 [BZ #15856]
5585 * malloc/malloc.c (__libc_valloc): Check the value of bytes
5586 does not overflow.
5587
1159a193
WN
55882013-09-11 Will Newton <will.newton@linaro.org>
5589
5590 [BZ #15855]
5591 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
5592 does not overflow.
5593
5905e7b3 55942013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
5595
5596 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
5597 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5598 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5599 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5600 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5601
cdfc721b
AM
56022013-09-10 Allan McRae <allan@archlinux.org>
5603
aa04af00
AM
5604 [BZ #15748]
5605 * manual/arith.texi (Parsing of Floats): Clarify
5606 cross-reference.
5607
cdfc721b
AM
5608 [BZ #15849]
5609 * manual/install.texi (Running make install): Mention
5610 --enable-pt-chown.
5611 * INSTALL: Regenerated.
5612
95e7cf29
MR
56132013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5614
5615 * csu/init-first.c (_init): Remove the !SHARED condition around
5616 FPU control word initialization.
5617 * elf/dl-support.c (_dl_fpu_control): New variable.
5618 (_dl_aux_init) <AT_FPUCW>: Initialize it.
5619 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
5620 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
5621 * math/test-fpucw-static.c: New file.
5622 * math/test-fpucw-ieee.c: New file.
5623 * math/test-fpucw-ieee-static.c: New file.
5624 * math/Makefile (tests): Add `test-fpucw-ieee' and
5625 `$(tests-static)'.
5626 (tests-static): New variable.
5627 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
5628 dependency to...
5629 [($(build-shared),yes)]
5630 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5631 ... this.
5632 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
5633 New dependency.
5634
83e43bf0
AM
56352013-09-09 Allan McRae <allan@archlinux.org>
5636
a9f5ce09
AM
5637 [BZ #15939]
5638 * manual/string.texi (Collation Functions): Fix typo in
5639 strcoll example.
5640 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
5641
34829bc2
AM
5642 [BZ #15893]
5643 * stdlib/isomac.c (get_null_defines): Fix memory leak.
5644
3932737d
AM
5645 [BZ #15892]
5646 * libio/memstream.c (open_memstream): Fix memory leak.
5647 * libio/wmemstream.c (open_wmemstream): Likewise.
5648
83e43bf0
AM
5649 [BZ #15895]
5650 * nscd/netgroupcache.c: Fix nesting of ifdefs.
5651
0c66b8e9
WN
56522013-09-09 Will Newton <will.newton@linaro.org>
5653
5654 * malloc/Makefile: Add tst-realloc to tests.
5655 * malloc/tst-realloc.c: New file.
5656
f6b00fd1
AM
56572013-09-09 Allan McRae <allan@archlinux.org>
5658
5659 [BZ #15844]
5660 * COPYING: Update from GNU website to fix FSF address.
5661 * COPYING.LIB: Likewise.
5662
eec55e16
DM
56632013-09-06 David S. Miller <davem@davemloft.net>
5664
5665 * po/zh_TW.po: Update Chinese (traditional) translation from
5666 translation project.
5667
1ecbb381
RS
56682013-09-06 Richard Sandiford <richard@codesourcery.com>
5669 Joseph Myers <joseph@codesourcery.com>
5670
5671 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
5672 "localeinfo.h".
5673 (obstack_chunk_alloc): New macro.
5674 (obstack_chunk_free): Likewise.
5675 (record_offset): New function.
5676 (init_locale_data): Likewise.
5677 (align_locale_data): Likewise.
5678 (add_locale_empty): Likewise.
5679 (add_locale_raw_data): Likewise.
5680 (add_locale_raw_obstack): Likewise.
5681 (add_locale_string): Likewise.
5682 (add_locale_wstring): Likewise.
5683 (add_locale_uint32): Likewise.
5684 (add_locale_uint32_array): Likewise.
5685 (add_locale_char): Likewise.
5686 (start_locale_structure): Likewise.
5687 (end_locale_structure): Likewise.
5688 (start_locale_prelude): Likewise.
5689 (end_locale_prelude): Likewise.
5690 (write_locale_data): Take locale_file structure rather than an
5691 iovec.
5692 * locale/programs/locfile.h: Include "obstack.h".
5693 (struct locale_file): Change to store locale file contents instead
5694 of header.
5695 (init_locale_data): New prototype.
5696 (align_locale_data): Likewise.
5697 (add_locale_empty): Likewise.
5698 (add_locale_raw_data): Likewise.
5699 (add_locale_raw_obstack): Likewise.
5700 (add_locale_string): Likewise.
5701 (add_locale_wstring): Likewise.
5702 (add_locale_uint32): Likewise.
5703 (add_locale_uint32_array): Likewise.
5704 (add_locale_char): Likewise.
5705 (start_locale_structure): Likewise.
5706 (end_locale_structure): Likewise.
5707 (start_locale_prelude): Likewise.
5708 (end_locale_prelude): Likewise.
5709 (write_locale_data): Update prototype.
5710 * locale/programs/3level.h (struct TABLE): Remove result field.
5711 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
5712 Use new locale_file interface.
5713 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
5714 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
5715 * locale/programs/ld-address.c (address_output): Use new
5716 locale_file interface.
5717 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
5718 NO_ADD_LOCALE.
5719 (collate_finish): Don't call collseq_table_finalize.
5720 (collate_output): Use new locale_file interface.
5721 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
5722 in file.
5723 (NO_FINALIZE): Change to NO_ADD_LOCALE.
5724 (TABLE): Move defines earlier in file.
5725 (ELEMENT): Likewise.
5726 (DEFAULT): Likewise.
5727 (wctrans_table_add): Move macro and inline function earlier in
5728 file.
5729 (struct wctype_table): Move type earlier in file.
5730 (add_locale_wctype_table): New static prototype.
5731 (struct locale_ctype_t): Use logical types instead of struct iovec
5732 pointers for members.
5733 (ctype_output): Use new locale_file interface.
5734 (wctype_table_finalize): Change to add_locale_wctype_table. Use
5735 new locale_file interface.
5736 (allocate_arrays): Update for use of new locale_file interface.
5737 * locale/programs/ld-identification.c (identification_output): Use
5738 new locale_file interface.
5739 * locale/programs/ld-measurement.c (measurement_output): Likewise.
5740 * locale/programs/ld-messages.c (messages_output): Likewise.
5741 * locale/programs/ld-monetary.c (monetary_output): Likewise.
5742 * locale/programs/ld-name.c (name_output): Likewise.
5743 * locale/programs/ld-numeric.c (numeric_output): Likewise.
5744 * locale/programs/ld-paper.c (paper_output): Likewise.
5745 * locale/programs/ld-telephone.c (telephone_output): Likewise.
5746 * locale/programs/ld-time.c (time_output): Likewise.
5747
e029e2e5
AZ
57482013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5749
5750 * benchtests/Makefile: Add memrchr benchmark.
5751 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
5752 benchmark as memrchr.
5753 * benchtests/bench-memrchr-ifunc.c: New file.
5754 * benchtests/bench-memrchr.c: New file.
5755
bbf6e8e4
WN
57562013-09-06 Will Newton <will.newton@linaro.org>
5757
5758 * benchtests/Makefile (string-bench): Add memcpy.
5759
6c82a2f8
CD
57602013-09-05 Carlos O'Donell <carlos@redhat.com>
5761 Cong Wang <amwang@redhat.com>
5762
5763 * sysdeps/unix/sysv/linux/bits/in.h
5764 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
5765 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
5766 before __USE_KERNEL_IPV6_DEFS uses.
5767 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
5768 IPPROTO_BEETPH.
5769 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
5770 sockaddr_in6, or ipv6_mreq.
5771
5430fc65
AZ
57722013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5773
5774 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
5775 memory access for final bytes in some large inputs.
5776 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
5777
4660856c
AZ
57782013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5779
5780 * string/test-memrchr.c: New file.
5781 * string/test-memrchr-ifunc.c: New file.
5782 * string/Makefile: Add new memrchr testcase.
5783
bb8ea713
MF
57842013-09-05 Mike Frysinger <vapier@gentoo.org>
5785
5786 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
5787 fanotify_init returns EPERM.
5788
b92a20b5
JM
57892013-09-04 Joseph Myers <joseph@codesourcery.com>
5790
5791 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
5792 errors.
5793 (top level): Treat second token from macro or constant entries for
5794 allowed headers as allowed.
5795 * include/complex.h: Condition internal declarations on
5796 [!_ISOMAC].
5797 * include/fenv.h: Condition include of <stdbool.h> and internal
5798 declarations on [!_ISOMAC].
7447ccd9
CL
5799
58002013-09-04 Chris Leonard <cjl@sugarlabs,.org>
5801
3e181dda 5802 [BZ #15923]
7447ccd9
CL
5803 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
5804
3f2e46a4
JM
58052013-09-04 Joseph Myers <joseph@codesourcery.com>
5806
5807 * configure.in (--enable-versioning): Remove configure option.
5808 (libc_cv_asm_symver_directive): Remove configure test.
5809 (libc_cv_ld_version_script_option): Likewise.
5810 (VERSIONING): Remove variable and AC_SUBST.
5811 (DO_VERSIONING): Remove AC_DEFINE.
5812 * configure: Regenerated.
5813 * config.h.in (DO_VERSIONING): Remove macro.
5814 * Makerules [$(versioning) = yes]: Change conditionals to
5815 [$(build-shared) = yes].
5816 * config.make.in (versioning): Remove variable.
5817 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
5818 [$(build-shared) = yes].
5819 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
5820 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
5821 * elf/Makefile [$(versioning) = yes]: Change conditionals to
5822 [$(build-shared) = yes].
5823 * extra-lib.mk [$(versioning) = yes]: Likewise.
5824 * hurd/Makefile [$(versioning) = yes]: Likewise.
5825 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
5826 [SHARED].
5827 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
5828 [SHARED].
5829 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
5830 [SHARED && !NO_HIDDEN].
5831 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
5832 [SHARED].
5833 [SHARED && DO_VERSIONING]: Likewise..
5834 * libio/Makefile [$(versioning) = yes]: Change conditionals to
5835 [$(build-shared) = yes].
5836 * manual/install.texi (--disable-versioning): Remove
5837 documentation.
5838 * INSTALL: Regenerated.
5839 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
5840 to [SHARED].
5841 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
5842 [$(build-shared) = yes].
5843 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
5844 * sysdeps/i386/i686/multiarch/strstr-c.c
5845 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
5846 [SHARED && !NO_HIDDEN].
5847 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
5848 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
5849 * sysdeps/powerpc/powerpc32/dl-machine.c
5850 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
5851 * sysdeps/powerpc/powerpc32/sysdep.h
5852 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
5853 to [SHARED && PIC && !NO_HIDDEN].
5854 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
5855 conditional to [SHARED].
5856
44558701
WN
58572013-09-04 Will Newton <will.newton@linaro.org>
5858
5859 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
5860 * benchtests/bench-string.h: Include bench-timing.h instead
5861 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
5862 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
5863 call to HP_TIMING_DIFF_INIT.
5864 * benchtests/bench-memccpy.c: Use bench-timing.h macros
5865 instead of hp-timing.h macros.
5866 * benchtests/bench-memchr.c: Likewise.
5867 * benchtests/bench-memcmp.c: Likewise.
5868 * benchtests/bench-memcpy.c: Likewise.
5869 * benchtests/bench-memmem.c: Likewise.
5870 * benchtests/bench-memmove.c: Likewise.
5871 * benchtests/bench-memset.c: Likewise.
5872 * benchtests/bench-rawmemchr.c: Likewise.
5873 * benchtests/bench-strcasecmp.c: Likewise.
5874 * benchtests/bench-strcasestr.c: Likewise.
5875 * benchtests/bench-strcat.c: Likewise.
5876 * benchtests/bench-strchr.c: Likewise.
5877 * benchtests/bench-strcmp.c: Likewise.
5878 * benchtests/bench-strcpy.c: Likewise.
5879 * benchtests/bench-strcpy_chk.c: Likewise.
5880 * benchtests/bench-strlen.c: Likewise.
5881 * benchtests/bench-strncasecmp.c: Likewise.
5882 * benchtests/bench-strncat.c: Likewise.
5883 * benchtests/bench-strncmp.c: Likewise.
5884 * benchtests/bench-strncpy.c: Likewise.
5885 * benchtests/bench-strnlen.c: Likewise.
5886 * benchtests/bench-strpbrk.c: Likewise.
5887 * benchtests/bench-strrchr.c: Likewise.
5888 * benchtests/bench-strspn.c: Likewise.
5889 * benchtests/bench-strstr.c: Likewise.
5890
cae16d66
WN
58912013-09-04 Will Newton <will.newton@linaro.org>
5892
5893 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
5894
ffa3cd7f
JM
58952013-09-03 Joseph Myers <joseph@codesourcery.com>
5896
5897 [BZ #15427]
5898 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
5899 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
5900 * math/libm-test.inc (lgamma_test_data): Add more tests.
5901 * sysdeps/i386/fpu/libm-test-ulps: Update.
5902 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5903
8f02859f
OB
59042013-09-03 Ondřej Bílka <neleai@seznam.cz>
5905
5906 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
5907 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5908 Add ifunc.
5909 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5910 Add strcmp-sse2-unaligned
5911 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
5912
18d43716
MF
59132013-09-02 Mike Frysinger <vapier@gentoo.org>
5914
5915 * Versions.def (libc): Add GLIBC_2.19.
5916
ac444012
MF
59172013-09-02 Mike Frysinger <vapier@gentoo.org>
5918
5919 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
5920 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
5921
b7835e32
JM
59222013-09-02 Joseph Myers <joseph@codesourcery.com>
5923
5924 [BZ #14155]
5925 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
5926 intermediate calculations in recurrence.
5927 (__ieee754_ynf): Likewise.
5928 * math/libm-test.inc (jn_test_data): Do not allow spurious
5929 underflow exception. Add more tests.
5930 (yn_test_data): Add more tests.
5931 * sysdeps/i386/fpu/libm-test-ulps: Update.
5932 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5933
8220f4f0
OB
59342013-09-02 Ondřej Bílka <neleai@seznam.cz>
5935
5936 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
5937
f24a6d08
OB
59382013-08-30 Ondřej Bílka <neleai@seznam.cz>
5939
5940 * csu/init-first.c: Fix then/than typos.
5941 * locale/programs/ld-collate.c: Likewise.
5942 * locale/programs/linereader.h: Likewise.
5943 * manual/charset.texi: Likewise.
5944 * manual/filesys.texi: Likewise.
5945 * manual/stdio.texi: Likewise.
5946 * manual/string.texi: Likewise.
5947 * stdlib/fmtmsg.c: Likewise.
5948 * sysdeps/i386/stpncpy.S: Likewise.
5949 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5950 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
5951 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5952 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5953
382466e0
OB
59542013-08-30 Ondřej Bílka <neleai@seznam.cz>
5955
5956 * elf/dl-open.c: Fix typos.
5957 * iconvdata/gbbig5.c: Likewise.
5958 * iconvdata/iso-2022-jp.c: Likewise.
5959 * iconv/gconv_int.h: Likewise.
5960 * iconv/loop.c: Likewise.
5961 * nis/rpcsvc/nis.h: Likewise.
5962 * resolv/ns_name.c: Likewise.
5963 * stdio-common/vfscanf.c: Likewise.
5964 * streams/stropts.h: Likewise.
5965 * sunrpc/rpc_thread.c: Likewise.
5966 * sysdeps/i386/strpbrk.S: Likewise.
5967 * sysdeps/ieee754/k_standard.c: Likewise.
5968 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5969 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5970 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
5971 * sysdeps/mach/hurd/profil.c: Likewise.
5972 * sysdeps/s390/dl-procinfo.h: Likewise.
5973 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
5974 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
5975 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
5976 * sysdeps/x86_64/dl-trampoline.S: Likewise.
5977 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5978
0186c6e9
OB
59792013-08-30 Ondřej Bílka <neleai@seznam.cz>
5980
5981 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
5982 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
5983
d4e16af1
OB
59842013-08-29 Ondřej Bílka <neleai@seznam.cz>
5985
5986 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
5987 aix specific files.
5988 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
5989 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
5990 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
5991 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
5992 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
5993 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
5994 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
5995 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
5996
88335980
TS
59972013-08-29 Thomas Schwinge <thomas@codesourcery.com>
5998 Roland McGrath <roland@hack.frob.com>
5999
6000 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
6001 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
6002
ed479b02
ST
60032013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
6004
6005 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
6006 __executable_start symbol instead of _start.
6007
f1cc4c86
TS
60082013-08-29 Thomas Schwinge <thomas@codesourcery.com>
6009
d821f07c
TS
6010 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
6011 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
6012 Move macros to...
6013 * sysdeps/gnu/ldsodefs.h: ... this new file.
6014
c54290cf
TS
6015 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
6016 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
6017 instead of ELFOSABI_LINUX.
6018
0007fc9b 6019 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
6020 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
6021 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
6022 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
6023 Likewise.
6024 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
6025 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
6026 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
6027 Likewise.
6028 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
6029 (ibm_extended_long_double): Add ieee_nan member.
6030 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
6031 (do_test): New function.
6032
f1cc4c86
TS
6033 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
6034 TEST_TRUNC.
6035 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
6036 functions, renamed from truncdfsf_test, trunctfsf_test,
6037 trunctfdf_test.
6038 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
6039 functions.
6040 (do_test): Run all these.
6041
6f65e668
OB
60422013-08-29 Ondřej Bílka <neleai@seznam.cz>
6043
6044 * argp/argp-help.c: Fix typos.
6045 * argp/argp-parse.c: Likewise.
6046 * debug/backtracesyms.c: Likewise.
6047 * elf/elf.h: Likewise.
6048 * malloc/malloc.c: Likewise.
6049 * nis/nis_print.c: Likewise.
6050 * resolv/res_comp.c: Likewise.
6051 * stdlib/stdlib.h: Likewise.
6052 * sunrpc/clnt_tcp.c: Likewise.
6053 * sunrpc/clnt_udp.c: Likewise.
6054 * sunrpc/clnt_unix.c: Likewise.
6055 * sysdeps/unix/bsd/ptsname.c: Likewise.
6056 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
6057 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
6058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
6059 Likewise.
6060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
6061 Likewise.
6062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
6063 Likewise.
6f65e668
OB
6064 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
6065
3a309239
SP
60662013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6067
6068 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
6069 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6070
3b813b29
MF
60712013-08-27 Mike Frysinger <vapier@gentoo.org>
6072
6073 [BZ #15897]
6074 * dlfcn/Makefile (tests): Add bug-dl-leaf.
6075 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
6076 ($(objpfx)bug-dl-leaf): New rule.
6077 ($(objpfx)bug-dl-leaf.so): Likewise.
6078 ($(objpfx)bug-dl-leaf.out): Likewise.
6079 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
6080 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
6081 * dlfcn/bug-dl-leaf.c: New test.
6082 * dlfcn/bug-dl-leaf-lib.c: Likewise.
6083 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
6084 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
6085 (dlclose): Likewise.
6086 (dlmopen): Likewise.
6087
8cc3269f
RM
60882013-08-27 Roland McGrath <roland@hack.frob.com>
6089
7f9d0034
RM
6090 * include/netdb.h [!_ISOMAC]:
6091 Don't include <tls.h>.
6092 (h_errno, __libc_h_errno): Move declaration and macros out of
6093 [_LIBC_REENTRANT].
6094
fb431262
RM
6095 * include/resolv.h [_RESOLV_H_]:
6096 Don't include <tls.h>.
6097 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
6098 * resolv/res_libc.c: Don't include <tls.h>.
6099 (_res): Use __attribute__ ((nocommon)) in place of
6100 __attribute__ ((section (".bss"))).
6101
bd81123a
RM
6102 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
6103 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
6104
c4e42566
RM
6105 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
6106
f890a59b
RM
6107 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
6108 only under [SIOCGIFCONF && SIOCGIFNETMASK].
6109
6110 * resolv/res_mkquery.c: Include <sys/time.h>.
6111
5d1f0a09
RM
6112 * inet/ifreq.c: Moved to ...
6113 * sysdeps/unix/ifreq.c: ... here.
6114 * inet/ifreq.c: New file, true stub version.
6115
6fcf28b3
RM
6116 * socket/sa_len.c: New file.
6117 * socket/Makefile (aux): Add it.
6118 * sysdeps/unix/sysv/linux/Makefile
6119 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
6120 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
6121 and #include <socket/sa_len.c>.
6122 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
6123 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
6124
e041fb8b
RM
6125 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
6126 * bits/socket.h: ... here.
6127
8cc3269f
RM
6128 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
6129 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
6130 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
6131
5d228a43
AS
61322013-08-27 Andreas Schwab <schwab@suse.de>
6133
45b8accc
AS
6134 [BZ #15736]
6135 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
6136 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
6137 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
6138 * string/test-strcasecmp.c (test_main): Run tests in several
6139 locales.
6140 * string/test-strncasecmp.c (test_main): Likewise.
6141
5d228a43
AS
6142 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
6143 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
6144 to __strcasecmp_nonascii and __strncasecmp_nonascii.
6145 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
6146 (__strncasecmp_ssse3) [PIC]: Likewise.
6147
59d112a4
RM
61482013-08-26 Roland McGrath <roland@hack.frob.com>
6149
53234cc3
RM
6150 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
6151
59d112a4
RM
6152 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
6153 instead of explicitly declaring xdecrypt.
6154 * nis/nss_nis/nis-publickey.c: Likewise.
6155
595aba70
SP
61562013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6157
6158 [BZ #15890]
6159 * nscd/aicache.c: Include res_hconf.h.
6160 (addhstaiX): Initialize res_hconf.
6161
ffabd393
AS
61622013-08-26 Andreas Schwab <schwab@suse.de>
6163
6164 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
6165 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
6166
e0a69f5c
SP
61672013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6168
6169 * nscd/aicache.c (addhstaiX): Fix indentation.
6170
8c12f01d
MF
61712013-08-25 Mike Frysinger <vapier@gentoo.org>
6172
6173 * configure.ac: Quote $build_pt_chown test.
6174 * configure: Regenerated.
6175
8fe89494
JM
61762013-08-23 Joseph Myers <joseph@codesourcery.com>
6177
6178 [BZ #15532]
6179 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
6180 * math/s_cexpf.c (__cexpf): Likewise.
6181 * math/s_cexpl.c (__cexpl): Likewise.
6182 * math/libm-test.inc (cexp_test_data): Correct expected return
6183 value for NaN + i0. Add another test.
6184
75b181d6
DM
61852013-08-22 David S. Miller <davem@davemloft.net>
6186
6187 * po/ca.po: Update Catalan translation from translation project.
936241e4 6188 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 6189
acd06bb1
JM
61902013-08-21 Joseph Myers <joseph@codesourcery.com>
6191
6192 [BZ #15797]
6193 * math/s_fdim.c (__fdim): Check for infinite arguments if result
6194 is infinite, not alongside NaN test.
6195 * math/s_fdimf.c (__fdimf): Likewise.
6196 * math/s_fdiml.c (__fdiml): Likewise.
6197 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
6198 errno is unchanged.
6199
c0c3f78a
OB
62002013-08-21 Ondřej Bílka <neleai@seznam.cz>
6201
6202 * argp/argp-help.c: Fix typos.
6203 * crypt/speeds.c: Likewise.
6204 * csu/check_fds.c: Likewise.
6205 * elf/dl-load.c: Likewise.
6206 * elf/dl-open.c: Likewise.
6207 * elf/reldep3.c: Likewise.
6208 * elf/reldep.c: Likewise.
6209 * elf/sprof.c: Likewise.
6210 * iconv/iconv_charmap.c: Likewise.
6211 * iconv/skeleton.c: Likewise.
6212 * iconv/strtab.c: Likewise.
6213 * io/lockf64.c: Likewise.
6214 * libio/libioP.h: Likewise.
6215 * resolv/gai_notify.c: Likewise.
6216 * resolv/ns_name.c: Likewise.
6217 * resolv/ns_samedomain.c: Likewise.
6218 * resolv/res_send.c: Likewise.
6219 * stdlib/random.c: Likewise.
6220 * sunrpc/rpc/xdr.h: Likewise.
6221 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
6222 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6223 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6224 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6225 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6226 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6227 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6228 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6229 * sysdeps/mach/hurd/check_fds.c: Likewise.
6230 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
6231 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
6232 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6233 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
6234 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
6235 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
6236 * sysdeps/pthread/aio_notify.c: Likewise.
6237 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
6238 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
6239 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
6240 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
6241 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
6242
46ed1038
LD
62432013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6244
6245 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
6246 version if bit_Slow_SSE4_2 is set.
6247 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6248 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6249
d400dcac
AZ
62502013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6251
6252 [BZ #15867]
6253 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
6254 trampoline stack frame information.
6255 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
6256 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
6257 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
6258 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
6259 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
6260 * sysdeps/unix/sysv/linux/powerpc/init-first.c
6261 (_libc_vdso_platform_setup): Initialize the signal trampolines.
6262 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
6263 sa_flags value.
6264 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
6265 interrupting a syscall and set with option SA_SIGINFO.
6266
42c8fdd8
JM
62672013-08-20 Joseph Myers <joseph@codesourcery.com>
6268
c980f2f4
JM
6269 [BZ #15531]
6270 * math/s_cproj.c (__cproj): Only return an infinity if one part of
6271 argument is infinite.
6272 * math/s_cprojf.c (__cprojf): Likewise.
6273 * math/s_cprojl.c (__cprojl): Likewise.
6274 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
6275 * math/libm-test.inc (cproj_test_data): Add more tests.
6276
0716c4fc
JM
6277 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
6278
42c8fdd8
JM
6279 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
6280 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
6281 size. Use __ffs to determine corresponding shift.
6282
b31469d0
JM
62832013-08-20 Joseph Myers <joseph@codesourcery.com>
6284 Roland McGrath <roland@hack.frob.com>
6285
6286 * Makefile (INSTALL): Remove trailing blank lines from output of
6287 makeinfo.
6288
4e39af6e
AK
62892013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6290
6291 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
6292 Align 32 bit compat elf_greg to 8 bytes.
6293
f315524e
AA
62942013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
6295
6296 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
6297
1326ba1a
SP
62982013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6299
6300 * string/strcoll_l.c (coll_seq): New structure.
6301 (get_next_seq_cached): New function.
6302 (get_next_seq): New function.
6303 (do_compare): New function.
6304 (STRCOLL): Use GNU style definition. Simplify implementation
6305 by using get_next_seq, get_next_seq_cached and do_compare.
6306
91ce4085
FW
63072013-08-16 Florian Weimer <fweimer@redhat.com>
6308
6309 [BZ #14699]
6310 CVE-2013-4237
6311 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
6312 member.
6313 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
6314 member.
6315 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
6316 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
6317 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
6318 conditional.
6319 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
6320 GETDENTS_64BIT_ALIGNED.
6321 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
6322 * manual/filesys.texi (Reading/Closing Directory): Document
6323 ENAMETOOLONG return value of readdir_r. Recommend readdir more
6324 strongly.
6325 * manual/conf.texi (Limits for Files): Add portability note to
6326 NAME_MAX, PATH_MAX.
6327 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
6328
ca0a6bc4
AS
63292013-08-13 Andreas Schwab <schwab@suse.de>
6330
6331 [BZ #15749]
6332 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
6333 of fabs.
6334 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
6335 LDBL_MAX_EXP >= 16384]: Add tests for it.
6336
6c1fd795
DM
63372013-08-12 David S. Miller <davem@davemloft.net>
6338
6339 * version.h (RELEASE): Set to "development".
6340 (VERSION): Set to "2.18.90".
6341 * NEWS: Add 2.19 section.
6342
31ad488d
DM
63432013-08-03 David S. Miller <davem@davemloft.net>
6344
6345 * po/ko.po: Update Korean translation from translation project.
6346
db24e684
DM
63472013-08-01 David S. Miller <davem@davemloft.net>
6348
6349 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
6350 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
6351 Bilka.
6352
f723285b
DM
63532013-07-30 David S. Miller <davem@davemloft.net>
6354
6355 * po/fr.po: Update French translation from translation project.
6356
3cbc52db
DM
63572013-07-28 David S. Miller <davem@davemloft.net>
6358
30bbc0cc
DM
6359 * po/cs.po: Update Czech translation from translation project.
6360
3cbc52db
DM
6361 * po/sv.po: Update Swedish translation from translation project.
6362
d492e6d0
DM
63632013-07-27 David S. Miller <davem@davemloft.net>
6364
f1a7f492
DM
6365 * po/eo.po: Update Esperanto translation from translation project.
6366
90e62a4a
DM
6367 * po/vi.po: Update Vietnamese translation from translation project.
6368
d492e6d0
DM
6369 * po/de.po: Update German translation from translation project.
6370
d4baa62d
DM
63712013-07-26 David S. Miller <davem@davemloft.net>
6372
641aa7b4
DM
6373 * po/bg.po: Update Bulgarian translation from translation project.
6374
d4baa62d
DM
6375 * po/nl.po: Update Dutch translation from translation project.
6376 * po/pl.po: Update Polish translation from translation project.
6377 * po/ru.po: Update Russian translation from translation project.
6378
61a9dcb9
DM
63792013-07-24 David S. Miller <davem@davemloft.net>
6380
6381 * po/libc.pot: Update.
6382
7b1f8b58
AZ
63832013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6384
6385 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
6386 variable page size.
6387 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
6388 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
6389 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
6390
a8fc7a03
AK
63912013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6392
6393 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
6394
e4608715
CD
63952013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6396 Andreas Schwab <schwab@suse.de>
6397 Roland McGrath <roland@hack.frob.com>
6398 Joseph Myers <joseph@codesourcery.com>
6399 Carlos O'Donell <carlos@redhat.com>
6400
6401 [BZ #15755]
6402 * config.h.in: Define HAVE_PT_CHOWN.
6403 * config.make.in (build-pt-chown): New variable.
6404 * configure.in (--enable-pt_chown): New configure option.
6405 * configure: Regenerate.
6406 * login/Makefile: Include Makeconfig. Build pt_chown only if
6407 build-pt-chown is enabled.
6408 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
6409 pt_chown to fix pty ownership.
6410 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
6411 CLOSE_ALL_FDS.
6412 * manual/install.texi (Configuring and compiling): Mention
6413 --enable-pt_chown. Add @findex for grantpt.
6414 * INSTALL: Regenerate.
6415
da2d62df
DM
64162013-07-20 David S. Miller <davem@davemloft.net>
6417
6418 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
6419 difference between 32-bit and 64-bit.
6420
d7e06450
CD
64212013-07-15 Carlos O'Donell <carlos@redhat.com>
6422
6423 [BZ #15711]
6424 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
6425 Avoid system header dependency with -ffreestanding.
6426 ($(objpfx)bits/syscall%d): Likewise.
6427
f959cfd7
DM
64282013-07-13 David S. Miller <davem@davemloft.net>
6429
6430 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
6431 underflows from atanl/atan2l due to bug 15319.
6432 (casinh_test_data): Likewise.
6433
c61f8513
DM
64342013-07-07 David S. Miller <davem@davemloft.net>
6435
6436 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
6437
72c90ed0
JA
64382013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
6439
6440 * sysdeps/i386/fpu/libm-test-ulps: Update.
6441 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6442
52dfbe13
SP
64432013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6444
6445 * configure.in (--enable-lock-elision): Fix message text.
6446 * INSTALL: Regenerate.
6447 * configure: Regenerate.
6448
3f169543
AZ
64492013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6450
6451 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6452
521c6785
AJ
64532013-07-03 Andreas Jaeger <aj@suse.de>
6454
6455 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
6456 define.
6457 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
6458 (ptrace_peeksiginfo_args): Add.
6459 (__ptrace_peeksiginfo_flags): Add.
6460 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6461 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6462 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6463
d2cc15cb
AM
64642013-07-03 Allan McRae <allan@archlinux.org>
6465
6466 * sysdeps/i386/fpu/libm-test-ulps: Update.
6467
3aaeeca7
DM
64682013-07-02 David S. Miller <davem@davemloft.net>
6469
6470 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6471
5314ed1a
MT
64722013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
6473
6474 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6475
67338156
JM
64762013-07-02 Joseph Myers <joseph@codesourcery.com>
6477
6478 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6479 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6480
1717da59
AK
64812013-07-02 Andi Kleen <ak@linux.intel.com>
6482
6483 * config.h.in (ENABLE_LOCK_ELISION): Add.
6484 * configure.in (--enable-lock-elision): Add option.
6485 * manual/install.texi: Document --enable lock elision.
6486 * configure: Regenerate
6487 * INSTALL: Regenerate.
6488
1c81621c
L
64892013-07-02 H.J. Lu <hongjiu.lu@intel.com>
6490
6491 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
6492 SSE4.2 strcasecmp for libc.a.
6493 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6494
77f01ab5
JM
64952013-07-02 Joseph Myers <joseph@codesourcery.com>
6496
6497 [BZ #13304]
6498 * soft-fp/op-common.h (_FP_FMA): New macro.
6499 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
6500 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
6501 (_FP_MUL_MEAT_1_imm): ... here.
6502 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
6503 (_FP_MUL_MEAT_1_wide): ... here.
6504 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
6505 (_FP_MUL_MEAT_1_hard): ... here.
6506 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
6507 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
6508 (_FP_MUL_MEAT_2_wide): ... here.
6509 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
6510 (_FP_MUL_MEAT_2_wide_3mul): ... here.
6511 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
6512 (_FP_MUL_MEAT_2_gmp): ... here.
6513 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
6514 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
6515 (_FP_MUL_MEAT_4_wide): ... here.
6516 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
6517 (_FP_MUL_MEAT_4_gmp): ... here.
6518 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
6519 (_FP_WFRACBITS_DW_S): Likewise.
6520 (_FP_WFRACXBITS_DW_S): Likewise.
6521 (_FP_HIGHBIT_DW_S): Likewise.
6522 (FP_FMA_S): Likewise.
6523 (_FP_FRAC_HIGH_DW_S): Likewise.
6524 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
6525 (_FP_WFRACBITS_DW_D): Likewise.
6526 (_FP_WFRACXBITS_DW_D): Likewise.
6527 (_FP_HIGHBIT_DW_D): Likewise.
6528 (FP_FMA_D): Likewise.
6529 (_FP_FRAC_HIGH_DW_D): Likewise.
6530 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
6531 (_FP_WFRACBITS_DW_E): Likewise.
6532 (_FP_WFRACXBITS_DW_E): Likewise.
6533 (_FP_HIGHBIT_DW_E): Likewise.
6534 (FP_FMA_E): Likewise.
6535 (_FP_FRAC_HIGH_DW_E): Likewise.
6536 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
6537 (_FP_WFRACBITS_DW_Q): Likewise.
6538 (_FP_WFRACXBITS_DW_Q): Likewise.
6539 (_FP_HIGHBIT_DW_Q): Likewise.
6540 (FP_FMA_Q): Likewise.
6541 (_FP_FRAC_HIGH_DW_Q): Likewise.
6542 * soft-fp/fmasf4.c: New file.
6543 * soft-fp/fmadf4.c: Likewise.
6544 * soft-fp/fmatf4.c: Likewise.
6545
6308fd9a
LD
65462013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6547
6548 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
6549 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
6550 Silvermont.
6551 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
6552 macro.
6553 (index_Slow_SSE4_2): Likewise.
6554 (index_Prefer_PMINUB_for_stringop): Likewise.
6555 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
6556 bit_Slow_SSE4_2 is set.
6557 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6558 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6559
89cd9569
RA
65602013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6561
6562 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
6563 rtld_global._dl_hwcap2.
6564 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
6565 POWER8.
6566 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
6567 POWER8 feature descriptions defined in _dl_hwcap2.
6568 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
6569 string handling for POWER8 feature bits.
6570 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
6571 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
6572 _dl_powerpc_cap_flags.
6573 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
6574 * sysdeps/powerpc/rtld-global-offsets.sym
6575 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
6576 _dl_hwcap2 in the rtld_global_ro structure.
6577
1ae8bfe0
RA
65782013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6579
6580 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
6581 hardware capabilities in support of AT_HWCAP2.
6582 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
6583 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
6584 GLRO(dl_hwcap2).
6585 (_dl_show_auxv): Add support for calling _dl_procinfo to display
6586 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
6587 explicitly the unknown a_type display mechanism is used.
6588 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
6589 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
6590 struct member.
6591 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
6592 to macro prototype for AT_HWCAP2 support.
6593 * sysdeps/i386/dl-procinfo.h: Likewise.
6594 * sysdeps/s390/dl-procinfo.h: Likewise.
6595 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
6596 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
6597 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
6598 return -1 for unknown a_type display fallback.
6599 * sysdeps/sparc/dl-procinfo.h: Likewise.
6600 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
6601 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
6602
8fbec010
JM
66032013-06-28 Joseph Myers <joseph@codesourcery.com>
6604
6605 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
6606 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
6607
0432680e
PY
66082013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
6609
6610 [BZ #12492]
6611 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
6612 mprotect making __stack_prot writable.
6613
ce61a2ad
NF
66142013-06-28 Nathan Froyd <froydnj@codesourcery.com>
6615 Joseph Myers <joseph@codesourcery.com>
6616
6617 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
6618 as being properly aligned.
6619
f91f1c0f
MR
66202013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
6621
3d0f5d0c
MR
6622 * dlfcn/modstatic5.c: New file.
6623 * dlfcn/tststatic5.c: New file.
6624 * dlfcn/Makefile (tests): Add tststatic5.
6625 (tests-static): Likewise.
6626 (modules-names): Add modstatic5.
6627 (tststatic5-ENV): New variable.
6628 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
6629
f91f1c0f
MR
6630 [BZ #15022]
6631 * elf/dl-support.c (_dl_main_map): New variable.
6632 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
6633 (_dl_nns, _dl_load_adds): Set to 1.
6634 (_dl_initial_searchlist): Refer to _dl_main_map.
6635 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
6636 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
6637 call to _dl_get_origin.
6638 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
6639 around call_map.
6640 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
6641 * dlfcn/modstatic3.c: New file.
6642 * dlfcn/tststatic3.c: New file.
6643 * dlfcn/tststatic4.c: New file.
6644 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
6645 (tests-static): Likewise.
6646 (modules-names): Add modstatic3.
6647 (tststatic3-ENV, tststatic4-ENV): New variables.
6648 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
6649 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
6650
cbe7d24b
JM
66512013-06-26 Joseph Myers <joseph@codesourcery.com>
6652
6653 * configure.in (CC): Require GCC version 4.4 or later.
6654 * configure: Regenerated.
6655 * manual/install.texi (Tools for Compilation): Update GCC version
6656 requirement.
6657 * INSTALL: Regenerated.
6658
11b8a0e1
LD
66592013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6660
6661 [BZ #15674]
bb5bb87c
L
6662 * string/test-memcmp.c (check2): New.
6663 (main): Call check2.
6664
11b8a0e1
LD
6665 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
6666
b0037103
MR
66672013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
6668
6669 [BZ #15022]
6670 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
6671 over to...
6672 (dl_open_worker) [!SHARED]: ... here.
6673
c18c701d
RA
66742013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6675
6676 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
6677
1d17fa5f
RH
66782013-06-25 Richard Henderson <rth@redhat.com>
6679
6680 * locale/programs/locarchive.c: Include <libc-internal.h>
6681
8fcb833a
JM
66822013-06-25 Joseph Myers <joseph@codesourcery.com>
6683
6684 * manual/texinfo.tex: Update to version 2013-06-21.17, with
6685 trailing whitespace removed.
6686
17db6e8d
MF
66872013-06-24 Mike Frysinger <vapier@gentoo.org>
6688
6689 [BZ #10283]
17db6e8d
MF
6690 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
6691 * locale/programs/locarchive.c: Include libc-mmap.h.
6692 (prepare_address_space): Take two new outputs (the mmap base and len).
6693 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
6694 values.
6695 (create_archive): Declare new mmap base and len values for
6696 prepare_address_space, and store the result in ah.
6697 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
6698 (enlarge_archive): If ah->mmap_base is not NULL, use that and
6699 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6700 Declare new mmap base and len values for
6701 prepare_address_space, and store the result in new_ah.
6702 (open_archive): Declare new mmap base and len values for
6703 prepare_address_space, and store the result in ah.
6704 (close_archive): If ah->mmap_base is not NULL, use that and
6705 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6706 * sysdeps/generic/libc-mmap.h: New file.
6707
d605071e
MF
67082013-06-24 Mike Frysinger <vapier@gentoo.org>
6709
6710 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
6711 (ALIGN_UP): Likewise.
6712 (PTR_ALIGN_DOWN): Likewise.
6713 (PTR_ALIGN_UP): Likewise.
6714
2f063a6e
RA
67152013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6716
6717 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
6718 entry mapped to PPC_PLATFORM_POWER8.
6719 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
6720 POWER8.
6721 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
6722 (_dl_string_platform): Add case for exporting platform position for
6723 POWER8.
6724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
6725 search path to sysdeps/powerpc/powerpc32/power8 directory.
6726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
6727 search path to sysdeps/powerpc/powerpc64/power8 directory.
6728 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
6729 power7 directories.
6730 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
6731 power7 directories.
6732
a31ee4b3
SP
67332013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6734
a74ca98f
SP
6735 * INSTALL: Regenerate.
6736
a31ee4b3
SP
6737 * nscd/connections.c (nscd_init): Fix comment.
6738
695c378f
JM
67392013-06-22 Joseph Myers <joseph@codesourcery.com>
6740
d8412221
JM
6741 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
6742
695c378f
JM
6743 [BZ #15667]
6744 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
6745 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
6746
d1d54715
MR
67472013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
6748
6749 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
6750 DL_DST_REQ_STATIC.
6751 (DL_DST_REQ_STATIC): Remove macro.
6752
8fdda7af
JM
67532013-06-21 Joseph Myers <joseph@codesourcery.com>
6754
6755 [BZ #7006]
6756 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
6757 with a shift of 0 bits.
6758
f3bc5e5a
MR
67592013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
6760
6761 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
6762 $(tststatic-ENV).
6763
be09e8c9
KK
67642013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6765
6766 [BZ #15655]
6767 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
6768
85c2e611
AZ
67692013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6770
6771 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
6772 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
6773 accepts -fno-tree-loop-distribute-patterns.
6774 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
6775 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
6776 recursive call.
6777 * string/memset.c (memset): Likewise.
6778 * string/test-memmove.c (simple_memmove): Disable loop transformation
6779 to library calls.
6780 * string/test-memset.c (simple_memset): Likewise.
6781 * benchtests/bench-memmove.c (simple_memmove): Likewise.
6782 * benchtests/bench-memset.c (simple_memset): Likewise.
6783 * configure: Regenerated.
6784
c91e0825
JM
67852013-06-20 Joseph Myers <joseph@codesourcery.com>
6786
b8c792af
JM
6787 * math/test-misc.c (main): Ignore fesetround failure when failures
6788 of subsequent rounding tests would be ignored.
6789
c91e0825
JM
6790 [BZ #15654]
6791 * math/fedisblxcpt.c (fedisableexcept): Return 0.
6792 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
6793 * math/fegetenv.c (__fegetenv): Return 0.
6794 * math/fegetexcept.c (fegetexcept): Return 0.
6795 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
6796 FE_TONEAREST.
6797 * math/feholdexcpt.c (feholdexcept): Return 0.
6798 * math/fesetenv.c (__fesetenv): Return 0.
6799 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
6800 argument FE_TONEAREST.
6801 * math/feupdateenv.c (__feupdateenv): Return 0.
6802 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
6803
bfcacbde
RM
68042013-06-18 Roland McGrath <roland@hack.frob.com>
6805
6806 * elf/rtld-Rules (rtld-compile-command.S): New variable.
6807 (rtld-compile-command.s, rtld-compile-command.c): New variables.
6808 ($(objpfx)rtld-%.os rules): Use them.
6809
e55a9b25
AZ
68102013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6811
6812 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
6813 fields.
6814
346d65b3
RM
68152013-06-17 Roland McGrath <roland@hack.frob.com>
6816
12086fb4
RM
6817 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
6818 length of target pattern, then descending length of dependency pattern.
6819 * configure.in (AWK): Require gawk 3.1.2 or newer.
6820 * manual/install.texi (Tools for Compilation): Say that we do.
6821 * configure: Regenerated.
6822
346d65b3
RM
6823 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
6824 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
6825 * scripts/sysd-rules.awk: ... this new script.
6826 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
6827 than a glob-style pattern.
6828
1a846317
JM
68292013-06-17 Joseph Myers <joseph@codesourcery.com>
6830
6831 * math/test-misc.c (main): Do not treat incorrectly rounded
6832 conversions as failure unless ROUNDING_TESTS passes.
6833
8fc75e6f
JM
68342013-06-15 Joseph Myers <joseph@codesourcery.com>
6835
3711a167
JM
6836 [BZ #15631]
6837 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
6838 restore exception state around main square root computation, then
6839 check for inexactness explicitly.
6840
8fc75e6f
JM
6841 * math/libm-test.inc (fma_test_data): Add another test.
6842
61dd6208
SP
68432013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6844
adf23d2c
SP
6845 * manual/threads.texi (Non-POSIX Extensions): New document
6846 node. Document pthread_getattr_default_np and
6847 pthread_setattr_default_np.
6848
61dd6208
SP
6849 * Versions.def (libpthread): Add GLIBC_2.18.
6850 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
6851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6852 Likewise.
6853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6854 Likewise.
6855 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6856 Likewise.
6857 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6858 Likewise.
6859 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
6860 Likewise.
6861 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6862 Likewise.
6863 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6864 Likewise.
6865 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
6866 Likewise.
6867 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
6868 Likewise.
6869
d086fc7b
LD
68702013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6871
6872 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6873 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
6874
747ef469
SP
68752013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6876 H.J. Lu <hjl.tools@gmail.com>
6877
6878 [BZ #15627]
6879 * sysdeps/x86_64/rtld-memset.c: Remove file.
6880 * sysdeps/x86_64/rtld-memset.S: New file.
6881
1b2feed2
JM
68822013-06-14 Joseph Myers <joseph@codesourcery.com>
6883
6884 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
6885 (test_in_one_mode): Take arguments for whether the rounding mode
6886 is supported for each floating-point type.
6887 (do_test): Pass new arguments to test_in_one_mode using
6888 ROUNDING_TESTS.
6889
a58ad3f8
RM
68902013-06-13 Roland McGrath <roland@hack.frob.com>
6891
6892 * posix/tst-waitid.c (do_test): Distinguish different instances of
6893 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
6894 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
6895 before entering the kernel for waitpid.
6896
c204ab28
SP
68972013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6898
6899 * NEWS: Fix note on clock function precision. Text by Roland
6900 McGrath.
6901
f4a29fba
RM
69022013-06-13 Roland McGrath <roland@hack.frob.com>
6903
6904 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
6905 it into place only when and if the sanity check passes.
6906
1f24b9ad
JM
69072013-06-13 Joseph Myers <joseph@codesourcery.com>
6908
6909 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
6910 output for whether conversion result is exact. Take argument
6911 indicating whether type is IBM long double.
6912 (round_for_all): Change need_exact field to ibm_ld.
6913 * stdlib/tst-strtod-round.c (struct exactness): New type.
6914 (struct test): Change bool ld_ok field to struct exactness exact.
6915 (TEST): Update all definitions for change to field.
6916 (tests): Regenerate array contents.
6917 (test_in_one_mode): Take pointer to new field instead of old ld_ok
6918 field value. Check for IBM long double here.
6919 (do_test): Update calls to test_in_one_mode.
6920
58206c68
SP
69212013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6922
6923 [BZ #12515]
6924 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
6925 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
6926
2d6f4c5b 69272013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
6928
6929 [BZ #15605]
6930 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
6931 generated by the compiler on loop optimizations.
6932 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
6933 general definitions.
6934
94f2c076
JM
69352013-06-12 Joseph Myers <joseph@codesourcery.com>
6936
6937 * math/bug-nextafter.c: Include <math-tests.h>.
6938 (main): Only test for exceptions if EXCEPTION_TESTS is true for
6939 the relevant type.
6940 * math/bug-nexttoward.c: Include <math-tests.h>.
6941 (main): Only test for exceptions if EXCEPTION_TESTS is true for
6942 the relevant type.
6943 * math/test-misc.c: Include <math-tests.h>.
6944 (main): Only test for exceptions if EXCEPTION_TESTS is true for
6945 the relevant type.
6946
e0e50a0a
AJ
69472013-06-12 Andreas Jaeger <aj@suse.de>
6948
6949 * po/ia.po: Update Interlingua translation from translation
6950 project.
6951
25061094
SP
69522013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6953
6954 * include/fenv.h: Include stdbool.h.
6955 (struct rm_ctx): New structure.
6956 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
6957 Define macro.
6958 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
6959 (SET_RESTORE_ROUNDF): Likewise.
6960 (SET_RESTORE_ROUNDL): Likewise.
6961 (SET_RESTORE_ROUND_NOEX): Likewise.
6962 (SET_RESTORE_ROUND_NOEXF): Likewise.
6963 (SET_RESTORE_ROUND_NOEXL): Likewise.
6964 (SET_RESTORE_ROUND_53BIT): Likewise.
6965 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
6966 (libc_feresetround_noexf_ctx): Likewise.
6967 (libc_feresetround_noexl_ctx): Likewise.
6968 (libc_feholdsetround_53bit_ctx): Likewise.
6969 (libc_feresetround_53bit_ctx): Likewise.
6970 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
6971 (libc_feholdexcept_setround_sse_ctx): New function.
6972 (libc_fesetenv_sse_ctx): Likewise.
6973 (libc_feupdateenv_sse_ctx): Likewise.
6974 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
6975 (libc_feholdexcept_setround_387_ctx): Likewise.
6976 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
6977 (libc_feholdsetround_387_prec_ctx): Likewise.
6978 (libc_feholdsetround_387_ctx): Likewise.
6979 (libc_feholdsetround_387_53bit_ctx): Likewise.
6980 (libc_feholdsetround_sse_ctx): Likewise.
6981 (libc_feresetround_sse_ctx): Likewise.
6982 (libc_feresetround_387_ctx): Likewise.
6983 (libc_feupdateenv_387_ctx): Likewise.
6984 (libc_feholdexcept_setroundf_ctx): Define macro.
6985 (libc_fesetenvf_ctx): Likewise.
6986 (libc_feupdateenvf_ctx): Likewise.
6987 (libc_feholdsetroundf_ctx): Likewise.
6988 (libc_feresetroundf_ctx): Likewise.
6989 (libc_feholdexcept_setround_ctx): Likewise.
6990 (libc_fesetenv_ctx): Likewise.
6991 (libc_feupdateenv_ctx): Likewise.
6992 (libc_feholdsetround_ctx): Likewise.
6993 (libc_feresetround_ctx): Likewise.
6994 (libc_feholdexcept_setroundl_ctx): Likewise.
6995 (libc_feupdateenvl_ctx): Likewise.
6996 (libc_feholdsetroundl_ctx): Likewise.
6997 (libc_feresetroundl_ctx): Likewise.
6998 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
6999 (libc_feresetround_53bit_ctx): Likewise.
7000
59b30555
SP
70012013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7002
7003 * locale/iso-639.def: Convert to UTF-8.
7004
f1d73d30
JM
70052013-06-11 Joseph Myers <joseph@codesourcery.com>
7006
7007 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
7008 (EXCEPTION_TESTS_double): Likewise.
7009 (EXCEPTION_TESTS_long_double): Likewise.
7010 (EXCEPTION_TESTS): Likewise.
7011 * math/libm-test.inc (test_exceptions): Only test exceptions if
7012 EXCEPTION_TESTS (FLOAT).
7013
94aca5e7
SP
70142013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7015
7016 * benchtests/Makefile (string-bench): Add strcpy_chk and
7017 stpcpy_chk.
7018 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
7019 * benchtests/bench-stpcpy_chk.c: New file.
7020 * benchtests/bench-strcpy_chk-ifunc.c: New file.
7021 * benchtests/bench-strcpy_chk.c: New file.
7022 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
7023 code.
7024 (do_test): Likewise.
7025
fac0c5f2
RA
70262013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7027
7028 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
7029 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
7030 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
7031 with tabs where appropriate.
7032 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
7033 dl-procinfo.h.
7034 [PPC_PLATFORM_PPC440]: Likewise.
7035 [PPC_PLATFORM_PPC464]: Likewise.
7036 [PPC_PLATFORM_PPC476]: Likewise.
7037 (_dl_string_platform): Add support for detecting ppc405, ppc440,
7038 ppc464, and ppc476 platform strings merging from ports/
7039 dl-procinfo.h.
7040
f22bc486
AS
70412013-06-11 Andreas Schwab <schwab@suse.de>
7042
7043 [BZ #14991]
7044 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
7045 (from_ucs4_idx): Regenerate.
7046 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
7047 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
7048 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
7049 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
7050 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
7051 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
7052 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
7053 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
7054 from FROM_LOOP and TO_LOOP specific macros.
7055 (BODY): Handle combining characters.
7056 * iconvdata/BIG5HKSCS.irreversible: Update.
7057 * iconvdata/BIG5HKSCS.precomposed: New file.
7058 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
7059 characters.
7060 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
7061
c1f75dc3
SP
70622013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7063
4eacded2
SP
7064 * include/sys/time.h: Fix indentation and add copyright header.
7065
fec799f8
SP
7066 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
7067 (do_test): Likewise.
7068 * string/test-memchr.c (do_one_test): Likewise.
7069 (do_test): Likewise.
7070 * string/test-memcmp.c (do_one_test): Likewise.
7071 (do_test): Likewise.
7072 * string/test-memcpy.c (do_one_test): Likewise.
7073 (do_test): Likewise.
7074 * string/test-memmem.c (do_one_test): Likewise.
7075 (do_test): Likewise.
7076 (do_random_tests): Likewise.
7077 * string/test-memmove.c (do_one_test): Likewise.
7078 (do_test): Likewise.
7079 * string/test-memset.c (do_one_test): Likewise.
7080 (do_test): Likewise.
7081 * string/test-rawmemchr.c (do_one_test): Likewise.
7082 (do_test): Likewise.
7083 * string/test-strcasecmp.c (do_one_test): Likewise.
7084 (do_test): Likewise.
7085 * string/test-strcasestr.c (do_one_test): Likewise.
7086 (do_test): Likewise.
7087 * string/test-strcat.c (do_one_test): Likewise.
7088 (do_test): Likewise.
7089 * string/test-strchr.c (do_one_test): Likewise.
7090 (do_test): Likewise.
7091 * string/test-strcmp.c (do_one_test): Likewise.
7092 (do_test): Likewise.
7093 * string/test-strcpy.c (do_one_test): Likewise.
7094 (do_test): Likewise.
7095 * string/test-string.h: Likewise.
7096 (test_init): Likewise.
7097 * string/test-strlen.c (do_one_test): Likewise.
7098 (do_test): Likewise.
7099 * string/test-strncasecmp.c (do_one_test): Likewise.
7100 (do_test): Likewise.
7101 * string/test-strncat.c (do_one_test): Likewise.
7102 (do_test): Likewise.
7103 * string/test-strncmp.c (do_one_test): Likewise.
7104 (do_test_limit): Likewise.
7105 (do_test): Likewise.
7106 * string/test-strncpy.c (do_one_test): Likewise.
7107 (do_test): Likewise.
7108 * string/test-strnlen.c (do_one_test): Likewise.
7109 (do_test): Likewise.
7110 * string/test-strpbrk.c (do_one_test): Likewise.
7111 (do_test): Likewise.
7112 * string/test-strrchr.c (do_one_test): Likewise.
7113 (do_test): Likewise.
7114 * string/test-strspn.c (do_one_test): Likewise.
7115 (do_test): Likewise.
7116 * string/test-strstr.c (do_one_test): Likewise.
7117 (do_test): Likewise.
7118
97020474
SP
7119 * benchtests/Makefile (string-bench): Add string benchmarks.
7120 * benchtests/bench-bcopy-ifunc.c: New file.
7121 * benchtests/bench-bcopy.c: New file.
7122 * benchtests/bench-bzero-ifunc.c: New file.
7123 * benchtests/bench-bzero.c: New file.
7124 * benchtests/bench-memccpy-ifunc.c: New file.
7125 * benchtests/bench-memccpy.c: New file.
7126 * benchtests/bench-memchr-ifunc.c: New file.
7127 * benchtests/bench-memchr.c: New file.
7128 * benchtests/bench-memcmp-ifunc.c: New file.
7129 * benchtests/bench-memcmp.c: New file.
7130 * benchtests/bench-memmem-ifunc.c: New file.
7131 * benchtests/bench-memmem.c: New file.
7132 * benchtests/bench-memmove-ifunc.c: New file.
7133 * benchtests/bench-memmove.c: New file.
7134 * benchtests/bench-mempcpy-ifunc.c: New file.
7135 * benchtests/bench-mempcpy.c: New file.
7136 * benchtests/bench-memset-ifunc.c: New file.
7137 * benchtests/bench-memset.c: New file.
7138 * benchtests/bench-rawmemchr-ifunc.c: New file.
7139 * benchtests/bench-rawmemchr.c: New file.
7140 * benchtests/bench-stpcpy-ifunc.c: New file.
7141 * benchtests/bench-stpcpy.c: New file.
7142 * benchtests/bench-stpncpy-ifunc.c: New file.
7143 * benchtests/bench-stpncpy.c: New file.
7144 * benchtests/bench-strcasecmp-ifunc.c: New file.
7145 * benchtests/bench-strcasecmp.c: New file.
7146 * benchtests/bench-strcasestr-ifunc.c: New file.
7147 * benchtests/bench-strcasestr.c: New file.
7148 * benchtests/bench-strcat-ifunc.c: New file.
7149 * benchtests/bench-strcat.c: New file.
7150 * benchtests/bench-strchr-ifunc.c: New file.
7151 * benchtests/bench-strchr.c: New file.
7152 * benchtests/bench-strchrnul-ifunc.c: New file.
7153 * benchtests/bench-strchrnul.c: New file.
7154 * benchtests/bench-strcmp-ifunc.c: New file.
7155 * benchtests/bench-strcmp.c: New file.
7156 * benchtests/bench-strcpy-ifunc.c: New file.
7157 * benchtests/bench-strcpy.c: New file.
7158 * benchtests/bench-strcspn-ifunc.c: New file.
7159 * benchtests/bench-strcspn.c: New file.
7160 * benchtests/bench-strlen-ifunc.c: New file.
7161 * benchtests/bench-strlen.c: New file.
7162 * benchtests/bench-strncasecmp-ifunc.c: New file.
7163 * benchtests/bench-strncasecmp.c: New file.
7164 * benchtests/bench-strncat-ifunc.c: New file.
7165 * benchtests/bench-strncat.c: New file.
7166 * benchtests/bench-strncmp-ifunc.c: New file.
7167 * benchtests/bench-strncmp.c: New file.
7168 * benchtests/bench-strncpy-ifunc.c: New file.
7169 * benchtests/bench-strncpy.c: New file.
7170 * benchtests/bench-strnlen-ifunc.c: New file.
7171 * benchtests/bench-strnlen.c: New file.
7172 * benchtests/bench-strpbrk-ifunc.c: New file.
7173 * benchtests/bench-strpbrk.c: New file.
7174 * benchtests/bench-strrchr-ifunc.c: New file.
7175 * benchtests/bench-strrchr.c: New file.
7176 * benchtests/bench-strspn-ifunc.c: New file.
7177 * benchtests/bench-strspn.c: New file.
7178 * benchtests/bench-strstr-ifunc.c: New file.
7179 * benchtests/bench-strstr.c: New file.
7180
c1f75dc3
SP
7181 * benchtests/Makefile: Disable parallel execution of targets.
7182 (string-bench): Add memcpy.
7183 (benchset): New variable to store a list of benchmark sets.
7184 (bench-func): Renamed from bench.
7185 (bench-set): New target.
7186 (bench): Depend on bench-func and bench-set.
7187 * benchtests/README: Add section on benchmark sets.
7188 * benchtests/bench-memcpy-ifunc.c: New file.
7189 * benchtests/bench-memcpy.c: New file.
7190 * benchtests/bench-string.h: New file.
7191
50fd745b
AS
71922013-06-11 Andreas Schwab <schwab@suse.de>
7193
7194 [BZ #15577]
7195 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
7196 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
7197 values in the triple.
7198 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
7199 terminator in the group key.
7200
3ee7e9fe
AJ
72012013-06-11 Andreas Jaeger <aj@suse.de>
7202
7203 * po/zh_TW.po: Update Chinese (traditional) translation from
7204 translation project.
7205
89fb6835
SP
72062013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7207
7208 * include/time.h (__clock_gettime): Add libc_hidden_proto.
7209 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
7210 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
7211 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7212 (clock_getcpuclockid): Likewise.
7213 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
7214 Add weak_alias and libc_hidden_def.
7215 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
7216 * rt/clock_gettime.c (clock_gettime): Rename to
7217 __clock_gettime. Add weak_alias and libc_hidden_def.
7218 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
7219 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
7220 __clock_nanosleep. Add weak_alias and libc_hidden_def.
7221 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
7222 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
7223 Likewise.
7224 * rt/clock_settime.c (clock_settime): Rename to
7225 __clock_settime. Add weak_alias and libc_hidden_def.
7226 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
7227
0efa6f8b
JM
72282013-06-10 Joseph Myers <joseph@codesourcery.com>
7229
b8c61b4b
JM
7230 * mach/err_boot.sub: Remove trailing whitespace.
7231 * mach/err_ipc.sub: Likewise.
7232 * mach/err_mach.sub: Likewise.
7233
0efa6f8b
JM
7234 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
7235 (ROUNDING_TESTS_double): Likewise.
7236 (ROUNDING_TESTS_long_double): Likewise.
7237 (ROUNDING_TESTS): Likewise.
7238 * math/libm-test.inc: Include <math-tests.h>.
7239 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
7240 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
7241 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7242 (IF_ROUND_INIT_FE_UPWARD): Likewise.
7243
50b818bf
SP
72442013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7245
7246 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
7247 of assigning.
7248
60d2f8f3
JM
72492013-06-08 Joseph Myers <joseph@codesourcery.com>
7250
4902d2c3
JM
7251 * sysdeps/gnu/errlist.awk: Do not generate space at end of
7252 otherwise empty TRANS lines.
7253 * sysdeps/gnu/errlist.c: Regenerated.
7254
60d2f8f3
JM
7255 * catgets/gencat.c (error_print): Use (void) in function
7256 definition.
7257 * crypt/crypt_util.c (__init_des): Likewise.
7258 * crypt/speeds.c (Stop): Likewise.
7259 (main): Likewise.
7260 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
7261 * inet/ruserpass.c (token): Likewise.
7262 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
7263 * intl/localealias.c (extend_alias_table): Likewise.
7264 * intl/plural-exp.c (init_germanic_plural): Likewise.
7265 * libio/fcloseall.c (__fcloseall): Likewise.
7266 * libio/genops.c (_IO_flush_all): Likewise.
7267 (_IO_flush_all_linebuffered): Likewise.
7268 (_IO_cleanup): Likewise.
7269 (_IO_iter_begin): Likewise.
7270 (_IO_iter_end): Likewise.
7271 (_IO_list_lock): Likewise.
7272 (_IO_list_unlock): Likewise.
7273 (_IO_list_resetlock): Likewise.
7274 * libio/getchar.c (getchar): Likewise.
7275 * libio/getchar_u.c (getchar_unlocked): Likewise.
7276 * libio/getwchar.c (getwchar): Likewise.
7277 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
7278 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
7279 * login/getpt.c (__getpt): Likewise.
7280 * login/tst-utmp.c (main): Likewise.
7281 * malloc/hooks.c (__malloc_check_init): Likewise.
7282 * malloc/malloc.c (__malloc_stats): Likewise.
7283 * malloc/mtrace.c (tr_break): Likewise.
7284 (mtrace): Likewise.
7285 (muntrace): Likewise.
7286 * misc/fstab.c (endfsent): Likewise.
7287 * misc/getclktck.c (__getclktck): Likewise.
7288 * misc/getdtsz.c (__getdtablesize): Likewise.
7289 * misc/gethostid.c (gethostid): Likewise.
7290 * misc/getpagesize.c (__getpagesize): Likewise.
7291 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
7292 (__get_nprocs): Likewise.
7293 (__get_phys_pages): Likewise.
7294 (__get_avphys_pages): Likewise.
7295 * misc/getttyent.c (getttyent): Likewise.
7296 (setttyent): Likewise.
7297 (endttyent): Likewise.
7298 * misc/getusershell.c (getusershell): Likewise.
7299 (endusershell): Likewise.
7300 (setusershell): Likewise.
7301 (initshells): Likewise.
7302 * misc/hsearch.c (__hdestroy): Likewise.
7303 * misc/sync.c (sync): Likewise.
7304 * misc/syslog.c (closelog_internal): Likewise.
7305 (closelog): Likewise.
7306 * misc/ttyslot.c (ttyslot): Likewise.
7307 * misc/vhangup.c (vhangup): Likewise.
7308 * posix/fork.c (__fork): Likewise.
7309 * posix/getegid.c (__getegid): Likewise.
7310 * posix/geteuid.c (__geteuid): Likewise.
7311 * posix/getgid.c (__getgid): Likewise.
7312 * posix/getpid.c (__getpid): Likewise.
7313 * posix/getppid.c (__getppid): Likewise.
7314 * posix/getuid.c (__getuid): Likewise.
7315 * posix/pause.c (pause): Likewise.
7316 * posix/setpgrp.c (setpgrp): Likewise.
7317 * posix/setsid.c (__setsid): Likewise.
7318 * posix/test-vfork.c (noop): Likewise.
7319 * resolv/gethnamaddr.c (_endhtent): Likewise.
7320 (_gethtent): Likewise.
7321 (ht_endhostent): Likewise.
7322 (gethostent): Likewise.
7323 (dns_service): Likewise.
7324 * stdlib/drand48.c (drand48): Likewise.
7325 * stdlib/lrand48.c (lrand48): Likewise.
7326 * stdlib/mrand48.c (mrand48): Likewise.
7327 * stdlib/rand.c (rand): Likewise.
7328 * stdlib/random.c (__random): Likewise.
7329 * stdlib/setenv.c (clearenv): Likewise.
7330 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
7331 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
7332 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
7333 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
7334 (__get_nprocs): Likewise.
7335 (__get_phys_pages): Likewise.
7336 (__get_avphys_pages): Likewise.
7337 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
7338 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
7339 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
7340 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
7341 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
7342 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
7343 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
7344 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
7345 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
7346 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
7347 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
7348 * sysdeps/mach/hurd/sync.c (sync): Likewise.
7349 * sysdeps/posix/clock.c (clock): Likewise.
7350 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
7351 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
7352 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
7353 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
7354 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
7355 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
7356 (__get_nprocs_conf): Likewise.
7357 (__get_phys_pages): Likewise.
7358 (__get_avphys_pages): Likewise.
7359 * time/clock.c (clock): Likewise.
7360 * time/tzset.c (__tzname_max): Likewise.
7361
2e09a79a
JM
73622013-06-07 Joseph Myers <joseph@codesourcery.com>
7363
7364 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
7365 (__bswap_32): Do not use "register".
7366 * crypt/crypt.c (_ufc_doit_r): Likewise.
7367 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7368 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7369 * gmon/gmon.c (__monstartup): Likewise.
7370 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
7371 * hurd/hurdmalloc.c (more_memory): Likewise.
7372 (malloc): Likewise.
7373 (free): Likewise.
7374 (realloc): Likewise.
7375 (malloc_fork_prepare): Likewise.
7376 (malloc_fork_parent): Likewise.
7377 (malloc_fork_child): Likewise.
7378 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
7379 (_svcauth_des): Likewise.
7380 * inet/inet_lnaof.c (inet_lnaof): Likewise.
7381 * inet/inet_net.c (inet_network): Likewise.
7382 * inet/inet_netof.c (inet_netof): Likewise.
7383 * inet/rcmd.c (__validuser2_sa): Likewise.
7384 * io/fts.c (fts_open): Likewise.
7385 (fts_load): Likewise.
7386 (fts_close): Likewise.
7387 (fts_read): Likewise.
7388 (fts_children): Likewise.
7389 (fts_build): Likewise.
7390 (fts_stat): Likewise.
7391 (fts_sort): Likewise.
7392 (fts_alloc): Likewise.
7393 (fts_lfree): Likewise.
7394 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
7395 (_IO_file_xsgetn): Likewise.
7396 (_IO_file_xsgetn_mmap): Likewise.
7397 * libio/iofopncook.c (_IO_cookie_read): Likewise.
7398 (_IO_cookie_write): Likewise.
7399 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
7400 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
7401 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
7402 * malloc/obstack.c (_obstack_begin): Likewise.
7403 (_obstack_begin_1): Likewise.
7404 (_obstack_newchunk): Likewise.
7405 (_obstack_allocated_p): Likewise.
7406 (obstack_free): Likewise.
7407 (_obstack_memory_used): Likewise.
7408 * misc/getttyent.c (getttynam): Likewise.
7409 (getttyent): Likewise.
7410 (skip): Likewise.
7411 (value): Likewise.
7412 * misc/getusershell.c (initshells): Likewise.
7413 * misc/syslog.c (__vsyslog_chk): Likewise.
7414 * misc/ttyslot.c (ttyslot): Likewise.
7415 * nis/nis_hash.c (__nis_hash): Likewise.
7416 * posix/fnmatch_loop.c (FCT): Likewise.
7417 * posix/getconf.c (print_all): Likewise.
7418 (main): Likewise.
7419 * posix/getopt.c (exchange): Likewise.
7420 * posix/glob.c (globfree): Likewise.
7421 (prefix_array): Likewise.
7422 (__glob_pattern_type): Likewise.
7423 * resolv/arpa/nameser.h (NS_GET16): Likewise.
7424 (NS_GET32): Likewise.
7425 (NS_PUT16): Likewise.
7426 (NS_PUT32): Likewise.
7427 * resolv/gethnamaddr.c (getanswer): Likewise.
7428 (gethostbyname2): Likewise.
7429 (gethostbyaddr): Likewise.
7430 (_gethtent): Likewise.
7431 (_gethtbyname2): Likewise.
7432 (_gethtbyaddr): Likewise.
7433 * resolv/ns_print.c (dst_s_get_int16): Likewise.
7434 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
7435 * resolv/res_init.c (__res_vinit): Likewise.
7436 (net_mask): Likewise.
7437 * resolv/res_mkquery.c (outchar): Likewise.
7438 (PRINT): Likewise.
7439 * stdio-common/printf_fp.c (outchar): Likewise.
7440 (PRINT): Likewise.
7441 * stdio-common/printf_fphex.c (outchar): Likewise.
7442 (PRINT): Likewise.
7443 * stdio-common/printf_size.c (outchar): Likewise.
7444 (PRINT): Likewise.
7445 * stdio-common/test_rdwr.c (main): Likewise.
7446 * stdio-common/tfformat.c (matches): Likewise.
7447 * stdio-common/vfprintf.c (outchar): Likewise.
7448 (printf_unknown): Likewise.
7449 (buffered_vfprintf): Likewise.
7450 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7451 * stdio-common/xbug.c (AppendToBuffer): Likewise.
7452 (ReadFile): Likewise.
7453 * stdlib/qsort.c (SWAP): Likewise.
7454 (_quicksort): Likewise.
7455 * stdlib/setenv.c (__add_to_environ): Likewise.
7456 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7457 * stdlib/strtol_l.c (__strtol_l): Likewise.
7458 * stdlib/tst-strtod.c (main): Likewise.
7459 * stdlib/tst-strtol.c (main): Likewise.
7460 * stdlib/tst-strtoll.c (main): Likewise.
7461 * string/bits/string2.h (__strcmp_cc): Likewise.
7462 (__strcmp_cg): Likewise.
7463 (__strcspn_c1): Likewise.
7464 (__strcspn_c2): Likewise.
7465 (__strcspn_c3): Likewise.
7466 (__strspn_c1): Likewise.
7467 (__strspn_c2): Likewise.
7468 (__strspn_c3): Likewise.
7469 (__strsep_1c): Likewise.
7470 (__strsep_2c): Likewise.
7471 (__strsep_3c): Likewise.
7472 * string/memccpy.c (__memccpy): Likewise.
7473 * string/stpcpy.c (__stpcpy): Likewise.
7474 * string/strcmp.c (strcmp): Likewise.
7475 * string/strrchr.c (strrchr): Likewise.
7476 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
7477 Likewise.
7478 * sysdeps/mach/hurd/getcwd.c
7479 (_hurd_canonicalize_directory_name_internal): Likewise.
7480 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
7481 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
7482 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
7483 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
7484 Likewise, in both definitions.
7485 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
7486 definitions.
7487 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
7488 64] (__bswap_64): Likewise.
7489 * time/test_time.c (main): Likewise.
7490 * time/tzfile.c (__tzfile_read): Likewise.
7491 (__tzfile_compute): Likewise.
7492 * time/tzset.c (__tzset_parse_tz): Likewise.
7493 (tzset_internal): Likewise.
7494 (compute_change): Likewise.
7495 * wcsmbs/wcscat.c (__wcscat): Likewise.
7496 * wcsmbs/wcschr.c (wcschr): Likewise.
7497 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
7498 * wcsmbs/wcscspn.c (wcscspn): Likewise.
7499 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
7500 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
7501 * wcsmbs/wcsspn.c (wcsspn): Likewise.
7502 * wcsmbs/wcsstr.c (wcsstr): Likewise.
7503 * wcsmbs/wmemchr.c (wmemchr): Likewise.
7504 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7505 * wcsmbs/wmemset.c (wmemset): Likewise.
7506
9e54314b
JM
75072013-06-06 Joseph Myers <joseph@codesourcery.com>
7508
7509 * scripts/config.guess: Update to version 2013-05-16.
7510 * scripts/config.sub: Update to version 2013-04-24.
7511 * scripts/install-sh: Update to version 2011-11-20.07.
7512 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
7513 * scripts/move-if-change: Update to version 2012-01-06 07:23.
7514
350635a5
OB
75152013-06-06 Ondřej Bílka <neleai@seznam.cz>
7516
7517 * debug/fgetws_u_chk.c: Fix leading whitespaces.
7518 * elf/sln.c: Likewise.
7519 * hurd/hurd/ioctl.h: Likewise.
7520 * hurd/hurdmalloc.c: Likewise.
7521 * hurd/xattr.c: Likewise.
7522 * include/shlib-compat.h: Likewise.
7523 * inet/ruserpass.c: Likewise.
7524 * libio/iofgets_u.c: Likewise.
7525 * libio/iofgetws_u.c: Likewise.
7526 * locale/programs/ld-identification.c: Likewise.
7527 * locale/programs/ld-time.c: Likewise.
7528 * mach/msg-destroy.c: Likewise.
7529 * nss/nss_files/files-netgrp.c: Likewise.
7530 * resolv/res_data.c: Likewise.
7531 * soft-fp/op-1.h: Likewise.
7532 * soft-fp/op-2.h: Likewise.
7533 * soft-fp/op-4.h: Likewise.
7534 * soft-fp/op-common.h: Likewise.
7535 * stdio-common/printf_fphex.c: Likewise.
7536 * stdlib/strtod_l.c: Likewise.
7537 * sunrpc/rpc/clnt.h: Likewise.
7538 * sysdeps/generic/framestate.c: Likewise.
7539 * sysdeps/i386/bsd-_setjmp.S: Likewise.
7540 * sysdeps/i386/bsd-setjmp.S: Likewise.
7541 * sysdeps/i386/__longjmp.S: Likewise.
7542 * sysdeps/i386/setjmp.S: Likewise.
7543 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7544 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7545 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7546 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7547 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7548 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7549 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7550 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7551 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7552 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
7553 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7554 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7555 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7556 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7557 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7558 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7559 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7560 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
7561 * sysdeps/ieee754/support.c: Likewise.
7562 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7563 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
7564 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
7565 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
7566 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
7567 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
7568 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
7569 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
7570 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
7571 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
7572 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
7573 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
7574 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
7575 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
7576 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
7577 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
7578 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7580
44a988af
OB
75812013-06-05 Ondřej Bílka <neleai@seznam.cz>
7582
25506f09 7583 * posix/transbug.c: Remove executable mode.
44a988af 7584
9c84384c
JM
75852013-06-05 Joseph Myers <joseph@codesourcery.com>
7586
7587 * crypt/speeds.c: Remove trailing whitespace.
7588 * dlfcn/default.c: Likewise.
7589 * elf/ifuncdep2.c: Likewise.
7590 * elf/ifuncmain1.c: Likewise.
7591 * elf/ifuncmain1vis.c: Likewise.
7592 * elf/testobj.h: Likewise.
7593 * elf/tst-stackguard1.c: Likewise.
7594 * gmon/sys/gmon.h: Likewise.
7595 * hurd/hurdmsg.c: Likewise.
7596 * hurd/new-fd.c: Likewise.
7597 * hurd/ports-get.c: Likewise.
7598 * iconvdata/ibm1008_420.c: Likewise.
7599 * inet/tst-getni1.c: Likewise.
7600 * inet/tst-getni2.c: Likewise.
7601 * libio/ioungetc.c: Likewise.
7602 * libio/wfiledoalloc.c: Likewise.
7603 * manual/libm-err-tab.pl: Likewise.
7604 * math/w_dremf.c: Likewise.
7605 * misc/ftruncate.c: Likewise.
7606 * posix/bug-glob2.c: Likewise.
7607 * posix/tst-pcre.c: Likewise.
7608 * posix/wait4.c: Likewise.
7609 * resolv/README: Likewise.
7610 * resolv/res_debug.h: Likewise.
7611 * resolv/tst-inet_ntop.c: Likewise.
7612 * setjmp/bug269-setjmp.c: Likewise.
7613 * soft-fp/extended.h: Likewise.
7614 * soft-fp/op-1.h: Likewise.
7615 * soft-fp/op-2.h: Likewise.
7616 * soft-fp/op-4.h: Likewise.
7617 * soft-fp/op-8.h: Likewise.
7618 * soft-fp/testit.c: Likewise.
7619 * stdio-common/bug16.c: Likewise.
7620 * stdlib/random.c: Likewise.
7621 * sunrpc/rpcsvc/rquota.x: Likewise.
7622 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
7623 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7624 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7625 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7626 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7627 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7628 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7629 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7630 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7631 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7632 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7633 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7634 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7635 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7636 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7637 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7638 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7639 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7640 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7641 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7642 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7643 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7644 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
7645 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
7646 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7647 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7648 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7649 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
7650 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7651 * sysdeps/ieee754/s_lib_version.c: Likewise.
7652 * sysdeps/mach/hurd/check_fds.c: Likewise.
7653 * sysdeps/mach/hurd/getsockname.c: Likewise.
7654 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
7655 * sysdeps/mach/hurd/recvfrom.c: Likewise.
7656 * sysdeps/powerpc/bits/link.h: Likewise.
7657 * sysdeps/powerpc/dl-procinfo.c: Likewise.
7658 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
7659 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
7660 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
7661 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
7662 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7663 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
7664 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
7665 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
7666 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7667 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
7668 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
7669 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
7670 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7671 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7672 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7673 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
7674 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
7675 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7676 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7677 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7678 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
7679 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7680 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
7681 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
7682 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
7683 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
7684 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7685 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7686 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
7687 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
7688 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
7689 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7690 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7691 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
7692 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
7693 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
7694 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
7695 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
7696 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
7697 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
7698 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
7699 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
7700 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
7701 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
7702 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
7703 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
7704 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
7705 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
7706 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
7707 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7708 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7709 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
7710 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
7711 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
7712 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
7713 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
7714 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7715 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
7716 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
7717 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
7718 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
7719 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
7720 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
7721 * sysdeps/powerpc/sysdep.h: Likewise.
7722 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7723 * sysdeps/s390/s390-64/sub_n.S: Likewise.
7724 * sysdeps/sh/dl-trampoline.S: Likewise.
7725 * sysdeps/sh/memset.S: Likewise.
7726 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
7727 * sysdeps/sh/strlen.S: Likewise.
7728 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
7729 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
7730 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
7731 * sysdeps/sparc/sparc32/rem.S: Likewise.
7732 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
7733 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
7734 * sysdeps/sparc/sparc32/strchr.S: Likewise.
7735 * sysdeps/sparc/sparc32/udiv.S: Likewise.
7736 * sysdeps/sparc/sparc32/urem.S: Likewise.
7737 * sysdeps/sparc/sparc64/add_n.S: Likewise.
7738 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7739 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
7740 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
7741 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
7742 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
7743 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
7744 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
7745 * sysdeps/unix/bsd/times.c: Likewise.
7746 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
7747 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
7748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
7749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
7750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
7751 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
7752 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7753 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
7754 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
7755 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
7756 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
7757 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
7758 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
7759 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
7760 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
7761 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
7762 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
7763 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
7764 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
7765 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
7766 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
7767 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
7768 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
7769 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
7770 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
7771 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
7772 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
7773 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7774 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
7775 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
7776 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
7777 * sysdeps/x86_64/strcspn.S: Likewise.
7778
869378a5
RA
77792013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7780
7781 * locale/C-translit.h: Revert #include <stdint.h> because this is a
7782 generated file. Regenerate properly from gen-translit.pl.
7783 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
7784 locale/C-translit.h.
7785
840e2943
AS
77862013-06-05 Andreas Schwab <schwab@suse.de>
7787
7788 [BZ #15100]
7789 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
7790 week as 6 instead of -1.
7791 * time/tst-strptime.c (day_tests): Add test case.
7792
4c60cb0c
SP
77932013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7794
7795 * sysdeps/generic/math_private.h
7796 (libc_feholdexcept_setround_53bit): Replace with
7797 libc_feholdsetround_53bit.
7798 (libc_feupdateenv_53bit): Replace with
7799 libc_feresetround_53bit.
7800 (SET_RESTORE_ROUND_53BIT): Adjust.
7801
d180203e
SP
78022013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7803
96df079a
SP
7804 * string/test-strchrnul.c: Add copyright header.
7805
d180203e
SP
7806 * posix/tst-getaddrinfo4.c: Increase test timeout.
7807
8b0ccb2d
CD
78082013-06-03 Carlos O'Donell <carlos@redhat.com>
7809
7810 [BZ #15536]
7811 * math/libm-test.inc (MAX_EXP): Remove
7812 (MIN_EXP): Define.
7813 (ulp): Use MIN_EXP - MANT_DIG.
7814 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
7815
3b3c4d40
CD
78162013-05-31 Carlos O'Donell <carlos@redhat.com>
7817
7818 * po/be.po: Revert last change.
7819 * po/zh_CN.po: Likewise.
7820 * po/header.pot: Likewise.
7821
fab7ce3f
JM
78222013-05-31 Joseph Myers <joseph@codesourcery.com>
7823
7824 * Makefile ($(common-objpfx)linkobj/libc.so): Define
7825 link-libc-deps to empty as target-specific variable.
7826 * Makerules (link-libc-args): New variable.
7827 (libc-for-link): Likewise.
7828 (link-libc-deps): Likewise.
7829 (lib%.so): Depend on $(link-libc-deps). Link with
7830 $(link-libc-args).
7831 (build-module): Link with $(link-libc-args).
7832 (build-module-asneeded): Likewise.
7833 (build-module-helper-objlist): Filter out $(link-libc-deps) from
7834 list of objects.
7835 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
7836 target-specific variable.
7837 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
7838 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
7839 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
7840 libc.
7841 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
7842 libc and ld.so.
7843 ($(objpfx)libpcprofile.so): Likewise.
7844 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
7845 libc_nonshared.a.
7846 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
7847 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
7848 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
7849 $(link-libc-deps).
7850 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
7851 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
7852 * login/Makefile ($(objpfx)libutil.so): Likewise.
7853 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
7854 * math/Makefile ($(objpfx)libm.so): Likewise.
7855 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
7856 $(objpfx)libnsl.so): Define libc-for-link as target-specific
7857 variable instead of depending directly on libc.
7858 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
7859 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
7860 $(link-libc-deps).
7861 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
7862 libc.
7863 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
7864 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
7865 ($(objpfx)libanl.so): Likewise.
7866 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
7867 ld.so.
7868 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
7869 $(link-libc-deps).
7870 * sysdeps/i386/fpu/Makefile: Remove file.
7871 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
7872 ($(objpfx)libm.so): Remove dependency on ld.so.
7873
eca5920c
PF
78742013-05-30 Patsy Franklin <pfrankli@redhat.com>
7875
7876 [BZ # 15553]
7877 * nis/yp_xdr.c (XDRMAXNAME): Define.
7878 (XDRMAXRECORD): Define.
7879 (xdr_domainname): Use XDRMAXNAME.
7880 (xdr_mapname): Likewise.
7881 (xdr_peername): Likewise.
7882 (xdr_keydat): Use XDRMAXRECORD.
7883 (xdr_valdat): Likewise.
7884
78852013-05-30 Jeff Law <law@redhat.com>
96945714
JL
7886
7887 [BZ #14256]
7888 * manual/errno.texi (ESTALE): Update to account for more than
7889 just NFS file systems.
7890 * sysdeps/gnu/errlist.c: Regenerated.
7891
b9375348
SP
78922013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7893
7894 [BZ #15465]
7895 * elf/Makefile (tests): Add tst-null-argv.
7896 (modules-names): Add tst-null-argv-lib.
7897 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
7898 (tst-null-argv-ENV): Set environment for tst-null-argv.
7899 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
7900 (RTLD_PROGNAME): New macro.
7901 * elf/tst-null-argv.c: New test case.
7902 * elf/tst-null-argv-lib.c: Library for test case.
7903 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
7904 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
7905 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
7906 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
7907 * elf/dl-init.c (call_init): Likewise.
7908 (_dl_init): Likewise.
7909 * elf/dl-load.c (print_search_path): Likewise.
7910 (_dl_map_object): Likewise.
7911 * elf/dl-lookup.c (do_lookup_x): Likewise.
7912 (add_dependency): Likewise.
7913 (_dl_lookup_symbol_x): Likewise.
7914 (_dl_debug_bindings): Likewise.
7915 * elf/dl-open.c (_dl_show_scope): Likewise.
7916 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7917 * elf/dl-version.c (match_symbol): Likewise.
7918 (_dl_check_map_versions): Likewise.
7919 * elf/rtld.c (dl_main): Likewise.
7920 (print_unresolved): Use RTLD_PROGNAME.
7921 (print_missing_version): Likewise.
7922 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
7923 (elf_machine_rela): Likewise.
7924 * sysdeps/powerpc/powerpc32/dl-machine.c
7925 (__process_machine_rela): Likewise.
7926 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7927 Likewise.
7928 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
7929 Likewise.
7930 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
7931 Likewise.
7932 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7933 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
7934 Likewise.
7935 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
7936 Likewise.
7937 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7938
8a9f20c8
CD
79392013-05-28 Carlos O'Donell <carlos@redhat.com>
7940
7941 * po/be.po: Add descriptive title.
7942 * po/zh_CN.po: Likewise.
7943 * po/header.pot: Likewise.
7944
0e60d68e
MF
79452013-05-28 Mike Frysinger <vapier@gentoo.org>
7946
7947 * locale/programs/locarchive.c (create_archive): Inlucde fname in
7948 error message.
7949 (enlarge_archive): Likewise.
7950
56b672e9
BN
79512013-05-28 Ben North <ben@redfrontdoor.org>
7952
7953 * manual/arith.texi (frexp): It is the magnitude of the return
7954 value which lies in [0.5, 1), not the return value itself.
7955
5e056687
AZ
79562013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7957
7958 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7959
2b66ef5d
TS
79602013-05-26 Thomas Schwinge <thomas@codesourcery.com>
7961
528c2405
TS
7962 * stdio-common/bug26.c (main): Correct fscanf template.
7963
07b4c13d
TS
7964 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
7965 declare _dl_skip_args.
7966
ec9dd97c
TS
7967 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
7968 Don't declare.
7969
2b66ef5d
TS
7970 * manual/platform.texi: Add missing @end deftypefun.
7971
4f8dfe27
JM
79722013-05-24 Joseph Myers <joseph@codesourcery.com>
7973
0323d086
JM
7974 [BZ #15529]
7975 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
7976 bit of mantissa of 2^16382.
7977 * math/libm-test.inc (hypot_test_data): Add more tests.
7978
dd4259b9
JM
7979 * math/libm-test.inc: Add drem and pow10 to list of tested
7980 functions.
7981 (pow10_test): New function.
7982 (drem_test): Likewise.
7983 (drem_test_tonearest): Likewise.
7984 (drem_test_towardzero): Likewise.
7985 (drem_test_downward): Likewise.
7986 (drem_test_upward): Likewise.
7987 (main): Call the new functions.
7988
4f8dfe27
JM
7989 * math/libm-test.inc (finite_test_data): Remove.
7990 (finite_test): Run tests from isfinite_test_data.
7991 (gamma_test_data): Remove.
7992 (gamma_test): Run tests from lgamma_test_data.
7993 * sysdeps/i386/fpu/libm-test-ulps: Update.
7994 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7995
d116b7c4
AZ
79962013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7997
7998 * manual/platform.texi: Add PowerPC PPR function set documentation.
7999 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
8000 implementation.
8001
e96e3767
CD
80022013-05-24 Carlos O'Donell <carlos@redhat.com>
8003
8004 * math/libm-test.inc (MAX_EXP): Define.
8005 (ULPDIFF): Define.
8006 (ulp): New function.
8007 (check_float_internal): Use ULPDIFF.
8008 (cpow_test): Disable failing test.
8009 (check_ulp): Test ulp() implemetnation.
8010 (main): Call check_ulp before starting tests.
8011
b679a606
JM
80122013-05-24 Joseph Myers <joseph@codesourcery.com>
8013
e8bdba36
JM
8014 * math/gen-libm-test.pl (generate_testfile): Do not handle
8015 START_DATA and END_DATA.
8016 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
8017 END_DATA.
8018 (acos_tonearest_test_data): Likewise.
8019 (acos_towardzero_test_data): Likewise.
8020 (acos_downward_test_data): Likewise.
8021 (acos_upward_test_data): Likewise.
8022 (acosh_test_data): Likewise.
8023 (asin_test_data): Likewise.
8024 (asin_tonearest_test_data): Likewise.
8025 (asin_towardzero_test_data): Likewise.
8026 (asin_downward_test_data): Likewise.
8027 (asin_upward_test_data): Likewise.
8028 (asinh_test_data): Likewise.
8029 (atan_test_data): Likewise.
8030 (atanh_test_data): Likewise.
8031 (atan2_test_data): Likewise.
8032 (cabs_test_data): Likewise.
8033 (cacos_test_data): Likewise.
8034 (cacosh_test_data): Likewise.
8035 (carg_test_data): Likewise.
8036 (casin_test_data): Likewise.
8037 (casinh_test_data): Likewise.
8038 (catan_test_data): Likewise.
8039 (catanh_test_data): Likewise.
8040 (cbrt_test_data): Likewise.
8041 (ccos_test_data): Likewise.
8042 (ccosh_test_data): Likewise.
8043 (ceil_test_data): Likewise.
8044 (cexp_test_data): Likewise.
8045 (cimag_test_data): Likewise.
8046 (clog_test_data): Likewise.
8047 (clog10_test_data): Likewise.
8048 (conj_test_data): Likewise.
8049 (copysign_test_data): Likewise.
8050 (cos_test_data): Likewise.
8051 (cos_tonearest_test_data): Likewise.
8052 (cos_towardzero_test_data): Likewise.
8053 (cos_downward_test_data): Likewise.
8054 (cos_upward_test_data): Likewise.
8055 (cosh_test_data): Likewise.
8056 (cosh_tonearest_test_data): Likewise.
8057 (cosh_towardzero_test_data): Likewise.
8058 (cosh_downward_test_data): Likewise.
8059 (cosh_upward_test_data): Likewise.
8060 (cpow_test_data): Likewise.
8061 (cproj_test_data): Likewise.
8062 (creal_test_data): Likewise.
8063 (csin_test_data): Likewise.
8064 (csinh_test_data): Likewise.
8065 (csqrt_test_data): Likewise.
8066 (ctan_test_data): Likewise.
8067 (ctan_tonearest_test_data): Likewise.
8068 (ctan_towardzero_test_data): Likewise.
8069 (ctan_downward_test_data): Likewise.
8070 (ctan_upward_test_data): Likewise.
8071 (ctanh_test_data): Likewise.
8072 (ctanh_tonearest_test_data): Likewise.
8073 (ctanh_towardzero_test_data): Likewise.
8074 (ctanh_downward_test_data): Likewise.
8075 (ctanh_upward_test_data): Likewise.
8076 (erf_test_data): Likewise.
8077 (erfc_test_data): Likewise.
8078 (exp_test_data): Likewise.
8079 (exp_tonearest_test_data): Likewise.
8080 (exp_towardzero_test_data): Likewise.
8081 (exp_downward_test_data): Likewise.
8082 (exp_upward_test_data): Likewise.
8083 (exp10_test_data): Likewise.
8084 (exp2_test_data): Likewise.
8085 (expm1_test_data): Likewise.
8086 (fabs_test_data): Likewise.
8087 (fdim_test_data): Likewise.
8088 (finite_test_data): Likewise.
8089 (floor_test_data): Likewise.
8090 (fma_test_data): Likewise.
8091 (fma_towardzero_test_data): Likewise.
8092 (fma_downward_test_data): Likewise.
8093 (fma_upward_test_data): Likewise.
8094 (fmax_test_data): Likewise.
8095 (fmin_test_data): Likewise.
8096 (fmod_test_data): Likewise.
8097 (fpclassify_test_data): Likewise.
8098 (frexp_test_data): Likewise.
8099 (gamma_test_data): Likewise.
8100 (hypot_test_data): Likewise.
8101 (ilogb_test_data): Likewise.
8102 (isfinite_test_data): Likewise.
8103 (isgreater_test_data): Likewise.
8104 (isgreaterequal_test_data): Likewise.
8105 (isinf_test_data): Likewise.
8106 (isless_test_data): Likewise.
8107 (islessequal_test_data): Likewise.
8108 (islessgreater_test_data): Likewise.
8109 (isnan_test_data): Likewise.
8110 (isnormal_test_data): Likewise.
8111 (issignaling_test_data): Likewise.
8112 (isunordered_test_data): Likewise.
8113 (j0_test_data): Likewise.
8114 (j1_test_data): Likewise.
8115 (jn_test_data): Likewise.
8116 (ldexp_test_data): Likewise.
8117 (lgamma_test_data): Likewise.
8118 (lrint_test_data): Likewise.
8119 (lrint_tonearest_test_data): Likewise.
8120 (lrint_towardzero_test_data): Likewise.
8121 (lrint_downward_test_data): Likewise.
8122 (lrint_upward_test_data): Likewise.
8123 (llrint_test_data): Likewise.
8124 (llrint_tonearest_test_data): Likewise.
8125 (llrint_towardzero_test_data): Likewise.
8126 (llrint_downward_test_data): Likewise.
8127 (llrint_upward_test_data): Likewise.
8128 (log_test_data): Likewise.
8129 (log10_test_data): Likewise.
8130 (log1p_test_data): Likewise.
8131 (log2_test_data): Likewise.
8132 (logb_test_data): Likewise.
8133 (logb_downward_test_data): Likewise.
8134 (lround_test_data): Likewise.
8135 (llround_test_data): Likewise.
8136 (modf_test_data): Likewise.
8137 (nearbyint_test_data): Likewise.
8138 (nextafter_test_data): Likewise.
8139 (nexttoward_test_data): Likewise.
8140 (pow_test_data): Likewise.
8141 (pow_tonearest_test_data): Likewise.
8142 (pow_towardzero_test_data): Likewise.
8143 (pow_downward_test_data): Likewise.
8144 (pow_upward_test_data): Likewise.
8145 (remainder_test_data): Likewise.
8146 (remainder_tonearest_test_data): Likewise.
8147 (remainder_towardzero_test_data): Likewise.
8148 (remainder_downward_test_data): Likewise.
8149 (remainder_upward_test_data): Likewise.
8150 (remquo_test_data): Likewise.
8151 (rint_test_data): Likewise.
8152 (rint_tonearest_test_data): Likewise.
8153 (rint_towardzero_test_data): Likewise.
8154 (rint_downward_test_data): Likewise.
8155 (rint_upward_test_data): Likewise.
8156 (round_test_data): Likewise.
8157 (scalb_test_data): Likewise.
8158 (scalbn_test_data): Likewise.
8159 (scalbln_test_data): Likewise.
8160 (signbit_test_data): Likewise.
8161 (sin_test_data): Likewise.
8162 (sin_tonearest_test_data): Likewise.
8163 (sin_towardzero_test_data): Likewise.
8164 (sin_downward_test_data): Likewise.
8165 (sin_upward_test_data): Likewise.
8166 (sincos_test_data): Likewise.
8167 (sinh_test_data): Likewise.
8168 (sinh_tonearest_test_data): Likewise.
8169 (sinh_towardzero_test_data): Likewise.
8170 (sinh_downward_test_data): Likewise.
8171 (sinh_upward_test_data): Likewise.
8172 (sqrt_test_data): Likewise.
8173 (tan_test_data): Likewise.
8174 (tan_tonearest_test_data): Likewise.
8175 (tan_towardzero_test_data): Likewise.
8176 (tan_downward_test_data): Likewise.
8177 (tan_upward_test_data): Likewise.
8178 (tanh_test_data): Likewise.
8179 (tgamma_test_data): Likewise.
8180 (trunc_test_data): Likewise.
8181 (y0_test_data): Likewise.
8182 (y1_test_data): Likewise.
8183 (yn_test_data): Likewise.
8184 (significand_test_data): Likewise.
8185
b679a606
JM
8186 * math/gen-libm-test.pl (@functions): Remove variable.
8187 (generate_testfile): Don't handle START and END lines.
8188 * math/libm-test.inc (START): New macro.
8189 (END): Likewise.
8190 (END_COMPLEX): Likewise.
8191 (acos_test): Use END macro without arguments.
8192 (acos_test_tonearest): Likewise.
8193 (acos_test_towardzero): Likewise.
8194 (acos_test_downward): Likewise.
8195 (acos_test_upward): Likewise.
8196 (acosh_test): Likewise.
8197 (asin_test): Likewise.
8198 (asin_test_tonearest): Likewise.
8199 (asin_test_towardzero): Likewise.
8200 (asin_test_downward): Likewise.
8201 (asin_test_upward): Likewise.
8202 (asinh_test): Likewise.
8203 (atan_test): Likewise.
8204 (atanh_test): Likewise.
8205 (atan2_test): Likewise.
8206 (cabs_test): Likewise.
8207 (cacos_test): Use END_COMPLEX macro without arguments.
8208 (cacosh_test): Likewise.
8209 (carg_test): Use END macro without arguments.
8210 (casin_test): Use END_COMPLEX macro without arguments.
8211 (casinh_test): Likewise.
8212 (catan_test): Likewise.
8213 (catanh_test): Likewise.
8214 (cbrt_test): Use END macro without arguments.
8215 (ccos_test): Use END_COMPLEX macro without arguments.
8216 (ccosh_test): Likewise.
8217 (ceil_test): Use END macro without arguments.
8218 (cexp_test): Use END_COMPLEX macro without arguments.
8219 (cimag_test): Use END macro without arguments.
8220 (clog_test): Use END_COMPLEX macro without arguments.
8221 (clog10_test): Likewise.
8222 (conj_test): Likewise.
8223 (copysign_test): Use END macro without arguments.
8224 (cos_test): Likewise.
8225 (cos_test_tonearest): Likewise.
8226 (cos_test_towardzero): Likewise.
8227 (cos_test_downward): Likewise.
8228 (cos_test_upward): Likewise.
8229 (cosh_test): Likewise.
8230 (cosh_test_tonearest): Likewise.
8231 (cosh_test_towardzero): Likewise.
8232 (cosh_test_downward): Likewise.
8233 (cosh_test_upward): Likewise.
8234 (cpow_test): Use END_COMPLEX macro without arguments.
8235 (cproj_test): Likewise.
8236 (creal_test): Use END macro without arguments.
8237 (csin_test): Use END_COMPLEX macro without arguments.
8238 (csinh_test): Likewise.
8239 (csqrt_test): Likewise.
8240 (ctan_test): Likewise.
8241 (ctan_test_tonearest): Likewise.
8242 (ctan_test_towardzero): Likewise.
8243 (ctan_test_downward): Likewise.
8244 (ctan_test_upward): Likewise.
8245 (ctanh_test): Likewise.
8246 (ctanh_test_tonearest): Likewise.
8247 (ctanh_test_towardzero): Likewise.
8248 (ctanh_test_downward): Likewise.
8249 (ctanh_test_upward): Likewise.
8250 (erf_test): Use END macro without arguments.
8251 (erfc_test): Likewise.
8252 (exp_test): Likewise.
8253 (exp_test_tonearest): Likewise.
8254 (exp_test_towardzero): Likewise.
8255 (exp_test_downward): Likewise.
8256 (exp_test_upward): Likewise.
8257 (exp10_test): Likewise.
8258 (exp2_test): Likewise.
8259 (expm1_test): Likewise.
8260 (fabs_test): Likewise.
8261 (fdim_test): Likewise.
8262 (finite_test): Likewise.
8263 (floor_test): Likewise.
8264 (fma_test): Likewise.
8265 (fma_test_towardzero): Likewise.
8266 (fma_test_downward): Likewise.
8267 (fma_test_upward): Likewise.
8268 (fmax_test): Likewise.
8269 (fmin_test): Likewise.
8270 (fmod_test): Likewise.
8271 (fpclassify_test): Likewise.
8272 (frexp_test): Likewise.
8273 (gamma_test): Likewise.
8274 (hypot_test): Likewise.
8275 (ilogb_test): Likewise.
8276 (isfinite_test): Likewise.
8277 (isgreater_test): Likewise.
8278 (isgreaterequal_test): Likewise.
8279 (isinf_test): Likewise.
8280 (isless_test): Likewise.
8281 (islessequal_test): Likewise.
8282 (islessgreater_test): Likewise.
8283 (isnan_test): Likewise.
8284 (isnormal_test): Likewise.
8285 (issignaling_test): Likewise.
8286 (isunordered_test): Likewise.
8287 (j0_test): Likewise.
8288 (j1_test): Likewise.
8289 (jn_test): Likewise.
8290 (ldexp_test): Likewise.
8291 (lgamma_test): Likewise.
8292 (lrint_test): Likewise.
8293 (lrint_test_tonearest): Likewise.
8294 (lrint_test_towardzero): Likewise.
8295 (lrint_test_downward): Likewise.
8296 (lrint_test_upward): Likewise.
8297 (llrint_test): Likewise.
8298 (llrint_test_tonearest): Likewise.
8299 (llrint_test_towardzero): Likewise.
8300 (llrint_test_downward): Likewise.
8301 (llrint_test_upward): Likewise.
8302 (log_test): Likewise.
8303 (log10_test): Likewise.
8304 (log1p_test): Likewise.
8305 (log2_test): Likewise.
8306 (logb_test): Likewise.
8307 (logb_test_downward): Likewise.
8308 (lround_test): Likewise.
8309 (llround_test): Likewise.
8310 (modf_test): Likewise.
8311 (nearbyint_test): Likewise.
8312 (nextafter_test): Likewise.
8313 (nexttoward_test): Likewise.
8314 (pow_test): Likewise.
8315 (pow_test_tonearest): Likewise.
8316 (pow_test_towardzero): Likewise.
8317 (pow_test_downward): Likewise.
8318 (pow_test_upward): Likewise.
8319 (remainder_test): Likewise.
8320 (remainder_test_tonearest): Likewise.
8321 (remainder_test_towardzero): Likewise.
8322 (remainder_test_downward): Likewise.
8323 (remainder_test_upward): Likewise.
8324 (remquo_test): Likewise.
8325 (rint_test): Likewise.
8326 (rint_test_tonearest): Likewise.
8327 (rint_test_towardzero): Likewise.
8328 (rint_test_downward): Likewise.
8329 (rint_test_upward): Likewise.
8330 (round_test): Likewise.
8331 (scalb_test): Likewise.
8332 (scalbn_test): Likewise.
8333 (scalbln_test): Likewise.
8334 (signbit_test): Likewise.
8335 (sin_test): Likewise.
8336 (sin_test_tonearest): Likewise.
8337 (sin_test_towardzero): Likewise.
8338 (sin_test_downward): Likewise.
8339 (sin_test_upward): Likewise.
8340 (sincos_test): Likewise.
8341 (sinh_test): Likewise.
8342 (sinh_test_tonearest): Likewise.
8343 (sinh_test_towardzero): Likewise.
8344 (sinh_test_downward): Likewise.
8345 (sinh_test_upward): Likewise.
8346 (sqrt_test): Likewise.
8347 (tan_test): Likewise.
8348 (tan_test_tonearest): Likewise.
8349 (tan_test_towardzero): Likewise.
8350 (tan_test_downward): Likewise.
8351 (tan_test_upward): Likewise.
8352 (tanh_test): Likewise.
8353 (tgamma_test): Likewise.
8354 (trunc_test): Likewise.
8355 (y0_test): Likewise.
8356 (y1_test): Likewise.
8357 (yn_test): Likewise.
8358 (significand_test): Likewise.
8359
bae143d2
OB
83602013-05-24 Ondřej Bílka <neleai@seznam.cz>
8361
8362 [BZ #15381]
8363 * libio/genops.c (_IO_no_init): Initialize wide struct info.
8364
9323d39b
EM
83652013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
8366
d4ea44a0 8367 [BZ #14894]
9323d39b
EM
8368 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
8369 __ppc_mdoio and __ppc_mdoom.
8370 * manual/platform.texi: Document new functions __ppc_yield,
8371 __ppc_mdoio and __ppc_mdoom.
8372
13e23af7
CD
83732013-05-22 Carlos O'Donell <carlos@redhat.com>
8374
8375 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
8376 (main): Mention "tls" pseudo-hwcap is legacy.
8377 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
8378
351fe550
JM
83792013-05-22 Joseph Myers <joseph@codesourcery.com>
8380
8381 * math/gen-libm-test.pl (parse_args): Output only string of
8382 arguments as text for test name, not full call or descriptions of
8383 tests for extra outputs.
8384 (generate_testfile): Do not pass function name to parse_args.
8385 Generate this_func variable from START.
8386 * math/libm-test.inc (struct test_f_f_data): Rename test_name
8387 field to arg_str.
8388 (struct test_ff_f_data): Likewise.
8389 (test_ff_f_data_nexttoward): Likewise.
8390 (struct test_fi_f_data): Likewise.
8391 (struct test_fl_f_data): Likewise.
8392 (struct test_if_f_data): Likewise.
8393 (struct test_fff_f_data): Likewise.
8394 (struct test_c_f_data): Likewise.
8395 (struct test_f_f1_data): Likewise. Remove field extra_name.
8396 (struct test_fF_f1_data): Likewise.
8397 (struct test_ffI_f1_data): Likewise.
8398 (struct test_c_c_data): Rename test_name field to arg_str.
8399 (struct test_cc_c_data): Likewise.
8400 (struct test_f_i_data): Likewise.
8401 (struct test_ff_i_data): Likewise.
8402 (struct test_f_l_data): Likewise.
8403 (struct test_f_L_data): Likewise.
8404 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
8405 and extra2_name.
8406 (COMMON_TEST_SETUP): New macro.
8407 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
8408 (COMMON_TEST_CLEANUP): Likewise.
8409 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
8410 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
8411 macros.
8412 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
8413 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
8414 macros.
8415 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
8416 (RUN_TEST_fff_f): Take argument string. Call new setup and
8417 cleanup macros.
8418 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
8419 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
8420 macros.
8421 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
8422 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
8423 macros.
8424 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8425 (RUN_TEST_fF_f1): Take argument string. Call new setup and
8426 cleanup macros.
8427 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8428 (RUN_TEST_fI_f1): Take argument string. Call new setup and
8429 cleanup macros.
8430 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8431 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
8432 cleanup macros.
8433 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8434 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
8435 macros.
8436 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
8437 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
8438 macros.
8439 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
8440 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
8441 macros.
8442 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
8443 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
8444 cleanup macros.
8445 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
8446 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
8447 cleanup macros.
8448 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
8449 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
8450 macros.
8451 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
8452 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
8453 cleanup macros.
8454 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
8455 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
8456 macros.
8457 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
8458 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
8459 macros.
8460 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
8461 (RUN_TEST_fFF_11): Take argument string. Call new setup and
8462 cleanup macros.
8463 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
8464
85118d4d
EBM
84652013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8466
8467 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
8468 to _sifields.sigfault.
8469 (si_addr_lsb): Define new macro.
8470 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8471 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8472 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
8473
7a44c18f
CD
84742013-05-03 Carlos O'Donell <carlos at redhat.com>
8475
8476 [BZ #15441]
8477 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
8478 returns -1.
8479 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
8480 null return -1.
8481 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
8482 loading the domain.
8483
b50a7181
JM
84842013-05-22 Joseph Myers <joseph@codesourcery.com>
8485
8486 * math/gen-libm-test.pl (parse_args): Do not include expected
8487 result in test name.
8488 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
8489 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8490 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8491 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8492 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8493 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8494
051063c8
SP
84952013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8496
3ce9e010
SP
8497 * benchtests/Makefile: Sort function entries.
8498
051063c8
SP
8499 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
8500 tanh, asinh, acosh, atanh.
8501 * benchtests/acos-inputs: New file.
8502 * benchtests/acosh-inputs: New file.
8503 * benchtests/asin-inputs: New file.
8504 * benchtests/asinh-inputs: New file.
8505 * benchtests/atanh-inputs: New file.
8506 * benchtests/cosh-inputs: New file.
8507 * benchtests/log-inputs: New file.
8508 * benchtests/sinh-inputs: New file.
8509 * benchtests/tanh-inputs: New file.
8510
47c22455
DL
85112013-05-21 Dmitry V. Levin <ldv@altlinux.org>
8512
8513 [BZ #15339]
8514 * posix/tst-getaddrinfo4.c: New test.
8515 * posix/Makefile (tests): Add it.
8516
3d04f5db
SP
85172013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8518
8519 [BZ #15339]
8520 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
8521 when no services were used.
8522 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
8523 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
8524
d5dd6189
AS
85252013-05-21 Andreas Schwab <schwab@suse.de>
8526
8527 [BZ #15014]
8528 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
8529 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
8530 successful.
8531 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
8532 redundant variable declarations and reallocation of buffer when
8533 parsing as IPv6 address. Always set NSS status when called from
8534 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
8535 buffer too small. Correct computation of needed size.
8536 * nss/Makefile (tests): Add test-digits-dots.
8537 * nss/test-digits-dots.c: New test.
8538
fef94eab
SP
85392013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8540
8541 * benchtests/Makefile: Remove instructions for adding
8542 benchmark tests.
8543 * benchtests/README: New file to explain how to execute and
8544 enhance the benchmark tests.
8545
e39adf43
AS
85462013-05-21 Andreas Schwab <schwab@suse.de>
8547
8548 [BZ #15493]
8549 * setjmp/Makefile (tests): Add tst-sigsetjmp.
8550 * setjmp/tst-sigsetjmp.c: New test.
8551
b2b671b6
OB
85522013-05-20 Ondřej Bílka <neleai@seznam.cz>
8553
8554 * sysdeps/x86_64/memset.S (memset): New implementation.
8555 (__bzero): Likewise.
8556 (__memset_tail): New function.
8557
2d48b41c
OB
85582013-05-20 Ondřej Bílka <neleai@seznam.cz>
8559
8560 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
8561 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
8562 __memcpy_sse2_unaligned ifunc selection.
8563 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8564 Add memcpy-sse2-unaligned.S.
8565 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8566 Add: __memcpy_sse2_unaligned.
8567
f16cc3eb
JM
85682013-05-19 Joseph Myers <joseph@codesourcery.com>
8569
3e694268
JM
8570 [BZ #15490]
8571 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8572 math_force_eval before restoring floating-point envrionment.
8573 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
8574 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
8575 Likewise.
8576 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
8577 <math_private.h>.
8578 (__nearbyintl): Use math_force_eval before restoring
8579 floating-point environment.
8580 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
8581
db62a907
JM
8582 * math/gen-libm-test.pl (special_functions): Remove.
8583 (parse_args): Don't handle TEST_extra. Handle functions with no
8584 return value.
8585 * math/libm-test.inc (struct test_sincos_data): Replace with
8586 struct test_fFF_11_data.
8587 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
8588 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
8589 (sincos_test_data): Change element type to struct
8590 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
8591 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
8592 RUN_TEST_LOOP_sincos.
8593 * math/README.libm-test: Don't mention special handling of
8594 individual functions.
8595 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
8596 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8597 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8598 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8599 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8600 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8601
f16cc3eb
JM
8602 * math/gen-libm-test.pl (get_variable): Remove function.
8603 (parse_args): Don't show pointer parameters to call in test
8604 names. Use "extra output N" in test names for extra outputs
8605 rather than naming variables.
8606
3779b5b6
JM
86072013-05-18 Joseph Myers <joseph@codesourcery.com>
8608
2ee094ff
JM
8609 [BZ #15488]
8610 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
8611 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
8612 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
8613 double tests.
8614 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
8615 disable.
8616 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
8617 check_long_double.
8618
3779b5b6
JM
8619 * math/gen-libm-test.pl (@tests): Remove variable.
8620 ($count): Likewise.
8621 (new_test): Remove function.
8622 (show_exceptions): New function.
8623 (special_functions): Use show_exceptions instead of new_test.
8624 (parse_args): Likewise.
8625 (generate_testfile): Pass only function name in generated call to
8626 print_max_error or print_complex_max_error.
8627 (get_ulps): Do not handle complex tests specially.
8628 (output_test): Rename to ...
8629 (get_all_ulps_for_test): ... this. Return a string rather than
8630 printing to a file. Require ulps to be present.
8631 (output_ulps): Generate arrays rather than #defines.
8632 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
8633 (struct ulp_data): New type.
8634 (BUILD_COMPLEX_ULP): Remove macro.
8635 (compare_ulp_data): New function.
8636 (find_ulps): Likewise.
8637 (find_test_ulps): Likewise.
8638 (find_function_ulps): Likewise.
8639 (find_complex_function_ulps): Likewise.
8640 (print_max_error): Determine allowed ulps using
8641 find_function_ulps.
8642 (print_complex_max_error): Determine allowed ulps using
8643 find_complex_function_ulps.
8644 (check_float_internal): Determine max ulps using find_test_ulps.
8645 (check_float): Do not take max_ulp parameter. Update call to
8646 check_float_internal.
8647 (check_complex): Likewise.
8648 (check_int): Do not take max_ulp parameter.
8649 (check_long): Likewise.
8650 (check_bool): Likewise.
8651 (check_longlong): Likewise.
8652 (struct test_f_f_data): Remove max_ulp field.
8653 (struct test_ff_f_data): Likewise.
8654 (struct test_ff_f_data_nexttoward): Likewise.
8655 (struct test_fi_f_data): Likewise.
8656 (struct test_fl_f_data): Likewise.
8657 (struct test_if_f_data): Likewise.
8658 (struct test_fff_f_data): Likewise.
8659 (struct test_c_f_data): Likewise.
8660 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
8661 (struct test_fF_f1_data): Likewise.
8662 (struct test_ffI_f1_data): Likewise.
8663 (struct test_c_c_data): Remove max_ulp field.
8664 (struct test_cc_c_data): Likewise.
8665 (struct test_f_i_data): Likewise.
8666 (struct test_ff_i_data): Likewise.
8667 (struct test_f_l_data): Likewise.
8668 (struct test_f_L_data): Likewise.
8669 (struct test_sincos_data): Likewise.
8670 (RUN_TEST_f_f): Do not handle ulps.
8671 (RUN_TEST_LOOP_f_f): Likewise.
8672 (RUN_TEST_2_f): Likewise.
8673 (RUN_TEST_LOOP_2_f): Likewise.
8674 (RUN_TEST_fff_f): Likewise.
8675 (RUN_TEST_LOOP_fff_f): Likewise.
8676 (RUN_TEST_c_f): Likewise.
8677 (RUN_TEST_LOOP_c_f): Likewise.
8678 (RUN_TEST_f_f1): Likewise.
8679 (RUN_TEST_LOOP_f_f1): Likewise.
8680 (RUN_TEST_fF_f1): Likewise.
8681 (RUN_TEST_LOOP_fF_f1): Likewise.
8682 (RUN_TEST_fI_f1): Likewise.
8683 (RUN_TEST_LOOP_fI_f1): Likewise.
8684 (RUN_TEST_ffI_f1): Likewise.
8685 (RUN_TEST_LOOP_ffI_f1): Likewise.
8686 (RUN_TEST_c_c): Likewise.
8687 (RUN_TEST_LOOP_c_c): Likewise.
8688 (RUN_TEST_cc_c): Likewise.
8689 (RUN_TEST_LOOP_cc_c): Likewise.
8690 (RUN_TEST_f_i): Likewise.
8691 (RUN_TEST_LOOP_f_i): Likewise.
8692 (RUN_TEST_f_i_tg): Likewise.
8693 (RUN_TEST_LOOP_f_i_tg): Likewise.
8694 (RUN_TEST_ff_i_tg): Likewise.
8695 (RUN_TEST_LOOP_ff_i_tg): Likewise.
8696 (RUN_TEST_f_b): Likewise.
8697 (RUN_TEST_LOOP_f_b): Likewise.
8698 (RUN_TEST_f_b_tg): Likewise.
8699 (RUN_TEST_LOOP_f_b_tg): Likewise.
8700 (RUN_TEST_f_l): Likewise.
8701 (RUN_TEST_LOOP_f_l): Likewise.
8702 (RUN_TEST_f_L): Likewise.
8703 (RUN_TEST_LOOP_f_L): Likewise.
8704 (RUN_TEST_sincos): Likewise.
8705 (RUN_TEST_LOOP_sincos): Likewise.
8706
8269107f
JM
87072013-05-17 Joseph Myers <joseph@codesourcery.com>
8708
bb38759d
JM
8709 [BZ #15480]
8710 [BZ #15485]
8711 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
8712 main case of finite arguments, set rounding mode to FE_TONEAREST
8713 and discard exceptions.
8714 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
8715 exceptions.
8716 (remainder_tonearest_test_data): New variable.
8717 (remainder_test_tonearest): New function.
8718 (remainder_towardzero_test_data): New variable.
8719 (remainder_test_towardzero): New function.
8720 (remainder_downward_test_data): New variable.
8721 (remainder_test_downward): New function.
8722 (remainder_upward_test_data): New variable.
8723 (remainder_test_upward): New function.
8724 (main): Call the new test functions.
8725
a00bdcf0
JM
8726 * math/libm-test.inc (struct test_f_f1_data): Remove field
8727 extra_init.
8728 (struct test_fF_f1_data): Likewise.
8729 (struct test_ffI_f1_data): Likewise.
8730 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
8731 based on value of EXTRA_EXPECTED.
8732 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8733 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
8734 EXTRA_VAR based on value of EXTRA_EXPECTED.
8735 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8736 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
8737 EXTRA_VAR based on value of EXTRA_EXPECTED.
8738 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8739 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
8740 EXTRA_VAR based on value of EXTRA_EXPECTED.
8741 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8742 * math/gen-libm-test.pl (parse_args): Don't output initializers
8743 for extra output values.
8744
de407f79
JM
8745 * math/libm-test.inc (check_int): Expect result to be exactly
8746 equal to expected value and do not handle ulps.
8747 (check_long): Likewise.
8748 (check_longlong): Likewise.
8749
8269107f
JM
8750 * math/libm-test.inc (ceil_test_data): Test for "inexact"
8751 exceptions.
8752 (cimag_test_data): Likewise.
8753 (conj_test_data): Likewise.
8754 (copysign_test_data): Likewise.
8755 (cproj_test_data): Likewise.
8756 (creal_test_data): Likewise.
8757 (fabs_test_data): Likewise.
8758 (fdim_test_data): Likewise.
8759 (finite_test_data): Likewise.
8760 (floor_test_data): Likewise.
8761 (fmax_test_data): Likewise.
8762 (fmin_test_data): Likewise.
8763 (fmod_test_data): Likewise.
8764 (fpclassify_test_data): Likewise.
8765 (frexp_test_data): Likewise.
8766 (ilogb_test_data): Likewise.
8767 (isfinite_test_data): Likewise.
8768 (isgreater_test_data): Likewise.
8769 (isgreaterequal_test_data): Likewise.
8770 (isinf_test_data): Likewise.
8771 (isless_test_data): Likewise.
8772 (islessequal_test_data): Likewise.
8773 (islessgreater_test_data): Likewise.
8774 (isnan_test_data): Likewise.
8775 (isnormal_test_data): Likewise.
8776 (issignaling_test_data): Likewise.
8777 (isunordered_test_data): Likewise.
8778 (ldexp_test_data): Likewise.
8779 (lrint_test_data): Likewise.
8780 (lrint_test_data) [TEST_FLOAT]: Disable one test.
8781 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
8782 (lrint_tonearest_test_data): Test for "inexact" exceptions.
8783 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
8784 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
8785 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
8786 test input.
8787 (lrint_towardzero_test_data): Test for "inexact" exceptions.
8788 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
8789 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
8790 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
8791 that test input.
8792 (lrint_downward_test_data): Test for "inexact" exceptions.
8793 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
8794 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
8795 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
8796 test input.
8797 (lrint_upward_test_data): Test for "inexact" exceptions.
8798 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
8799 test input.
8800 (llrint_test_data): Test for "inexact" exceptions.
8801 (llrint_test_data) [TEST_FLOAT]: Disable one test.
8802 (llrint_tonearest_test_data): Test for "inexact" exceptions.
8803 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
8804 (llrint_towardzero_test_data): Test for "inexact" exceptions.
8805 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
8806 (llrint_downward_test_data): Test for "inexact" exceptions.
8807 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
8808 (llrint_upward_test_data): Test for "inexact" exceptions.
8809 (logb_test_data): Likewise.
8810 (logb_downward_test_data): Likewise.
8811 (nextafter_test_data): Likewise.
8812 (nexttoward_test_data): Likewise.
8813 (remainder_test_data): Likewise.
8814 (remquo_test_data): Likewise.
8815 (scalbn_test_data): Likewise.
8816 (scalbln_test_data): Likewise.
8817 (signbit_test_data): Likewise.
8818 (sqrt_test_data): Likewise.
8819 (significand_test_data): Likewise.
8820
48a18de1
SP
88212013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8822
8823 [BZ #15424]
8824 * benchtests/bench-modf.c (struct args): Mark arg0 as
8825 volatile.
8826 * scripts/bench.pl: Mark members of struct args as volatile.
8827
13d3b41a
AZ
88282013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8829
68191c1d 8830 [BZ # 15497]
13d3b41a
AZ
8831 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
8832 negative infinity on POWER6 or lower.
8833 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
8834
2848b105
MR
88352013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
8836
8837 [BZ #15442]
8838 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
8839 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
8840 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
8841 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
8842 (_FP_SETQNAN): New macro.
8843 (_FP_SETQNAN_SEMIRAW): Likewise.
8844 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
8845 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
8846 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
8847 (FP_EXTEND): Use _FP_FRAC_SNANP.
8848 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
8849 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
8850 into account.
8851 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
8852 New macro.
8853 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
8854 Likewise.
8855
323e5cb7
JM
88562013-05-16 Joseph Myers <joseph@codesourcery.com>
8857
c58b274f
JM
8858 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
8859 with DIVIDE_BY_ZERO_EXCEPTION.
8860 (gamma_test_data): Likewise.
8861 (lgamma_test_data): Likewise.
8862 (log_test_data): Likewise.
8863 (log10_test_data): Likewise.
8864 (log2_test_data): Likewise.
8865 (tgamma_test_data): Likewise.
8866
0ab34904
JM
8867 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
8868 (acos_test_tonearest): Likewise.
8869 (acos_test_towardzero): Likewise.
8870 (acos_test_downward): Likewise.
8871 (acos_test_upward): Likewise.
8872 (acosh_test): Likewise.
8873 (asin_test): Likewise.
8874 (asin_test_tonearest): Likewise.
8875 (asin_test_towardzero): Likewise.
8876 (asin_test_downward): Likewise.
8877 (asin_test_upward): Likewise.
8878 (asinh_test): Likewise.
8879 (atan_test): Likewise.
8880 (atanh_test): Likewise.
8881 (atan2_test): Likewise.
8882 (cabs_test): Likewise.
8883 (cacos_test): Likewise.
8884 (cacosh_test): Likewise.
8885 (casin_test): Likewise.
8886 (casinh_test): Likewise.
8887 (catan_test): Likewise.
8888 (catanh_test): Likewise.
8889 (cbrt_test): Likewise.
8890 (ccos_test): Likewise.
8891 (ccosh_test): Likewise.
8892 (cexp_test): Likewise.
8893 (clog_test): Likewise.
8894 (clog10_test): Likewise.
8895 (cos_test): Likewise.
8896 (cos_test_tonearest): Likewise.
8897 (cos_test_towardzero): Likewise.
8898 (cos_test_downward): Likewise.
8899 (cos_test_upward): Likewise.
8900 (cosh_test): Likewise.
8901 (cosh_test_tonearest): Likewise.
8902 (cosh_test_towardzero): Likewise.
8903 (cosh_test_downward): Likewise.
8904 (cosh_test_upward): Likewise.
8905 (cpow_test): Likewise.
8906 (csin_test): Likewise.
8907 (csinh_test): Likewise.
8908 (csqrt_test): Likewise.
8909 (ctan_test): Likewise.
8910 (ctan_test_tonearest): Likewise.
8911 (ctan_test_towardzero): Likewise.
8912 (ctan_test_downward): Likewise.
8913 (ctan_test_upward): Likewise.
8914 (ctanh_test): Likewise.
8915 (ctanh_test_tonearest): Likewise.
8916 (ctanh_test_towardzero): Likewise.
8917 (ctanh_test_downward): Likewise.
8918 (ctanh_test_upward): Likewise.
8919 (erf_test): Likewise.
8920 (erfc_test): Likewise.
8921 (exp_test): Likewise.
8922 (exp_test_tonearest): Likewise.
8923 (exp_test_towardzero): Likewise.
8924 (exp_test_downward): Likewise.
8925 (exp_test_upward): Likewise.
8926 (exp10_test): Likewise.
8927 (exp2_test): Likewise.
8928 (expm1_test): Likewise.
8929 (fmod_test): Likewise.
8930 (gamma_test): Likewise.
8931 (hypot_test): Likewise.
8932 (j0_test): Likewise.
8933 (j1_test): Likewise.
8934 (jn_test): Likewise.
8935 (lgamma_test): Likewise.
8936 (log_test): Likewise.
8937 (log10_test): Likewise.
8938 (log1p_test): Likewise.
8939 (log2_test): Likewise.
8940 (logb_test_downward): Likewise.
8941 (pow_test): Likewise.
8942 (pow_test_tonearest): Likewise.
8943 (pow_test_towardzero): Likewise.
8944 (pow_test_downward): Likewise.
8945 (pow_test_upward): Likewise.
8946 (remainder_test): Likewise.
8947 (remquo_test): Likewise.
8948 (sin_test): Likewise.
8949 (sin_test_tonearest): Likewise.
8950 (sin_test_towardzero): Likewise.
8951 (sin_test_downward): Likewise.
8952 (sin_test_upward): Likewise.
8953 (sincos_test): Likewise.
8954 (sinh_test): Likewise.
8955 (sinh_test_tonearest): Likewise.
8956 (sinh_test_towardzero): Likewise.
8957 (sinh_test_downward): Likewise.
8958 (sinh_test_upward): Likewise.
8959 (sqrt_test): Likewise.
8960 (tan_test): Likewise.
8961 (tan_test_tonearest): Likewise.
8962 (tan_test_towardzero): Likewise.
8963 (tan_test_downward): Likewise.
8964 (tan_test_upward): Likewise.
8965 (tanh_test): Likewise.
8966 (tgamma_test): Likewise.
8967 (y0_test): Likewise.
8968 (y1_test): Likewise.
8969 (yn_test): Likewise.
8970
323e5cb7
JM
8971 * math/gen-libm-test.pl (adjust_arg): Remove function.
8972 (special_function): Remove argument $in_func. Only handle
8973 generating output for tables of tests, not inside functions.
8974 (parse_args): Likewise.
8975 (generate_testfile): Remove variable $in_func. Update call to
8976 parse_args.
8977 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
8978 (MINUS_ZERO_INIT): Rename macro to minus_zero.
8979 (PLUS_INFTY_INIT): Rename macro to plus_infty.
8980 (MINUS_INFTY_INIT): Rename macro to minus_infty.
8981 (QNAN_VALUE_INIT): Rename macro to qnan_value.
8982 (MAX_VALUE_INIT): Rename macro to max_value.
8983 (MIN_VALUE_INIT): Rename macro to min_value.
8984 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
8985 (plus_zero): Remove variable.
8986 (minus_zero): Likewise.
8987 (plus_infty): Likewise.
8988 (minus_infty): Likewise.
8989 (qnan_value): Likewise.
8990 (max_value): Likewise.
8991 (min_value): Likewise.
8992 (min_subnorm_value): Likewise.
8993
e054f494
RA
89942013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8995
8996 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
8997 uint64_t or uint32_t usage.
8998 * crypt/sha256-block.c: Likewise.
8999 * crypt/sha256-crypt.c: Likewise.
9000 * crypt/sha256.c: Likewise.
9001 * crypt/sha512-block.c: Likewise.
9002 * crypt/sha512-crypt.c: Likewise.
9003 * crypt/sha512.c: Likewise.
9004 * debug/backtrace-tst.c: Likewise.
9005 * debug/pcprofiledump.c: Likewise.
9006 * elf/cache.c: Likewise.
9007 * elf/dl-cache.c: Likewise.
9008 * elf/dl-misc.c: Likewise.
9009 * elf/dl-profile.c: Likewise.
9010 * elf/dl-support.c: Likewise.
9011 * elf/ldconfig.c: Likewise.
9012 * elf/sprof.c: Likewise.
9013 * iconv/dummy-repertoire.c: Likewise.
9014 * iconv/iconv_charmap.c: Likewise.
9015 * iconv/skeleton.c: Likewise.
9016 * iconvdata/8bit-generic.c: Likewise.
9017 * iconvdata/cp737.h: Likewise.
9018 * iconvdata/cp775.h: Likewise.
9019 * iconvdata/ibm1008.h: Likewise.
9020 * iconvdata/ibm1025.h: Likewise.
9021 * iconvdata/ibm1046.h: Likewise.
9022 * iconvdata/ibm1097.h: Likewise.
9023 * iconvdata/ibm1112.h: Likewise.
9024 * iconvdata/ibm1122.h: Likewise.
9025 * iconvdata/ibm1123.h: Likewise.
9026 * iconvdata/ibm1124.h: Likewise.
9027 * iconvdata/ibm1129.h: Likewise.
9028 * iconvdata/ibm1130.h: Likewise.
9029 * iconvdata/ibm1132.h: Likewise.
9030 * iconvdata/ibm1133.h: Likewise.
9031 * iconvdata/ibm1137.h: Likewise.
9032 * iconvdata/ibm1140.h: Likewise.
9033 * iconvdata/ibm1141.h: Likewise.
9034 * iconvdata/ibm1142.h: Likewise.
9035 * iconvdata/ibm1143.h: Likewise.
9036 * iconvdata/ibm1144.h: Likewise.
9037 * iconvdata/ibm1145.h: Likewise.
9038 * iconvdata/ibm1146.h: Likewise.
9039 * iconvdata/ibm1147.h: Likewise.
9040 * iconvdata/ibm1148.h: Likewise.
9041 * iconvdata/ibm1149.h: Likewise.
9042 * iconvdata/ibm1153.h: Likewise.
9043 * iconvdata/ibm1154.h: Likewise.
9044 * iconvdata/ibm1155.h: Likewise.
9045 * iconvdata/ibm1156.h: Likewise.
9046 * iconvdata/ibm1157.h: Likewise.
9047 * iconvdata/ibm1158.h: Likewise.
9048 * iconvdata/ibm1160.h: Likewise.
9049 * iconvdata/ibm1161.h: Likewise.
9050 * iconvdata/ibm1162.h: Likewise.
9051 * iconvdata/ibm1163.h: Likewise.
9052 * iconvdata/ibm1164.h: Likewise.
9053 * iconvdata/ibm1166.h: Likewise.
9054 * iconvdata/ibm1167.h: Likewise.
9055 * iconvdata/ibm12712.h: Likewise.
9056 * iconvdata/ibm1390.h: Likewise.
9057 * iconvdata/ibm1399.h: Likewise.
9058 * iconvdata/ibm16804.h: Likewise.
9059 * iconvdata/ibm4517.h: Likewise.
9060 * iconvdata/ibm4899.h: Likewise.
9061 * iconvdata/ibm4909.h: Likewise.
9062 * iconvdata/ibm4971.h: Likewise.
9063 * iconvdata/ibm5347.h: Likewise.
9064 * iconvdata/ibm803.h: Likewise.
9065 * iconvdata/ibm856.h: Likewise.
9066 * iconvdata/ibm901.h: Likewise.
9067 * iconvdata/ibm902.h: Likewise.
9068 * iconvdata/ibm9030.h: Likewise.
9069 * iconvdata/ibm9066.h: Likewise.
9070 * iconvdata/ibm921.h: Likewise.
9071 * iconvdata/ibm922.h: Likewise.
9072 * iconvdata/ibm9448.h: Likewise.
9073 * iconvdata/isiri-3342.h: Likewise.
9074 * iconvdata/jis0201.h: Likewise.
9075 * include/link.h: Likewise.
9076 * include/netdb.h: Likewise.
9077 * inet/check_native.c: Likewise.
9078 * inet/check_pf.c: Likewise.
9079 * inet/getipv4sourcefilter.c: Likewise.
9080 * inet/getnameinfo.c: Likewise.
9081 * inet/getsourcefilter.c: Likewise.
9082 * inet/htonl.c: Likewise.
9083 * inet/setipv4sourcefilter.c: Likewise.
9084 * inet/setsourcefilter.c: Likewise.
9085 * inet/test-inet6_opt.c: Likewise.
9086 * inet/tst-network.c: Likewise.
9087 * locale/C-collate.c: Likewise.
9088 * locale/C-ctype.c: Likewise.
9089 * locale/C-time.c: Likewise.
9090 * locale/C-translit.h: Likewise.
9091 * locale/loadarchive.c: Likewise.
9092 * locale/programs/3level.h: Likewise.
9093 * locale/programs/charmap.c: Likewise.
9094 * locale/programs/charmap.h: Likewise.
9095 * locale/programs/ld-address.c: Likewise.
9096 * locale/programs/ld-collate.c: Likewise.
9097 * locale/programs/ld-ctype.c: Likewise.
9098 * locale/programs/ld-identification.c: Likewise.
9099 * locale/programs/ld-measurement.c: Likewise.
9100 * locale/programs/ld-messages.c: Likewise.
9101 * locale/programs/ld-monetary.c: Likewise.
9102 * locale/programs/ld-name.c: Likewise.
9103 * locale/programs/ld-numeric.c: Likewise.
9104 * locale/programs/ld-paper.c: Likewise.
9105 * locale/programs/ld-telephone.c: Likewise.
9106 * locale/programs/ld-time.c: Likewise.
9107 * locale/programs/linereader.c: Likewise.
9108 * locale/programs/locale.c: Likewise.
9109 * locale/programs/locarchive.c: Likewise.
9110 * locale/programs/locfile.h: Likewise.
9111 * locale/programs/repertoire.c: Likewise.
9112 * locale/programs/simple-hash.c: Likewise.
9113 * locale/programs/simple-hash.h: Likewise.
9114 * malloc/memusage.c: Likewise.
9115 * malloc/memusagestat.c: Likewise.
9116 * nis/nis_defaults.c: Likewise.
9117 * nis/nis_hash.c: Likewise.
9118 * nis/nis_print.c: Likewise.
9119 * nis/nis_xdr.c: Likewise.
9120 * nscd/connections.c: Likewise.
9121 * nscd/hstcache.c: Likewise.
9122 * nscd/nscd_gethst_r.c: Likewise.
9123 * nscd/nscd_getserv_r.c: Likewise.
9124 * nscd/nscd_helper.c: Likewise.
9125 * nscd/servicescache.c: Likewise.
9126 * nss/makedb.c: Likewise.
9127 * nss/nss_db/db-XXX.c: Likewise.
9128 * nss/nss_db/db-initgroups.c: Likewise.
9129 * nss/nss_db/db-netgrp.c: Likewise.
9130 * nss/nss_files/files-network.c: Likewise.
9131 * nss/nss_files/files-parse.c: Likewise.
9132 * posix/bug-regex5.c: Likewise.
9133 * posix/fnmatch_loop.c: Likewise.
9134 * posix/regcomp.c: Likewise.
9135 * posix/regexec.c: Likewise.
9136 * posix/tst-rfc3484-2.c: Likewise.
9137 * posix/tst-rfc3484-3.c: Likewise.
9138 * posix/tst-rfc3484.c: Likewise.
9139 * resolv/nss_dns/dns-canon.c: Likewise.
9140 * resolv/nss_dns/dns-network.c: Likewise.
9141 * resolv/res_init.c: Likewise.
9142 * resolv/res_mkquery.c: Likewise.
9143 * resolv/tst-aton.c: Likewise.
9144 * stdlib/cxa_atexit.c: Likewise.
9145 * stdlib/cxa_finalize.c: Likewise.
9146 * stdlib/gen-fpioconst.c: Likewise.
9147 * stdlib/strtol_l.c: Likewise.
9148 * string/tst-endian.c: Likewise.
9149 * sunrpc/auth_des.c: Likewise.
9150 * sunrpc/clnt_udp.c: Likewise.
9151 * sunrpc/rtime.c: Likewise.
9152 * sunrpc/svcauth_des.c: Likewise.
9153 * sunrpc/xdr.c: Likewise.
9154 * sunrpc/xdr_intXX_t.c: Likewise.
9155 * sunrpc/xdr_rec.c: Likewise.
9156 * sysdeps/generic/ldconfig.h: Likewise.
9157 * sysdeps/generic/ldsodefs.h: Likewise.
9158 * sysdeps/generic/memusage.h: Likewise.
9159 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
9160 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
9161 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
9162 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9163 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9164 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9165 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
9166 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
9167 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9168 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9169 * sysdeps/posix/getaddrinfo.c: Likewise.
9170 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9171 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9172 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9173 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9174 * sysdeps/powerpc/test-gettimebase.c: Likewise.
9175 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9176 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
9177 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
9178 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
9179 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
9180 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9181 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9182 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
9183 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
9184 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
9185 * sysdeps/x86_64/dl-tls.h: Likewise.
9186 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
9187 * time/alt_digit.c: Likewise.
9188 * time/era.c: Likewise.
9189 * wcsmbs/tst-c16c32-1.c: Likewise.
9190
8c75f674
JM
91912013-05-16 Joseph Myers <joseph@codesourcery.com>
9192
9193 * math/libm-test.inc (struct test_sincos_data): New type.
9194 (RUN_TEST_LOOP_sincos): New macro.
9195 (sincos_test_data): New variable.
9196 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
9197
e6e49e59
RH
91982013-05-16 Richard Henderson <rth@redhat.com>
9199
9200 * math/atest-exp2.c (LIMB64): New macro.
9201 (CONSTSZ): New macro.
9202 (mp_exp1, mp_exp_m1, mp_log2): New variables.
9203 (hexdig): Move ...
9204 (print_mpn_fp): ... to function scope.
9205 (read_mpn_hex): Remove.
9206 (get_log2): Remove.
9207 (exp2_mpn): Use mp_log2.
9208 (main): Use mp_exp1.
9209
15c7c18d
JM
92102013-05-16 Joseph Myers <joseph@codesourcery.com>
9211
105a07df
JM
9212 * math/libm-test.inc: Remove comment about not testing "inexact"
9213 exceptions.
9214 (INEXACT_EXCEPTION): New macro.
9215 (NO_INEXACT_EXCEPTION): Likewise.
9216 (INVALID_EXCEPTION_OK): Update value.
9217 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9218 (OVERFLOW_EXCEPTION_OK): Likewise.
9219 (UNDERFLOW_EXCEPTION_OK): Likewise.
9220 (IGNORE_ZERO_INF_SIGN): Likewise.
9221 (ERRNO_UNCHANGED): Likewise.
9222 (ERRNO_EDOM): Likewise.
9223 (ERRNO_ERANGE): Likewise.
9224 (test_exceptions): Handle testing "inexact" exceptions.
9225 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
9226 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
9227 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
9228 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
9229 INEXACT_EXCEPTION.
9230 (rint_towardzero_test_data): Likewise.
9231 (rint_downward_test_data): Likewise.
9232 (rint_upward_test_data): Likewise.
9233
e9eee333
JM
9234 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
9235 with OVERFLOW_EXCEPTION.
9236 (exp10_test_data): Likewise.
9237 (exp2_test_data): Likewise.
9238 (expm1_test_data): Likewise.
9239 (lgamma_test_data): Likewise.
9240 (pow_test_data): Likewise.
9241 (tgamma_test_data): Likewise.
9242 (yn_test_data): Remove duplicate test of overflow.
9243
1c38ff73
JM
9244 * math/libm-test.inc (struct test_cc_c_data): New type.
9245 (RUN_TEST_LOOP_cc_c): New macro.
9246 (cpow_test_data): New variable.
9247 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
9248
15c7c18d
JM
9249 * math/libm-test.inc (struct test_f_L_data): New type.
9250 (RUN_TEST_LOOP_f_L): New macro.
9251 (llrint_test_data): New variable.
9252 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
9253 (llrint_tonearest_test_data): New variable.
9254 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
9255 (llrint_towardzero_test_data): New variable.
9256 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
9257 (llrint_downward_test_data): New variable.
9258 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
9259 (llrint_upward_test_data): New variable.
9260 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
9261 (llround_test_data): New variable.
9262 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
9263
f137ff13
PC
92642013-05-13 Peter Collingbourne <pcc@google.com>
9265
9266 * math/atest-exp2.c (get_log2): Remove const attribute.
9267
3608cb24
JM
92682013-05-15 Joseph Myers <joseph@codesourcery.com>
9269
9270 * math/libm-test.inc (struct test_f_l_data): New type.
9271 (RUN_TEST_LOOP_f_l): New macro.
9272 (lrint_test_data): New variable.
9273 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
9274 (lrint_tonearest_test_data): New variable.
9275 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
9276 (lrint_towardzero_test_data): New variable.
9277 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
9278 (lrint_downward_test_data): New variable.
9279 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
9280 (lrint_upward_test_data): New variable.
9281 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
9282 (lround_test_data): New variable.
9283 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
9284
39b1f617
PC
92852013-05-15 Peter Collingbourne <pcc@google.com>
9286
1deff3dc
PC
9287 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
9288 (EXTRACT_WORDS64) Use where appropriate.
9289 (INSERT_WORDS64) Likewise.
9290
791f3ba0
PC
9291 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
9292 constraints with x constraints.
9293 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
9294
39b1f617
PC
9295 * malloc/obstack.c (_obstack_compat): Add initializer.
9296
12fba011
EM
92972013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
9298
9299 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
9300 si_trapno and add si_addr_lsb to _sifields.sigfault.
9301 (si_trapno): Remove macro.
9302 (si_addr_lsb): Define new macro.
9303 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
9304
d369f531
JM
93052013-05-15 Joseph Myers <joseph@codesourcery.com>
9306
b861c6c4
JM
9307 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
9308 instead of TEST_f_l.
9309 (llrint_test_tonearest): Likewise.
9310 (llrint_test_towardzero): Likewise.
9311 (llrint_test_downward): Likewise.
9312 (llrint_test_upward): Likewise.
9313 (llround_test): Likewise.
9314
7abeee12
JM
9315 * math/libm-test.inc (struct test_f_i_data): Add comment.
9316 (RUN_TEST_LOOP_f_b): New macro.
9317 (RUN_TEST_LOOP_f_b_tg): Likewise.
9318 (finite_test_data): New variable.
9319 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
9320 (isfinite_test_data): New variable.
9321 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9322 (isinf_test_data): New variable.
9323 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9324 (isnan_test_data): New variable.
9325 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9326 (isnormal_test_data): New variable.
9327 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9328 (issignaling_test_data): New variable.
9329 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9330 (signbit_test_data): New variable.
9331 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9332
cbe8c4d3
JM
9333 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
9334 with INVALID_EXCEPTION.
9335 (acosh_test_data): Likewise.
9336 (asin_test_data): Likewise.
9337 (atanh_test_data): Likewise.
9338 (fmod_test_data): Likewise.
9339 (log_test_data): Likewise.
9340 (log10_test_data): Likewise.
9341 (log2_test_data): Likewise.
9342 (pow_test_data): Likewise.
9343 (sqrt_test_data): Likewise.
9344 (y0_test_data): Likewise.
9345 (y1_test_data): Likewise.
9346 (yn_test_data): Likewise.
9347
5575c0e5
JM
9348 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
9349 function contents.
9350
d369f531
JM
9351 * math/libm-test.inc (struct test_ff_i_data): New type.
9352 (RUN_TEST_LOOP_ff_i_tg): New macro.
9353 (isgreater_test_data): New variable.
9354 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9355 (isgreaterequal_test_data): New variable.
9356 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9357 (isless_test_data): New variable.
9358 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9359 (islessequal_test_data): New variable.
9360 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9361 (islessgreater_test_data): New variable.
9362 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9363 (isunordered_test_data): New variable.
9364 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9365
781fd748
DM
93662013-05-14 David S. Miller <davem@davemloft.net>
9367
9368 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9369
87aa21df
JM
93702013-05-14 Joseph Myers <joseph@codesourcery.com>
9371
5e908270
JM
9372 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
9373
f71172e5
JM
9374 * math/libm-test.inc (struct test_fF_f1_data): Change type of
9375 extra_test to int.
9376 (struct test_f_i_data): Change type of max_ulp to int.
9377
8cfa635a
JM
9378 * math/libm-test.inc (test_ffI_f1_data): New type.
9379 (RUN_TEST_LOOP_ffI_f1): New macro.
9380 (remquo_test_data): New variable.
9381 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
9382
2bcb36b2
JM
9383 * setjmp/tst-setjmp-fp.c: New file.
9384 * setjmp/Makefile (tests): Add tst-setjmp-fp.
9385 (link-libm): New variable.
9386 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
9387
acbd839a
JM
9388 * math/libm-test.inc (struct test_f_i_data): New type.
9389 (RUN_TEST_LOOP_f_i): New macro.
9390 (RUN_TEST_LOOP_f_i_tg): Likewise.
9391 (fpclassify_test_data): New variable.
9392 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
9393 (ilogb_test_data): New variable.
9394 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
9395
e414d745
JM
9396 * math/libm-test.inc (scalbln_test): Correct function name in END
9397 call.
9398
d9c2a0fd
JM
9399 * math/libm-test.inc (struct test_f_f1_data): Add comment.
9400 (RUN_TEST_LOOP_fI_f1): New macro.
9401 (frexp_test_data): New variable.
9402 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
9403
9dc9095d
JM
9404 * math/libm-test.inc (struct test_fF_f1_data): New type.
9405 (RUN_TEST_LOOP_fF_f1): New macro.
9406 (modf_test_data): New variable.
9407 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
9408
87aa21df
JM
9409 * math/libm-test.inc (struct test_f_f1_data): New type.
9410 (RUN_TEST_LOOP_f_f1): New macro.
9411 (gamma_test_data): New variable.
9412 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9413 (lgamma_test_data): New variable.
9414 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9415
141af660
CD
94162013-05-13 Carlos O'Donell <carlos@redhat.com>
9417
9418 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
9419 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
9420 (main): Comment "tls" pseudo-hwcap.
9421
6d33265c
JM
94222013-05-13 Joseph Myers <joseph@codesourcery.com>
9423
68fc074c
JM
9424 * math/libm-test.inc (struct test_fl_f_data): New type.
9425 (RUN_TEST_LOOP_fl_f): New variable.
9426 (scalbln_test_data): New variable.
9427 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
9428
243216e1
JM
9429 * math/libm-test.inc (struct test_fi_f_data): New type.
9430 (RUN_TEST_LOOP_fi_f): New macro.
9431 (ldexp_test_data): New variable.
9432 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
9433 (scalbn_test_data): New variable.
9434 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
9435
6a1992e2
JM
9436 * math/libm-test.inc (struct test_c_f_data): New type.
9437 (RUN_TEST_LOOP_c_f): New macro.
9438 (cabs_test_data): New variable.
9439 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
9440 (carg_test_data): New variable.
9441 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
9442 (cimag_test_data): New variable.
9443 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
9444 (creal_test_data): New variable.
9445 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
9446
0e400df5
JM
9447 * math/libm-test.inc (struct test_if_f_data): New type.
9448 (RUN_TEST_LOOP_if_f): New macro.
9449 (jn_test_data): New variable.
9450 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
9451 (yn_test_data): New variable.
9452 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
9453
6d33265c
JM
9454 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
9455
f98ece5f
AZ
94562013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9457
9458 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
9459 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
9460
0f7d347b
SP
94612013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
9462
43fe811b
SP
9463 * benchtests/Makefile (CPPFLAGS-nonlib): Add
9464 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
9465 (bench-deps): Add bench-timing.h.
9466 * benchtests-bench-skeleton.c: Include bench-timing.h.
9467 (main): Use TIMING_* macros instead of clock_gettime.
9468 * benchtests/bench-timing.h: New file.
9469
0f7d347b
SP
9470 [BZ #14582]
9471 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
9472 Renamed from _LIB_VERSION.
9473 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
9474
601a3a5f
JM
94752013-05-12 Joseph Myers <joseph@codesourcery.com>
9476
4f184d30
JM
9477 * math/libm-test.inc (struct test_fff_f_data): New type.
9478 (RUN_TEST_LOOP_fff_f): New macro.
9479 (fma_test_data): New variable.
9480 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
9481 (fma_towardzero_test_data): New variable.
9482 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
9483 (fma_downward_test_data): New variable.
9484 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
9485 (fma_upward_test_data): New variable.
9486 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
9487
08198877
JM
9488 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
9489 (struct test_c_c_data): New type.
9490 (RUN_TEST_LOOP_c_c): New macro.
9491 (cacos_test_data): New variable.
9492 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
9493 (cacosh_test_data): New variable.
9494 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
9495 (casin_test_data): New variable.
9496 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
9497 (casinh_test_data): New variable.
9498 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
9499 (catan_test_data): New variable.
9500 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
9501 (catanh_test_data): New variable.
9502 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
9503 (ccos_test_data): New variable.
9504 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
9505 (ccosh_test_data): New variable.
9506 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
9507 (cexp_test_data): New variable.
9508 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
9509 (clog_test_data): New variable.
9510 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
9511 (clog10_test_data): New variable.
9512 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
9513 (conj_test_data): New variable.
9514 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
9515 (cproj_test_data): New variable.
9516 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
9517 (csin_test_data): New variable.
9518 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
9519 (csinh_test_data): New variable.
9520 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
9521 (csqrt_test_data): New variable.
9522 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
9523 (ctan_test_data): New variable.
9524 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
9525 (ctan_tonearest_test_data): New variable.
9526 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9527 (ctan_towardzero_test_data): New variable.
9528 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9529 (ctan_downward_test_data): New variable.
9530 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9531 (ctan_upward_test_data): New variable.
9532 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9533 (ctanh_test_data): New variable.
9534 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
9535 (ctanh_tonearest_test_data): New variable.
9536 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9537 (ctanh_towardzero_test_data): New variable.
9538 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9539 (ctanh_downward_test_data): New variable.
9540 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9541 (ctanh_upward_test_data): New variable.
9542 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9543 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
9544 of BUILD_COMPLEX.
9545
601a3a5f
JM
9546 * math/libm-test.inc (struct test_ff_f_data): New type.
9547 (struct test_ff_f_data_nexttoward): Likewise.
9548 (RUN_TEST_LOOP_2_f): New macro.
9549 (RUN_TEST_LOOP_ff_f): Likewise.
9550 (atan2_test_data): New variable.
9551 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
9552 (copysign_test_data): New variable.
9553 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
9554 (fdim_test_data): New variable.
9555 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
9556 (fmax_test_data): New variable.
9557 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
9558 (fmin_test_data): New variable.
9559 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
9560 (fmod_test_data): New variable.
9561 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
9562 (hypot_test_data): New variable.
9563 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
9564 (nextafter_test_data): New variable.
9565 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
9566 (nexttoward_test_data): New variable.
9567 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
9568 (pow_test_data): New variable.
9569 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
9570 (pow_tonearest_test_data): New variable.
9571 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
9572 (pow_towardzero_test_data): New variable.
9573 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
9574 (pow_downward_test_data): New variable.
9575 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
9576 (pow_upward_test_data): New variable.
9577 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
9578 (remainder_test_data): New variable.
9579 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
9580 (scalb_test_data): New variable.
9581 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
9582 * sysdeps/i386/fpu/libm-test-ulps: Update.
9583
74c57478
JM
95842013-05-11 Joseph Myers <joseph@codesourcery.com>
9585
8329e4da
JM
9586 * math/libm-test.inc (fma_test): Use max_value instead of local
9587 variable fltmax.
9588 (nextafter_test): Likewise.
9589
74c57478
JM
9590 * math/libm-test.inc (acos_towardzero_test_data): New variable.
9591 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9592 (acos_downward_test_data): New variable.
9593 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9594 (acos_upward_test_data): New variable.
9595 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9596 (acosh_test_data): New variable.
9597 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
9598 (asin_test_data): New variable.
9599 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
9600 (asin_tonearest_test_data): New variable.
9601 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9602 (asin_towardzero_test_data): New variable.
9603 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9604 (asin_downward_test_data): New variable.
9605 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9606 (asin_upward_test_data): New variable.
9607 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9608 (asinh_test_data): New variable.
9609 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
9610 (atan_test_data): New variable.
9611 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
9612 (atanh_test_data): New variable.
9613 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
9614 (cbrt_test_data): New variable.
9615 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
9616 (ceil_test_data): New variable.
9617 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
9618 (cos_test_data): New variable.
9619 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
9620 (cos_tonearest_test_data): New variable.
9621 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9622 (cos_towardzero_test_data): New variable.
9623 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9624 (cos_downward_test_data): New variable.
9625 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9626 (cos_upward_test_data): New variable.
9627 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9628 (cosh_test_data): New variable.
9629 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
9630 (cosh_tonearest_test_data): New variable.
9631 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9632 (cosh_towardzero_test_data): New variable.
9633 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9634 (cosh_downward_test_data): New variable.
9635 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9636 (cosh_upward_test_data): New variable.
9637 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9638 (erf_test_data): New variable.
9639 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
9640 (erfc_test_data): New variable.
9641 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
9642 (exp_test_data): New variable.
9643 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
9644 (exp_tonearest_test_data): New variable.
9645 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9646 (exp_towardzero_test_data): New variable.
9647 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9648 (exp_downward_test_data): New variable.
9649 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9650 (exp_upward_test_data): New variable.
9651 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9652 (exp10_test_data): New variable.
9653 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
9654 (exp2_test_data): New variable.
9655 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
9656 (expm1_test_data): New variable.
9657 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
9658 (fabs_test_data): New variable.
9659 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
9660 (floor_test_data): New variable.
9661 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
9662 (j0_test_data): New variable.
9663 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
9664 (j1_test_data): New variable.
9665 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
9666 (log_test_data): New variable.
9667 (log_test): Run tests with RUN_TEST_LOOP_f_f.
9668 (log10_test_data): New variable.
9669 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
9670 (log1p_test_data): New variable.
9671 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
9672 (log2_test_data): New variable.
9673 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
9674 (logb_test_data): New variable.
9675 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
9676 (logb_downward_test_data): New variable.
9677 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9678 (nearbyint_test_data): New variable.
9679 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
9680 (rint_test_data): New variable.
9681 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
9682 (rint_tonearest_test_data): New variable.
9683 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9684 (rint_towardzero_test_data): New variable.
9685 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9686 (rint_downward_test_data): New variable.
9687 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9688 (rint_upward_test_data): New variable.
9689 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9690 (round_test_data): New variable.
9691 (round_test): Run tests with RUN_TEST_LOOP_f_f.
9692 (sin_test_data): New variable.
9693 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
9694 (sin_tonearest_test_data): New variable.
9695 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9696 (sin_towardzero_test_data): New variable.
9697 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9698 (sin_downward_test_data): New variable.
9699 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9700 (sin_upward_test_data): New variable.
9701 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9702 (sinh_test_data): New variable.
9703 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
9704 (sinh_tonearest_test_data): New variable.
9705 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9706 (sinh_towardzero_test_data): New variable.
9707 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9708 (sinh_downward_test_data): New variable.
9709 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9710 (sinh_upward_test_data): New variable.
9711 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9712 (sqrt_test_data): New variable.
9713 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
9714 (tan_test_data): New variable.
9715 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
9716 (tan_tonearest_test_data): New variable.
9717 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9718 (tan_towardzero_test_data): New variable.
9719 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9720 (tan_downward_test_data): New variable.
9721 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9722 (tan_upward_test_data): New variable.
9723 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9724 (tanh_test_data): New variable.
9725 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
9726 (tgamma_test_data): New variable.
9727 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
9728 (trunc_test_data): New variable.
9729 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
9730 (y0_test_data): New variable.
9731 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
9732 (y1_test_data): New variable.
9733 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
9734 (significand_test_data): New variable.
9735 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
9736
7187d844
CG
97372013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
9738
9739 [BZ #12387]
9740 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
9741
f63fae73
PT
97422013-05-10 Pino Toscano <toscano.pino@tiscali.it>
9743
9744 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
9745
8a67a4b3
AJ
97462013-05-10 Andreas Jaeger <aj@suse.de>
9747
9748 [BZ #15448]
9749 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
9750 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
9751
51df539d
JM
97522013-05-10 Joseph Myers <joseph@codesourcery.com>
9753
9754 * math/gen-libm-test.pl (adjust_arg): New function.
9755 (special_functions): Handle generating output in both functions
9756 and arrays.
9757 (parse_args): Likewise.
9758 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
9759 $in_func argument to parse_args.
9760 * math/libm-test.inc (struct test_f_f_data): New type.
9761 (IF_ROUND_INIT_): New macro.
9762 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
9763 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
9764 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
9765 (IF_ROUND_INIT_FE_UPWARD): Likewise.
9766 (ROUND_RESTORE_): Likewise.
9767 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
9768 (ROUND_RESTORE_FE_TONEAREST): Likewise.
9769 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
9770 (ROUND_RESTORE_FE_UPWARD): Likewise.
9771 (RUN_TEST_LOOP_f_f): New macro.
9772 (acos_test_data): New variable.
9773 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
9774 (acos_tonearest_test_data): New variable.
9775 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9776
5c637fe5
SP
97772013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9778
9779 * benchtests/bench-skeleton.c (startup): Fix coding style.
9780
ab2b9461
JM
97812013-05-10 Joseph Myers <joseph@codesourcery.com>
9782
9783 [BZ #6809]
9784 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
9785 negative infinity argument.
9786 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
9787 negative infinity argument.
9788 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
9789 negative infinity argument.
9790 * math/libm-test.inc (tgamma_test): Expect errno to be set for
9791 domain errors.
9792
4c0fe6fe
FW
97932013-05-10 Florian Weimer <fweimer@redhat.com>
9794
9795 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
9796 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
9797 * iconv/iconv_prog.c (main): Likewise.
9798 * locale/programs/charmap-dir.c (charmap_readdir)
9799 (fopen_uncompressed): Likewise.
9800 * locale/programs/locfile.c (siblings_uncached)
9801 (write_locale_data): Use lstat64 instead of lstat.
9802 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
9803 stat.
9804
a3375d29
AJ
98052013-05-10 Andreas Jaeger <aj@suse.de>
9806
9807 [BZ #15395]
9808 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
9809 localization.
9810 Include <locale.h>.
9811
36129722
CD
98122013-05-09 Carlos O'Donell <carlos@redhat.com>
9813
9814 * elf/dl-close.c (_dl_close_worker): Add comments.
9815
faa7f811
JM
98162013-05-09 Joseph Myers <joseph@codesourcery.com>
9817
ed41ffef
JM
9818 [BZ #15359]
9819 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
9820 high part of pi/2.
9821 (__ieee754_rem_pio2l): Update comments.
9822
d0213cd0
JM
9823 [BZ #15429]
9824 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
9825 high part of pi/2.
9826 (__ieee754_rem_pio2l): Update comments.
9827
0d3e777a
JM
9828 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
9829 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
9830
24f56066
JM
9831 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
9832 M_PI_4l.
9833
faa7f811
JM
9834 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
9835 (M_PI_34_LOG10El): Likewise.
9836 (M_PI2_LOG10El): Likewise.
9837 (M_PI4_LOG10El): Likewise.
9838 (M_PI_LOG10El): Likewise.
9839
e9a5e0fd
AZ
98402013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9841
9842 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9843
d8cd06db
JM
98442013-05-08 Joseph Myers <joseph@codesourcery.com>
9845
a0d9f9d7
JM
9846 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
9847 (MINUS_ZERO_INIT): Likewise.
9848 (PLUS_INFTY_INIT): Likewise.
9849 (MINUS_INFTY_INIT): Likewise.
9850 (QNAN_VALUE_INIT): Likewise.
9851 (MAX_VALUE_INIT): Likewise.
9852 (MIN_VALUE_INIT): Likewise.
9853 (MIN_SUBNORM_VALUE_INIT): Likewise.
9854 (plus_zero): Initialize with PLUS_ZERO_INIT.
9855 (minus_zero): Initialize with MINUS_ZERO_INIT.
9856 (plus_infty): Initialize with PLUS_INFTY_INIT.
9857 (minus_infty): Initialize with MINUS_INFTY_INIT.
9858 (qnan_value): Initialize with QNAN_VALUE_INIT.
9859 (max_value): Initialize with MAX_VALUE_INIT.
9860 (min_value): Initialize with MIN_VALUE_INIT.
9861 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
9862
ae08db3b
JM
9863 * math/libm-test.inc (RUN_TEST_if_f): New macro.
9864 (jn_test): Use TEST_if_f instead of TEST_ff_f.
9865 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
9866 (yn_test): Use TEST_if_f instead of TEST_ff_f.
9867
f44bf14a
JM
9868 * math/libm-test.inc (RUN_TEST_f_f): New macro.
9869 (RUN_TEST_2_f): Likewise.
9870 (RUN_TEST_ff_f): Likewise.
9871 (RUN_TEST_fi_f): Likewise.
9872 (RUN_TEST_fl_f): Likewise.
9873 (RUN_TEST_fff_f): Likewise.
9874 (RUN_TEST_c_f): Likewise.
9875 (RUN_TEST_f_f1): Likewise.
9876 (RUN_TEST_fF_f1): Likewise.
9877 (RUN_TEST_fI_f1): Likewise.
9878 (RUN_TEST_ffI_f1): Likewise.
9879 (RUN_TEST_c_c): Likewise.
9880 (RUN_TEST_cc_c): Likewise.
9881 (RUN_TEST_f_i): Likewise.
9882 (RUN_TEST_f_i_tg): Likewise.
9883 (RUN_TEST_ff_i_tg): Likewise.
9884 (RUN_TEST_f_b): Likewise.
9885 (RUN_TEST_f_b_tg): Likewise.
9886 (RUN_TEST_f_l): Likewise.
9887 (RUN_TEST_f_L): Likewise.
9888 (RUN_TEST_sincos): Likewise.
9889 * math/gen-libm-test.pl (new_test): Take new argument to indicate
9890 whether to show exceptions. Do not include ");\n" in return
9891 value.
9892 (special_functions): Output call to RUN_TEST_sincos instead of
9893 check_float calls. Update calls to new_test.
9894 (parse_args): Output call to single RUN_TEST_* macro instead of
9895 check_* calls and other assignments. Update calls to new_test.
9896
d8cd06db
JM
9897 [BZ #2546]
9898 [BZ #2560]
9899 [BZ #5159]
9900 [BZ #15426]
9901 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
9902 input to result for tgamma overflow.
9903 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
9904 (gamma_coeff): New variable.
9905 (NCOEFF): New macro.
9906 (gamma_positive): New function.
9907 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
9908 underflow here. Use gamma_positive instead of exp (lgamma) for
9909 other arguments.
9910 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
9911 (gamma_coeff): New variable.
9912 (NCOEFF): New macro.
9913 (gammaf_positive): New function.
9914 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
9915 underflow here. Use gamma_positive instead of exp (lgamma) for
9916 other arguments.
9917 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
9918 (gamma_coeff): New variable.
9919 (NCOEFF): New macro.
9920 (gammal_positive): New function.
9921 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
9922 underflow here. Use gamma_positive instead of exp (lgamma) for
9923 other arguments.
9924 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
9925 (gamma_coeff): New variable.
9926 (NCOEFF): New macro.
9927 (gammal_positive): New function.
9928 (__ieee754_gammal_r): Handle positive infinity, overflow and
9929 underflow here. Handle NaN the same as positive infinity. Remove
9930 check x < 0xffffffff for negative integers. Use gamma_positive
9931 instead of exp (lgamma) for other arguments.
9932 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
9933 (gamma_coeff): New variable.
9934 (NCOEFF): New macro.
9935 (gammal_positive): New function.
9936 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
9937 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
9938 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
9939 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
9940 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
9941 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
9942 * sysdeps/generic/math_private.h (__gamma_productf): New
9943 prototype.
9944 (__gamma_product): Likewise.
9945 (__gamma_productl): Likewise.
9946 * math/Makefile (libm-calls): Add gamma_product.
9947 * math/libm-test.inc (tgamma_test): Add more tests.
9948 * sysdeps/i386/fpu/libm-test-ulps: Update.
9949 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9950
bb7cf681
OB
99512013-05-08 Ondřej Bílka <neleai@seznam.cz>
9952
9953 * benchtests/bench-skeleton.c (main): Preheat CPU.
9954
ba853947
AJ
99552013-05-07 Aurelien Jarno <aurelien@aurel32.net>
9956
9957 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
9958
8347c74c
RM
99592013-05-07 Roland McGrath <roland@hack.frob.com>
9960
9961 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
9962 and _dl_skip_args_internal.
9963
e8dd4791
CD
99642013-05-07 Carlos O'Donell <carlos@redhat.com>
9965
9966 * manual/message.texi (Message Translation): Talk about users.
9967 Message to key mapping impacts design.
9968
c7405830
RM
99692013-05-06 Roland McGrath <roland@hack.frob.com>
9970
a9173057
RM
9971 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
9972
976e2f03
RM
9973 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
9974
9723ffc5
RM
9975 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
9976 * sysdeps/wordsize-64/glob64.c: ... here.
9977
962e6658
RM
9978 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
9979 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
9980 New macros.
9981
ee586a6d
RM
9982 * debug/getlogin_r_chk.c: Moved to ...
9983 * login/getlogin_r_chk.c: ... here.
9984 * debug/Makefile (routines): Move getlogin_r_chk to ...
9985 * login/Makefile (routines): ... here.
9986 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
9987 * login/Versions (libc: GLIBC_2.4): ... here.
9988
355f9165
RM
9989 * io/poll.c (__poll): Renamed from poll.
9990 Add libc_hidden_def.
9991 (poll): Define as weak alias.
9992
bd9ffde6
RM
9993 * debug/ptsname_r_chk.c: Moved to ...
9994 * login/ptsname_r_chk.c: ... here.
9995 * debug/Makefile (routines): Move ptsname_r_chk to ...
9996 * login/Makefile (routines): ... here.
9997 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
9998 * login/Versions (libc: GLIBC_2.4): ... here.
9999
8fb16a04
RM
10000 * posix/getlogin.c: Moved to ...
10001 * login/getlogin.c: ... here.
10002 * posix/getlogin_r.c: Moved to ...
10003 * login/getlogin_r.c: ... here.
10004 * posix/getlogin_r.c: Moved to ...
10005 * login/getlogin_r.c: ... here.
10006 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
10007 * login/Makefile (routines): ... here.
10008 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
10009 * login/Versions (libc: GLIBC_2.0): ... here.
10010
b99b892f
RM
10011 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
10012 (setrlimit): Define as weak alias.
10013
c7405830
RM
10014 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
10015 Call __ names for open, ftruncate, and close.
10016 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
10017 (truncate): Define as weak alias.
10018
5bf96de5
JM
100192013-05-06 Joseph Myers <joseph@codesourcery.com>
10020
9ea3513c
JM
10021 * math/gen-libm-test.pl (parse_args): Initialize x before each
10022 test of frexp, modf and remquo.
10023
5bf96de5
JM
10024 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
10025 test signgam value.
10026
16e616a7
AZ
100272013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10028
10029 [BZ #15418]
10030 [BZ #15419]
10031 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
10032 internal tests.
10033 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10034
d5e82754
RM
100352013-05-06 Roland McGrath <roland@hack.frob.com>
10036
10037 * elf/dl-writev.h: New file.
10038 * elf/dl-misc.c: Include it.
10039 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
10040 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
10041
a7548d41
JM
100422013-05-04 Joseph Myers <joseph@codesourcery.com>
10043
b7dab1e4
JM
10044 * math/libm-test.inc (noXFails): Remove variable.
10045 (noXPasses): Likewise.
10046 (BUILD_COMPLEX_INT): Remove macro.
10047 (print_screen): Remove xfail argument.
10048 (print_screen_max_error): Likewise.
10049 (update_stats): Likewise.
10050 (print_max_error): Likewise. Update calls to other affected
10051 functions.
10052 (print_complex_max_error): Likewise.
10053 (test_single_exception): Update calls to print_screen.
10054 (test_single_errno): Likewise.
10055 (check_float_internal): Remove xfail argument. Update calls to
10056 other affected functions.
10057 (check_float): Likewise.
10058 (check_complex): Likewise.
10059 (check_int): Likewise.
10060 (check_long): Likewise.
10061 (check_bool): Likewise.
10062 (check_longlong): Likewise.
10063 (main): Don't print noXFails and noXPasses.
10064 * math/gen-libm-test.pl (top level): Don't mention expected
10065 failure handling in comment.
10066 (new_test): Don't handle expected failures.
10067 (parse_args): Don't mention expected failure handling in comment.
10068 (generate_testfile): Don't handle expected failures.
10069 (parse_ulps): Likewise.
10070 (print_ulps_file): Likewise.
10071 (get_failure): Remove function.
10072 (output_test): Don't handle expected failures.
10073 * make/README.libm-test: Don't mention expected failure handling.
10074
a7548d41
JM
10075 * math/libm-test.inc (plus_zero): Make const. Add initializer.
10076 (minus_zero): Likewise.
10077 (plus_infty): Likewise.
10078 (minus_infty): Likewise.
10079 (qnan_value): Likewise.
10080 (max_value): Likewise.
10081 (min_value): Likewise.
10082 (min_subnorm_value): Likewise.
10083 (initialize): Do not initialize those variables dynamically.
10084
60bfd54c
RM
100852013-05-03 Roland McGrath <roland@hack.frob.com>
10086
cc0e6ed8
RM
10087 * io/open.c (__open_2): Moved to ...
10088 * io/open_2.c: ... this new file.
10089 * io/open64.c (__open64_2): Moved to ...
10090 * io/open64_2.c: ... this new file.
10091 * io/openat.c (__openat_2): Moved to ...
10092 * io/openat_2.c: ... this new file.
10093 * io/openat64.c (__openat64_2): Moved to ...
10094 * io/openat64_2.c: ... this new file.
10095 * io/Makefile (routines): Add them.
10096 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
10097 * sysdeps/unix/sysv/linux/open_2.c: File removed.
10098 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
10099 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
10100 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
10101 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
10102 (__openat64): Add hidden_ver.
10103 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
10104 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
10105
60bfd54c
RM
10106 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
10107 Separately conditionalize setting of GLRO(dl_sysinfo) so
10108 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
10109 as well, but the actual setting is only under [NEED_DL_SYSINFO].
10110
83e7640f
AZ
101112013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10112
10113 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
10114 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
10115 definition.
10116 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
10117 * sysdeps/unix/sysv/linux/powerpc/init-first.c
10118 (_libc_vdso_platform_setup): Add __vdso_time initialization.
10119 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
10120 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
10121
d5dc2af3
JM
101222013-05-03 Joseph Myers <joseph@codesourcery.com>
10123
c31a5b1e
JM
10124 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
10125 test signgam value.
10126
d5dc2af3
JM
10127 * math/libm-test.inc (hypot_test): Do not use
10128 IGNORE_ZERO_INF_SIGN.
10129
164fd39d
AJ
101302013-05-03 Andreas Jaeger <aj@suse.de>
10131
10132 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
10133 Linux 3.9.
10134 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
10135 (PF_MAX): Adjust for VSOCK change.
10136
8237f48c
AZ
101372013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10138
10139 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10140
9df02941
CD
101412013-05-02 Carlos O'Donell <carlos@redhat.com>
10142
10143 [BZ #15264]
10144 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
10145 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
10146 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
10147
d422395e
DM
101482013-05-02 David S. Miller <davem@davemloft.net>
10149
10150 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10151
a07c5731
OB
101522013-05-01 Ondřej Bílka <neleai@seznam.cz>
10153
10154 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
10155
1324e37f
RM
101562013-05-01 Roland McGrath <roland@hack.frob.com>
10157
10158 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
10159
0695940b
RS
101602013-05-01 Richard Smith <richard@metafoo.co.uk>
10161
bb5f27ad 10162 [BZ #14952]
0695940b
RS
10163 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
10164 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
10165 Use __attribute__ ((__gnu_inline__)).
10166 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
10167 Don't use __attribute__ ((__gnu_inline__)).
10168
10de07f5
JM
101692013-05-01 Joseph Myers <joseph@codesourcery.com>
10170
10171 [BZ #15423]
10172 * math/s_catan.c (__catan): Handle small real or imaginary part of
10173 input specially to avoid spurious underflow.
10174 * math/s_catanf.c (__catanf): Likewise.
10175 * math/s_catanh.c (__catanh): Likewise.
10176 * math/s_catanhf.c (__catanhf): Likewise.
10177 * math/s_catanhl.c (__catanhl): Likewise.
10178 * math/s_catanl.c (__catanl): Likewise.
10179 * math/libm-test.inc (catan_test): Add more tests.
10180 (catanh_test): Likewise.
10181 * sysdeps/i386/fpu/libm-test-ulps: Update.
10182 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10183
cb4d5414
AZ
101842013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10185
10186 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10187
caf84319
JM
101882013-04-30 Joseph Myers <joseph@codesourcery.com>
10189
10190 [BZ #15416]
10191 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
10192 accurately for denominator in atan2.
10193 * math/s_catanf.c (__catanf): Likewise.
10194 * math/s_catanh.c (__catanh): Likewise.
10195 * math/s_catanhf.c (__catanhf): Likewise.
10196 * math/s_catanhl.c (__catanhl): Likewise.
10197 * math/s_catanl.c (__catanl): Likewise.
10198 * math/libm-test.inc (catan_test): Add more tests.
10199 (catanh_test): Likewise.
10200 * sysdeps/i386/fpu/libm-test-ulps: Update.
10201 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10202
d569c6ee
SP
102032013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10204
6dbe713d
SP
10205 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
10206
f0ee064b
SP
10207 * benchtests/Makefile (bench): Remove slow benchmarks.
10208 * benchtests/atan-inputs: Add slow benchmark inputs.
10209 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
10210 (BENCH_FUNC): Accept variant offset.
10211 (VARIANT): Define.
10212 * benchtests/bench-skeleton.c (main): Run benchmark for each
10213 variant.
10214 * benchtests/cos-inputs: Add slow benchmark inputs.
10215 * benchtests/exp-inputs: Likewise.
10216 * benchtests/pow-inputs: Likewise.
10217 * benchtests/sin-inputs: Likewise.
10218 * benchtests/slowatan-inputs: Remove.
10219 * benchtests/slowatan.c: Remove.
10220 * benchtests/slowcos-inputs: Remove.
10221 * benchtests/slowcos.c: Remove.
10222 * benchtests/slowexp-inputs: Remove.
10223 * benchtests/slowexp.c: Remove.
10224 * benchtests/slowpow-inputs: Remove.
10225 * benchtests/slowpow.c: Remove.
10226 * benchtests/slowsin-inputs: Remove.
10227 * benchtests/slowsin.c: Remove.
10228 * benchtests/slowtan-inputs: Remove.
10229 * benchtests/slowtan.c: Remove.
10230 * benchtests/tan-inputs: Add slow benchmark inputs.
10231 * scripts/bench.pl: Parse comments and directives.
10232
d569c6ee
SP
10233 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
10234 in CPPFLAGS.
10235 ($(objpfx)bench-%.c): Remove *-ITER.
10236 * benchtests/bench-modf.c: Remove definition of ITER.
10237 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
10238 (main): Loop for DURATION seconds instead of fixed number of
10239 iterations.
10240 * scripts/bench.pl: Don't expect iterations in parameters.
10241
a6a242fe
RM
102422013-04-29 Roland McGrath <roland@hack.frob.com>
10243
10244 * io/fchdir.c (__fchdir): Renamed from fchdir.
10245 (fchdir): Define as weak alias.
10246
f2da7793
JM
102472013-04-29 Joseph Myers <joseph@codesourcery.com>
10248
10249 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
10250 (ERRNO_EDOM): Likewise.
10251 (ERRNO_ERANGE): Likewise.
10252 (noErrnoTests): New variable.
10253 (init_max_error): Set errno to 0.
10254 (test_single_errno): New function.
10255 (test_errno): Likewise.
10256 (check_float_internal): Call test_errno. Set errno to 0.
10257 (check_complex): Refer to errno tests in comment.
10258 (check_int): Call test_errno. Set errno to 0.
10259 (check_long): Likewise.
10260 (check_bool): Likewise.
10261 (check_longlong): Likewise.
10262 (cos_test): Use ERRNO_* flags for errno tests instead of
10263 check_int.
10264 (expm1_test): Likewise.
10265 (fmod_test): Likewise.
10266 (ilogb_test): Likewise.
10267 (lgamma_test): Likewise.
10268 (pow_test): Likewise.
10269 (remainder_test): Likewise.
10270 (sin_test): Likewise.
10271 (tan_test): Likewise.
10272 (yn_test): Likewise.
10273 (initialize): Set errno to 0.
10274 (main): Print number of errno tests.
10275 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
10276
b1a36ceb
AJ
102772013-04-29 Andreas Jaeger <aj@suse.de>
10278
c3ed8088
AJ
10279 [BZ #15084]
10280 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
10281 and RES_USEVC.
10282
f1a24198
AJ
10283 [BZ #15085]
10284 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
10285 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
10286 unimplemented.
10287
9ce3b2cb
AJ
10288 [BZ #15380]
10289 * stdlib/random.c (__initstate): Return NULL if
10290 __initstate fails.
10291
f1a24198 10292 [BZ #15086]
b1a36ceb
AJ
10293 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
10294 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
10295 RES_SNGLKUPREOP.
10296
7e7b6f36
AZ
102972013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10298
10299 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10300
4d14f449
JM
103012013-04-29 Joseph Myers <joseph@codesourcery.com>
10302
10303 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
10304 of individual tests.
10305 (casin_test): Likewise.
10306 (casinh_test): Likewise.
10307
5b4217d7
JM
103082013-04-27 Joseph Myers <joseph@codesourcery.com>
10309
10310 [BZ #15409]
10311 * math/s_catan.c (__catan): Handle arguments with large real or
10312 imaginary part separately without squaring.
10313 * math/s_catanf.c (__catanf): Likewise.
10314 * math/s_catanh.c (__catanh): Likewise.
10315 * math/s_catanhf.c (__catanhf): Likewise.
10316 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10317 and redefine.
10318 (__catanhl): Handle arguments with large real or imaginary part
10319 separately without squaring.
10320 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10321 and redefine.
10322 (__catanl): Handle arguments with large real or imaginary part
10323 separately without squaring.
10324 * math/libm-test.inc (catan_test): Add more tests.
10325 (catanh_test): Likewise.
10326 * sysdeps/i386/fpu/libm-test-ulps: Update.
10327 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10328
4220c3ef
AJ
103292013-04-27 Andreas Jaeger <aj@suse.de>
10330
10331 [BZ #15007]
10332 * stdlib/stdlib.h: Update guards for qecvt.
10333 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
10334 <stdlib.h>.
10335
4721b2d1
AM
103362013-04-27 Allan McRae <allan@archlinux.org>
10337
10338 * sysdeps/i386/fpu/libm-test-ulps: Update.
10339
f0302940
JM
103402013-04-26 Joseph Myers <joseph@codesourcery.com>
10341
9457fd95
JM
10342 [BZ #15406]
10343 * math/s_catan.c: Include <float.h>.
10344 (__catan): Ensure underflow exception occurs for underflowed
10345 result.
10346 * math/s_catanf.c: Include <float.h>.
10347 (__catanf): Ensure underflow exception occurs for underflowed
10348 result.
10349 * math/s_catanh.c: Include <float.h>.
10350 (__catanh): Ensure underflow exception occurs for underflowed
10351 result.
10352 * math/s_catanhf.c: Include <float.h>.
10353 (__catanhf): Ensure underflow exception occurs for underflowed
10354 result.
10355 * math/s_catanhl.c: Include <float.h>.
10356 (__catanhl): Ensure underflow exception occurs for underflowed
10357 result.
10358 * math/s_catanl.c: Include <float.h>.
10359 (__catanl): Ensure underflow exception occurs for underflowed
10360 result.
10361 * math/libm-test.inc (catan_test): Add more tests.
10362 (catanh_test): Likewise.
10363
f0302940
JM
10364 [BZ #15405]
10365 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
10366 underflowed result.
10367 * math/s_ccoshf.c (__ccoshf): Likewise.
10368 * math/s_ccoshl.c (__ccoshl): Likewise.
10369 * math/s_csin.c (__csin): Likewise.
10370 * math/s_csinf.c (__csinf): Likewise.
10371 * math/s_csinh.c (__csinh): Likewise.
10372 * math/s_csinhf.c (__csinhf): Likewise.
10373 * math/s_csinhl.c (__csinhl): Likewise.
10374 * math/s_csinl.c (__csinl): Likewise.
10375 * math/libm-test.inc (ccos_test): Add more tests.
10376 (ccosh_test): Likewise.
10377 (csin_test): Likewise.
10378 (csinh_test): Likewise.
10379
aa630f59
AZ
103802013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10381
10382 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
10383 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
10384 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
10385 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
10386 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
10387 powerpc/power5+/fpu folders.
10388 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
10389
10390
1b835983
MT
103912013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
10392
10393 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10394
73709b26
JM
103952013-04-25 Joseph Myers <joseph@codesourcery.com>
10396
10397 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
10398 additions to variable.
10399 [$(config-machine) = x86_64] (modules-names): Likewise.
10400 ($(objpfx)tst-audit3): Remove dependency.
10401 ($(objpfx)tst-audit3.out): Likewise.
10402 ($(objpfx)tst-audit4): Likewise.
10403 ($(objpfx)tst-audit4.out): Likewise.
10404 ($(objpfx)tst-audit5): Likewise.
10405 ($(objpfx)tst-audit5.out): Likewise.
10406 ($(objpfx)tst-audit6): Likewise.
10407 ($(objpfx)tst-audit6.out): Likewise.
10408 ($(objpfx)tst-audit7): Likewise.
10409 ($(objpfx)tst-audit7.out): Likewise.
10410 (tst-audit3-ENV): Remove variable.
10411 (tst-audit4-ENV): Likewise.
10412 (tst-audit5-ENV): Likewise.
10413 (tst-audit6-ENV): Likewise.
10414 (tst-audit7-ENV): Likewise.
10415 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
10416 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
10417 addition to variable.
10418 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
10419 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
10420 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
10421 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
10422 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
10423 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
10424 tst-audit3, tst-audit4 and tst-audit5.
10425 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
10426 tst-audit6 and tst-audit7.
10427 [$(subdir) = elf] (modules-names): Add audit modules for those
10428 tests.
10429 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
10430 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
10431 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
10432 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
10433 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
10434 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
10435 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
10436 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
10437 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
10438 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
10439 [$(subdir) = elf] (tst-audit3-ENV): New variable.
10440 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
10441 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
10442 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
10443 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
10444 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
10445 Likewise.
10446 [$(subdir) = elf && $(config-cflags-avx) = yes]
10447 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
10448 [$(subdir) = elf && $(config-cflags-avx) = yes]
10449 (CFLAGS-tst-auditmod4a.c): Likewise.
10450 [$(subdir) = elf && $(config-cflags-avx) = yes]
10451 (CFLAGS-tst-auditmod4b.c): Likewise.
10452 [$(subdir) = elf && $(config-cflags-avx) = yes]
10453 (CFLAGS-tst-auditmod6b.c): Likewise.
10454 [$(subdir) = elf && $(config-cflags-avx) = yes]
10455 (CFLAGS-tst-auditmod6c.c): Likewise.
10456 [$(subdir) = elf && $(config-cflags-avx) = yes]
10457 (CFLAGS-tst-auditmod7b.c): Likewise.
10458 * elf/tst-audit3.c: Move to ...
10459 * sysdeps/x86_64/tst-audit3.c: ... here.
10460 * elf/tst-audit4.c: Move to ...
10461 * sysdeps/x86_64/tst-audit4.c: ... here.
10462 * elf/tst-audit5.c: Move to ...
10463 * sysdeps/x86_64/tst-audit5.c: ... here.
10464 * elf/tst-audit6.c: Move to ...
10465 * sysdeps/x86_64/tst-audit6.c: ... here.
10466 * elf/tst-audit7.c: Move to ...
10467 * sysdeps/x86_64/tst-audit7.c: ... here.
10468 * elf/tst-auditmod3a.c: Move to ...
10469 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
10470 * elf/tst-auditmod3b.c: Move to ...
10471 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
10472 * elf/tst-auditmod4a.c: Move to ...
10473 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
10474 * elf/tst-auditmod4b.c: Move to ...
10475 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
10476 * elf/tst-auditmod5a.c: Move to ...
10477 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
10478 * elf/tst-auditmod5b.c: Move to ...
10479 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
10480 * elf/tst-auditmod6a.c: Move to ...
10481 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
10482 * elf/tst-auditmod6b.c: Move to ...
10483 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
10484 * elf/tst-auditmod6c.c: Move to ...
10485 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
10486 * elf/tst-auditmod7a.c: Move to ...
10487 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
10488 * elf/tst-auditmod7b.c: Move to ...
10489 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
10490
1ef74943
PP
104912013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
10492
10493 [BZ #15366]
10494 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
10495 define unconditionally.
10496 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
10497 define unconditionally.
10498 (INT8_C, INT16_C, etc.): Likewise.
10499
93fd48c5
MR
105002013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
10501
ae9552cf
MR
10502 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
10503 __ehdr_start with hidden visibility.
10504
93fd48c5
MR
10505 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
10506
418601aa
CD
105072013-04-24 Carlos O'Donell <carlos@redhat.com>
10508
10509 * math/libm-test.inc (cos_test): Use accurate hex constants.
10510 (sincost_test): Likewise.
10511
2f38fbfe
JM
105122013-04-24 Joseph Myers <joseph@codesourcery.com>
10513
5e221800
JM
10514 * math/libm-test.inc (catan_test): Add more tests.
10515 (catanh_test): Likewise.
10516
77f143fd
JM
10517 * math/s_catanf.c (__catanf): Use suffixed floating-point
10518 constants.
10519 * math/s_catanhf.c (__catanhf): Likewise.
10520 * math/s_catanhl.c (__catanhl): Likewise.
10521 * math/s_catanl.c (__catanl): Likewise.
10522
2f38fbfe
JM
10523 [BZ #15394]
10524 * math/s_catan.c (__catan): Calculate imaginary part of result
10525 with log1p not log unless computing log of number close to 0.
10526 * math/s_catanf.c (__catanf): Likewise.
10527 * math/s_catanl.c (__catanl): Likewise.
10528 * math/s_catanh.c (__catanh): Calculate real part of result with
10529 log1p not log unless computing log of number close to 0.
10530 * math/s_catanhf.c (__catanhf): Likewise.
10531 * math/s_catanhl.c (__catanhl): Likewise.
10532 * math/libm-test.inc (catan_test): Add more tests.
10533 (catanh_test): Likewise.
10534 * sysdeps/i386/fpu/libm-test-ulps: Update.
10535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10536
45d69176
SP
105372013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10538
10539 * benchtests/Makefile: Mention files in which fast and slow
10540 paths of math functions are implemented.
10541
87f51853
RM
105422013-04-23 Roland McGrath <roland@hack.frob.com>
10543
10544 * sysdeps/posix/timespec_get.c: New file.
10545
3c026539
AZ
105462013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10547
10548 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
10549 POWER.
10550 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
10551 for POWER.
10552 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
10553 powerpc/power5/fpu folders.
10554 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
10555 * benchtests/Makefile: Add modf testcase.
10556 * benchtests/bench-modf.c: New file: Benchmark test for mo
10557
ff491d14
SP
105582013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10559
10560 [BZ #14888]
10561 * time/Makefile (tests): Add tst-strptime-whitespace.
10562 * time/strptime_l.c (get_number): Use ISSPACE.
10563 (__strptime_internal): Likewise.
10564 * time/tst-strptime-whitespace.c: New test case.
10565
7ed3f4e8
AS
105662013-04-23 Andreas Schwab <schwab@linux-m68k.org>
10567
10568 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
10569 member.
10570 (_nss_files_init): Set it here.
10571
5c95f7b6
HC
105722013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
10573
10574 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
10575 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
10576 unsigned.
10577
d34c9158
JBG
105782013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
10579
10580 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
10581
2169712d
SP
105822013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10583
10584 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
10585 size just once.
10586
29c5de99
DM
105872013-04-21 David S. Miller <davem@davemloft.net>
10588
10589 * po/ru.po: Update Russion translation from translation project.
10590
ccdad15d
AC
105912013-04-17 Adam Conrad <adconrad@0c3.net>
10592
10593 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
10594 and setfsgid.
10595
0f122b8d
CD
105962013-04-17 Carlos O'Donell <carlos@redhat.com>
10597
5c5b07da 10598 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 10599 * configure: Regenerate.
5c5b07da 10600 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
10601 Add example to error message.
10602 * sysdeps/i386/configure: Regenerate.
10603
037714dd
SP
106042013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10605
10606 * benchtests/Makefile (bench): Add cos, tan, slowcos and
10607 slowtan.
10608 * benchtests/cos-inputs: New file.
10609 * benchtests/slowcos-inputs: New file.
10610 * benchtests/slowcos.c: New file.
10611 * benchtests/slowtan-inputs: New file.
10612 * benchtests/slowtan.c: New file.
10613 * benchtests/tan-inputs: New file.
10614
e913141d
RM
106152013-04-16 Roland McGrath <roland@hack.frob.com>
10616
10617 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
10618 considered kosher.
10619
a2964074
SP
106202013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10621
4856bcd2
SP
10622 * benchtests/Makefile: Include cppflags-iterator.mk to add
10623 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
10624
a2964074
SP
10625 * Makefile.in (bench-clean): New target.
10626 * benchtests/Makefile (bench-clean): Likewise.
10627
9fbf9aca
DH
106282013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
10629
10630 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
10631
207d1e2a
TS
106322013-04-15 Thomas Schwinge <thomas@codesourcery.com>
10633
10634 * stdio-common/tstdiomisc.c: Fix coding-style violation.
10635
306dfba9
AS
106362013-04-15 Andreas Schwab <schwab@suse.de>
10637
10638 * nscd/grpcache.c (cache_addgr): Properly check for short write.
10639 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10640 * nscd/pwdcache.c (cache_addpw): Likewise.
10641 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
10642 more than recsize.
10643
206a6699
SP
106442013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10645
10646 * benchtests/Makefile (bench): Write all output to
10647 bench-out.tmp together.
10648
0582f6b3
AS
106492013-04-15 Andreas Schwab <schwab@suse.de>
10650
10651 * nscd/nscd.c (main): Don't fork again after closing files.
10652
acb4325f
SP
106532013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10654
5cb26d0a
SP
10655 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
10656
acb4325f
SP
10657 * benchtests/Rules (bench-deps): Collect dependencies into a
10658 single variable. Add Makefile to dependencies.
10659 ($(objpfx)bench-%.c): Depend on bench-deps.
10660
47792506
RM
106612013-04-12 Roland McGrath <roland@hack.frob.com>
10662 Xavier Roche <roche+kml2@exalead.com>
10663
10664 [BZ #15361]
10665 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
10666 just that it's a file descriptor.
10667 * manual/llio.texi (Synchronizing AIO Operations): Update description
10668 for EBADF error from aio_fsync.
10669
8fc1bee5
SP
106702013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10671
10672 * Rules (bench): Move target definition...
10673 * benchtests/Makefile: ... here.
10674
aba5e333
CD
106752013-04-11 Carlos O'Donell <carlos@redhat.com>
10676
10677 * math/libm-test.inc (cos_test): Fix PI/2 test.
10678 (sincos_test): Likewise.
10679 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
10680 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
10681
273cdee8
AS
106822013-04-11 Andreas Schwab <schwab@suse.de>
10683
6ecec3b6
AS
10684 [BZ #13988]
10685 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
10686 accept exponent character only when digits were seen.
10687 * stdio-common/Makefile (tests): Add bug26.
10688 * stdio-common/bug26.c: New file.
10689
273cdee8
AS
10690 [BZ #14293]
10691 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
10692 non-freeable.
10693
8da491f5
SP
106942013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10695
01dc6df9
SP
10696 * Makeconfig (rtld-prefix): Define built linker prefix.
10697 * Rules (run-bench): Use it.
10698 * math/Makefile (run-regen-ulps): Likewise.
10699
8da491f5
SP
10700 * Rules (bench): Remove eval.
10701
abe7f530
SP
107022013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10703 Roland McGrath <roland@hack.frob.com>
10704 Ondrej Bilka <neleai@seznam.cz>
10705
10706 [BZ #15346]
10707 * time/getdate.c: Include ctype.h and alloca.h.
10708 (__getdate_r): Trim leading and trailing spaces of input.
10709 * time/tst-getdate.c (tests): Add tests with leading and
10710 trailing spaces.
10711
61c23e62
RM
107122013-04-08 Roland McGrath <roland@hack.frob.com>
10713
10714 [BZ #14280]
10715 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
10716 when computing value.
10717
7208a313
CD
107182013-04-06 Carlos O'Donell <carlos@redhat.com>
10719
085b2d41
CD
10720 * math/README.libm-test (How can I generate "libm-test-ulps"?):
10721 Use testrun.sh to run libm tests.
10722
7208a313
CD
10723 [BZ #15309]
10724 * elf/dl-open.c (dl_open_worker): memset all of seen array.
10725
872c0acd
MM
107262013-04-06 Marko Myllynen <myllynen@redhat.com>
10727
10728 [BZ #15264]
10729 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
10730
26510bdd
CD
107312013-04-06 Carlos O'Donell <carlos@redhat.com>
10732
10733 * Makefile.in (regen-ulps): New target.
10734 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
10735 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
10736 [ifneq (no,$(PERL)] (regen-ulps): New target.
10737 [ifeq (no,$(PERL)] (regen-ulps): New target.
10738 * math/libm-test.inc (ulps_file_name): Define.
10739 (output_dir): New variable.
10740 (options): Add "output-dir" option.
10741 (parse_opt): Handle 'o' case.
10742 (main): If output_dir is non-NULL use it as a prefix
10743 otherwise use "".
10744 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
10745
a01f19c8
CD
107462013-04-06 Carlos O'Donell <carlos@redhat.com>
10747
10748 [BZ #10060, #10062]
10749 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
10750 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
10751 fail configure if __sync_val_compare_and_swap is not inlined.
10752 * sysdeps/i386/configure: Regenerate.
10753 * configure.in: Build for i686 when configured for i386.
10754 * configure: Regenerate.
10755 * README: Remove i386 reference.
10756
b7a329a5
CD
107572013-04-06 Carlos O'Donell <carlos@redhat.com>
10758
10759 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
10760 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10761
bf0f50df
TS
107622013-04-05 Thomas Schwinge <thomas@codesourcery.com>
10763
ee091edf
TS
10764 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
10765 (lmsnanval): New variables.
10766 (F): Add conversion tests.
10767 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
10768 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
10769
a8b792d6
TS
10770 * stdio-common/tstdiomisc.c (F): Properly collect individual
10771 tests' results.
10772
a1cbf437
TS
10773 [BZ #14686, #15336]
10774 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
10775 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
10776 Instead, use input NaN values or generate a qNaN by arithmetic
10777 operation. Also fix bugs to comply with the standard.
10778 * math/libm-test.inc (remainder_test): Add more tests.
10779
8b43a0c9
TS
10780 [BZ #15335, #15342]
10781 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
10782 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
10783 input NaN values or generate a qNaN by arithmetic operation.
10784
d91da4ce
TS
10785 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
10786 unreachable code.
10787
bf0f50df
TS
10788 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
10789 definitions.
10790
05e166c8
JM
107912013-04-03 Joseph Myers <joseph@codesourcery.com>
10792
10793 [BZ #14478]
10794 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
10795 underflowed result.
10796 * math/s_cexpf.c (__cexpf): Likewise.
10797 * math/s_cexpl.c (__cexpl): Likewise.
10798 * math/libm-test.inc (cexp_test): Add more tests.
10799
1cef1b19
AS
108002013-04-03 Andreas Schwab <schwab@suse.de>
10801
10802 [BZ #15330]
10803 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
10804 order arrays from heap if bigger than alloca cutoff.
10805
74d87055
TS
108062013-04-03 Thomas Schwinge <thomas@codesourcery.com>
10807
10808 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
10809 (SNAN_TESTS_double): Refer to GCC PR56831.
10810 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
10811 GCC PR56828.
10812
d755bba4
SP
108132013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
10814
90d5d5bb
SP
10815 * Rules (bench): Move bench.out after the run is complete.
10816
73e0cd5d
SP
10817 * Rules (bench): Echo currently running benchmark.
10818
64aabd4b
SP
10819 * benchtests/Makefile (bench): Add atan and slowatan.
10820 * benchtests/atan-inputs: New file.
10821 * benchtests/slowatan-inputs: New file.
10822 * benchtests/slowatan.c: New file.
10823
c871eccd
SP
10824 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
10825 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
10826 its value.
10827
d755bba4
SP
10828 [BZ #15305]
10829 * sysdeps/unix/sysv/linux/kernel-features.h
10830 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
10831 __ASSUME_XFS_RESTRICTED_CHOWN.
10832 * sysdeps/unix/sysv/linux/pathconf.c
10833 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
10834 Save and restore errno.
10835
52ce4860
JM
108362013-04-02 Joseph Myers <joseph@codesourcery.com>
10837
10838 [BZ #15327]
10839 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
10840 arguments using __kernel_casinh.
10841 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
10842 arguments using __kernel_casinhf.
10843 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
10844 arguments using __kernel_casinhl.
10845 * math/libm-test.inc (cacosh_test): Add more tests.
10846 * sysdeps/i386/fpu/libm-test-ulps: Update.
10847 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10848
81f311c2
SP
108492013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10850
e7906a47
SP
10851 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
10852 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
10853
92e3664b
SP
10854 * bench/Makefile (bench): Add sin and slowsin.
10855 * benchtests/sin-inputs: New file.
10856 * benchtests/slowsin-inputs: New file.
10857 * benchtests/slowsin.c: New file.
10858
81f311c2
SP
10859 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
10860 (bench): Add slowexp and slowpow.
10861 (exp-ITER): Increase iterations.
10862 (pow-ITER): Likewise.
10863 * benchtests/exp-inputs: Change input.
10864 * benchtests/pow-inputs: Likewise.
10865 * benchtests/slowexp-inputs: New file.
10866 * benchtests/slowexp.c: New file.
10867 * benchtests/slowpow-inputs: New file.
10868 * benchtests/slowpow.c: New file.
10869
ab0f1aa9
AZ
108702013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10871
10872 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
10873 instructions.
10874 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
10875 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
10876 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
10877 * benchtests/Makefile: Add rint benchtest.
10878 * benchtests/rint-inputs: Input for rint benchtest.
10879
57267616
TS
108802013-04-02 Thomas Schwinge <thomas@codesourcery.com>
10881
10882 * Versions.def (libm): Add GLIBC_2.18.
10883 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
10884 hidden libm prototypes.
10885 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
10886 * math/Makefile (libm-calls): Add s_issignaling.
10887 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
10888 __issignalingf, __issignalingl. Adjust all libm.abilist files.
10889 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
10890 declaration.
10891 * math/math.h [__USE_GNU] (issignaling): New macro.
10892 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
10893 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
10894 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
10895 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
10896 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
10897 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
10898 * manual/arith.texi (issignaling): New section.
10899 * manual/libm-err-tab.pl (@all_functions): Update comment.
10900 * math/gen-libm-test.pl (parse_args): Apply special handling for
10901 issignaling.
10902 * math/libm-test.inc (print_float, issignaling_test): New
10903 functions.
10904 (check_float_internal): Add issignaling checks.
10905 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
10906 default definition.
10907 * sysdeps/powerpc/math-tests.h: New file.
10908 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
10909 tests.
10910 * math/test-snan.c (TEST_FUNC): Likewise.
10911
6142896d
DM
109122013-03-30 David S. Miller <davem@davemloft.net>
10913
10914 * po/de.po: Update from translation team.
10915
ccc8cadf
JM
109162013-03-30 Joseph Myers <joseph@codesourcery.com>
10917
10918 [BZ #10357]
10919 * math/k_casinh.c (__kernel_casinh): Handle arguments with
10920 imaginary part less than 1.0 and real part less than 0.5
10921 specially.
10922 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10923 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10924 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
10925 (cacos_test): Add more tests.
10926 (casin_test): Likewise.
10927 (casinh_test): Likewise.
10928 * sysdeps/i386/fpu/libm-test-ulps: Update.
10929 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10930
0f6a8d4b
SP
109312013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10932
0d1029de
SP
10933 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
10934 ONE with its value.
10935
c2d94018
SP
10936 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
10937 (__pow_mp): Replace ONE and MONE with their values.
10938 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10939 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
10940 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10941 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
10942 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10943 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10944
27ec37f1
SP
10945 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
10946
a64d7e0e
SP
10947 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
10948 (__pow_mp): Replace ZERO and MZERO with their values.
10949 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
10950 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10951 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10952 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10953 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10954 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
10955 (__sqr): Likewise.
10956
d26dd3eb
SP
10957 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
10958
0f6a8d4b
SP
10959 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
10960
e57b0c61
RM
109612013-03-28 Roland McGrath <roland@hack.frob.com>
10962
10963 * include/stdlib.h [!SHARED] (__call_tls_dtors):
10964 Declare with __attribute__ ((weak)).
10965 * stdlib/exit.c (__libc_atexit) [!SHARED]:
10966 Call __call_tls_dtors only if it's not NULL.
10967
356b3480
RM
109682013-03-28 Roland McGrath <roland@hack.frob.com>
10969
288f7d79
RM
10970 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
10971 didn't do it already, then set _dl_phdr and _dl_phnum based on the
10972 magic __ehdr_start linker symbol if it's defined.
10973 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
10974 them up here if it was already done.
10975
dc0a0263
RM
10976 * elf/dl-support.c (_dl_phdr): Make pointer to const.
10977 (_dl_aux_init): Use const in cast when setting it.
10978 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
10979 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
10980 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
10981
3d3436ae
RM
10982 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
10983 Declare them here.
10984 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
10985 * csu/libc-tls.c: Nor here.
10986 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
10987
356b3480
RM
10988 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
10989 (__libc_message): Never call vsyslog.
10990
b0f1246a
AM
109912013-03-28 Alan Modra <amodra@gmail.com>
10992
10993 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
10994 Define as empty.
10995 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
10996 Likewise.
10997
fbbe2b9a
AZ
109982013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10999
11000 [BZ #15214]
11001 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
11002 underflow.
11003 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11004
1728ab37
SP
110052013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11006
7a86be6e
SP
11007 [BZ #15304]
11008 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
11009 Don't add gid passed as argument.
11010
1728ab37
SP
11011 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
11012
3a7182a1
JM
110132013-03-27 Joseph Myers <joseph@codesourcery.com>
11014
11015 [BZ #15307]
11016 * math/k_casinh.c (__kernel_casinh): Handle arguments with
11017 imaginary part between 1.0 and 1.5 and real part less than 0.5
11018 specially.
11019 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11020 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11021 * math/libm-test.inc (cacos_test): Add more tests.
11022 (casin_test): Likewise.
11023 (casinh_test): Likewise.
11024 * sysdeps/i386/fpu/libm-test-ulps: Update.
11025 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11026
6f2e90e7
SP
110272013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11028
5739f705
SP
11029 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
11030 constants.
11031 (norm): Likewise.
11032 (denorm): Likewise.
11033 (__dbl_mp): Likewise.
11034 (add_magnitudes): Likewise.
11035 (sub_magnitudes): Likewise.
11036 (__add): Likewise.
11037 (__sub): Likewise.
11038 (__mul): Likewise.
11039 (__sqr): Likewise.
11040 (__inv): Likewise.
11041 (__dvd): Likewise.
11042
e375e83d
SP
11043 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
11044 commented code.
11045 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
11046 (__dubcos): Likewise.
11047 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
11048 (__ieee754_acos): Likewise.
11049 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
11050 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
11051 (__exp1): Likewise.
11052 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11053 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
11054 (log1): Likewise.
11055 (my_log2): Likewise.
11056 (checkint): Likewise.
11057 * sysdeps/ieee754/dbl-64/e_remainder.c
11058 (__ieee754_remainder): Likewise.
11059 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11060 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
11061 (bsloww): Likewise.
11062 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11063
6f2e90e7
SP
11064 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11065 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
11066 MANTISSA_STORE_T to store computations on mantissa. Use
11067 macros for rounding and division.
11068 (denorm): Likewise.
11069 (__dbl_mp): Likewise.
11070 (add_magnitudes): Likewise.
11071 (sub_magnitudes): Likewise.
11072 (__mul): Likewise.
11073 (__sqr): Likewise.
11074 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
11075 powers of two in terms of TWOPOW macro.
11076 (mp_no): Make type of mantissa as MANTISSA_T.
11077 [!RADIXI]: Define RADIXI.
11078 [!TWO52]: Define TWO52.
11079 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11080
fce14d4e
AZ
110812013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11082
11083 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
11084 llroundl symbol when building for PPC32.
11085
9ad027fb
MW
110862013-03-24 Mark H Weaver <mhw@netris.org>
11087
11088 * manual/arith.texi (Normalization Functions): Fix prototypes for
11089 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
11090
e42a38dd
AZ
110912013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11092
11093 [BZ #13889]
11094 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
11095 high value to check if expl overflow.
11096 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
11097 to check for underflow and overflow.
11098 * math/libm-test.inc: Add exp test.
11099
2e0fb521
DL
111002013-03-21 Dmitry V. Levin <ldv@altlinux.org>
11101
11102 [BZ #11120]
11103 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
11104 with NOT_IN_libc.
11105
b5784d95
AZ
111062013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11107
11108 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
11109 symbol.
11110
5aa4a1a1
TS
111112013-03-21 Thomas Schwinge <thomas@codesourcery.com>
11112
bdef0be7
TS
11113 * math/gen-libm-test.pl (parse_args, special_functions): Properly
11114 wrap blocks consisting of several statements.
11115
5aa4a1a1
TS
11116 * sysdeps/generic/math-tests.h: New file.
11117 * sysdeps/i386/fpu/math-tests.h: Likewise.
11118 * math/test-snan.c: Include it.
11119 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
11120
98c48fe5
JM
111212013-03-21 Joseph Myers <joseph@codesourcery.com>
11122
11123 [BZ #15285]
11124 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
11125 (__ieee754_j0l): Do not improve calculations using cos of twice
11126 input for inputs above LDBL_MAX / 2.0L.
11127 (__ieee754_y0l): Likewise.
11128 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
11129 (__ieee754_j1l): Do not improve calculations using cos of twice
11130 input for inputs above LDBL_MAX / 2.0L.
11131 (__ieee754_y1l): Likewise.
11132 * math/libm-test.inc (j0_test): Add another test.
11133 (j1_test): Likewise.
11134 (y0_test): Likewise.
11135 (y1_test): Likewise.
11136 * sysdeps/i386/fpu/libm-test-ulps: Update.
11137
3775a8bc
SP
111382013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11139
11140 * Rules ($(objpfx)bench-%.c): Include code from a C source
11141 file.
11142
0a1b2ae6
JM
111432013-03-21 Joseph Myers <joseph@codesourcery.com>
11144
11145 [BZ #15287]
11146 * math/k_casinh.c (__kernel_casinh): Handle arguments with
11147 imaginary part 1.0 and real part less than 0.5 specially.
11148 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11149 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11150 * math/libm-test.inc (cacos_test): Add more tests.
11151 (casin_test): Likewise.
11152 (casinh_test): Likewise.
11153 * sysdeps/i386/fpu/libm-test-ulps: Update.
11154 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11155
b33d4ce4
SP
111562013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11157
11158 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
11159 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
11160
bef0b507
JM
111612013-03-20 Joseph Myers <joseph@codesourcery.com>
11162
11163 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
11164 * config.make.in (config-cflags-sse4): Remove variable.
11165 (config-cflags-avx): Likewise.
11166 (config-cflags-sse2avx): Likewise.
11167 (config-cflags-novzeroupper): Likewise.
11168 (config-asflags-i686): Likewise.
11169 (have-mfma4): Likewise.
11170 (have-as-vis3): Likewise.
11171 (MIG): Likewise.
11172 * configure.in (MIG): Do not AC_SUBST.
11173 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
11174 (libc_cv_cc_sse4): Do not AC_SUBST.
11175 (libc_cv_cc_avx): Likewise.
11176 (libc_cv_cc_sse2avx): Likewise.
11177 (libc_cv_cc_novzeroupper): Likewise.
11178 (libc_cv_cc_fma4): Likewise.
11179 (libc_cv_as_i686): Likewise.
11180 (libc_cv_sparc_as_vis3): Likewise.
11181 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
11182 LIBC_CONFIG_VAR.
11183 (config-asflags-i686): Likewise.
11184 (config-cflags-avx): Likewise.
11185 (config-cflags-sse2avx): Likewise.
11186 (have-mfma4): Likewise.
11187 (config-cflags-novzeroupper): Likewise.
11188 * sysdeps/mach/configure.in (MIG): Likewise.
11189 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
11190 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
11191 LIBC_CONFIG_VAR.
11192 (config-cflags-avx): Likewise.
11193 (config-cflags-sse2avx): Likewise.
11194 (have-mfma4): Likewise.
11195 (config-cflags-novzeroupper): Likewise.
11196 * configure: Regenerated.
11197 * sysdeps/i386/configure: Likewise.
11198 * sysdeps/mach/configure: Likewise.
11199 * sysdeps/sparc/configure: Likewise.
11200 * sysdeps/x86_64/configure: Likewise.
11201
912cc4b3
RM
112022013-03-20 Roland McGrath <roland@hack.frob.com>
11203
11204 [BZ #14812]
11205 * locale/programs/localedef.c (options): Put N_ translation marker
11206 on argument names, not just descriptions.
11207
04eed2b0
MS
112082013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11209
11210 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
11211
a065ceff
OB
112122013-03-20 Ondřej Bílka <neleai@seznam.cz>
11213
9bb2a810 11214 [BZ #14176]
a065ceff
OB
11215 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
11216
a600e5ce
RM
112172013-03-19 Roland McGrath <roland@hack.frob.com>
11218
11219 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
11220 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
11221 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
11222 [!BEFORE_ABORT] (before_abort): New function.
11223 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
11224 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
11225 (writev_for_fatal): New function.
11226 (WRITEV_FOR_FATAL): New macro; call that.
11227 (backtrace_and_maps): New function.
11228 (BEFORE_ABORT): New macro; call that.
11229 (struct str_list): Type removed.
11230 (__libc_message, __libc_fatal): Functions removed.
11231 Include <sysdeps/posix/libc_fatal.c> instead.
11232
6b18bea6
JM
112332013-03-19 Joseph Myers <joseph@codesourcery.com>
11234
11235 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
11236 constants.
11237 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
11238 double constants.
11239
aaa8cb4b
AS
112402013-03-19 Andreas Schwab <schwab@suse.de>
11241
44673770
AS
11242 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
11243 * sysdeps/gnu/configure: Regenerate.
11244
aaa8cb4b
AS
11245 * configure.in: Substitute libc_cv_rtlddir.
11246 * configure: Regenerate.
11247 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
11248 * Makeconfig (rtlddir, inst_rtlddir): New variables.
11249 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
11250 * elf/Makefile (install-others, CFLAGS-interp.c)
11251 (ldso_install, common-ldd-rewrite): Likewise.
11252 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
11253 $(inst_slibdir)/$(rtld-installed-name).
11254 * scripts/rellns-sh: Add -p option.
11255 * Makerules (make-shlib-link): Use rellns-sh to get relative name
11256 for source.
11257
d3cfc668
SP
112582013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11259
11260 * manual/nptl.texi: Renamed to ...
11261 * manual/threads.texi: ... this.
11262 * manual/Makefile (chapters): Update.
11263
0e2b9cdd
RM
112642013-03-18 Roland McGrath <roland@hack.frob.com>
11265
11266 [BZ #14812]
11267 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
11268 on argument names, not just descriptions.
0e2b9cdd
RM
11269 * malloc/memusagestat.c (options): Likewise.
11270 * nss/getent.c (options): Likewise.
63270c24
RM
11271
112722013-03-18 Benno Schulenberg <bensberg@justemail.net>
11273
11274 [BZ #14812]
11275 * iconv/iconv_prog.c (options): Put N_ translation marker
11276 on argument names, not just descriptions.
11277 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 11278
b2e1393c
OB
112792013-03-18 Ondrej Bilka <neleai@seznam.cz>
11280
11281 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
11282 implementation which is faster on all x86_64 architectures.
11283 Tested on AMD, Intel Nehalem, SNB, IVB.
11284 * sysdeps/x86_64/strnlen.S: Likewise.
11285
11286 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
11287 Remove all multiarch strlen and strnlen versions.
11288 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11289 Remove strlen and strnlen related parts.
11290
11291 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
11292 Inline strlen part.
11293 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
11294
11295 * sysdeps/x86_64/multiarch/strlen.S: Remove.
11296 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
11297 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
11298 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
11299 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
11300 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
11301
ec4ff04d
CD
113022013-03-17 Carlos O'Donell <carlos@redhat.com>
11303
11304 * manual/memory.texi (Malloc Tunable Parameters):
11305 Sort parameters alphabetically. Add comments for missing entries.
11306
cd18e90a
DM
113072013-03-17 David S. Miller <davem@davemloft.net>
11308
11309 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11310
2a185d32
JM
113112013-03-16 Joseph Myers <joseph@codesourcery.com>
11312
d2f9799e
JM
11313 [BZ #15283]
11314 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
11315 for arguments at most half maximum finite value.
11316 * math/libm-test.inc (j0_test): Add more tests.
11317 (j1_test): Likewise.
11318 (y0_test): Likewise.
11319 (y1_test): Likewise.
11320 * sysdeps/i386/fpu/libm-test-ulps: Update.
11321 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11322
2a185d32
JM
11323 [BZ #14155]
11324 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
11325 1 / x and functions P and Q for arguments above 0x1p256L.
11326 (__ieee754_y0l): Likewise.
11327 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
11328 (__ieee754_y1l): Likewise.
11329 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
11330 (j1_test): Likewise.
11331 (y0_test): Likewise.
11332 (y1_test): Likewise.
11333
6cbec759
TS
113342013-03-16 Thomas Schwinge <thomas@codesourcery.com>
11335
11336 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
11337 variable.
11338
bc16e260
RM
113392013-03-15 Roland McGrath <roland@hack.frob.com>
11340
aefc9b8c
RM
11341 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
11342 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
11343 zero since it's initialized to EXEC_PAGESIZE.
11344
bc16e260
RM
11345 * sysdeps/unix/sysv/linux/ldsodefs.h
11346 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
11347 * sysdeps/generic/ldsodefs.h: ... here.
11348
a57da955
TS
113492013-03-15 Thomas Schwinge <thomas@codesourcery.com>
11350
af00a34d
TS
11351 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
11352
495ded2c
TS
11353 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
11354 math/test-snan.c.
11355 * math/test-snan.c: Renamed from
11356 sysdeps/powerpc/fpu/test-powerpc-snan.c.
11357 * math/Makefile (tests): Add test-snan.
11358 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
11359 test-powerpc-snan.
11360
777b0332
TS
11361 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
11362 SUFFIX. Initialize qNaN_var with __builtin_nan family of
11363 functions.
11364 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
11365 __builtin_nan family of functions.
11366 * math/libm-test.inc (initialize): Initialize qnan_value with
11367 __builtin_nan family of functions.
11368 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
11369 Remove variables.
11370 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
11371 Remove functions.
11372 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
11373 storage class. Initialize qNaN_var and sNaN_var with
11374 __builtin_nan and __builtin_nans families of functions,
11375 respectively.
11376
64d063b8
TS
11377 * math/libm-test.inc (acosh_test): Also test with qNaN input.
11378 (sqrt_test): Remove duplicate test with qNaN input.
11379 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
11380 (round_test, signbit_test, significand_test): Note missing +/-Inf
11381 as well as qNaN tests.
11382
67e971f1
TS
11383 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
11384 qNaN_var. Fix a few strings, too.
11385 * math/libm-test.inc (nan_value): Rename to qnan_value.
11386 * math/gen-libm-test.pl (%beautify): Adjust to that.
11387 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
11388 * math/test-misc.c (main): Likewise.
11389 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
11390 to __qnan_bytes, and __qnan_union, respectively.
11391 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
11392 Likewise.
11393 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
11394 and lqnanval, respectively.
11395 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
11396 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
11397 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
11398 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
11399
64487e12
TS
11400 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
11401 * math/test-misc.c (main) [__x86_64__]: Enable test for long
11402 doubles.
11403
e015e27b
TS
11404 * math/test-misc.c (main): Fix copy'n'pastos.
11405 * misc/tst-efgcvt.c (special): Likewise.
11406
a57da955
TS
11407 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
11408 Remove declarations.
11409
1e380345
SP
114102013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11411
11412 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
11413 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
11414 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
11415 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
11416
ef26eece
AZ
114172013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11418
11419 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
11420 macro to return vdso values correctly in IFUNC implementations.
11421 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11422 Optimization by using IFUNC.
11423
8cfdb7e0
SP
114242013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11425 Richard Henderson <rth@redhat.com>
11426 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11427
11428 * Makefile.in (bench): New target.
11429 * NEWS: Mention the benchmark framework.
11430 * Rules (bench): Likewise.
11431 (binaries-bench): Generate binaries for functions to
11432 benchmark.
11433 * benchtests/Makefile: New makefile for benchmark tests.
11434 * benchtests/bench-skeleton.c: New skeleton file for benchmark
11435 programs.
11436 * benchtests/exp-inputs: New input file for EXP function.
11437 * benchtests/pow-inputs: New input file for POW function.
11438 * scripts/bench.pl: New script to generate source files for
11439 benchmark programs.
11440
bcda9880
SP
114412013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11442
d22ca8cd
SP
11443 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11444 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
11445 computations on mantissa. Use macros for rounding and
11446 division.
11447 (denorm): Likewise.
11448 (__dbl_mp): Likewise.
11449 (add_magnitudes): Likewise.
11450 (sub_magnitudes): Likewise.
11451 (__mul): Likewise.
11452 (__sqr): Likewise.
11453 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
11454 powers of two in terms of TWOPOW macro.
11455 (mp_no): Make type of mantissa as MANTISSA_T.
11456 [!RADIXI]: Define RADIXI.
11457 [!TWO52]: Define TWO52.
11458 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11459
bcda9880
SP
11460 * manual/nptl.texi (cindex): Modify threads to pthreads.
11461
06d5adfb
JM
114622013-03-15 Joseph Myers <joseph@codesourcery.com>
11463
11464 * sysdeps/x86_64/preconfigure: Regenerated.
11465
41c7328e
JM
114662013-03-14 Joseph Myers <joseph@codesourcery.com>
11467
11468 [BZ #14155]
11469 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
11470 0x1p28 and above.
11471 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
11472 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
11473 0x1p28 and above.
11474 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
11475 * math/libm-test.inc (j0_test): Do not allow one spurious
11476 underflow exception.
11477 (y1_test): Likewise.
11478
e25cfa60
SP
114792013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11480
0409959c
SP
11481 * manual/Makefile (chapters): Add nptl.
11482 * manual/debug.texi (Debugging Support): Add link to Threads
11483 chapter.
11484 * manual/nptl.texi: New file.
11485
e25cfa60
SP
11486 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
11487
58a1335e
PB
114882013-03-14 Petr Baudis <pasky@ucw.cz>
11489
11490 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
11491 for non-NULL pointer before the memory validity test. Pointed
11492 out by Holger Brunck <holger.brunck@keymile.com>.
11493
9dc7c64f
AS
114942013-03-13 Andreas Schwab <schwab@suse.de>
11495
11496 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
11497 instead of .os.
11498
54206aa6
JM
114992013-03-13 Joseph Myers <joseph@codesourcery.com>
11500
11501 * timezone/zic.c: Update from tzcode 2013b.
11502
e98cdb38
CD
115032013-03-12 Carlos O'Donell <carlos@redhat.com>
11504
11505 * manual/install.texi (Configuring and compiling):
11506 Mention i686 and i586.
11507 * INSTALL: Regenerate.
11508
9967e003
RM
115092013-03-12 Roland McGrath <roland@hack.frob.com>
11510
11511 * sysdeps/init_array/elf-init.c: New file.
11512 * csu/elf-init.c
11513 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
11514 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
11515
11516 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
11517 __gmon_start__ as global, but as static with a .preinit_array pointer.
11518 * sysdeps/init_array/gmon-start.c: New file. Use that.
11519 * sysdeps/init_array/crti.S: New file, empty except for comments.
11520 * sysdeps/init_array/crtn.S: Likewise.
11521
e6b5a293 115222013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
11523
11524 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
11525 definining bcopy.
80f844c9
OB
11526 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11527 Remove Prefer_SSE_for_memop.
11528 * sysdeps/x86_64/multiarch/init-arch.h: Remove
11529 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
11530 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
11531 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
11532 memset-x86-64.
80f844c9 11533 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 11534 Remove bzero, memset ifunc support.
80f844c9
OB
11535 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
11536 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
11537 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11538 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11539
fb6b0fcb
AS
115402013-03-11 Andreas Schwab <schwab@suse.de>
11541
11542 [BZ #15234]
11543 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
11544 by SHLIB_COMPAT.
11545 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
11546 (GLIBC_2.16): Remove pthread_atfork.
11547
3e6bd4b1
PP
115482013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
11549
11550 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
11551 (ptestcases.h): Likewise.
11552
222d7f00
RM
115532013-03-08 Roland McGrath <roland@hack.frob.com>
11554
11555 * Makeconfig ($(common-objpfx)config.status): Depend on
11556 sysdeps/*/preconfigure{,.in} too.
11557
1ba4f030
JM
115582013-03-08 Joseph Myers <joseph@codesourcery.com>
11559
a222d91a
JM
11560 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
11561 (__free_hook): Use void * instead of __malloc_ptr_t.
11562 (__malloc_hook): Likewise.
11563 (__realloc_hook): Likewise.
11564 (__memalign_hook): Likewise.
11565 (__after_morecore_hook): Likewise.
11566 * malloc/arena.c (save_malloc_hook): Likewise.
11567 (save_free_hook): Likewise.
11568 * malloc/hooks.c (malloc_hook_ini): Likewise.
11569 (realloc_hook_ini): Likewise.
11570 (memalign_hook_ini): Likewise.
11571 * malloc/malloc.c (malloc_hook_ini): Likewise.
11572 (realloc_hook_ini): Likewise.
11573 (memalign_hook_ini): Likewise.
11574 (__free_hook): Likewise.
11575 (__malloc_hook): Likewise.
11576 (__realloc_hook): Likewise.
11577 (__memalign_hook): Likewise.
11578 (__libc_malloc): Likewise.
11579 (__libc_free): Likewise.
11580 (__libc_realloc): Likewise.
11581 (__libc_memalign): Likewise.
11582 (__libc_valloc): Likewise.
11583 (__libc_pvalloc): Likewise.
11584 (__libc_calloc): Likewise.
11585 (__posix_memalign): Likewise.
11586 * malloc/morecore.c (__sbrk): Likewise.
11587 (__default_morecore): Likewise.
11588
5cc45e10
JM
11589 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
11590
dd54b864
JM
11591 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
11592 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
11593 __malloc_ptrdiff_t.
11594
1ba4f030
JM
11595 * malloc/malloc.h (__malloc_size_t): Remove macro.
11596 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
11597 __malloc_size_t.
11598 (old_memalign_hook): Likewise.
11599 (old_realloc_hook): Likewise.
11600 (struct hdr): Likewise.
11601 (flood): Likewise.
11602 (mallochook): Likewise.
11603 (memalignhook): Likewise.
11604 (reallochook): Likewise.
11605 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
11606 (tr_old_realloc_hook): Likewise.
11607 (tr_old_memalign_hook): Likewise.
11608 (tr_mallochook): Likewise.
11609 (tr_reallochook): Likewise.
11610 (tr_memalignhook): Likewise.
11611
edf66e57
AZ
116122013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11613
11614 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
11615 default_ldbl_pack and using as default implementation.
11616 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
11617 implementation.
11618 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
11619 redundant definition.
11620 (ldbl_insert_mantissa): Likewise.
11621 (ldbl_canonicalize): Likewise.
11622 (ldbl_nearbyint): Likewise.
11623 (ldbl_pack): Rename to ldbl_pack_ppc.
11624 (ldbl_unpack): Rename to ldbl_unpack_ppc.
11625 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
11626 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
11627
6d9145d8
SP
116282013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11629
11630 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
11631 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
11632 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
11633 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
11634 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
11635 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
11636 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
11637 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
11638
4dd4e157
AJ
116392013-03-07 Andreas Jaeger <aj@suse.de>
11640
11641 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11642 bits/mman-linux.h.
11643
adbb8027
SP
116442013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
11645
ce544b5b
SP
11646 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
11647 Include mpa.h and declare __MPEXP.
11648 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
11649 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11650 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11651 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
11652 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11653 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11654 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
11655
4cc149fd
SP
11656 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
11657 (__slowpow): Use long double EXPL and LOGL functions to
11658 compute POW.
11659 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11660 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11661 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
11662 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11663 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11664 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
11665
e6ebd4a7
SP
11666 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
11667 intermediate variable to calculate exponent.
11668 (__sqr): Likewise.
11669 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
11670 Likewise.
11671 (__sqr): Likewise.
11672
82a9811d
SP
11673 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
11674 [!NO__SQR]: Define __sqr.
11675 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
11676 and NO__SQR. Remove all code except __mul and __sqr. Include
11677 sysdeps/ieee754/dbl-64/mpa.c.
11678 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11679
adbb8027
SP
11680 [BZ #12723]
11681 * posix/Makefile (tests): Add tst-pathconf.
11682 * posix/tst-pathconf.c: New test case.
11683 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
11684 _PC_PIPE_BUF.
11685 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
11686
39120df9
PF
116872013-03-06 Patsy Franklin <pfrankli@redhat.com>
11688
11689 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
11690
67525cb8
AJ
116912013-03-06 Andreas Jaeger <aj@suse.de>
11692
664a9ce4
AJ
11693 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
11694 definition via __MAP_ANONYMOUS.
11695
8e39047d
AJ
11696 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
11697 it's not part of Linux headers.
11698
67525cb8
AJ
11699 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
11700 (MAP_HUGE_MASK): Define.
11701
11702 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11703 Define.
11704 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11705 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11706 Define.
11707 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11708 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11709 Define.
11710 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11711 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
11712 Define.
11713 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11714
11715 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
11716 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
11717 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
11718 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
11719 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
11720 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
11721
11722 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
11723 Handle f2fs.
11724
11725 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11726 Handle f2fs and efivarfs.
11727
11728 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
11729 f2fs.
11730
11731 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
11732 (EFIVARFS_MAGIC): Add.
11733 (F2FS_LINK_MAX): Add.
11734
e1b42695
PP
117352013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11736
11737 * stdio-common/vfprintf.c: Replace __builtin_expect with
11738 __glibc_unlikely.
11739
2d67d91a
JM
117402013-03-06 Joseph Myers <joseph@codesourcery.com>
11741
11742 [BZ #13550]
11743 * sysdeps/generic/bp-sym.h: Remove file.
11744 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
11745 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
11746 <bp-sym.h> and <bp-asm.h>.
11747 (__longjmp): Don't use BP_SYM.
11748 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
11749 and <bp-asm.h>.
11750 (memcpy): Don't use BP_SYM.
11751 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
11752 <bp-sym.h> and <bp-asm.h>.
11753 (memcpy): Don't use BP_SYM.
11754 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
11755 <bp-asm.h>.
11756 (memcpy): Don't use BP_SYM.
11757 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
11758 <bp-asm.h>.
11759 (memset): Don't use BP_SYM.
11760 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11761 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11762 (__bzero): Don't use BP_SYM.
11763 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11764 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11765 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
11766 <bp-sym.h> and <bp-asm.h>.
11767 (memcmp): Don't use BP_SYM. Remove comment about bounded
11768 pointers.
11769 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
11770 <bp-sym.h> and <bp-asm.h>.
11771 (memcpy): Don't use BP_SYM.
11772 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
11773 <bp-sym.h> and <bp-asm.h>.
11774 (memset): Don't use BP_SYM.
11775 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11776 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11777 (__bzero): Don't use BP_SYM.
11778 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11779 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11780 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
11781 <bp-sym.h> and <bp-asm.h>.
11782 (strncmp): Don't use BP_SYM. Remove comment about bounded
11783 pointers.
11784 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
11785 <bp-sym.h> and <bp-asm.h>.
11786 (memcpy): Don't use BP_SYM.
11787 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
11788 <bp-sym.h> and <bp-asm.h>.
11789 (memset): Don't use BP_SYM.
11790 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11791 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11792 (__bzero): Don't use BP_SYM.
11793 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11794 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11795 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
11796 <bp-sym.h> and <bp-asm.h>.
11797 (__memchr): Don't use BP_SYM.
11798 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
11799 <bp-sym.h> and <bp-asm.h>.
11800 (memcmp): Don't use BP_SYM. Remove comment about bounded
11801 pointers.
11802 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
11803 <bp-sym.h> and <bp-asm.h>.
11804 (memcpy): Don't use BP_SYM.
11805 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
11806 <bp-sym.h> and <bp-asm.h>.
11807 (__mempcpy): Don't use BP_SYM.
11808 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
11809 <bp-sym.h> and <bp-asm.h>.
11810 (__memrchr): Don't use BP_SYM.
11811 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
11812 <bp-sym.h> and <bp-asm.h>.
11813 (memset): Don't use BP_SYM.
11814 (__bzero): Likewise.
11815 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
11816 <bp-sym.h> and <bp-asm.h>.
11817 (__rawmemchr): Don't use BP_SYM.
11818 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
11819 <bp-sym.h> and <bp-asm.h>.
11820 (__STRCMP): Don't use BP_SYM.
11821 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
11822 <bp-sym.h> and <bp-asm.h>.
11823 (strchr): Don't use BP_SYM.
11824 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
11825 <bp-sym.h> and <bp-asm.h>.
11826 (__strchrnul): Don't use BP_SYM.
11827 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
11828 <bp-sym.h> and <bp-asm.h>.
11829 (strlen): Don't use BP_SYM.
11830 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
11831 <bp-sym.h> and <bp-asm.h>.
11832 (strncmp): Don't use BP_SYM. Remove comment about bounded
11833 pointers.
11834 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
11835 <bp-sym.h> and <bp-asm.h>.
11836 (__strnlen): Don't use BP_SYM.
11837 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
11838 <bp-sym.h> and <bp-asm.h>.
11839 (__GI__setjmp): Don't use BP_SYM.
11840 (_setjmp): Likewise.
11841 (__sigsetjmp): Likewise.
11842 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
11843 (L(start_addresses)): Don't use BP_SYM.
11844 (_start): Likewise.
11845 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
11846 <bp-asm.h>.
11847 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
11848 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
11849 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11850 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11851 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
11852 <bp-asm.h>.
11853 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
11854 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
11855 about bounded pointers.
11856 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11857 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11858 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
11859 <bp-asm.h>.
11860 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
11861 about bounded pointers. Remove GKM FIXME comments.
11862 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11863 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
11864 <bp-asm.h>.
11865 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
11866 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
11867 Remove GKM FIXME comments.
11868 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11869 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11870 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
11871 <bp-asm.h>.
11872 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
11873 about bounded pointers. Remove GKM FIXME comment.
11874 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
11875 and <bp-asm.h>.
11876 (strncmp): Don't use BP_SYM. Remove comment about bounded
11877 pointers.
11878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
11879 <bp-sym.h> and <bp-asm.h>.
11880 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
11881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
11882 <bp-sym.h> and <bp-asm.h>.
11883 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
11884 comment.
11885
cdcf361f
PP
118862013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11887
11888 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
11889 call free(NULL).
11890
3c4a2b15
DM
118912013-03-05 David S. Miller <davem@davemloft.net>
11892
11893 * po/es.po: Update from translation team.
11894
cdcf361f 118952013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
11896
11897 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
11898 <bits/mman-linux.h>.
11899 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11900 is fine.
11901 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
11902 <bits/mman-linux.h> to end of file.
11903 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11904 is fine.
11905 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
11906 <bits/mman-linux.h> to end of file.
11907 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11908 is fine.
11909 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
11910 <bits/mman-linux.h> to end of file.
11911
11912 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
11913 (MCL_CURRENT, MCL_FUTURE): Define here.
11914
5f67c04f
AK
119152013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11916
8a4473cc 11917 [BZ #15232]
5f67c04f
AK
11918 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
11919 attribute_hidden.
11920 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
11921
c3e94a95
AK
119222013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11923
11924 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
11925 fourth parameter needed for rt_sigprocmask syscall.
11926 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
11927 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
11928 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
11929 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
11930 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
11931 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
11932
cfb6382a
JM
119332013-03-04 Joseph Myers <joseph@codesourcery.com>
11934
11935 [BZ #13550]
11936 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
11937 comment about bounded pointers.
11938 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
11939 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
11940
539d8e01
AJ
119412013-03-04 Andreas Jaeger <aj@suse.de>
11942
11943 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
11944 common definitions.
11945
11946 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
11947 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
11948 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
11949 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11950 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
11951 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11952
2e167a70 119532013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
11954
11955 [BZ #15055]
11956 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
11957 __ieee754_sqrl instead of __sqrl.
11958
68508633
JM
119592013-03-01 Joseph Myers <joseph@codesourcery.com>
11960
11961 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
11962 * sysdeps/powerpc/fpu_control.h: ... here.
11963 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
11964 * sysdeps/powerpc/bits/fenvinline.h: ... here.
11965 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
11966 * sysdeps/powerpc/bits/mathinline.h: ... here.
11967
7775448e
RM
119682013-03-01 Roland McGrath <roland@hack.frob.com>
11969
11970 * elf/dl-hwcaps.c (_dl_important_hwcaps):
11971 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
11972 to just [NEED_DL_SYSINFO_DSO].
11973 * elf/dl-support.c: Likewise.
11974 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
11975 * elf/rtld.c (dl_main): Likewise.
11976 * elf/setup-vdso.h (setup_vdso): Likewise.
11977 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
11978 * sysdeps/unix/sysv/linux/dl-sysdep.c
11979 (_dl_discover_osversion): Likewise.
11980
4e9b5995
CD
119812013-03-01 Carlos O'Donell <carlos@redhat.com>
11982
11983 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
11984 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
11985
e23872c8
SP
119862013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
11987
e5c74c63
SP
11988 * NEWS: Mention libm performance improvements and non-x86 PI
11989 futex support.
11990
e23872c8
SP
11991 * csu/libc-start.c (__pthread_initialize_minimal): Change
11992 function arguments.
11993 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
11994
b5510883
JM
119952013-02-28 Joseph Myers <joseph@codesourcery.com>
11996
11997 [BZ #13550]
11998 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
11999 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
12000 <bp-sym.h> and <bp-asm.h>.
12001 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12002 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
12003 and <bp-asm.h>.
12004 (memcpy): Don't use BP_SYM.
12005 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
12006 <bp-asm.h>.
12007 (__mpn_add_n): Don't use BP_SYM.
12008 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
12009 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
12010 and <bp-asm.h>.
12011 (__mpn_addmul_1): Don't use BP_SYM.
12012 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12013 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
12014 <bp-sym.h>.
12015 (_setjmp): Don't use BP_SYM.
12016 (__novmx_setjmp): Likewise.
12017 (__GI__setjmp): Likewise.
12018 (__vmx_setjmp): Likewise.
12019 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
12020 <bp-sym.h>.
12021 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
12022 (__bzero): Don't use BP_SYM.
12023 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12024 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12025 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
12026 <bp-sym.h> and <bp-asm.h>.
12027 (memcpy): Don't use BP_SYM.
12028 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
12029 <bp-sym.h> and <bp-asm.h>.
12030 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12031 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
12032 <bp-sym.h> and <bp-asm.h>.
12033 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12034 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
12035 <bp-asm.h>.
12036 (__mpn_lshift): Don't use BP_SYM.
12037 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12038 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
12039 <bp-asm.h>.
12040 (memset): Don't use BP_SYM.
12041 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12042 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12043 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
12044 <bp-asm.h>.
12045 (__mpn_mul_1): Don't use BP_SYM.
12046 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12047 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
12048 <bp-sym.h> and <bp-asm.h>.
12049 (memcmp): Don't use BP_SYM.
12050 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
12051 <bp-sym.h> and <bp-asm.h>.
12052 (memcpy): Don't use BP_SYM.
12053 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
12054 <bp-sym.h> and <bp-asm.h>.
12055 (memset): Don't use BP_SYM.
12056 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
12057 <bp-sym.h> and <bp-asm.h>.
12058 (strncmp): Don't use BP_SYM.
12059 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
12060 <bp-sym.h> and <bp-asm.h>.
12061 (memcpy): Don't use BP_SYM.
12062 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
12063 <bp-sym.h> and <bp-asm.h>.
12064 (memset): Don't use BP_SYM.
12065 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
12066 <bp-sym.h> and <bp-asm.h>.
12067 (__memchr): Don't use BP_SYM.
12068 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
12069 <bp-sym.h> and <bp-asm.h>.
12070 (memcmp): Don't use BP_SYM.
12071 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
12072 <bp-sym.h> and <bp-asm.h>.
12073 (memcpy): Don't use BP_SYM.
12074 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
12075 <bp-sym.h> and <bp-asm.h>.
12076 (__mempcpy): Don't use BP_SYM.
12077 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
12078 <bp-sym.h> and <bp-asm.h>.
12079 (__memrchr): Don't use BP_SYM.
12080 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
12081 <bp-sym.h> and <bp-asm.h>.
12082 (memset): Don't use BP_SYM.
12083 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
12084 <bp-sym.h> and <bp-asm.h>.
12085 (__rawmemchr): Don't use BP_SYM.
12086 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
12087 <bp-sym.h> and <bp-asm.h>.
12088 (__STRCMP): Don't use BP_SYM.
12089 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
12090 <bp-sym.h> and <bp-asm.h>.
12091 (strchr): Don't use BP_SYM.
12092 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
12093 <bp-sym.h> and <bp-asm.h>.
12094 (__strchrnul): Don't use BP_SYM.
12095 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
12096 <bp-sym.h> and <bp-asm.h>.
12097 (strlen): Don't use BP_SYM.
12098 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
12099 <bp-sym.h> and <bp-asm.h>.
12100 (strncmp): Don't use BP_SYM.
12101 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
12102 <bp-sym.h> and <bp-asm.h>.
12103 (__strnlen): Don't use BP_SYM.
12104 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
12105 <bp-asm.h>.
12106 (__mpn_rshift): Don't use BP_SYM.
12107 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12108 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
12109 <bp-sym.h> and <bp-asm.h>.
12110 (__sigsetjmp): Don't use BP_SYM.
12111 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
12112 (L(start_addresses)): Don't use BP_SYM.
12113 (_start): Likewise.
12114 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
12115 <bp-asm.h>.
12116 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
12117 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12118 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12119 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
12120 <bp-asm.h>.
12121 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
12122 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12123 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12124 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
12125 <bp-asm.h>.
12126 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
12127 comments.
12128 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12129 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
12130 <bp-asm.h>.
12131 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
12132 FIXME comments.
12133 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12134 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12135 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
12136 <bp-asm.h>.
12137 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
12138 comment.
12139 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
12140 and <bp-asm.h>.
12141 (strncmp): Don't use BP_SYM,
12142 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
12143 <bp-asm.h>.
12144 (__mpn_sub_n): Don't use BP_SYM.
12145 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12146 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
12147 and <bp-asm.h>.
12148 (__mpn_submul_1): Don't use BP_SYM.
12149 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
12151 <bp-sym.h> and <bp-asm.h>.
12152 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
12153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
12154 <bp-sym.h> and <bp-asm.h>.
12155 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
12156 comment.
12157
8d19fe64
SP
121582013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12159
12160 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
12161 Use ZK to minimize writes to Z.
12162 (sub_magnitudes): Simplify code a bit.
12163 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
12164 Use ZK to minimize writes to Z.
12165 (sub_magnitudes): Simplify code a bit.
12166
85bd816a
RM
121672013-02-27 Roland McGrath <roland@hack.frob.com>
12168
12169 * csu/gmon-start.c: Add special exception to license text.
12170
b5977bf2
RH
121712013-02-27 Richard Henderson <rth@redhat.com>
12172
12173 * scripts/config.guess: Update from config.git.
12174 * scripts/config.sub: Likewise.
12175
11d6e2f2
SP
121762013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12177
09c14ed2
SP
12178 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
12179
a688864e
SP
12180 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
12181
6295157a
SP
12182 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
12183
b8de2202
SP
12184 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
12185
11d6e2f2
SP
12186 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
12187
7e80ddb8
RM
121882013-02-26 Roland McGrath <roland@hack.frob.com>
12189
12190 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
12191 [$(build-shared = yes].
7e80ddb8 12192
7da6d9ed
SP
121932013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12194
45f05884
SP
12195 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
12196 (__mul): Reduce iterations for calculating mantissa.
12197
2236d359
SP
12198 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
12199 MPTWO.
12200 (__mpranred): Likewise.
12201
7da6d9ed
SP
12202 [BZ #15160]
12203 * malloc/memusagestat.c (main): Draw graphs for heap and stack
12204 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
12205
b7688c42
PE
122062013-02-26 Paul Eggert <eggert@cs.ucla.edu>
12207
12208 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
12209 Define __attribute__.
12210
53a5c423
SP
122112013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12212
12213 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
12214 unused.
12215 * posix/regex_internal.h (__attribute): Remove.
12216 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
12217 (re_string_context_at): Likewise.
12218 (bitset_not): Use __attribute__ and mark function as possibly
12219 unused.
12220 (bitset_merge): Likewise.
12221 (bitset_mask): Likewise.
12222 (re_string_char_size_at): Likewise.
12223 (re_string_wchar_at): Likewise.
12224 (re_string_elem_size_at): Likewise.
12225
60f5a8b5
SP
122262013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12227
2a983a2e
SP
12228 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
12229 code.
12230 (cc32): Likewise.
12231
e69804d1
SP
12232 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
12233 (__acr): Likewise.
12234 (__cpy): Likewise.
12235 (norm): Likewise.
12236 (denorm): Likewise.
12237 (__dbl_mp): Likewise.
12238 (add_magnitudes): Likewise.
12239 (sub_magnitudes): Likewise.
12240 (__mul): Likewise.
12241 (__inv): Likewise.
12242
2f22a1e8
SP
12243 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
12244 style.
12245
8930ddc7
SP
12246 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
12247 style.
12248
dc60cb11
SP
12249 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
12250 code.
12251
60f5a8b5
SP
12252 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
12253 up changes with default code.
12254 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
12255 Likewise.
12256
b4d1fd33
AM
122572013-02-24 Allan McRae <allan@archlinux.org>
12258
faf6f8bc
AM
12259 * manual/socket.texi (The Internet Namespace): Order menu items
12260 to match that in the file.
12261
b4d1fd33
AM
12262 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
12263 node listing of the info page menu.
12264
2366713d
JM
122652013-02-21 Joseph Myers <joseph@codesourcery.com>
12266
12267 [BZ #13550]
12268 * sysdeps/i386/bp-asm.h: Remove file.
12269 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12270 (PARMS): Do not use macros from bp-asm.h.
12271 (S1): Likewise.
12272 (S2): Likewise.
12273 (SIZE): Likewise.
12274 (__mpn_add_n): Do not use BP_SYM
12275 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
12276 "bp-asm.h".
12277 (PARMS): Do not use macros from bp-asm.h.
12278 (S1): Likewise.
12279 (SIZE): Likewise.
12280 (__mpn_addmul_1): Do not use BP_SYM
12281 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
12282 "bp-asm.h".
12283 (PARMS): Do not use macros from bp-asm.h.
12284 (SIGMSK): Likewise.
12285 (_setjmp): Likewise. Do not use BP_SYM.
12286 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
12287 "bp-asm.h".
12288 (PARMS): Do not use macros from bp-asm.h.
12289 (SIGMSK): Likewise.
12290 (setjmp): Likewise. Do not use BP_SYM.
12291 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
12292 "bp-asm.h".
12293 (PARMS): Do not use macros from bp-asm.h.
12294 (__frexp): Do not use BP_SYM.
12295 (frexp): Likewise.
12296 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
12297 "bp-asm.h".
12298 (PARMS): Do not use macros from bp-asm.h.
12299 (__frexpf): Do not use BP_SYM.
12300 (frexpf): Likewise.
12301 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
12302 "bp-asm.h".
12303 (PARMS): Do not use macros from bp-asm.h.
12304 (__frexpl): Do not use BP_SYM.
12305 (frexpl): Likewise.
12306 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
12307 "bp-asm.h".
12308 (PARMS): Do not use macros from bp-asm.h.
12309 (__remquo): Do not use BP_SYM.
12310 (remquo): Likewise.
12311 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
12312 "bp-asm.h".
12313 (PARMS): Do not use macros from bp-asm.h.
12314 (__remquof): Do not use BP_SYM.
12315 (remquof): Likewise.
12316 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
12317 "bp-asm.h".
12318 (PARMS): Do not use macros from bp-asm.h.
12319 (__remquol): Do not use BP_SYM.
12320 (remquol): Likewise.
12321 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
12322 "bp-asm.h".
12323 (PARMS): Do not use macros from bp-asm.h.
12324 (DEST): Likewise.
12325 (SRC): Likewise.
12326 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
12327 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
12328 "bp-asm.h".
12329 (PARMS): Do not use macros from bp-asm.h.
12330 (strlen): Do not use BP_SYM.
12331 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
12332 "bp-asm.h".
12333 (PARMS): Do not use macros from bp-asm.h.
12334 (S1): Likewise.
12335 (S2): Likewise.
12336 (SIZE): Likewise.
12337 (__mpn_add_n): Do not use BP_SYM.
12338 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
12339 "bp-asm.h".
12340 (PARMS): Do not use macros from bp-asm.h.
12341 (S1): Likewise.
12342 (SIZE): Likewise.
12343 (__mpn_addmul_1): Do not use BP_SYM.
12344 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
12345 weak_alias.
12346 (bzero): Likewise.
12347 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
12348 "bp-asm.h".
12349 (PARMS): Do not use macros from bp-asm.h.
12350 (S): Likewise.
12351 (SIZE): Likewise.
12352 (__mpn_lshift): Do not use BP_SYM.
12353 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
12354 "bp-asm.h".
12355 (PARMS): Do not use macros from bp-asm.h.
12356 (DEST): Likewise.
12357 (SRC): Likewise.
12358 (LEN): Likewise.
12359 (memcpy): Likewise. Do not use BP_SYM.
12360 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
12361 libc_hidden_def and weak_alias.
12362 (mempcpy): Do not use BP_SYM in weak_alias.
12363 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
12364 "bp-asm.h".
12365 (PARMS): Do not use macros from bp-asm.h.
12366 (DEST): Likewise.
12367 (LEN): Likewise.
12368 [!BZERO_P] (CHR): Likewise.
12369 (memset): Likewise. Do not use BP_SYM.
12370 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
12371 "bp-asm.h".
12372 (PARMS): Do not use macros from bp-asm.h.
12373 (S1): Likewise.
12374 (SIZE): Likewise.
12375 (__mpn_mul_1): Do not use BP_SYM.
12376 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
12377 "bp-asm.h".
12378 (PARMS): Do not use macros from bp-asm.h.
12379 (S): Likewise.
12380 (SIZE): Likewise.
12381 (__mpn_rshift): Do not use BP_SYM.
12382 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
12383 "bp-asm.h".
12384 (PARMS): Do not use macros from bp-asm.h.
12385 (STR): Likewise.
12386 (CHR): Likewise.
12387 (strchr): Likewise. Do not use BP_SYM.
12388 (index): Do not use BP_SYM in weak_alias.
12389 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
12390 "bp-asm.h".
12391 (PARMS): Do not use macros from bp-asm.h.
12392 (DEST): Likewise.
12393 (SRC): Likewise.
12394 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
12395 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
12396 "bp-asm.h".
12397 (PARMS): Do not use macros from bp-asm.h.
12398 (strlen): Do not use BP_SYM.
12399 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
12400 "bp-asm.h".
12401 (PARMS): Do not use macros from bp-asm.h.
12402 (S1): Likewise.
12403 (S2): Likewise.
12404 (SIZE): Likewise.
12405 (__mpn_sub_n): Do not use BP_SYM.
12406 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
12407 "bp-asm.h".
12408 (PARMS): Do not use macros from bp-asm.h.
12409 (S1): Likewise.
12410 (SIZE): Likewise.
12411 (__mpn_submul_1): Do not use BP_SYM.
12412 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
12413 "bp-asm.h".
12414 (PARMS): Do not use macros from bp-asm.h.
12415 (S1): Likewise.
12416 (S2): Likewise.
12417 (SIZE): Likewise.
12418 (__mpn_add_n): Do not use BP_SYM.
12419 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
12420 weak_alias.
12421 (bzero): Likewise.
12422 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
12423 "bp-asm.h".
12424 (PARMS): Do not use macros from bp-asm.h.
12425 (BLK2): Likewise.
12426 (LEN): Likewise.
12427 (memcmp): Do not use BP_SYM.
12428 (bcmp): Do not use BP_SYM in weak_alias.
12429 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
12430 "bp-asm.h".
12431 (PARMS): Do not use macros from bp-asm.h.
12432 (DEST): Likewise.
12433 (SRC): Likewise.
12434 (LEN): Likewise.
12435 (memcpy): Likewise. Do not use BP_SYM.
12436 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
12437 "bp-asm.h".
12438 (PARMS): Do not use macros from bp-asm.h.
12439 (DEST): Likewise.
12440 (SRC): Likewise.
12441 (LEN): Likewise.
12442 (memmove): Likewise. Do not use BP_SYM.
12443 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
12444 "bp-asm.h".
12445 (PARMS): Do not use macros from bp-asm.h.
12446 (DEST): Likewise.
12447 (SRC): Likewise.
12448 (LEN): Likewise.
12449 (__mempcpy): Likewise. Do not use BP_SYM.
12450 (mempcpy): Do not use BP_SYM in weak_alias.
12451 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
12452 "bp-asm.h".
12453 (PARMS): Do not use macros from bp-asm.h.
12454 (DEST): Likewise.
12455 (LEN): Likewise.
12456 [!BZERO_P] (CHR): Likewise.
12457 (memset): Likewise. Do not use BP_SYM.
12458 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
12459 "bp-asm.h".
12460 (PARMS): Do not use macros from bp-asm.h.
12461 (STR2): Likewise.
12462 (strcmp): Do not use BP_SYM.
12463 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
12464 "bp-asm.h".
12465 (PARMS): Do not use macros from bp-asm.h.
12466 (STR): Likewise.
12467 (DELIM): Likewise.
12468 [USE_AS_STRTOK_R] (SAVE): Likewise.
12469 (FUNCTION): Likewise. Do not use BP_SYM.
12470 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
12471 aliases.
12472 (strtok_r): Likewise.
12473 (__GI___strtok_r): Likewise.
12474 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12475 (PARMS): Do not use macros from bp-asm.h.
12476 (S): Likewise.
12477 (SIZE): Likewise.
12478 (__mpn_lshift): Do not use BP_SYM.
12479 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12480 (PARMS): Do not use macros from bp-asm.h.
12481 (STR): Likewise.
12482 (CHR): Likewise.
12483 (__memchr): Do not use BP_SYM.
12484 (memchr): Do not use BP_SYM in weak_alias.
12485 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12486 (PARMS): Do not use macros from bp-asm.h.
12487 (BLK2): Likewise.
12488 (LEN): Likewise.
12489 (memcmp): Do not use BP_SYM.
12490 (bcmp): Do not use BP_SYM in weak_alias.
12491 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
12492 (PARMS): Do not use macros from bp-asm.h.
12493 (S1): Likewise.
12494 (SIZE): Likewise.
12495 (__mpn_mul_1): Do not use BP_SYM.
12496 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
12497 "bp-asm.h".
12498 (PARMS): Do not use macros from bp-asm.h.
12499 (STR): Likewise.
12500 (CHR): Likewise.
12501 (__rawmemchr): Do not use BP_SYM.
12502 (rawmemchr): Do not use BP_SYM in weak_alias.
12503 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12504 (PARMS): Do not use macros from bp-asm.h.
12505 (S): Likewise.
12506 (SIZE): Likewise.
12507 (__mpn_rshift): Do not use BP_SYM.
12508 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12509 (PARMS): Do not use macros from bp-asm.h.
12510 (SIGMSK): Likewise.
12511 (__sigsetjmp): Likewise. Do not use BP_SYM.
12512 * sysdeps/i386/start.S: Do not include "bp-sym.h".
12513 (_start): Do not use BP_SYM.
12514 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
12515 (PARMS): Do not use macros from bp-asm.h.
12516 (DEST): Likewise.
12517 (SRC): Likewise.
12518 (__stpcpy): Likewise. Do not use BP_SYM.
12519 (stpcpy): Do not use BP_SYM in weak_alias.
12520 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
12521 "bp-asm.h".
12522 (PARMS): Do not use macros from bp-asm.h.
12523 (DEST): Likewise.
12524 (SRC): Likewise.
12525 (LEN): Likewise.
12526 (__stpncpy): Likewise. Do not use BP_SYM.
12527 (stpncpy): Do not use BP_SYM in weak_alias.
12528 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12529 (PARMS): Do not use macros from bp-asm.h.
12530 (STR): Likewise.
12531 (CHR): Likewise.
12532 (strchr): Likewise. Do not use BP_SYM.
12533 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
12534 "bp-asm.h".
12535 (PARMS): Do not use macros from bp-asm.h.
12536 (STR): Likewise.
12537 (CHR): Likewise.
12538 (__strchrnul): Likewise. Do not use BP_SYM.
12539 (strchrnul): Do not use BP_SYM in weak_alias.
12540 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
12541 "bp-asm.h".
12542 (PARMS): Do not use macros from bp-asm.h.
12543 (STOP): Likewise.
12544 (strcspn): Do not use BP_SYM.
12545 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
12546 "bp-asm.h".
12547 (PARMS): Do not use macros from bp-asm.h.
12548 (STR): Likewise.
12549 (STOP): Likewise.
12550 (strpbrk): Likewise. Do not use BP_SYM.
12551 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
12552 "bp-asm.h".
12553 (PARMS): Do not use macros from bp-asm.h.
12554 (STR): Likewise.
12555 (CHR): Likewise.
12556 (strrchr): Likewise. Do not use BP_SYM.
12557 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
12558 (PARMS): Do not use macros from bp-asm.h.
12559 (SKIP): Likewise.
12560 (strspn): Do not use BP_SYM.
12561 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
12562 (PARMS): Do not use macros from bp-asm.h.
12563 (STR): Likewise.
12564 (DELIM): Likewise.
12565 (SAVE): Likewise.
12566 (FUNCTION): Likewise. Do not use BP_SYM.
12567 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
12568 aliases.
12569 (strtok_r): Likewise.
12570 (__GI___strtok_r): Likewise.
12571 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12572 (PARMS): Do not use macros from bp-asm.h.
12573 (S1): Likewise.
12574 (S2): Likewise.
12575 (SIZE): Likewise.
12576 (__mpn_sub_n): Do not use BP_SYM.
12577 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
12578 "bp-asm.h".
12579 (PARMS): Do not use macros from bp-asm.h.
12580 (S1): Likewise.
12581 (SIZE): Likewise.
12582 (__mpn_submul_1): Do not use BP_SYM.
12583 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
12584 <bp-sym.h>.
12585 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
12586 and <bp-asm.h>.
12587 (PARMS): Do not use macros from bp-asm.h.
12588 (FLAGS): Likewise.
12589 (PTID): Likewise.
12590 (TLS): Likewise.
12591 (CTID): Likewise.
12592 (__clone): Do not use BP_SYM.
12593 (clone): Do not use BP_SYM in weak_alias.
12594 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
12595 and <bp-asm.h>.
12596 (PARMS): Do not use macros from bp-asm.h.
12597 (LEN): Likewise.
12598 (__mmap64): Do not use BP_SYM.
12599 (mmap64): Do not use BP_SYM in weak_alias.
12600 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
12601 <bp-sym.h> and <bp-asm.h>.
12602 (PARMS): Do not use macros from bp-asm.h.
12603 (__posix_fadvise64_l64): Do not use BP_SYM.
12604 * sysdeps/unix/sysv/linux/i386/semtimedop.S
12605 (PARMS): Do not use macros from bp-asm.h.
12606 (NSOPS): Likewise.
12607 (semtimedop): Do not use BP_SYM.
12608 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
12609 and <bp-asm.h>.
12610
582a3cff
AM
126112013-02-21 Allan McRae <allan@archlinux.org>
12612
12613 * manual/message.texi (Charset conversion in gettext):
12614 Move @end statement to beginning of line.
12615
bab8a695
SP
126162013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12617
80945231
SP
12618 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
12619 static.
12620 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
12621 Likewise.
12622
bab8a695
SP
12623 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
12624 (denorm): Likewise.
12625 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
12626 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
12627
e21d7aa7
AK
126282013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12629
12630 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
12631 tail-call to the resolved function if pltexit isn't needed.
12632
4c7a4263
SP
126332013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12634
12635 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
12636 or Y being zero as being unlikely.
12637 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
12638 Likewise.
12639
41f49342
CD
126402013-02-20 Carlos O'Donell <carlos@redhat.com>
12641
12642 * manual/nss.texi (System Databases and Name Service Switch):
12643 Remove frobnicate @pxref.
12644
50022a93
TS
126452013-02-20 Thomas Schwinge <thomas@codesourcery.com>
12646
12647 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12648 __attribute__ ((unused)) to __attribute__ ((__unused__)).
12649
08cbd996
PM
126502013-02-20 Petr Machata <pmachata@redhat.com>
12651
12652 * elf/elf.h (R_ARM_TARGET1): New macro.
12653 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
12654 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
12655 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
12656 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
12657 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
12658 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
12659 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
12660 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
12661 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
12662 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
12663 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
12664 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
12665 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
12666 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
12667 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
12668 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
12669 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
12670 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
12671 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
12672 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
12673 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
12674 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
12675 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
12676 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
12677 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
12678 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
12679 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
12680 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
12681 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
12682 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
12683 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
12684 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
12685 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
12686 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
12687 (R_ARM_THM_GOT_BREL12): Likewise.
12688 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
12689 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
12690 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
12691 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
12692 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
12693 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
12694 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
12695 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
12696 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
12697
c7b275d6
TS
126982013-02-20 Thomas Schwinge <thomas@codesourcery.com>
12699
12700 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12701 __attribute_used__ to __attribute__ ((unused)).
12702
20cd7fb3
SP
127032013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12704
12705 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
12706 powerpc mpa.c.
12707 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
12708 comment formatting.
12709 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
12710
92945b52
JM
127112013-02-19 Joseph Myers <joseph@codesourcery.com>
12712
12713 [BZ #13550]
12714 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
12715 Remove macro.
12716 (ENTER): Remove both macro definitions.
12717 (LEAVE): Likewise.
12718 (CHECK_BOUNDS_LOW): Likewise.
12719 (CHECK_BOUNDS_HIGH): Likewise.
12720 (CHECK_BOUNDS_BOTH): Likewise.
12721 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
12722 (RETURN_BOUNDED_POINTER): Likewise.
12723 (RETURN_NULL_BOUNDED_POINTER): Likewise.
12724 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
12725 (POP_ERRNO_LOCATION_RETURN): Likewise.
12726 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
12727 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12728 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
12729 macros.
12730 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12731 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
12732 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
12733 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
12734 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
12735 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
12736 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
12737 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
12738 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
12739 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
12740 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
12741 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
12742 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12743 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
12744 removed macros.
12745 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12746 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
12747 macros.
12748 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12749 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
12750 * sysdeps/i386/i586/memset.S (memset): Likewise.
12751 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
12752 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12753 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
12754 macros.
12755 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12756 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
12757 Change uses of L(2) to L(out).
12758 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
12759 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
12760 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
12761 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12762 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
12763 removed macros.
12764 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12765 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
12766 macros.
12767 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12768 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
12769 (RETURN): Do not use macro LEAVE.
12770 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
12771 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
12772 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
12773 * sysdeps/i386/i686/memset.S (memset): Likewise.
12774 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
12775 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
12776 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12777 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
12778 Likewise.
12779 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12780 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
12781 L(1_2) and L(1_3) into L(1).
12782 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
12783 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
12784 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12785 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
12786 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12787 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
12788 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
12789 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12790 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
12791 macros.
12792 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
12793 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12794 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
12795 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
12796 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
12797 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12798 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
12799 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
12800 * sysdeps/i386/strcspn.S (strcspn): Likewise.
12801 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
12802 * sysdeps/i386/strrchr.S (strrchr): Likewise.
12803 * sysdeps/i386/strspn.S (strspn): Likewise.
12804 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
12805 conditional code.
12806 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12807 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
12808 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
12809 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
12810 L(1_3) into L(1_1).
12811 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
12812 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12813 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
12814 macros.
12815 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12816
2389741a
JJ
128172013-02-19 Jakub Jelinek <jakub@redhat.com>
12818
12819 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
12820 macro.
12821
2016b3cd
SP
128222013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12823
e4f22324
SP
12824 * math/atest-exp.c (exp_mpn): Remove ROUND.
12825 * math/atest-exp2.c (exp_mpn): Likewise.
12826 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
12827
2016b3cd
SP
12828 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
12829 * stdlib/tst-tls-atexit-lib.c: Likewise.
12830 * stdlib/tst-tls-atexit.c: Likewise.
12831
4be9b544
MF
128322013-02-18 Mike Frysinger <vapier@gentoo.org>
12833
12834 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
12835 and __attribute_alloc_size__.
12836
2f62b9ee
MF
128372013-02-18 Mike Frysinger <vapier@gentoo.org>
12838
12839 * include/programs/xmalloc.h: Change __attribute_alloc_size to
12840 __attribute_alloc_size__.
12841 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
12842 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
12843
6ff444c4
MF
128442013-02-18 Mike Frysinger <vapier@gentoo.org>
12845
12846 * include/programs/xmalloc.h: New file.
12847 * catgets/gencat.c: Include it.
12848 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
12849 * elf/pldd.c: Likewise.
12850 * iconv/iconv_charmap.c: Likewise.
12851 * iconv/iconvconfig.c: Likewise.
12852 * iconv/strtab.c: Likewise.
12853 * locale/programs/locale.c: Likewise.
12854 * locale/programs/localedef.h: Likewise.
12855 * locale/programs/simple-hash.c: Likewise.
12856 * nscd/nscd.h: Likewise.
12857 * nss/makedb.c: Likewise.
12858 * sysdeps/generic/ldconfig.h: Likewise.
12859
be179c8a
SP
128602013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12861
ba384f6e
SP
12862 * Versions.def: Add GLIBC_2.18.
12863 * include/link.h (struct link_map): New member l_tls_dtor_count.
12864 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
12865 (__call_tls_dtors): Likewise.
12866 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
12867 __cxa_thread_atexit_impl.
12868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12869 Likewise.
12870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12871 Likewise.
12872 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12873 Likewise.
12874 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12875 Likewise.
12876 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12877 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
12878 Likewise.
12879 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
12880 Likewise.
12881 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12882 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
12883 Likewise.
12884 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
12885 (tests): Add test case tst-tls-atexit.
12886 (modules-names): Add shared library for tst-tls-atexit.
85891aca 12887 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
12888 (GLIBC_PRIVATE): Add __call_tls_dtors.
12889 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
12890 for libstdc++.
12891 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
12892 * stdlib/tst-tls-atexit.c: New test case.
12893 * stdlib/tst-tls-atexit-lib.c: New test case.
12894
ffaa74cf 12895 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 12896
be179c8a
SP
12897 * elf/Versions (ld): Add _dl_find_dso_for_object.
12898 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
12899 * elf/dl-open.c (_dl_find_dso_for_object): New function.
12900 (dl_open_worker): Use _dl_find_dso_for_object.
12901 * elf/dl-sym.c (do_sym): Likewise.
12902 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
12903
f78b5caa
AK
129042013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12905
12906 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
12907 Syntactic changes only.
12908 (_dl_runtime_profile): Do a tail-call to the resolved function.
12909
29691210
JM
129102013-02-17 Joseph Myers <joseph@codesourcery.com>
12911
12912 [BZ #13550]
12913 * sysdeps/x86_64/bp-asm.h: Remove file.
12914 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
12915 <bp-sym.h> and <bp-asm.h>.
12916 (__clone): Do not use BP_SYM.
12917 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
12918 <bp-sym.h> and <bp-asm.h>.
12919 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12920 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
12921 "bp-asm.h".
12922 (_setjmp): Do not use BP_SYM.
12923 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
12924 "bp-asm.h".
12925 (setjmp): Do not use BP_SYM.
12926 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
12927 libc_hidden_def.
12928 (mempcpy): Do not use BP_SYM in weak_alias.
12929 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
12930 "bp-asm.h".
12931 (strchr): Do not use BP_SYM.
12932 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
12933 "bp-asm.h".
12934 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
12935 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
12936 (_start): Do not use BP_SYM.
12937 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
12938 "bp-asm.h".
12939 (strcat): Do not use BP_SYM.
12940 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
12941 "bp-asm.h".
12942 (STRCMP): Do not use BP_SYM.
12943 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
12944 "bp-asm.h".
12945 (STRCPY): Do not use BP_SYM.
12946 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
12947 "bp-asm.h".
12948 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
12949 "bp-asm.h".
12950 (FUNCTION): Do not use BP_SYM.
12951 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
12952 weak_alias.
12953 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
12954
f238fd19
AJ
129552013-02-17 Andreas Jaeger <aj@suse.de>
12956
12957 * time/Versions: Sort entries.
12958 * string/Versions: Likewise.
12959 * resolv/Versions: Likewise.
12960 * posix/Versions: Likewise.
12961 * iconv/Versions: Likewise.
12962 * elf/Versions: Likewise.
12963 * wcsmbs/Versions: Likewise.
12964
bd07f23c 129652013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 12966
22af19f9
SP
12967 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
12968 loop termination condition.
12969
4709fe76
SP
12970 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
12971 variable to calculate EZ.
12972 (__sqr): Likewise.
2d0e0f29
SP
12973
12974 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
12975 the lower precision input.
12976
daaa7713
JM
129772013-02-15 Joseph Myers <joseph@codesourcery.com>
12978
12979 [BZ #13550]
12980 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
12981 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
12982 (run-via-rtld-prefix): Do not handle %-bp tests.
12983 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
12984 (all-object-suffixes): Remove .ob.
12985 (bppfx): Remove variable.
12986 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
12987 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
12988 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
12989 [$(build-bounded) = yes] (libtype.ob): Likewise.
12990 * Makerules (elide-routines.ob): Remove variable.
12991 (do-tests-clean): Do not handle *-bp.out.
12992 (common-mostlyclean): Do not handle *-bp and *-bp.out.
12993 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
12994 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
12995 (tests): Do not include $(tests-bp.out).
12996 (xtests): Do not include $(xtests-bp.out).
12997 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
12998 [$(build-bounded) = yes] ($(addprefix
12999 $(objpfx),$(binaries-bounded))): Remove rule.
13000 ($(objpfx)%-bp.out): Remove rule.
13001 * config.make.in (build-bounded): Remove variable.
13002 * crypt/Makefile [$(build-bounded) = yes]
13003 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
13004 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
13005 append to variable.
13006 [$(build-bounded) = yes] (install-lib): Likewise.
13007 [$(build-bounded) = yes] (generated): Likewise.
13008 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
13009 Remove rule.
13010 * intl/Makefile [$(build-bounded) = yes]
13011 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
13012 * math/Makefile [$(build-bounded) = yes]
13013 ($(tests:%=$(objpfx)%-bp): Likewise.
13014 * misc/Makefile [$(build-bounded) = yes]
13015 ($(objpfx)tst-tsearch-bp): Likewise.
13016 * nptl/Makeconfig (bounded-thread-library): Remove variable.
13017 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
13018 Remove dependency.
13019 * string/Makefile (o-objects.ob): Remove variable.
13020 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
13021 (CFLAGS-.ob): Remove variable.
13022 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
13023 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
13024 both definitions of variable.
13025 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
13026 (ASFLAGS-.ob): Remove variable.
13027
e97ed6dd
JM
130282013-02-14 Joseph Myers <joseph@codesourcery.com>
13029
2bdd4ca6
JM
13030 [BZ #13550]
13031 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
13032 Remove __BOUNDED_POINTERS__ from condition.
13033 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
13034 * string/bits/string2.h [!__NO_STRING_INLINES &&
13035 !__BOUNDED_POINTERS__]: Likewise.
13036 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
13037 Likewise.
13038 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
13039 Remove conditional code.
13040 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
13041 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
13042 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
13043 condition.
13044
e97ed6dd
JM
13045 [BZ #13550]
13046 * csu/libc-start.c: Do not include <bp-sym.h>.
13047 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
13048 * elf/dl-open.c: Do not include <bp-sym.h>.
13049 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
13050 * math/fegetenv.c: Do not include <bp-sym.h>.
13051 (fegetenv): Do not use BP_SYM in versioned symbols.
13052 * nptl/sysdeps/pthread/bits/libc-lockP.h
13053 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
13054 <bp-sym.h>.
13055 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13056 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
13057 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13058 (__pthread_mutex_destroy): Likewise.
13059 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13060 (__pthread_mutex_lock): Likewise.
13061 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13062 (__pthread_mutex_trylock): Likewise.
13063 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13064 (__pthread_mutex_unlock): Likewise.
13065 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13066 (__pthread_mutexattr_init): Likewise.
13067 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13068 (__pthread_mutexattr_destroy): Likewise.
13069 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13070 (__pthread_mutexattr_settype): Likewise.
13071 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13072 (__pthread_rwlock_init): Likewise.
13073 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13074 (__pthread_rwlock_destroy): Likewise.
13075 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13076 (__pthread_rwlock_rdlock): Likewise.
13077 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13078 (__pthread_rwlock_tryrdlock): Likewise.
13079 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13080 (__pthread_rwlock_wrlock): Likewise.
13081 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13082 (__pthread_rwlock_trywrlock): Likewise.
13083 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13084 (__pthread_rwlock_unlock): Likewise.
13085 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13086 (__pthread_key_create): Likewise.
13087 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13088 (__pthread_setspecific): Likewise.
13089 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13090 (__pthread_getspecific): Likewise.
13091 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
13092 Likewise.
13093 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13094 (_pthread_cleanup_push_defer): Likewise.
13095 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13096 (_pthread_cleanup_pop_restore): Likewise.
13097 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13098 (pthread_setcancelstate): Likewise.
13099 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
13100 <bp-sym.h>.
13101 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
13102 (memchr): Do not use BP_SYM in weak_alias.
13103 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
13104 (fegetenv): Do not use BP_SYM in versioned symbols.
13105 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
13106 (fesetenv): Do not use BP_SYM in versioned symbols.
13107 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
13108 (feupdateenv): Do not use BP_SYM in versioned symbols.
13109 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
13110 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
13111 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
13112 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
13113 (open64): Do not use BP_SYM in weak_alias.
13114 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
13115 (fegetenv): Do not use BP_SYM in versioned symbols.
13116 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
13117 (fesetenv): Do not use BP_SYM in versioned symbols.
13118 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
13119 (feupdateenv): Do not use BP_SYM in versioned symbols.
13120 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
13121 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
13122 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
13123 (feraiseexcept): Do not use BP_SYM in versioned symbols.
13124 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
13125 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
13126 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
13127 <bp-sym.h>.
13128 (__libc_start_main): Do not use BP_SYM.
13129
d6752ccd
SP
131302013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13131
cb57ce60
SP
13132 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
13133 redundant return line.
13134 (norm): Likewise.
13135 (denorm): Likewise.
13136 (dbl_mp): Likewise.
13137 (sub_magnitudes): Likewise.
13138 (__add): Likewise.
13139 (__sub): Likewise.
13140 (__mul): Likewise.
13141 (__inv): Likewise.
13142 (__dvd): Likewise.
13143 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
13144 (norm): Likewise.
13145 (denorm): Likewise.
13146 (dbl_mp): Likewise.
13147 (sub_magnitudes): Likewise.
13148 (__add): Likewise.
13149 (__sub): Likewise.
13150 (__mul): Likewise.
13151 (__inv): Likewise.
13152 (__dvd): Likewise.
13153
f414520d
SP
13154 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
13155 instead of __mul.
13156 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
13157 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
13158 (cc32): Likewise.
13159
d6752ccd
SP
13160 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
13161 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
13162 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
13163 of __mul for squares.
13164 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
13165 function
13166 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
13167 Likewise.
13168 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
13169 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13170
70d9946a
JM
131712013-02-13 Joseph Myers <joseph@codesourcery.com>
13172
13173 [BZ #13550]
13174 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
13175 code.
13176 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
13177 prototype or function definition. Rename ubp_* variables and
13178 parameters. Remove argv definitions conditional on
13179 [__BOUNDED_POINTERS__].
13180 * debug/backtrace.c (__backtrace): Do not use __unbounded.
13181 * elf/dl-runtime.c (_dl_fixup): Likewise.
13182 * include/set-hooks.h (RUN_HOOK): Likewise.
13183 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
13184 definition.
13185 * string/strcpy.c (strcpy): Do not use __unbounded.
13186 * sysdeps/generic/frame.h (struct layout): Likewise.
13187 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
13188 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
13189 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
13190 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
13191 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
13192 (__backtrace): Likewise.
13193 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
13194 use __ptrvalue.
13195 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
13196 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13197 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
13198 Likewise.
13199 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
13200 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
13201 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
13202 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13203 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
13204 Do not use __unbounded.
13205 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
13206 Rename __unboundedrlimits parameter to rlimits in prototype.
13207 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
13208 Do not use __unbounded.
13209 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
13210 not use __ptrvalue.
13211 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13212 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
13213 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13214 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
13215 __ptrvalue or __unbounded.
13216 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
13217 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
13218 use __unbounded.
13219 (__new_msgctl): Do not use __ptrvalue.
13220 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
13221 __unbounded.
13222 (__libc_msgrcv): Do not use __ptrvalue.
13223 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
13224 startup_info): Do not use __unbounded.
13225 (__libc_start_main): Likewise. Rename ubp_* variables and
13226 parameters. Remove argv definitions conditional on
13227 [__BOUNDED_POINTERS__].
13228 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
13229 __ptrvalue.
13230 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
13231 use __unbounded.
13232 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
13233 or __ptrvalue.
13234 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
13235 use __unbounded.
13236 (__new_shmctl): Do not use __ptrvalue.
13237 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
13238 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
13239 Likewise.
13240 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
13241 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
13242 (__libc_sigaction): Likewise.
13243 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
13244 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
13245 Likewise.
13246 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13247
cc7834d6
OB
132482013-02-13 Ondřej Bílka <neleai@seznam.cz>
13249
ffb1ec7b 13250 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
13251
13252 * string/mempcpy.c: Implement by calling memcpy.
13253
bdf02814
SP
132542013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13255
c2af38aa
SP
13256 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
13257
4e92d59e
SP
13258 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
13259 evaluation.
13260
909279a5
SP
13261 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
13262 values in the mantissa.
13263
bdf02814
SP
13264 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
13265 minimize writes to Z.
13266 (sub_magnitudes): Simplify code a bit.
13267
cd525923
RM
132682013-02-12 Roland McGrath <roland@hack.frob.com>
13269
13270 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
13271 from the message. The linker prefixes all warnings with that already.
13272
7e2f0d2d
AS
132732013-02-12 Andreas Schwab <schwab@suse.de>
13274
a445af0b
AS
13275 [BZ #15078]
13276 * posix/regexec.c (extend_buffers): Add parameter min_len.
13277 (check_matching): Pass minimum needed length.
13278 (clean_state_log_if_needed): Likewise.
13279 (get_subexp): Likewise.
13280 * posix/Makefile (tests): Add bug-regex34.
13281 (bug-regex34-ENV): Define.
13282 * posix/bug-regex34.c: New file.
13283
7e2f0d2d
AS
13284 [BZ #11561]
13285 * posix/regcomp.c (parse_bracket_exp): When looking up collating
13286 elements compare against the byte sequence of it, not its name.
13287 * posix/Makefile (tests): Add bug-regex35.
13288 (bug-regex35-ENV): Define.
13289 * posix/bug-regex35.c: New file.
13290
a175b684
TV
132912013-02-11 Tom de Vries <tom@codesourcery.com>
13292
13293 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
13294 comment.
13295 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
13296 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
13297 (CHECK_EOL): Add undef.
13298
310998fe 132992013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
13300
13301 * bits/stdlib-bsearch.h: New file.
13302 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 13303 * stdlib/stdlib.h: Likewise.
41eda41d 13304
8ded91fb
RM
133052013-02-11 Roland McGrath <roland@hack.frob.com>
13306
13307 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
13308 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
13309 declaration.
13310 * manual/search.texi (Array Search Function): Add missing const in
13311 lfind prototype.
13312 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
13313 declaration to use rlim_t.
13314 (Basic Scheduling Functions): Remove erroneous const from
13315 sched_getparam prototype. Remove erroneous * from
13316 sched_get_priority_max and sched_get_priority_min prototypes.
13317 (Resource Usage): Fix summary @comment on vtimes to refer to
13318 sys/vtimes.h rather than vtimes.h.
13319 Add missing *s in vtimes prototype.
13320 (Limits on Resources): Fix ulimit prototype to return long int.
13321 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
13322 prototypes to use long int rather than double.
13323 (BSD Random): Fix initstate and setstate to use char *, not void *.
13324 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
13325 prototype to make second argument 'struct aiocb64 *const[]'.
13326 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
13327 (Status of AIO Operations): Remove erroneous const in aio_return and
13328 aio_return64 prototypes.
13329 (Synchronizing I/O): Fix sync prototype to return void.
13330 * manual/startup.texi (Suboptions): Remove an erroneous const in
13331 getsubopt prototype.
13332 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
13333 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
13334 use size_t rather than int.
13335 (Scanning All Users): Likewise for getpwent_r.
13336 (Setting Groups): Add missing const to setgroups prototype.
13337 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
13338 * manual/socket.texi (Host Names): Fix gethostbyaddr and
13339 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
13340 'const void *' rather than 'const char *'.
13341 (Host Address Functions): Likewise for inet_ntop.
13342 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
13343 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
13344 ssize_t for return value.
13345 (Sending Data): Likewise for send, sendto, sendmsg.
13346 (Socket Option Functions): Add a missing const in setsockopt prototype.
13347 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
13348 use wchar_t for the argument.
13349 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
13350 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
13351 take no arguments.
13352 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
13353 double/float/long double for second argument.
13354 Fix return types of significand, significandf, significandl.
13355 * manual/filesys.texi (Setting Permissions): Use mode_t for second
13356 argument in fchmod prototype.
13357 (File Owner): Use uid_t and gid_t in fchown prototype.
13358 (File Times): Add const to utimes, futimes, and lutimes prototypes.
13359 (Making Special Files): Use mode_t and dev_t in mknod prototype.
13360 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
13361 use 'const struct dirent **' as argument types to CMP function pointer
13362 argument.
13363 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
13364 (File Times): Fix summary magic @comment for struct utimbuf and utime
13365 to refer to utime.h, not time.h.
13366 * manual/string.texi (Argz Functions): Add missing const in
13367 argz_extract and argz_next prototypes.
13368 (Finding Tokens in a String): Likewise for basename.
13369 (String/Array Comparison): Fix typo in wcscasecmp prototype.
13370 (Copying and Concatenation): Fix typo in wmemmove prototype.
13371 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
13372 (Signal Stack): Remove erroneous const in sigstack prototype.
13373 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
13374 prototype.
13375 (Simple Calendar Time): Likewise for stime.
13376 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
13377 prototype.
13378 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
13379 say sys/sysctl.h instead.
13380 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
13381 and vsyslog prototypes.
13382
fe77fe6d
TV
133832013-02-11 Tom de Vries <tom@codesourcery.com>
13384
13385 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
13386 Remove.
13387
3a09b620
RM
133882013-02-11 Roland McGrath <roland@hack.frob.com>
13389
13390 * misc/sys/mman.h: Fix typo in mremap comment.
13391
550a0b89
RM
133922013-02-08 Roland McGrath <roland@hack.frob.com>
13393
13394 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
13395 the '\0' terminator.
13396
a2da1673
JM
133972013-02-08 Joseph Myers <joseph@codesourcery.com>
13398
13399 [BZ #13550]
13400 * debug/segfault.c: Don't include <bp-checks.h>.
13401 * sysdeps/generic/bp-checks.h: Remove file.
13402 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
13403 (__GETDENTS): Don't use CHECK_N.
13404 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
13405 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
13406 (__getgroups): Don't use CHECK_N.
13407 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
13408 (setgroups): Don't use CHECK_N.
13409 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
13410 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
13411 (__libc_msgrcv): Don't use CHECK_N.
13412 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
13413 (__libc_msgsnd): Don't use CHECK_N.
13414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
13415 <bp-checks.h>.
13416 (__libc_pread): Don't use CHECK_N.
13417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
13418 include <bp-checks.h>.
13419 (__libc_pread64): Don't use CHECK_N.
13420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
13421 include <bp-checks.h>.
13422 (__libc_pwrite): Don't use CHECK_N.
13423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
13424 include <bp-checks.h>.
13425 (__libc_pwrite64): Don't use CHECK_N.
13426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
13427 <bp-checks.h>.
13428 (__libc_pread): Don't use CHECK_N.
13429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
13430 include <bp-checks.h>.
13431 (__libc_pread64): Don't use CHECK_N.
13432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
13433 include <bp-checks.h>.
13434 (__libc_pwrite): Don't use CHECK_N.
13435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
13436 include <bp-checks.h>.
13437 (__libc_pwrite64): Don't use CHECK_N.
13438 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
13439 (do_pread): Don't use CHECK_N.
13440 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
13441 (do_pread64): Don't use CHECK_N.
13442 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
13443 (do_pwrite): Don't use CHECK_N.
13444 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
13445 (do_pwrite64): Don't use CHECK_N.
13446 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
13447 (__libc_readv): Don't use CHECK_N.
13448 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
13449 (semop): Don't use CHECK_N.
13450 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
13451 <bp-checks.h>.
13452 (semtimedop): Don't use CHECK_N.
13453 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
13454 (__libc_pread): Don't use CHECK_N.
13455 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
13456 <bp-checks.h>.
13457 (__libc_pread64): Don't use CHECK_N.
13458 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
13459 <bp-checks.h>.
13460 (__libc_pwrite): Don't use CHECK_N.
13461 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
13462 <bp-checks.h>.
13463 (__libc_pwrite64): Don't use CHECK_N.
13464 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
13465 <bp-checks.h>.
13466 (__libc_msgrcv): Don't use CHECK_N.
13467 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
13468 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
13469 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
13470 (__libc_writev): Don't use CHECK_N.
13471
b84660a8
RM
134722013-02-08 Roland McGrath <roland@hack.frob.com>
13473
7f3e75f8
RM
13474 * string/strcpy.c: Removed unused variable.
13475
b84660a8
RM
13476 * Makeconfig (+sysdep-includes): Define with := rather than =.
13477 Use an existing include/ subdir of each sysdeps dir before it.
13478
471514d3
CD
134792013-02-08 Carlos O'Donell <carlos@redhat.com>
13480
13481 * nscd/connection.c (register_traced_file): Comment function.
13482 [HAVE_INOTIFY] (union __inev): Define.
13483 [HAVE_INOTIFY] (inotify_check_files): New function.
13484 [HAVE_INOTIFY] (clear_db_cache): Likewise.
13485 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
13486 clear_db_cache.
13487 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
13488
b2d3c3be
CD
134892013-02-08 Carlos O'Donell <carlos@redhat.com>
13490
13491 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
13492 loaded if not already and that a failure is permanent.
13493
b39949d2
CD
134942013-02-08 Carlos O'Donell <carlos@redhat.com>
13495
ddacd1db 13496 [BZ #15006]
b39949d2
CD
13497 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
13498 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
13499
b2c9eff4
JM
135002013-02-08 Joseph Myers <joseph@codesourcery.com>
13501
f3aae3f3
JM
13502 [BZ #13550]
13503 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
13504 (CHECK_1_NULL_OK): Likewise.
13505 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
13506 (__fxstat): Do not use CHECK_1.
13507 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
13508 <bp-checks.h>.
13509 (___fxstat64): Do not use CHECK_1.
13510 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
13511 <bp-checks.h>.
13512 (__fxstatat): Do not use CHECK_1.
13513 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
13514 <bp-checks.h>.
13515 (__fxstatat64): Do not use CHECK_1.
13516 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
13517 <bp-checks.h>.
13518 (__fxstat): Do not use CHECK_1.
13519 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
13520 <bp-checks.h>.
13521 (__fxstatat): Do not use CHECK_1.
13522 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
13523 <bp-checks.h>.
13524 (__getresgid): Do not use CHECK_1.
13525 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
13526 <bp-checks.h>.
13527 (__getresuid): Do not use CHECK_1.
13528 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
13529 <bp-checks.h>.
13530 (__lxstat): Do not use CHECK_1.
13531 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
13532 <bp-checks.h>.
13533 (__old_msgctl): Do not use CHECK_1.
13534 (__new_msgctl): Likewise.
13535 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
13536 <bp-checks.h>.
13537 (__new_setrlimit): Do not use CHECK_1.
13538 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
13539 <bp-checks.h>.
13540 (__old_shmctl): Do not use CHECK_1.
13541 (__new_shmctl): Likewise.
13542 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
13543 <bp-checks.h>.
13544 (__xstat): Do not use CHECK_1.
13545 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
13546 (__lxstat): Do not use CHECK_1.
13547 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
13548 <bp-checks.h>.
13549 (___lxstat64): Do not use CHECK_1.
13550 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
13551 (__old_msgctl): Do not use CHECK_1.
13552 (__new_msgctl): Likewise.
13553 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
13554 <bp-checks.h>.
13555 (__gettimeofday): Do not use CHECK_1.
13556 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
13557 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
13558 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
13559 <bp-checks.h>.
13560 (__gettimeofday): Do not use CHECK_1.
13561 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
13562 (__old_shmctl): Do not use CHECK_1_NULL_OK.
13563 (__new_shmctl): Do not use CHECK_1.
13564 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
13565 <bp-checks.h>.
13566 (do_sigtimedwait): Do not use CHECK_1.
13567 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
13568 <bp-checks.h>.
13569 (do_sigwaitinfo): Do not use CHECK_1.
13570 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
13571 <bp-checks.h>.
13572 (msgctl): Do not use CHECK_1.
13573 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
13574 <bp-checks.h>.
13575 (shmctl): Do not use CHECK_1.
13576 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
13577 (ustat): Do not use CHECK_1.
13578 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
13579 <bp-checks.h>.
13580 (__fxstat): Do not use CHECK_1.
13581 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
13582 <bp-checks.h>.
13583 (__fxstatat): Do not use CHECK_1.
13584 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
13585 <bp-checks.h>.
13586 (__lxstat): Do not use CHECK_1.
13587 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
13588 <bp-checks.h>.
13589 (__xstat): Do not use CHECK_1.
13590 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
13591 (__xstat): Do not use CHECK_1.
13592 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
13593 (___xstat64): Do not use CHECK_1.
13594
b2c9eff4
JM
13595 [BZ #13550]
13596 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
13597 definitions.
13598 (CHECK_BOUNDS_HIGH): Likewise.
13599 * string/strcpy.c: Do not include <bp-checks.h>.
13600 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
13601
f1d70dad
RM
136022013-02-07 Roland McGrath <roland@hack.frob.com>
13603
13604 * nscd/nscd-client.h (__nscd_drop_map_ref):
13605 Add __attribute__ ((unused)).
13606 * nis/nss-nisplus.h (niserr2nss): Likewise.
13607
13608 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
13609 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
13610
13611 * csu/libc-tls.c (init_static_tls, init_slotinfo):
13612 Remove inline keyword.
13613 * include/rounding-mode.h (round_away): Likewise.
13614 * libio/wfileops.c (adjust_wide_data): Likewise.
13615 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
13616 (__m128i_strloadu_tolower): Likewise.
13617 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
13618 (__m128i_strloadu_tolower): Likewise.
13619 * time/mktime.c (ydhms_diff): Likewise.
13620 * locale/elem-hash.h (elem_hash): Likewise.
13621 * locale/setlocale.c (setdata): Likewise.
13622 * posix/regex_internal.h (re_string_char_size_at): Likewise.
13623 (re_string_wchar_at): Likewise.
13624 (bitset_not, bitset_merge, bitset_mask): Likewise.
13625 [!(__GNUC__ > 3)] (inline): Remove macro.
13626 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
13627 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
13628 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
13629 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
13630 * string/memcmp.c (memcmp_bytes): Likewise.
13631 * locale/programs/locarchive.c (compute_hashval): Likewise.
13632 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
13633 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
13634 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
13635 * nss/getent.c (print_rpc, print_protocols): Likewise.
13636 (print_passwd, print_group, print_aliases): Likewise.
13637 * nis/nss-nisplus.h (niserr2nss): Likewise.
13638 * nscd/connections.c (restart_p): Likewise.
13639 Change return type to bool.
13640
eab55bfb
RM
136412013-02-05 Roland McGrath <roland@hack.frob.com>
13642
7bd642f5
RM
13643 * Makeconfig (all-Depend-files): Add existing
13644 $(sorted-subdirs:=/Depend) files.
13645 (all-subdirs): Remove nss.
13646 * sysdeps/unix/inet/Subdirs: Add it here instead.
13647 * hesiod/Depend: New file.
13648
573c29b2
RM
13649 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
13650 instead of calling alloca.
13651
b2e25af0
RM
13652 * io/lseek.c (__lseek): Rename to __libc_lseek.
13653 Define __lseek as an alias.
13654
eab55bfb
RM
13655 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
13656
9a0d1941
CD
136572013-02-04 Carlos O'Donell <carlos@redhat.com>
13658
13659 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
13660 else clause and remove check for non-standard endianness.
13661
b83bbec4
DM
136622013-02-04 David S. Miller <davem@davemloft.net>
13663
13664 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13665
6277fdab
JM
136662013-02-04 Joseph Myers <joseph@codesourcery.com>
13667
13668 [BZ #13550]
13669 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
13670 (__ubp_memchr): Remove prototype.
13671 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
13672 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13673 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
13674 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13675 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
13676 Remove alias.
13677 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
13678 (__ubp_memchr): Likewise.
13679 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
13680 (__ubp_memchr): Likewise.
13681 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
13682 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
13683 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
13684 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
13685 CHECK_STRING.
13686 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13687 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
13688 (__getcwd): Do not use CHECK_STRING.
13689 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
13690 <bp-checks.h>.
13691 (__real_chown): Do not use CHECK_STRING.
13692 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
13693 <bp-checks.h>.
13694 (fchownat): Do not use CHECK_STRING.
13695 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
13696 CHECK_STRING.
13697 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
13698 <bp-checks.h>.
13699 (__lchown): Do not use CHECK_STRING.
13700 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13701 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13702 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13703 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
13704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
13705 include <bp-checks.h>.
13706 (truncate64): Do not use CHECK_STRING.
13707 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
13708 <bp-checks.h>.
13709 (__real_chown): Do not use CHECK_STRING.
13710 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
13711 <bp-checks.h>.
13712 (__lchown): Do not use CHECK_STRING.
13713 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
13714 <bp-checks.h>.
13715 (__chown): Do not use CHECK_STRING.
13716 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
13717 <bp-checks.h>.
13718 (truncate64): Do not use CHECK_STRING.
13719 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
13720 Likewise.
13721 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
13722 (__xmknod): Do not use CHECK_STRING.
13723 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
13724 <bp-checks.h>.
13725 (__xmknodat): Do not use CHECK_STRING.
13726 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13727 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
13728
903ae060
AS
137292013-02-04 Andreas Schwab <schwab@suse.de>
13730
13731 [BZ #14142]
13732 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
13733 * include/netdb.h: Likewise for h_errno.
13734 * elf/tst-stackguard1.c: Include <tls.h>.
13735
542f9466
JK
137362013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13737
13738 * elf/link.h (struct link_map): Extend the l_addr comment.
13739 * include/link.h (struct link_map): Likewise.
13740
e782a927
JM
137412013-02-01 Joseph Myers <joseph@codesourcery.com>
13742
13743 [BZ #13550]
13744 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
13745 (BOUNDED_1): Remove macro.
13746 * debug/backtrace.c: Don't include <bp-checks.h>.
13747 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
13748 (__backtrace): Likewise.
13749 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
13750 <bp-checks.h>.
13751 (__backtrace): Don't use BOUNDED_1.
13752 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
13753 <bp-checks.h>.
13754 (__backtrace): Don't use BOUNDED_1.
13755 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
13756 (__backtrace): Don't use BOUNDED_1.
13757 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
13758 (shmat): Don't use BOUNDED_N.
13759
8cf28c5e
JM
137602013-01-31 Joseph Myers <joseph@codesourcery.com>
13761
3a7ac8a0
JM
13762 [BZ #13550]
13763 * sysdeps/generic/bp-start.h: Remove file.
13764 * csu/libc-start.c: Don't include <bp-start.h>.
13765 (LIBC_START_MAIN): Set up __environ directly instead of using
13766 INIT_ARGV_and_ENVIRON.
13767 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
13768 <bp-start.h>.
13769
f3499f95
JM
13770 [BZ #13550]
13771 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
13772 definitions.
13773 (CHECK_FCNTL): Likewise.
13774 (CHECK_N_PAGES): Likewise.
13775
32a45bea
JM
13776 [BZ #13550]
13777 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
13778 definitions.
13779 (CHECK_SIGSET_NULL_OK): Likewise.
13780 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
13781 <bp-checks.h>.
13782 (sigpending): Don't use CHECK_SIGSET.
13783 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
13784 <bp-checks.h>.
13785 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13786 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
13787 <bp-checks.h>.
13788 (do_sigsuspend): Don't use CHECK_SIGSET.
13789 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
13790 use CHECK_SIGSET.
13791 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
13792 (do_sigwait): Don't use CHECK_SIGSET.
13793 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
13794 use CHECK_SIGSET.
13795 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
13796 include <bp-checks.h>.
13797 (sigpending): Don't use CHECK_SIGSET.
13798 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
13799 include <bp-checks.h>.
13800 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13801 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
13802 <bp-checks.h>.
13803 (sigpending): Don't use CHECK_SIGSET.
13804 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
13805 <bp-checks.h>.
13806 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13807
2e8a5c8c
JM
13808 [BZ #13550]
13809 * sysdeps/generic/bp-semctl.h: Remove file.
13810 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
13811 <bp-checks.h> and <bp-semctl.h>.
13812 (__old_semctl): Don't use CHECK_SEMCTL.
13813 (__new_semctl): Likewise.
13814 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
13815 and <bp-semctl.h>.
13816 (__old_semctl): Don't use CHECK_SEMCTL.
13817 (__new_semctl): Likewise.
13818 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
13819 <bp-checks.h> and <bp-semctl.h>.
13820 (__old_semctl): Don't use CHECK_SEMCTL.
13821 (__new_semctl): Likewise.
13822 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
13823 <bp-checks.h> and <bp-semctl.h>.
13824 (semctl): Don't use CHECK_SEMCTL.
13825
c2d54929
JM
13826 [BZ #13550]
13827 * Makerules (elide-bp-thunks): Remove variable.
13828 (elide-routines.oS): Don't use $(elide-bp-thunks).
13829 (elide-routines.os): Likewise.
13830 (elide-routines.o): Likewise.
13831 (elide-routines.op): Likewise.
13832 (elide-routines.og): Likewise.
13833 (objects): Don't use $(bp-thunks).
13834 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
13835 include.
13836 (common-generated): Do not add s-proto-bp.d.
13837 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
13838 (int): Likewise.
13839 (typ): Likewise.
13840 Do not generate makefile rules for bounded-pointer thunks.
13841 * sysdeps/generic/bp-thunks.h: Remove file.
13842 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
13843 * sysdeps/unix/s-proto-bp.S: Likewise.
13844
8cf28c5e
JM
13845 [BZ #15062]
13846 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
13847 parts of result separately when argument is not close to line from
13848 -i to i and one part of argument is small.
13849 * math/k_casinhf.c (__kernel_casinhf): Likewise.
13850 * math/k_casinhl.c (__kernel_casinhl): Likewise.
13851 * math/libm-test.inc (cacos_test): Add more tests.
13852 (casin_test): Likewise.
13853 (casinh_test): Likewise.
13854 * sysdeps/i386/fpu/libm-test-ulps: Update.
13855 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13856
c4e33b8d
DM
138572013-01-31 David S. Miller <davem@davemloft.net>
13858
13859 * po/de.po: Update from translation team.
13860
3b60b421
MK
138612013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
13862
13863 * time/tzfile.c: Include stdint.h for SIZE_MAX.
13864
bb931195
TS
138652013-01-25 Thomas Schwinge <thomas@codesourcery.com>
13866
b5a5da23
TS
13867 * configure.in (_AC_PROG_CC_C89): New definition.
13868 * configure: Regenerate.
13869
bb931195
TS
13870 * configure.in (AC_PROG_CPP): New definition.
13871 * configure: Regenerate.
13872
8c53a12c
JM
138732013-01-23 Joseph Myers <joseph@codesourcery.com>
13874
13875 * debug/tst-backtrace.h: New file.
13876 * debug/tst-backtrace2.c: Include tst-backtrace.h.
13877 (ret): Remove variable.
13878 (x): Likewise.
13879 (FAIL): Remove macro.
13880 (NO_INLINE): Likewise.
13881 (fn1): Use match function instead of strstr.
13882 * debug/tst-backtrace3.c: Include tst-backtrace.h.
13883 (ret): Remove variable.
13884 (x): Likewise.
13885 (FAIL): Remove macro.
13886 (NO_INLINE): Likewise.
13887 (fn): Use match function instead of strstr.
13888 * debug/tst-backtrace4.c: Include tst-backtrace.h.
13889 (ret): Remove variable.
13890 (x): Likewise.
13891 (FAIL): Remove macro.
13892 (NO_INLINE): Likewise.
13893 (handle_signal): Use match function instead of strstr.
13894 * debug/tst-backtrace5.c: Include tst-backtrace.h.
13895 (ret): Remove variable.
13896 (x): Likewise.
13897 (FAIL): Remove macro.
13898 (NO_INLINE): Likewise.
13899 (handle_signal): Use match function instead of strstr.
13900
4858fa2a
RM
139012013-01-23 Roland McGrath <roland@hack.frob.com>
13902
13903 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
13904
bae8e7f5
DM
139052013-01-23 David S. Miller <davem@davemloft.net>
13906
13907 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
13908 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
13909 argument of CAS if possible.
13910 * sysdeps/sparc/sparc64/bits/atomic.h
13911 (__arch_compare_and_exchange_val_32_acq): Likewise.
13912 (__arch_compare_and_exchange_val_64_acq): Likewise.
13913
9cbbc4ae
PT
139142013-01-23 Pino Toscano <toscano.pino@tiscali.it>
13915
13916 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
13917 * sysdeps/posix/ulimit.c: ... this.
92a601b8 13918 Include <limits.h>.
67b3f58c 13919 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 13920
5655a0b5
AC
139212013-01-23 Adam Conrad <adconrad@0c3.net>
13922
13923 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
13924 (LDFLAGS-tst-array5): Likewise.
13925
052aff95
JM
139262013-01-23 Joseph Myers <joseph@codesourcery.com>
13927
13928 [BZ #15036]
13929 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
13930 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
13931 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
13932 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
13933
7c1e01aa
DM
139342013-01-21 David S. Miller <davem@davemloft.net>
13935
13936 * sysdeps/sparc/backtrace.c: New file.
13937 * sysdeps/sparc/sparc32/backtrace.h: New file.
13938 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
13939 * sysdeps/sparc/sparc64/backtrace.h: New file.
13940 * sysdeps/sparc/sparc64/backtrace.c: Delete.
13941 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
13942 -funwind-tables.
13943
ab087e0a
AS
139442013-01-21 Andreas Schwab <schwab@suse.de>
13945
13946 [BZ #15020]
13947 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
13948 closed its stdout.
13949
ed689c2f
AS
139502013-01-20 Andreas Schwab <schwab@linux-m68k.org>
13951
13952 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
13953 "mpa2.h".
13954 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13955
31d470ac
JM
139562013-01-18 Joseph Myers <joseph@codesourcery.com>
13957 Mark Mitchell <mark@codesourcery.com>
13958 Tom de Vries <tom@codesourcery.com>
13959 Paul Pluzhnikov <ppluzhnikov@google.com>
13960
13961 * debug/tst-backtrace2.c: New file.
13962 * debug/tst-backtrace3.c: Likewise.
13963 * debug/tst-backtrace4.c: Likewise.
13964 * debug/tst-backtrace5.c: Likewise.
13965 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
13966 (CFLAGS-tst-backtrace3.c): Likewise.
13967 (CFLAGS-tst-backtrace4.c): Likewise.
13968 (CFLAGS-tst-backtrace5.c): Likewise.
13969 (LDFLAGS-tst-backtrace2): Likewise.
13970 (LDFLAGS-tst-backtrace3): Likewise.
13971 (LDFLAGS-tst-backtrace4): Likewise.
13972 (LDFLAGS-tst-backtrace5): Likewise.
13973 (tests): Add new tests tst-backtrace2, tst-backtrace3,
13974 tst-backtrace4 and tst-backtrace5.
13975
90567f30 139762013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
13977 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13978
13979 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
13980 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
13981 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
13982 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
13983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13984 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
13985 "+r" and remove output regs list as redundant. Add explicit inline
13986 asm to specify register of return val to work around compiler codegen
13987 bug. Remove (int) cast on return value. Add return type parameter to
13988 use in macro so that this macro does not truncate return value for
13989 64-bit values.
13990 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
13991 pass to INTERNAL_VSYSCALL_NCS.
13992 (INLINE_VSYSCALL): Add 'long int' as return type to
13993 INTERNAL_VSYSCALL_NCS macro invocation.
13994 (INTERNAL_VSYSCALL): Add 'long int' as return type to
13995 INTERNAL_VSYSCALL_NCS macro invocation.
13996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13997
d3b9ea61
SP
139982013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13999
0b57daeb
SP
14000 [BZ #14496]
14001 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
14002 Fix application of SIMD FP exception mask.
14003
caa99d06
SP
14004 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
14005 mp_no from a power of two.
14006 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
14007 __mpexp_twomm1. Use __pow_mp.
14008
d3b9ea61
SP
14009 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
14010 multiplication.
14011
1dbaee3c
DM
140122013-01-17 David S. Miller <davem@davemloft.net>
14013
14014 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14015
728d7b43
JM
140162013-01-17 Joseph Myers <joseph@codesourcery.com>
14017
14018 [BZ #15023]
14019 * include/complex.h: Condition contents on [!_COMPLEX_H].
14020 (__kernel_casinhf): New prototype.
14021 (__kernel_casinh): Likewise.
14022 (__kernel_casinhl): Likewise.
14023 * math/Makefile (libm_calls): Add k_casinh.
14024 * math/k_casinh.c: New file.
14025 * math/k_casinhf.c: Likewise.
14026 * math/k_casinhl.c: Likewise.
14027 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
14028 finite nonzero arguments.
14029 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
14030 finite nonzero arguments.
14031 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
14032 finite nonzero arguments.
14033 * math/s_casinh.c: Do not include <float.h>.
14034 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
14035 * math/s_casinhf.c: Do not include <float.h>.
14036 (__casinhf): Move code for finite nonzero arguments to
14037 k_casinhf.c.
14038 * math/s_casinhl.c: Do not include <float.h>.
14039 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
14040 redefine.
14041 (__casinhl): Move code for finite nonzero arguments to
14042 k_casinhl.c.
14043 * math/libm-test.inc (cacos_test): Add more tests.
14044 * sysdeps/i386/fpu/libm-test-ulps: Update.
14045 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14046
2a26ef3a
PT
140472013-01-17 Pino Toscano <toscano.pino@tiscali.it>
14048
14049 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
14050 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
14051 [!HAVE_MREMAP]: Remove [defined linux] case.
14052 * malloc/arena.c: Do not include <malloc-sysdep.h>.
14053
a897655d
SP
140542013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14055
14056 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
14057
881ebe89 140582013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
14059
14060 * elf/elf.h (R_386_SIZE32): New relocation.
14061 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
14062 R_386_SIZE32.
14063 (elf_machine_rela): Likewise.
14064 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
14065 R_X86_64_SIZE64 and R_X86_64_SIZE32.
14066
59981e9b
JM
140672013-01-17 Joseph Myers <joseph@codesourcery.com>
14068
14069 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
14070 (FP_FAST_FMA): Do not define.
14071 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
14072 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
14073 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
14074 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
14075 !_SOFT_FLOAT]: Likewise.
14076 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
14077 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
14078 value.
14079 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
14080 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
14081 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
14082 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
14083 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
14084 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
14085 file.
14086
cfa8054f
AS
140872013-01-16 Andreas Schwab <schwab@suse.de>
14088
14089 [BZ #14327]
14090 * include/stdlib.h (__mktemp): Add declaration.
14091 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
14092 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
14093
dd930cc5
SP
140942013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14095
881ebe89
SP
14096 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
14097 definitions.
14098 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
14099 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
14100 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
14101 definitions here.
14102 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
14103 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
14104 definitions.
14105 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
14106 and ONE.
14107 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
14108 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
14109 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
14110 definitions.
14111 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
14112 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
14113 definitions.
14114 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 14115
dd930cc5
SP
14116 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
14117
c19a9f89
DM
141182013-01-15 David S. Miller <davem@davemloft.net>
14119
1aa61767
DM
14120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14121 trunc{,f} to libm-sysdep_routes.
14122 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
14124 file.
14125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
14126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
14127 file.
14128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
14129 file.
14130 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
14131 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
14132 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
14133 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
14134 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
14135 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
14136 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
14137 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
14138
c42d5e98
DM
14139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14140 nearbyint{,f} to libm-sysdep_routes.
14141 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
14143 New file.
14144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
14145 file.
14146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
14147 New file.
14148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
14149 file.
14150 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
14151 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
14152 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
14153 file.
14154 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
14155 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
14156 file.
14157 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
14158 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
14159 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
14160
c19a9f89
DM
14161 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
14162 libc_feholdexcept and libc_fesetenv.
14163
357679d2
MF
141642013-01-15 Mike Frysinger <vapier@gentoo.org>
14165
14166 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
14167
65a82e3d
DM
141682013-01-14 David S. Miller <davem@davemloft.net>
14169
8b954ab9
DM
14170 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
14171 (SPARC_ASM_VIS2_IFUNC): Likewise.
14172 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
14173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
14174 use of 'siam' instruction.
14175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
14176 Likewise.
14177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
14178 Likewise.
14179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
14180 Likewise.
14181 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
14182 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
14183 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
14184 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
14185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
14186 file.
14187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
14188 file.
14189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
14190 file.
14191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
14192 file.
14193 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
14194 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
14195 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
14196 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
14197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
14198 new VIS2 routines.
14199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
14200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
14202 Likewise.
14203 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
14204 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
14205 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
14206 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
14207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
14208 routines to libm-sysdep_routines.
14209 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14210
65a82e3d
DM
14211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14212 fdim/fdimf to libm-sysdep_routines.
14213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
14214 file.
14215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
14216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
14217 file.
14218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
14219 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
14220 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
14221 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
14222 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
14223 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
14224 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
14225
e34ab705
SP
142262013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
14227
2a91b573
SP
14228 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
14229 to optimize copies.
14230
1066a534
SP
14231 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
14232 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14233 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14234
e34ab705
SP
14235 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
14236 local variable MPTWO.
14237 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
14238 Likewise.
14239
aba5e596
MF
142402013-01-13 Mike Frysinger <vapier@gentoo.org>
14241
14242 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
14243 GLOB_NOESCAPE.
14244
e557e9e5
MF
142452013-01-13 Mike Frysinger <vapier@gentoo.org>
14246
14247 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
14248
0428cec9
MF
142492013-01-13 Mike Frysinger <vapier@gentoo.org>
14250
14251 * manual/pattern.texi (glob_t): Document gl_flags.
14252 (glob64_t): Likewise.
14253
8794a964
DM
142542013-01-11 David S. Miller <davem@davemloft.net>
14255
66438c3f
RM
14256 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
14257 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
14258 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
14259 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
14260 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
14261 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
14262 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
14263 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
14264 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
14265 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
14266 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
14267 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
14268 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
14269
4ae4244d
DM
14270 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14271 sparc V9 rather than using V8 code.
14272 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14273 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14274
8794a964
DM
14275 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
14276 Move to...
14277 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
14278 Here.
14279
6270516e
RM
142802013-01-11 Roland McGrath <roland@hack.frob.com>
14281
14282 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
14283 not in the main loop.
14284 * configure: Regenerated.
14285
6a57d931
JM
142862013-01-11 Joseph Myers <joseph@codesourcery.com>
14287
14288 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
14289 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
14290 to just #else.
14291 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
14292 [!__GLIBC_HAVE_LONG_LONG] case.
14293 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
14294 condition to just #else.
14295 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
14296 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
14297 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
14298 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
14299 unconditional.
14300 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
14301 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14302 #elif condition to just #else.
14303 * sysdeps/unix/sysv/linux/sys/sysmacros.h
14304 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
14305 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14306 #elif condition to just #else.
14307
0e8529e9
SE
143082013-01-11 Steve Ellcey <sellcey@mips.com>
14309
14310 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
14311 (EF_MIPS_ARCH_64): Fix value.
14312 (EF_MIPS_ARCH_32R2): New.
14313 (EF_MIPS_ARCH_64R2): New.
14314
740b3dbe
L
143152013-01-11 H.J. Lu <hongjiu.lu@intel.com>
14316
14317 * Makeconfig (+link-pie-before-libc): New.
14318 (+link-pie-after-libc): Likewise.
14319 (+link-pie-tests): Likewise.
14320 (+link-pie): Rewritten.
14321 (link-before-libc): Remove $(config-LDFLAGS).
14322 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
14323 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
14324 (config-LDFLAGS): Renamed to ...
14325 (rtld-LDFLAGS): This.
14326 (rtld-tests-LDFLAGS): New macro.
14327 (link-libc-rpath-link): Likewise.
14328 (link-libc-tests-rpath-link): Likewise.
14329 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
14330 (link-libc): Prepand $(link-libc-rpath-link).
14331 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
14332 (test-program-prefix): New macro.
14333 (test-via-rtld-prefix): Likewise.
14334 (test-program-cmd): Likewise.
14335 (host-test-program-cmd): Likewise.
14336 * Makefile ($(common-objpfx)testrun.sh): Replace
14337 $(run-program-prefix) with $(test-program-prefix).
14338 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
14339 $(rtld-LDFLAGS).
14340 ($(common-objpfx)shlib.lds): Likewise.
14341 (build-module-helper): Likewise.
14342 ($(common-objpfx)format.lds): Likewise.
14343 * Rules (binaries-pie-tests): New.
14344 (binaries-pie-notests): Likewise.
14345 (binaries-pie): Rewritten.
14346 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
14347 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
14348 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
14349 (make-test-out): Replace $(host-built-program-cmd) with
14350 $(host-test-program-cmd).
14351 * config.make.in (build-hardcoded-path-in-tests): New variable.
14352 * configure.in (--enable-hardcoded-path-in-tests): New configure
14353 option.
14354 (hardcoded_path_in_tests): New AC_SUBST.
14355 * configure: Regenerated.
14356 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
14357 $(built-program-cmd) with $(test-program-cmd).
14358 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
14359 (test_program_cmd): This.
14360 * elf/Makefile ($(objpfx)order.out): Run test with
14361 $(test-program-prefix).
14362 ($(objpfx)order2.out): Likewise.
14363 ($(objpfx)tst-initorder.out): Likewise.
14364 ($(objpfx)tst-initorder2.out): Likewise.
14365 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
14366 $(test-program-cmd).
14367 ($(objpfx)tst-array1-static.out): Likewise.
14368 ($(objpfx)tst-array2.out): Likewise.
14369 ($(objpfx)tst-array3.out): Likewise.
14370 ($(objpfx)tst-array4.out): Likewise.
14371 ($(objpfx)tst-array5.out): Likewise.
14372 ($(objpfx)tst-array5-static.out): Likewise.
14373 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
14374 $(test-program-cmd).
14375 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
14376 $(run-program-prefix) with $(test-program-prefix).
14377 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
14378 (test_program_prefix): This.
14379 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
14380 $(run-program-prefix) with $(test-program-prefix).
14381 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
14382 (test_program_prefix): This.
14383 * iconvdata/tst-tables.sh: Likewise.
14384 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
14385 $(run-program-prefix) with $(test-program-prefix).
14386 ($(objpfx)tst-translit.out): Likewise.
14387 ($(objpfx)tst-gettext2.out): Likewise.
14388 ($(objpfx)tst-gettext4.out): Likewise.
14389 ($(objpfx)tst-gettext6.out): Likewise.
14390 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
14391 (test_program_prefix): This.
14392 * intl/tst-gettext2.sh: Likewise.
14393 * intl/tst-gettext4.sh Likewise.
14394 * intl/tst-gettext6.sh: Likewise.
14395 * intl/tst-translit.sh: Likewise.
14396 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
14397 with $(test-program-cmd).
14398 * libio/Makefile ($(objpfx)test-freopen.out): Replace
14399 $(run-program-prefix) with $(test-program-prefix).
14400 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
14401 (test_program_prefix): This.
14402 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
14403 $(run-program-prefix) with $(test-program-prefix).
14404 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
14405 (test_program_prefix): This.
14406 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
14407 * posix/Makefile ($(objpfx)globtest.out): Replace
14408 $(run-via-rtld-prefix) and $(test-wrapper) with
14409 $(test-program-prefix) and $(test-via-rtld-prefix).
14410 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
14411 $(test-program-prefix).
14412 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
14413 $(host-test-program-cmd).
14414 (tst-spawn-ARGS): Likewise.
14415 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
14416 $(test-program-prefix).
14417 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
14418 (test_via_rtld_prefix): This.
14419 (test_wrapper): Renamed to ...
14420 (test_program_prefix): This.
14421 (run_program_prefix): Replaced by test_program_prefix.
14422 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
14423 (test_program_prefix): This.
14424 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
14425 with $(host-test-program-cmd).
14426 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
14427 $(run-program-prefix) with $(test-program-prefix).
14428 ($(objpfx)tst-printf.out): Likewise.
14429 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
14430 $(test-program-cmd).
14431 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
14432 (test_program_prefix): This.
14433 * stdio-common/tst-unbputc.sh: Likewise.
14434 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
14435 $(run-program-prefix) with $(test-program-prefix).
14436 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
14437 (test_program_prefix): This.
14438 * string/Makefile ($(objpfx)tst-svc.out): Replace
14439 $(built-program-cmd) with $(test-program-cmd).
14440
c6fe55cf
AJ
144412013-01-11 Andreas Jaeger <aj@suse.de>
14442
14443 [BZ #15003]
14444 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
14445 value. Sync with Linux 3.7.
14446
9e6919c8
DM
144472013-01-10 David S. Miller <davem@davemloft.net>
14448
14449 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
14450 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14451 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14452
1c9f1a02
RM
144532013-01-10 Roland McGrath <roland@hack.frob.com>
14454
14455 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
14456 never set.
14457 * configure: Regenerated.
14458
b9de2dde
DM
144592013-01-10 David S. Miller <davem@davemloft.net>
14460
14461 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14462 sparc V9 rather than using V8 code.
14463 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14464 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14465
e7f68ef4
RM
144662013-01-10 Roland McGrath <roland@hack.frob.com>
14467
14468 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
14469 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
14470 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
14471 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
14472 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
14473 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
14474 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
14475 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
14476 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
14477 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
14478 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
14479 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
14480 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
14481 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
14482 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
14483 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
14484 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
14485 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
14486 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
14487 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
14488 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
14489 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
14490 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
14491 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
14492 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
14493 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
14494 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
14495
5a47cc9c
DM
144962013-01-10 David S. Miller <davem@davemloft.net>
14497
14498 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14499
4cf8f209
L
145002013-01-10 H.J. Lu <hongjiu.lu@intel.com>
14501
14502 * posix/Makefile (tests-static): New variable.
14503 (tests): Add $(tests-static).
14504 (tst-exec-static-ARGS): New variable.
14505 (tst-spawn-static-ARGS): Likewise.
14506 * posix/tst-exec-static.c: New file.
14507 * posix/tst-spawn-static.c: Likewise.
14508 * posix/tst-exec.c: Support run directly.
14509 * posix/tst-spawn.c: Likewise.
14510
fed0faa1
JM
145112013-01-10 Joseph Myers <joseph@codesourcery.com>
14512
828beb13
JM
14513 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
14514 long.
14515 * math/bits/mathcalls.h (llrint): Likewise.
14516 (llround): Likewise.
14517 * stdlib/stdlib.h (struct drand48_data): Likewise.
14518 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
14519 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
14520 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
14521 Likewise.
14522 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
14523 Likewise.
14524 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
14525 (elf_greg_t): Likewise.
14526 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
14527 (__jmp_buf): Likewise.
14528 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
14529 definitions.
14530 (llrint): Likewise, for all definitions.
14531 (llrintl): Likewise.
14532
fed0faa1
JM
14533 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
14534 Remove [__GNUC__] condition.
14535 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
14536 condition to just [__USE_ISOC99].
14537 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
14538
1a20cb20
L
145392013-01-10 H.J. Lu <hongjiu.lu@intel.com>
14540
14541 [BZ #14200]
14542 * sysdeps/unix/sysv/linux/x86/bits/environments.h
14543 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
14544 defined.
14545 (_POSIX_V6_ILP32_OFF32): Likewise.
14546 (_XBS5_ILP32_OFF32): Likewise.
14547 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
14548 (__ILP32_OFFBIG_LDFLAGS): Likewise.
14549
751b85f7
SP
145502013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14551
7490eb81
SP
14552 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
14553
751b85f7
SP
14554 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
14555 doubles __mpexp_twomm1. Adjust usage.
14556 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
14557 Remove.
14558
988197f0
AS
145592013-01-10 Andreas Schwab <schwab@suse.de>
14560
14561 [BZ #14964]
14562 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
14563 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
14564
e83d7298
DM
145652013-01-09 David S. Miller <davem@davemloft.net>
14566
034ed64b 14567 [BZ #15003]
e83d7298
DM
14568 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
14569 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
14570 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
14571 TCP_FASTOPEN): Define.
14572 (tcp_repair_opt): New structure.
14573 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
14574 enum values.
14575 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
14576 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
14577 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
14578 (tcp_cookie_transactions): New structure.
14579
d5e0b9bd
AB
145802013-01-09 Anton Blanchard <anton@samba.org>
14581
14582 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
14583 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
14584 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
14585 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
14586
0c07e3ea
JM
145872013-01-09 Joseph Myers <joseph@codesourcery.com>
14588
14589 * include/features.h (__USE_ANSI): Remove.
14590
232f7002
RM
145912013-01-09 Roland McGrath <roland@hack.frob.com>
14592
ad98e30c
RM
14593 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
14594
232f7002
RM
14595 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
14596
950c99ca
SP
145972013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
14598
b5792741
SP
14599 * sysdeps/s390/fpu/libm-test-ulps: Update.
14600
47cf2278
SP
14601 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14602
950c99ca
SP
14603 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
14604 (__acr): Likewise.
14605 (__cpy): Likewise.
14606 (norm): Likewise.
14607 (denorm): Likewise.
14608 (__mp_dbl): Likewise.
14609 (__dbl_mp): Likewise.
14610 (add_magnitudes): Likewise.
14611 (sub_magnitudes): Likewise.
14612 (__add): Likewise.
14613 (__sub): Likewise.
14614 (__mul): Likewise.
14615 (__inv): Likewise.
14616 (__dvd): Likewise.
14617 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
14618 (__acr): Likewise.
14619 (__cpy): Likewise.
14620 (norm): Likewise.
14621 (denorm): Likewise.
14622 (__mp_dbl): Likewise.
14623 (__dbl_mp): Likewise.
14624 (add_magnitudes): Likewise.
14625 (sub_magnitudes): Likewise.
14626 (__add): Likewise.
14627 (__sub): Likewise.
14628 (__mul): Likewise.
14629 (__inv): Likewise.
14630 (__dvd): Likewise.
14631 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
14632 (__acr): Likewise.
14633 (__cpy): Likewise.
14634 (norm): Likewise.
14635 (denorm): Likewise.
14636 (__mp_dbl): Likewise.
14637 (__dbl_mp): Likewise.
14638 (add_magnitudes): Likewise.
14639 (sub_magnitudes): Likewise.
14640 (__add): Likewise.
14641 (__sub): Likewise.
14642 (__mul): Likewise.
14643 (__inv): Likewise.
14644 (__dvd): Likewise.
14645
eede9df9
JM
146462013-01-08 Joseph Myers <joseph@codesourcery.com>
14647
14648 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
14649 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
14650 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
14651 2 && __USE_EXTERN_INLINES]: Likewise.
14652
c40ea3d9
AJ
146532013-01-08 Andreas Jaeger <aj@suse.de>
14654
14655 [BZ# 14985]
14656 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
14657 Remove.
14658 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14659 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14660
2ccdea26
AB
146612013-01-07 Anton Blanchard <anton@samba.org>
14662
14663 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
14664 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
14665 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
14666 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
14667 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
14668 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14669 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
14670 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14671 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14672 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14673 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14674 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14675 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14676 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14677 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14678 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14679 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14680 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14681 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14682 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
14683 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14684 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
14685 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14686 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14687 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
14688 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
14689 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14690 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
14691 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
14692 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14693 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14694 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14695 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14696 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14697 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14698 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14699 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14700 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
14701 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
14702 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
14703 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
14704 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14705 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14706
a9708fed
JM
147072013-01-07 Joseph Myers <joseph@codesourcery.com>
14708
375607b9
JM
14709 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
14710 (__MALLOC_PMT): Likewise.
14711 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
14712 [__GNUC__], only on [_LIBC].
14713 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14714 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
14715 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14716 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
14717 forward declaration.
14718 (realloc_hook_ini): Likewise.
14719 (memalign_hook_ini): Likewise.
14720 (__libc_memalign): Do not use __MALLOC_PMT in variable
14721 declaration.
14722 (__libc_valloc): Likewise.
14723 (__libc_pvalloc): Likewise.
14724 (__libc_calloc): Likewise.
14725 (__posix_memalign): Likewise.
14726
a9708fed
JM
14727 [BZ #14996]
14728 * math/s_casinh.c: Include <float.h>.
14729 (__casinh): Do not do computation with squaring and square root
14730 for large arguments.
14731 * math/s_casinhf.c: Include <float.h>.
14732 (__casinhf): Do not do computation with squaring and square root
14733 for large arguments.
14734 * math/s_casinhl.c: Include <float.h>.
14735 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
14736 (__casinhl): Do not do computation with squaring and square root
14737 for large arguments.
14738 * math/libm-test.inc (casin_test): Add more tests.
14739 (casinh_test): Likewise.
14740 * sysdeps/i386/fpu/libm-test-ulps: Update.
14741 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14742
afec409a
L
147432013-01-04 H.J. Lu <hongjiu.lu@intel.com>
14744
14745 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
14746 (__x86_64_raw_data_cache_size): Likewise.
14747 (__x86_64_data_cache_size_half): Likewise.
14748 (__x86_64_raw_data_cache_size_half): Likewise.
14749 (__x86_64_shared_cache_size): Likewise.
14750 (__x86_64_raw_shared_cache_size): Likewise.
14751 (__x86_64_shared_cache_size_half): Likewise.
14752 (__x86_64_raw_shared_cache_size_half): Likewise.
14753 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
14754 to ...
14755 (__x86_data_cache_size): This.
14756 (__x86_64_raw_data_cache_size): Renamed to ...
14757 (__x86_raw_data_cache_size): This.
14758 (__x86_64_data_cache_size_half): Renamed to ...
14759 (__x86_data_cache_size_half): This.
14760 (__x86_64_raw_data_cache_size_half): Renamed to ...
14761 (__x86_raw_data_cache_size_half): This.
14762 (__x86_64_shared_cache_size): Renamed to ...
14763 (__x86_shared_cache_size): This.
14764 (__x86_64_raw_shared_cache_size): Renamed to ...
14765 (__x86_raw_shared_cache_size): This.
14766 (__x86_64_shared_cache_size_half): Renamed to ...
14767 (__x86_shared_cache_size_half): This.
14768 (__x86_64_raw_shared_cache_size_half): Renamed to ...
14769 (__x86_raw_shared_cache_size_half): This.
14770 * sysdeps/x86_64/memcpy.S: Updated.
14771 * sysdeps/x86_64/memset.S: Likewise.
14772 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
14773 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14774 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14775
0b3986d0
DM
147762013-01-04 David S. Miller <davem@davemloft.net>
14777
14778 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14779
e47686e9
AS
147802013-01-04 Andreas Schwab <schwab@linux-m68k.org>
14781
d643bac1
AS
14782 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
14783 1 to avoid redefinition warning.
14784 (__USE_GNU): Don't define.
14785 (init_signaling_nan): Protoize.
14786
e47686e9
AS
14787 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14788
b18decba
SP
147892013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14790
fffb407f
SP
14791 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
14792 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
14793 (__cpymn): Likewise.
14794 (norm): Remove commented code.
14795 (denorm): Likewise.
14796 (__mp_dbl): Likewise.
14797 (__inv): Likewise.
14798 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
14799 (__cpymn): Likewise.
14800 (norm): Remove commented code.
14801 (denorm): Likewise.
14802 (__mp_dbl): Likewise.
14803 (__inv): Likewise.
14804
b18decba
SP
14805 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
14806 mp_no value for 1.0 and 2.0.
14807 (norm): Use RADIXI instead of radixi.d.
14808 (denorm): Likewise.
14809 (__mul): Use 0.0 instead of zero.d.
14810 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
14811 mp_no value for 1.0 and 2.0.
14812 (norm): Use RADIXI instead of radixi.d.
14813 (denorm): Likewise.
14814 (__mul): Use 0.0 instead of zero.d.
14815
cdc1c96f
JM
148162013-01-04 Joseph Myers <joseph@codesourcery.com>
14817
14818 [BZ #14994]
14819 * math/s_casinh.c (__casinh): Reduce finite argument to first
14820 quadrant then set signs of results at the end.
14821 * math/s_casinhf.c (__casinhf): Likewise.
14822 * math/s_casinhl.c (__casinhl): Likewise.
14823 * math/libm-test.inc (casin_test): Add more tests.
14824 (casinh_test): Likewise.
14825 * sysdeps/i386/fpu/libm-test-ulps: Update.
14826 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14827
302913e1
SP
148282013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14829
6420d207
SP
14830 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
14831
a9e48ab4
SP
14832 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
14833
b7837264
SP
14834 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
14835 declarations.
14836 (denorm): Likewise.
14837 (__mp_dbl): Likewise.
14838 (__inv): Likewise.
14839
f8af25d2
SP
14840 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
14841 and adjust the header comment.
14842
302913e1
SP
14843 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
14844 variable name from declaration.
14845
5d7dd1ca
L
148462013-01-03 H.J. Lu <hongjiu.lu@intel.com>
14847
14848 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14849 Initialize COMMON_CPUID_INDEX_7 element.
14850 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
14851 (CPUID_RTM): Likewise.
14852 (HAS_RTM): Likewise.
14853 (COMMON_CPUID_INDEX_7): New enum.
14854
2f5f40f4
AS
148552013-01-03 Andreas Schwab <schwab@linux-m68k.org>
14856
14857 [BZ #14981]
14858 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
14859 size is zero, record memory as freed.
14860
4056f4a0
AJ
148612013-01-03 Andreas Jaeger <aj@suse.de>
14862
14863 * po/ia.po: Add new Interlingua translation.
14864
ab15736f 148652012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
14866
14867 * locale/programs/localedef.c: Fix description of '--posix' flag.
14868
568035b7
JM
148692013-01-02 Joseph Myers <joseph@codesourcery.com>
14870
e6898b8d
JM
14871 * NEWS: Update dates in second copyright notice.
14872 * README: Update copyright dates in example.
14873 * manual/libc.texinfo: Update copyright dates.
14874 * scripts/test-installation.pl: Update copyright date in --version
14875 output.
14876
0e2f9562
JM
14877 * hurd/ctty-input.c: Fix copyright notice formatting.
14878 * hurd/ctty-output.c: Likewise.
14879 * hurd/dtable.c: Likewise.
14880 * hurd/hurd-raise.c: Likewise.
14881 * hurd/hurdprio.c: Likewise.
14882 * hurd/msgportdemux.c: Likewise.
14883 * misc/sys/file.h: Likewise.
14884 * misc/sys/ioctl.h: Likewise.
14885 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14886 * sysdeps/mach/hurd/chdir.c: Likewise.
14887 * sysdeps/mach/hurd/fchdir.c: Likewise.
14888 * sysdeps/mach/hurd/rename.c: Likewise.
14889 * sysdeps/mach/hurd/rmdir.c: Likewise.
14890 * sysdeps/mach/hurd/seekdir.c: Likewise.
14891 * sysdeps/mach/hurd/setsid.c: Likewise.
14892 * sysdeps/posix/wait3.c: Likewise.
14893
568035b7
JM
14894 * All files with FSF copyright notices: Update copyright dates
14895 using scripts/update-copyrights.
14896 * intl/plural.c: Regenerated.
14897 * locale/programs/charmap-kw.h: Likewise.
14898 * locale/programs/locfile-kw.h: Likewise.
14899
da08f647
SP
149002013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14901
0f5477af
SP
14902 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
14903 four values.
14904
44e0d4c2
SP
14905 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
14906 calculation loop and add branch prediction.
14907
4d55b4e5
SP
14908 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
14909 check access beyond bounds of m1np.
14910
da08f647
SP
14911 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
14912 MPTWO.
14913 (__inv): Remove local variable MPTWO to use the global
14914 constant.
14915 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
14916 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
14917 variable MPTWO.
14918 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
14919 MP3HALFS static const.
14920
8e051029
DM
149212013-01-01 David S. Miller <davem@davemloft.net>
14922
14923 * po/ca.po: Update from translation team.
14924
f4cf5f2d
JM
149252013-01-01 Joseph Myers <joseph@codesourcery.com>
14926
14927 * scripts/update-copyrights: New file.
14928 * Makeconfig: Reformat copyright notice.
14929 * ctype/ctype.h: Likewise.
14930 * debug/swprintf_chk.c: Likewise.
14931 * elf/dl-cache.c: Likewise.
14932 * elf/dl-debug.c: Likewise.
14933 * elf/dl-object.c: Likewise.
14934 * grp/initgroups.c: Likewise.
14935 * hurd/Makefile: Likewise.
14936 * hurd/hurd/signal.h: Likewise.
14937 * hurd/hurdfault.c: Likewise.
14938 * hurd/hurdioctl.c: Likewise.
14939 * hurd/hurdlookup.c: Likewise.
14940 * hurd/intr-msg.c: Likewise.
14941 * iconv/gconv_open.c: Likewise.
14942 * libio/swprintf.c: Likewise.
14943 * locale/lc-ctype.c: Likewise.
14944 * locale/nl_langinfo.c: Likewise.
14945 * mach/Machrules: Likewise.
14946 * mach/Makefile: Likewise.
14947 * malloc/obstack.h: Likewise.
14948 * manual/Makefile: Likewise.
14949 * manual/tsort.awk: Likewise.
14950 * misc/bits/stab.def: Likewise.
14951 * nis/nis_print_group_entry.c: Likewise.
14952 * nis/nis_table.c: Likewise.
14953 * nis/nss_compat/compat-pwd.c: Likewise.
14954 * nis/nss_compat/compat-spwd.c: Likewise.
14955 * po/Makefile: Likewise.
14956 * posix/fnmatch.c: Likewise.
14957 * posix/regex.h: Likewise.
14958 * resolv/Makefile: Likewise.
14959 * resolv/nss_dns/dns-network.c: Likewise.
14960 * resolv/res_hconf.c: Likewise.
14961 * scripts/gen-sorted.awk: Likewise.
14962 * soft-fp/soft-fp.h: Likewise.
14963 * stdio-common/printf.h: Likewise.
14964 * stdlib/monetary.h: Likewise.
14965 * stdlib/random.c: Likewise.
14966 * stdlib/random_r.c: Likewise.
14967 * sysdeps/generic/Makefile: Likewise.
14968 * sysdeps/gnu/Makefile: Likewise.
14969 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14970 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14971 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14972 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14973 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14974 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14975 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14976 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14977 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14978 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14979 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14980 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14981 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
14982 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
14983 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
14984 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
14985 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14986 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14987 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14988 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14989 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14990 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14991 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14992 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
14993 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
14994 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
14995 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
14996 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
14997 * sysdeps/mach/hurd/errnos.awk: Likewise.
14998 * sysdeps/mach/hurd/fork.c: Likewise.
14999 * sysdeps/mach/hurd/getcwd.c: Likewise.
15000 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
15001 * sysdeps/mach/hurd/mmap.c: Likewise.
15002 * sysdeps/mach/hurd/utimes.c: Likewise.
15003 * sysdeps/mach/hurd/xmknod.c: Likewise.
15004 * sysdeps/posix/profil.c: Likewise.
15005 * sysdeps/posix/readdir_r.c: Likewise.
15006 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15007 * sysdeps/powerpc/bits/setjmp.h: Likewise.
15008 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
15009 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
15010 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
15011 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
15012 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
15013 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15014 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15015 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
15016 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
15017 * sysdeps/pthread/lio_listio.c: Likewise.
15018 * sysdeps/sparc/dl-procinfo.h: Likewise.
15019 * sysdeps/unix/i386/sysdep.S: Likewise.
15020 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
15021 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
15022 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
15023 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
15024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15025 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
15026 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
15027 * sysdeps/unix/sysv/linux/speed.c: Likewise.
15028 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
15029 * sysdeps/wordsize-32/divdi3.c: Likewise.
15030 * time/sys/time.h: Likewise.
15031 * wcsmbs/Makefile: Likewise.
15032
0549fbba
DM
150332013-01-01 David S. Miller <davem@davemloft.net>
15034
a141f1a7
DM
15035 * po/fr.po: Update from translation team.
15036
0549fbba
DM
15037 * catgets/gencat.c: Update copyright year.
15038 * csu/version.c: Likewise.
15039 * debug/catchsegv.sh: Likewise.
15040 * debug/pcprofiledump.c: Likewise.
15041 * debug/xtrace.sh: Likewise.
15042 * elf/ldconfig.c: Likewise.
15043 * elf/ldd.bash.in: Likewise.
15044 * elf/pldd.c: Likewise.
15045 * elf/sotruss.ksh: Likewise.
15046 * elf/sprof.c: Likewise.
15047 * iconv/iconv_prog.c: Likewise.
15048 * iconv/iconvconfig.c: Likewise.
15049 * locale/programs/locale.c: Likewise.
15050 * locale/programs/localedef.c: Likewise.
15051 * login/programs/pt_chown.c: Likewise.
15052 * malloc/memusage.sh: Likewise.
15053 * malloc/memusagestat.c: Likewise.
15054 * malloc/mtrace.pl: Likewise.
15055 * nscd/nscd.c: Likewise.
15056 * nss/getent.c: Likewise.
15057 * nss/makedb.c: Likewise.
15058 * posix/getconf.c: Likewise.
15059
18ea052c
SP
150602012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
15061
15062 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
15063 numbers.
15064
9c89fca6
MF
150652012-12-30 Mike Frysinger <vapier@gentoo.org>
15066
15067 * math/bits/mathcalls.h (modf): Use __nonnull.
15068
085ec079
SP
150692012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15070
15071 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
15072 (split): Use macro CN instead of the bare value.
15073 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
15074 could be used.
15075 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
15076 instead of the bare value.
15077 (power1): Likewise.
15078
6d9f97e1
SP
150792012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15080
d63f73be
SP
15081 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
15082 __ATAN_TWOM.
15083 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15084
6d9f97e1
SP
15085 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
15086 their values.
15087 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
15088 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15089 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
15090 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
15091
4c4febf5
AJ
150922012-12-28 Andreas Jaeger <aj@suse.de>
15093
af5843ef
AJ
15094 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
15095 values are from Linux 3.7.
15096
4c4febf5
AJ
15097 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
15098 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
15099
99136f82
SP
151002012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15101
2f216c3c 15102 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
15103 TRUE case.
15104
99136f82
SP
15105 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
15106 (norm): Likewise.
15107 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
15108 variables with preprocessor constants.
15109 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15110 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
15111 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
15112
7fffbdff
BH
151132012-12-27 Bruno Haible <bruno@clisp.org>
15114
15115 [BZ #14317]
15116 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
15117 only if needed.
15118
b76eb5f0
SP
151192012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15120
31a7fe5c
SP
15121 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
15122 and use variable directly.
15123 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
15124
b76eb5f0
SP
15125 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
15126 MPONE.
15127 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
15128 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
15129 variable MPONE.
15130 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15131 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15132 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
15133 include directive. Remove local variable MPONE.
15134 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
15135 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
15136 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
15137
2c8bfe7d
DM
151382012-12-25 David S. Miller <davem@davemloft.net>
15139
15140 * version.h (RELEASE): Set to "development".
15141 (VERSION): Set to "2.17.90".
15142 * NEWS: Add 2.18 section.
15143
147d03b0
DM
151442012-12-21 David S. Miller <davem@davemloft.net>
15145
15146 * po/hr.po: Update from translation team.
15147
a8ebb2b9
AK
151482012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15149
15150 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
15151
95b4f1b6
SE
151522012-12-19 Steve Ellcey <sellcey@mips.com>
15153
b2d94007 15154 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 15155
cedb2a90
MS
151562012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15157
15158 * manual/contrib.texi (Contributors): Spelling correction.
15159
bbf527d6
DM
151602012-12-15 David S. Miller <davem@davemloft.net>
15161
15162 * po/ru.po: Update from translation team.
15163
bc38c906
DM
151642012-12-13 David S. Miller <davem@davemloft.net>
15165
85429b1a
DM
15166 * NEWS: Mention IFUNC testsuite enhancements.
15167
d283e353
DM
15168 * po/pl.po: Update from translation team.
15169 * po/bg.po: Likewise.
15170
bc38c906
DM
15171 * manual/contrib.texi (Contributors): Update entries for Hongjiu
15172 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
15173
a181b0d7
DM
151742012-12-11 David S. Miller <davem@davemloft.net>
15175
4641d57e
DM
15176 * po/sv.po: Update from translation team.
15177
f7bc6495
DM
15178 * po/vi.po: Update from translation team.
15179
6fc9048f
DM
15180 * po/cs.po: Update from translation team.
15181
a181b0d7
DM
15182 * po/de.po: Update from translation team.
15183 * po/eo.po: Likewise.
15184 * po/nl.po: Likewise.
15185
f70bfe80
SP
151862012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15187
3c8b4190
SP
15188 [BZ #14246]
15189 * manual/argp.texi (Argp Helper Functions): Move node to follow
15190 Argp Parsing State.
15191
f70bfe80
SP
15192 [BZ #14872]
15193 * manual/conf.texi (Limits on File System Capacity): Mention if
15194 terminating null is included in the max size.
15195
188f0adf
AJ
151962012-12-10 Andreas Jaeger <aj@suse.de>
15197
15198 * po/cs.po: Update from translation team.
15199
56e7d3ad
SP
152002012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15201
15202 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
15203 void pointer and cast to uintptr_t.
15204 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
15205 path.
15206 * sysdeps/s390/s390-64/memcpy.S: Likewise.
15207 * sysdeps/s390/s390-64/memset.S: Likewise.
15208
76f2d2ea 152092012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
15210
15211 [BZ #14833]
15212 * menual/message.texi (Message Translation): Fix typos.
15213 (Helper programs for gettext): Likewise.
15214
67cbf9a2
AS
152152012-12-07 Andreas Schwab <schwab@linux-m68k.org>
15216
15217 [BZ #14898]
15218 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
15219 Change to -1.
15220
682d0e9a
DM
152212012-12-07 David S. Miller <davem@davemloft.net>
15222
15223 * po/libc.pot: Update.
15224
573cd484
RH
152252012-12-07 Richard Henderson <rth@redhat.com>
15226
7e9da188 15227 [BZ #10114]
573cd484
RH
15228 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
15229 normal/normal case to before the switch.
15230 (_FP_DIV): Likewise.
15231
e933a943
MF
152322012-12-06 Carlos O'Donell <carlos@systemhalted.org>
15233 Mike Frysinger <vapier@gentoo.org>
15234
15235 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
15236 check for __NR_fadvise64_64.
15237
82123268
CM
152382012-12-06 Chris Metcalf <cmetcalf@tilera.com>
15239
15240 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
15241 0, not just to plain "0" as a statement.
15242 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
15243 with cw.
15244
d9814526
JM
152452012-12-06 Joseph Myers <joseph@codesourcery.com>
15246
15247 * NEWS: Use sourceware.org in Bugzilla URL.
15248
7728c574
SP
152492012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15250
f16946dd
SP
15251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
15252 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15253
5704bbcb
SP
15254 * stdio-common/tst-put-error.c (do_test): Add newline to the
15255 padded test to ensure flush.
15256
17aa0516
JL
152572012-12-05 Jeff Law <law@redhat.com>
15258
15259 * sunrpc/etc.rpc (fedfs_admin): Add entry.
15260
363313b5
JM
152612012-12-05 Joseph Myers <joseph@codesourcery.com>
15262
effbd42a
JM
15263 * README: Don't refer to ports add-on as distributed separately.
15264 Mention AArch64 in list of systems supported in the ports add-on.
15265
87600365
JM
15266 * LICENSES: Add more non-FSF copyright and license notices.
15267
a0d7066a
JM
15268 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
15269 ((unused)).
15270
66ca5a5b
JM
15271 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
15272
363313b5
JM
15273 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
15274 10000 as width of padded output.
15275
b37984ad
JM
152762012-12-04 Joseph Myers <joseph@codesourcery.com>
15277
9003570a
JM
15278 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
15279
b37984ad
JM
15280 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
15281 variable LX with __attribute__ ((unused)).
15282 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15283 Likewise.
15284 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15285 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15286 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
15287 with __attribute__ ((unused)).
15288
c8df52ec
DM
152892012-12-04 David S. Miller <davem@abraco.davemloft.net>
15290
15291 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
15292
b3b099af
JM
152932012-12-04 Joseph Myers <joseph@codesourcery.com>
15294
c33aa6e3
JM
15295 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
15296 (CFLAGS-nldbl-acos.c): New variable.
15297 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
15298 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
15299 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
15300 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
15301 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
15302 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
15303 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
15304 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
15305 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
15306 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
15307 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
15308 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
15309 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
15310 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
15311 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
15312 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
15313 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
15314 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
15315 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
15316 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
15317 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
15318 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
15319 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
15320 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
15321 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
15322 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
15323 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
15324 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
15325 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
15326 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
15327 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
15328 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
15329 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
15330 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
15331 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
15332 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
15333 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
15334 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
15335 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
15336 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
15337 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
15338 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
15339 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
15340 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
15341 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
15342 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
15343 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
15344 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
15345 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
15346 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
15347 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
15348 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
15349 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
15350 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
15351 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
15352 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
15353 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
15354 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
15355 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
15356 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
15357 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
15358 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
15359 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
15360 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
15361 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
15362 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
15363 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
15364 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
15365 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
15366 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
15367 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
15368 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
15369 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
15370 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
15371 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
15372 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
15373 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
15374 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
15375 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
15376 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
15377 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
15378 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
15379 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
15380 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
15381 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
15382 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
15383 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
15384 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
15385 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
15386 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
15387 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
15388 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
15389 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
15390 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
15391 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
15392 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
15393 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
15394
20f0018d
JM
15395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15396 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15397
b3b099af
JM
15398 [BZ #14914]
15399 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
15400 whole low double instead of just low 47 bits when splitting values
15401 into two parts.
15402
029264d1
AM
154032012-12-03 Allan McRae <allan@archlinux.org>
15404
15405 * manual/stdio.texi (Predefined Printf Handlers): Remove
15406 @hsep and @vsep usage.
15407
c9d6789e
MF
154082012-12-03 Mike Frysinger <vapier@gentoo.org>
15409
15410 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
15411 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
15412
4b7634a5
JL
154132012-12-03 Jeff Law <law@redhat.com>
15414
15415 * time/sys/time.h (settimeofday): Do not mark TV argument
15416 as __nonnull.
15417
eb6cbd24
MF
154182012-12-01 Mike Frysinger <vapier@gentoo.org>
15419
15420 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
15421 when currently writing and seek to current position when not.
15422 * libio/Makefile (tests): Remove bug-fclose1.
15423 * libio/bug-fclose1.c: Delete.
15424
f638872a
JM
154252012-12-01 Joseph Myers <joseph@codesourcery.com>
15426
15427 * manual/arith.texi (feenableexcept): Fix typo.
15428 (fedisableexcept): Likewise.
15429
48085d14
RM
154302012-11-30 Roland McGrath <roland@hack.frob.com>
15431
15432 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
15433 second, differently-typed declaration, rather than a cast.
15434
1a538b9f
SP
154352012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15436
15437 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
15438 * include/rpc/svc.h: ... here.
15439
d07f2ff1 154402012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
15441
15442 [BZ #13013]
15443 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
15444 depending n and resplen2 to catch cases where answer
15445 equals answerp2.
15446
c93ec1f0
CD
154472012-11-29 Carlos O'Donell <carlos@systemhalted.org>
15448
15449 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
15450 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
15451
37db69de
MF
154522012-11-29 Mike Frysinger <vapier@gentoo.org>
15453
15454 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
15455
e10c4e4f
RM
154562012-11-29 Roland McGrath <roland@hack.frob.com>
15457
15458 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
15459
2af1b328
JL
154602012-11-28 Jeff Law <law@redhat.com>
15461
15462 [BZ #13761]
15463 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
15464 dataset_temporary. Track alloca usage into alloca_used.
15465 If dataset is large allocate and release it via malloc/free.
15466
111db5b1
FW
154672012-06-04 Florian Weimer <fweimer@redhat.com>
15468
f06cc227 15469 [BZ #14197]
111db5b1
FW
15470 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
15471
dd694abd
DM
154722012-11-28 David S. Miller <davem@davemloft.net>
15473
15474 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15475
9984dd01
JM
154762012-11-28 Joseph Myers <joseph@codesourcery.com>
15477
15478 [BZ #14803]
15479 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
15480 of pi/2 rounded to nearest to 64 bits.
15481 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
15482 nearest to 64 bits.
15483 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
15484 bits.
15485
14bc93a9
JL
154862012-11-28 Jeff Law <law@redhat.com>
15487 Martin Osvald <mosvald@redhat.com>
15488
15489 [BZ #14889]
15490 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
15491 * sunrpc/svc.c: Include time.h.
15492 (__svc_accept_failed): New function.
15493 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
15494 any reason other than EINTR, call __svc_accept_failed.
15495 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
15496 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
15497
e3c6aa3a
AS
154982012-11-28 Andreas Schwab <schwab@suse.de>
15499
15500 * scripts/abilist.awk: Also handle indirect functions in .opd
15501 section.
15502
1bead169
JM
155032012-11-28 Joseph Myers <joseph@codesourcery.com>
15504
15505 [BZ #13881]
15506 * sysdeps/x86/fpu/powl_helper.c: New file.
15507 * sysdeps/x86/fpu/Makefile: Likewise.
15508 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
15509 (p3): New object.
15510 (__ieee754_powl): Use __powl_helper for finite arguments except
15511 integer exponents below 8.
15512 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
15513 (p3): New object.
15514 (__ieee754_powl): Use __powl_helper for finite arguments except
15515 integer exponents below 8.
15516 * math/libm-test.inc (pow_test): Add more tests and enable some
15517 previously disabled tests.
15518 * sysdeps/i386/fpu/libm-test-ulps: Update.
15519 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15520
0817d63d
SP
155212012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15522 Carlos O'Donell <carlos_odonell@mentor.com>
15523
15524 * nss/makedb.c (is_prime): Assert that input is odd and greater
15525 than 4. Note that fact in a comment too.
15526 (next_prime): Add 4 to input.
15527
de2fd463
SP
155282012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15529
15530 [BZ #11741]
15531 * libio/Makefile (tests): Add test case tst-fwrite-error.
15532 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
15533 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
15534 * libio/tst-fwrite-error.c: New test case.
15535
c515fb51
L
155362012-11-26 H.J. Lu <hongjiu.lu@intel.com>
15537
15538 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
15539 before casting to void *.
15540 * include/libc-internal.h (__pointer_type): New macro.
15541 (__integer_if_pointer_type_sub): Likewise.
15542 (__integer_if_pointer_type): Likewise.
15543 (cast_to_integer): Likewise.
15544 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
15545 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
15546 before casting to atomic64_t.
15547 (atomic_exchange_acq): Likewise.
15548 (__arch_exchange_and_add_body): Likewise.
15549 (__arch_add_body): Likewise.
15550 (atomic_add_negative): Likewise.
15551 (atomic_add_zero): Likewise.
15552
4cf77aa9
JM
155532012-11-26 Joseph Myers <joseph@codesourcery.com>
15554
15555 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
15556 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
15557 (add_fdes): Likewise.
15558 (linear_search_fdes): Likewise.
15559 (binary_search_unencoded_fdes): Likewise.
15560
d260b3b4
AS
155612012-11-26 Andreas Schwab <schwab@linux-m68k.org>
15562
15563 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
15564
67060746
AC
155652012-11-24 Adam Conrad <adconrad@0c3.net>
15566
15567 * configure.in: Autodetect C++ header directories.
15568 * configure: Regenerated.
15569
800938a1
MF
155702012-11-23 Mike Frysinger <vapier@gentoo.org>
15571
15572 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
15573
4e6e34e6
AS
155742012-11-23 Andreas Schwab <schwab@linux-m68k.org>
15575
15576 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15577
7c7feb47
JM
155782012-11-22 Joseph Myers <joseph@codesourcery.com>
15579
7184dcdf
JM
15580 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
15581 LDBL_MANT_DIG == 106]: Disable some tests.
15582 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15583 Likewise.
15584 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15585 Likewise.
15586
0a42601f
JM
15587 [BZ #14871]
15588 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
15589 input for small inputs. Return +/- pi/2 for large inputs.
15590 * math/libm-test.inc (atan_test): Add more tests.
15591
79c9b9fe
JM
15592 * sysdeps/generic/unwind-dw2-fde-glibc.c
15593 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
15594 __attribute__ ((unused)).
15595
c60d3bf2
JM
15596 [BZ #14645]
15597 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
15598 x * y if x and y are nonzero and z is zero.
15599
ef1e0867
JM
15600 [BZ #14811]
15601 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
15602 nonzero exponents with absolute value below 0x1p-117 to +/-
15603 0x1p-117.
15604
1468ded3
JM
15605 [BZ #14869]
15606 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
15607 up arguments below 2**-450, not just those below 2**-500.
15608 * math/libm-test.inc (hypot_test): Add another test.
15609
8e27e3cc
JM
15610 [BZ #14868]
15611 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
15612 Return a+b for ratio over 2**120, not 2**60.
15613 * math/libm-test.inc (hypot_test): Add another test.
15614
c9c0279b
JM
15615 * math/libm-test.inc (clog_test): Use
15616 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
15617 (clog10_test): Likewise.
15618
7c7feb47
JM
15619 [BZ #6778]
15620 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
15621
fff1530e
AS
156222012-11-22 Andreas Schwab <schwab@suse.de>
15623
15624 * sysdeps/i386/fpu/libm-test-ulps: Update.
15625
94558d30
PT
156262012-11-22 Pino Toscano <toscano.pino@tiscali.it>
15627
15628 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
15629 printf output with newline.
15630
7e1be741
L
156312012-11-21 H.J. Lu <hongjiu.lu@intel.com>
15632
6bfea974
L
15633 [BZ #14865]
15634 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
15635 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
15636 -z nodlopen, -z initfirst and -z execstack support.
15637 * configure: Regenerated.
15638
7e1be741
L
15639 * elf/elf.h (DF_1_NODIRECT): New macro.
15640 (DF_1_IGNMULDEF): Likewise.
15641 (DF_1_NOKSYMS): Likewise.
15642 (DF_1_NOHDR): Likewise.
15643 (DF_1_EDITED): Likewise.
15644 (DF_1_NORELOC): Likewise.
15645 (DF_1_SYMINTPOSE): Likewise.
15646 (DF_1_GLOBAUDIT): Likewise.
15647 (DF_1_SINGLETON): Likewise.
15648 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
15649 DT_1_SUPPORTED_MASK bits.
15650 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
15651
105ce2ce
CD
156522012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
15653
15654 * sysdeps/unix/make-syscalls.sh: Document prefixes.
15655
123be9de
TS
156562012-11-20 Thomas Schwinge <thomas@codesourcery.com>
15657
d072f3f7
TS
15658 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
15659 macro.
15660
123be9de
TS
15661 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
15662 (sendmmsg): Move declarations...
15663 * socket/sys/socket.h: ... here.
15664 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
15665 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
15666 include it from...
15667 * socket/recvmmsg.c: ... this new file.
15668 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
15669 (sendmmsg): Rename to __sendmmsg, create weak alias and make
15670 definition of __sendmmsg hidden.
15671 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
15672 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
15673 Move ENOSYS stub into and include it from...
15674 * socket/sendmmsg.c: ... this new file.
15675 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
15676 (sysdep_routines): Move recvmmsg and sendmmsg...
15677 * socket/Makefile (routines): ... here.
15678 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
15679 (GLIBC_PRIVATE): Add __sendmmsg.
15680 * include/sys/socket.h (__sendmmsg): Add declarations.
15681 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
15682 sendmmsg.
15683
cf9a5d18
JM
156842012-11-20 Joseph Myers <joseph@codesourcery.com>
15685
15686 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
15687 variable I1 with __attribute__ ((unused)).
15688 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
15689
ecd4caf9
JM
156902012-11-19 Joseph Myers <joseph@codesourcery.com>
15691
be14d48f
JM
15692 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
15693 DUMMY variables with __attribute__ ((unused)).
15694
ecd4caf9
JM
15695 * bits/byteswap.h: Include <bits/types.h>.
15696 (__bswap_64): Use __uint64_t instead of unsigned long long int.
15697
986cab95
PT
156982012-11-19 Pino Toscano <toscano.pino@tiscali.it>
15699
15700 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
15701 string_t. Do not manually set errno.
15702 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
15703 length with __strnlen. Make sure to both set errno and return it on
15704 failure.
15705
6d33cc9d
DM
157062012-11-19 David S. Miller <davem@davemloft.net>
15707
15708 With help from Joseph Myers.
15709 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
15710 very large arguments properly.
15711 * math/libm-test.inc (atan_test): New tests.
15712 (atan2_test): New tests.
15713 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15714 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15715
ee663277
JM
157162012-11-19 Joseph Myers <joseph@codesourcery.com>
15717
877f2d8e
JM
15718 [BZ #14856]
15719 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
15720 Define to 3.
15721
116fc08a
JM
15722 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
15723 [POSIX] (EADDRNOTAVAIL): Likewise.
15724 [POSIX] (EAFNOSUPPORT): Likewise.
15725 [POSIX] (EALREADY): Likewise.
15726 [POSIX] (ECONNABORTED): Likewise.
15727 [POSIX] (ECONNREFUSED): Likewise.
15728 [POSIX] (ECONNRESET): Likewise.
15729 [POSIX] (EDESTADDRREQ): Likewise.
15730 [POSIX] (EDQUOT): Likewise.
15731 [POSIX] (EHOSTUNREACH): Likewise.
15732 [POSIX] (EIDRM): Likewise.
15733 [POSIX] (EISCONN): Likewise.
15734 [POSIX] (ELOOP): Likewise.
15735 [POSIX] (EMULTIHOP): Likewise.
15736 [POSIX] (ENETDOWN): Likewise.
15737 [POSIX] (ENETUNREACH): Likewise.
15738 [POSIX] (ENOBUFS): Likewise.
15739 [POSIX] (ENODATA): Likewise.
15740 [POSIX] (ENOLINK): Likewise.
15741 [POSIX] (ENOMSG): Likewise.
15742 [POSIX] (ENOPROTOOPT): Likewise.
15743 [POSIX] (ENOSR): Likewise.
15744 [POSIX] (ENOSTR): Likewise.
15745 [POSIX] (ENOTCONN): Likewise.
15746 [POSIX] (ENOTSOCK): Likewise.
15747 [POSIX] (EOPNOTSUPP): Likewise.
15748 [POSIX] (EOVERFLOW): Likewise.
15749 [POSIX] (EPROTO): Likewise.
15750 [POSIX] (EPROTONOSUPPORT): Likewise.
15751 [POSIX] (EPROTOTYPE): Likewise.
15752 [POSIX] (ESTALE): Likewise.
15753 [POSIX] (ETIME): Likewise.
15754 [POSIX] (ETXTBSY): Likewise.
15755 [POSIX] (EWOULDBLOCK): Likewise.
15756 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
15757 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
15758 [POSIX] (SEEK_CUR): Likewise.
15759 [POSIX] (SEEK_END): Likewise.
15760 [POSIX || UNIX98] (mode_t): Do not require.
15761 [POSIX] (off_t): Likewise.
15762 [POSIX] (pid_t): Likewise.
15763 [POSIX] (sys/stat.h): Do not allow header.
15764 [POSIX] (unistd.h): Likewise.
15765 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
15766 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
15767 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
15768 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
15769 require.
15770 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
15771 sigevent): Specify elements.
15772 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
15773 entry.
15774 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
15775 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
15776
a483863f
JM
15777 * conform/data/cpio.h-data [POSIX]: Disable whole file.
15778 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
15779 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
15780 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
15781 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
15782 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
15783 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
15784 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
15785 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
15786 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
15787 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
15788 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
15789 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
15790 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
15791 Likewise.
15792 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
15793 Likewise.
15794 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
15795 Likewise.
15796 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
15797 Likewise.
15798 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
15799 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
15800 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
15801 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
15802 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
15803 Specify lower bound on value.
15804 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
15805 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
15806 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
15807 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
15808 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
15809 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
15810 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
15811 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
15812 value.
15813 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
15814 as optional.
15815 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
15816 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
15817 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
15818 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
15819 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
15820 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
15821 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
15822 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
15823 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
15824 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
15825 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
15826 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
15827 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
15828 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
15829 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
15830 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
15831 entry.
15832 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
15833 optional.
15834 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
15835 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
15836 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
15837 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
15838 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
15839 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
15840 Likewise.
15841 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
15842 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
15843 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
15844 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
15845 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
15846 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
15847 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
15848 as optional.
15849 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
15850 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
15851 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
15852 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
15853 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
15854 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
15855 specify as optional.
15856 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
15857 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
15858 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
15859 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
15860 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
15861 [XPG3] (NL_LANGMAX): Likewise.
15862 [POSIX || XPG3] (NL_MSGMAX): Likewise.
15863 [POSIX || XPG3] (NL_NMAX): Likewise.
15864 [POSIX || XPG3] (NL_SETMAX): Likewise.
15865 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
15866 [XPG3] (NZERO): Likewise.
15867 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
15868 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
15869 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
15870 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
15871 (REG_ERANGE): Expect.
15872 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
15873 optional-constant.
15874 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
15875 Use (void) in prototype.
15876 [POSIX] (*_t): Allow.
15877 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
15878 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
15879 (WRDE_BADVAL): Expect.
15880
5ba924e3
JM
15881 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
15882 expect.
15883 [XPG3 || XPG4] (O_RSYNC): Likewise.
15884 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
15885 Likewise.
15886 [XPG3 || XPG4] (pthread_sigmask): Likewise.
15887 [XPG3 || XPG4] (sigqueue): Likewise.
15888 [XPG3 || XPG4] (sigtimedwait): Likewise.
15889 [XPG3 || XPG4] (sigwaitinfo): Likewise.
15890 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
15891 [XPG3 || XPG4] (vsnprintf): Likewise.
15892 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
15893 Likewise.
15894 [XPG3 || XPG4] (blksize_t): Likewise.
15895 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
15896 Likewise.
15897 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
15898 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
15899 [XPG3 || XPG4] (struct itimerspec): Likewise.
15900 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
15901 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
15902 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
15903 [XPG3 || XPG4] (clockid_t): Likewise.
15904 [XPG3 || XPG4] (timer_t): Likewise.
15905 [XPG3 || XPG4] (clock_getres): Likewise.
15906 [XPG3 || XPG4] (clock_gettime): Likewise.
15907 [XPG3 || XPG4] (clock_settime): Likewise.
15908 [XPG3 || XPG4] (nanosleep): Likewise.
15909 [XPG3 || XPG4] (timer_create): Likewise.
15910 [XPG3 || XPG4] (timer_delete): Likewise.
15911 [XPG3 || XPG4] (timer_gettime): Likewise.
15912 [XPG3 || XPG4] (timer_getoverrun): Likewise.
15913 [XPG3 || XPG4] (timer_settime): Likewise.
15914 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
15915 [XPG3 || XPG4] (getlogin_r): Likewise.
15916 [XPG3 || XPG4] (pread): Likewise.
15917 [XPG3 || XPG4] (pthread_atfork): Likewise.
15918 [XPG3 || XPG4] (pwrite): Likewise.
15919
ee663277
JM
15920 [BZ #14835]
15921 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
15922 <bits/siginfo.h>.
15923
942caa16
PT
159242012-11-19 Pino Toscano <toscano.pino@tiscali.it>
15925
e19af380
PT
15926 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
15927 finalizing MALLSTREAM.
15928
942caa16
PT
15929 * sysdeps/mach/hurd/syncfs.c: New file.
15930
cfde9b46
SP
159312012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15932
15933 [BZ #14719]
15934 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
15935 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
15936 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
15937 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
15938 (_nss_dns_gethostbyname4_r): Likewise.
15939 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
15940 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
15941
f6da27e5
PH
159422012-11-19 Peng Haitao <penght@cn.fujitsu.com>
15943
15944 [BZ #13763]
15945 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
15946
6665d4a2
SM
159472012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
15948
1f51ee92
SM
15949 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
15950 * elf/cache.c (print_entry): Print ",AArch64" for
15951 FLAG_AARCH64_LIB64
15952
6665d4a2
SM
15953 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
15954 * elf/cache.c (print_entry): Print ",hard-float" for
15955 FLAG_ARM_LIBHF.
15956
05b227bd
DM
159572012-11-18 David S. Miller <davem@davemloft.net>
15958
15959 With help from Joseph Myers.
15960 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
15961 cutoff to 2**-13.
15962 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
15963 cutoff to 2**-25.
15964 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
15965 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
15966 small.
15967 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
15968 * math/libm-test.inc (y0_test): New tests.
15969 (y1_test): New tests.
15970 * sysdeps/i386/fpu/libm-test-ulps: Update.
15971 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15972 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15973
786b0b67
AS
159742012-11-18 Andreas Schwab <schwab@linux-m68k.org>
15975
15976 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
15977 64-bit targets.
15978 * configure: Regenerated.
15979
8e18b86d
DM
159802012-11-17 David S. Miller <davem@davemloft.net>
15981
15982 [BZ #14811]
15983 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
15984 nonzero exponents with absolute value below 0x1p-128 to +/-
15985 0x1p-128.
15986
531f1ae0
JM
159872012-11-17 Joseph Myers <joseph@codesourcery.com>
15988
12df29e2
JM
15989 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
15990
150dc1a0
JM
15991 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
15992
531f1ae0
JM
15993 * posix/getconf-speclist.c: New file.
15994 * posix/posix-envs.def: Likewise.
15995 * posix/confstr.c (START_ENV_GROUP): New macro.
15996 (END_ENV_GROUP): Likewise.
15997 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
15998 (KNOWN_PRESENT_ENV_STRING): Likewise.
15999 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
16000 (UNKNOWN_ENVIRONMENT): Likewise.
16001 (confstr): Include posix-envs.def instead of handling
16002 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
16003 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
16004 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
16005 (END_ENV_GROUP): Likewise.
16006 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
16007 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
16008 (UNKNOWN_ENVIRONMENT): Likewise.
16009 (__sysconf): Include posix-envs.def instead of handling associated
16010 cases directly here.
16011 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
16012 preprocessing getconf-speclist.c rather than running getconf or
16013 generating empty file.
16014
a93f9cbc
PT
160152012-11-16 Pino Toscano <toscano.pino@tiscali.it>
16016
16017 * scripts/check-local-headers.sh: Ignore 'mach' headers.
16018
d64d9f87
AL
160192012-11-16 Andrej Lajovic <natrij@gmail.com>
16020
16021 [BZ #14672]
16022 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
16023
447885eb
DM
160242012-11-16 David S. Miller <davem@davemloft.net>
16025
16026 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
16027 smaller than LDBL_EPSILON/2.0L, just return xm1.
16028
bcbf9830
L
160292012-11-16 H.J. Lu <hongjiu.lu@intel.com>
16030
16031 * elf/tst-array1.c (init): Set constructor priority to 1000.
16032 (fini): Set destructor priority to 1000.
16033 * elf/tst-array2dep.c: Likewise.
16034
2b766585
SP
160352012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16036
16037 [BZ #11741]
16038 * libio/fileops.c (_IO_new_file_write): Correctly return error.
16039 (_IO_new_file_xsputn): Also return EOF if none of the input
16040 data was written when overflow failed.
16041 * libio/iopadn.c (_IO_padn): Likewise.
16042 * libio/iowpadn.c (_IO_wpadn): Likewise.
16043 * stdio-common/tst-put-error.c: Add copyright notice.
16044 (do_test): Add case for printing padded string.
16045 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
16046 _IO_padn returned error.
16047 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
16048 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
16049 return EOF.
16050
b1848fde
SP
160512012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16052
16053 * libio/libioP.h: Add comment note that the references to C++
16054 bits are now obsolete.
16055
2fd89785
MS
160562012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16057
16058 * math/libm-test.inc (check_complex): Use asprintf.
16059
e3ea5409
JM
160602012-11-14 Joseph Myers <joseph@codesourcery.com>
16061
16062 * debug/pcprofiledump.c (print_version): Update copyright year.
16063 * malloc/memusagestat.c (print_version): Likewise.
16064
2e64d265
L
160652012-11-14 H.J. Lu <hongjiu.lu@intel.com>
16066
16067 [BZ #14831]
16068 * elf/Makefile (tests): Add tst-audit8.
16069 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
16070 ($(objpfx)tst-audit8.out): New target.
16071 (tst-audit8-ENV): New variable.
16072 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
16073 audit if l_reloc_result is NULL.
16074 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
16075 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
16076 * elf/tst-audit8.c: New file.
16077
c485e4d2
MS
160782012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16079
16080 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
16081 * misc/Makefile (CFLAGS-select.c): Define.
16082 * posix/Makefile (CFLAGS-pause.c): Define.
16083
3a0d900a
DM
160842012-11-13 David S. Miller <davem@davemloft.net>
16085
16086 * crypt/Makefile: Move test targets after toplevel Rules
16087 inclusion. Grab any necessary sysdep routines when linking.
16088 * crypt/md5.c (md5_process_block): Remove define, we will always
16089 name it __md5_process_block.
16090 (md5_finish_ctx): Update md5_process_block call.
16091 (md5_stream): Likewise.
16092 (md5_process_bytes): Likewise.
16093 (md5_process_block): Rename to __md5_process_block and move to ...
16094 * crypt/md5-block.c: ... here.
16095 * crypt/sha256.c (sha256_process_block): Move to ...
16096 * crypt/sha256-block.c: ... here.
16097 * crypt/sha512.c (sha512_process_block): Move to ...
16098 * crypt/sha512-block.c: ... here.
16099 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
16100 path.
16101 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
16102 * sysdeps/sparc/sparc64/multiarch/Makefile
16103 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
16104 crypt subdir.
16105 (localedef-aux): Add md5 crypto assembler when in locale subdir.
16106 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
16107 multiarch changes.
16108 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
16109 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
16110 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
16111 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
16112 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
16113 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
16114 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
16115 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
16116 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
16117 file.
16118 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
16119 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
16120 file.
16121 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
16122
8ca89318
JM
161232012-11-13 Joseph Myers <joseph@codesourcery.com>
16124
e27d476a
JM
16125 * timezone/tzselect.ksh: Update from tzcode git revision
16126 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
16127 * timezone/zdump.c: Likewise.
16128 * timezone/zic.c: Likewise.
16129 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
16130 in TZVERSION setting, not $(PKGVERSION).
16131 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
16132 REPORT_BUGS_TO settings.
16133
8ca89318
JM
16134 [BZ #14838]
16135 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
16136 macro.
16137
47594329
MS
161382012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16139
16140 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
16141 detection to immediately after _FP_ROUND().
16142 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
16143 bits are 0.
16144
640ac3f1
DM
161452012-11-11 David S. Miller <davem@davemloft.net>
16146
16147 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
16148 inttypes.h
16149 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
16150 __close rather than their public counterparts.
16151
3d2577bb
JM
161522012-11-10 Joseph Myers <joseph@codesourcery.com>
16153
16154 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
16155 file.
16156 [UNIX98] (sem_timedwait): Do not expect.
16157 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
16158 [XPG4 || UNIX98] (sockatmark): Do not expect.
16159 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
16160 (clock_getcpuclockid): Do not expect.
16161 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
16162 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
16163 Do not expect.
16164 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
16165 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
16166 [UNIX98] (vwscanf): Likewise.
16167 [UNIX98] (vswscanf): Likewise.
16168
fb1ae1ee
JM
161692012-11-09 Joseph Myers <joseph@codesourcery.com>
16170
9ec6f8bd
JM
16171 * timezone/version.h: Remove file.
16172 * timezone/README: Do not refer to version.h.
16173 * timezone/Makefile ($(objpfx)zic.o): New dependency on
16174 $(objpfx)version.h.
16175 ($(objpfx)zdump.o): Likewise.
c3f81911 16176 ($(objpfx)version.h): New target.
9ec6f8bd 16177
0aa8f8a1
JM
16178 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
16179 2012i.
16180 * timezone/README: Don't mention modification to tzselect.ksh.
16181 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
16182 work on unmodified tzselect.ksh. Substitute version numbers in
16183 tzselect.ksh.
16184
4e87147f
JM
16185 * Makefile (format-me): Remove.
16186 (INSTALL): Adjust indentation. Use commands directly instead of
16187 using $(format-me).
16188
8b748aed
JM
16189 * aclocal.m4 (ACX_PKGVERSION): New macro.
16190 (ACX_BUGURL): Likewise.
16191 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
16192 (PKGVERSION): New AC_DEFINE_UNQUOTED.
16193 (REPORT_BUGS_TO): Likewise.
16194 * configure: Regenerated.
16195 * config.h.in (PKGVERSION): New macro.
16196 (REPORT_BUGS_TO): Likewise.
16197 * config.make.in (PKGVERSION): New variable.
16198 (PKGVERSION_TEXI): Likewise.
16199 (REPORT_BUGS_TO): Likewise.
16200 (REPORT_BUGS_TEXI): Likewise.
16201 * Makefile (format-me): Use -I$(common-objpfx)manual.
16202 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
16203 ($(common-objpfx)manual/%): New target.
16204 (manual/%): Remove target.
16205 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
16206 (print_version): Use PKGVERSION.
16207 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
16208 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
16209 and REPORT_BUGS_TO.
16210 ($(objpfx)xtrace): Likewise.
16211 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
16212 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
16213 (print_version): Use PKGVERSION.
16214 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
16215 (do_version): Use PKGVERSION.
16216 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
16217 REPORT_BUGS_TO.
16218 (common-ldd-rewrite): Likewise.
16219 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
16220 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
16221 (print_version): Use PKGVERSION.
16222 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
16223 * elf/pldd.c (argp_program_bug_address): Remove variable.
16224 (more_help): New function.
16225 (argp): Use more_help.
16226 (print_version): Use PKGVERSION.
16227 * elf/sln.c (main): Use PKGVERSION.
16228 (usage): Use REPORT_BUGS_TO.
16229 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
16230 (top level): Use PKGVERSION.
16231 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
16232 (print_version): Use PKGVERSION.
16233 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
16234 (print_version): Use PKGVERSION.
16235 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
16236 (print_version): Use PKGVERSION.
16237 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
16238 (print_version): Use PKGVERSION.
16239 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
16240 (print_version): Use PKGVERSION.
16241 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
16242 (print_version): Use PKGVERSION.
16243 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
16244 and BUGURL.
16245 ($(objpfx)memusage): Likewise.
16246 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
16247 (do_version): Use PKGVERSION.
16248 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
16249 (print_version): Use PKGVERSION.
16250 * malloc/mtrace.pl ($PACKAGE): Remove variable.
16251 ($PKGVERSION): New variable.
16252 ($REPORT_BUGS_TO): Likewise.
16253 (usage): Use $REPORT_BUGS_TO.
16254 (top level): Use $PKGVERSION.
16255 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
16256 ($(objpfx)pkgvers.texi): New rule.
16257 ($(objpfx)stamp-pkgvers): Likewise.
16258 * manual/install.texi: Include pkgvers.texi.
16259 (--with-pkgversion): Document new configure option.
16260 (--with-bugurl): Likewise.
16261 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
16262 than necessarily for this particular distribution. Use
16263 REPORT_BUGS_TO for where to report bugs.
16264 * INSTALL: Regenerated.
16265 * manual/libc.texinfo: Include pkgvers.texi.
16266 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
16267 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
16268 (print_version): Use PKGVERSION.
16269 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
16270 (print_version): Use PKGVERSION.
16271 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
16272 (print_version): Use PKGVERSION.
16273 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
16274 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
16275 macro.
16276 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
16277 (print_version): Use PKGVERSION.
16278 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
16279 (print_version): Use PKGVERSION.
16280 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
16281 and PKGVERSION.
16282
92e4b6a9
JM
16283 * timezone/checktab.awk: Update from tzcode 2012i.
16284 * timezone/ialloc.c: Likewise.
16285 * timezone/private.h: Likewise.
16286 * timezone/scheck.c: Likewise.
16287 * timezone/tzfile.h: Likewise.
16288 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
16289 (TZVERSION): Hardcode tzcode version number.
16290 * timezone/zdump.c: Update from tzcode 2012i.
16291 * timezone/zic.c: Likewise.
16292 * timezone/version.h: New file.
16293 * timezone/README: Describe version.h. Update upstream location.
16294
9bde902c
JM
16295 [BZ #14824]
16296 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
16297 (mktemp): Enable declaration.
16298 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
16299 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
16300 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
16301 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
16302 Likewise.
16303 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
16304 Likewise.
16305 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
16306 Likewise.
16307 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
16308 Likewise.
16309 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
16310 Likewise.
16311 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
16312 Likewise.
16313
fb1ae1ee
JM
16314 [BZ #14821]
16315 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
16316 offset in buffer as u_int32_t not u_long. Consistently use memcpy
16317 for copies of such integer values.
16318 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16319 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16320
2c1adbcb
AJ
163212012-11-09 Andreas Jaeger <aj@suse.de>
16322
16323 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
16324 definitions and declarations that are provided by
16325 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
16326
d0f8457e
AK
163272012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16328
3a235abb 16329 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
16330 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
16331 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
16332 definition.
16333
57241e26
MS
163342012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16335
16336 * elf/elf.h: Update comment before AArch64 relocations.
16337
60e8270d
DM
163382012-11-07 David S. Miller <davem@davemloft.net>
16339
16340 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
16341 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
16342 (__start_context): Declare.
16343 (__makecontext_ret): Delete.
16344 (__makecontext): Hook up __start_context instead of
16345 __makecontext_ret.
16346 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
16347 (sysdep_routines): Add __start_context when in stdlib.
16348
0fbb0fbc
JM
163492012-11-07 Joseph Myers <joseph@codesourcery.com>
16350
16351 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
16352 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
16353 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
16354 hardcoded "nm".
16355 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
16356 (READELF): New variable. Use it instead of hardcoded "readelf".
16357
eb48db7e
L
163582012-11-07 H.J. Lu <hongjiu.lu@intel.com>
16359
16360 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
16361 * sysdeps/x86/Makefile: Here.
16362 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
16363 * sysdeps/x86/tst-xmmymm.sh: This.
16364
05bcf62a
JM
163652012-11-07 Joseph Myers <joseph@codesourcery.com>
16366
c4b6cf53
JM
16367 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
16368 expectations.
16369 [UNIX98] (pthread_barrier_t): Do not expect.
16370 [UNIX98] (pthread_barrierattr_t): Likewise.
16371 [UNIX98] (pthread_spinlock_t): Likewise.
16372 [UNIX98] (pthread_barrier_destroy): Likewise.
16373 [UNIX98] (pthread_barrier_init): Likewise.
16374 [UNIX98] (pthread_barrier_wait): Likewise.
16375 [UNIX98] (pthread_barrierattr_destroy): Likewise.
16376 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
16377 [UNIX98] (pthread_barrierattr_init): Likewise.
16378 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
16379 [UNIX98] (pthread_getcpuclockid): Likewise.
16380 [UNIX98] (pthread_mutex_timedlock): Likewise.
16381 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
16382 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
16383 [UNIX98] (pthread_sigmask): Likewise.
16384 [UNIX98] (pthread_spin_destroy): Likewise.
16385 [UNIX98] (pthread_spin_init): Likewise.
16386 [UNIX98] (pthread_spin_lock): Likewise.
16387 [UNIX98] (pthread_spin_trylock): Likewise.
16388 [UNIX98] (pthread_spin_unlock): Likewise.
16389 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
16390 Do not expect.
16391 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
16392 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
16393 [XPG3 || XPG4] (pthread_cond_t): Likewise.
16394 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
16395 [XPG3 || XPG4] (pthread_key_t): Likewise.
16396 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
16397 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
16398 [XPG3 || XPG4] (pthread_once_t): Likewise.
16399 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
16400 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
16401 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
16402 [XPG3 || XPG4] (pthread_t): Likewise.
16403
cbe6e120
JM
16404 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
16405 not expect.
16406 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
16407
1b126443
JM
16408 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
16409 Change function return type to int.
16410
b961a573
JM
16411 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
16412 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
16413 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
16414 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
16415 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
16416 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
16417 [!POSIX] (posix_madvise): Likewise.
16418 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
16419 && !UNIX98].
16420 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
16421 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
16422 (mode_t): Likewise.
16423 (posix_mem_offset): Likewise.
16424 (posix_typed_mem_get_info): Likewise.
16425 (posix_typed_mem_open): Likewise.
16426
9e188909
JM
16427 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
16428 Change condition to [XOPEN2K8].
16429
05bcf62a
JM
16430 * conform/conformtest.pl: Preprocess allow-header data with -x c
16431 instead of from stdin.
16432 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
16433 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
16434 [C99-based standards] (cerfc): Likewise.
16435 [C99-based standards] (cexp2): Likewise.
16436 [C99-based standards] (cexpm1): Likewise.
16437 [C99-based standards] (clog10): Likewise.
16438 [C99-based standards] (clog1p): Likewise.
16439 [C99-based standards] (clog2): Likewise.
16440 [C99-based standards] (clgamma): Likewise.
16441 [C99-based standards] (ctgamma): Likewise.
16442 [C99-based standards] (cerff): Likewise.
16443 [C99-based standards] (cerfcf): Likewise.
16444 [C99-based standards] (cexp2f): Likewise.
16445 [C99-based standards] (cexpm1f): Likewise.
16446 [C99-based standards] (clog10f): Likewise.
16447 [C99-based standards] (clog1pf): Likewise.
16448 [C99-based standards] (clog2f): Likewise.
16449 [C99-based standards] (clgammaf): Likewise.
16450 [C99-based standards] (ctgammaf): Likewise.
16451 [C99-based standards] (cerfl): Likewise.
16452 [C99-based standards] (cerfcl): Likewise.
16453 [C99-based standards] (cexp2l): Likewise.
16454 [C99-based standards] (cexpm1l): Likewise.
16455 [C99-based standards] (clog10l): Likewise.
16456 [C99-based standards] (clog1pl): Likewise.
16457 [C99-based standards] (clog2l): Likewise.
16458 [C99-based standards] (clgammal): Likewise.
16459 [C99-based standards] (ctgammal): Likewise.
16460 * conform/data/inttypes.h-data [C99-based standards]: Include
16461 stdint.h-data. Remove all expectations for stdint.h contents.
16462 [C99-based standards] (PRI*): Do not allow.
16463 [C99-based standards] (SCN*): Likewise.
16464 [C99-based standards] (*_t): Likewise.
16465 [C99-based-standards] (PRId8): Expect macro.
16466 [C99-based-standards] (PRIi8): Likewise.
16467 [C99-based-standards] (PRIo8): Likewise.
16468 [C99-based-standards] (PRIu8): Likewise.
16469 [C99-based-standards] (PRIx8): Likewise.
16470 [C99-based-standards] (PRIX8): Likewise.
16471 [C99-based-standards] (SCNd8): Likewise.
16472 [C99-based-standards] (SCNi8): Likewise.
16473 [C99-based-standards] (SCNo8): Likewise.
16474 [C99-based-standards] (SCNu8): Likewise.
16475 [C99-based-standards] (SCNx8): Likewise.
16476 [C99-based-standards] (PRIdLEAST8): Likewise.
16477 [C99-based-standards] (PRIiLEAST8): Likewise.
16478 [C99-based-standards] (PRIoLEAST8): Likewise.
16479 [C99-based-standards] (PRIuLEAST8): Likewise.
16480 [C99-based-standards] (PRIxLEAST8): Likewise.
16481 [C99-based-standards] (PRIXLEAST8): Likewise.
16482 [C99-based-standards] (SCNdLEAST8): Likewise.
16483 [C99-based-standards] (SCNiLEAST8): Likewise.
16484 [C99-based-standards] (SCNoLEAST8): Likewise.
16485 [C99-based-standards] (SCNuLEAST8): Likewise.
16486 [C99-based-standards] (SCNxLEAST8): Likewise.
16487 [C99-based-standards] (PRIdFAST8): Likewise.
16488 [C99-based-standards] (PRIiFAST8): Likewise.
16489 [C99-based-standards] (PRIoFAST8): Likewise.
16490 [C99-based-standards] (PRIuFAST8): Likewise.
16491 [C99-based-standards] (PRIxFAST8): Likewise.
16492 [C99-based-standards] (PRIXFAST8): Likewise.
16493 [C99-based-standards] (SCNdFAST8): Likewise.
16494 [C99-based-standards] (SCNiFAST8): Likewise.
16495 [C99-based-standards] (SCNoFAST8): Likewise.
16496 [C99-based-standards] (SCNuFAST8): Likewise.
16497 [C99-based-standards] (SCNxFAST8): Likewise.
16498 [C99-based-standards] (PRId16): Likewise.
16499 [C99-based-standards] (PRIi16): Likewise.
16500 [C99-based-standards] (PRIo16): Likewise.
16501 [C99-based-standards] (PRIu16): Likewise.
16502 [C99-based-standards] (PRIx16): Likewise.
16503 [C99-based-standards] (PRIX16): Likewise.
16504 [C99-based-standards] (SCNd16): Likewise.
16505 [C99-based-standards] (SCNi16): Likewise.
16506 [C99-based-standards] (SCNo16): Likewise.
16507 [C99-based-standards] (SCNu16): Likewise.
16508 [C99-based-standards] (SCNx16): Likewise.
16509 [C99-based-standards] (PRIdLEAST16): Likewise.
16510 [C99-based-standards] (PRIiLEAST16): Likewise.
16511 [C99-based-standards] (PRIoLEAST16): Likewise.
16512 [C99-based-standards] (PRIuLEAST16): Likewise.
16513 [C99-based-standards] (PRIxLEAST16): Likewise.
16514 [C99-based-standards] (PRIXLEAST16): Likewise.
16515 [C99-based-standards] (SCNdLEAST16): Likewise.
16516 [C99-based-standards] (SCNiLEAST16): Likewise.
16517 [C99-based-standards] (SCNoLEAST16): Likewise.
16518 [C99-based-standards] (SCNuLEAST16): Likewise.
16519 [C99-based-standards] (SCNxLEAST16): Likewise.
16520 [C99-based-standards] (PRIdFAST16): Likewise.
16521 [C99-based-standards] (PRIiFAST16): Likewise.
16522 [C99-based-standards] (PRIoFAST16): Likewise.
16523 [C99-based-standards] (PRIuFAST16): Likewise.
16524 [C99-based-standards] (PRIxFAST16): Likewise.
16525 [C99-based-standards] (PRIXFAST16): Likewise.
16526 [C99-based-standards] (SCNdFAST16): Likewise.
16527 [C99-based-standards] (SCNiFAST16): Likewise.
16528 [C99-based-standards] (SCNoFAST16): Likewise.
16529 [C99-based-standards] (SCNuFAST16): Likewise.
16530 [C99-based-standards] (SCNxFAST16): Likewise.
16531 [C99-based-standards] (PRId32): Likewise.
16532 [C99-based-standards] (PRIi32): Likewise.
16533 [C99-based-standards] (PRIo32): Likewise.
16534 [C99-based-standards] (PRIu32): Likewise.
16535 [C99-based-standards] (PRIx32): Likewise.
16536 [C99-based-standards] (PRIX32): Likewise.
16537 [C99-based-standards] (SCNd32): Likewise.
16538 [C99-based-standards] (SCNi32): Likewise.
16539 [C99-based-standards] (SCNo32): Likewise.
16540 [C99-based-standards] (SCNu32): Likewise.
16541 [C99-based-standards] (SCNx32): Likewise.
16542 [C99-based-standards] (PRIdLEAST32): Likewise.
16543 [C99-based-standards] (PRIiLEAST32): Likewise.
16544 [C99-based-standards] (PRIoLEAST32): Likewise.
16545 [C99-based-standards] (PRIuLEAST32): Likewise.
16546 [C99-based-standards] (PRIxLEAST32): Likewise.
16547 [C99-based-standards] (PRIXLEAST32): Likewise.
16548 [C99-based-standards] (SCNdLEAST32): Likewise.
16549 [C99-based-standards] (SCNiLEAST32): Likewise.
16550 [C99-based-standards] (SCNoLEAST32): Likewise.
16551 [C99-based-standards] (SCNuLEAST32): Likewise.
16552 [C99-based-standards] (SCNxLEAST32): Likewise.
16553 [C99-based-standards] (PRIdFAST32): Likewise.
16554 [C99-based-standards] (PRIiFAST32): Likewise.
16555 [C99-based-standards] (PRIoFAST32): Likewise.
16556 [C99-based-standards] (PRIuFAST32): Likewise.
16557 [C99-based-standards] (PRIxFAST32): Likewise.
16558 [C99-based-standards] (PRIXFAST32): Likewise.
16559 [C99-based-standards] (SCNdFAST32): Likewise.
16560 [C99-based-standards] (SCNiFAST32): Likewise.
16561 [C99-based-standards] (SCNoFAST32): Likewise.
16562 [C99-based-standards] (SCNuFAST32): Likewise.
16563 [C99-based-standards] (SCNxFAST32): Likewise.
16564 [C99-based-standards] (PRId64): Likewise.
16565 [C99-based-standards] (PRIi64): Likewise.
16566 [C99-based-standards] (PRIo64): Likewise.
16567 [C99-based-standards] (PRIu64): Likewise.
16568 [C99-based-standards] (PRIx64): Likewise.
16569 [C99-based-standards] (PRIX64): Likewise.
16570 [C99-based-standards] (SCNd64): Likewise.
16571 [C99-based-standards] (SCNi64): Likewise.
16572 [C99-based-standards] (SCNo64): Likewise.
16573 [C99-based-standards] (SCNu64): Likewise.
16574 [C99-based-standards] (SCNx64): Likewise.
16575 [C99-based-standards] (PRIdLEAST64): Likewise.
16576 [C99-based-standards] (PRIiLEAST64): Likewise.
16577 [C99-based-standards] (PRIoLEAST64): Likewise.
16578 [C99-based-standards] (PRIuLEAST64): Likewise.
16579 [C99-based-standards] (PRIxLEAST64): Likewise.
16580 [C99-based-standards] (PRIXLEAST64): Likewise.
16581 [C99-based-standards] (SCNdLEAST64): Likewise.
16582 [C99-based-standards] (SCNiLEAST64): Likewise.
16583 [C99-based-standards] (SCNoLEAST64): Likewise.
16584 [C99-based-standards] (SCNuLEAST64): Likewise.
16585 [C99-based-standards] (SCNxLEAST64): Likewise.
16586 [C99-based-standards] (PRIdFAST64): Likewise.
16587 [C99-based-standards] (PRIiFAST64): Likewise.
16588 [C99-based-standards] (PRIoFAST64): Likewise.
16589 [C99-based-standards] (PRIuFAST64): Likewise.
16590 [C99-based-standards] (PRIxFAST64): Likewise.
16591 [C99-based-standards] (PRIXFAST64): Likewise.
16592 [C99-based-standards] (SCNdFAST64): Likewise.
16593 [C99-based-standards] (SCNiFAST64): Likewise.
16594 [C99-based-standards] (SCNoFAST64): Likewise.
16595 [C99-based-standards] (SCNuFAST64): Likewise.
16596 [C99-based-standards] (SCNxFAST64): Likewise.
16597 [C99-based-standards] (PRIdMAX): Likewise.
16598 [C99-based-standards] (PRIiMAX): Likewise.
16599 [C99-based-standards] (PRIoMAX): Likewise.
16600 [C99-based-standards] (PRIuMAX): Likewise.
16601 [C99-based-standards] (PRIxMAX): Likewise.
16602 [C99-based-standards] (PRIXMAX): Likewise.
16603 [C99-based-standards] (SCNdMAX): Likewise.
16604 [C99-based-standards] (SCNiMAX): Likewise.
16605 [C99-based-standards] (SCNoMAX): Likewise.
16606 [C99-based-standards] (SCNuMAX): Likewise.
16607 [C99-based-standards] (SCNxMAX): Likewise.
16608 [C99-based-standards] (PRIdPTR): Likewise.
16609 [C99-based-standards] (PRIiPTR): Likewise.
16610 [C99-based-standards] (PRIoPTR): Likewise.
16611 [C99-based-standards] (PRIuPTR): Likewise.
16612 [C99-based-standards] (PRIxPTR): Likewise.
16613 [C99-based-standards] (PRIXPTR): Likewise.
16614 [C99-based-standards] (SCNdPTR): Likewise.
16615 [C99-based-standards] (SCNiPTR): Likewise.
16616 [C99-based-standards] (SCNoPTR): Likewise.
16617 [C99-based-standards] (SCNuPTR): Likewise.
16618 [C99-based-standards] (SCNxPTR): Likewise.
16619 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
16620 allow.
16621 * conform/data/stdint.h-data: Update comments to clarify
16622 requirements.
16623 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
16624 type.
16625 [C99-based standards] (INT8_MAX): Likewise.
16626 [C99-based standards] (INT16_MIN): Likewise.
16627 [C99-based standards] (INT16_MAX): Likewise.
16628 [C99-based standards] (INT32_MIN): Likewise.
16629 [C99-based standards] (INT32_MAX): Likewise.
16630 [C99-based standards] (INT64_MIN): Likewise.
16631 [C99-based standards] (INT64_MAX): Likewise.
16632 [C99-based standards] (UINT8_MAX): Likewise.
16633 [C99-based standards] (UINT16_MAX): Likewise.
16634 [C99-based standards] (UINT32_MAX): Likewise.
16635 [C99-based standards] (UINT64_MAX): Likewise.
16636 [C99-based standards] (INT_LEAST8_MIN): Likewise.
16637 [C99-based standards] (INT_LEAST8_MAX): Likewise.
16638 [C99-based standards] (INT_LEAST16_MIN): Likewise.
16639 [C99-based standards] (INT_LEAST16_MAX): Likewise.
16640 [C99-based standards] (INT_LEAST32_MIN): Likewise.
16641 [C99-based standards] (INT_LEAST32_MAX): Likewise.
16642 [C99-based standards] (INT_LEAST64_MIN): Likewise.
16643 [C99-based standards] (INT_LEAST64_MAX): Likewise.
16644 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
16645 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
16646 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
16647 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
16648 [C99-based standards] (INT_FAST8_MIN): Likewise.
16649 [C99-based standards] (INT_FAST8_MAX): Likewise.
16650 [C99-based standards] (INT_FAST16_MIN): Likewise.
16651 [C99-based standards] (INT_FAST16_MAX): Likewise.
16652 [C99-based standards] (INT_FAST32_MIN): Likewise.
16653 [C99-based standards] (INT_FAST32_MAX): Likewise.
16654 [C99-based standards] (INT_FAST64_MIN): Likewise.
16655 [C99-based standards] (INT_FAST64_MAX): Likewise.
16656 [C99-based standards] (UINT_FAST8_MAX): Likewise.
16657 [C99-based standards] (UINT_FAST16_MAX): Likewise.
16658 [C99-based standards] (UINT_FAST32_MAX): Likewise.
16659 [C99-based standards] (UINT_FAST64_MAX): Likewise.
16660 [C99-based standards] (INTPTR_MIN): Likewise.
16661 [C99-based standards] (INTPTR_MAX): Likewise.
16662 [C99-based standards] (UINTPTR_MAX): Likewise.
16663 [C99-based standards] (INTMAX_MIN): Likewise.
16664 [C99-based standards] (INTMAX_MAX): Likewise.
16665 [C99-based standards] (UINTMAX_MAX): Likewise.
16666 [C99-based standards] (PTRDIFF_MIN): Likewise.
16667 [C99-based standards] (PTRDIFF_MAX): Likewise.
16668 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
16669 [C99-based standards] (SIZE_MAX): Likewise.
16670 [C99-based standards] (WCHAR_MAX): Likewise.
16671 [C99-based standards] (WINT_MAX): Likewise.
16672 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
16673 constraint on value.
16674 [C99-based standards] (WCHAR_MIN): Likewise.
16675 [C99-based standards] (WINT_MIN): Likewise.
16676 [C99-based standards] (*_t): Allow.
16677 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
16678 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
16679 Include math.h-data and complex.h-data. Remove all expectations
16680 of math.h and complex.h contents.
16681 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
16682 at end of line.
16683 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
16684 (struct tm): Expect tag.
16685 [C99-based-standards] (wcstof): Expect function.
16686 [C99-based-standards] (wcstold): Likewise.
16687 [C99-based-standards] (wcstoll): Likewise.
16688 [C99-based-standards] (wcstoull): Likewise.
16689 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
16690 macro-int-constant. Specify type.
16691 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
16692 constraint on value.
16693 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16694 Specify type.
16695 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
16696 Specify value.
16697 [ISO C standards]: Do not allow headers.
16698 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
16699 wcs[abcdefghijklmnopqrstuvwxyz]*.
16700 [ISO C standards] (*_t): Do not allow.
16701 * conform/data/wctype.h-data [C99-based standards] (iswblank):
16702 Expect function.
16703 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
16704 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16705 Specify type.
16706 [ISO C standards]: Do not allow headers.
16707 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
16708 is[abcdefghijklmnopqrstuvwxyz]*.
16709 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
16710 to[abcdefghijklmnopqrstuvwxyz]*.
16711 [ISO C standards] (*_t): Do not allow.
16712 * conform/data/stdalign.h-data: New file.
16713 * conform/data/stdbool.h-data: Likewise.
16714 * conform/data/stdnoreturn.h-data: Likewise.
16715
7514feb8
RM
167162012-11-07 Roland McGrath <roland@hack.frob.com>
16717
16718 [BZ #14815]
16719 * manual/filesys.texi (Directory Entries): Typo fix.
16720 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
16721
19b2ecfc
MS
167222012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16723
16724 * elf/elf.h (EM_AARCH64): New macro.
16725 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
16726 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
16727 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
16728 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
16729 (R_AARCH64_TLSDESC): Likewise.
16730 (NT_ARM_TLS): Likewise.
16731 (NT_ARM_HW_BREAK): Likewise.
16732 (NT_ARM_HW_WATCH): Likewise.
16733
60e235ee
JM
167342012-11-07 Joseph Myers <joseph@codesourcery.com>
16735
16736 [BZ #14811]
16737 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
16738 (__ieee754_powl): Saturate nonzero exponents with absolute value
16739 below 0x1p-79 to +/- 0x1p-79.
16740 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
16741 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
16742 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
16743 nonzero exponents with absolute value below 0x1p-32 to +/-
16744 0x1p-32.
16745 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
16746 (__ieee754_powl): Saturate nonzero exponents with absolute value
16747 below 0x1p-79 to +/- 0x1p-79.
16748 * math/libm-test.inc (pow_test): Add more tests.
16749
0ab234b7
AK
167502012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16751
16752 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
16753 _dl_s390_cap_flags with kernel. Increase string length.
16754 (_dl_s390_platforms): Add z196 and zEC12.
16755
45832f74
JM
167562012-11-07 Joseph Myers <joseph@codesourcery.com>
16757
16758 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
16759 Change XOPEN21K to XOPEN2K.
16760
19218757
MK
167612012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
16762
16763 * string/memmove.c: Use memcpy when possible.
16764
c5f45721
AJ
167652012-11-06 Andreas Jaeger <aj@suse.de>
16766
16767 * po/eo.po: Update from translation team.
16768
82477c28
JM
167692012-11-06 Joseph Myers <joseph@codesourcery.com>
16770
16771 [BZ #14793]
16772 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
16773 exponent and small x and y exponents, scale x or y up. Increase
16774 by 2 the exponent used in scaling up.
16775 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16776 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16777 * math/libm-test.inc (fma_test): Add more tests.
16778 (fma_test_towardzero): Likewise.
16779 (fma_test_downward): Likewise.
16780 (fma_test_upward): Likewise.
16781
99252c8c
JM
167822012-11-05 Joseph Myers <joseph@codesourcery.com>
16783
acfa885f
JM
16784 [BZ #14805]
16785 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
16786 fenv_t *.
16787
99252c8c
JM
16788 [BZ #14801]
16789 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
16790 namespace for names of struct fields.
16791 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
16792 fenv_t fields.
16793 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
16794 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
16795
d6d98dea
ST
167962012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
16797
16798 [BZ #3665]
16799 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
16800
e10bb107
TS
168012012-11-04 Thomas Schwinge <thomas@codesourcery.com>
16802
16803 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
16804 PTR_DEMANGLE.
16805
16806 [BZ #5246]
16807 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
16808 PTR_DEMANGLE.
16809
a0c2940d
JM
168102012-11-04 Joseph Myers <joseph@codesourcery.com>
16811
16812 [BZ #14797]
16813 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
16814 definitely overflow as x * y not x * y + z.
16815 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16816 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16817 * math/libm-test.inc (fma_test): Add more tests.
16818 (fma_test_towardzero): Likewise.
16819 (fma_test_downward): Likewise.
16820 (fma_test_upward): Likewise.
16821
b830319d
TS
168222012-11-04 Thomas Schwinge <thomas@codesourcery.com>
16823
16824 [BZ #157]
16825
16826 * include/stub-tag.h: Remove file.
16827 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
16828 '#include' of it.
16829 * manual/maint.texi (Porting): Don't reference it.
16830 * Makerules ($(objpfx)stubs): Likewise.
16831 * dirent/closedir.c: Don't include <stub-tag.h>.
16832 * dirent/dirfd.c: Likewise.
16833 * dirent/fdopendir.c: Likewise.
16834 * dirent/getdents.c: Likewise.
16835 * dirent/getdents64.c: Likewise.
16836 * dirent/opendir.c: Likewise.
16837 * dirent/readdir.c: Likewise.
16838 * dirent/readdir64.c: Likewise.
16839 * dirent/readdir64_r.c: Likewise.
16840 * dirent/readdir_r.c: Likewise.
16841 * dirent/rewinddir.c: Likewise.
16842 * dirent/seekdir.c: Likewise.
16843 * dirent/telldir.c: Likewise.
16844 * gmon/profil.c: Likewise.
16845 * grp/setgroups.c: Likewise.
16846 * inet/if_index.c: Likewise.
16847 * io/access.c: Likewise.
16848 * io/chdir.c: Likewise.
16849 * io/chmod.c: Likewise.
16850 * io/chown.c: Likewise.
16851 * io/close.c: Likewise.
16852 * io/dup.c: Likewise.
16853 * io/dup2.c: Likewise.
16854 * io/dup3.c: Likewise.
16855 * io/euidaccess.c: Likewise.
16856 * io/faccessat.c: Likewise.
16857 * io/fchdir.c: Likewise.
16858 * io/fchmod.c: Likewise.
16859 * io/fchmodat.c: Likewise.
16860 * io/fchown.c: Likewise.
16861 * io/fchownat.c: Likewise.
16862 * io/fcntl.c: Likewise.
16863 * io/flock.c: Likewise.
16864 * io/fstatfs.c: Likewise.
16865 * io/fstatfs64.c: Likewise.
16866 * io/fstatvfs.c: Likewise.
16867 * io/fstatvfs64.c: Likewise.
16868 * io/futimens.c: Likewise.
16869 * io/fxstat.c: Likewise.
16870 * io/fxstat64.c: Likewise.
16871 * io/fxstatat.c: Likewise.
16872 * io/fxstatat64.c: Likewise.
16873 * io/getcwd.c: Likewise.
16874 * io/isatty.c: Likewise.
16875 * io/lchmod.c: Likewise.
16876 * io/lchown.c: Likewise.
16877 * io/link.c: Likewise.
16878 * io/linkat.c: Likewise.
16879 * io/lseek.c: Likewise.
16880 * io/lseek64.c: Likewise.
16881 * io/lxstat64.c: Likewise.
16882 * io/mkdir.c: Likewise.
16883 * io/mkdirat.c: Likewise.
16884 * io/mkfifo.c: Likewise.
16885 * io/mkfifoat.c: Likewise.
16886 * io/open.c: Likewise.
16887 * io/open64.c: Likewise.
16888 * io/openat.c: Likewise.
16889 * io/openat64.c: Likewise.
16890 * io/pipe.c: Likewise.
16891 * io/pipe2.c: Likewise.
16892 * io/poll.c: Likewise.
16893 * io/posix_fadvise.c: Likewise.
16894 * io/posix_fadvise64.c: Likewise.
16895 * io/posix_fallocate.c: Likewise.
16896 * io/posix_fallocate64.c: Likewise.
16897 * io/read.c: Likewise.
16898 * io/readlink.c: Likewise.
16899 * io/readlinkat.c: Likewise.
16900 * io/rmdir.c: Likewise.
16901 * io/sendfile.c: Likewise.
16902 * io/sendfile64.c: Likewise.
16903 * io/statfs.c: Likewise.
16904 * io/statfs64.c: Likewise.
16905 * io/statvfs.c: Likewise.
16906 * io/statvfs64.c: Likewise.
16907 * io/symlink.c: Likewise.
16908 * io/symlinkat.c: Likewise.
16909 * io/ttyname.c: Likewise.
16910 * io/ttyname_r.c: Likewise.
16911 * io/umask.c: Likewise.
16912 * io/unlink.c: Likewise.
16913 * io/unlinkat.c: Likewise.
16914 * io/utime.c: Likewise.
16915 * io/utimensat.c: Likewise.
16916 * io/write.c: Likewise.
16917 * io/xmknod.c: Likewise.
16918 * io/xmknodat.c: Likewise.
16919 * io/xstat.c: Likewise.
16920 * io/xstat64.c: Likewise.
16921 * login/getpt.c: Likewise.
16922 * login/grantpt.c: Likewise.
16923 * login/unlockpt.c: Likewise.
16924 * math/e_acoshl.c: Likewise.
16925 * math/e_acosl.c: Likewise.
16926 * math/e_asinl.c: Likewise.
16927 * math/e_atan2l.c: Likewise.
16928 * math/e_atanhl.c: Likewise.
16929 * math/e_coshl.c: Likewise.
16930 * math/e_expl.c: Likewise.
16931 * math/e_fmodl.c: Likewise.
16932 * math/e_gammal_r.c: Likewise.
16933 * math/e_hypotl.c: Likewise.
16934 * math/e_j0l.c: Likewise.
16935 * math/e_j1l.c: Likewise.
16936 * math/e_jnl.c: Likewise.
16937 * math/e_lgammal_r.c: Likewise.
16938 * math/e_log10l.c: Likewise.
16939 * math/e_log2l.c: Likewise.
16940 * math/e_logl.c: Likewise.
16941 * math/e_powl.c: Likewise.
16942 * math/e_rem_pio2l.c: Likewise.
16943 * math/e_sinhl.c: Likewise.
16944 * math/e_sqrtl.c: Likewise.
16945 * math/fclrexcpt.c: Likewise.
16946 * math/fedisblxcpt.c: Likewise.
16947 * math/feenablxcpt.c: Likewise.
16948 * math/fegetenv.c: Likewise.
16949 * math/fegetexcept.c: Likewise.
16950 * math/fegetround.c: Likewise.
16951 * math/feholdexcpt.c: Likewise.
16952 * math/fesetenv.c: Likewise.
16953 * math/fesetround.c: Likewise.
16954 * math/feupdateenv.c: Likewise.
16955 * math/fgetexcptflg.c: Likewise.
16956 * math/fraiseexcpt.c: Likewise.
16957 * math/fsetexcptflg.c: Likewise.
16958 * math/ftestexcept.c: Likewise.
16959 * math/k_cosl.c: Likewise.
16960 * math/k_rem_pio2l.c: Likewise.
16961 * math/k_sinl.c: Likewise.
16962 * math/k_tanl.c: Likewise.
16963 * math/s_asinhl.c: Likewise.
16964 * math/s_atanl.c: Likewise.
16965 * math/s_cbrtl.c: Likewise.
16966 * math/s_erfl.c: Likewise.
16967 * math/s_expm1l.c: Likewise.
16968 * math/s_log1pl.c: Likewise.
16969 * math/s_tanhl.c: Likewise.
16970 * misc/acct.c: Likewise.
16971 * misc/brk.c: Likewise.
16972 * misc/chflags.c: Likewise.
16973 * misc/chroot.c: Likewise.
16974 * misc/fchflags.c: Likewise.
16975 * misc/fgetxattr.c: Likewise.
16976 * misc/flistxattr.c: Likewise.
16977 * misc/fremovexattr.c: Likewise.
16978 * misc/fsetxattr.c: Likewise.
16979 * misc/fsync.c: Likewise.
16980 * misc/ftruncate.c: Likewise.
16981 * misc/futimes.c: Likewise.
16982 * misc/futimesat.c: Likewise.
16983 * misc/getdomain.c: Likewise.
16984 * misc/getdtsz.c: Likewise.
16985 * misc/gethostid.c: Likewise.
16986 * misc/gethostname.c: Likewise.
16987 * misc/getloadavg.c: Likewise.
16988 * misc/getpagesize.c: Likewise.
16989 * misc/getsysstats.c: Likewise.
16990 * misc/getxattr.c: Likewise.
16991 * misc/gtty.c: Likewise.
16992 * misc/ioctl.c: Likewise.
16993 * misc/lgetxattr.c: Likewise.
16994 * misc/listxattr.c: Likewise.
16995 * misc/llistxattr.c: Likewise.
16996 * misc/lremovexattr.c: Likewise.
16997 * misc/lsetxattr.c: Likewise.
16998 * misc/lutimes.c: Likewise.
16999 * misc/madvise.c: Likewise.
17000 * misc/mincore.c: Likewise.
17001 * misc/mlock.c: Likewise.
17002 * misc/mlockall.c: Likewise.
17003 * misc/mmap.c: Likewise.
17004 * misc/mprotect.c: Likewise.
17005 * misc/msync.c: Likewise.
17006 * misc/munlock.c: Likewise.
17007 * misc/munlockall.c: Likewise.
17008 * misc/munmap.c: Likewise.
17009 * misc/preadv.c: Likewise.
17010 * misc/preadv64.c: Likewise.
17011 * misc/ptrace.c: Likewise.
17012 * misc/pwritev.c: Likewise.
17013 * misc/pwritev64.c: Likewise.
17014 * misc/readv.c: Likewise.
17015 * misc/reboot.c: Likewise.
17016 * misc/remap_file_pages.c: Likewise.
17017 * misc/removexattr.c: Likewise.
17018 * misc/revoke.c: Likewise.
17019 * misc/select.c: Likewise.
17020 * misc/setdomain.c: Likewise.
17021 * misc/setegid.c: Likewise.
17022 * misc/seteuid.c: Likewise.
17023 * misc/sethostid.c: Likewise.
17024 * misc/sethostname.c: Likewise.
17025 * misc/setregid.c: Likewise.
17026 * misc/setreuid.c: Likewise.
17027 * misc/setxattr.c: Likewise.
17028 * misc/sstk.c: Likewise.
17029 * misc/stty.c: Likewise.
17030 * misc/swapoff.c: Likewise.
17031 * misc/swapon.c: Likewise.
17032 * misc/sync.c: Likewise.
17033 * misc/syncfs.c: Likewise.
17034 * misc/syscall.c: Likewise.
17035 * misc/truncate.c: Likewise.
17036 * misc/ualarm.c: Likewise.
17037 * misc/usleep.c: Likewise.
17038 * misc/ustat.c: Likewise.
17039 * misc/utimes.c: Likewise.
17040 * misc/vhangup.c: Likewise.
17041 * misc/writev.c: Likewise.
17042 * posix/_exit.c: Likewise.
17043 * posix/alarm.c: Likewise.
17044 * posix/execve.c: Likewise.
17045 * posix/fexecve.c: Likewise.
17046 * posix/fork.c: Likewise.
17047 * posix/fpathconf.c: Likewise.
17048 * posix/getaddrinfo.c: Likewise.
17049 * posix/getegid.c: Likewise.
17050 * posix/geteuid.c: Likewise.
17051 * posix/getgid.c: Likewise.
17052 * posix/getgroups.c: Likewise.
17053 * posix/getlogin.c: Likewise.
17054 * posix/getlogin_r.c: Likewise.
17055 * posix/getpgid.c: Likewise.
17056 * posix/getpid.c: Likewise.
17057 * posix/getppid.c: Likewise.
17058 * posix/getresgid.c: Likewise.
17059 * posix/getresuid.c: Likewise.
17060 * posix/getsid.c: Likewise.
17061 * posix/getuid.c: Likewise.
17062 * posix/glob64.c: Likewise.
17063 * posix/nanosleep.c: Likewise.
17064 * posix/pathconf.c: Likewise.
17065 * posix/pause.c: Likewise.
17066 * posix/posix_madvise.c: Likewise.
17067 * posix/pread.c: Likewise.
17068 * posix/pread64.c: Likewise.
17069 * posix/pwrite.c: Likewise.
17070 * posix/pwrite64.c: Likewise.
17071 * posix/sched_getaffinity.c: Likewise.
17072 * posix/sched_getp.c: Likewise.
17073 * posix/sched_gets.c: Likewise.
17074 * posix/sched_primax.c: Likewise.
17075 * posix/sched_primin.c: Likewise.
17076 * posix/sched_rr_gi.c: Likewise.
17077 * posix/sched_setaffinity.c: Likewise.
17078 * posix/sched_setp.c: Likewise.
17079 * posix/sched_sets.c: Likewise.
17080 * posix/sched_yield.c: Likewise.
17081 * posix/setgid.c: Likewise.
17082 * posix/setlogin.c: Likewise.
17083 * posix/setpgid.c: Likewise.
17084 * posix/setresgid.c: Likewise.
17085 * posix/setresuid.c: Likewise.
17086 * posix/setsid.c: Likewise.
17087 * posix/setuid.c: Likewise.
17088 * posix/sleep.c: Likewise.
17089 * posix/spawni.c: Likewise.
17090 * posix/sysconf.c: Likewise.
17091 * posix/times.c: Likewise.
17092 * posix/wait.c: Likewise.
17093 * posix/wait3.c: Likewise.
17094 * posix/wait4.c: Likewise.
17095 * posix/waitpid.c: Likewise.
17096 * resolv/gai_sigqueue.c: Likewise.
17097 * resource/getpriority.c: Likewise.
17098 * resource/getrlimit.c: Likewise.
17099 * resource/getrusage.c: Likewise.
17100 * resource/nice.c: Likewise.
17101 * resource/setpriority.c: Likewise.
17102 * resource/setrlimit.c: Likewise.
17103 * resource/ulimit.c: Likewise.
17104 * rt/aio_cancel.c: Likewise.
17105 * rt/aio_fsync.c: Likewise.
17106 * rt/aio_read.c: Likewise.
17107 * rt/aio_sigqueue.c: Likewise.
17108 * rt/aio_suspend.c: Likewise.
17109 * rt/aio_write.c: Likewise.
17110 * rt/clock_getres.c: Likewise.
17111 * rt/clock_gettime.c: Likewise.
17112 * rt/clock_nanosleep.c: Likewise.
17113 * rt/clock_settime.c: Likewise.
17114 * rt/lio_listio.c: Likewise.
17115 * rt/mq_close.c: Likewise.
17116 * rt/mq_getattr.c: Likewise.
17117 * rt/mq_notify.c: Likewise.
17118 * rt/mq_open.c: Likewise.
17119 * rt/mq_receive.c: Likewise.
17120 * rt/mq_send.c: Likewise.
17121 * rt/mq_setattr.c: Likewise.
17122 * rt/mq_timedreceive.c: Likewise.
17123 * rt/mq_timedsend.c: Likewise.
17124 * rt/mq_unlink.c: Likewise.
17125 * rt/shm_open.c: Likewise.
17126 * rt/shm_unlink.c: Likewise.
17127 * rt/timer_create.c: Likewise.
17128 * rt/timer_delete.c: Likewise.
17129 * rt/timer_getoverr.c: Likewise.
17130 * rt/timer_gettime.c: Likewise.
17131 * rt/timer_settime.c: Likewise.
17132 * setjmp/__longjmp.c: Likewise.
17133 * setjmp/setjmp.c: Likewise.
17134 * signal/kill.c: Likewise.
17135 * signal/killpg.c: Likewise.
17136 * signal/raise.c: Likewise.
17137 * signal/sigaction.c: Likewise.
17138 * signal/sigaltstack.c: Likewise.
17139 * signal/sigblock.c: Likewise.
17140 * signal/sigignore.c: Likewise.
17141 * signal/sigintr.c: Likewise.
17142 * signal/signal.c: Likewise.
17143 * signal/sigpause.c: Likewise.
17144 * signal/sigpending.c: Likewise.
17145 * signal/sigqueue.c: Likewise.
17146 * signal/sigreturn.c: Likewise.
17147 * signal/sigset.c: Likewise.
17148 * signal/sigsetmask.c: Likewise.
17149 * signal/sigstack.c: Likewise.
17150 * signal/sigsuspend.c: Likewise.
17151 * signal/sigtimedwait.c: Likewise.
17152 * signal/sigvec.c: Likewise.
17153 * signal/sigwait.c: Likewise.
17154 * signal/sigwaitinfo.c: Likewise.
17155 * signal/sysv_signal.c: Likewise.
17156 * socket/accept.c: Likewise.
17157 * socket/accept4.c: Likewise.
17158 * socket/bind.c: Likewise.
17159 * socket/connect.c: Likewise.
17160 * socket/getpeername.c: Likewise.
17161 * socket/getsockname.c: Likewise.
17162 * socket/getsockopt.c: Likewise.
17163 * socket/isfdtype.c: Likewise.
17164 * socket/listen.c: Likewise.
17165 * socket/recv.c: Likewise.
17166 * socket/recvfrom.c: Likewise.
17167 * socket/recvmsg.c: Likewise.
17168 * socket/send.c: Likewise.
17169 * socket/sendmsg.c: Likewise.
17170 * socket/sendto.c: Likewise.
17171 * socket/setsockopt.c: Likewise.
17172 * socket/shutdown.c: Likewise.
17173 * socket/sockatmark.c: Likewise.
17174 * socket/socket.c: Likewise.
17175 * socket/socketpair.c: Likewise.
17176 * stdio-common/ctermid.c: Likewise.
17177 * stdio-common/cuserid.c: Likewise.
17178 * stdio-common/remove.c: Likewise.
17179 * stdio-common/rename.c: Likewise.
17180 * stdio-common/renameat.c: Likewise.
17181 * stdio-common/tempname.c: Likewise.
17182 * stdlib/getcontext.c: Likewise.
17183 * stdlib/makecontext.c: Likewise.
17184 * stdlib/setcontext.c: Likewise.
17185 * stdlib/swapcontext.c: Likewise.
17186 * stdlib/system.c: Likewise.
17187 * streams/fattach.c: Likewise.
17188 * streams/fdetach.c: Likewise.
17189 * streams/getmsg.c: Likewise.
17190 * streams/getpmsg.c: Likewise.
17191 * streams/putmsg.c: Likewise.
17192 * streams/putpmsg.c: Likewise.
17193 * sysdeps/unix/bsd/getpt.c: Likewise.
17194 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
17195 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
17196 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
17198 Likewise.
17199 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
17200 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
17201 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
17202 * sysvipc/msgctl.c: Likewise.
17203 * sysvipc/msgget.c: Likewise.
17204 * sysvipc/msgrcv.c: Likewise.
17205 * sysvipc/msgsnd.c: Likewise.
17206 * sysvipc/semctl.c: Likewise.
17207 * sysvipc/semget.c: Likewise.
17208 * sysvipc/semop.c: Likewise.
17209 * sysvipc/semtimedop.c: Likewise.
17210 * sysvipc/shmat.c: Likewise.
17211 * sysvipc/shmctl.c: Likewise.
17212 * sysvipc/shmdt.c: Likewise.
17213 * sysvipc/shmget.c: Likewise.
17214 * termios/tcdrain.c: Likewise.
17215 * termios/tcflow.c: Likewise.
17216 * termios/tcflush.c: Likewise.
17217 * termios/tcgetattr.c: Likewise.
17218 * termios/tcgetpgrp.c: Likewise.
17219 * termios/tcsendbrk.c: Likewise.
17220 * termios/tcsetattr.c: Likewise.
17221 * termios/tcsetpgrp.c: Likewise.
17222 * time/adjtime.c: Likewise.
17223 * time/clock.c: Likewise.
17224 * time/getitimer.c: Likewise.
17225 * time/gettimeofday.c: Likewise.
17226 * time/setitimer.c: Likewise.
17227 * time/settimeofday.c: Likewise.
17228 * time/stime.c: Likewise.
17229 * time/time.c: Likewise.
17230
172312012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 17232
a20492cf
PT
17233 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
17234 /usr/old/bin.
17235
72e182e3
PT
17236 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
17237 instead of spaces.
17238 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
17239
fbeafede
JM
172402012-11-03 Joseph Myers <joseph@codesourcery.com>
17241
5b5b04d6
JM
17242 [BZ #14796]
17243 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
17244 FE_TONEAREST before applying Dekker multiplication and Knuth
17245 addition. Clear inexact exceptions and check for exact zero
17246 results afterwards.
17247 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17248 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17249 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17250 * math/libm-test.inc (fma_test): Add more tests.
17251 (fma_test_towardzero): Likewise.
17252 (fma_test_downward): Likewise.
17253 (fma_test_upward): Likewise.
17254 * sysdeps/generic/math_private.h (default_libc_fesetround): New
17255 function.
17256 (libc_fesetround): New macro.
17257 (libc_fesetroundf): Likewise.
17258 (libc_fesetroundl): Likewise.
17259 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
17260 function.
17261 (libc_fesetround_387): Likewise.
17262 (libc_fesetroundf): New macro.
17263 (libc_fesetround): Likewise.
17264 (libc_fesetroundl): Likewise.
17265 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
17266 function.
17267 (libc_fesetroundf): New macro.
17268 (libc_fesetround): Likewise.
17269 (libc_fesetroundl): Likewise.
17270 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
17271 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
17272 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
17273 libm_hidden_ver.
17274 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
17275 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
17276 libm_hidden_def.
17277 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
17278 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
17279 libm_hidden_ver.
17280 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
17281 libm_hidden_def.
17282
fbeafede
JM
17283 [BZ #3439]
17284 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
17285 integer constant usable in #if and use that to give value to enum
17286 constant.
17287 (FE_DIVBYZERO): Likewise.
17288 (FE_UNDERFLOW): Likewise.
17289 (FE_OVERFLOW): Likewise.
17290 (FE_INVALID): Likewise.
17291 (FE_INVALID_SNAN): Likewise.
17292 (FE_INVALID_ISI): Likewise.
17293 (FE_INVALID_IDI): Likewise.
17294 (FE_INVALID_ZDZ): Likewise.
17295 (FE_INVALID_IMZ): Likewise.
17296 (FE_INVALID_COMPARE): Likewise.
17297 (FE_INVALID_SOFTWARE): Likewise.
17298 (FE_INVALID_SQRT): Likewise.
17299 (FE_INVALID_INTEGER_CONVERSION): Likewise.
17300 (FE_TONEAREST): Likewise.
17301 (FE_TOWARDZERO): Likewise.
17302 (FE_UPWARD): Likewise.
17303 (FE_DOWNWARD): Likewise.
17304 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
17305 (FE_DIVBYZERO): Likewise.
17306 (FE_OVERFLOW): Likewise.
17307 (FE_UNDERFLOW): Likewise.
17308 (FE_INEXACT): Likewise.
17309 (FE_TONEAREST): Likewise.
17310 (FE_DOWNWARD): Likewise.
17311 (FE_UPWARD): Likewise.
17312 (FE_TOWARDZERO): Likewise.
17313 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
17314 (FE_UNDERFLOW): Likewise.
17315 (FE_OVERFLOW): Likewise.
17316 (FE_DIVBYZERO): Likewise.
17317 (FE_INVALID): Likewise.
17318 (FE_TONEAREST): Likewise.
17319 (FE_TOWARDZERO): Likewise.
17320 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
17321 (FE_OVERFLOW): Likewise.
17322 (FE_UNDERFLOW): Likewise.
17323 (FE_DIVBYZERO): Likewise.
17324 (FE_INEXACT): Likewise.
17325 (FE_TONEAREST): Likewise.
17326 (FE_TOWARDZERO): Likewise.
17327 (FE_UPWARD): Likewise.
17328 (FE_DOWNWARD): Likewise.
17329 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
17330 (FE_DIVBYZERO): Likewise.
17331 (FE_OVERFLOW): Likewise.
17332 (FE_UNDERFLOW): Likewise.
17333 (FE_INEXACT): Likewise.
17334 (FE_TONEAREST): Likewise.
17335 (FE_DOWNWARD): Likewise.
17336 (FE_UPWARD): Likewise.
17337 (FE_TOWARDZERO): Likewise.
17338
105ca950
CM
173392012-11-02 Chris Metcalf <cmetcalf@tilera.com>
17340
17341 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
17342
a542b389
AS
173432012-11-03 Andreas Schwab <schwab@linux-m68k.org>
17344
17345 * scripts/cross-test-ssh.sh (command): Use newlines to separate
17346 commands. Quote $PWD.
17347 (blacklist_exports): Don't use remove_newlines. Replace "declare
17348 -x" by "export".
17349 (remove_newlines): Remove.
17350
f62c8abc
L
173512012-11-02 H.J. Lu <hongjiu.lu@intel.com>
17352
17353 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
17354 * stdlib/stdlib.h (atof): Moved to ...
17355 * include/bits/stdlib-float.h: Here. New file.
17356 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
17357 * stdlib/bits/stdlib-float.h: New file.
17358 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
17359 -mno-sse -mno-mmx.
17360 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
17361 <xmmintrin.h>.
17362
0155d5b2
JM
173632012-11-02 Joseph Myers <joseph@codesourcery.com>
17364
a68d0680
JM
17365 * conform/conformtest.pl (@headers): Add fenv.h.
17366 * conform/data/fenv.h-data: New file.
17367 * include/fenv.h [_ISOMAC]: Disable all contents of file except
17368 include of <math/fenv.h>.
17369
caf7f573
JM
17370 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
17371 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
17372 && !UNIX98]. Enables tests for XOPEN2K8.
17373 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
17374 POSIX2008]: Likewise.
17375
6c073ad6
JM
17376 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
17377 (struct rusage): Do not expect type or its members.
17378
0155d5b2
JM
17379 [BZ #3439]
17380 * math/math.h (FP_NAN): Define macro to integer constant usable in
17381 #if and use that to give value to enum constant.
17382 (FP_INFINITE): Likewise.
17383 (FP_ZERO): Likewise.
17384 (FP_SUBNORMAL): Likewise.
17385 (FP_NORMAL): Likewise.
17386
b5dcacb4
AS
173872012-11-02 Andreas Schwab <schwab@linux-m68k.org>
17388
17389 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
17390 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
17391 arguments.
17392
f7934be8
RM
173932012-11-02 Roland McGrath <roland@hack.frob.com>
17394
17395 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
17396 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
17397 autoconf-time if not.
17398 * configure.in: Remove AC_PREREQ.
17399
d7d08bde
TMQMF
174002012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17401
17402 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
17403 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
17404 of the internal implementation.
17405
dcdae19a
JM
174062012-11-02 Joseph Myers <joseph@codesourcery.com>
17407
17408 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
17409 except include of <misc/sys/syslog.h>.
17410
d6cffd3e
AS
174112012-11-01 Andreas Schwab <schwab@linux-m68k.org>
17412
17413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
17414 function returns with a NULL context exit with zero.
17415
b3563932
TMQMF
174162012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17417
17418 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
17419
b288a93d
L
174202012-11-01 H.J. Lu <hongjiu.lu@intel.com>
17421
17422 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
17423 (run_program_cmd): This.
17424 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
17425 (tst_langinfo): New variable. Use it.
17426
a2421a68
SAS
174272012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
17428
17429 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
17430 floating point opcodes.
17431
6f796e1b
TS
174322012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17433
7402596b
TS
17434 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
17435 variable.
17436
d0d4f868
TS
17437 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
17438
6f796e1b
TS
17439 * sysdeps/mach/hurd/powerpc: Remove directory.
17440 * sysdeps/mach/powerpc: Likewise.
17441
4da224a2
AS
174422012-11-01 Andreas Schwab <schwab@linux-m68k.org>
17443
17444 * scripts/check-local-headers.sh: Ignore c++ headers.
17445
341dd673
TS
174462012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17447
17448 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
17449 __libc_cleanup_region_start argument.
17450
473611b2
JM
174512012-11-01 Joseph Myers <joseph@codesourcery.com>
17452
17453 [BZ #14784]
17454 [BZ #14785]
17455 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
17456 x * y using scaling, not as x * y + z.
17457 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17458 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17459 * math/libm-test.inc (fma_test): Add more tests.
17460 (fma_test_towardzero): Likewise.
17461 (fma_test_downward): Likewise.
17462 (fma_test_upward): Likewise.
17463
4078da3d
TS
174642012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17465
17466 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
17467
903252aa
JM
174682012-10-31 Joseph Myers <joseph@codesourcery.com>
17469
17470 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
17471 New variable.
17472
cbc818d0
TS
174732012-10-31 Thomas Schwinge <thomas@codesourcery.com>
17474
17475 * rt/tst-shm.c (worker): Correct checking for mmap failure.
17476
5a03cb1e
AS
174772012-10-31 Andreas Schwab <schwab@linux-m68k.org>
17478
17479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17480 Fix sort order.
17481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17482 Likewise.
17483
90aff2ff
TMQMF
174842012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17485
17486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17487 Fix the order of the list for glibc 2.17.
17488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17489 Likewise.
17490
1818fcb7
AS
174912012-10-31 Andreas Schwab <schwab@linux-m68k.org>
17492
17493 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17494
ef82f4da
JM
174952012-10-31 Joseph Myers <joseph@codesourcery.com>
17496
16a0e2ec
JM
17497 [BZ #14610]
17498 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
17499 for low part of x being zero before using __atanl (y).
17500 * math/libm-test.inc (atan2_test): Add another test.
17501
0eb69512
JM
17502 * manual/install.texi (Configuring and compiling): Document
17503 general use of test-wrapper and test-wrapper-env.
17504 * INSTALL: Regenerated.
17505
ef82f4da
JM
17506 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
17507 (__fma): Do not extract and scale down low bits on after-rounding
17508 systems when result rounded to normal precision would have normal
17509 exponent.
17510 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
17511 (__fmal): Do not extract and scale down low bits on after-rounding
17512 systems when result rounded to normal precision would have normal
17513 exponent.
17514 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
17515 (__fmal): Do not extract and scale down low bits on after-rounding
17516 systems when result rounded to normal precision would have normal
17517 exponent.
17518 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
17519 macro.
17520 (fma_test): Add more tests.
17521 (fma_test_towardzero): Likewise.
17522 (fma_test_downward): Likewise.
17523 (fma_test_upward): Likewise.
17524
954ef0d9
L
175252012-10-30 H.J. Lu <hongjiu.lu@intel.com>
17526
17527 * sysdeps/i386/tininess.h: Renamed to ...
17528 * sysdeps/x86/tininess.h: This.
17529 * sysdeps/x86_64/tininess.h: Removed.
17530
df61ffb2
JM
175312012-10-30 Joseph Myers <joseph@codesourcery.com>
17532
17533 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
17534 input. Use $(build-program-cmd).
17535 ($(objpfx)tst-array1-static.out): Likewise.
17536 ($(objpfx)tst-array2.out): Likewise.
17537 ($(objpfx)tst-array3.out): Likewise.
17538 ($(objpfx)tst-array4.out): Likewise.
17539 ($(objpfx)tst-array5.out): Likewise.
17540 ($(objpfx)tst-array5-static.out): Likewise.
17541
01767843
CM
175422012-10-30 Chris Metcalf <cmetcalf@tilera.com>
17543
47cc1490
CM
17544 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
17545 if defined.
17546
01767843
CM
17547 * nss/nsswitch.h (nss_interface_function): Provide new
17548 macro for use with NSS functions.
17549 * grp/initgroups.c: Use new macro.
17550 * nss/getXXbyYY.c: Likewise.
17551 * nss/getXXbyYY_r.c: Likewise.
17552 * nss/getXXent.c: Likewise.
17553 * nss/getXXent_r.c: Likewise.
17554 * sysdeps/posix/getaddrinfo.c: Likewise.
17555
8321aa97
AJ
175562012-10-30 Andreas Jaeger <aj@suse.de>
17557
17558 * po/ru.po: Update Russion translation from translation project.
17559
2a27fd6d
JM
175602012-10-30 Joseph Myers <joseph@codesourcery.com>
17561
8627a232
JM
17562 [BZ #14152]
17563 [BZ #14783]
17564 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
17565 result and shift together with sticky bit instead of replicating
17566 round-to-nearest rounding.
17567 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17568 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17569 * math/libm-test.inc (fma_test): Add more tests. Do not permit
17570 missing underflow exceptions.
17571 (fma_test_towardzero): Add more tests.
17572 (fma_test_downward): Likewise.
17573 (fma_test_upward): Likewise.
17574
2a27fd6d
JM
17575 [BZ #14047]
17576 * sysdeps/generic/tininess.h: New file.
17577 * sysdeps/i386/tininess.h: Likewise.
17578 * sysdeps/sh/tininess.h: Likewise.
17579 * sysdeps/x86_64/tininess.h: Likewise.
17580 * stdlib/tst-strtod-underflow.c: Likewise.
17581 * stdlib/tst-tininess.c: Likewise.
17582 * stdlib/strtod_l.c: Include <tininess.h>.
17583 (round_and_return): Do not set errno for exact underflow cases.
17584 Force an underflow exception when setting errno for underflow.
17585 Determine underflow based on rounding to normal precision if
17586 TININESS_AFTER_ROUNDING.
17587 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
17588 ERANGE for exact underflow cases.
17589 * stdlib/Makefile (tests): Add tst-tininess and
17590 tst-strtod-underflow.
17591 ($(objpfx)tst-tininess): Use $(link-libm).
17592 ($(objpfx)tst-strtod-underflow): Likewise.
17593
e7170363
AJ
175942012-10-30 Andreas Jaeger <aj@suse.de>
17595
e5088dc6
AJ
17596 [BZ#14767]
17597 * elf/Makefile (tests): Remove conditional for have-initfini-array
17598 since this is now always required and the variable does not exist
17599 anymore.
17600 (tests-static): Likewise.
17601 (modules-names): Likewise.
17602
e7170363 17603 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
17604
17605 * elf/tst-array1.c (fini_array): Make writeable so that it can be
17606 merged with constructor/destructor.
17607 (init_array): Likewise.
17608 * elf/tst-array2dep.c (fini_array): Likewise.
17609 (init_array): Likewise.
17610
60457d8a
MF
176112012-10-29 Mike Frysinger <vapier@gentoo.org>
17612
17613 * manual/message.texi: Delete @cartouche tags.
17614
8bece752
PT
176152012-10-29 Pino Toscano <toscano.pino@tiscali.it>
17616
94ce799f
PT
17617 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
17618 EOPNOTSUPP.
17619 * sysdeps/mach/hurd/fsync.c: Likewise.
17620
8bece752
PT
17621 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
17622 [_POSIX_REALTIME_SIGNALS]: Change condition to
17623 [_POSIX_REALTIME_SIGNALS > 0].
17624
86ebe6b1
AJ
176252012-10-27 Andreas Jaeger <aj@suse.de>
17626
17627 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
17628 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
17629 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
17630 [__WORDSIZE != 64]: Likewise.
17631
54399c08
L
176322012-10-26 H.J. Lu <hongjiu.lu@intel.com>
17633
17634 * iconvdata/tst-table.sh: Remove ${SHELL}.
17635 * iconvdata/tst-tables.sh: Likewise.
17636
e2211bed
DM
176372012-10-25 David S. Miller <davem@davemloft.net>
17638
17639 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17640 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
17641 of strtoull.
17642
f303f97c
DM
17643 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
17644 ifunc-impl-list.c
17645 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17646 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
17647 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
17648 file.
17649
1e9d84cd
RM
176502012-10-25 Roland McGrath <roland@hack.frob.com>
17651
17652 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17653 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
17654 __getdirentries.
17655
df381762
JM
176562012-10-25 Joseph Myers <joseph@codesourcery.com>
17657 Jim Blandy <jimb@codesourcery.com>
17658
17659 * scripts/cross-test-ssh.sh: New file.
17660 * manual/install.texi (Configuring and compiling): Document use of
17661 cross-test-ssh.sh.
17662 * INSTALL: Regenerated.
17663
bff64913
PT
176642012-10-25 Pino Toscano <toscano.pino@tiscali.it>
17665
17666 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
17667 EOPNOTSUPP.
17668
25fe8932
JM
176692012-10-25 Joseph Myers <joseph@codesourcery.com>
17670
17671 * Makeconfig (run-program-prefix): Fix comment.
17672
cc1290d0
JM
176732012-10-24 Joseph Myers <joseph@codesourcery.com>
17674 Jim Blandy <jimb@codesourcery.com>
17675
17676 * Makeconfig (test-wrapper): New variable,
17677 (test-wrapper-env): Likewise.
17678 [$(cross-compiling) = yes && $(test-wrapper) != ""]
17679 (run-built-tests): Define to yes.
17680 (run-program-prefix): Use $(test-wrapper).
17681 (built-program-cmd): Likewise.
17682 * Rules (make-test-out): Use $(test-wrapper-env) and
17683 $(host-built-program-cmd).
17684 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
17685 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
17686 tst-pathopt.sh.
17687 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
17688 $(test-wrapper-env) to tst-rtld-load-self.sh.
17689 ($(objpfx)order2.out): Use $(test-wrapper).
17690 ($(objpfx)tst-initorder.out): Likewise.
17691 ($(objpfx)tst-initorder2.out): Likewise.
17692 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
17693 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
17694 (test_wrapper_env): New variable. Use it to run ld.so.
17695 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
17696 Use it to run ld.so.
17697 (test_wrapper_env): Likewise.
17698 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
17699 $(test-wrapper) to run-iconv-test.sh.
17700 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
17701 (ICONV): Use $test_wrapper.
17702 * posix/Makefile ($(objpfx)globtest.out): Pass
17703 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
17704 globtest.sh, not $(run-program-prefix).
17705 * posix/globtest.sh (run_via_rtld_prefix): New variable.
17706 (test_wrapper): Likewise.
17707 (test_wrapper_env): Likewise. Use it to run globtest with HOME
17708 set together with run_via_rtld_prefix.
17709 (run_program_prefix): Define in terms of test_wrapper and
17710 run_via_rtld_prefix.
17711
6e6249d0
RM
177122012-10-24 Roland McGrath <roland@hack.frob.com>
17713
17714 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
17715 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
17716 Targets removed.
17717
17718 [BZ #14743]
17719 * include/time.h: Remove librt_hidden_proto (clock_gettime).
17720 Declare __clock_getres, __clock_gettime, __clock_settime,
17721 __clock_nanosleep, and __clock_getcpuclockid.
17722 * rt/clock_gettime.c: Define __clock_gettime as an alias.
17723 Remove librt_hidden_def (clock_gettime).
17724 * sysdeps/unix/clock_gettime.c: Likewise.
17725 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
17726 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
17727 * rt/clock_getres.c: Define __clock_getres as an alias.
17728 * sysdeps/posix/clock_getres.c: Likewise.
17729 * rt/clock_settime.c: Define __clock_settime as an alias.
17730 * sysdeps/unix/clock_settime.c: Likewise.
17731 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
17732 * sysdeps/unix/clock_nanosleep.c: Likewise.
17733 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
17734 * rt/clock-compat.c: New file.
17735 * rt/Makefile (librt-routines): Add clock-compat and move
17736 $(clock-routines) to ...
17737 (routines): ... here, new variable.
17738 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
17739 Don't add get_clockfreq here.
17740 * rt/Versions (libc: GLIBC_2.17): New version set.
17741 Add clock_* symbols here.
17742 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
17743 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
17744 (GLIBC_2.17): Add clock_* symbols.
17745 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
17746 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
17747 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17749 Likewise.
17750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17751 Likewise.
17752 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17753 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
17754 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
17755 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
17756 * NEWS: Mention the move.
17757
17758 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
17759 Use __open, __read, __close rather than their public counterparts.
17760 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17761 (__get_clockfreq_via_cpuinfo): Likewise.
17762 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
17763 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
17764
17765 * config.h.in (HAVE_IFUNC): New #undef.
17766 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
17767 was successful.
17768 * configure: Regenerated.
17769
0cae3f4b
MF
177702012-10-24 Mike Frysinger <vapier@gentoo.org>
17771
17772 * configure.in: Move READELF check to start of file.
17773 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
17774 libc_cv_asm_gnu_indirect_function in the process.
17775 * configure: Regenerated.
17776
8175a253
MF
177772012-10-24 Mike Frysinger <vapier@gentoo.org>
17778
17779 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
17780 send the output to /dev/null.
17781 (libc_cv_cc_with_libunwind): Likewise.
17782 (libc_cv_as_noexecstack): Likewise.
17783 * configure: Regenerate.
17784
0708a7d1
JM
177852012-10-24 Joseph Myers <joseph@codesourcery.com>
17786
10b40d85
JM
17787 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
17788
0708a7d1
JM
17789 * posix/globtest.sh (TMPDIR): Do not set.
17790 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
17791 (testout): Likewise.
17792
9fddec1a
AJ
177932012-10-24 Andreas Jaeger <aj@suse.de>
17794
3a8db22f
AJ
17795 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
17796 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
17797 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
17798 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
17799 posix_fadvise64, posix_fallocate64.
17800
9fddec1a
AJ
17801 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
17802 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
17803 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
17804 Likewise.
17805 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
17806 Likewise.
17807 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
17808
17809 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
17810 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
17811 <bits/fcntl-linux.h>.
17812 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
17813
17814 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
17815 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
17816 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
17817 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
17818 [__WORDSIZE != 64]: Likewise.
17819
ebfd1bbd
JM
178202012-10-23 Joseph Myers <joseph@codesourcery.com>
17821
03ac099f
JM
17822 * Makeconfig (run-built-tests): New variable.
17823 * Rules [$(cross-compiling) = yes]: Change condition to
17824 [$(run-built-tests) = no].
17825 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
17826 to [$(run-built-tests) = yes].
17827 * elf/Makefile [$(cross-compiling) = no]: Likewise
17828 * grp/Makefile [$(cross-compiling) = no]: Likewise.
17829 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
17830 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
17831 * intl/Makefile [$(cross-compiling) = no]: Likewise.
17832 * io/Makefile [$(cross-compiling) = no]: Likewise.
17833 * libio/Makefile [$(cross-compiling) = no]: Likewise.
17834 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
17835 * misc/Makefile [$(cross-compiling) = no]: Likewise.
17836 * posix/Makefile [$(cross-compiling) = no]: Likewise.
17837 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
17838 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
17839 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
17840 * string/Makefile [$(cross-compiling) = no]: Likewise.
17841
ebfd1bbd
JM
17842 * posix/Makefile ($(objpfx)globtest.out): Pass
17843 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
17844 $(rtld-installed-name).
17845 * posix/globtest.sh (elf_objpfx): Remove variable.
17846 (rtld_installed_name): Likewise.
17847 (library_path): Likewise.
17848 (run_program_prefix): New variable. Use for running globtest
17849 binary.
17850
166bca24
JB
178512012-10-23 Jim Blandy <jimb@codesourcery.com>
17852 Joseph Myers <joseph@codesourcery.com>
17853
17854 * Makeconfig (host-built-program-cmd): New variable.
17855 * elf/Makefile (tst-stackguard1-ARGS): Use
17856 $(host-built-program-cmd).
17857 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
17858 (tst-spawn-ARGS): Likewise.
17859 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
17860
88866099
JM
178612012-10-23 Joseph Myers <joseph@codesourcery.com>
17862 Jim Blandy <jimb@codesourcery.com>
17863
17864 * Makeconfig (run-via-rtld-prefix): New variable.
17865 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
17866 (built-program-cmd): Likewise.
17867
b4b4c296
AJ
178682012-10-22 Andreas Jaeger <aj@suse.de>
17869
17870 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
17871 __O_RSYNC if it exists, otherwise to O_SYNC.
17872
6fb54a22
JB
178732012-10-22 Jim Blandy <jimb@codesourcery.com>
17874 Joseph Myers <joseph@codesourcery.com>
17875
17876 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
17877 /dev/null.
17878 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
17879 from /dev/null
17880 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
17881 /dev/null.
17882
481b90b9
AJ
178832012-10-22 Andreas Jaeger <aj@suse.de>
17884
2a0e2669
AJ
17885 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
17886 Define always.
17887 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
17888
76e38f9a
AJ
17889 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17890 bits/fcntl-linux.h.
17891
7cd37b43
AJ
17892 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
17893 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
17894
481b90b9
AJ
17895 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
17896 to __O_LARGEFILE.
17897 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
17898 to __O_LARGEFILE.
17899
aba75984
JB
179002012-10-21 Jim Blandy <jimb@codesourcery.com>
17901 Joseph Myers <joseph@codesourcery.com>
17902
17903 * config.make.in (NM): New variable.
17904
88d4247f
AJ
179052012-10-21 Andreas Jaeger <aj@suse.de>
17906
17907 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
17908 definitions and declarations that are provided by
17909 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
17910
f2eed205
L
179112012-10-20 H.J. Lu <hongjiu.lu@intel.com>
17912
17913 [BZ #14683]
17914 * elf/Makefile (tests-static): Add tst-leaks1-static.
17915 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
17916 ($(objpfx)tst-leaks1-static): New rule.
17917 ($(objpfx)tst-leaks1-static-mem): Likewise.
17918 (tst-leaks1-static-ENV): New macro.
17919 * elf/dl-open.c (dl_open_worker): Check the main application
17920 only if SHARED is defined.
17921 * elf/tst-leaks1-static.c: New file.
17922
335e6931
AJ
179232012-10-20 Andreas Jaeger <aj@suse.de>
17924
17925 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
17926 generic values for Linux.
17927 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
17928 and declarations that are provided by <bits/fcntl-linux.h> and
17929 include <bits/fcntl-linux.h>.
17930 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17931 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17932
ac5c94d3
RM
179332012-10-20 Roland McGrath <roland@hack.frob.com>
17934
17935 * io/fcntl.h: Move include of <bits/types.h> to the top and
17936 include it unconditionally.
17937
de54b33a
L
179382012-10-20 H.J. Lu <hongjiu.lu@intel.com>
17939
228cfb01
L
17940 * wcsmbs/Makefile (tests-ifunc): New variable.
17941 (tests): Add $(tests-ifunc).
17942 * wcsmbs/test-wcschr-ifunc.c: New file.
17943 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
17944 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
17945 * wcsmbs/test-wcslen-ifunc.c: Likewise.
17946 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
17947 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
17948
69f07e5f
L
17949 * string/Makefile (tests-ifunc): New variable.
17950 (tests): Add $(tests-ifunc).
17951 * string/test-memccpy.c (TEST_NAME): New macro.
17952 * string/test-memchr.c (TEST_NAME): Likewise.
17953 * string/test-memcmp.c (TEST_NAME): Likewise.
17954 * string/test-memcpy.c (TEST_NAME): Likewise.
17955 * string/test-memmem.c (TEST_NAME): Likewise.
17956 * string/test-memmove.c (TEST_NAME): Likewise.
17957 * string/test-memset.c (TEST_NAME): Likewise.
17958 * string/test-rawmemchr.c (TEST_NAME): Likewise.
17959 * string/test-stpcpy.c (TEST_NAME): Likewise.
17960 * string/test-stpncpy.c (TEST_NAME): Likewise.
17961 * string/test-strcasecmp.c (TEST_NAME): Likewise.
17962 * string/test-strcasestr.c (TEST_NAME): Likewise.
17963 * string/test-strcat.c (TEST_NAME): Likewise.
17964 * string/test-strchr.c (TEST_NAME): Likewise.
17965 * string/test-strcmp.c(TEST_NAME): Likewise.
17966 * string/test-strcpy.c (TEST_NAME): Likewise.
17967 * string/test-strcspn.c (TEST_NAME): Likewise.
17968 * string/test-strlen.c (TEST_NAME): Likewise.
17969 * string/test-strncasecmp.c (TEST_NAME): Likewise.
17970 * string/test-strncmp.c (TEST_NAME): Likewise.
17971 * string/test-strncpy.c (TEST_NAME): Likewise.
17972 * string/test-strnlen.c (TEST_NAME): Likewise.
17973 * string/test-strpbrk.c (TEST_NAME): Likewise.
17974 * string/test-strrchr.c (TEST_NAME): Likewise.
17975 * string/test-strspn.c (TEST_NAME): Likewise.
17976 * string/test-strstr.c (TEST_NAME): Likewise.
17977 * string/test-bcopy-ifunc.c: New file.
17978 * string/test-bzero-ifunc.c: Likewise.
17979 * string/test-memccpy-ifunc.c: Likewise.
17980 * string/test-memchr-ifunc.c: Likewise.
17981 * string/test-memcmp-ifunc.c: Likewise.
17982 * string/test-memcpy-ifunc.c: Likewise.
17983 * string/test-memmem-ifunc.c: Likewise.
17984 * string/test-memmove-ifunc.c: Likewise.
17985 * string/test-mempcpy-ifunc.c: Likewise.
17986 * string/test-memset-ifunc.c: Likewise.
17987 * string/test-rawmemchr-ifunc.c: Likewise.
17988 * string/test-stpcpy-ifunc.c: Likewise.
17989 * string/test-stpncpy-ifunc.c: Likewise.
17990 * string/test-strcasecmp-ifunc.c: Likewise.
17991 * string/test-strcasestr-ifunc.c: Likewise.
17992 * string/test-strcat-ifunc.c: Likewise.
17993 * string/test-strchr-ifunc.c: Likewise.
17994 * string/test-strchrnul-ifunc.c: Likewise.
17995 * string/test-strcmp-ifunc.c: Likewise.
17996 * string/test-strcpy-ifunc.c: Likewise.
17997 * string/test-strcspn-ifunc.c: Likewise.
17998 * string/test-strlen-ifunc.c: Likewise.
17999 * string/test-strncasecmp-ifunc.c: Likewise.
18000 * string/test-strncat-ifunc.c: Likewise.
18001 * string/test-strncmp-ifunc.c: Likewise.
18002 * string/test-strncpy-ifunc.c: Likewise.
18003 * string/test-strnlen-ifunc.c: Likewise.
18004 * string/test-strpbrk-ifunc.c: Likewise.
18005 * string/test-strrchr-ifunc.c: Likewise.
18006 * string/test-strspn-ifunc.c: Likewise.
18007 * string/test-strstr-ifunc.c: Likewise.
18008
de54b33a
L
18009 * debug/Makefile (tests-ifunc): New variable.
18010 (tests): Add $(tests-ifunc).
18011 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
18012 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
18013 * debug/test-stpcpy_chk-ifunc.c: New file.
18014 * debug/test-strcpy_chk-ifunc.c: Likewise.
18015
88481c16
SP
180162012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18017
18018 [BZ #13601]
18019 * elf/dl-load.c (open_verify): Retry read if the entire ELF
18020 header is not read in.
18021
135948bd
JM
180222012-10-19 Joseph Myers <joseph@codesourcery.com>
18023
89f1c388
JM
18024 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
18025 script to $(SHELL) as $<. Pass $(common-objpfx) to script
18026 directly. Pass built executable to script as
18027 $(built-program-cmd).
18028 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
18029 $testprogram without using LD_LIBRARY_PATH and $ldso.
18030
e40a0d21
JM
18031 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
18032 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
18033 $(rtld-installed-name).
18034 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
18035 (rtld_installed_name): Likewise.
18036 (library_path): Likewise.
18037 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
18038 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
18039 $(run-program-prefix) to tst-tables.sh.
18040 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
18041 it to run tst-table-from and tst-table-to.
18042 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
18043 Pass it to tst-table.sh.
18044 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
18045 $(run-program-prefix) to tst-gettext.sh.
18046 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
18047 tst-translit.sh.
18048 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
18049 tst-gettext2.sh.
18050 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
18051 to run tst-gettext.
18052 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
18053 to run tst-gettext2.
18054 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
18055 to run tst-translit.
18056 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
18057 $(run-program-prefix) to tst-mtrace.sh.
18058 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
18059 to run tst-mtrace.
18060 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
18061 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
18062 $(rtld-installed-name).
18063 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
18064 (rtld_installed_name): Likewise.
18065 (run_program_prefix): New variable. Use it to run wordexp-test.
18066
728e272a
JM
18067 * Makeconfig (ARCH): Remove all definitions.
18068 (machine): Likewise.
18069 [ARCH]: Remove conditional code.
18070 [!objdir]: Give error.
18071 [!objdir] (objpfx): Remove.
18072 [!objdir] (common-objpfx): Likewise.
18073 [!objdir] (common-objdir): Likewise.
18074 * configure.in (config_makefile): Remove. Hardcode Makefile in
18075 AC_CONFIG_FILES call.
18076 * configure: Regenerated.
18077
d528cdcf
JM
18078 [BZ #13888]
18079 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
18080 or TMPDIR.
18081 (testout): Likewise.
18082
135948bd
JM
18083 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
18084 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
18085 $(rtld-installed-name).
18086 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
18087 (rtld_installed_name): Likwise.
18088 (runit): Remove function.
18089 (run_getconf): New variable, Use it for running getconf binary.
18090
38c78296
L
180912012-10-18 H.J. Lu <hongjiu.lu@intel.com>
18092
18093 [BZ #14716]
18094 * string/test-memmem.c (check_result): New function.
18095 (do_one_test): Use it.
18096 (check1): New function.
18097 (test_main): Use it.
18098
d077f65f
MT
180992012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
18100
18101 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
18102
ced52c71
JM
181032012-10-18 Joseph Myers <joseph@codesourcery.com>
18104
18105 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
18106 (_G_LSEEK64): Likewise.
18107 (_G_MMAP64): Likewise.
18108 (_G_FSTAT64): Likewise.
18109 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
18110 (_G_LSEEK64): Likewise.
18111 (_G_MMAP64): Likewise.
18112 (_G_FSTAT64): Likewise.
18113 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
18114 unconditional. Call __mmap64 directly.
18115 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
18116 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
18117 __lseek64 directly.
18118 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
18119 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
18120 __mmap64 directly.
18121 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
18122 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
18123 __lseek64 directly.
18124 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
18125 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
18126 __lseek64 directly.
18127 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
18128 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
18129 __lseek64 directly.
18130 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
18131 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
18132 __fxstat64 directly.
18133 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
18134 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
18135 unconditional.
18136 (freopen64) [!_G_OPEN64]: Remove conditional code.
18137 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
18138 unconditional.
18139 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
18140 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
18141 unconditional.
18142 (ftello64) [!_G_LSEEK64]: Remove conditional code.
18143 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
18144 unconditional.
18145 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
18146 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
18147 unconditional.
18148 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
18149 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
18150 unconditional.
18151 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
18152 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
18153 unconditional.
18154 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
18155 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
18156 unconditional.
18157 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
18158
b741de23
SP
181592012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18160
18161 [BZ #12140]
18162 * manual/memory.texi (Malloc Tunable Parameters): Add note
18163 about free list pointers overwriting some perturb bytes.
18164 Wording suggested by Roland McGrath.
18165
f9b9d9c9
JM
181662012-10-17 Joseph Myers <joseph@codesourcery.com>
18167
18168 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
18169 (lgamma_test): Likewise.
18170 (tgamma_test): Likewise.
18171
172a631a
FW
181722012-10-16 Florian Weimer <fweimer@redhat.com>
18173
18174 [BZ #14700]
18175 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
18176 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
18177
e9f37252
MK
181782012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
18179
18180 * NEWS: Mention BZ #14716.
18181 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
18182 when removing AVAILABLE1_USES_J macro.
18183
d394eb74
L
181842012-10-12 H.J. Lu <hongjiu.lu@intel.com>
18185
18186 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
18187 (__bswap_64): __uint64_t for unsigned 64-bit int.
18188
ca38dc17
AS
181892012-10-12 Andreas Schwab <schwab@linux-m68k.org>
18190
18191 * include/string.h (memmem): Declare libc hidden alias.
18192 * string/memmem.c (memmem): Define libc hidden alias.
18193 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
18194 __read, __close instead of open, read, close.
18195
9a387d1f
L
181962012-10-11 H.J. Lu <hongjiu.lu@intel.com>
18197
ac49ecaf
L
18198 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
18199 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
18200 global and hidden.
18201 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
18202 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
18203 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
18204 Likewise.
18205 (__rawmemchr_sse2): Likewise.
18206 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
18207 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
18208 (__strchr_sse2): Likewise.
18209 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
18210 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
18211 (__strcasecmp_sse2): Likewise.
18212 (__strncasecmp_sse2): Likewise.
18213 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
18214 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
18215 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
18216 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
18217 (__strrchr_sse2): Likewise.
18218 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
18219 ifunc-impl-list.c.
18220 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
18221 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
18222 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
18223 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18224 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
18225 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
18226 * sysdeps/x86_64/multiarch/memset.S: Likewise.
18227 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18228 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
18229 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
18230 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
18231 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
18232 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
18233 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
18234 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
18235 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18236 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
18237 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
18238 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
18239 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
18240 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
18241 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
18242 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
18243 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
18244 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
18245 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18246 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
18247 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
18248 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
18249 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
18250
b090e8ea
L
18251 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
18252 global and hidden.
18253 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
18254 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
18255 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
18256 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
18257 Likewise.
18258 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
18259 Likewise.
18260 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
18261 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
18262 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
18263 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
18264 ifunc-impl-list.c.
18265 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18266 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18267 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18268 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18269 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18270 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18271 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18272 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18273 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18274 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18275 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18276 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18277 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18278 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
18279 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
18280 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18281 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
18282 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
18283 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18284 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18285 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18286 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18287 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18288 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18289 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18290 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
18291 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
18292 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
18293 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
18294 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18295 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
18296 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18297 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18298 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
18299 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18300 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18301 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18302 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18303 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18304 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18305 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
18306
11dd4af6
L
18307 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
18308 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
18309 * include/ifunc-impl-list.h: New file.
18310 * misc/ifunc-impl-list.c: Likewise.
18311 * misc/Makefile (routines): Add ifunc-impl-list.
18312 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
18313 * string/test-string.h: Include <ifunc-impl-list.h>.
18314 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
18315 impl_array): New variables.
18316 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
18317 are defined.
18318 (test_init): Call __libc_ifunc_impl_list to initialize
18319 func_list if TEST_IFUNC and TEST_NAME are defined.
18320
9a387d1f
L
18321 * string/Makefile (strop-tests): Add bcopy and bzero.
18322 * string/test-bcopy.c: New file.
18323 * string/test-bzero.c: Likewise.
18324 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
18325 defined.
18326 * string/test-memset.c: Support bzero test if TEST_BZERO is
18327 defined.
18328 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
18329 __libc_memmove.
18330 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
18331 __libc_memset.
18332 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
18333 of memset.
18334
472371b9
JM
183352012-10-10 Joseph Myers <joseph@codesourcery.com>
18336
1e4a9536
JM
18337 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
18338 * configure: Regenerated.
18339
d173d12e
JM
18340 * Makeconfig (+link-static-before-libc): Don't include
18341 $(link-static-libc).
18342
472371b9
JM
18343 * libio/libio.h (_IO_pos_t): Remove.
18344
89a3ad0b
AO
183452012-10-10 Alexandre Oliva <aoliva@redhat.com>
18346
18347 * NEWS: Add note about FIPS mode. Wording suggested by Roland
18348 McGrath.
18349
e7451425
AO
183502012-10-10 Alexandre Oliva <aoliva@redhat.com>
18351
18352 * crypt/crypt-entry.c: Include fips-private.h.
18353 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
18354 * crypt/md5c-test.c (main): Tolerate disabled MD5.
18355 * sysdeps/unix/sysv/linux/fips-private.h: New file.
18356 * sysdeps/generic/fips-private.h: New file, dummy fallback.
18357
4ba74a35
AO
183582012-10-10 Alexandre Oliva <aoliva@redhat.com>
18359
18360 * crypt/crypt-private.h: Include stdbool.h.
18361 (_ufc_setup_salt_r): Return bool.
18362 * crypt/crypt-entry.c: Include errno.h.
18363 (__crypt_r): Return NULL with EINVAL for bad salt.
18364 * crypt/crypt_util.c (bad_for_salt): New.
18365 (_ufc_setup_salt_r): Check that salt is long enough and within
18366 the specified alphabet.
18367 * crypt/badsalttest.c: New file.
18368 * crypt/Makefile (tests): Add it.
18369 ($(objpfx)badsalttest): New.
18370
f96f1242
MK
183712012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
18372
18373 * NEWS: Add entry for BZ #14602.
18374
0e8e0c1c
JM
183752012-10-09 Joseph Myers <joseph@codesourcery.com>
18376
18377 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
18378 type-generic.
18379 * math/libm-test.inc: Update comment listing what functions and
18380 macros are tested.
18381 (isgreater_test): New function.
18382 (isgreaterequal_test): Likewise.
18383 (isless_test): Likewise.
18384 (islessequal_test): Likewise.
18385 (islessgreater_test): Likewise.
18386 (isunordered_test): Likewise.
18387 (main): Call the new functions.
18388
273edc5e
RM
183892012-10-09 Roland McGrath <roland@hack.frob.com>
18390
b8493de0
RM
18391 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
18392 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
18393 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
18394 * sysdeps/i386/configure: Regenerated.
18395 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
18396 * sysdeps/mach/configure: Regenerated.
18397 * sysdeps/mach/hurd/configure: Regenerated.
18398 * sysdeps/powerpc/configure: Regenerated.
18399 * sysdeps/powerpc/powerpc32/configure: Regenerated.
18400 * sysdeps/powerpc/powerpc64/configure: Regenerated.
18401 * sysdeps/s390/s390-32/configure: Regenerated.
18402 * sysdeps/s390/s390-64/configure: Regenerated.
18403 * sysdeps/sh/configure: Regenerated.
18404 * sysdeps/sparc/configure: Regenerated.
18405 * sysdeps/unix/sysv/linux/configure: Regenerated.
18406 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
18407 * sysdeps/x86_64/configure: Regenerated.
18408
273edc5e
RM
18409 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
18410 defined. Don't check if MAP is NULL.
18411
c8450f70
JM
184122012-10-09 Joseph Myers <joseph@codesourcery.com>
18413
18414 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
18415 (_G_stat64): Likewise.
18416 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
18417 (_G_stat64): Likewise.
18418 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
18419 instead of struct _G_stat64.
18420 * libio/fileops.c (mmap_remap_check): Likewise.
18421 (decide_maybe_mmap): Likewise.
18422 (_IO_new_file_seekoff): Likewise.
18423 (_IO_file_stat): Likewise.
18424 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
18425 _G_off64_t.
18426 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
18427 instead of struct _G_stat64.
18428 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18429
57e605ba
MK
184302012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
18431
18432 [BZ #14602]
18433 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18434 Replace with ...
18435 (CHECK_EOL): New macro.
18436 (two_way_short_needle): Check beginning of haystack for EOL. Use
18437 CHECK_EOL.
18438 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18439 Replace with CHECK_EOL.
18440 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18441 Replace with CHECK_EOL.
18442
ef1bb361
JM
184432012-10-08 Joseph Myers <joseph@codesourcery.com>
18444
18445 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
18446 type-generic.
18447 * math/libm-test.inc: Update comment listing what functions and
18448 macros are tested.
18449 (finite_test): New function.
18450 (isinf_test): Likewise.
18451 (isnan_test): Likewise.
18452 (fpclassify_test): Test subnormal input.
18453 (isfinite_test): Likewise.
18454 (isnormal_test): Likewise.
18455 (main): Call the new functions.
18456
55f11534
JN
184572012-10-08 Jonathan Nieder <jrnieder@gmail.com>
18458
18459 [BZ #14660]
18460 * Makerules (%.dynsym): Force C locale when running
18461 $(OBJDUMP) --dynamic-syms.
18462
1ab29350
AS
184632012-10-08 Andreas Schwab <schwab@linux-m68k.org>
18464
18465 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
18466 <stdint.h>.
18467
f1ecb7ef
DM
184682012-10-06 David S. Miller <davem@davemloft.net>
18469
18470 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
18471 upper 32-bits of the length value in %o2 since we use branch-on-register
18472 tests which consider the entire 64-bit register.
18473
5d41d91a
L
184742012-10-06 H.J. Lu <hongjiu.lu@intel.com>
18475
18476 * string/test-strstr.c (check2): Add a test for page boundary.
18477
3baddb72
DM
184782012-10-05 David S. Miller <davem@davemloft.net>
18479
18480 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
18481 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
18482 file.
18483 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18484 sysdep_routines.
18485 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18486 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
18487 and bzero when HWCAP_SPARC_CRYPTO is present.
18488
9cee5585
L
184892012-10-05 H.J. Lu <hongjiu.lu@intel.com>
18490
d7e0dab9
L
18491 [BZ #14602]
18492 * string/test-strstr.c (check2): New function.
18493 (test_main): Call check2.
18494
03759f47
L
18495 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
18496 and bug-strchr1.
18497 * string/bug-strcasestr1.c (do_test): Moved to ...
18498 * string/test-strcasestr.c (check1): Here. New function.
18499 (do_one_test): Break out result checking code into ...
18500 (check_result): This. New function.
18501 (do_one_test): Call check_result.
18502 (test_main): Call check1.
18503 * string/bug-strchr1.c (do_test): Moved to ...
18504 * string/test-strchr.c (check1): Here. New function.
18505 (do_one_test): Break out result checking code into ...
18506 (check_result): This. New function.
18507 (do_one_test): Call check_result.
18508 (test_main): Call check1.
18509 * string/bug-strstr1.c (main): Moved to ...
046f153e 18510 * string/test-strstr.c (check1): Here. New function.
03759f47
L
18511 (do_one_test): Break out result checking code into ...
18512 (check_result): This. New function.
18513 (do_one_test): Call check_result.
18514 (test_main): Call check1.
18515 * string/bug-strcasestr1.c: Removed.
18516 * string/bug-strchr1.c: Likewise.
18517 * string/bug-strstr1.c: Likewise.
18518
53cea63e
L
18519 * elf/Makefile (dl-routines): Add hwcaps.
18520 * elf/dl-support.c (_dl_important_hwcaps): Removed.
18521 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
18522 (_dl_important_hwcaps): Moved to ...
18523 * elf/dl-hwcaps.c: Here. New file.
18524 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
18525
9cee5585 18526 [BZ #14557]
bb859b06
L
18527 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
18528 if IS_IN_rtld isn't defined.
18529
9cee5585
L
18530 * elf/dl-support.c (_dl_sysinfo_map): New.
18531 Include "get-dynamic-info.h" and "setup-vdso.h".
18532 (_dl_non_dynamic_init): Call setup_vdso.
18533 * elf/dynamic-link.h: Don't include <assert.h>.
18534 (elf_get_dynamic_info): Moved to ...
18535 * elf/get-dynamic-info.h: Here. New file.
18536 * elf/dynamic-link.h: Include "get-dynamic-info.h".
18537 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
18538 * elf/setup-vdso.h: Here. New file.
18539 * elf/rtld.c: Include "setup-vdso.h".
18540 (dl_main): Call setup_vdso.
18541
23c31b76
JM
185422012-10-05 Joseph Myers <joseph@codesourcery.com>
18543
28234b07
JM
18544 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
18545 creal in comment listing functions tested. List finite, isinf,
18546 isnan, isless, islessequal, isgreater, isgreaterequal,
18547 islessgreater, isunordered, lgamma_r and pow10 as functions and
18548 macros not tested. Mention which functions not tested are aliases
18549 for other functions. Fix typo. Note that signs of NaNs are not
18550 tested.
18551
23c31b76
JM
18552 * scripts/config.guess: Update from config.git.
18553 * scripts/config.sub: Likewise.
18554
9043e228
RM
185552012-10-04 Roland McGrath <roland@hack.frob.com>
18556
18557 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
18558 * misc/madvise.c (madvise): Renamed to __madvise.
18559 Make madvise a weak alias.
18560 * include/sys/mman.h: Declare __madvise.
18561 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
18562 * sysdeps/unix/syscalls.list
18563 (madvise): Make __madvise the strong name, and madvise a weak alias.
18564 * sysdeps/unix/sysv/linux/syscalls.list
18565 (madvise, mmap): Remove redundant entries.
18566 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
18567 * malloc/malloc.c (mtrim): Likewise.
18568 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
18569
f57f8055
RM
185702012-10-03 Roland McGrath <roland@hack.frob.com>
18571
18572 * sysdeps/mach/hurd/dl-cache.c: File removed.
18573 * config.h.in (USE_LDCONFIG): New #undef.
18574 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
18575 * configure: Regenerated.
18576 * elf/Makefile (dl-routines): Add dl-cache only under
18577 [$(use-ldconfig) = yes].
18578 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
18579 cache on [USE_LDCONFIG].
18580 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
18581 [USE_LDCONFIG].
18582 * elf/rtld.c (dl_main): Likewise.
18583
5bb0c10a
PT
185842012-10-03 Pino Toscano <toscano.pino@tiscali.it>
18585
18586 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
18587 _SC_LEVEL4_CACHE_LINESIZE.
18588
010188c6
RM
185892012-10-03 Roland McGrath <roland@hack.frob.com>
18590
18591 * sysdeps/unix/bsd/confstr.h: File removed.
18592
b6c5ec07
AO
185932012-10-02 Alexandre Oliva <aoliva@redhat.com>
18594
18595 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
18596 sys/sdt-config.h.
18597
408223d4
RM
185982012-10-02 Roland McGrath <roland@hack.frob.com>
18599
18600 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
18601 Make 'mapoff' field ElfW(Off) rather than off_t.
18602
bb9510dc
DL
186032012-10-02 Dmitry V. Levin <ldv@altlinux.org>
18604
fc997c6e
DL
18605 * nscd/Makefile: Remove nscd-cflags and all its users.
18606 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
18607 (CFLAGS-nonlib): Add compiler flags for nscd modules.
18608
bb9510dc
DL
18609 [BZ #10631]
18610 * malloc.c (malloc_printerr): Clarify error message.
18611
05699367
L
186122012-10-02 H.J. Lu <hongjiu.lu@intel.com>
18613
18614 [BZ #14648]
18615 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18616 Set bit_FMA_Usable if FMA is supported.
18617 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
18618 macro.
18619 (bit_FMA4_Usable): Updated.
18620 (index_FMA_Usable): New macro.
18621 (CPUID_FMA): Likewise
18622 (HAS_FMA): Defined with bit_FMA_Usable.
18623
51367701
RM
186242012-10-01 Roland McGrath <roland@hack.frob.com>
18625
18626 * bits/types.h (__swblk_t): Type removed.
18627 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
18628 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
18629 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18630 (__SWBLK_T_TYPE): Likewise.
18631 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18632 (__SWBLK_T_TYPE): Likewise.
18633 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18634 (__SWBLK_T_TYPE): Likewise.
18635 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18636 (__SWBLK_T_TYPE): Likewise.
18637
4d57bf63 186382012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 18639 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
18640
18641 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
18642 (xdr_mapname): Use YPMAXMAP as maxsize.
18643 (xdr_peername): Use YPMAXPEER as maxsize.
18644 (xdr_keydat): Use YPAXRECORD as maxsize.
18645 (xdr_valdat): Use YPMAXRECORD as maxsize.
18646
93c65d43
RM
186472012-10-01 Roland McGrath <roland@hack.frob.com>
18648
497a03d6
RM
18649 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
18650
93c65d43
RM
18651 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
18652 * csu/init-first.c: ... here.
18653 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
18654 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
18655 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
18656 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
18657 * sysdeps/i386/init-first.c: File removed.
18658 * sysdeps/sh/init-first.c: File removed.
18659
bec749fd
JM
186602012-10-01 Joseph Myers <joseph@codesourcery.com>
18661
18662 [BZ #14645]
18663 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
18664 if x * y might underflow to zero and z is zero.
18665 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18666 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18667 * math/libm-test.inc (min_subnorm_value): New variable.
18668 (fma_test): Add more tests.
18669 (fma_test_towardzero): Likewise.
18670 (fma_test_downward): Likewise
18671 (fma_test_upward): Likewise.
18672 (initialize): Set min_subnorm_value.
18673
8ec5b013
JM
186742012-09-29 Joseph Myers <joseph@codesourcery.com>
18675
18676 [BZ #14638]
18677 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
18678 0 + 0.
18679 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
18680 mode for addition resulting in exact zero.
18681 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
18682 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
18683 exact 0 + 0.
18684 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18685 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18686 * math/libm-test.inc (fma_test): Add more tests.
18687 (fma_test_towardzero): New function.
18688 (fma_test_downward): Likewise.
18689 (fma_test_upward): Likewise.
18690 (main): Call the new functions.
18691
b1fa802e
DM
186922012-09-28 David S. Miller <davem@davemloft.net>
18693
18694 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
18695
d3b9fd9e
RM
186962012-09-28 Roland McGrath <roland@hack.frob.com>
18697
ea4d37b3
RM
18698 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
18699 instead of SIGALRM.
18700
ac51c949
RM
18701 * sysdeps/gnu/_G_config.h: Moved to ...
18702 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
18703 * sysdeps/mach/hurd/_G_config.h: Moved to ...
18704 * sysdeps/generic/_G_config.h: ... here.
18705
28c195f7
RM
18706 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
18707
848917f9
RM
18708 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
18709
6bacf05b
RM
18710 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
18711 Conditionalize target on [libnss_test1.so-version].
18712
91363dbb
RM
18713 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
18714
cc87f7d8
RM
18715 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
18716 (elfobjdir): Move out of conditionals.
18717
b1c608fe
RM
18718 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
18719 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
18720 (__nss_lookup_function): Conditionalize label remove_from_tree on
18721 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 18722
1d9a6d96
DM
187232012-09-28 David S. Miller <davem@davemloft.net>
18724
18725 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
18726 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
18727 file.
18728 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18729 sysdep_routines.
18730 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18731 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
18732 when HWCAP_SPARC_CRYPTO is present.
18733
72581615
PT
187342012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18735
18736 * io/tst-mknodat.c: Create a FIFO instead of a socket.
18737
715a900c
JL
187382012-09-28 Andreas Schwab <schwab@linux-m68k.org>
18739
18740 [BZ #6530]
18741 * stdio-common/vfprintf.c (process_string_arg): Revert
18742 2000-07-22 change.
18743
187442011-09-28 Jonathan Nieder <jrnieder@gmail.com>
18745
18746 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
18747 for testcase.
18748 * stdio-common/tst-sprintf.c: Include <locale.h>
18749 (main): Test sprintf's handling of incomplete multibyte
18750 characters.
18751
9bac1d86
L
187522012-09-28 H.J. Lu <hongjiu.lu@intel.com>
18753
18754 * elf/dl-runtime.c (VERSYMIDX): Removed.
18755 * elf/dl-version.c (VERSYMIDX): Likewise.
18756 * elf/do-rel.h (VERSYMIDX): Likewise.
18757 (VALIDX): Likewise.
18758 * elf/dynamic-link.h (VERSYMIDX): Likewise.
18759 * elf/rtld.c (VALIDX): Likewise.
18760 (ADDRIDX): Likewise.
9bac1d86
L
18761 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
18762 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
18763 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
18764 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
18765 (VALIDX): Likewise.
18766 (ADDRIDX): Likewise.
9bac1d86 18767
b31606c0
PT
187682012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18769
18770 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
18771
11541177
JL
187722012-09-28 Dmitry V. Levin <ldv@altlinux.org>
18773
18774 [BZ #11438]
18775 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
18776 to global scope.
18777 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
18778 addresses are in the same scope as 192.0.2/24.
18779 * posix/gai.conf: Document new scope table defaults.
18780
adb26fae
SP
187812012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18782
18783 [BZ #5298]
18784 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
18785 for ftell. Compute offsets from write pointers instead.
18786 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18787
4573c6b0
SP
187882012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18789
18790 [BZ #14543]
18791 * libio/Makefile (tests): New test case tst-fseek.
18792 * libio/tst-fseek.c: New test case to verify that fseek/ftell
18793 combination works in wide mode.
18794 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
18795 state when the external buffer state changes.
18796
aa9bbfe6
DM
187972012-09-27 David S. Miller <davem@davemloft.net>
18798
18799 [BZ #14376]
18800 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
18801 pass reloc->r_addend in as the 'high' argument to
18802 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
18803
784421e7
DM
18804 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18805
c39bc8b8
PT
188062012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18807
18808 * rt/tst-aio2.c: Include <pthread.h>.
18809 * rt/tst-aio3.c: Likewise.
18810
1ccc2399
SE
188112012-09-27 Steve Ellcey <sellcey@mips.com>
18812
18813 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
18814
31ed4153
L
188152012-09-27 H.J. Lu <hongjiu.lu@intel.com>
18816
25f5f885
L
18817 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
18818 contents on [SHARED].
31ed4153 18819
b7bfe116
MP
188202012-09-26 Marek Polacek <polacek@redhat.com>
18821
18822 [BZ #14530]
18823 [BZ #13741]
18824 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
18825 for C++ and GCC <4.3 as well as for non GCC compilers.
18826
43c4edba
MT
188272012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
18828
18829 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18830
6a1bf82f
RM
188312012-09-25 Roland McGrath <roland@hack.frob.com>
18832
18833 * Makefile.in (all, install): Declare with .PHONY.
18834 Reported by Michael Hope <michael.hope@linaro.org>.
18835
8ad11b9a
TMQMF
188362012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18837
18838 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
18839 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
18840 system header.
18841 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
18842 Likewise.
18843 (sydep_routines): Add the new and the internal functions.
18844 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
18845 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
18846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
18847 (GLIBC_2.17): Add the new function.
18848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
18849 (GLIBC_2.17): Likewise.
18850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
18851 (GLIBC_2.17): Likewise.
18852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
18853 (GLIBC_2.17): Likewise.
18854 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
18855
7e2fca8d
AM
188562012-09-25 Alan Modra <amodra@gmail.com>
18857
18858 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
18859 Add release barrier before setting once_control to say
18860 initialisation is done. Add hints on lwarx. Use macro in
18861 place of isync.
18862 (clear_once_control): Add release barrier.
18863
b87c4b24
JM
188642012-09-25 Joseph Myers <joseph@codesourcery.com>
18865
d032e0d2
JM
18866 [BZ #13629]
18867 * math/s_clog.c (__clog): Handle more values close to |z| = 1
18868 specially.
18869 * math/s_clog10.c (__clog10): Likewise.
18870 * math/s_clog10f.c (__clog10f): Likewise.
18871 * math/s_clog10l.c (__clog10l): Likewise.
18872 * math/s_clogf.c (__clogf): Likewise.
18873 * math/s_clogl.c (__clogl): Likewise.
18874 * math/Makefile (libm-calls): Add x2y2m1.
18875 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
18876 (__x2y2m1): Likewise.
18877 (__x2y2m1l): Likewise.
18878 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
18879 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
18880 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
18881 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
18882 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
18883 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
18884 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
18885 * sysdeps/i386/fpu/libm-test-ulps: Update.
18886 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18887
b87c4b24
JM
18888 [BZ #14621]
18889 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
18890 int as type of variable DEPTH.
18891 (glob): Use size_t instead of int as type of variables NEWCOUNT
18892 and OLD_PATHC.
18893
6d3bf199
LD
188942012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18895
22bf5c17
LD
18896 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
18897 Add s_sincosf-sse2.
18898 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
18899 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
18900 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
18901 macros for using routine as __sincosf_ia32.
18902 Use macro for function declaration and weak_alias.
18903 * sysdeps/i386/fpu/libm-test-ulps: Update.
18904
18905 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
18906 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18907
18908 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
18909 subnormal argument.
18910 * math/s_cexpf.c (__cexpf): Likewise.
18911 * math/s_csinf.c (__csinf): Likewise.
18912 * math/s_csinhf.c (__csinhf): Likewise.
18913 * math/s_ctanf.c (__ctanf): Likewise.
18914 * math/s_ctanhf.c (__ctanhf): Likewise.
18915 * math/s_ccosh.c (__ccoshf): Likewise.
18916 * math/s_cexp.c (__cexpl): Likewise.
18917 * math/s_csin.c (__csin): Likewise.
18918 * math/s_csinh.c (__csinh): Likewise.
18919 * math/s_ctan.c (__ctan): Likewise.
18920 * math/s_ctanh.c (ctanh): Likewise.
18921 * math/s_ccoshl.c (__ccoshl): Likewise.
18922 * math/s_cexpl.c (__cexpl): Likewise.
18923 * math/s_csinl.c (__csinl): Likewise.
18924 * math/s_csinhl.c (__csinhl): Likewise.
18925 * math/s_ctanl.c (__ctanl): Likewise.
18926 * math/s_ctanhl.c (__ctanhl): Likewise.
18927
203e5603
JM
189282012-09-25 Joseph Myers <joseph@codesourcery.com>
18929
18930 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
18931 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
18932 (_IO_off_t): Define to __off_t, not _G_off_t.
18933 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
18934 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
18935 (_IO_wint_t): Define to wint_t, not _G_wint_t.
18936 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
18937 type of __dummy and __dummy2 fields.
18938 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
18939 (_G_ssize_t): Likewise.
18940 (_G_off_t): Likewise.
18941 (_G_pid_t): Likewise.
18942 (_G_uid_t): Likewise.
18943 (_G_wchar_t): Likewise.
18944 (_G_wint_t): Likewise.
18945 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
18946 (_G_ssize_t): Likewise.
18947 (_G_off_t): Likewise.
18948 (_G_pid_t): Likewise.
18949 (_G_uid_t): Likewise.
18950 (_G_wchar_t): Likewise.
18951 (_G_wint_t): Likewise.
18952 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
18953 (_G_ssize_t): Likewise.
18954 (_G_off_t): Likewise.
18955 (_G_pid_t): Likewise.
18956 (_G_uid_t): Likewise.
18957 (_G_wchar_t): Likewise.
18958 (_G_wint_t): Likewise.
18959
9fab36eb
SP
189602012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18961
18962 * malloc/arena.c: Include malloc-sysdep.h.
18963 (shrink_heap): Use check_may_shrink_heap to decide if madvise
18964 is sufficient to shrink the heap or an unmap is needed.
18965 * sysdeps/generic/malloc-sysdep.h: New file. Define
18966 new function check_may_shrink_heap.
18967 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
18968 new function check_may_shrink_heap.
18969
2b4f00d1
SP
189702012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18971
18972 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
18973 comments.
18974
9a9028b1
DL
189752012-09-24 Dmitry V. Levin <ldv@altlinux.org>
18976
57c69bef
DL
18977 * catgets/test-gencat.sh: Add "set -e".
18978 * elf/tst-pathopt.sh: Likewise.
18979 * grp/tst_fgetgrent.sh: Likewise.
18980 * iconvdata/run-iconv-test.sh: Likewise.
18981 * intl/tst-gettext.sh: Likewise.
18982 * intl/tst-gettext2.sh: Likewise.
18983 * intl/tst-gettext4.sh: Likewise.
18984 * intl/tst-gettext6.sh: Likewise.
18985 * intl/tst-translit.sh: Likewise.
18986 * io/ftwtest-sh: Likewise.
18987 * libio/test-freopen.sh: Likewise.
18988 * malloc/tst-mtrace.sh: Likewise.
18989 * posix/globtest.sh: Likewise.
18990 * posix/tst-getconf.sh: Likewise.
18991 * posix/wordexp-tst.sh: Likewise.
18992 * stdio-common/tst-printf.sh: Likewise.
18993 * stdio-common/tst-unbputc.sh: Likewise.
18994 * stdlib/tst-fmtmsg.sh: Likewise.
18995 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
18996 * catgets/Makefile: Do not specify -e option when running
18997 testsuite shell scripts.
18998 * elf/Makefile: Likewise.
18999 * grp/Makefile: Likewise.
19000 * iconvdata/Makefile: Likewise.
19001 * intl/Makefile: Likewise.
19002 * io/Makefile: Likewise.
19003 * libio/Makefile: Likewise.
19004 * malloc/Makefile: Likewise.
19005 * posix/Makefile: Likewise.
19006 * stdio-common/Makefile: Likewise.
19007 * stdlib/Makefile: Likewise.
19008 * sysdeps/x86_64/Makefile: Likewise.
19009
9a9028b1
DL
19010 * io/ftwtest-sh: Add copyright header.
19011 * posix/globtest.sh: Likewise.
19012 * posix/tst-getconf.sh: Likewise.
19013 * posix/wordexp-tst.sh: Likewise.
19014 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
19015
ced6f16e
L
190162012-09-24 H.J. Lu <hongjiu.lu@intel.com>
19017
94b32c39
L
19018 [BZ #13679]
19019 * Makeconfig (+link): Defined as $(+link-static) if
19020 $(build-shared) isn't yes.
19021 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
19022 isn't yes.
19023 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
19024
189e935b
L
19025 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
19026
ced6f16e
L
19027 [BZ #14562]
19028 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
19029 new chunk size with MALLOC_ALIGN_MASK.
19030
a9f8e53a
JM
190312012-09-24 Joseph Myers <joseph@codesourcery.com>
19032
19033 [BZ #5044]
19034 * stdio-common/printf_fphex.c: Include <stdbool.h> and
19035 <rounding-mode.h>.
19036 (__printf_fphex): Determine rounding using get_rounding_mode and
19037 round_away.
19038 * stdio-common/tst-printf-round.c (struct hex_test): New
19039 structure.
19040 (hex_tests): New variable.
19041 (test_hex_in_one_mode): New function.
19042 (do_test): Also run tests for hex float output.
19043
43153109
JM
190442012-09-21 Joseph Myers <joseph@codesourcery.com>
19045
19046 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
19047 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
19048 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
19049 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
19050 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
19051 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
19052 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
19053 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
19054
8a26625d
JM
190552012-09-20 Joseph Myers <joseph@codesourcery.com>
19056
19057 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
19058 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
19059 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
19060 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
19061
f3fd569c
DL
190622012-09-19 Dmitry V. Levin <ldv@altlinux.org>
19063
19064 [BZ #14579]
19065 * elf/rtld.c (dl_main): Limit the check for self loading to normal
19066 mode only.
19067 * elf/tst-rtld-load-self.sh: New test.
19068 * elf/Makefile: Run it.
19069
63bbedd4
JM
190702012-09-18 Joseph Myers <joseph@codesourcery.com>
19071
19072 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
19073 (tst-writev-ENV): Remove.
19074 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
19075
626f8b6a
CM
190762012-09-17 Chris Metcalf <cmetcalf@tilera.com>
19077
19078 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
19079
b7aaa4d6
JM
190802012-09-17 Joseph Myers <joseph@codesourcery.com>
19081
19082 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
19083 unconditional.
19084 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
19085 Likewise.
19086 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
19087 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
19088 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
19089 Likewise.
19090
65513990
L
190912012-09-14 H.J. Lu <hongjiu.lu@intel.com>
19092
19093 [BZ #14587]
19094 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
19095 * config.make.in (have-cpp-asm-debuginfo): Removed.
19096 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
19097 * configure: Regenerated.
19098
784761be
JM
190992012-09-14 Joseph Myers <joseph@codesourcery.com>
19100
19101 [BZ #5044]
19102 * stdio-common/printf_fp.c: Include <stdbool.h> and
19103 <rounding-mode.h>.
19104 (___printf_fp): Determine rounding using get_rounding_mode and
19105 round_away.
19106 * stdio-common/tst-printf-round.c: New file.
19107 * stdio-common/Makefile (tests): Add tst-printf-round.
19108 (link-libm): New variable.
19109 ($(objpfx)tst-printf-round): Depend in $(link-libm).
19110
9503345f
L
191112012-09-13 H.J. Lu <hongjiu.lu@intel.com>
19112
19113 [BZ #14576]
19114 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
19115 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
19116 Likewise.
19117 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
19118 Likewise.
19119
ad35fc00
JM
191202012-09-13 Joseph Myers <joseph@codesourcery.com>
19121
19122 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
19123 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19124 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19125 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19126
6c9b0f68
JM
191272012-09-12 Joseph Myers <joseph@codesourcery.com>
19128
19129 [BZ #14518]
19130 * include/rounding-mode.h: New file.
19131 * sysdeps/generic/get-rounding-mode.h: Likewise.
19132 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
19133 * stdlib/strtod_l.c: Include <rounding-mode.h>.
19134 (MAX_VALUE): New macro.
19135 (MIN_VALUE): Likewise.
19136 (overflow_value): New function.
19137 (underflow_value): Likewise.
19138 (round_and_return): Use overflow_value and underflow_value to
19139 determine return values in overflow and underflow cases. Use
19140 round_away to determine rounding depending on rounding mode.
19141 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
19142 determine return values in overflow and underflow cases.
19143 * stdlib/tst-strtod-round.c: Include <fenv.h>.
19144 (struct test_results): New structure.
19145 (struct test): Use struct test_results to store expected results
19146 for all rounding modes.
19147 (TEST): Include expected results for all rounding modes.
19148 (test_in_one_mode): New function.
19149 (do_test): Use test_in_one_mode to compute and check results.
19150 Check results for all rounding modes.
19151 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
19152 $(link-libm).
19153
19fcedd5
AM
191542012-12-09 Allan McRae <allan@archlinux.org>
19155
1e9d84cd 19156 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 19157
8bbfd2f1
JM
191582012-09-11 Joseph Myers <joseph@codesourcery.com>
19159
19160 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
19161 (_G_int32_t): Likewise.
19162 (_G_uint16_t): Likewise.
19163 (_G_uint32_t): Likewise.
19164 (_G_HAVE_BOOL): Likewise.
19165 (_G_HAVE_ATEXIT): Likewise.
19166 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19167 (_G_HAVE_IO_FILE_OPEN): Likewise.
19168 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
19169 (_G_int32_t): Likewise.
19170 (_G_uint16_t): Likewise.
19171 (_G_uint32_t): Likewise.
19172 (_G_HAVE_BOOL): Likewise.
19173 (_G_HAVE_ATEXIT): Likewise.
19174 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19175 (_G_HAVE_IO_FILE_OPEN): Likewise.
19176 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
19177 (_G_int32_t): Likewise.
19178 (_G_uint16_t): Likewise.
19179 (_G_uint32_t): Likewise.
19180 (_G_HAVE_BOOL): Likewise.
19181 (_G_HAVE_ATEXIT): Likewise.
19182 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19183 (_G_HAVE_IO_FILE_OPEN): Likewise.
19184
b1dc5912
L
191852012-09-11 H.J. Lu <hongjiu.lu@intel.com>
19186
19187 * csu/libc-tls.c: Update copyright years.
19188
0e886ef9
JM
191892012-09-10 Joseph Myers <joseph@codesourcery.com>
19190
28361c5e
JM
19191 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
19192 [!_G_USING_THUNKS]: Remove conditional code.
19193 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
19194 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
19195
0e886ef9
JM
19196 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
19197 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
19198 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19199 (_G_VTABLE_LABEL_PREFIX): Likewise.
19200 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19201 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19202 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19203 (_G_VTABLE_LABEL_PREFIX): Likewise.
19204 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19205 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19206 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19207 (_G_VTABLE_LABEL_PREFIX): Likewise.
19208 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19209
bcba7aa2
L
192102012-09-10 H.J. Lu <hongjiu.lu@intel.com>
19211
19212 * libio/Makefile: Include ../Makeconfig before tests.
19213 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
19214 only if $(build-shared) is yes.
19215
06585ee8
L
19216 * iconv/gconv_db.c: Update copyright years.
19217
80ccd52c
LD
192182012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19219
19220 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
19221 unwind info if defined PIC. Fix special cases description.
19222 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
19223
19224 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
19225 DP_HI_MASK entry.
19226 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
19227
691bc9c1
L
192282012-09-07 H.J. Lu <hongjiu.lu@intel.com>
19229
3d9b46b3
L
19230 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
19231
de2139a9
L
19232 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
19233 is NULL.
19234
5ca78dd0
L
19235 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
19236 (LDLIBS-tst-chk4): This.
19237 (LDFLAGS-tst-chk5): Renamed to ...
19238 (LDLIBS-tst-chk5): This.
19239 (LDFLAGS-tst-chk6): Renamed to ...
19240 (LDLIBS-tst-chk6): This.
19241 (LDFLAGS-tst-lfschk4): Renamed to ...
19242 (LDLIBS-tst-lfschk4): This.
19243 (LDFLAGS-tst-lfschk5): Renamed to ...
19244 (LDLIBS-tst-lfschk5): This.
19245 (LDFLAGS-tst-lfschk6): Renamed to ...
19246 (LDLIBS-tst-lfschk6): This.
19247
691bc9c1
L
19248 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
19249 on $(common-objpfx)soversions.mk.
19250
65cafb1c
JM
192512012-09-07 Joseph Myers <joseph@codesourcery.com>
19252
19253 [BZ #10014]
19254 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
19255 example host name.
19256
c78ab094
SP
192572012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
19258
19259 * malloc/arena.c (arena_get_retry): New function that gets
19260 another arena for the caller to try its request on.
19261 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
19262 current arena cannot fulfill the request.
19263 (__libc_memalign): Likewise.
19264 (__libc_memalign): Likewise.
19265 (__libc_pvalloc): Likewise.
19266 (__libc_calloc): Likewise.
19267
01f49f59
JT
192682012-09-05 John Tobey <john.tobey@gmail.com>
19269
19270 [BZ #13542]
19271 * manual/arith.texi (Operations on Complex): Fix description
19272 of carg branch cut.
19273
4c23fed5
JM
192742012-09-06 Joseph Myers <joseph@codesourcery.com>
19275
1d3c8572
JM
19276 [BZ #10014]
19277 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
19278 host name.
19279
4c23fed5
JM
19280 [BZ #10038]
19281 * manual/memory.texi (Memory): Make order of menu items match
19282 order of sections.
19283
04570aaa
L
192842012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19285
19286 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
19287 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
19288 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
19289
b80af2f4
L
192902012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19291
19292 * csu/libc-tls.c (static_dtv): Renamed to ...
19293 (_dl_static_dtv): This. Make it global.
19294 (_dl_initial_dtv): Removed.
19295 (__libc_setup_tls): Updated.
19296 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
19297 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
19298 DL_INITIAL_DTV.
19299
2abe9f15
PM
193002012-09-06 Petr Machata <pmachata@redhat.com>
19301
19302 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
19303 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
19304 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
19305 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
19306
0948c3af
L
193072012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19308
19309 [BZ #14545]
19310 * csu/libc-tls.c (_dl_initial_dtv): New variable.
19311 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
19312 freeing dtv[-1].
19313
a5055ad1
L
193142012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19315
19316 [BZ #14544]
19317 * Makeconfig (link-static-before-libc): Replace $(+prector)
19318 with $(+prectorT).
19319 (link-static-after-libc): Replace $(+postctor) with
19320 $(+postctorT).
19321 (link-bounded): Replace $(+prector)/$(+postctor) with
19322 $(+prectorT)/$(+postctorT).
19323 (+prectorT): New macro.
19324 (+postctorT): Likewise.
19325
ed8c2ecd
JM
193262012-09-06 Joseph Myers <joseph@codesourcery.com>
19327
19328 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
19329 (round_str): Handle values above the maximum for IBM long double
19330 as inexact.
19331 * stdlib/tst-strtod-round.c (tests): Regenerated.
19332
14c996c8
AK
193332012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19334
19335 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
19336 assembler flag.
19337 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
19338 zarch_nohighgprs around the zarch optimized routines.
19339 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
19340 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
19341 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
19342 for zarch.
19343
430d6ce6
DM
193442012-09-05 David S. Miller <davem@davemloft.net>
19345
19346 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19347
ff04dda4
DM
19348 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
19349 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
19350 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
19351 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19352 entries.
19353
24d4e01b
AO
193542012-09-05 Alexandre Oliva <aoliva@redhat.com>
19355
19356 * malloc/arena.c: Fold copyright years.
19357 * malloc/mcheck.c, malloc/memusage.c: Likewise.
19358
61d58174
AO
193592012-09-05 Alexandre Oliva <aoliva@redhat.com>
19360
19361 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
19362
20196a5e
AO
193632012-09-05 Alexandre Oliva <aoliva@redhat.com>
19364
19365 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
19366
5c447383
AO
193672012-09-05 Alexandre Oliva <aoliva@redhat.com>
19368
19369 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
19370 change internal state upon failure.
19371
fad64255
AO
193722012-09-05 Alexandre Oliva <aoliva@redhat.com>
19373
19374 * malloc/mcheck.c (mcheck_check_all): Fix typo.
19375 * malloc/memusage.c (mmap): Likewise.
19376 (mmap64, mremap): Likewise. Adjust name in comment.
19377
1ffb8c90
SP
193782012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19379
19380 * libio/fileops.c: Fix typos in comments.
19381 * libio/oldfileops.c: Likewise.
19382 * libio/wfileops.c: Likewise.
19383
6ef9cc37
SP
193842012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19385
19386 [BZ #1349]
19387 * malloc/Makefile (tests): Add tst-malloc-usable test case.
19388 (tst-malloc-usable-ENV): Set environment for test case.
19389 * malloc/hooks.c (malloc_check_get_size): New function to get
19390 requested size.
19391 * malloc/malloc.c (musable): Use malloc_check_get_size.
19392 * malloc/tst-malloc-usable.c: New test case.
19393
4d038ae3
AS
193942012-09-05 Andreas Schwab <schwab@linux-m68k.org>
19395
19396 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
19397
c4e85184
AM
193982012-09-05 Allan McRae <allan@archlinux.org>
19399
b9dafc56 19400 [BZ #13966]
c4e85184
AM
19401 * configure.in (CXX_SYSINCLUDES): Use compiler output to
19402 determine header location.
19403 * configure: Regenerated.
19404
e1343020
AS
194052012-09-05 Andreas Schwab <schwab@linux-m68k.org>
19406
19407 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
19408 float format.
19409 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
19410 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
19411 format.
e1343020
AS
19412 (test): Regenerate.
19413
0a9f1987
DM
194142012-09-04 David S. Miller <davem@davemloft.net>
19415
19416 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
19417 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
19418 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
19419
29237804
FW
194202012-09-04 Florian Weimer <fweimer@redhat.com>
19421
19422 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
19423 failures.
19424
edb3cb88
FW
19425 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
19426
60160d83
JM
194272012-09-04 Joseph Myers <joseph@codesourcery.com>
19428
19429 [BZ #9914]
19430 * libio/iogetdelim.c: Include <limits.h>.
19431 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
19432 + len + 1 would overflow.
19433
bcd6c8dc
AJ
194342012-09-03 Andreas Jaeger <aj@suse.de>
19435
19436 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19437 * sysdeps/i386/fpu/libm-test-ulps: Update.
19438
4ffffbd2
LD
194392012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19440
19441 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19442 Add s_sinf-sse2, s_conf-sse2.
19443
19444 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
19445 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
19446 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
19447 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
19448
19449 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
19450 for using routine as __sinf_ia32.
19451 Use macro for function declaration and weak_alias.
19452 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
19453 for using routine as __cosf_ia32.
19454 Use macro for function declaration and weak_alias.
19455
19456 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
19457 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
19458
19459 * sysdeps/x86_64/fpu/s_sinf.S: New file.
19460 * sysdeps/x86_64/fpu/s_cosf.S: New file.
19461 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19462
19463 * math/libm-test.inc (cos_test): Add more test cases.
19464 (sin_test): Likewise.
19465 (sincos_test): Likewise.
19466
511fa286
AK
194672012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19468
19469 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
19470 (IFUNC_RESOLVE): Make pointers to the specialized implementations
19471 hidden.
19472 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19473
5f30cfec
L
194742012-09-02 H.J. Lu <hongjiu.lu@intel.com>
19475
19476 [BZ #14538]
19477 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
19478 first element of the GOT.
19479 (elf_machine_load_address): Return the difference between
19480 the runtime address of _DYNAMIC and elf_machine_dynamic ().
19481
0786794f
AM
194822012-09-01 Allan McRae <allan@archlinux.org>
19483
5f30cfec
L
19484 [BZ #13412]
19485 * configure.in (AWK): Require gawk version 3.0 or later.
19486 * configure: Regenerated.
0786794f 19487
26889eac
JM
194882012-09-01 Joseph Myers <joseph@codesourcery.com>
19489
19490 * sysdeps/unix/sysv/linux/kernel-features.h
19491 (__ASSUME_POSIX_CPU_TIMERS): Remove.
19492 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19493 [__NR_clock_getres]: Make code unconditional.
19494 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
19495 (clock_getcpuclockid): Remove code left unreachable by removal of
19496 conditionals.
19497 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
19498 code unconditional.
19499 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19500 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19501 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
19502 Make code unconditional.
19503 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19504 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19505 * sysdeps/unix/sysv/linux/clock_settime.c
19506 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
19507 conditional code.
19508 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
19509 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19510
d22e28b0
L
195112012-08-29 H.J. Lu <hongjiu.lu@intel.com>
19512
19513 [BZ #14476]
19514 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
19515 scripts/test-installation.pl.
19516
19517 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
19518 and $ld_so_version if it is set.
19519
050af9c4
SP
195202012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19521
19522 [BZ #14516]
19523 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
19524 failure if reading from procfs failed.
19525 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
19526
ad845c0b
JM
195272012-08-27 Joseph Myers <joseph@codesourcery.com>
19528
19529 * sysdeps/unix/sysv/linux/kernel-features.h
19530 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
19531 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19532 Remove conditional code.
19533 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19534 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
19535 Remove conditional code.
19536 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19537 * sysdeps/unix/sysv/linux/i386/fxstat.c
19538 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19539 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19540 * sysdeps/unix/sysv/linux/i386/fxstatat.c
19541 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19542 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19543 * sysdeps/unix/sysv/linux/i386/lxstat.c
19544 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19545 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19546 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
19547 Remove conditional code.
19548 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19549 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19550 Remove conditional code.
19551 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19552 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
19553 <kernel-features.h>.
19554 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
19555 Remove.
19556 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
19557 Remove conditional code.
19558 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19559 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
19560 Remove conditional.
19561
5dbf56af
MF
195622012-08-27 Mike Frysinger <vapier@gentoo.org>
19563
19564 [BZ #5400]
19565 * NEWS: Add fixed bug number.
19566
d6e70f43
JM
195672012-08-27 Joseph Myers <joseph@codesourcery.com>
19568
7efb4737
JM
19569 [BZ #14519]
19570 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
19571 underflowing exponent in case of negative sign.
19572 * stdlib/tst-strtod-round-data: Add more tests.
19573 * stdlib/tst-strtod-round.c (tests): Regenerated.
19574
af92131a
JM
19575 [BZ #3479]
19576 * stdlib/strtod_l.c (NDIG): Remove.
19577 (HEXNDIG): Likewise.
19578 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
19579 smallest representable value.
19580 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
19581 lie within an exact representation of 1/2 ulp of the result.
19582 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
19583 unconditionally.
19584 (TENS_P9_IDX): Define unconditionally.
19585 (TENS_P9_SIZE): Likewise.
19586 (TENS_P10_IDX): Likewise.
19587 (TENS_P10_SIZE): Likewise.
19588 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
19589 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
19590 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
19591 entries for 10^2^13 and 10^2^14.
19592 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
19593 (TENS_P13_IDX): Define.
19594 (TENS_P13_SIZE): Likewise.
19595 (TENS_P14_IDX): Likewise.
19596 (TENS_P14_SIZE): Likewise.
19597 (_fpioconst_pow10): Change array size to
19598 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
19599 unconditional.
19600 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
19601 1024]: Add entries for 10^2^13 and 10^2^14.
19602 [LAST_POW10 > _LAST_POW10]: Remove #error.
19603 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
19604 (_fpioconst_pow10): Change array size to
19605 FPIOCONST_POW10_ARRAY_SIZE.
19606 * stdlib/gen-fpioconst.c: New file.
19607 * stdlib/gen-tst-strtod-round.c: Likewise.
19608 * stdlib/tst-strtod-round-data: Likewise.
19609 * stdlib/tst-strtod-round.c: Likewise.
19610 * stdlib/Makefile (tests): Add tst-strtod-round.
19611
d6e70f43
JM
19612 [BZ #14459]
19613 * stdlib/strtod_l.c: Include <stdint.h>.
19614 (NDEBUG): Do not define.
19615 (round_and_return): Change EXPONENT parameter to type intmax_t.
19616 Rearrange calculations to avoid internal overflow possibilities.
19617 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
19618 Rearrange calculations to avoid internal overflow possibilities.
19619 Assert that number fits inside MPNSIZE limbs.
19620 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
19621 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
19622 calculations and add assertions to avoid internal overflow
19623 possibilities. Add casts to avoid signed/unsigned operations.
19624 * stdlib/tst-strtod-overflow.c: New file.
19625 * stdlib/Makefile (tests): Add tst-strtod-overflow.
19626
1f529f7d
MP
196272012-08-25 Marek Polacek <polacek@redhat.com>
19628
19629 * time/time.h: Fix some typos in comments.
19630
59a629f1
RM
196312012-08-23 Roland McGrath <roland@hack.frob.com>
19632
19633 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
19634 * posix/tst-rfc3484-2.c: Likewise.
19635 * posix/tst-rfc3484-3.c: Likewise.
19636
d3bafbc9
SM
196372012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
19638
19639 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
19640 (EF_ARM_ABI_FLOAT_HARD): Likewise.
19641
4efcc022
JM
196422012-08-23 Joseph Myers <joseph@codesourcery.com>
19643
19644 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
19645 #include of fxstatat64.c.
19646
3cc3ef96
RM
196472012-08-22 Roland McGrath <roland@hack.frob.com>
19648
f04e2132
RM
19649 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
19650 * shadow/getspent_r.c: Likewise.
19651 * shadow/getspnam.c: Likewise.
19652 * shadow/getspnam_r.c: Likewise.
19653 * gshadow/getsgent.c: Likewise.
19654 * gshadow/getsgent_r.c: Likewise.
19655 * gshadow/getsgnam.c: Likewise.
19656 * gshadow/getsgnam_r.c: Likewise.
19657 * inet/getnetbyad.c: Likewise.
19658 * inet/getnetbyad_r.c: Likewise.
19659 * inet/getnetbynm.c: Likewise.
19660 * inet/getnetbynm_r.c: Likewise.
19661 * inet/getnetent.c: Likewise.
19662 * inet/getnetent_r.c: Likewise.
19663 * inet/getproto.c: Likewise.
19664 * inet/getproto_r.c: Likewise.
19665 * inet/getprtent.c: Likewise.
19666 * inet/getprtent_r.c: Likewise.
19667 * inet/getprtname.c: Likewise.
19668 * inet/getprtname_r.c: Likewise.
19669 * inet/getrpcbyname.c: Likewise.
19670 * inet/getrpcbyname_r.c: Likewise.
19671 * inet/getrpcbynumber.c: Likewise.
19672 * inet/getrpcbynumber_r.c: Likewise.
19673 * inet/getrpcent.c: Likewise.
19674 * inet/getrpcent_r.c: Likewise.
19675 * inet/getaliasent.c: Likewise.
19676 * inet/getaliasent_r.c: Likewise.
19677 * inet/getaliasname.c: Likewise.
19678 * inet/getaliasname_r.c: Likewise.
19679 * nscd/getgrgid_r.c: Likewise.
19680 * nscd/getgrnam_r.c: Likewise.
19681 * nscd/gethstbyad_r.c: Likewise.
19682 * nscd/gethstbynm3_r.c: Likewise.
19683 * nscd/getpwnam_r.c: Likewise.
19684 * nscd/getpwuid_r.c: Likewise.
19685 * nscd/getsrvbynm_r.c: Likewise.
19686 * nscd/getsrvbypt_r.c: Likewise.
19687 * nscd/gai.c: Likewise.
19688
c53d909c
RM
19689 * configure.in (build_nscd): New substituted variable, set
19690 by --disable-build-nscd and defaults to $use_nscd.
19691 * configure: Regenerated.
19692 * config.make.in (build-nscd): New substituted variable.
19693 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
19694 Change conditional to require [$(build-nscd) = yes] as well.
19695 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
19696
3cc3ef96
RM
19697 [BZ# 13696]
19698 * configure.in (use_nscd): New substituted variable, set by
19699 --disable-nscd. If enabled, define USE_NSCD.
19700 * configure: Regenerated.
19701 * config.h.in: Add USE_NSCD.
19702 * config.make.in (use-nscd): New substituted variable.
19703 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
19704 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
19705 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
19706 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
19707 (CFLAGS-getgrnam_r.c): Likewise.
19708 (CFLAGS-initgroups.c): Likewise.
19709 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
19710 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
19711 Variables removed.
19712 * inet/getnetgrent_r.c
19713 (nscd_setnetgrent): New function, broken out of ...
19714 (setnetgrent): ... here. Call it.
19715 (innetgr): Conditionalize nscd bits on [USE_NSCD].
19716 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
19717 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
19718 * nscd/Makefile (routines, aux): Move definitions after include of
19719 Makeconfig. Conditionalize on [$(use-nscd) != no].
19720 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
19721 Conditionalize on [USE_NSCD].
19722 (is_nscd, nscd_init_cb): Likewise.
19723 (nss_load_library): Conditionalize init callback on [USE_NSCD].
19724 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
19725 * nss/nss_db/db-init.c: Likewise.
19726 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
19727 [USE_NSCD].
19728 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
19729 (make_request): Use it.
19730 (cache_valid_p): New function.
19731 (__check_pf): Use it.
19732 * NEWS: Add item for --disable-nscd.
19733
07e51550
DL
197342012-08-22 Dmitry V. Levin <ldv@altlinux.org>
19735
19736 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
19737 to support sed >= 4.2.1-20-ga9bf076.
19738 * configure: Regenerated.
19739
35a5b08b
RM
197402012-08-22 Roland McGrath <roland@hack.frob.com>
19741
19742 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
19743 Conditionalize whole body on [IREL].
19744
8479f23a
JL
197452012-08-22 Jeff Law <law@redhat.com>
19746
19747 [BZ #14505]
19748 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
19749 if the family is PF_UNSPEC.
19750
48da0b21
MF
197512012-08-22 Mike Frysinger <vapier@gentoo.org>
19752
19753 * Makerules (lib-version): Rename from V.
19754 (install-lib-nosubdir): Change V to lib-version.
19755
15d0da8c
WS
197562012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
19757
19758 [BZ #14252]
19759 * powerpc32/power6/wcschr.c: New file.
19760 * powerpc32/power6/wcscpy.c: New file.
19761 * powerpc32/power6/wcsrchr.c: New file.
19762 * powerpc64/power6/wcschr.c: New file.
19763 * powerpc64/power6/wcscpy.c: New file.
19764 * powerpc64/power6/wcsrchr.c: New file.
19765
bcca0895
MK
197662012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
19767
19768 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
19769 (two_way_short_needle): Use it.
5a4aaa33
RM
19770 * string/strstr.c (AVAILABLE1_USES_J): Define.
19771 * string/strcasestr.c: Likewise.
99677e57
MK
19772
19773 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
19774 array references.
19775 * string/strcasestr.c (TOLOWER): Make side-effect safe.
19776
400726de
MK
19777 [BZ #11607]
19778 * NEWS: Add an entry.
19779 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
19780 define their defaults.
19781 (two_way_short_needle): Detect end-of-string on-the-fly.
19782 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
19783 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
19784 * string/bug-strcasestr1.c: New test.
19785 * string/Makefile: Run it.
19786
20a71f2c
MK
197872012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
19788
19789 [BZ #11607]
19790 * string/str-two-way.h (two_way_short_needle): Optimize matching of
19791 the first character.
19792
21ad0558
RM
197932012-08-21 Roland McGrath <roland@hack.frob.com>
19794
19795 * csu/elf-init.c (__libc_csu_irel): Function removed.
19796 * csu/libc-start.c (apply_irel): New function.
19797 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
19798
0e1d9911
JM
197992012-08-21 Joseph Myers <joseph@codesourcery.com>
19800
19801 * sysdeps/unix/sysv/linux/kernel-features.h
19802 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
19803 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
19804 <kernel-features.h>.
19805 [__NR_fadvise64_64]: Make code unconditional.
19806 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
19807 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
19808 !__NR_fadvise64_64)]: Likewise.
19809 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
19810 !__NR_fadvise64_64))]: Likewise.
19811 [__NR_fadvise64]: Make code unconditional.
19812 [!__NR_fadvise64]: Remove conditional code.
19813 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
19814 <kernel-features.h>.
19815 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19816 unconditional.
19817 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19818 conditional code.
19819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
19820 not include <kernel-features.h>.
19821 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19822 unconditional.
19823 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19824 conditional code.
19825 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
19826 include <kernel-features.h>.
19827 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19828 unconditional.
19829 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19830 conditional code.
19831
14a50c9d
WS
198322012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
19833
19834 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
19835 slight instruction rearrangements per scrollpipe analysis.
19836 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19837
c0f4faf0
RM
198382012-08-20 Roland McGrath <roland@hack.frob.com>
19839
696da859
RM
19840 * manual/syslog.texi (syslog; vsyslog, closelog):
19841 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
19842 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
19843
c0f4faf0
RM
19844 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
19845 DSOCAPS to match condition on defining it.
19846
348363b2
JM
198472012-08-20 Joseph Myers <joseph@codesourcery.com>
19848
a35cbf28
JM
19849 * sysdeps/unix/sysv/linux/kernel-features.h
19850 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
19851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
19852 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19853 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
19855 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19856 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
19858 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19859 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19860
445f7ecd
JM
19861 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
19862 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
19863
348363b2
JM
19864 * sysdeps/unix/sysv/linux/kernel-features.h
19865 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
19866 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
19867 unconditional.
19868 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19869 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
19870 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
19871 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19872 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
19873 Make code unconditional.
19874 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19875 (__mmap64) [!__NR_mmap2]: Likewise.
19876 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
19877 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
19878 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19879 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
19880 [__NR_mmap2]: Make code unconditional.
19881 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19882 (__mmap64) [!__NR_mmap2]: Likewise.
19883
bc5bc0e5
AK
198842012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19885
19886 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
19887
88d506de
AJ
198882012-08-18 Andreas Jaeger <aj@suse.de>
19889
19890 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
19891
493387d2
MF
198922012-08-18 Mike Frysinger <vapier@gentoo.org>
19893
19894 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
19895 * include/unistd.h (__have_sock_cloexec): Likewise.
19896 (__have_pipe2): Likewise.
19897 (__have_dup3): Likewise.
19898
a277af22
MF
198992012-08-18 Mike Frysinger <vapier@gentoo.org>
19900
19901 [BZ #9685]
19902 * include/unistd.h (__have_pipe2): Change define into an extern int.
19903 (__have_dup3): Likewise.
19904 * socket/have_sock_cloexec.c: Include fcntl.h.
19905 (__have_pipe2): New variable.
19906 (__have_dup3): Likewise.
19907
fdab8fd3
MF
199082012-08-17 Mike Frysinger <vapier@gentoo.org>
19909
19910 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
19911
31035e80
MP
199122012-08-17 Marek Polacek <polacek@redhat.com>
19913
19914 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
19915 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
19916
3bd9e993
RM
199172012-08-17 Roland McGrath <roland@hack.frob.com>
19918
c91c505f
RM
19919 * configure.in: Add AC_SUBST for sysheaders.
19920 * configure: Regenerated.
19921 * config.make.in (sysheaders): New substituted variable.
19922
7c6f9d53
RM
19923 * sysdeps/unix/mkfifo.c: Moved ...
19924 * sysdeps/posix/mkfifo.c: ... here.
19925 * sysdeps/unix/mkfifoat.c: Moved ...
19926 * sysdeps/posix/mkfifoat.c: ... here.
19927
19928 * sysdeps/unix/utime.c: Moved ...
19929 * sysdeps/posix/utime.c: ... here.
19930
19931 * sysdeps/unix/time.c: Moved ...
19932 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
19933 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
19934 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
19935
19936 * sysdeps/unix/nice.c: Moved ...
19937 * sysdeps/posix/nice.c: ... here.
19938
19939 * sysdeps/unix/alarm.c: Moved ...
19940 * sysdeps/posix/alarm.c: ... here.
19941
3bd9e993
RM
19942 * intl/Makefile ($(codeset_mo)): Depend on the input file.
19943
d1f09384
JL
199442012-08-17 Jeff Law <law@redhat.com>
19945
19946 * intl/Makefile (codeset_mo): New variable.
19947 ($(codeset_mo)): New target.
19948 (tst-codeset.out): Depend on that. Remove explicit rule.
19949 (tst-gettext3.out, tst-gettext5.out): Likewise.
19950 (LOCPATH-ENV, tst-codeset-ENV): New variables.
19951 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
19952 * intl/tst-codeset.sh: Remove.
19953 * intl/tst-gettext3.sh: Likewise.
19954 * intl/tst-gettext5.sh: Likewise.
19955
2ae1ae5c
RM
199562012-08-17 Roland McGrath <roland@hack.frob.com>
19957
c31fdb83
RM
19958 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
19959 * sysdeps/unix/syscalls.list: ... here.
19960
a0844057
RM
19961 * sysdeps/posix/getaddrinfo.c
19962 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
19963 (gaiconf_init, gaiconf_reload): Use them.
19964 [!_STATBUF_ST_NSEC]
19965 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
19966 Define using time_t rather than struct timespec.
19967
750c1f2a
RM
19968 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
19969 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
19970 Macros removed.
19971 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
19972 [!NO_THREADS].
19973 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
19974 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
19975 Likewise.
19976
2ae1ae5c
RM
19977 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
19978 __libc_cleanup_push argument.
19979
e66a42f5
RM
19980 * bits/param.h: New file.
19981 * misc/sys/param.h: New file.
19982 * include/sys/param.h: New file.
19983 * misc/Makefile (headers): Add bits/param.h.
19984 * sysdeps/generic/sys/param.h: File removed.
19985 * sysdeps/unix/sysv/linux/bits/param.h: New file.
19986 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
19987 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 19988 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 19989
b7c08a66
RM
19990 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
19991 last change.
19992
b2e1c562
RM
19993 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
19994 [_IO_MTSAFE_IO].
19995 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
19996 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
19997 New macros.
19998
c75ccd4c
RM
19999 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
20000 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
20001 rather than -D_IO_MTSAFE_IO conditionally.
20002 * stdio-common/Makefile (CPPFLAGS): Likewise.
20003 * wcsmbs/Makefile (CPPFLAGS): Likewise.
20004 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
20005 Use $(libio-mtsafe).
20006 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
20007 of -D_IO_MTSAFE_IO.
20008 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
20009 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
20010 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
20011 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
20012 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
20013 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
20014 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
20015 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
20016 (CFLAGS-fread_u_chk.c): Likewise.
20017 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
20018 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
20019 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
20020 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
20021 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
20022 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
20023 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
20024 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
20025 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
20026
20027 * libio/Makefile: Test [$(libc-reentrant) = yes]
20028 instead of [$(filter %REENTRANT, $(defines)) nonempty].
20029
20030 * Makeconfig
20031 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
20032 * sysdeps/pthread/configure: File removed.
20033 * sysdeps/pthread/Makeconfig: New file.
20034 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
20035 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
20036
d9195db8
GB
200372012-08-16 Gary Benson <gbenson@redhat.com>
20038
20039 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
20040 unmapping the first object in a namespace.
20041
86466cd9
RM
200422012-08-16 Roland McGrath <roland@hack.frob.com>
20043
20044 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
20045 (__internal_setnetgrent): ... this. Add internal_function to
20046 definition. Add libc_hidden_def.
20047 (setnetgrent): Update caller.
20048 (internal_endnetgrent): Renamed to ...
20049 (__internal_endnetgrent): ... this. Add internal_function to
20050 definition. Add libc_hidden_def.
20051 (endnetgrent): Update caller.
20052 (internal_getnetgrent_r): Renamed to ...
20053 (__internal_getnetgrent_r): ... this. Add internal_function to
20054 definition. Add libc_hidden_def.
20055 (__getnetgrent_r): Update caller.
20056 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
20057
c3c8283c
JM
200582012-08-16 Joseph Myers <joseph@codesourcery.com>
20059
20060 * stdlib/longlong.h: Update from GCC.
20061
db1ee0a8
RM
200622012-08-16 Roland McGrath <roland@hack.frob.com>
20063
20064 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
20065 on _QL, which is set by umul_ppmm but never used.
20066 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
20067 variables, which are set by GMP macros but never used.
20068 * stdio-common/_itowa.c (_itowa): Likewise.
20069 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
20070 * stdlib/mod_1.c (mpn_mod_1): Likewise.
20071
30f69637
CD
200722012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
20073
20074 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
20075 struct La_sh_regs is not constant.
20076 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
20077 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
20078 and struct La_sparc64_regs are not constant.
20079
93a78ac4
JM
200802012-08-16 Joseph Myers <joseph@codesourcery.com>
20081
20082 * sysdeps/unix/sysv/linux/kernel-features.h
20083 (__ASSUME_POSIX_TIMERS): Remove.
20084 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
20085 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20086 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
20087 Make code unconditional.
20088 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20089 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
20090 Make code unconditional.
20091 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20092 * sysdeps/unix/sysv/linux/clock_nanosleep.c
20093 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
20094 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20095 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
20096 Make code unconditional.
20097 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20098 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
20099 (__libc_missing_posix_timers): Remove.
20100
dd924cd7
RM
201012012-08-15 Roland McGrath <roland@hack.frob.com>
20102
4b4f2771
RM
20103 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
20104 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
20105
601c888b
RM
20106 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
20107
176790a7
RM
20108 * elf/dl-sym.c: Include <stdlib.h>.
20109
329bc018
RM
20110 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
20111 constants, which avoids warnings in 32-bit builds.
20112
e04e272d
RM
20113 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
20114 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
20115
952bf94a
RM
20116 * misc/lseek.c: File moved to ...
20117 * io/lseek.c: ... here.
20118
7c99b50a
RM
20119 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
20120
dd924cd7
RM
20121 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
20122 shifting LEN more than 31 bits at once.
20123
b3f479a8
LD
201242012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20125
20126 [BZ #14195]
8c4ae0d4
RM
20127 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
20128 segmentation fault for a case of two empty input strings.
b3f479a8
LD
20129 * string/test-strncasecmp.c (check1): Renamed to...
20130 (bz12205): ...this.
20131 (bz14195): Add new testcase for two empty input strings and N > 0.
20132 (test_main): Call new testcase, adapt for renamed function.
20133
9c55864e
AJ
201342012-08-15 Andreas Jaeger <aj@suse.de>
20135
20136 [BZ #14090]
20137 * crypt/md5test2.c: New test, based on test supplied by Serge
20138 Belyshev <belyshev@depni.sinp.msu.ru>.
20139 * crypt/Makefile (xtests): Add md5test-giant..
20140 * crypt/Makefile ($(objpfx)md5test-giant): Add.
20141
02dcb6c5
PE
201422012-08-15 Paul Eggert <eggert@cs.ucla.edu>
20143
20144 [BZ #14090]
20145 * crypt/md5.c (md5_process_block): Don't assume the buffer
20146 length is less than 2**32.
20147 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
20148 length is less than 2**64.
20149
a3f95dcc
RM
201502012-08-15 Roland McGrath <roland@hack.frob.com>
20151
be75d758
RM
20152 * string/str-two-way.h: Include <sys/param.h>.
20153 (MAX): Macro removed.
20154
7312ca90
RM
20155 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
20156 Move #define and #undef of memmove to just before and after
20157 including <string.h>.
20158
9a0a5486
RM
20159 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
20160 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
20161 and after including <string.h>. Move declarations of
20162 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
20163 to before #include "string/memmove.c".
20164
67cc348d
RM
20165 * include/dirent.h: Declare __getdirentries.
20166
a3f95dcc
RM
20167 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
20168 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
20169
ca98e171
MF
201702012-08-14 Mike Frysinger <vapier@gentoo.org>
20171
20172 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
20173 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
20174 * sysdeps/i386/configure: Regenerated.
20175 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
20176 STABS_CURRENT_FILE, and STABS_FUN.
20177 (END): Remove call to STABS_FUN_END.
20178 (STABS_CURRENT_FILE1): Delete.
20179 (STABS_CURRENT_FILE): Likewise.
20180 (STABS_FUN): Likewise.
20181 (STABS_FUN_END): Likewise.
20182 (STABS_FUN2): Likewise.
20183 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
20184 * sysdeps/x86_64/configure: Regenerated.
20185
5908bf46
RM
201862012-08-14 Roland McGrath <roland@hack.frob.com>
20187
20188 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 20189 * elf/dl-lookup.c: Likewise.
5908bf46 20190
f2c05b9e
JM
201912012-08-14 Joseph Myers <joseph@codesourcery.com>
20192
20193 * sysdeps/unix/sysv/linux/kernel-features.h
20194 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
20195 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
20196 unconditionally.
20197 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
20198 unconditionally.
20199 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
20200 condition on __ASSUME_CLONE_THREAD_FLAGS.
20201
e11f5155
AJ
202022012-08-14 Andreas Jaeger <aj@suse.de>
20203
20204 * sysdeps/i386/fpu/libm-test-ulps: Update.
20205
51a9ba86
MK
202062012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
20207
2fdd4f78
AJ
20208 * include/atomic.h (atomic_exchange_and_add): Split into ...
20209 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
20210 New atomic macros.
51a9ba86 20211
ba6cba9e
MT
202122012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
20213
20214 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20215
42443a47
JL
202162012-08-13 Jeff Law <law@redhat.com>
20217
20218 * manual/stdio.texi (snprintf): Clarify handling of the trailing
20219 null byte in the output string.
20220
121dce05
JM
202212012-08-10 Joseph Myers <joseph@codesourcery.com>
20222
20223 * sysdeps/unix/sysv/linux/kernel-features.h
20224 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
20225 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
20226 (__ASSUME_ARG_MAX_STACK_BASED): Define.
20227 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
20228 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
20229 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
20230 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
20231
bf51f568
JL
202322012-08-09 Jeff Law <law@redhat.com>
20233
20234 [BZ #13939]
20235 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
20236 When avoid_arena is set, don't retry in the that arena. Pick the
20237 next one, whatever it might be.
20238 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
20239 (arena_lock): Pass in new parameter to arena_get2.
20240 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
20241 arena_get2.
20242 (__libc_malloc): Unify retrying after main arena failure with
20243 __libc_memalign version.
20244 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
20245
f85fa270
L
202462012-08-09 H.J. Lu <hongjiu.lu@intel.com>
20247
20248 [BZ #14166]
20249 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
20250 to __redirect_strstr.
20251 (__strstr_sse42): Use typeof __redirect_strstr.
20252 (__strstr_ia32): Likewise.
20253 (__libc_strstr): New prototype.
20254 (strstr): Renamed to ...
20255 (__libc_strstr): This.
20256 (strstr): New strong alias of __libc_strstr.
20257 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
20258 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
20259 __redirect_time.
20260 Include <time.h>.
20261 (__libc_time): New prototype.
20262 (time_ifunc): Replace time with __libc_time.
20263 (time): New strong alias and hidden definition of __libc_time.
20264 (__GI_time): Remove strong alias.
20265 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
20266 Include <stddef.h>.
20267 (memmove): Redefined to __redirect_memmove.
20268 (__memmove_sse2): Use typeof __redirect_memmove.
20269 (__memmove_ssse3): Likewise.
20270 (__memmove_ssse3_back): Likewise.
20271 (__libc_memmove): New prototype.
20272 (memmove): Renamed to ...
20273 (__libc_memmove): This.
20274 (memmove): New strong alias of __libc_memmove.
20275
33b4a91e
MS
202762012-08-08 Mark Salter <msalter@redhat.com>
20277
20278 * elf/elf.h
20279 (R_MN10300_TLS_GD): Define.
20280 (R_MN10300_TLS_LD): Likewise.
20281 (R_MN10300_TLS_LDO): Likewise.
20282 (R_MN10300_TLS_GOTIE): Likewise.
20283 (R_MN10300_TLS_IE): Likewise.
20284 (R_MN10300_TLS_LE): Likewise.
20285 (R_MN10300_TLS_DTPMOD): Likewise.
20286 (R_MN10300_TLS_DTPOFF): Likewise.
20287 (R_MN10300_TLS_TPOFF): Likewise.
20288 (R_MN10300_SYM_DIFF): Likewise.
20289 (R_MN10300_ALIGN): Likewise.
20290 (R_MN10300_NUM): Update.
20291
b36137f1
JM
202922012-08-08 Joseph Myers <joseph@codesourcery.com>
20293
20294 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
20295 Remove.
20296
cdd915fd
RM
202972012-08-08 Roland McGrath <roland@hack.frob.com>
20298
a2433aac
RM
20299 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
20300
cdd915fd
RM
20301 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
20302 sysdeps/unix -> sysdeps/posix move.
20303 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
20304
bf9b740a
AM
203052012-08-07 Allan McRae <allan@archlinux.org>
20306
20307 [BZ #14303]
20308 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
20309 (SUNOS_CPP): Likewise.
20310 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
20311 not found.
20312 (open_input): Call CPP using execvp.
20313
93df14ee
JM
203142012-08-07 Joseph Myers <joseph@codesourcery.com>
20315
20316 * sysdeps/unix/sysv/linux/kernel-features.h
20317 (__ASSUME_PROT_GROWSUPDOWN): Remove.
20318 (__ASSUME_NO_CLONE_DETACHED): Likewise.
20319 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20320 (__ASSUME_WAITID_SYSCALL): Likewise.
20321 * sysdeps/unix/sysv/linux/dl-execstack.c
20322 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
20323 code unconditional.
20324 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
20325 conditional code.
20326 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
20327 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
20328 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
20329 code.
20330 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
20331 unconditional.
20332 [__ASSUME_WAITID_SYSCALL]: Likewise.
20333 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
20334
d34689de
RM
203352012-08-07 Roland McGrath <roland@hack.frob.com>
20336
a281decc
RM
20337 * sysdeps/unix/closedir.c: Renamed to ...
20338 * sysdeps/posix/closedir.c: ... here.
20339 * sysdeps/unix/dirfd.c: Renamed to ...
20340 * sysdeps/posix/dirfd.c: ... here.
20341 * sysdeps/unix/dirstream.h: Renamed to ...
20342 * sysdeps/posix/dirstream.h: ... here.
20343 * sysdeps/unix/fdopendir.c: Renamed to ...
20344 * sysdeps/posix/fdopendir.c: ... here.
20345 * sysdeps/unix/opendir.c: Renamed to ...
20346 * sysdeps/posix/opendir.c: ... here.
20347 * sysdeps/unix/readdir.c: Renamed to ...
20348 * sysdeps/posix/readdir.c: ... here.
20349 * sysdeps/unix/readdir_r.c: Renamed to ...
20350 * sysdeps/posix/readdir_r.c: ... here.
20351 * sysdeps/unix/rewinddir.c: Renamed to ...
20352 * sysdeps/posix/rewinddir.c: ... here.
20353 * sysdeps/unix/seekdir.c: Renamed to ...
20354 * sysdeps/posix/seekdir.c: ... here.
20355 * sysdeps/unix/telldir.c: Renamed to ...
20356 * sysdeps/posix/telldir.c: ... here.
20357 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
20358 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
20359 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
20360 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
20361
22895b47
RM
20362 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
20363 * bits/fcntl.h: ... here.
20364
707a53b6
RM
20365 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
20366 not 0.
20367 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
20368 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
20369 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
20370 (struct flock): Move l_start, l_len to the beginning.
20371 Use __pid_t for l_pid.
20372 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
20373 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
20374 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
20375 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
20376 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
20377 [__USE_LARGEFILE64] (struct flock64): New type.
20378 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
20379
f0bd3e25
RM
20380 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
20381 * bits/dirent.h: ... here.
20382
d34689de
RM
20383 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
20384 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
20385
6dad2c06
JM
203862012-08-07 Joseph Myers <joseph@codesourcery.com>
20387
20388 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20389 Change from 2.6.0 to 2.6.16.
20390 * sysdeps/unix/sysv/linux/configure: Regenerated.
20391 * sysdeps/unix/sysv/linux/kernel-features.h
20392 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
20393 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
20394 version.
20395 (__ASSUME_UTIMES): Likewise.
20396 (__ASSUME_CLONE_STOPPED): Remove.
20397 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
20398 architectures, not kernel version.
20399 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
20400 (__ASSUME_NO_CLONE_DETACHED): Likewise.
20401 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20402 (__ASSUME_WAITID_SYSCALL): Likewise.
20403 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
20404 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
20405 * README: State 2.6.16 as minimum Linux kernel version. Do not
20406 refer to older versions.
20407
03af9520
RM
204082012-08-06 Roland McGrath <roland@hack.frob.com>
20409
8e49df1d
RM
20410 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
20411 Define alphasort64 as an alias.
20412 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
20413 Define versionsort64 as an alias.
20414 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
20415 Define scandir64 as an alias.
20416 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
20417 Define scandirat64 as an alias.
20418 * dirent/alphasort64.c (alphasort64):
20419 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
20420 * dirent/versionsort64.c: Likewise.
20421 * dirent/scandir64.c: Likewise.
20422 * dirent/scandirat64.c: Likewise.
20423 * sysdeps/wordsize-64/alphasort.c: File removed.
20424 * sysdeps/wordsize-64/alphasort64.c: File removed.
20425 * sysdeps/wordsize-64/scandir.c: File removed.
20426 * sysdeps/wordsize-64/scandir64.c: File removed.
20427 * sysdeps/wordsize-64/scandirat.c: File removed.
20428 * sysdeps/wordsize-64/scandirat64.c: File removed.
20429 * sysdeps/wordsize-64/versionsort.c: File removed.
20430 * sysdeps/wordsize-64/versionsort64.c: File removed.
20431 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
20432 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
20433 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
20434 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
20435 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
20436 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
20437 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
20438 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
20439
20440 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
20441 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20442 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
20443 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20444 [defined __arch64__ || defined __sparcv9]
20445 (__INO_T_MATCHES_INO64_T): New macro.
20446 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20447 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
20448 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
20449 * sysdeps/unix/sysv/linux/bits/dirent.h
20450 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
20451 (_DIRENT_MATCHES_DIRENT64): New macro.
20452
03af9520
RM
20453 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
20454 Define lockf64 as an alias.
20455 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
20456 Define fseeko64 as an alias.
20457 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
20458 Define ftello64 as an alias.
20459 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
20460 Define _IO_fgetpos64 and fgetpos64 as aliases.
20461 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
20462 Define _IO_fsetpos64 and fsetpos64 as aliases.
20463 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
20464 Conditionalize body on this.
20465 * libio/fseeko64.c: Likewise.
20466 * libio/ftello64.c: Likewise.
20467 * libio/iofgetpos64.c: Likewise.
20468 * libio/iofsetpos64.c: Likewise.
20469 * sysdeps/wordsize-64/lockf.c: File removed.
20470 * sysdeps/wordsize-64/lockf64.c: File removed.
20471 * sysdeps/wordsize-64/fseeko.c: File removed.
20472 * sysdeps/wordsize-64/fseeko64.c: File removed.
20473 * sysdeps/wordsize-64/ftello.c: File removed.
20474 * sysdeps/wordsize-64/ftello64.c: File removed.
20475 * sysdeps/wordsize-64/iofgetpos.c: File removed.
20476 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
20477 * sysdeps/wordsize-64/iofsetpos.c: File removed.
20478 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
20479 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
20480 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
20481 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
20482 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
20483 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
20484 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
20485 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
20486 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
20487 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
20488 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
20489
20490 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20491 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20492 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
20493 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20494 [defined __arch64__ || defined __sparcv9]
20495 (__OFF_T_MATCHES_OFF64_T): New macro.
20496 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20497 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20498 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20499 (__OFF_T_MATCHES_OFF64_T): New macro.
20500
c5757acd
L
205012012-08-06 H.J. Lu <hongjiu.lu@intel.com>
20502
20503 * stdlib/secure-getenv.c (__secure_getenv): Replace
20504 GLIBC_2_16 with GLIBC_2_17.
20505
3a31811e
L
205062012-08-06 H.J. Lu <hongjiu.lu@intel.com>
20507
20508 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
20509 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20510
faa2bccb
DM
205112012-08-03 David S. Miller <davem@davemloft.net>
20512
20513 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20514
85fe1997
JM
205152012-08-03 Joseph Myers <joseph@codesourcery.com>
20516
20517 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
20518 Remove.
20519 (__ASSUME_CORRECT_SI_PID): Likewise.
20520 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
20521 (__ASSUME_TMPFS_NAME): Likewise.
20522 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
20523 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
20524 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
20525 (HAVE_AUX_SECURE): Make definition unconditional.
20526 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
20527 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
20528
4f75b7a0
RM
205292012-08-03 Roland McGrath <roland@hack.frob.com>
20530
20531 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
20532 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
20533 * sysdeps/mach/hurd/eloop-threshold.h: New file.
20534 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
20535 __eloop_threshold instead of SYMLOOP_MAX.
20536
20537 * sysdeps/generic/eloop-threshold.h: New file.
20538 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
20539 of MAXSYMLINKS.
20540 * elf/chroot_canon.c (chroot_canon): Likewise.
20541
7aab07e4
JM
205422012-08-03 Joseph Myers <joseph@codesourcery.com>
20543
20544 [BZ #13717]
20545 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20546 Change to 2.6.0 everywhere.
20547 * sysdeps/unix/sysv/linux/configure: Regenerated.
20548 * sysdeps/unix/sysv/linux/kernel-features.h
20549 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
20550 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
20551 kernel versions.
20552 (__ASSUME_POSIX_TIMERS): Define unconditionally.
20553 (__ASSUME_FUTEX_REQUEUE): Remove.
20554 (__ASSUME_STATFS64): Define unconditionally.
20555 (__ASSUME_AT_SECURE): Likewise.
20556 (__ASSUME_CORRECT_SI_PID): Likewise.
20557 (__ASSUME_TGKILL): Define without depending on kernel version for
20558 i386.
20559 (__ASSUME_UTIMES): Likewise.
20560 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
20561 kernel version.
20562 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
20563 (__ASSUME_TMPFS_NAME): Likewise.
20564 * README: Update reference to Linux kernel versions.
20565
b67e9372
MP
205662012-08-02 Marek Polacek <polacek@redhat.com>
20567
1f529f7d 20568 [BZ# 14150]
b67e9372
MP
20569 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
20570 libc_cv_asm_type_prefix with %.
20571 * configure: Regenerated.
d2441631
RM
20572 * include/libc-symbols.h: Remove comment about
20573 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
20574 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
20575 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
20576 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
20577 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
20578 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20579 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
20580 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
20581 * elf/tst-unique2mod1.c: Likewise.
20582 * elf/tst-unique1mod2.c: Likewise.
20583 * elf/tst-unique1mod1.c: Likewise.
20584 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
20585 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
20586 Replace ASM_TYPE_DIRECTIVE with .type.
20587 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20588 * sysdeps/i386/sysdep.h: Likewise.
20589 * sysdeps/x86_64/sysdep.h: Likewise.
20590 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
20591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
20592 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 20593 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
20594 * sysdeps/powerpc/powerpc32/sysdep.h:
20595 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
20596 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
20597 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20598 * sysdeps/i386/fpu/e_powf.S: Likewise.
20599 * sysdeps/i386/fpu/e_expl.S: Likewise.
20600 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20601 * sysdeps/i386/fpu/e_acosh.S: Likewise.
20602 * sysdeps/i386/fpu/e_pow.S: Likewise.
20603 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20604 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20605 * sysdeps/i386/fpu/s_expm1.S: Likewise.
20606 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20607 * sysdeps/i386/fpu/e_log2.S: Likewise.
20608 * sysdeps/i386/fpu/e_log2l.S: Likewise.
20609 * sysdeps/i386/fpu/e_scalb.S: Likewise.
20610 * sysdeps/i386/fpu/e_powl.S: Likewise.
20611 * sysdeps/i386/fpu/e_log10f.S: Likewise.
20612 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20613 * sysdeps/i386/fpu/e_logl.S: Likewise.
20614 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20615 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20616 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20617 * sysdeps/i386/fpu/e_log2f.S: Likewise.
20618 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20619 * sysdeps/i386/fpu/e_log.S: Likewise.
20620 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20621 * sysdeps/i386/fpu/e_logf.S: Likewise.
20622 * sysdeps/i386/fpu/e_log10l.S: Likewise.
20623 * sysdeps/i386/fpu/e_atanh.S: Likewise.
20624 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20625 * sysdeps/i386/fpu/e_log10.S: Likewise.
20626 * sysdeps/i386/fpu/s_frexp.S: Likewise.
20627 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20628 * sysdeps/i386/fpu/s_asinh.S: Likewise.
20629 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20630 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20631 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
20632 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20633 * sysdeps/i386/i686/strtok.S: Likewise.
20634 * sysdeps/i386/i386-mcount.S: Likewise.
20635 * sysdeps/i386/strtok.S: Likewise.
20636 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
20637 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20638 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20639 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20640 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
20641 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20642 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20643 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20644 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20645 * sysdeps/x86_64/_mcount.S: Likewise.
20646 * sysdeps/x86_64/strtok.S: Likewise.
20647 * sysdeps/sh/_mcount.S: Likewise.
20648
2747bf9a
RM
206492012-08-01 Roland McGrath <roland@hack.frob.com>
20650
20651 * libio/iofopen.c: Include <fcntl.h>.
20652 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
20653 (_IO_fopen64, fopen64): Define as aliases.
20654 * libio/iofopen64.c: Include <fcntl.h>.
20655 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
20656 Conditionalize body on this.
20657 * sysdeps/wordsize-64/iofopen.c: File removed.
20658 * sysdeps/wordsize-64/iofopen64.c: File removed.
20659
3fb791b8
MP
206602012-08-01 Marek Polacek <polacek@redhat.com>
20661
20662 * libc/Makeconfig: Use elf in place of binfmt-subdir.
20663 Use dlfcn directly instead of a variable.
20664 (binfmt-subdir): Do not define.
20665 (dlfcn): Likewise.
20666
a9f1039f
JM
206672012-08-01 Joseph Myers <joseph@codesourcery.com>
20668
23bddc06
JM
20669 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
20670 Remove all definitions.
20671 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
20672 <kernel-features.h>.
20673 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20674 (miss_F_GETOWN_EX): Remove all definitions.
20675 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
20676 macro definition.
20677 [!__ASSUME_FCNTL64]: Remove conditional code.
20678 [__ASSUME_FCNTL64]: Make code unconditional.
20679 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
20680 <kernel-features.h>.
20681 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20682 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
20683 (lockf64) [__NR_fcntl64]: Make code unconditional.
20684 (lockf64) [__ASSUME_FCNTL64]: Likewise.
20685
a9f1039f
JM
20686 * sysdeps/unix/sysv/linux/kernel-features.h
20687 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
20688 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
20689 Make code unconditional.
20690 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20691 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
20693 [__NR_vfork]: Make code unconditional.
20694 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20695 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
20697 [__NR_vfork]: Make code unconditional.
20698 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20699 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20700
09c0ee5f
RM
207012012-08-01 Roland McGrath <roland@hack.frob.com>
20702
48aec5b9
RM
20703 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
20704 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
20705
cd97c966
RM
20706 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20707 Define mkstemp64 as an alias.
3f55550c
RM
20708 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20709 Define mkstemps64 as an alias.
cd97c966
RM
20710 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20711 Define mkostemp64 as an alias.
b8625cfc
RM
20712 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20713 Define mkostemps64 as an alias.
cd97c966
RM
20714 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
20715 Conditionalize body on this.
20716 * misc/mkostemp64.c: Likewise.
b8625cfc 20717 * misc/mkostemps64.c: Likewise.
3f55550c 20718 * misc/mkstemps64.c: Likewise.
cd97c966
RM
20719 * sysdeps/wordsize-64/mkstemp64.c: File removed.
20720 * sysdeps/wordsize-64/mkostemp64.c: File removed.
20721 * sysdeps/wordsize-64/mkostemp.c: File removed.
20722 * sysdeps/wordsize-64/mkstemp.c: File removed.
20723 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
20724 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
20725 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
20726 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
20727
09c0ee5f
RM
20728 [BZ #14138]
20729 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
20730 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
20731 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
20732 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
20733
20734 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
20735 compat_symbol macros from <shlib-compat.h> rather than the underlying
20736 default_symbol_version and symbol_version macros, so that DEFAULT
20737 lines in shlib-versions are respected.
20738 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
20739
7e66ee51
FW
207402012-08-01 Florian Weimer <fweimer@redhat.com>
20741
20742 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
20743 Declare with warn_unused_result.
20744 (setgid, setregid, setegid, setresgid): Likewise.
20745 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
20746 Likewise.
20747 * WUR-REPORT: Remove set*id functions.
20748
d2a54255
PT
207492012-07-31 Pino Toscano <toscano.pino@tiscali.it>
20750
20751 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
20752
7ecdb005
RM
207532012-07-31 Roland McGrath <roland@hack.frob.com>
20754
b4180a5e 20755 [BZ #10191]
789bd351
RM
20756 * include/sys/socket.h (__libc_accept, __libc_accept4):
20757 Add attribute_hidden.
20758 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
20759
40ce302d
RM
20760 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
20761 use of PTR_MANGLE.
20762 * inet/getnetgrent_r.c (setup): Likewise.
20763
7ecdb005
RM
20764 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
20765
e2eabb2c
DM
207662012-07-31 David S. Miller <davem@davemloft.net>
20767
20768 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20769
d0419dbf
JM
207702012-07-31 Joseph Myers <joseph@codesourcery.com>
20771
20772 [BZ #13629]
20773 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
20774 value between 1.0 and 2.0 and smaller part has absolute value less
20775 than 1.0.
20776 * math/s_clog10.c (__clog10): Likewise.
20777 * math/s_clog10f.c (__clog10f): Likewise.
20778 * math/s_clog10l.c (__clog10l): Likewise.
20779 * math/s_clogf.c (__clogf): Likewise.
20780 * math/s_clogl.c (__clogl): Likewise.
20781 * math/libm-test.inc (clog_test): Add more tests.
20782 (clog10_test): Likewise.
20783 * sysdeps/i386/fpu/libm-test-ulps: Update.
20784 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20785
2bc13872
FW
207862012-07-31 Florian Weimer <fweimer@redhat.com>
20787
20788 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
20789 Exit with zero in case no suitable GID is found, and write a
20790 message to standard error.
20791
bea9b193
RM
207922012-07-30 Roland McGrath <roland@hack.frob.com>
20793
20794 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
20795 rather than to 1.
20796 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
20797 (MAXPATHLEN): Removed.
20798 (NOGROUP, NODEV): New macros.
20799 (setbit, clrbit, isset, isclr): New macros.
20800 (howmany, roundup, powerof2): New macros.
20801 (DEV_BSIZE): New macro.
20802
20803 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
20804 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
20805
20806 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
20807 definition on [!__NO_LONG_DOUBLE_MATH].
20808
20809 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
20810 PTR_MANGLE and PTR_DEMANGLE.
20811
20812 * socket/accept4.c (accept4): Rename to __libc_accept4.
20813 Define accept4 as a weak alias.
20814
20815 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
20816 on [_DIRENT_HAVE_D_TYPE].
20817 * io/ftw.c (ftw_dir): Likewise.
20818
20819 * io/xmknod.c (__xmknod): Don't check PATH for being null.
20820
20821 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
20822
20823 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
20824 Use the BSD numbers rather than the arbitrary ones we had.
20825 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
20826 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
20827 (SIGXCPU, SIGXFSZ): New macros.
20828 (_NSIG): Now 32.
20829
20830 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
20831 initializer on [_LIBC_REENTRANT].
20832
20833 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
20834 definitions inside [_POSIX_MAPPED_FILES].
20835
20836 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
20837
20838 * dirent/opendir.c: Include <fcntl.h>.
20839
20840 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
20841 (__libc_getspecific): Likewise.
20842 (__libc_key_create): Likewise.
20843
20844 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
20845 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
20846 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
20847 (tmpfile64): Define as alias.
20848 * sysdeps/wordsize-64/tmpfile.c: File removed.
20849 * sysdeps/wordsize-64/tmpfile64.c: File removed.
20850 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
20851 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
20852
20853 * stdio-common/vfscanf.c: Include <stdbool.h>.
20854 * nss/makedb.c: Likewise.
20855 * stdio-common/_i18n_number.h: Likewise.
20856 * argp/argp-help.c: Likewise.
20857 * posix/wordexp.c: Likewise.
20858 * sysdeps/posix/spawni.c: Likewise.
20859 * nss/nss_files/files-initgroups.c: Likewise.
20860 * stdio-common/reg-modifier.c: Include <stdlib.h>.
20861 * nss/nss_files/files-initgroups.c: Likewise.
20862 * nss/nss_db/db-netgrp.c: Likewise.
20863 * nss/nss_db/db-initgroups.c: Likewise.
20864 * io/fchmodat.c: Include <sys/stat.h>.
20865
20866 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
20867 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
20868
20869 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
20870 [HAVE_MMAP].
20871
20872 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
20873 Add multiple inclusion protection.
20874
e5abc686
DM
208752012-07-27 David S. Miller <davem@davemloft.net>
20876
20877 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20878
815e6fa3
GB
208792012-07-27 Gary Benson <gbenson@redhat.com>
20880
20881 [BZ #14298]
20882 * elf/rtld.c: Include <stap-probe.h>.
20883 (dl_main): Added static probes "init_start" and "init_complete".
20884 * elf/dl-load.c: Include <stap-probe.h>.
20885 (lose): Take new parameter "nsid".
20886 Added static probe "map_failed".
20887 (_dl_map_object_from_fd): Pass namespace id to lose.
20888 Added static probe "map_start".
20889 (open_verify): Pass namespace id to lose.
20890 * elf/dl-open.c: Include <stap-probe.h>.
20891 (dl_open_worker) Added static probes "map_complete", "reloc_start"
20892 and "reloc_complete".
20893 * elf/dl-close.c: Include <stap-probe.h>.
20894 (_dl_close_worker): Added static probes "unmap_start" and
20895 "unmap_complete".
20896 * elf/rtld-debugger-interface.txt: New file documenting the above.
20897
9f98c16c
RM
208982012-07-26 Roland McGrath <roland@hack.frob.com>
20899
20900 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
20901 rather than a string variable.
20902 * sunrpc/rpc_main.c (h_output): Likewise.
20903 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
20904
f3c22df3
PT
209052012-07-26 Pino Toscano <toscano.pino@tiscali.it>
20906
20907 * inet/check_native.c: New file.
20908
3129cfc6
JM
209092012-07-26 Joseph Myers <joseph@codesourcery.com>
20910
da865e95
JM
20911 [BZ #13629]
20912 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
20913 if larger part has absolute value 1.0.
20914 * math/s_clog10.c (__clog10): Likewise.
20915 * math/s_clog10f.c (__clog10f): Likewise.
20916 * math/s_clog10l.c (__clog10l): Likewise.
20917 * math/s_clogf.c (__clogf): Likewise.
20918 * math/s_clogl.c (__clogl): Likewise.
20919 * math/libm-test.inc (clog_test): Add more tests.
20920 (clog10_test): Likewise.
20921 * sysdeps/i386/fpu/libm-test-ulps: Update.
20922 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20923
3129cfc6
JM
20924 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
20925 (pltexit): Likewise.
20926 (La_regs): Likewise.
20927 (La_retval): Likewise.
20928 (int_retval): Likewise.
20929 Update #error for removed macros to refer only to definitions in
20930 tst-audit.h.
20931 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
20932 macro.
20933 (pltexit): Likewise.
20934 (La_regs): Likewise.
20935 (La_retval): Likewise.
20936 (int_retval): Likewise.
20937 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
20938 macro.
20939 (pltexit): Likewise.
20940 (La_regs): Likewise.
20941 (La_retval): Likewise.
20942 (int_retval): Likewise.
20943 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
20944 macro.
20945 (pltexit): Likewise.
20946 (La_regs): Likewise.
20947 (La_retval): Likewise.
20948 (int_retval): Likewise.
20949 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
20950 macro.
20951 (pltexit): Likewise.
20952 (La_regs): Likewise.
20953 (La_retval): Likewise.
20954 (int_retval): Likewise.
20955 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
20956 macro.
20957 (pltexit): Likewise.
20958 (La_regs): Likewise.
20959 (La_retval): Likewise.
20960 (int_retval): Likewise.
20961 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
20962 macro.
20963 (pltexit): Likewise.
20964 (La_regs): Likewise.
20965 (La_retval): Likewise.
20966 (int_retval): Likewise.
20967 * sysdeps/generic/tst-audit.h: Update comment to refer only to
20968 macro definitions in tst-audit.h.
20969 * sysdeps/i386/tst-audit.h: New file.
20970 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
20971 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
20972 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
20973 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
20974 * sysdeps/sh/tst-audit.h: Likewise.
20975 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
20976 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
20977 * sysdeps/x86_64/tst-audit.h: Likewise.
20978
bfc07087
AJ
209792012-07-26 Andreas Jaeger <aj@suse.de>
20980
b1b2aaf8
AJ
20981 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
20982 ptrace.
20983
20984 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
20985 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
20986 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
20987 PTRACE_O_MASK.
20988 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
20989 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
20990 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
20991
bfc07087
AJ
20992 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
20993 value.
20994
20995 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
20996 _sigsys.
20997 (si_call_addr, si_syscall, si_arch): Define new macro.
20998 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
20999 _sigsys.
21000 (si_call_addr, si_syscall, si_arch): Define new marcro.
21001 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
21002 _sigsys.
21003 (si_call_addr, si_syscall, si_arch): Define new macro.
21004 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
21005 _sigsys.
21006 (si_call_addr, si_syscall, si_arch): Define new macro.
21007
89b4b02f
JM
210082012-07-25 Joseph Myers <joseph@codesourcery.com>
21009
21010 [BZ #13717]
21011 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21012 Change to 2.4.21 where previously 2.4.1.
21013 * sysdeps/unix/sysv/linux/configure: Regenerated.
21014 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
21015 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
21016 Linux kernel version.
21017 (__ASSUME_STD_AUXV): Remove.
21018 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
21019 kernel version.
21020 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
21021 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
21022 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
21023 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
21024 (__ASSUME_NETLINK_SUPPORT): Likewise.
21025 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
21026 (__no_netlink_support): Remove conditional definition.
21027 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
21028 Remove.
21029 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
21030 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
21031 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
21032 (if_nameindex_ioctl): Remove.
21033 (if_nameindex_netlink): Do not handle __no_netlink_support.
21034 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
21035 code.
21036 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
21037 Remove conditional code.
21038 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
21039 code.
21040 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
21041 unconditional.
21042 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
21043 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
21044 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
21045 Remove.
21046 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
21047 [!__ASSUME_STD_AUXV]: Remove conditional code.
21048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
21049 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
21050 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
21051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
21052 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
21053 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
21054 code.
21055 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
21056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21057 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
21058 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
21059 conditional code.
21060 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
21061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
21062 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
21063 code.
21064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21065 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
21066 conditional code.
21067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
21068 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21069 code unconditional.
21070 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21071 conditional code.
21072 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21073 unconditional.
21074 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21075 conditional code.
21076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21077 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21078 unconditional.
21079 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21080 conditional code.
21081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
21082 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21083 code unconditional.
21084 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21085 conditional code.
21086 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21087 unconditional.
21088 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21089 conditional code.
21090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
21091 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21092 code unconditional.
21093 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21094 conditional code.
21095 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21096 unconditional.
21097 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21098 conditional code.
21099
842a39cd
AS
211002012-07-25 Andreas Schwab <schwab@linux-m68k.org>
21101
21102 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
21103 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
21104 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
21105 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
21106 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
21107 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
21108 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
21109 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
21110 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
21111 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
21112 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
21113 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
21114 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
21115 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
21116 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
21117 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
21118 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
21119 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
21120 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
21121 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
21122 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
21123 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
21124 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
21125
84b3fd84
FW
211262012-07-25 Florian Weimer <fweimer@redhat.com>
21127
21128 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
21129 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
21130 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
21131 Introduce __libc_secure_getenv.
0c7936d5
FW
21132 * stdlib/Versions (2.17): Add secure_getenv
21133 (GLIBC_PRIVATE): Add __libc_secure_getenv.
21134 * stdlib/secure-getenv.c: Rename __secure_getenv to
21135 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
21136 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
21137 * stdlib/tst-secure-getenv.c: New.
21138 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
21139 * manual/startup.texi (Environment Access): Document
21140 secure_getenv.
84b3fd84
FW
21141 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
21142 __libc_secure_getenv.
21143 * inet/ruserpass.c (ruserpass): Likewise.
21144 * malloc/mtrace.c (mtrace): Likewise.
21145 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 21146 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
21147 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
21148 * sysdeps/posix/tempname.c: Likewise. Evaluate
21149 HAVE_SECURE_GETENV.
21150 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 21151 __secure_getenv to __libc_secure_getenv.
84b3fd84 21152 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
21153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21154 Likewise.
21155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21156 Likewise.
21157 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
21158 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
21159 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21160 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
21161 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
21162 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21163 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 21164
56e49b71
JM
211652012-07-25 Joseph Myers <joseph@codesourcery.com>
21166
21167 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
21168 (struct La_i86_retval): Likewise.
21169 (struct La_x86_64_regs): Likewise.
21170 (struct La_x86_64_retval): Likewise.
21171 (struct La_x32_regs): Likewise.
21172 (struct La_x32_retval): Likewise.
21173 (struct La_ppc32_regs): Likewise.
21174 (struct La_ppc32_retval): Likewise.
21175 (struct La_ppc64_regs): Likewise.
21176 (struct La_ppc64_retval): Likewise.
21177 (struct La_sh_regs): Likewise.
21178 (struct La_sh_retval): Likewise.
21179 (struct La_s390_32_regs): Likewise.
21180 (struct La_s390_32_retval): Likewise.
21181 (struct La_s390_64_regs): Likewise.
21182 (struct La_s390_64_retval): Likewise.
21183 (struct La_sparc32_regs): Likewise.
21184 (struct La_sparc32_retval): Likewise.
21185 (struct La_sparc64_regs): Likewise.
21186 (struct La_sparc64_retval): Likewise.
21187 (struct audit_ifaces): Remove architecture-specific pltenter and
21188 pltexit members.
21189 * sysdeps/i386/ldsodefs.h: New file.
21190 * sysdeps/powerpc/ldsodefs.h: Likewise.
21191 * sysdeps/s390/ldsodefs.h: Likewise.
21192 * sysdeps/sh/ldsodefs.h: Likewise.
21193 * sysdeps/sparc/ldsodefs.h: Likewise.
21194 * sysdeps/x86_64/ldsodefs.h: Likewise.
21195
354691b7
MP
211962012-07-25 Marek Polacek <polacek@redhat.com>
21197
21198 [BZ #6808]
21199 * math/libm-test.inc (yn_test): Add another test.
21200 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
21201 to ERANGE when the result is +-Inf.
21202 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
21203 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
21204 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
21205 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
21206
bf9e2071
JM
212072012-07-24 Joseph Myers <joseph@codesourcery.com>
21208
21209 * conform/data/time.h-data (NULL): Use macro-constant. Require
21210 equal to 0.
21211 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
21212 clock_t.
21213 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
21214
57633811
TS
212152012-07-23 Thomas Schwinge <thomas@codesourcery.com>
21216
21217 * configure.in <sysdeps resolving>: Correct printing
21218 Implies_before.
21219 * configure: Regenerate.
21220
c23c33b0
TS
212212012-07-22 Thomas Schwinge <thomas@codesourcery.com>
21222
21223 * math/w_ilogb.c: Include <limits.h>.
21224 * math/w_ilogbl.c: Likewise.
21225
b5982523
JM
212262012-07-20 Joseph Myers <joseph@codesourcery.com>
21227
21228 * manual/lang.texi (__va_copy): Document primarily as ISO C99
21229 va_copy. Document allowing for unavailable va_copy only as
21230 pre-C99 compatibility.
21231 * manual/string.texi (Copying and Concatenation): Use va_copy
21232 instead of __va_copy in concat example.
21233
ac4ea442
PT
212342012-07-20 Pino Toscano <toscano.pino@tiscali.it>
21235
21236 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
21237 (__sendto): Use create_address_port. Initialize APORT and deallocate
21238 it if not null.
21239
f98eafbd
PT
21240 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
21241 with O_NOLINK passed to __file_name_lookup.
21242
898c7aab
PT
21243 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
21244 with O_NOLINK passed to __file_name_lookup.
21245
0ced335a
PT
21246 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
21247 negative N or less than NGIDS.
21248
b3404dbd
PT
21249 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
21250 type to string_t. Set ERANGE as errno and return it if NAME is not big
21251 enough. Use memcpy instead of strncpy.
21252
0f48659e
JM
212532012-07-20 Joseph Myers <joseph@codesourcery.com>
21254
21255 * elf/Makefile (check-data): Remove.
21256 (localplt.data): New vpath directive.
21257 ($(objpfx)check-localplt.out): Use localplt.data from vpath
21258 instead of $(check-data).
21259 * scripts/data/localplt-generic.data: Move to ...
21260 * sysdeps/generic/localplt.data: ... here.
21261 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
21262 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
21263 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
21264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
21265 ... here.
21266 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
21267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
21268 ... here.
21269 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
21270 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
21271 ... here.
21272 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
21273 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
21274 ... here.
21275 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
21276 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
21277 ... here.
21278 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
21279 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
21280 ... here.
21281
d37cbdaa
AZ
212822012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21283
21284 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
21285 PPC32 and PPC64 files.
21286 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
21287 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
21288
46f85fc2
AK
212892012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21290
21291 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
21292 __makecontext_ret to ...
21293 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
21294 ... here and call exit if uc_link is NULL. New file.
21295 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
21296 __makecontext_ret.S.
21297 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
21298 __makecontext_ret to ...
21299 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
21300 ... here and call exit if uc_link is NULL. New file.
21301 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
21302 __makecontext_ret.S.
21303
08f43f9b
AK
213042012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21305
21306 * elf/elf.h (R_390_IRELATIVE): New definition.
21307 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
21308 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
21309 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
21310 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
21311 (elf_machine_lazy_rel): Likewise.
21312 * sysdeps/s390/dl-irel.h: New file.
21313 * sysdeps/s390/s390-64/memcpy.S: New asm code.
21314 * sysdeps/s390/s390-64/memset.S: New asm code.
21315 * sysdeps/s390/s390-64/memcmp.S: New asm code.
21316 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
21317 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
21318 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
21319 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
21320 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
21321 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
21322 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
21323 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
21324 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
21325 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
21326 * sysdeps/s390/s390-32/memcpy.S: New asm code.
21327 * sysdeps/s390/s390-32/memset.S: New asm code.
21328 * sysdeps/s390/s390-32/memcmp.S: New asm code.
21329
3b05db33
MP
213302012-07-17 Marek Polacek <polacek@redhat.com>
21331
21332 [BZ #14349]
21333 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
21334 * sysdeps/s390/s390-64/configure.in: Likewise.
21335 * sysdeps/sparc/configure.in: Likewise.
21336 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
21337 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
21338 * sysdeps/i386/configure.in: Likewise.
21339 * sysdeps/x86_64/configure.in: Likewise.
21340 * sysdeps/sh/configure.in: Likewise.
21341 * sysdeps/s390/s390-32/configure: Regenerated.
21342 * sysdeps/s390/s390-64/configure: Likewise.
21343 * sysdeps/x86_64/configure: Likewise.
21344 * sysdeps/sh/configure: Likewise.
21345 * sysdeps/powerpc/powerpc64/configure: Likewise.
21346 * sysdeps/powerpc/powerpc32/configure: Likewise.
21347 * sysdeps/sparc/configure: Likwise.
21348 * sysdeps/i386/configure: Likewise.
21349
a66877c6
MP
21350 * elf/dl-open.c: Comment fixes.
21351
cfc82fd8
JM
213522012-07-17 Joseph Myers <joseph@codesourcery.com>
21353
bd29910a
JM
21354 * Makefile [CXX] (check-data): Remove.
21355 [CXX] (c++-types.data): New vpath directive.
21356 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
21357 vpath. Do not allow for C++ type data being missing.
21358 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
21359 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
21360 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
21361 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
21362 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
21363 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
21364 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
21365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
21366 ... here.
21367 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
21368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
21369 ... here.
21370 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
21371 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
21372 ... here.
21373 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
21374 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
21375 ... here.
21376 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
21377 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
21378 ... here.
21379 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
21380 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
21381 ... here.
21382 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
21383 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
21384 ... here.
21385 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
21386 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
21387
cfc82fd8
JM
21388 * elf/tls-macros.h (TLS_LE): Move architecture-specific
21389 definitions to architecture-specific files.
21390 (TLS_IE): Likewise.
21391 (TLS_LD): Likewise.
21392 (TLS_GD): Likewise.
21393 * sysdeps/i386/tls-macros.h: New file.
21394 * sysdeps/powerpc/tls-macros.h: Likewise.
21395 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
21396 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
21397 * sysdeps/sh/tls-macros.h: Likewise.
21398 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
21399 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
21400 * sysdeps/x86_64/tls-macros.h: Likewise.
21401
f7db3170
TS
214022012-07-17 Thomas Schwinge <thomas@codesourcery.com>
21403
07cbfc23
TS
21404 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
21405 zero value for regular exit case.
21406
f7db3170
TS
21407 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
21408 (__start_context): Preserve zero value for regular exit case.
21409
dc97c227
TS
214102012-07-17 Thomas Schwinge <thomas@codesourcery.com>
21411 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21412
21413 * manual/setjmp.texi (setcontext): Clarify normal process
21414 termination when uc_link is the null pointer.
21415 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
21416 exit call.
21417
d0cd7d02
AS
214182012-07-16 Andreas Schwab <schwab@linux-m68k.org>
21419
21420 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
21421 preprocessor. Test for each exception mask separately.
21422
dd318934
AJ
214232012-07-16 Andreas Jaeger <aj@suse.de>
21424
21425 * po/ru.po: Update from translation team.
21426
8048311a
JM
214272012-07-15 Joseph Myers <joseph@codesourcery.com>
21428
21429 * conform/data/string.h-data (NULL): Use macro-constant. Require
21430 equal to 0.
21431 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
21432 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
21433 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
21434 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
21435 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21436
b637d46e
AJ
214372012-07-13 Andreas Jaeger <aj@suse.de>
21438
21439 * po/fr.po: Update from translation team.
21440
541428fe
MP
214412012-07-12 Marek Polacek <polacek@redhat.com>
21442
21443 [BZ #14173]
21444 * math/libm-test.inc (yn_test): Add test for BZ #14173.
21445 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
21446 loop condition.
21447
ec332e94
JM
214482012-07-12 Joseph Myers <joseph@codesourcery.com>
21449
21450 [BZ #13717]
21451 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21452 Change to 2.4.1 where previously 2.4.0.
21453 * sysdeps/unix/sysv/linux/configure: Regenerated.
21454 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
21455 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
21456 version.
21457 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
21458 (__ASSUME_AT_CLKTCK): Remove.
21459 (__ASSUME_AT_PAGESIZE): Likewise.
21460 (__ASSUME_AT_XID): Likewise.
21461 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
21462 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
21463 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
21464 unconditionally.
21465 (HAVE_AUX_PAGESIZE): Likewise.
21466 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
21467 [__ASSUME_AT_CLKTCK]: Make code unconditional.
21468 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
21469
7b6e99be
JB
214702012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
21471
21472 [BZ #14307]
21473 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
21474 the temporary buffer used to invoke __gethostbyname2_r,
21475 __gethostbyaddr_r and gethostbyname4_r to make room for struct
21476 host_data / struct gaih_addrtuple.
21477 * resolv/nss_dns/dns-host.c (global scope): Move definition of
21478 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
21479 header file nss/nsswitch.h.
21480 * nss/nsswitch.h (global scope): Add definition of implementation
21481 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
21482 resolv/nss_dns/dns-host.c).
21483
608404eb
AJ
214842012-07-11 Andreas Jaeger <aj@suse.de>
21485
21486 * po/fr.po: Update from translation team.
21487
71220aca
AJ
21488 * po/sv.po: Update from translation team
21489 * po/fr.po: Another update from translation team.
21490
28cfe843
AZ
214912012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21492
21493 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
21494 for subnormals or multiply small sinh result by itself.
21495 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21496 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21497
6b90f981
DM
214982012-07-11 David S. Miller <davem@davemloft.net>
21499
21500 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21501
c6825772
AS
215022012-07-10 Andreas Schwab <schwab@linux-m68k.org>
21503
21504 [BZ #14347]
21505 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
21506 (INTERNAL_MARK): Shift it here.
21507
7b8e0d49
MP
215082012-07-10 Marek Polacek <polacek@redhat.com>
21509
21510 [BZ #14151]
21511 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
21512 libc_cv_asm_global_directive with .globl.
21513 * configure: Regenerated.
21514 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
21515 with .globl.
21516 * sysdeps/i386/configure: Regenerated.
21517 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
21518 with .globl.
21519 * sysdeps/x86_64/configure: Regenerated.
21520 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
21521 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
21522 * elf/tst-unique2mod2.c: Likewise.
21523 * elf/tst-unique2mod1.c: Likewise.
21524 * elf/tst-unique1mod2.c: Likewise.
21525 * elf/tst-unique1mod1.c: Likewise.
21526 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21527 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
21528 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21529 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21530 * sysdeps/mach/sysdep.h: Likewise.
21531 * sysdeps/i386/sysdep.h: Likewise.
21532 * sysdeps/i386/i386-mcount.S: Likewise.
21533 * sysdeps/x86_64/_mcount.S: Likewise.
21534 * sysdeps/x86_64/sysdep.h: Likewise.
21535 * sysdeps/sh/_mcount.S: Likewise.
21536 * sysdeps/sh/sysdep.h: Likewise.
21537 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
21538 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
21539 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
21540 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21541 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
21542 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
21543 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
21544 * locale/localeinfo.h: Likewise.
21545 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
21546 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
21547
6c55cda3
RM
215482012-07-09 Roland McGrath <roland@hack.frob.com>
21549
21550 [BZ #14336]
21551 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
21552 system".
21553 * manual/message.texi (The Uniforum approach): Likewise.
21554 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
21555 (glibc iconv Implementation): Likewise.
21556
638a572e
JM
215572012-07-09 Joseph Myers <joseph@codesourcery.com>
21558
21559 [BZ #14337]
21560 * math/s_clog.c (__clog): Avoid scaling a value down where that
21561 could result in underflow.
21562 * math/s_clog10.c (__clog10): Likewise.
21563 * math/s_clog10f.c (__clog10f): Likewise.
21564 * math/s_clog10l.c (__clog10l): Likewise.
21565 * math/s_clogf.c (__clogf): Likewise.
21566 * math/s_clogl.c (__clogl): Likewise.
21567 * math/libm-test.inc (clog_test): Add more tests.
21568 (clog10_test): Likewise.
21569 * sysdeps/i386/fpu/libm-test-ulps: Update.
21570 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21571
261f4859
AS
215722012-07-06 Andreas Schwab <schwab@linux-m68k.org>
21573
0abaf3e4
AS
21574 [BZ #14283]
21575 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
21576 by 7 not 8 to examine high bit of fractional part.
21577
261f4859
AS
21578 [BZ #14042]
21579 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
21580 for call to __mcount_internal.
21581 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
21582 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
21583 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
21584
f17ac40d
JM
215852012-07-06 Joseph Myers <joseph@codesourcery.com>
21586
9ad63c23
JM
21587 [BZ #14154]
21588 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
21589 approximation for values within 0x1p-13f of an odd multiple of
21590 pi/4.
21591 * math/libm-test.inc (tan_test): Do not allow spurious underflow
21592 exception. Add more tests.
21593 * sysdeps/i386/fpu/libm-test-ulps: Update.
21594
f17ac40d
JM
21595 [BZ #6778]
21596 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
21597 inputs and return -1 for them. Do not check for +Inf in case not
21598 reachable for +Inf.
21599 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
21600 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
21601 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21602 and return -1 for them. Do not check for +Inf in case not
21603 reachable for +Inf.
21604 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
21605 define.
21606 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21607 and return -1 for them. Do not check for +Inf in case not
21608 reachable for +Inf.
21609 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
21610 spurious underflow.
21611 * sysdeps/i386/fpu/libm-test-ulps: Update.
21612 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21613
fb21f89b
MF
216142012-07-06 Mike Frysinger <vapier@gentoo.org>
21615
21616 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
21617
cdfe2c5e
JM
216182012-07-05 Joseph Myers <joseph@codesourcery.com>
21619
21620 [BZ #14157]
21621 [BZ #14331]
21622 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
21623 could result in spurious underflow. Scale down values above
21624 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
21625 * math/s_csqrtf.c (__csqrtf): Likewise.
21626 * math/s_csqrtl.c (__csqrtl): Likewise.
21627 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
21628 spurious underflow.
21629 * sysdeps/i386/fpu/libm-test-ulps: Update.
21630 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21631
70d35b67
AS
216322012-07-04 Andreas Schwab <schwab@linux-m68k.org>
21633
704bc459
AS
21634 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
21635 xopen-msg.sed.
21636 * catgets/xopen-msg.awk: New file.
21637 * catgets/xopen-msg.sed: Removed.
21638
70d35b67
AS
21639 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
21640 po2text.sed.
21641 * intl/po2test.awk: New file.
21642 * intl/po2test.sed: Removed.
21643
ca61cf32
JM
216442012-07-04 Joseph Myers <joseph@codesourcery.com>
21645
21646 [BZ #14328]
21647 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
21648 or multiply small sinh result by itself.
21649 * math/s_ctanf.c (__ctanf): Likewise.
21650 * math/s_ctanh.c (__ctanh): Likewise.
21651 * math/s_ctanhf.c (__ctanhf): Likewise.
21652 * math/s_ctanhl.c (__ctanhl): Likewise.
21653 * math/s_ctanl.c (__ctanl): Likewise.
21654 * math/libm-test.inc (ctan_test_tonearest): New function.
21655 (ctan_test_towardzero): Likewise.
21656 (ctan_test_downward): Likewise.
21657 (ctan_test_upward): Likewise.
21658 (ctanh_test_tonearest): Likewise.
21659 (ctanh_test_towardzero): Likewise.
21660 (ctanh_test_downward): Likewise.
21661 (ctanh_test_upward): Likewise.
21662 (main): Call these new functions.
21663 * sysdeps/i386/fpu/libm-test-ulps: Update.
21664 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21665
ca48a46a
MF
216662012-07-03 Mike Frysinger <vapier@gentoo.org>
21667
21668 * .gitignore: Delete /ports entry.
21669
9d63d37d
AJ
216702012-07-03 Andreas Jaeger <aj@suse.de>
21671
21672 * po/bg.po: Update from translation team.
21673 * po/cs.po: Likewise.
21674 * po/de.po: Likewise.
21675 * po/hr.po: Likewise.
21676 * po/nl.pl: Likewise.
21677 * po/pl.po: Likewise.
21678 * po/vi.po: Likewise.
21679
370ca3d2
JM
216802012-07-03 Joseph Myers <joseph@codesourcery.com>
21681
95f5a9a8
JM
21682 * Makeconfig [!+link] (+link-before-libc): New variable.
21683 [!+link] (+link-after-libc): Likewise.
21684 [!+link] (+link-tests): Likewise.
21685 [!+link] (+link): Define in terms of $(+link-before-libc) and
21686 $(+link-after-libc).
21687 [!+link-static] (+link-static-before-libc): New variable.
21688 [!+link-static] (+link-static-after-libc): Likewise.
21689 [!+link-static] (+link-static-tests): Likewise.
21690 [!+link-static] (+link-static): Define in terms of
21691 $(+link-static-before-libc) and $(+link-static-after-libc).
21692 [build-shared] (link-libc-before-gnulib): New variable.
21693 [build-shared] (link-libc-tests): Likewise.
21694 [build-shared] (link-libc): Define in terms of
21695 $(link-libc-before-gnulib).
21696 [!build-shared] (link-libc-tests): New variable.
21697 (link-libc-static-tests): New variable.
21698 [!gnulib] (gnulib-arch): New variable.
21699 [!gnulib] (gnulib-tests): Likewise.
21700 [!gnulib] (static-gnulib-arch): Likewise.
21701 [!gnulib] (static-gnulib-tests): Likewise.
21702 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
21703 Define with "=" instead of ":=".
21704 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
21705 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
21706 * Rules (binaries-all-notests): New variable.
21707 (binaries-all-tests): Likewise.
21708 (binaries-static-notests): Likewise.
21709 (binaries-static-tests): Likewise.
21710 (binaries-all): Define using $(binaries-all-notests) and
21711 $(binaries-all-tests).
21712 (binaries-static): Define using $(binaries-static-notests) and
21713 $(binaries-static-tests).
21714 (binaries-shared-tests): New variable.
21715 (binaries-shared-notests): Likewise.
21716 (binaries-shared): Remove variable.
21717 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
21718 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
21719 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
21720 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
21721 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
21722 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
21723 * elf/Makefile (sln-modules): New variable.
21724 (extra-objs): Add $(sln-modules:=.o).
21725 (ldconfig-modules): Add static-stubs.
21726 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
21727 * elf/static-stubs.c: New file.
21728
7a845b2c
JM
21729 [BZ #14283]
21730 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
21731 by 7 not 8 to examine high bit of fractional part. Use volatile
21732 variables when splitting into final array of floats if
21733 __FLT_EVAL_METHOD__ != 0.
21734 * math/libm-test.inc (cos_test): Add another test.
21735 (sin_test): Likewise.
21736 * sysdeps/i386/fpu/libm-test-ulps: Update.
21737
e2283f38
JM
21738 [BZ #14273]
21739 * math/libm-test.inc (cosh_test): Add more tests.
21740
370ca3d2
JM
21741 * version.h (RELEASE): Set to "development".
21742 (VERSION): Set to "2.16.90".
21743
ee9247c3
CD
217442012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
21745
21746 * NEWS: Update copyright. Remove last-updated date.
21747 Mention math library bug fixes and timezone data changes.
21748 * README: Mention GNU/Hurd, x32, and HPPA support status.
21749
4648c381
TS
217502012-06-28 Thomas Schwinge <thomas@codesourcery.com>
21751
21752 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
21753
aac78a43
AJ
217542012-06-27 Andreas Jaeger <aj@suse.de>
21755
21756 * manual/contrib.texi (Contributors): Add Samuel Thibault.
21757
ed3dbfad
AJ
217582012-06-25 Andreas Jaeger <aj@suse.de>
21759
21760 * sysdeps/s390/fpu/libm-test-ulps: Update.
21761
4d0ee855
AS
217622012-06-23 Andreas Schwab <schwab@linux-m68k.org>
21763 Thomas Schwinge <thomas@codesourcery.com>
21764
21765 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
21766 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
21767 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
21768 fanotify_mark.
21769
af1bce34
TS
217702012-06-23 Thomas Schwinge <thomas@codesourcery.com>
21771
a9fa33ba
TS
21772 * sysdeps/mach/start.c: Remove file.
21773 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
21774 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
21775 * sysdeps/sh/init-first.c: Likewise.
21776
58f902b8
TS
21777 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
21778 registers for frame unwinding purposes, add CFI directives.
21779 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
21780 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
21781 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
21782 Likewise.
21783
1518f58b
TS
21784 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
21785 __fortify_fail returning.
21786 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
21787
db9b5059
TS
21788 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
21789 sysdeps/sh/____longjmp_chk.S.
21790 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
21791 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
21792 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
21793 (gen-as-const-headers): Append sigaltstack-offsets.sym.
21794
967705fe
TS
21795 * sysdeps/sh/abort-instr.h: New file.
21796 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
21797 process in case exit returns.
21798
a9def8c4
TS
21799 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
21800 initialize the GOT register before use.
21801
2a649725
TS
21802 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
21803 calculation of ARGC > 4.
21804
af1bce34
TS
21805 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
21806 meaningful names to some local labels.
21807
d230f50a
KK
218082012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21809 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21810
21811 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
21812 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
21813 (__arch_compare_and_exchange_val_16_acq): Likewise.
21814 (__arch_compare_and_exchange_val_32_acq): Likewise.
21815 (atomic_exchange_and_add): Fix gUSA sequence.
21816 (atomic_add): Likewise.
21817 (atomic_add_negative): Likewise.
21818 (atomic_add_zero): Likewise.
21819 (atomic_bit_test_set): Likewise.
21820
0479b305
AS
218212012-06-22 Andreas Schwab <schwab@redhat.com>
21822
21823 [BZ #13579]
21824 * include/link.h (struct link_map): Add l_free_initfini.
21825 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
21826 l_initfini.
21827 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
21828 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
21829 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
21830 set.
21831
0e3933b9
CD
218322012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
21833
21834 * configure.in: Use AC_LANG_SOURCE.
21835 * configure: Regenerate.
21836
4248b1b1
RM
218372012-06-22 Roland McGrath <roland@hack.frob.com>
21838
21839 * configure.in (libc_cv_localstatedir): New substituted variable.
21840 * configure: Regenerated.
21841 * config.make.in (localstatedir): New variable, substituted from
21842 libc_cv_localstatedir.
21843 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
21844 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
21845 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
21846 * sysdeps/gnu/configure: Regenerated.
21847
006dd861
JL
218482012-06-21 Jeff Law <law@redhat.com>
21849
21850 [BZ #14277]
21851 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
21852 free. Simplify list management for _LIBC case.
21853
79662d42
JM
218542012-06-21 Joseph Myers <joseph@codesourcery.com>
21855
b7abb4bf
JM
21856 [BZ #14273]
21857 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
21858 Clear sign bit of 64-bit integer value before comparing against
21859 overflow value.
21860
79662d42
JM
21861 * sysdeps/mach/configure: Regenerated.
21862
1f150908
L
218632012-06-21 H.J. Lu <hongjiu.lu@intel.com>
21864
21865 [BZ #14278]
21866 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
21867
28363bbf
JL
218682012-06-21 Jeff Law <law@redhat.com>
21869
21870 [BZ #13882]
21871 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
21872 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 21873 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
21874 * elf/dl-open.c (dl_open_worker): Likewise.
21875
09615db4
CD
218762012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
21877
21878 * scripts/list-sources.sh: Scan PORTS for translations.
21879 * po/libc.pot: Regenerated.
21880
2174c6dd
AJ
218812012-06-21 Andreas Jaeger <aj@suse.de>
21882
21883 [BZ #12194]
21884 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
21885 warning.
21886 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
21887 * bits/byteswap-16.h (__bswap_16): Likewise.
21888 * bits/byteswap.h (__bswap_constant_16): Likewise.
21889
3ee947b1
L
218902012-06-18 H.J. Lu <hongjiu.lu@intel.com>
21891
21892 [BZ #14117]
a2f34833
L
21893 * sysdeps/i386/fpu_control.h: Removed.
21894 * sysdeps/x86_64/fpu_control.h: Moved to ...
21895 * sysdeps/x86/fpu_control.h: Here.
21896
3ee947b1
L
21897 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
21898 (_FPU_SETCW): Likewise.
21899
ed1825f8
L
219002012-06-15 H.J. Lu <hongjiu.lu@intel.com>
21901
25f1282a
L
21902 [BZ #14117]
21903 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
21904 * sysdeps/x86/fpu/bits/mathinline.h: This.
21905 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
21906
ed1825f8
L
21907 [BZ #14050]
21908 [BZ #14117]
21909 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
21910 functions if __x86_64__ is defined.
21911
36d54b74
CLT
219122012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
21913
21914 * string/endian.h: Add !__ASSEMBLER__ condition for including
21915 conversion interfaces.
21916
10285c21
JM
219172012-06-15 Joseph Myers <joseph@codesourcery.com>
21918
21919 [BZ #14241]
21920 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
21921 of ABS(x) in calculating zero to negative powers other than odd
21922 integers.
21923 * math/libm-test.inc (pow_test): Add more tests.
21924
06c5abbd
AJ
219252012-06-15 Andreas Jaeger <aj@suse.de>
21926
21927 * manual/contrib.texi (Contributors): Update entry of Liubov
21928 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
21929 Machado Filho.
21930
a3aeac40
CH
219312012-06-15 Cyril Hrubis <metan@ucw.cz>
21932
21933 * string/string.h: Add __wur to GNU version of strerror_r.
21934
49bdf4c1
L
219352012-06-14 H.J. Lu <hongjiu.lu@intel.com>
21936
21937 [BZ #14229]
21938 * string/Makefile (tests): Add tst-strtok_r.
21939 * string/tst-strtok_r.c: New file.
21940 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
21941 RAX_LP/RDX_LP on SAVE_PTR.
21942
834f9b8d
RM
219432012-06-14 Roland McGrath <roland@hack.frob.com>
21944
21945 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
21946
75fa1921
JM
219472012-06-14 Joseph Myers <joseph@codesourcery.com>
21948
21949 * libm_test.inc (csqrt_test): Allow more spurious underflow
21950 exceptions.
21951 (j0_test): Likewise.
21952 (j1_test): Likewise.
21953 (y0_test): Likewise.
21954 (y1_test): Likewise.
21955
771766df
CD
219562012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
21957
21958 * po/Makefile (libc.pot): Use UTF-8 charset.
21959
ceb9e56b
PP
219602012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
21961
21962 [BZ #14210]
21963 Suppress sign-conversion warning from FD_SET.
21964 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
21965 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
21966 not unsigned long int.
21967 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
21968
ddb28975
L
219692012-06-12 H.J. Lu <hongjiu.lu@intel.com>
21970
21971 [BZ #14050]
21972 [BZ #14117]
21973 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
21974 __extern_always_inline instead of __extern_inline.
21975 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
21976 (__signbit): Likewise.
21977 (__signbitl): Support C++ namespace.
21978 (lrintf): New inline function.
21979 (lrint): Likewise.
21980 (llrintf): Likewise.
21981 (llrint): Likewise.
21982 (fmaxf): Likewise.
21983 (fmax): Likewise.
21984 (fminf): Likewise.
21985 (fmin): Likewise.
21986 (rint): Likewise.
21987 (rintf): Likewise.
21988 (ceil): Likewise.
21989 (ceilf): Likewise.
21990 (floor): Likewise.
21991 (floorf): Likewise.
21992 (nearbyint): Likewise.
21993 (nearbyintf): Likewise.
21994
d7b4fb26
TS
219952012-06-12 Thomas Schwinge <thomas@codesourcery.com>
21996
21997 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
21998 non-default versions.
21999
eb55f5c2
RM
220002012-06-11 Roland McGrath <roland@hack.frob.com>
22001
22002 [BZ #14218]
22003 * manual/argp.texi (Argp): Reword argp_parse description slightly.
22004
366af02c
TS
220052012-06-09 Thomas Schwinge <thomas@codesourcery.com>
22006
99ff6e5c
TS
22007 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
22008 (FE_UPWARD, FE_DOWNWARD): Don't define.
22009 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
22010 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22011
366af02c
TS
22012 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
22013 reading it.
22014 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22015 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22016
793ea851
KK
220172012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22018
22019 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
22020 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
22021 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
22022 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
22023
a728a38f
L
220242012-06-06 H.J. Lu <hongjiu.lu@intel.com>
22025
22026 [BZ #14117]
c08010c7
L
22027 * sysdeps/i386/fpu/bits/fenv.h: Removed.
22028 * sysdeps/i386/fpu/Implies: New file.
22029 * sysdeps/x86_64/fpu/Implies: Likewise.
22030 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
22031 * sysdeps/x86/fpu/bits/fenv.h: This.
22032
a728a38f
L
22033 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
22034 __SSE_MATH__.
22035
6e230d11
SP
220362012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
22037
22038 [BZ #14134]
22039 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
22040 character 0xffff that matches the last element of the
22041 conversion table.
22042
1b671feb
AZ
220432012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22044
22045 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
22046 fmodl commit.
22047
6043738b
AZ
220482012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22049
22050 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
22051 values higher than 25.6283.
22052
34ae0b32
AZ
220532012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22054
22055 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
22056 subnormal exponent extraction and add some __builtin_expect.
22057 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
22058 Fix for subnormal mantissa calculation.
22059
1214ec8f
MF
220602012-06-04 Mike Frysinger <vapier@gentoo.org>
22061
22062 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
22063 cpu2 is -1 and errno is not ENOSYS.
22064
f3d1f93c
L
220652012-06-04 H.J. Lu <hongjiu.lu@intel.com>
22066
22067 [BZ #14117]
0e4a3cd7
L
22068 * sysdeps/i386/i486/bits/string.h: Renamed to ...
22069 * sysdeps/x86/bits/string.h: This.
22070 * sysdeps/x86_64/bits/string.h: Removed.
22071
6704c645
L
22072 * sysdeps/i386/i486/bits/string.h: Define inline functions only
22073 if not compiling for x86-64, but compiling for >= i486.
22074
48495318
L
22075 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
22076 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
22077
14adcbfc
L
22078 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
22079 New macro from Linux kernel 3.4.0.
22080 (FP_XSTATE_MAGIC2): Likewise.
22081 (FP_XSTATE_MAGIC2_SIZE): Likewise.
22082 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
22083 (struct _fpx_sw_bytes): New struct.
22084 (struct _xsave_hdr): Likewise.
22085 (struct _ymmh_state): Likewise.
22086 (struct _xstate): Likewise.
22087
68e408ab
L
22088 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
22089 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
22090 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
22091 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
22092 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
22093 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
22094
f3d1f93c
L
22095 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
22096 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
22097 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
22098 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
22099 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
22100 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
22101
d9dc34cd
TMQMF
221022012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22103
22104 [BZ #13743]
22105 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
22106 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
22107 (sysdep_headers): Include sys/platform/ppc.h.
22108 * sysdeps/powerpc/test-gettimebase.c: Test for
22109 __ppc_get_timebase() to catch future ISA opcode/insn changes.
22110 * manual/Makefile (appendices): Include platform.texi.
22111 * manual/contrib.texi (Contributors): Update @node pointers.
22112 * manual/maint.texi (Maintenance): Likewise.
22113 (Platform): New node.
22114 * manual/platform.texi: New file. Document the new features.
22115
4af3879c
SP
221162012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22117 Jakub Jelinek <jakub@redhat.com>
22118
22119 [BZ #14188]
22120 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
22121 where __builtin_expect is unavailable.
22122
2fd6ff13
DM
221232012-06-03 David S. Miller <davem@davemloft.net>
22124
22125 * stdlib/longlong.h: Updated from GCC.
22126
173f7220
AS
221272012-06-02 Andreas Schwab <schwab@linux-m68k.org>
22128
22129 [BZ #14042]
22130 * sysdeps/powerpc/powerpc32/mcount.c: New file.
22131 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
22132 __mcount_internal.
22133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
22134 (GLIBC_2.16): Likewise.
22135
f34a1c6f
L
221362012-06-01 H.J. Lu <hongjiu.lu@intel.com>
22137
22138 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
22139
88a4576f
JM
221402012-06-01 Joseph Myers <joseph@codesourcery.com>
22141
ea32bcdd
JM
22142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
22143 (default-abi): New variable.
22144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
22145 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
22146 variable.
22147 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
22148 Likewise.
22149 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
22150 Likewise.
22151 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
22152 Likewise.
22153
88a4576f
JM
22154 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
22155 definition. Document in comment.
22156
402fe938
DM
221572012-06-01 David S. Miller <davem@davemloft.net>
22158
22159 * stdlib/longlong.h: Updated from GCC.
22160
3553723f
L
221612012-06-01 H.J. Lu <hongjiu.lu@intel.com>
22162
22163 [BZ #14117]
3bd872c4
L
22164 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
22165 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
22166 sys/debugreg.h sys/io.h here.
22167 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
22168 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
22169 sys/io.h.
22170 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
22171 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
22172 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
22173 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
22174 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
22175 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
22176
3553723f
L
22177 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
22178 Define only if __x86_64__ is defined.
22179
4842e4fe
JM
221802012-06-01 Joseph Myers <joseph@codesourcery.com>
22181
c5bfe3d5
JM
22182 [BZ #14048]
22183 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
22184 Use int64_t for variable i.
22185 * math/libm-test.inc (fmod_test): Add more tests.
22186
4842e4fe
JM
22187 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
22188 z computation is not scheduled after fetestexcept.
22189 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
22190 Use math_force_eval instead of asm to ensure calculation scheduled
22191 before exception test.
22192 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
22193 Ensure a1 + u.d computation is not scheduled after fetestexcept.
22194
efb73488
AJ
221952012-06-01 Aurelien Jarno <aurelien@aurel32.net>
22196
22197 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
22198 computation is not scheduled after fetestexcept.
22199
29bcce7c
L
222002012-06-01 H.J. Lu <hongjiu.lu@intel.com>
22201
22202 [BZ #14117]
22203 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
22204 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
22205
73a68f94
AZ
222062012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22207
22208 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
22209 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22210
67b6df78
L
222112012-05-31 H.J. Lu <hongjiu.lu@intel.com>
22212
edf2933a 22213 [BZ #14117]
ebc64a18
L
22214 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
22215 <bits/wordsize.h>.
22216 (__WCHAR_MIN): Support __WORDSIZE == 64.
22217 (__WCHAR_MAX): Likewise.
22218
edf2933a
L
22219 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
22220 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
22221
57c6cf40
L
22222 [BZ #14183]
22223 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
22224 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
22225
67b6df78 22226 [BZ #14117]
8eb6281e
L
22227 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
22228 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
22229
aac639f4
L
22230 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
22231 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
22232
67b6df78
L
22233 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
22234 Defined to 1 if __x86_64__ isn't defined.
22235 (_STAT_VER_LINUX_OLD): New.
22236 (st_atime): Remove duplicate.
22237 (st_mtime): Likewise.
22238 (st_ctime): Likewise.
22239
1c2cfe81
DM
222402012-05-31 David S. Miller <davem@davemloft.net>
22241
22242 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
22243 entries.
22244
5be8418c
AS
222452012-06-01 Andreas Schwab <schwab@linux-m68k.org>
22246
e7725326
AS
22247 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
22248 gen-libm-test.pl.
22249
5be8418c
AS
22250 [BZ #14132]
22251 * elf/dl-reloc.c: Include <_itoa.h>.
22252 (_dl_reloc_bad_type): Remove use of INTUSE.
22253 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
22254 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
22255 * stdio-common/psiginfo.c (psiginfo): Likewise.
22256 * stdio-common/psignal.c (psignal): Likewise.
22257 * string/strsignal.c (strsignal): Likewise.
22258 * include/signal.h (_sys_siglist): Declare hidden proto.
22259 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
22260 INTVARDEF with libc_hidden_data_def.
22261 * stdio-common/itoa-udigits.c: Likewise.
22262 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
22263 (_itoa_lower_digits_internal): Remove declaration.
22264 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
22265 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
22266 (_sys_sigabbrev_internal): Remove aliases.
22267 (_sys_siglist): Define hidden alias.
22268
507352f1
MT
222692012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
22270
22271 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22272 bits/sysctl.h.
22273
42bbb1c3
L
222742012-05-31 H.J. Lu <hongjiu.lu@intel.com>
22275
22276 [BZ #14117]
6bd784b6
L
22277 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
22278 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
22279
8bca20f0
L
22280 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
22281 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
22282 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
22283 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
22284 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
22285 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
22286
f9e890a9
L
22287 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
22288 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
22289 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
22290
471101a1
L
22291 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
22292 with __addr.
22293 (insw): Likewise.
22294 (insl): Likewise.
22295 (outsb): Likewise.
22296 (outsw): Likewise.
22297 (outsl): Likewise.
22298
6451c862
L
22299 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
22300 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
22301 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
22302
a254b8c9
L
22303 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
22304 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
22305 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
22306 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
22307 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
22308 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
22309
b8dfdd92
L
22310 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
22311 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
22312
578cd270
L
22313 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
22314 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
22315
de662f5f
L
22316 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
22317 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
22318 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
22319
25653439
L
22320 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
22321 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
22322 to ...
22323 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
22324
6bad24a0
L
22325 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
22326 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
22327 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
22328
42bbb1c3
L
22329 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
22330 for x86-64.
22331 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
22332
2d10d547
JM
223332012-05-31 Joseph Myers <joseph@codesourcery.com>
22334
22335 * math/math.h (M_El): Use two more decimal places.
22336 (M_LOG2El): Likewise.
22337 (M_LOG10El): Likewise.
22338 (M_LN2l): Likewise.
22339 (M_LN10l): Likewise.
22340 (M_PIl): Likewise.
22341 (M_PI_2l): Likewise.
22342 (M_PI_4l): Likewise.
22343 (M_1_PIl): Likewise.
22344 (M_2_PIl): Likewise.
22345 (M_2_SQRTPIl): Likewise.
22346 (M_SQRT2l): Likewise.
22347 (M_SQRT1_2l): Likewise.
22348
f230c29b
DM
223492012-05-31 David S. Miller <davem@davemloft.net>
22350
22351 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
22352 values between float registers.
22353 * sysdeps/sparc/sparc64/memset.S: Likewise.
22354 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22355
fed806c3
MF
223562012-05-31 Mike Frysinger <vapier@gentoo.org>
22357
22358 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
22359 -D_FORTIFY_SOURCE=1.
22360 (CPPFLAGS-tst-longjmp_chk.c): Define.
22361 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
22362 (CPPFLAGS-tst-longjmp_chk2.c): Define.
22363 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
22364 CFLAGS-tst-wchar-h.c.
22365
30917259
MP
223662012-05-31 Marek Polacek <polacek@redhat.com>
22367
22368 [BZ #14132]
22369 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
22370 __endmntent_internal): Remove declaration.
22371 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
22372 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
22373 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
22374
1c58d5dc
DM
223752012-05-30 David S. Miller <davem@davemloft.net>
22376
22377 * sysdeps/sparc/sparc32/soft-fp/q_util.c
22378 (___Q_simulate_exceptions): Use real FP ops rather than writing
22379 into the %fsr.
22380 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
22381 Likewise.
22382
7dc00e0d
L
223832012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22384
22385 [BZ #14117]
0bd53985
L
22386 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
22387 * sysdeps/x86/bits/xtitypes.h: This.
22388
3a257e66
L
22389 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
22390 * sysdeps/x86/bits/wordsize.h: This.
22391
62f62904
L
22392 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
22393 * sysdeps/x86/bits/huge_vall.h: This.
22394
404fe9d9
L
22395 * sysdeps/i386/bits/select.h: Removed.
22396 * sysdeps/x86_64/bits/select.h: Renamed to ...
22397 * sysdeps/x86/bits/select.h: This.
22398
d48d0446
L
22399 * sysdeps/i386/bits/setjmp.h: Removed.
22400 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
22401 * sysdeps/x86/bits/setjmp.h: This.
22402
7dc00e0d
L
22403 * sysdeps/i386/bits/mathdef.h: Removed.
22404 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
22405 * sysdeps/x86/bits/mathdef.h: This.
22406
03277f8f
AS
224072012-05-30 Andreas Schwab <schwab@linux-m68k.org>
22408
22409 [BZ #14132]
22410 * include/sys/socket.h (__connect_internal)
22411 (__libc_sa_len_internal): Remove declaration.
22412 (__connect, __libc_sa_len): Declare hidden_proto.
22413 (SA_LEN): Remove use of INTUSE.
22414 * socket/connect.c: Add libc_hidden_def.
22415 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
22416 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
22417 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
22418 alias.
22419 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
22420 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
22421 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
22422 of adding _internal alias.
22423
13764867
L
224242012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22425
22426 [BZ #14117]
6bd97696
L
22427 * sysdeps/i386/bits/link.h: Removed.
22428 * sysdeps/i386/bits/linkmap.h: Likewise.
22429 * sysdeps/x86_64/bits/link.h: Renamed to ...
22430 * sysdeps/x86/bits/link.h: This.
22431 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
22432 * sysdeps/x86/bits/linkmap.h: This.
22433
f726f0bb
L
22434 * sysdeps/i386/bits/endian.h: Removed.
22435 * sysdeps/x86_64/bits/endian.h: Renamed to ...
22436 * sysdeps/x86/bits/endian.h: This.
22437
13764867
L
22438 * sysdeps/i386/bits/byteswap.h: Removed.
22439 * sysdeps/i386/bits/byteswap-16.h: Likewise.
22440 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
22441 * sysdeps/x86/bits/byteswap.h: This.
22442 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
22443 * sysdeps/x86/bits/byteswap-16.h: This.
22444 * sysdeps/i386/Implies: Add x86.
22445 * sysdeps/x86_64/Implies: Likewise.
22446
ae251b0b
DM
224472012-05-30 David S. Miller <davem@davemloft.net>
22448
22449 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
22450 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
22451 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
22452 (FP_TRAPPING_EXCEPTIONS): Define.
22453 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
22454 (FP_TRAPPING_EXCEPTIONS): Define.
22455 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
22456 subnormals only when inexact has been signalled or underflow
22457 exceptions are enabled.
22458 (_FP_PACK_CANONICAL): Likewise.
22459
d5c90867
L
224602012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22461
22462 [BZ #14183]
22463 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
22464 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
22465
63f1549e
RH
224662012-05-30 Richard Henderson <rth@twiddle.net>
22467
8d8f2279
RH
22468 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
22469 with #ifndef NOT_IN_libc.
22470
63f1549e
RH
22471 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
22472 marked to avoid plt entry.
22473
0ab0291b
L
224742012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22475
22476 [BZ #14112]
22477 * Makeconfig (default-abi): New macro.
22478 (abi-includes): Likewise.
22479 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
22480 $(abi-$(default-abi)-lib-soname) for soname if defined.
22481 ($(common-objpfx)gnu/lib-names.stmp): Generate from
22482 abi-variants.
22483 * Makefile (installed-stubs): Likewise.
22484 * include/stubs-biarch.h: Removed.
22485 * scripts/lib-names.awk: Only handle one library at a time.
22486 * scripts/soversions.awk: Remove WORDSIZE support.
22487 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
22488 entries.
22489 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
22490 Removed.
22491 (syscall-list-default-condition): Likewise.
22492 (syscall-list-default-condition): Likewise.
22493 (syscall-list-includes): Likewise.
22494 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
22495 syscall-list-* with abi-*. Handle undefined abi-variants.
22496 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
22497 * sysdeps/unix/sysv/linux/i386/Implies: New file.
22498 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
22499 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
22500 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
22501 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
22502 Removed.
22503 (syscall-list-32-options): Likewise.
22504 (syscall-list-32-condition): Likewise.
22505 (syscall-list-64-options): Likewise.
22506 (syscall-list-64-condition): Likewise.
22507 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
22508 macro.
22509 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
22510 Renamed to ...
22511 (abi-*): This.
22512 (abi-64-ld-soname): New macro.
22513 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
22514 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
22515 Renamed to ...
22516 (abi-*): This.
22517 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
22518 * sysdeps/x86_64/x32/shlib-versions: Likewise.
22519
4da0431d
JM
225202012-05-30 Joseph Myers <joseph@codesourcery.com>
22521
3a85279c
JM
22522 * sysdeps/unix/sysv/linux/kernel-features.h
22523 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
22524 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
22525 include <kernel-features.h>.
22526 [!__NR_ftruncate64]: Remove conditional code.
22527 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22528 [__NR_ftruncate64]: Make code unconditional.
22529 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22530 * sysdeps/unix/sysv/linux/truncate64.c: Do not
22531 include <kernel-features.h>.
22532 [!__NR_ftruncate64]: Remove conditional code.
22533 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22534 [__NR_ftruncate64]: Make code unconditional.
22535 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
22537 include <kernel-features.h>.
22538 [!__NR_ftruncate64]: Remove conditional code.
22539 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22540 [__NR_ftruncate64]: Make code unconditional.
22541 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22543 include <kernel-features.h>.
22544 [!__NR_ftruncate64]: Remove conditional code.
22545 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22546 [__NR_ftruncate64]: Make code unconditional.
22547 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22548
4da0431d
JM
22549 * configure.in (libc_cv_fpie): Weaken to a compile test using
22550 LIBC_TRY_CC_OPTION.
22551 * configure: Regenerated.
22552
11ef492c
AK
225532012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22554
22555 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
22556 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
22557 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
22558 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22559 Refreshed.
22560 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
22561 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
22562 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
22563 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
22564 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
22565 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22566 Refreshed.
22567
d66ef399
DM
225682012-05-27 David S. Miller <davem@davemloft.net>
22569
22570 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
22571 (___Q_zero): New.
22572 (__Q_simulate_exceptions): Return void. Change to simulate
22573 exceptions by writing into the %fsr.
22574 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
22575 (__Qp_handle_exceptions): Likewise.
22576 (numbers): Delete.
22577 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
22578 __Qp_handle_exceptions.
22579 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
22580 __Qp_handle_exceptions.
22581 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22582 as unused and give dummy FP_RND_NEAREST initializer.
22583 (FP_INHIBIT_RESULTS): Define.
22584 (___Q_simulate_exceptions): Update declaration.
22585 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
22586 formatting.
22587 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22588 as unused and give dummy FP_RND_NEAREST initializer.
22589 (__Qp_handle_exceptions): Update declaration.
22590 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
22591 formatting.
22592
04fb54b5
TS
225932012-05-27 Thomas Schwinge <thomas@codesourcery.com>
22594
22595 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
22596 the temporary FPU control word.
22597 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
22598 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
22599 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
22600 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22601 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22602 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
22603 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
22604 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22605 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22606 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
22607 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22608
3f99608f
KK
226092012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22610
22611 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
22612 fields.
22613
65a4de4e
CLT
226142012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
22615
22616 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
22617 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
22618 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
22619 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
22620 Likewise.
22621 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
22622 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
22623 Likewise.
22624
15749d40
UD
226252012-05-27 Ulrich Drepper <drepper@gmail.com>
22626
22627 * po/h.po: Update from translation team.
22628
25dbcb27
AS
226292012-05-26 Andreas Schwab <schwab@linux-m68k.org>
22630
3d3f8e55
AS
22631 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
22632
25dbcb27
AS
22633 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
22634 handling of denormals.
22635 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22636 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
22637 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
22638 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
22639 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22640 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
22641 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
22642 Likewise.
22643
7ad47a80 226442012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
22645
22646 [BZ #14152]
22647 * math/libm-test.inc (fma_test): Don't always expect underflow
22648 exception.
22649
9c6ea9fa
SP
226502012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22651
22652 [BZ #12416]
22653 * elf/tst-execstack.c: Include stackinfo.h.
22654 (do_test): Adjust test case to ensure that pthread_getattr_np
22655 behaviour remains the same after marking stack executable.
22656
a8239222
JM
226572012-05-25 Joseph Myers <joseph@codesourcery.com>
22658
22659 * sysdeps/unix/sysv/linux/kernel-features.h
22660 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
22661 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
22662 kernel-features.h.
22663 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22664 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22665 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
22666 kernel-features.h.
22667 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22668 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22669
918b5606
L
226702012-05-25 H.J. Lu <hongjiu.lu@intel.com>
22671
22672 * configure.in: Define the default includes to being none.
22673 * configure: Regenerated.
22674
3a097cc7
RM
226752012-05-25 Roland McGrath <roland@hack.frob.com>
22676
8422c9a5
RM
22677 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
22678 * sysdeps/x86_64/setjmp.S: Likewise.
22679 * sysdeps/i386/bsd-setjmp.S: Likewise.
22680 * sysdeps/i386/bsd-_setjmp.S: Likewise.
22681 * sysdeps/i386/setjmp.S: Likewise.
22682 * sysdeps/i386/__longjmp.S: Likewise.
22683 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
22684 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
22685
3a097cc7
RM
22686 * include/stap-probe.h: New file.
22687 * configure.in: Handle --enable-systemtap.
22688 * configure: Regenerated.
22689 * config.h.in (USE_STAP_PROBE): New #undef.
22690 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
22691 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
22692 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
22693
21708942
JM
226942012-05-25 Joseph Myers <joseph@codesourcery.com>
22695
22696 [BZ #13717]
22697 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
22698 to 2.4.0 where earlier.
22699 * sysdeps/unix/sysv/linux/configure: Regenerated.
22700 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
22701 <kernel-features.h>.
22702 [__ASSUME_32BITUIDS]: Make code unconditional.
22703 [!__ASSUME_32BITUIDS]: Remove conditional code.
22704 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
22705 <kernel-features.h>.
22706 [__ASSUME_32BITUIDS]: Make code unconditional.
22707 [!__ASSUME_32BITUIDS]: Remove conditional code.
22708 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
22709 [__ASSUME_32BITUIDS]: Make code unconditional.
22710 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
22711 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
22712 <kernel-features.h>.
22713 [__ASSUME_32BITUIDS]: Make code unconditional.
22714 [!__ASSUME_32BITUIDS]: Remove conditional code.
22715 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
22716 <kernel-features.h>.
22717 [__ASSUME_32BITUIDS]: Make code unconditional.
22718 [!__ASSUME_32BITUIDS]: Remove conditional code.
22719 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
22720 <kernel-features.h>.
22721 [__ASSUME_32BITUIDS]: Make code unconditional.
22722 [!__ASSUME_32BITUIDS]: Remove conditional code.
22723 * sysdeps/unix/sysv/linux/i386/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
22752 <kernel-features.h>.
22753 [__NR_setresgid] (__setresgid): Do not declare.
22754 [__ASSUME_32BITUIDS]: Make code unconditional.
22755 [!__ASSUME_32BITUIDS]: Remove conditional code.
22756 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
22757 <kernel-features.h>.
22758 [__NR_setresuid] (__setresuid): Do not declare.
22759 [__ASSUME_32BITUIDS]: Make code unconditional.
22760 [!__ASSUME_32BITUIDS]: Remove conditional code.
22761 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
22762 <kernel-features.h>.
22763 [__ASSUME_32BITUIDS]: Make code unconditional.
22764 [!__ASSUME_32BITUIDS]: Remove conditional code.
22765 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
22766 <kernel-features.h>.
22767 [__ASSUME_32BITUIDS]: Make code unconditional.
22768 [!__ASSUME_32BITUIDS]: Remove conditional code.
22769 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
22770 <kernel-features.h>.
22771 [__ASSUME_32BITUIDS]: Make code unconditional.
22772 [!__ASSUME_32BITUIDS]: Remove conditional code.
22773 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
22774 <kernel-features.h>.
22775 [__ASSUME_32BITUIDS]: Make code unconditional.
22776 [!__ASSUME_32BITUIDS]: Remove conditional code.
22777 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
22778 <kernel-features.h>.
22779 [__ASSUME_32BITUIDS]: Make code unconditional.
22780 [!__ASSUME_32BITUIDS]: Remove conditional code.
22781 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
22782 <kernel-features.h>.
22783 [__ASSUME_32BITUIDS]: Make code unconditional.
22784 [!__ASSUME_32BITUIDS]: Remove conditional code.
22785 * sysdeps/unix/sysv/linux/i386/setresuid.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/i386/setreuid.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/i386/setuid.c: Do not include
22794 <kernel-features.h>.
22795 [__ASSUME_32BITUIDS]: Make code unconditional.
22796 [!__ASSUME_32BITUIDS]: Remove conditional code.
22797 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
22798 <kernel-features.h>.
22799 [__ASSUME_32BITUIDS]: Make code unconditional.
22800 [!__ASSUME_32BITUIDS]: Remove conditional code.
22801 * sysdeps/unix/sysv/linux/kernel-features.h
22802 (__ASSUME_SETRESUID_SYSCALL): Remove.
22803 (__ASSUME_SETRESGID_SYSCALL): Likewise.
22804 (__ASSUME_32BITUIDS): Likewise.
22805 (__ASSUME_LDT_WORKS): Likewise.
22806 (__ASSUME_O_DIRECTORY): Likewise.
22807 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
22808 architecture but not kernel version.
22809 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
22810 (__ASSUME_MMAP2_SYSCALL): Likewise.
22811 (__ASSUME_STAT64_SYSCALL): Likewise.
22812 (__ASSUME_IPC64): Likewise.
22813 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
22814 <kernel-features.h>.
22815 [__ASSUME_32BITUIDS]: Make code unconditional.
22816 [!__ASSUME_32BITUIDS]: Remove conditional code.
22817 * sysdeps/unix/sysv/linux/opendir.c: Do not include
22818 <kernel-features.h>.
22819 [__ASSUME_O_DIRECTORY]: Make code unconditional.
22820 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
22821 132096]: Remove conditional code.
22822 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
22823 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
22824 <kernel-features.h>.
22825 [__ASSUME_32BITUIDS]: Make code unconditional.
22826 [!__ASSUME_32BITUIDS]: Remove conditional code.
22827 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
22828 <kernel-features.h>.
22829 [__ASSUME_32BITUIDS]: Make code unconditional.
22830 [!__ASSUME_32BITUIDS]: Remove conditional code.
22831 * sysdeps/unix/sysv/linux/setegid.c: Do not include
22832 <kernel-features.h>.
22833 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
22834 unconditional.
22835 (__setresgid): Do not declare.
22836 [__ASSUME_32BITUIDS]: Make code unconditional.
22837 [!__ASSUME_32BITUIDS]: Remove conditional code.
22838 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
22839 <kernel-features.h>.
22840 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
22841 unconditional.
22842 (__setresuid): Do not declare.
22843 [__ASSUME_32BITUIDS]: Make code unconditional.
22844 [!__ASSUME_32BITUIDS]: Remove conditional code.
22845 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
22846 <kernel-features.h>.
22847 [__ASSUME_32BITUIDS]: Make code unconditional.
22848 [!__ASSUME_32BITUIDS]: Remove conditional code.
22849 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
22850 <kernel-features.h>.
22851 [__ASSUME_32BITUIDS]: Make code unconditional.
22852 [!__ASSUME_32BITUIDS]: Remove conditional code.
22853
a386f1cc
RH
228542012-05-25 Richard Henderson <rth@twiddle.net>
22855
22856 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
22857 dl_hwcap to ifunc resolver.
22858 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
22859 elf_ifunc_invoke.
22860 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
22861 dl_hwcap to ifunc resolver.
22862 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
22863
b6550497
JM
228642012-05-24 Joseph Myers <joseph@codesourcery.com>
22865
22866 [BZ #14153]
22867 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
22868 for |x| <= 2**-26, not 2**-57.
22869 * math/libm-test.inc (acos_test): Do not allow spurious underflow
22870 exception.
22871
b0bc23a1
JL
228722012-05-24 Jeff Law <law@redhat.com>
22873
22874 * stdio-common/Makefile (tests): Add bug25.
22875 * stdio-common/bug25.c: New test.
22876
347c92e9
L
228772012-05-24 H.J. Lu <hongjiu.lu@intel.com>
22878
22879 [BZ #13576]
22880 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
22881 multiple of MALLOC_ALIGNMENT in size.
22882 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
22883
6bcc8b3f
JM
228842012-05-24 Joseph Myers <joseph@codesourcery.com>
22885
22886 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
22887 Require >= 256.
22888 (FILENAME_MAX): Use macro-int-constant.
22889 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
22890 (_IOFBF): Use macro-int-constant.
22891 (_IOLBF): Likewise.
22892 (_IONBF): Likewise.
22893 (SEEK_CUR): Likewise.
22894 (SEEK_END): Likewise.
22895 (SEEK_SET): Likewise.
22896 (TMP_MAX): Likewise.
22897 (EOF): Use macro-int-constant. Require < 0.
22898 (NULL): Use macro-constant. Require == 0.
22899 (stdin): Require type to be FILE *.
22900 (stdout): Likewise.
22901 (stderr): Likewise.
22902 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
22903 macro-int-constant.
22904 (EXIT_SUCCESS): Likewise.
22905 (NULL): Use macro-constant. Require == 0.
22906 (RAND_MAX): Use macro-int-constant.
22907 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
22908 [C99-based standards] (strtof): Require function.
22909 [C99-based standards] (strtold): Likewise.
22910 [C99-based standards] (strtoll): Likewise.
22911 [C99-based standards] (strtoull): Likewise.
22912 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
22913 [ISO || ISO99 || ISO11] (limits.h): Likewise.
22914 [ISO || ISO99 || ISO11] (math.h): Likewise.
22915 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
22916 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
22917 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22918
d18ea0c5
AS
229192012-05-24 Andreas Schwab <schwab@linux-m68k.org>
22920
22921 [BZ #14132]
56d25bb8
AS
22922 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
22923 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
22924 * intl/dgettext.c (DCGETTEXT): Likewise.
22925 * intl/gettext.c (DCGETTEXT): Likewise.
22926 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
22927 * posix/regex_internal.h (gettext): Likewise.
22928 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
22929 Remove declaration.
22930 * include/argz.h (__argz_count_internal)
22931 (__argz_stringify_internal): Remove declaration.
22932 (__argz_count, __argz_stringify): Declare hidden proto.
22933 * intl/dcgettext.c: Remove use of INTDEF.
22934 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
22935 * string/argz-stringify.c: Likewise.
22936 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
22937 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
22938 Declare hidden proto.
d18ea0c5
AS
22939 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
22940 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
22941 Declare hidden proto.
22942 * include/stdio.h (__asprintf_internal): Don't declare.
22943 (__asprintf): Don't define as macro. Declare hidden proto.
22944 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
22945 (__fsetlocking): Declare hidden proto.
22946 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
22947 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
22948 hidden proto.
22949 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
22950 (_IO_setlinebuf): Remove use of INTUSE.
22951 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
22952 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
22953 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
22954 Remove declaration.
22955 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
22956 (_IO_do_flush): Remove use of INTUSE.
22957 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
22958 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
22959 (_IO_adjust_column, _IO_least_wmarker)
22960 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
22961 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
22962 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
22963 (_IO_default_doallocate, _IO_wdefault_doallocate)
22964 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
22965 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
22966 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
22967 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
22968 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
22969 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
22970 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
22971 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
22972 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
22973 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
22974 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
22975 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
22976 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
22977 proto.
22978 (_IO_flush_all_internal, _IO_adjust_column_internal)
22979 (_IO_default_uflow_internal, _IO_default_finish_internal)
22980 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
22981 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
22982 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
22983 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
22984 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
22985 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
22986 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
22987 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
22988 (_IO_file_close_internal, _IO_file_close_it_internal)
22989 (_IO_file_underflow_internal, _IO_file_overflow_internal)
22990 (_IO_file_init_internal, _IO_file_attach_internal)
22991 (_IO_file_fopen_internal, _IO_file_read_internal)
22992 (_IO_file_sync_internal, _IO_file_seek_internal)
22993 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
22994 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
22995 (_IO_str_underflow_internal, _IO_str_overflow_internal)
22996 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
22997 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
22998 (_IO_list_all_internal, _IO_link_in_internal)
22999 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
23000 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
23001 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
23002 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
23003 (_IO_do_write_internal, _IO_padn_internal)
23004 (_IO_getline_info_internal, _IO_getline_internal)
23005 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
23006 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
23007 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
23008 (_IO_vfscanf_internal, _IO_vfprintf_internal)
23009 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
23010 (_IO_init_internal, _IO_un_link_internal): Don't declare.
23011 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
23012 with libc_hidden_ver, remove use of INTUSE.
23013 * libio/genops.c: Likewise.
23014 * libio/freopen.c: Likewise.
23015 * libio/freopen64.c: Likewise.
23016 * libio/iofclose.c: Likewise.
23017 * libio/iofdopen.c: Likewise.
23018 * libio/iofflush.c: Likewise.
23019 * libio/iofflush_u.c: Likewise.
23020 * libio/iofgets.c: Likewise.
23021 * libio/iofgets_u.c: Likewise.
23022 * libio/iofopen.c: Likewise.
23023 * libio/iofopncook.c: Likewise.
23024 * libio/iofread.c: Likewise.
23025 * libio/iofread_u.c: Likewise.
23026 * libio/ioftell.c: Likewise.
23027 * libio/iofwrite.c: Likewise.
23028 * libio/iogetline.c: Likewise.
23029 * libio/iogets.c: Likewise.
23030 * libio/iogetwline.c: Likewise.
23031 * libio/iopadn.c: Likewise.
23032 * libio/iopopen.c: Likewise.
23033 * libio/ioseekoff.c: Likewise.
23034 * libio/ioseekpos.c: Likewise.
23035 * libio/iosetbuffer.c: Likewise.
23036 * libio/iosetvbuf.c: Likewise.
23037 * libio/ioungetc.c: Likewise.
23038 * libio/ioungetwc.c: Likewise.
23039 * libio/iovdprintf.c: Likewise.
23040 * libio/iovsprintf.c: Likewise.
23041 * libio/iovsscanf.c: Likewise.
23042 * libio/memstream.c: Likewise.
23043 * libio/obprintf.c: Likewise.
23044 * libio/oldfileops.c: Likewise.
23045 * libio/oldiofclose.c: Likewise.
23046 * libio/oldiofdopen.c: Likewise.
23047 * libio/oldiofopen.c: Likewise.
23048 * libio/oldiopopen.c: Likewise.
23049 * libio/oldstdfiles.c: Likewise.
23050 * libio/putc.c: Likewise.
23051 * libio/setbuf.c: Likewise.
23052 * libio/setlinebuf.c: Likewise.
23053 * libio/stdfiles.c: Likewise.
23054 * libio/strops.c: Likewise.
23055 * libio/vasprintf.c: Likewise.
23056 * libio/vscanf.c: Likewise.
23057 * libio/vsnprintf.c: Likewise.
23058 * libio/vswprintf.c: Likewise.
23059 * libio/wfiledoalloc.c: Likewise.
23060 * libio/wfileops.c: Likewise.
23061 * libio/wgenops.c: Likewise.
23062 * libio/wmemstream.c: Likewise.
23063 * libio/wstrops.c: Likewise.
23064 * libio/__fpurge.c: Likewise.
23065 * libio/__fsetlocking.c: Likewise.
23066 * assert/assert.c: Likewise.
23067 * debug/fgets_chk.c: Likewise.
23068 * debug/fgets_u_chk.c: Likewise.
23069 * debug/fread_chk.c: Likewise.
23070 * debug/fread_u_chk.c: Likewise.
23071 * debug/gets_chk.c: Likewise.
23072 * debug/obprintf_chk.c: Likewise.
23073 * debug/vasprintf_chk.c: Likewise.
23074 * debug/vdprintf_chk.c: Likewise.
23075 * debug/vsnprintf_chk.c: Likewise.
23076 * debug/vsprintf_chk.c: Likewise.
23077 * malloc/mtrace.c: Likewise.
23078 * misc/error.c: Likewise.
23079 * misc/syslog.c: Likewise.
23080 * stdio-common/asprintf.c: Likewise.
23081 * stdio-common/fxprintf.c: Likewise.
23082 * stdio-common/getw.c: Likewise.
23083 * stdio-common/isoc99_fscanf.c: Likewise.
23084 * stdio-common/isoc99_scanf.c: Likewise.
23085 * stdio-common/isoc99_vfscanf.c: Likewise.
23086 * stdio-common/isoc99_vscanf.c: Likewise.
23087 * stdio-common/isoc99_vsscanf.c: Likewise.
23088 * stdio-common/printf-prs.c: Likewise.
23089 * stdio-common/printf_fp.c: Likewise.
23090 * stdio-common/printf_fphex.c: Likewise.
23091 * stdio-common/printf_size.c: Likewise.
23092 * stdio-common/putw.c: Likewise.
23093 * stdio-common/scanf.c: Likewise.
23094 * stdio-common/sprintf.c: Likewise.
23095 * stdio-common/tmpfile.c: Likewise.
23096 * stdio-common/vfprintf.c: Likewise.
23097 * stdio-common/vfscanf.c: Likewise.
23098 * stdlib/strfmon_l.c: Likewise.
23099 * sunrpc/openchild.c: Likewise.
23100 * sunrpc/xdr_stdio.c: Likewise.
23101 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
23102 * sysdeps/mach/hurd/tmpfile.c: Likewise.
23103
d6c33fda
RM
231042012-05-24 Roland McGrath <roland@hack.frob.com>
23105
c1487492
RM
23106 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23107
23108 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
23109 in the third column, to generate for the shared library an IFUNC
23110 that uses _dl_vdso_vsym.
23111 * Makerules (COMPILE.c, compile-stdin.c): New variables.
23112 * Makeconfig (object-suffixes-noshared): New variable.
23113
23114 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
23115 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
23116 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
23117 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
23118
d6c33fda
RM
23119 [BZ #14132]
23120 * include/sys/time.h (__gettimeofday): Remove macro.
23121 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
23122 * time/gettimeofday.c (__gettimeofday): Remove #undef.
23123 Remove INTDEF.
23124 (__gettimeofday): Add libc_hidden_def.
23125 (gettimeofday): Add libc_hidden_weak.
23126 * sysdeps/mach/gettimeofday.c: Likewise.
23127 * sysdeps/posix/gettimeofday.c: Likewise.
23128 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
23129 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
23130 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
23131 (__gettimeofday_internal): Remove strong_alias.
23132 (__gettimeofday): Add libc_hidden_def.
23133 (gettimeofday): Add libc_hidden_weak.
23134 * sysdeps/unix/syscalls.list (gettimeofday):
23135 Remove __gettimeofday_internal alias.
23136
b5a2bbe6
L
231372012-05-24 Daniel Jacobowitz <drow@false.org>
23138 H.J. Lu <hongjiu.lu@intel.com>
23139
23140 [BZ #12495]
23141 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
23142 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
23143 (largebin_index_32_big): New.
23144 (largebin_index): Use it for 16-byte alignment.
23145 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
23146 correction with front_misalign.
23147
cfba4fda
L
231482012-05-24 H.J. Lu <hongjiu.lu@intel.com>
23149
7f907421
L
23150 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
23151 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
23152 Likewise.
23153 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
23154 Likewise.
23155 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
23156 Likewise.
23157 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
23158 Likewise.
23159 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
23160 Likewise.
23161 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
23162 Likewise.
23163 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
23164 Likewise.
23165 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
23166 Likewise.
23167 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
23168 Likewise.
23169 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
23170 Likewise.
23171 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
23172 Likewise.
23173 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
23174 Likewise.
23175
cfba4fda
L
23176 * scripts/data/c++-types-x32-linux-gnu.data: New file.
23177 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
23178
80bad0cc
JM
231792012-05-24 Joseph Myers <joseph@codesourcery.com>
23180
7a25eb06
JM
23181 [BZ #10846]
23182 [BZ #14036]
23183 * math/libm-test.inc (exp_test): Add test from bug 14036.
23184 (pow_test): Add test from bug 10846.
23185
795405f9
JM
23186 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
23187 and other flags.
23188 (special_function): Do not include flags in test name.
23189 (parse_args): Likewise.
23190 * sysdeps/i386/fpu/libm-test-ulps: Update.
23191 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23192 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23193 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23194 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23195
80bad0cc
JM
23196 * math/gen-libm-test.pl (%beautify): Add entries for underflow
23197 exceptions.
23198 * math/libm-test.inc ("Philosophy"): Update comment about
23199 exception testing.
23200 (UNDERFLOW_EXCEPTION): New macro.
23201 (UNDERFLOW_EXCEPTION_OK): Likewise.
23202 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
23203 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
23204 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
23205 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
23206 (INVALID_EXCEPTION_OK): Update value.
23207 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23208 (OVERFLOW_EXCEPTION_OK): Likewise.
23209 (IGNORE_ZERO_INF_SIGN): Likewise.
23210 (test_exceptions): Handle underflow exceptions.
23211 (acos_test): Update for underflow exception expectations.
23212 (cexp_test): Likewise.
23213 (clog_test): Likewise.
23214 (clog10_test): Likewise.
23215 (csqrt_test): Likewise.
23216 (ctan_test): Likewise.
23217 (ctanh_test): Likewise.
23218 (exp_test): Likewise.
23219 (exp10_test): Likewise.
23220 (exp2_test): Likewise.
23221 (expm1_test): Likewise.
23222 (fma_test): Likewise.
23223 (j0_test): Likewise.
23224 (jn_test): Likewise.
23225 (nexttoward_test): Likewise.
23226 (pow_test): Likewise.
23227 (scalbn_test): Likewise.
23228 (scalbln_test): Likewise.
23229 (tan_test): Likewise.
23230 (y1_test): Likewise.
23231 * sysdeps/i386/fpu/libm-test-ulps: Update.
23232 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23233
9e0e3d0b
DM
232342012-05-23 David S. Miller <davem@davemloft.net>
23235
23236 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
23237 (__libc_sigaction): Remove unused local variables.
23238
ccd0a08f
L
232392012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23240
23241 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
23242
62bdf9a6
PE
232432012-05-23 Paul Eggert <eggert@cs.ucla.edu>
23244
f8591f80
PE
23245 mktime: avoid signed integer overflow
23246 * time/mktime.c (__mktime_internal): Do not mishandle the case
23247 where diff == INT_MIN.
23248
94c7d826
PE
23249 mktime: simplify computation of average
23250 * time/mktime.c (ranged_convert): Use new time_t_avg function
23251 instead of rolling our own (probably-slower) code.
23252
ce73d683
PE
23253 mktime: do not assume signed right shift propagates sign bit
23254 * time/mktime.c (isdst_differ): New static function.
23255 (__mktime_internal): No need to normalize tm_isdst now.
23256 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
23257 tm_isdst values.
23258
72a22e59
PE
23259 mktime: merge another wrapv change from gnulib
23260 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
23261 from some compilers.
23262
68605433
PE
23263 mktime: remove incorrect attempt at unusual arithmetics
23264 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
23265 The code didn't really work on such machines anyway.
23266 (TYPE_MINIMUM): Assume two's complement.
23267 (twos_complement_arithmetic): Verify that long_int and time_t
23268 are two's complement (or unsigned, in the latter case).
23269
03cf7fe3
PE
23270 mktime: check signed shifts on long_int and time_t, too
23271 * time/mktime.c (SHR): Check that shifts work as desired
23272 on the types long_int and time_t too, as SHR is used on
23273 such types.
23274
f04dfbc2
PE
23275 mktime: do not assume 'long' is wide enough
23276 * time/mktime.c (verify): Move decl up.
23277 (long_int): New type.
23278 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
23279 to remove assumption in the code that 'long' is wide enough to
23280 store year values. This assumption is not true on x32 and on
23281 some non-glibc platforms.
23282
62bdf9a6
PE
23283 mktime: merge wrapv change from gnulib
23284 * time/mktime.c (WRAPV): New macro.
23285 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
23286 (guess_time_tm, __mktime_internal): Do not assume that signed
23287 integer overflow wraps around; modern compilers generate code
23288 where this assumption is no longer valid.
23289
5e292e4f
L
232902012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23291
23292 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23293 Replace "jmp L(pseudo_end)" with "ret".
23294 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
23295 Likewise.
23296
8caf8c87
AJ
232972012-05-23 Andreas Jaeger <aj@suse.de>
23298
23299 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
23300 * sysdeps/unix/sysv/linux/poll.c: Remove file.
23301
1a09dc56
AJ
233022012-05-23 Andreas Jaeger <aj@suse.de>
23303 Maximilian Attems <max@stro.at>
23304
23305 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
23306 New macros.
23307
1c87aba0
L
233082012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23309
23310 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
23311 code so that pseudo_end is just ret and the stack pointer is
23312 correct also for static library in error case.
23313
40e45bd5
JM
233142012-05-23 Joseph Myers <joseph@codesourcery.com>
23315
c2670533
JM
23316 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
23317 move to syscalls.list.
23318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
23319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
23320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
23321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
23322
40e45bd5
JM
23323 * manual/install.texi (Running make install): Do not mention Linux
23324 kernel version for which pt_chown is not needed.
23325 (Linux): Do not mention problems with nscd with 2.0 kernels.
23326 * INSTALL: Regenerated.
23327
be08eda5
AJ
233282012-05-23 Andreas Jaeger <aj@suse.de>
23329
23330 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
23331 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
23332 macro.
23333 * sysdeps/unix/sysv/linux/s390/bits/mman.h
23334 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23335 * sysdeps/unix/sysv/linux/sh/bits/mman.h
23336 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23337 * sysdeps/unix/sysv/linux/i386/bits/mman.h
23338 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23339 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
23340 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23341 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
23342 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23343 * sysdeps/unix/sysv/linux/bits/in.h
23344 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
23345
a6a056bb
RM
233462012-05-22 Roland McGrath <roland@hack.frob.com>
23347
23348 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
23349 (PREPARE_VERSION): Just use assert instead, it will be elided
23350 under [NDEBUG] anyway.
23351
c9009328
L
233522012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23353
23354 * sysdeps/unix/sysv/linux/Makefile: Include
23355 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 23356 (sysdep_routines): Remove sysctl.
c9009328
L
23357 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
23358 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
23359 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
23360 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
23361 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
23362
73338355
AJ
233632012-05-22 Andreas Jaeger <aj@suse.de>
23364
23365 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
23366 that pseudo_end is just ret and the stack pointer is correct also
23367 for static library in error case.
23368
d44638b0
PP
233692012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
23370
23371 [BZ #14122]
23372 * nss/nsswitch.c (defconfig_entries): New variable.
23373 (__nss_database_lookup): Don't leak defconfig entries.
23374 (nss_parse_service_list): Don't leak on error paths.
23375 (free_database_entries): New function.
23376 (free_defconfig): New function.
23377 (free_mem): Move common code to free_database_entries.
23378
31a39bd8
L
233792012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23380
da0331a8
L
23381 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
23382 Add arch_prctl.
23383 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
23384
31a39bd8
L
23385 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23386 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
23387 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
23388 New macro.
23389 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
23390 (INTERNAL_SYSCALL_TYPES): Likewise.
23391 (LOAD_ARGS_TYPES_[1-6]): Likewise.
23392 (LOAD_REGS_TYPES_[1-6]): Likewise.
23393 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
23394 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
23395
45470df3
AZ
233962012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23397
23398 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
23399 copysignl for GLIBC_2_0.
23400 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
23401 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
23402 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
23403 logbl for GLIBC_2_0.
23404 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
23405 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
23406
98a61bcb
L
234072012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23408
a4f6e481
L
23409 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
23410 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23411
f63d5db6
L
23412 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23413 Use "neg %eax".
23414
98a61bcb
L
23415 * time/mktime.c: Update copyright years.
23416
95770f14
PE
234172012-05-22 Paul Eggert <eggert@cs.ucla.edu>
23418
6226efbd
PE
23419 mktime: merge comment-quoting-style change from gnulib
23420 * time/mktime.c: Quote 'like this' in comments.
23421 The GNU coding standards suggest that we no longer quote `like this',
23422 as "`" and "'" are typically rendered asymmetrically nowadays.
23423 The typical gnulib style is to quote 'like this' when quoting
23424 code, and "like this" when quoting English.
23425
b99e4f78
PE
23426 * time/mktime.c (compile-command): Add "-I.".
23427
643e01e6
PE
23428 mktime: merge mktime-internal.h change from gnulib
23429 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
23430
2554247d
PE
23431 mktime: merge time_r change from gnulib
23432 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
23433
826dd0ab
PE
23434 mktime: merge DEBUG change from gnulib
23435 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
23436 case system <time.h> has a #define.
23437
bd83aabe
PE
23438 mktime: merge <sys/types.h> change from gnulib
23439 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
23440 since <time.t> is now guaranteed to define time_t.
23441
95770f14
PE
23442 mktime: merge HAVE_CONFIG_H change from gnulib
23443 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
23444
5e1a27a9
L
234452012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23446
0e44a77e
L
23447 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23448 Use "neg %eax".
23449
5e1a27a9
L
23450 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
23451 __rlim_t cast.
23452 (struct rusage): Use anonymous union to pad each field to
23453 __syscall_slong_t.
23454
46259bec
DM
234552012-05-21 David S. Miller <davem@davemloft.net>
23456
23457 * Makefules (o-iterator): Remove .s cases.
23458 (compile-command.s): Delete.
23459 (COMPILE.s): Delete.
23460 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
23461
59f0c22e
JM
234622012-05-21 Joseph Myers <joseph@codesourcery.com>
23463
23464 * configure.in (libc_cv_predef_stack_protector): Only consider
23465 "foobar" and "__stack_chk_fail" lines in libc_undefs.
23466 * configure: Regenerated.
23467
20c07380
L
234682012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23469
bbb3154b
L
23470 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23471 New macro. Use R*LP on int and pointer.
23472 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
23473 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
23474 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
23475 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
23476
20c07380
L
23477 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
23478 [__WORDSIZE_TIME64_COMPAT32] instead of
23479 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
23480 (struct utmp): Likewise.
23481 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
23482 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
23483 Renamed to ...
23484 (__WORDSIZE_TIME64_COMPAT32): This.
23485 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
23486 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
23487 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
23488 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
23489 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
23490 (__WORDSIZE_TIME64_COMPAT32): New macro.
23491
d8d1017e
AJ
234922012-05-21 Andreas Jaeger <aj@suse.de>
23493
23494 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
23495 only if [SHARED]. Add prototype for __wcschr_ia32.
23496
6c7fb145
RM
234972012-05-21 Roland McGrath <roland@hack.frob.com>
23498
23499 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
23500 of %rbp unmolested in the jmp_buf while mangling the low bits.
23501 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
23502 unmolested high bits of %rbp while demangling the low bits.
23503 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
23504
66274218
AJ
235052012-05-21 Andreas Jaeger <aj@suse.de>
23506
07c58f8f
AJ
23507 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
23508 * sunrpc/svc_simple.c: Use it for registerrpc.
23509 * sunrpc/xcrypt.c: Use it for passwd2des.
23510
66274218
AJ
23511 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
23512
61f65140
L
235132012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23514
23515 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
23516 Don't define if [__SYSCALL_WORDSIZE != 32].
23517 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
23518 New macro.
23519
5fefb436
AJ
235202012-05-21 Bruno Haible <bruno@clisp.org>
23521 Andreas Jaeger <aj@suse.de>
23522
23523 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
23524 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
23525 inptr and inend for must_buffer_ch.
23526 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
23527 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
23528 * stdio-common/Makefile (tests): Remove bug15.
23529 (bug15-ENV): Remove macro.
23530 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
23531 anymore.
23532
d8e272ab
AJ
235332012-05-19 Andreas Jaeger <aj@suse.de>
23534 Roland McGrath <roland@hack.frob.com>
23535
23536 * manual/contrib.texi: Completely rewritten. It contains now an
23537 alphabetical list of contributors and their contributions.
23538
4a56a162
RH
235392012-05-21 Richard Henderson <rth@twiddle.net>
23540
23541 * misc/getauxval.c (__getauxval): Use unsigned long int.
23542 * misc/sys/auxv.h: Include <sys/cdefs.h>.
23543 (getauxval): Use unsigned long int.
23544
d024d23c
L
235452012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23546
23547 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23548
cbc00a03
RM
235492012-05-21 Roland McGrath <roland@hack.frob.com>
23550
23551 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
23552 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
23553 __alignof__ (long double).
23554
478143fa
AZ
235552012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23556
23557 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23558
c7683a6d
RH
235592012-05-20 Richard Henderson <rth@twiddle.net>
23560
23561 * misc/getauxval.c: New file.
23562 * misc/sys/auxv.h: New file.
23563 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
23564 (routines): Add getauxval.
23565 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
23566 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
23567 * elf/dl-sysdep.c (_dl_auxv): Remove.
23568 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
23569 * elf/dl-support.c (_dl_auxv): New variable.
23570 (_dl_aux_init): Initialize it.
23571 * manual/startup.texi (Auxiliary Vector): New node.
23572 * sysdeps/generic/bits/hwcap.h: New file.
23573 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
23574 * sysdeps/powerpc/sysdep.h: ... here. Include it.
23575 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
23576 * sysdeps/sparc/sysdep.h: ... here. Include it.
23577 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
23578 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
23579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23580 Update.
c7683a6d
RH
23581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
23582 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
23583 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
23584 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
23585 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23586 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23587 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
23588 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
23589
a6f1845d
AZ
235902012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23591
23592 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23593
cbcbe830
DM
235942012-05-19 David S. Miller <davem@davemloft.net>
23595
23596 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23597
e0b16cc2
JM
235982012-05-19 Joseph Myers <joseph@codesourcery.com>
23599
23600 [BZ #14123]
23601 * math/s_ccosh.c: Include <float.h>
23602 (__ccosh): Avoid internal overflow calculating sinh and cosh
23603 values before multiplying by sin and cos values.
23604 * math/s_ccoshf.c: Likewise.
23605 * math/s_ccoshl.c: Likewise.
23606 * math/s_csin.c: Likewise.
23607 * math/s_csinf.c: Likewise.
23608 * math/s_csinl.c: Likewise.
23609 * math/s_csinh.c: Likewise.
23610 * math/s_csinhf.c: Likewise.
23611 * math/s_csinhl.c: Likewise.
23612 * math/libm-test.inc (ccos_test): Add more tests.
23613 (ccosh_test): Likewise.
23614 (csin_test): Likewise.
23615 (csinh_test): Likewise.
23616 * sysdeps/i386/fpu/libm-test-ulps: Update.
23617 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23618
6ad13e08
L
236192012-05-19 H.J. Lu <hongjiu.lu@intel.com>
23620
f66f0ce8
L
23621 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
23622 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
23623
6ad13e08
L
23624 * sysdeps/x86_64/x32/_itoa.h: Add comment.
23625
b1d072a7
JM
236262012-05-19 Joseph Myers <joseph@codesourcery.com>
23627
23628 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
23629 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
23630 * sysdeps/powerpc/soft-fp/Versions: Likewise.
23631 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
23632 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
23633 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
23634 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
23635 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
23636 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
23637 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
23638 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
23639 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
23640 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
23641 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
23642 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
23643 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
23644 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
23645 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
23646 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
23647 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
23648 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
23649 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
23650 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
23651 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
23652 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
23653 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
23654 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
23655 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
23656 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
23657 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
23658 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
23659
9eae47cb
AJ
236602012-05-18 Andreas Jaeger <aj@suse.de>
23661
23662 * csu/.gitignore: Delete.
23663
bb07f69f
L
236642012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23665
23666 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
23667 (timex): Use __syscall_slong_t.
23668
e6bdb741
AJ
236692012-05-18 Andreas Jaeger <aj@suse.de>
23670 Carlos O'Donell <carlos_odonell@mentor.com>
23671
23672 * manual/install.texi (Configuring and compiling): Update
23673 description about files modified in the source directory.
d6c33fda 23674 * INSTALL: Regenerated.
e6bdb741 23675
1b74487e
L
236762012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23677
23678 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
23679 value. Use "or" to set return value to -1.
23680 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
23681 negate return value.
23682
a88b64b9
TMQMF
236832012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23684
23685 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
23686 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
23687 failure if the compiler has Graphite support disabled.
23688 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
23689 Likewise.
23690 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
23691 CFLAGS-memmove.c): Likewise.
23692 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
23693 Likewise.
23694
3707636e
L
236952012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23696
610b8622
L
23697 * sysdeps/x86_64/x32/_itoa.h: New file.
23698
7cd195df
L
23699 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
23700 getdents system call only if kernel and user dirents have the
23701 same d_ino and d_off.
23702
94b07d20
L
23703 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
23704 LLONG_MAX != LONG_MAX.
23705 (_itoa_word): Use _ITOA_WORD_TYPE on value.
23706 (_fitoa_word): Likewise.
23707
18298070
L
23708 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
23709 years.
23710 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
23711 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
23712 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
23713
553c7ea4
L
23714 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
23715 include <bits/wordsize.h>. Check __x86_64__ instead of
23716 __WORDSIZE.
23717 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
23718 if __x86_64__ is defined. Use anonymous union on fpstate.
23719
3707636e
L
23720 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
23721 anonymous union.
23722
b53ef01a
AS
237232012-05-18 Andreas Schwab <schwab@linux-m68k.org>
23724
37fb1dc0
AS
23725 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
23726 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
23727 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
23728 Refer to _rtld_local_ro instead of _rtld_global_ro.
23729 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
23730 Likewise.
23731 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
23732 Likewise.
23733 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
23734 Likewise.
23735 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
23736 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
23737 of _rtld_global, and rtld_progname instead of _dl_argv[0].
23738
b53ef01a
AS
23739 * sysdeps/powerpc/powerpc32/dl-machine.c
23740 (__elf_machine_runtime_setup) [PROF]: Don't reference
23741 _dl_prof_resolve.
23742
7a185db2
AJ
237432012-05-18 Andreas Jaeger <aj@suse.de>
23744
23745 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
23746 function only available for GCCs before 3.4 since GCC 3.4
23747 introduced a builtin.
23748 (lrint): Likewise.
23749 (llrintf): Likewise.
23750 (llrint): Likewise.
23751 (fmaxf): Likewise.
23752 (fmax): Likewise.
23753 (fminf): Likewise.
23754 (fmin): Likewise.
23755 (rint): Likewise.
23756 (rintf): Likewise.
23757 (nearbyint): Likewise.
23758 (nearbyintf): Likewise.
23759 (ceil): Likewise.
23760 (ceilf): Likewise.
23761 (floor): Likewise.
23762 (floorf): Likewise.
23763
3e5aef87
L
237642012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23765
428bd707
L
23766 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
23767 on both fields and cast pointer to __syscall_ulong_t.
23768
3e5aef87
L
23769 * bits/types.h (__fsword_t): New type.
23770 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
23771 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
23772 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23773 (__FSWORD_T_TYPE): Likewise.
23774 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23775 (__FSWORD_T_TYPE): Likewise.
23776 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23777 (__FSWORD_T_TYPE): Likewise.
23778 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
23779 (__FSWORD_T_TYPE): Likewise.
23780 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
23781 __SWORD_TYPE with __fsword_t.
23782 (statfs64): Likewise.
23783
1ba7c3dc
DM
237842012-05-17 David S. Miller <davem@davemloft.net>
23785
23786 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
23787
59910343
AJ
237882012-05-17 Andreas Jaeger <aj@suse.de>
23789
23790 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
23791 warning.
23792
2e4c1e9e
L
237932012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23794
23795 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
23796
de7f5ce7
AJ
237972012-05-17 Andreas Jaeger <aj@suse.de>
23798
23799 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
23800 when it is used.
23801
286abc3d
CM
238022012-05-17 Chris Metcalf <cmetcalf@tilera.com>
23803
23804 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
23805
477cc68e
L
238062012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23807
23808 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
23809 * sysdeps/x86_64/tst-mallocalign1.c: New file.
23810
1a0994f5
CD
238112012-05-17 Andreas Jaeger <aj@suse.de>
23812 Carlos O'Donell <carlos_odonell@mentor.com>
23813
23814 [BZ #14059]
23815 * sysdeps/x86_64/multiarch/init-arch.h
23816 (bit_YMM_Usable): Rename to...
23817 (bit_AVX_Usable): ... this.
23818 (bit_FMA4_Usable): New macro.
23819 (bit_XMM_state): New macro.
23820 (bit_YMM_state): New macro.
23821 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
23822 [__ASSEMBLER__] (index_AVX_Usable): ... this.
23823 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
23824 (CPUID_OSXSAVE): New macro.
23825 (CPUID_AVX): New macro.
23826 (CPUID_FMA4): New macro.
23827 (index_YMM_Usable): Rename to...
23828 (index_AVX_Usable): ... this.
23829 (HAS_AVX): Use HAS_ARCH_FEATURE.
23830 (HAS_FMA4): Likewise.
23831 (HAS_YMM_USABLE): Remove.
23832 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23833 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
23834 are present.
23835 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
23836 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
23837 * sysdeps/x86_64/multiarch/Makefile: Likewise.
23838 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
23839 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
23840
0af797de
CM
238412012-05-17 Chris Metcalf <cmetcalf@tilera.com>
23842
23843 * math/libm-test.c: Support platforms without multiple rounding modes.
23844 * math/bug-nextafter.c: Support platforms without FP exceptions.
23845 * math/bug-nexttoward.c: Likewise.
23846 * math/test-fenv.c: Likewise.
23847 * math/test-misc.c: Likewise.
23848 * stdlib/bug-getcontext.c: Likewise.
23849
e39745ff
AJ
238502012-05-17 Andreas Jaeger <aj@suse.de>
23851
23852 * manual/examples/search.c (critter_cmp): Change signature to
23853 avoid warnings.
23854 * manual/string.texi (Collation Functions): Likewise.
23855
48970aba
L
238562012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23857
23858 * bits/types.h: Fold copyright years.
23859 * bits/typesizes.h: Likewise.
23860 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
23861 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
23862 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
23863 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
23864 * time/time.h: Likewise.
23865
bedee953
PP
238662012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
23867
23868 [BZ #208]
23869 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
23870 in instead of returning them. Return void.
23871 (__libc_mallinfo): Accumulate over all arenas.
23872 (__malloc_stats): Adjust for change in int_mallinfo interface.
23873
61653dfb
RM
238742012-05-16 Roland McGrath <roland@hack.frob.com>
23875
30b99d79
RM
23876 [BZ #10375]
23877 * configure.in (NM): Add AC_CHECK_TOOL for it.
23878 (libc_extra_cflags): New substituted variable.
23879 Check for -fstack-protector being used implicitly.
23880 * configure: Regenerated.
23881 * config.make.in (config-extra-cflags): New variable,
23882 gets @libc_extra_cflags@.
23883 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
23884
61653dfb
RM
23885 [BZ #10375]
23886 * configure.in: Check for _FORTIFY_SOURCE being predefined.
23887 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
23888 * configure: Regenerated.
23889 * config.make.in (CPPUNDEFS): New substituted variable.
23890 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
23891 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
23892 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
23893
661768bb
L
238942012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23895
23896 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
23897 (mq_attr): Use __syscall_slong_t.
23898
d4261567
L
238992012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23900
23901 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
23902 Check __x86_64__ instead of __WORDSIZE.
23903 (_STAT_VER_LINUX): Likewise.
23904 (stat): Check __x86_64__ instead of __WORDSIZE. Use
23905 __syscall_ulong_t and __syscall_slong_t.
23906 (stat64): Likewise.
23907
cf3ff365
L
239082012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23909
23910 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
23911
76cf3e4d
L
239122012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23913
23914 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
23915
a637753a
L
239162012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23917
23918 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
23919 __syscall_ulong_t.
23920
d5e05119
L
23921 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
23922 include <bits/wordsize.h>. Check __x86_64__ instead of
23923 __WORDSIZE.
23924 (greg_t): Use "__extension__ long long int" if __x86_64__ is
23925 defined.
23926 (mcontext_t): Replace "unsigned long" with "unsigned long long".
23927
f62ee380
L
23928 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
23929 include <bits/wordsize.h>. Check __x86_64__ instead of
23930 __WORDSIZE.
23931 (user_regs_struct): Use "__extension__ unsigned long long"
23932 instead of "unsigned long" if __x86_64__ is defined.
23933 (user): Likewise. Pad after pointer field if __ILP32__ is
23934 defined.
23935
4e124ced
JM
239362012-05-16 Joseph Myers <joseph@codesourcery.com>
23937
6a3951a0
JM
23938 * configure.in (makeinfo): Require version 4.5 or later. Allow
23939 versions 5 to 9.
23940 * configure: Regenerated.
23941 * manual/install.texi (texinfo): Increase version requirement to
23942 4.5 or later.
23943 * INSTALL: Regenerated.
23944
4e124ced
JM
23945 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
23946
953ca31a
L
239472012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23948
23949 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
23950
617aca05
L
23951 * sysdeps/x86_64/x32/ffs.c: New file.
23952
5762f7ae
L
23953 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
23954 __syscall_ulong_t.
23955 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
23956 defined. Use __syscall_ulong_t.
23957 (shminfo): Use __syscall_ulong_t.
23958 (shm_info): Likewise.
23959
a26b6856
L
23960 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
23961 __syscall_ulong_t.
23962
cb2b9ef7
L
23963 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
23964 <bits/wordsize.h>.
23965 (msgqnum_t): Use __syscall_ulong_t.
23966 (msglen_t): Likewise.
23967 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
23968 __syscall_ulong_t.
23969
34683bb0
L
23970 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
23971 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23972
84a68786
L
23973 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
23974
48baa5f1
L
23975 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
23976 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
23977
180be88b
L
23978 * sysvipc/sys/msg.h (msgbuf): Replace long int with
23979 __syscall_slong_t.
23980
5e90c8ad
L
23981 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
23982 include <bits/wordsize.h>. Check __x86_64__ instead of
23983 __WORDSIZE.
23984
23dfb58b
L
23985 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
23986 "unsigned long long int" if __x86_64__ is defined.
23987 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
23988
ce5d54b0
L
23989 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
23990 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23991 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
23992
13dc9eac
L
23993 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
23994 <stdint.h>.
23995 (GET_PC): Cast to uintptr_t first.
23996 (GET_FRAME): Likewise.
23997 (GET_STACK): Likewise.
23998
a7895d15
L
23999 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
24000 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
24001 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
24002 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
24003 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
24004 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
24005 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
24006 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
24007 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
24008 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
24009 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
24010 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
24011 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
24012 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
24013 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
24014 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
24015 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
24016 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
24017 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
24018 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
24019 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
24020 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
24021 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
24022 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
24023 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
24024 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
24025 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
24026 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
24027 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
24028
656416c9
AS
240292012-05-16 Andreas Schwab <schwab@linux-m68k.org>
24030
5bd66283
AS
24031 * Makerules (+depfiles): Also collect depfiles from .oS in
24032 $(extra-objs).
24033 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
24034 .oS, $(libnldbl-routines)).
24035
656416c9
AS
24036 * Makerules (native-compile-mkdep-flags): Define.
24037 * sunrpc/Makefile (extra-objs): Add $(addprefix
24038 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
24039 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
24040 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
24041 calling $(make-target-directory).
24042
a46f2169
L
240432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24044
24045 * bits/types.h (__snseconds_t): Removed.
24046 * time/time.h (struct timespec): Replace __snseconds_t with
24047 __syscall_slong_t.
24048 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
24049 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
24050 Likewise.
24051 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24052 (__SNSECONDS_T_TYPE): Likewise.
24053 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24054 (__SNSECONDS_T_TYPE): Likewise.
24055 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24056 (__SNSECONDS_T_TYPE): Likewise.
24057
6af6528b
L
240582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24059
24060 * sysdeps/mach/hurd/bits/typesizes.h
24061 (__SYSCALL_SLONG_TYPE): New macro.
24062 (__SYSCALL_ULONG_TYPE): Likewise.
24063
de986b56
L
240642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24065
24066 * bits/types.h (__syscall_slong_t): New type.
24067 (__syscall_ulong_t): Likewise.
24068
24069 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
24070 (__SYSCALL_ULONG_TYPE): Likewise.
24071 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24072 (__SYSCALL_SLONG_TYPE): Likewise.
24073 (__SYSCALL_ULONG_TYPE): Likewise.
24074 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24075 (__SYSCALL_SLONG_TYPE): Likewise.
24076 (__SYSCALL_ULONG_TYPE): Likewise.
24077 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24078 (__SYSCALL_SLONG_TYPE): Likewise.
24079 (__SYSCALL_ULONG_TYPE): Likewise.
24080
85736dc7
L
240812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24082
24083 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
24084 Add sigaltstack-offsets.sym.
24085 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
24086 <sigaltstack-offsets.h>.
24087 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
24088 longjmp_msg pointer.
24089 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
24090 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
24091 signal stack.
24092 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
24093
cc03b296
JM
240942012-05-15 Joseph Myers <joseph@codesourcery.com>
24095
a9538892
JM
24096 * elf/stackguard-macros.h: Remove file.
24097 * sysdeps/generic/stackguard-macros.h: New file.
24098 * sysdeps/i386/stackguard-macros.h: Likewise.
24099 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
24100 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
24101 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
24102 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
24103 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
24104 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
24105 * sysdeps/x86_64/stackguard-macros.h: Likewise.
24106 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
24107 <elf/stackguard-macros.h>.
24108
cc03b296
JM
24109 [BZ #14109]
24110 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
24111 __aligned__ in attribute.
24112 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
24113 (gregset_t): Likewise.
24114
93171016
L
241152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24116
24117 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
24118 * sysdeps/x86_64/64/Implies-after: Here. New file.
24119 * sysdeps/x86_64/x32/Implies-after: New file.
24120
d86813a0
L
241212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24122
24123 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
24124 and access return value for _dl_profile_fixup. Use R10_LP to
24125 load frame size.
24126
2953ec75
L
241272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24128
24129 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
24130
3b550e9e
L
241312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24132
24133 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
24134 * sysdeps/x86_64/x32/sysdep.h: New file.
24135
eda41706
L
241362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24137
24138 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
24139 * sysdeps/x86_64/setjmp.S: Likewise.
24140
9ea01d93
AZ
241412012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24142
24143 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
24144 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
24145 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
24146 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
24147 remove unused global constant.
24148
02a91938
CM
241492012-05-15 Chris Metcalf <cmetcalf@tilera.com>
24150
24151 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
24152 include of <not-cancel.h>.
24153
6540185f
RM
241542012-05-15 Roland McGrath <roland@hack.frob.com>
24155
24156 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
24157
509072a0
AJ
241582012-05-15 Jeff Law <law@redhat.com>
24159 Andreas Jaeger <aj@suse.de>
24160
24161 [BZ #13594]
24162 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
24163 out from...
24164 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
24165 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
24166 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
24167 code changing __hst_map_handle.map.
24168
ba75122d
RM
241692012-05-15 Roland McGrath <roland@hack.frob.com>
24170
24171 * configure.in (sysnames): Look for Implies-before and Implies-after
24172 files.
24173 * configure: Regenerated.
24174
890d8bd8
L
241752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24176
24177 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
24178 8-byte data alignment with LP_SIZE alignment.
24179
f6ee6623
L
241802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24181
24182 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
24183 into R10_LP.
24184
ea2626f6
L
241852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24186
24187 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
24188
085f715e
L
241892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24190
24191 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
24192 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
24193 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
24194 Likewise.
24195 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
24196
be8498fc
L
241972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24198
24199 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
24200 (stackinfo_sub_sp): Likewise.
24201
70bc83b9
L
242022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24203
24204 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
24205 RAX_LP.
24206
9bc0b730
L
242072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24208
24209 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
24210 into R*_LP.
24211
6d2850e7
L
242122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24213
24214 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
24215 sizes into R*_LP.
24216
3cb84561
L
242172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24218
24219 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
24220
54e2ed81
L
242212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24222
24223 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
24224 into R11_LP and load __x86_64_shared_cache_size_half into
24225 R8_LP.
24226
8a17f349
L
242272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24228
24229 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
24230 R8_LP.
24231
777b1eea
AZ
242322012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24233
24234 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
24235 logb for POWER7.
24236 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
24237 logbf for POWER7.
24238 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
24239 logbl for POWER7.
24240 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
24241 powerpc32/power7/fpu/s_logb.c via #include.
24242 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
24243 powerpc32/power7/fpu/s_logbf.c via #include.
24244 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
24245 powerpc32/power7/fpu/s_logbl.c via #include.
24246
d20d4ac2
JM
242472012-05-15 Joseph Myers <joseph@codesourcery.com>
24248
24249 * README.libm: Remove file.
24250
6cdef1ab
L
242512012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24252
24253 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
24254 count for x32. Use R*_LP and omit operand-size suffix.
24255
0b254d8f
L
242562012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24257
24258 * shlib-versions: Move x86_64-.*-linux.* entries to ...
24259 * sysdeps/x86_64/64/shlib-versions: Here. New file.
24260 * sysdeps/x86_64/x32/shlib-versions: New file.
24261
ceb809dc
RM
242622012-05-14 Roland McGrath <roland@hack.frob.com>
24263
24264 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
24265 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
24266 Use _dl_fatal_printf instead.
24267
37f1abd4
JM
242682012-05-14 Joseph Myers <joseph@codesourcery.com>
24269
24270 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
24271 set if not set by the user. Do not allow for being unset.
24272 * sysdeps/unix/sysv/linux/configure: Regenerated.
24273
11de3a33
L
242742012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24275
24276 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
24277 the `q' suffix from lea and replace .quad with ASM_ADDR.
24278
e02f153a
L
242792012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24280
24281 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
24282 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
24283 instead of $17.
24284 (PTR_DEMANGLE): Likewise.
24285
520ae0fd
L
242862012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24287
24288 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
24289 (LP_OP): Likewise.
24290 (ASM_ADDR): Likewise.
24291 (RAX_LP): Likewise.
24292 (RBP_LP): Likewise.
24293 (RBX_LP): Likewise.
24294 (RCX_LP): Likewise.
24295 (RDI_LP): Likewise.
24296 (RSI_LP): Likewise.
24297 (RSP_LP): Likewise.
24298 (R8_LP): Likewise.
24299 (R9_LP): Likewise.
24300 (R10_LP): Likewise.
24301 (R10_LP): Likewise.
24302 (R11_LP): Likewise.
24303 (R12_LP): Likewise.
24304 (R13_LP): Likewise.
24305 (R14_LP): Likewise.
24306 (R15_LP): Likewise.
24307
b985be81
L
243082012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24309
24310 * sysdeps/x86_64/x32/dl-machine.h: New file.
24311
6a4888ff
AJ
243122012-05-14 Andreas Jaeger <aj@suse.de>
24313
24314 * manual/Makefile (subdir): Remove export of subdir.
24315 (all): Remove target.
24316 (.PHONY): Remove all from list.
24317 (mkinstalldirs): Remove.
24318 (.PHONY): Remove installdirs from list.
24319 ($(inst_infodir)/libc.info): Use make-target-directory.
24320 (installdirs): Remove.
24321 (subdir_%): Remove.
24322 (glibc-targets): Remove.
24323 (lib): Remove.
24324 (stubs): Remove.
24325 ($(objpfx)stubs ../po/manual.pot): Remove.
24326 ($(objpfx)stamp%): Remove.
24327 (make-target-directory): Remove.
24328 (subdir_install): Remove.
24329 (routines): Remove.
24330 (aux): Remove.
24331 (sources): Remove.
24332 (objects): Remove.
24333 (headers): Remove.
24334
24335 [BZ #13750]
24336 * manual/.gitignore: Remove, it's not needed anymore.
24337 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
24338 all files in it.
24339 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
24340 directory.
24341 (texis): Renamed to $(objpfx)texis.
24342 (texis-path): New, contains path to generated files.
24343 (chapters.%): Use texis-path for complete path, add extra argument
24344 libc-texinfo.sh.
24345 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
24346 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
24347 (summary,texi, stamp-summary): Use complete path of
24348 files. Generate files in build dir.
24349 (dir-add.texi): Build in build dir.
24350 (libm-err.texi,stamp-libm-err): Likewise.
24351 (version.texi, stamp-version): Likewise.
24352 (.%c.texi): Likewise.
24353 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
24354 (mostlyclean): Remove target.
24355 (realclean): Remove target.
24356 (generated): Add new variable with contents from mostlyclean and
24357 realclean, remove entries duplicated in common-mostlyclean, add
24358 stamp-libm-err and stamp-version.
24359 (generated-dirs): Add libc directory.
24360 ($(inst_infodir)/libc.info): Install files from build dir.
24361
24362 * manual/install.texi (Configuring and compiling): Adjust since
24363 the info files are not part of the tar ball anymore.
24364
7ac77294
AJ
243652012-05-14 Andreas Jaeger <aj@suse.de>
24366
24367 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
24368 variable.
24369
ffb7875d
JM
243702012-05-14 Joseph Myers <joseph@codesourcery.com>
24371
24372 [BZ #13717]
24373 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
24374 to 2.2.0 where earlier.
24375 * sysdeps/unix/sysv/linux/configure: Regenerated.
24376 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
24377 Remove conditional code.
24378 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
24379 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
24380 Remove conditional code.
24381 [!__NR_lchown]: Likewise.
24382 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24383 [__NR_lchown]: Likewise.
24384 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
24385 comment referencing __ASSUME_LCHOWN_SYSCALL.
24386 * sysdeps/unix/sysv/linux/i386/sigaction.c
24387 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24388 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24389 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
24390 Remove conditional code.
24391 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
24392 (__protocol_available): Remove #if 0 code.
24393 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
24394 conditional code.
24395 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
24396 * sysdeps/unix/sysv/linux/kernel-features.h
24397 (__ASSUME_GETCWD_SYSCALL): Don't define.
24398 (__ASSUME_REALTIME_SIGNALS): Likewise.
24399 (__ASSUME_PREAD_SYSCALL): Likewise.
24400 (__ASSUME_PWRITE_SYSCALL): Likewise.
24401 (__ASSUME_POLL_SYSCALL): Likewise.
24402 (__ASSUME_LCHOWN_SYSCALL): Likewise.
24403 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
24404 non-SPARC.
24405 (__ASSUME_SIOCGIFNAME): Don't define.
24406 (__ASSUME_MSG_NOSIGNAL): Likewise.
24407 (__ASSUME_SENDFILE): Define unconditionally.
24408 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
24409 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
24410 conditional code.
24411 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
24412 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
24413 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24414 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24415 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
24416 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24417 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
24419 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24420 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
24422 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24423 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
24425 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24426 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
24428 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24429 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
24431 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24432 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
24434 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24435 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
24437 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24438 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
24440 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24441 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24442 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
24443 Remove conditional code.
24444 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24445 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24446 Remove conditional code.
24447 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24448 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
24449 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
24450 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24451 Remove conditional code.
24452 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24453 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
24454 Remove conditional code.
24455 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24456 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
24457 Remove conditional code.
24458 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24459 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24460 Remove conditional code.
24461 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24462 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24463 Remove conditional code.
24464 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24465 * sysdeps/unix/sysv/linux/sh/pwrite64.c
24466 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24467 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24468 * sysdeps/unix/sysv/linux/sigaction.c
24469 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24470 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24471 * sysdeps/unix/sysv/linux/sigpending.c
24472 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24473 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24474 * sysdeps/unix/sysv/linux/sigprocmask.c
24475 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24476 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24477 * sysdeps/unix/sysv/linux/sigsuspend.c
24478 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24479 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24480 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
24481 (__libc_missing_rt_sigs): Remove.
24482 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
24483 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
24484 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
24485 Remove conditional code.
24486 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
24487 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
24488 return 1.
24489 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
24490 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
24491 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
24492 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
24493
1bfb7291
AJ
244942012-05-14 Andreas Jaeger <aj@suse.de>
24495
caae5a81
AJ
24496 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
24497 it's not used in glibc.
24498 (__coshm1): Likewise.
24499 (__acosh1p): Likewise.
24500 (__sgn): Likewise.
24501
1bfb7291
AJ
24502 * manual/string.texi (Copying and Concatenation): Add missing
24503 variable in concat example.
24504 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
24505
c044d724
L
245062012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24507
144c5467 24508 [BZ #14103]
c044d724
L
24509 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
24510 __builtin_clzl with __builtin_clzll.
24511
2523c62b
L
245122012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24513
24514 [BZ #14104]
24515 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
24516 libc_freeres_ptr.
24517
d7bb4c42
LD
245182012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24519
24520 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
24521 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
24522 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
24523 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
24524
9dc4e1fb
MF
245252012-05-14 Mike Frysinger <vapier@gentoo.org>
24526
24527 * NEWS: Update ia64 info.
24528
c7df0112
AS
245292012-05-12 Andreas Schwab <schwab@linux-m68k.org>
24530
24531 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
24532 used as bcopy.
24533
dc70356c
TS
245342012-05-12 Thomas Schwinge <thomas@codesourcery.com>
24535
24536 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
24537 * sysdeps/unix/syscalls.list (dup3): Likewise.
24538 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
24539 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
24540
9fb1a21f
L
245412012-05-11 H.J. Lu <hongjiu.lu@intel.com>
24542
24543 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
24544 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
24545
4822a2a5
L
245462012-05-11 H.J. Lu <hongjiu.lu@intel.com>
24547
24548 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
24549 thread pointer.
24550 (TLS_IE): Use mov/add instead of movq/addq to load thread
24551 pointer.
24552 (TLS_GD_PREFIX): New.
24553 (TLS_GD): Use it.
24554
842b81d6
DM
245552012-05-11 David S. Miller <davem@davemloft.net>
24556
24557 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
24558 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
24559 (_FPU_SETCW): Likewise.
24560
1cf463cd
L
245612012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24562
24563 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
24564 is 32-byte aligned.
24565
60cc4a18
AS
245662012-05-11 Andreas Schwab <schwab@linux-m68k.org>
24567
24568 [BZ #11837]
24569 * iconvdata/gb18030.c: Update tables.
24570 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
24571 characters specially.
24572 (BODY for TO_LOOP): Add encoding of missing ranges.
24573
febb44a4
TS
245742012-05-11 Thomas Schwinge <thomas@codesourcery.com>
24575
24576 [BZ #13673]
24577 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
24578 * sysdeps/mach/hurd/dup3.c: Likewise.
24579 * sysdeps/mach/hurd/readlinkat.c: Likewise.
24580 * sysdeps/powerpc/memmove.c:: Likewise.
24581
0a10fb9e
L
245822012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24583
24584 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
24585 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
24586
df8a552f
L
245872012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24588
24589 * elf/elf.h (R_X86_64_RELATIVE64): New.
24590 (R_X86_64_NUM): Updated.
24591 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24592 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
24593 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
24594 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
24595 tst-quad1pie tst-quad2pie
24596 (modules-names): Add tst-quadmod1 tst-quadmod2.
24597 ($(objpfx)tst-quad1): New dependency.
24598 ($(objpfx)tst-quad2): Likewise.
24599 ($(objpfx)tst-quad1pie): Likewise.
24600 ($(objpfx)tst-quad2pie): Likewise.
24601 * sysdeps/x86_64/tst-quad1.c: New file.
24602 * sysdeps/x86_64/tst-quad1pie.c: New file.
24603 * sysdeps/x86_64/tst-quad2.c: Likewise.
24604 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
24605 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
24606 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
24607 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
24608 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
24609
f34d6f84
ST
246102012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24611
f42d41d1
ST
24612 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
24613 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
24614 * streams/stropts.h (t_scalar_t): Define type.
24615
3c3571fc
ST
24616 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
24617 (_PATH_PRESERVE): Set to "/var/lib".
24618 (_PATH_RWHODIR): Set to "/var/spool/rwho".
24619
61f06bd3
ST
24620 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
24621 instead of int.
24622
918d4d71
ST
24623 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
24624 if __dir_mkfile succeeded.
24625
f34d6f84
ST
24626 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
24627 checking for _hurd_dtablesize. Unlock it right after having
24628 finished _hurd_dtable allocation.
24629
10589b4a
TS
246302012-05-10 Thomas Schwinge <thomas@schwinge.name>
24631
674cdbc7
TS
24632 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
24633 * sysdeps/mach/hurd/configure: Regenerated.
24634 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
24635 special-casing to...
24636 * sysdeps/gnu/configure.in: ... this new file.
24637 * sysdeps/unix/sysv/linux/configure: Regenerated.
24638 * sysdeps/gnu/configure: New generated file.
24639
8e41b99f
TS
24640 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
24641 for Linux: use nsec instead of usec, as well as:
24642 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
24643 members of type struct timespec.
24644 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
24645 New macros.
24646 (struct stat64): Likewise.
24647 (_STATBUF_ST_NSEC): New macro.
24648 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
24649
10589b4a
TS
24650 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
24651 __strtoul_internal rather than strtoul.
24652
63643c85
PT
246532012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24654
24655 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
24656 and reject them.
24657
3faebe6a
ST
246582012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24659
24660 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
24661 which preserves existing values.
24662 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
24663
c6474b07
PT
246642012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24665
24666 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
24667 TIMEOUT values. Return EINVAL for NFDS values either negative or
24668 greater than FD_SETSIZE.
24669
1043890b
ST
246702012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24671
24672 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
24673 allocated, call __vm_protect to finish enabling the existing space, and
24674 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
24675 allocate the remainder.
24676
37ed8b9b
PT
246772012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24678
24679 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
24680 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
24681
db653660
ST
246822012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24683
37ed8b9b
PT
24684 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
24685 sysdeps/mach/hurd/readlink.c.
b29d4053 24686
db653660
ST
24687 * posix/tst-sysconf.c (posix_options): Only use
24688 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
24689 _POSIX_SYNCHRONIZED_IO when they are defined
24690 * sysdeps/mach/hurd/bits/posix_opt.h:
24691 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
24692 (_XOPEN_REALTIME): Undefine macro.
24693 (_XOPEN_REALTIME_THREADS): Undefine macro.
24694 (_XOPEN_SHM): Undefine macro.
24695 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
24696 macro to -1.
24697 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
24698 macro to -1.
24699 (_POSIX_ASYNC_IO): Undefine macro.
24700 (_POSIX_PRIORITIZED_IO): Undefine macro.
24701 (_POSIX_SPIN_LOCKS): Define macro to -1.
24702
ee16e894
ST
24703 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
24704 SA_NODEFER, SA_RESETHAND.
24705 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
24706 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
24707 F_DUPFD_CLOEXEC.
24708
6103ae3b
TS
247092012-05-10 Thomas Schwinge <thomas@schwinge.name>
24710
24711 * elf/Makefile (pldd-modules): Define unconditionally.
24712
80b4e5f3
TS
247132012-05-10 Thomas Schwinge <thomas@schwinge.name>
24714
24715 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
24716
edadcbd6
ST
247172012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24718
24719 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
24720 Return ENOENT when name is empty.
24721 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
24722
80694780
TS
247232012-05-10 Thomas Schwinge <thomas@schwinge.name>
24724
1792c087
TS
24725 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
24726
80694780
TS
24727 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
24728
6b645f0d
ST
247292012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24730
80694780
TS
24731 Fix mlock in all cases except non-readable pages.
24732 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
24733 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 24734
6b645f0d
ST
24735 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
24736 (__mkdir): When path is `/', just fail with EEXIST.
24737 * sysdeps/mach/hurd/mkdirat.c: Likewise.
24738
e468f8a3
TS
247392012-05-10 Thomas Schwinge <thomas@schwinge.name>
24740
24741 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
24742 <sys/uio.h> (for writev).
24743 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
24744 and <sys/param.h> (for MIN).
24745
a4186cff
PT
247462012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24747
24748 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
24749 REQUESTED_TIME. Properly set the remaining time and return EINTR
24750 if interrupted.
24751
510bbf14
TS
247522012-05-10 Thomas Schwinge <thomas@schwinge.name>
24753
24754 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
24755 Depend on against $(link-rpcuserlibs).
24756
5d5722e8
ST
247572012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24758
a4186cff
PT
24759 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
24760 (__libc_stack_end): Do not use attribute_relro.
24761 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
24762 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 24763 to libthread-provided value.
a4186cff
PT
24764 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
24765 attribute_relro.
5d5722e8 24766
37233df9
TS
247672012-05-10 Thomas Schwinge <thomas@schwinge.name>
24768
be971a2b
TS
24769 [BZ #3748]
24770 * bits/libc-lock.h (__libc_once_get): New macro.
24771 * sysdeps/mach/bits/libc-lock.h: Likewise.
24772 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
24773 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
24774 instead of using implementation details.
24775
37233df9
TS
24776 * libio/fileops.c: Unconditionally include <kernel-features.h>.
24777 * libio/freopen.c: Likewise.
24778 * libio/freopen64.c: Likewise.
24779 * misc/syslog.c: Likewise.
24780 * nscd/connections.c: Likewise.
24781 * nscd/netgroupcache.c: Likewise.
24782 * sysdeps/posix/getcwd.c: Likewise.
24783
38de94a5
RM
247842012-05-10 Roland McGrath <roland@hack.frob.com>
24785
24786 * math/w_ilogbf.c: Add #include <limits.h>.
24787
67530489
ST
247882012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24789
a4186cff 24790 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
24791 path instead of returning without unlocking.
24792
67530489
ST
24793 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
24794 immediate-write ioctls.
24795 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
24796
5aa3a74a
TS
247972012-05-10 Thomas Schwinge <thomas@schwinge.name>
24798
18bad2ae
TS
24799 * sysdeps/mach/hurd/i386/init-first.c (init): Use
24800 __builtin_frame_address instead of making assumptions about the
24801 location of the return address relative to DATA. Force early load of
24802 the return address.
24803 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
24804 __builtin_frame_address.
24805
5aa3a74a
TS
24806 dup3 for GNU Hurd.
24807 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
24808 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
24809 implement dup3 and do some further code clean-ups.
24810 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
24811 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
24812
ecd0de9a
ST
248132012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24814
cd9fa985
ST
24815 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
24816
a4186cff
PT
24817 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
24818 HURD_CRITICAL_END around holding _hurd_dtable_lock.
24819 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
24820 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
24821 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
24822 d->port.lock.
802ca5a5 24823
a4186cff
PT
24824 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
24825 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
24826 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 24827
bcf55240
TS
248282012-05-10 Thomas Schwinge <thomas@schwinge.name>
24829
6960eb42
TS
24830 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
24831 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
24832 definitions.
24833
eb43375f
TS
24834 accept4 for GNU Hurd.
24835 * include/sys/socket.h (__libc_accept4): New prototype.
24836 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
24837 to implement __libc_accept4.
24838 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
24839 __libc_accept4.
24840 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
24841
bcf55240
TS
24842 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
24843 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
24844 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
24845 signal-defines.sym.
24846
6178c55b
ST
248472012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24848
a4186cff 24849 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 24850
6f080c2f
TS
248512012-05-10 Thomas Schwinge <thomas@schwinge.name>
24852
24853 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
24854 assertion on O_CLOEXEC flag.
24855 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
24856 * hurd/intern-fd.c: Likewise.
24857 * hurd/port2fd.c: Likewise.
24858
bcfe3a54
ST
248592012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24860
24861 [BZ #3906]
24862 * bits/in.h (IPV6_PKTINFO): Define new macro.
24863 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
24864
89c9aa49
AZ
248652012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24866
24867 [BZ #13954]
24868 [BZ #13955]
24869 [BZ #13956]
24870 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
24871 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
24872 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
24873 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
24874 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24875 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
24876 * math/libm-test.inc (logb_test) : Additional logb tests.
24877
021db4be
AJ
248782012-05-09 Andreas Schwab <schwab@linux-m68k.org>
24879 Andreas Jaeger <aj@suse.de>
24880
24881 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
24882 * configure: Regenerated.
24883 * config.h.in (LINK_OBSOLETE_RPC): New macro.
24884 * config.make.in (link-obsolete-rpc): New substituted variable.
24885 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
24886 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
24887 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
24888 (shared-only-routines): Don't set it under [link-obsolete-rpc],
24889 so that libc.a contains the symbols.
24890 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
24891 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
24892 * sunrpc/auth_none.c: Likewise.
24893 * sunrpc/auth_unix.c: Likewise.
24894 * sunrpc/authdes_prot.c: Likewise.
24895 * sunrpc/authuxprot.c: Likewise.
24896 * sunrpc/clnt_gen.c: Likewise.
24897 * sunrpc/clnt_perr.c: Likewise.
24898 * sunrpc/clnt_raw.c: Likewise.
24899 * sunrpc/clnt_simp.c: Likewise.
24900 * sunrpc/clnt_tcp.c: Likewise.
24901 * sunrpc/clnt_udp.c: Likewise.
24902 * sunrpc/clnt_unix.c: Likewise.
24903 * sunrpc/des_crypt.c: Likewise.
24904 * sunrpc/des_soft.c: Likewise.
24905 * sunrpc/get_myaddr.c: Likewise.
24906 * sunrpc/key_call.c: Likewise.
24907 * sunrpc/key_prot.c: Likewise.
24908 * sunrpc/netname.c: Likewise.
24909 * sunrpc/pm_getmaps.c: Likewise.
24910 * sunrpc/pm_getport.c: Likewise.
24911 * sunrpc/pmap_clnt.c: Likewise.
24912 * sunrpc/pmap_prot.c: Likewise.
24913 * sunrpc/pmap_prot2.c: Likewise.
24914 * sunrpc/pmap_rmt.c: Likewise.
24915 * sunrpc/publickey.c: Likewise.
24916 * sunrpc/rpc_cmsg.c: Likewise.
24917 * sunrpc/rpc_common.c: Likewise.
24918 * sunrpc/rpc_dtable.c: Likewise.
24919 * sunrpc/rpc_prot.c: Likewise.
24920 * sunrpc/rpc_thread.c: Likewise.
24921 * sunrpc/rtime.c: Likewise.
24922 * sunrpc/svc.c: Likewise.
24923 * sunrpc/svc_auth.c: Likewise.
24924 * sunrpc/svc_raw.c: Likewise.
24925 * sunrpc/svc_run.c: Likewise.
24926 * sunrpc/svc_tcp.c: Likewise.
24927 * sunrpc/svc_udp.c: Likewise.
24928 * sunrpc/svc_unix.c: Likewise.
24929 * sunrpc/svcauth_des.c: Likewise.
24930 * sunrpc/xcrypt.c: Likewise.
24931 * sunrpc/xdr.c: Likewise.
24932 * sunrpc/xdr_array.c: Likewise.
24933 * sunrpc/xdr_float.c: Likewise.
24934 * sunrpc/xdr_intXX_t.c: Likewise.
24935 * sunrpc/xdr_mem.c: Likewise.
24936 * sunrpc/xdr_rec.c: Likewise.
24937 * sunrpc/xdr_ref.c: Likewise.
24938 * sunrpc/xdr_sizeof.c: Likewise.
24939 * sunrpc/xdr_stdio.c: Likewise.
24940
b5c086a2
RM
249412012-05-10 Roland McGrath <roland@hack.frob.com>
24942
24943 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
24944 change. Update copyright years.
24945
6d74dd09
JM
249462012-05-10 Joseph Myers <joseph@codesourcery.com>
24947
24948 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
24949
28e72501
MK
249502012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
24951 Joseph Myers <joseph@codesourcery.com>
24952 Paul Pluzhnikov <ppluzhnikov@google.com>
24953
24954 [BZ #14012]
24955 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
24956 requiring rpcgen.
24957 [cross-compiling] (extra-libs): Likewise.
24958 [cross-compiling] (extra-libs-others): Likewise.
24959 [cross-compiling] (librpcsvc-routines): Likewise.
24960 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
24961 [cross-compiling] (omit-deps): Likewise.
24962 (sunrpc-CPPFLAGS): New variable.
24963 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
24964 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
24965 (cross-rpcgen-objs): New variable.
24966 (extra-objs): Append $(cross-rpcgen-objs).
24967 ($(cross-rpcgen-objs)): New rule.
24968 ($(objpfx)cross-rpcgen): Likewise.
24969 (rpcgen-cmd): Define to use $(built-program-file). Expand
24970 comment.
24971 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
24972 ($(objpfx)x%.stmp): Likewise.
24973 * sunrpc/proto.h [IS_IN_build] (_): Define.
24974 [IS_IN_build] (_libc_intl_domainname): Likewise.
24975
c8c59454
L
249762012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24977
24978 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
24979 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
24980 and R_X86_64_TPOFF64.
24981
6f27cd16
JM
249822012-05-10 Joseph Myers <joseph@codesourcery.com>
24983
24984 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
24985 sysdeps/unix/sysv/syscalls.list.
24986 (stime): Likewise.
24987 (utime): Likewise.
24988 * sysdeps/unix/sysv/syscalls.list: Remove file.
24989
02467e1c
PE
249902012-05-10 Paul Eggert <eggert@cs.ucla.edu>
24991
24992 [BZ #3440]
24993 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
24994 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
24995 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
24996 (__LC_IDENTIFICATION): Make these macros useful in #if
24997 expressions, as required by C99.
24998
da392631
AS
249992012-05-10 Andreas Schwab <schwab@linux-m68k.org>
25000
25001 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
25002 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
25003 after this.
25004
8115f29b
L
250052012-05-09 H.J. Lu <hongjiu.lu@intel.com>
25006
25007 * stdlib/longlong.h: Updated from GCC.
25008
bdd74070
AJ
250092012-05-09 Andreas Jaeger <aj@suse.de>
25010
edfe0dbe
AJ
25011 * nscd/nscd.c (run_modes): Make named enum, reorder so that
25012 default is first entry.
25013 (run_mode): Set type.
25014 (main): Remove informal message about syslog.
25015 (options): Fix typo.
25016
bcfe3a54
ST
25017 [BZ #14053]
25018 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 25019 to asm.
bcfe3a54
ST
25020 (lrint): Likewise.
25021 (llrintf): Likewise.
25022 (llrint): Likewise.
25023 (rint): Likewise.
25024 (rintf): Likewise.
25025 (nearbyint): Likewise.
25026 (nearbyintf): Likewise.
bdd74070 25027
91d8d69e
AJ
250282012-05-09 Andreas Jaeger <aj@suse.de>
25029 Pedro Alves <palves@redhat.com>
25030
25031 * nscd/nscd.c (run_mode): Use enum.
25032 (main): Cleanup coding style issue.
25033
bb90b80b
AJ
250342012-05-09 Alexandre Oliva <aoliva@redhat.com>
25035 Andreas Jaeger <aj@suse.de>
25036
bcfe3a54
ST
25037 * nscd/nscd.c (go_background): Replaced with...
25038 (run_mode): ... this.
bb90b80b 25039 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
25040 (options): Add -F --foreground.
25041 (main): Implement it.
25042 (parse_opt): Parse it.
bb90b80b 25043
1a4b75a1
AJ
250442012-05-09 Andreas Jaeger <aj@suse.de>
25045
25046 [BZ #14083]
25047 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
25048 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
25049 -Wconversion warning.
25050 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
25051 Likewise.
25052
b1cc2472
JM
250532012-05-09 Joseph Myers <joseph@codesourcery.com>
25054
25055 * conform/data/locale.h-data (NULL): Use macro-constant. Require
25056 == 0.
25057 (LC_ALL): Use macro-int-constant.
25058 (LC_COLLATE): Likewise.
25059 (LC_CTYPE): Likewise.
25060 (LC_MESSAGES): Likewise.
25061 (LC_MONETARY): Likewise.
25062 (LC_NUMERIC): Likewise.
25063 (LC_TIME): Likewise.
25064 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
25065 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
25066 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25067 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
25068 Specify type.
25069 [C99-based standards] (float_t): Expect type.
25070 [C99-based standards] (double_t): Expect type.
25071 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
25072 type.
25073 [C99-based standards] (HUGE_VALL): Likewise.
25074 [C99-based standards] (INFINITY): Likewise.
25075 [C99-based standards] (NAN): Likewise.
25076 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
25077 [C99-based standards] (FP_NAN): Likewise.
25078 [C99-based standards] (FP_NORMAL): Likewise.
25079 [C99-based standards] (FP_SUBNORMAL): Likewise.
25080 [C99-based standards] (FP_ZERO): Likewise.
25081 [C99-based standards] (FP_FAST_FMA): Use
25082 optional-macro-int-constant. Specify type. Require == 1.
25083 [C99-based standards] (FP_FAST_FMAF): Likewise.
25084 [C99-based standards] (FP_FAST_FMAL): Likewise.
25085 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
25086 [C99-based standards] (FP_ILOGBNAN): Likewise.
25087 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
25088 Specify type.
25089 [C99-based standards] (MATH_ERREXCEPT): Likewise.
25090 [C99-based standards] (math_errhandling): Specify type.
25091 [ISO99 || ISO11] (signgam): Do not allow.
25092 [non-C99-based standards] (copysignf): Do not allow.
25093 [non-C99-based standards] (exp2f): Likewise.
25094 [non-C99-based standards] (log2f): Likewise.
25095 [non-C99-based standards] (modff): Allow.
25096 [non-C99-based standards] (erff): Do not allow.
25097 [non-C99-based standards] (erfcf): Likewise.
25098 [non-C99-based standards] (gammaf): Likewise.
25099 [non-C99-based standards] (hypotf): Likewise.
25100 [non-C99-based standards] (j0f): Likewise.
25101 [non-C99-based standards] (j1f): Likewise.
25102 [non-C99-based standards] (jnf): Likewise.
25103 [non-C99-based standards] (lgammaf): Likewise.
25104 [non-C99-based standards] (tgammaf): Likewise.
25105 [non-C99-based standards] (y0f): Likewise.
25106 [non-C99-based standards] (y1f): Likewise.
25107 [non-C99-based standards] (ynf): Likewise.
25108 [non-C99-based standards] (isnanf): Likewise.
25109 [non-C99-based standards] (acoshf): Likewise.
25110 [non-C99-based standards] (asinhf): Likewise.
25111 [non-C99-based standards] (atanhf): Likewise.
25112 [non-C99-based standards] (cbrtf): Likewise.
25113 [non-C99-based standards] (expm1f): Likewise.
25114 [non-C99-based standards] (ilogbf): Likewise.
25115 [non-C99-based standards] (log1pf): Likewise.
25116 [non-C99-based standards] (logbf): Likewise.
25117 [non-C99-based standards] (nextafterf): Likewise.
25118 [non-C99-based standards] (remainderf): Likewise.
25119 [non-C99-based standards] (rintf): Likewise.
25120 [non-C99-based standards] (scalbf): Likewise.
25121 [non-C99-based standards] (copysignl): Likewise.
25122 [non-C99-based standards] (exp2l): Likewise.
25123 [non-C99-based standards] (log2l): Likewise.
25124 [non-C99-based standards] (modfl): Allow.
25125 [non-C99-based standards] (erfl): Do not allow.
25126 [non-C99-based standards] (erfcl): Likewise.
25127 [non-C99-based standards] (gammal): Likewise.
25128 [non-C99-based standards] (hypotl): Likewise.
25129 [non-C99-based standards] (j0l): Likewise.
25130 [non-C99-based standards] (j1l): Likewise.
25131 [non-C99-based standards] (jnl): Likewise.
25132 [non-C99-based standards] (lgammal): Likewise.
25133 [non-C99-based standards] (tgammal): Likewise.
25134 [non-C99-based standards] (y0l): Likewise.
25135 [non-C99-based standards] (y1l): Likewise.
25136 [non-C99-based standards] (ynl): Likewise.
25137 [non-C99-based standards] (isnanl): Likewise.
25138 [non-C99-based standards] (acoshl): Likewise.
25139 [non-C99-based standards] (asinhl): Likewise.
25140 [non-C99-based standards] (atanhl): Likewise.
25141 [non-C99-based standards] (cbrtl): Likewise.
25142 [non-C99-based standards] (expm1l): Likewise.
25143 [non-C99-based standards] (ilogbl): Likewise.
25144 [non-C99-based standards] (log1pl): Likewise.
25145 [non-C99-based standards] (logbl): Likewise.
25146 [non-C99-based standards] (nextafterl): Likewise.
25147 [non-C99-based standards] (remainderl): Likewise.
25148 [non-C99-based standards] (rintl): Likewise.
25149 [non-C99-based standards] (scalbl): Likewise.
25150 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25151 [non-C99-based standards] (FP_*): Do not allow.
25152 [C99-based standards] (FP_*): Change to
25153 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
25154 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25155 allow.
25156 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
25157 (SIG_ERR): Likewise.
25158 [X/Open-based standards] (SIG_HOLD): Likewise.
25159 (SIG_IGN): Likewise.
25160 (SIGABRT): Use macro-int-constant. Specify type. Require
25161 positive value.
25162 (SIGFPE): Likewise.
25163 (SIGILL): Likewise.
25164 (SIGINT): Likewise.
25165 (SIGSEGV): Likewise.
25166 (SIGTER): Likewise.
25167 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
25168 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
25169 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
25170 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
25171 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
25172 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
25173 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
25174 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
25175 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
25176 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
25177 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
25178 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
25179 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
25180 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
25181 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
25182 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
25183 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
25184 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
25185 [X/Open-based standards] (SIGTRAP): Likewise.
25186 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
25187 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
25188 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
25189 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
25190 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25191 allow.
25192
b9f1922d
IW
251932012-05-08 Ian Wienand <ianw@vmware.com>
25194
25195 [BZ #14080]
25196 * time/tzset.c (__tzset_parse_tz): Update default rules for
25197 daylight time changes in the Energy Policy Act of 2005.
25198
1db86e88
AJ
251992012-05-09 Andreas Jaeger <aj@suse.de>
25200
25201 [BZ #13983]
25202 * elf/ldconfig.c (parse_conf): Change string to make clear that
25203 ldconfig only issued a warning if ld.so.conf does not exist.
25204
dee4a4e3
DM
252052012-05-08 David S. Miller <davem@davemloft.net>
25206
ee0db190
DM
25207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
25208 movxtod instead of popping the value on the stack.
25209
dee4a4e3
DM
25210 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25211
6a43ec98
CD
252122012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
25213
25214 * config.h.in: Add HAVE_ARM_PCS_VFP.
25215
05c2c961
RMG
252162012-05-08 Roland Mc Grath <roland@hack.frob.com>
25217
bcfe3a54
ST
25218 [BZ #13979]
25219 * include/features.h: Warn if user requests __FORTIFY_SOURCE
25220 checking but the checks are disabled for any reason.
05c2c961 25221
4b30f61a
L
252222012-05-08 H.J. Lu <hongjiu.lu@intel.com>
25223
25224 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
25225 and ELF64_R_TYPE with ELFW(R_TYPE).
25226
eee2bc67
JM
252272012-05-08 Joseph Myers <joseph@codesourcery.com>
25228
7ea5391a
JM
25229 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
25230 (ulimit): Likewise.
25231
eee2bc67
JM
25232 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
25233 (settimeofday): Likewise.
25234
abb66a67
MF
252352012-05-08 Mike Frysinger <vapier@gentoo.org>
25236
25237 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
25238 a struct th_u2 inside the union, and move tu_block/tu_code into
25239 a new th_u3 union of tu_block/tu_code inside of that. Move
25240 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
25241 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
25242 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
25243 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
25244 (th_stuff): Change to th_u1.tu_stuff.
25245 (th_data): Define.
25246 (th_msg): Change to th_u1.th_u2.tu_data.
25247
7f18b530
DM
252482012-05-07 David S. Miller <davem@davemloft.net>
25249
05760585
DM
25250 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25251
7f18b530
DM
25252 [BZ #14074]
25253 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
25254 (SETUP_PIC_REG): Use it.
25255 (SETUP_PIC_REG_LEAF): Use it.
25256
495fd99f
JM
252572012-05-07 Joseph Myers <joseph@codesourcery.com>
25258
25259 [BZ #13885]
25260 [BZ #13923]
25261 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25262 USE_AS_EXPM1L.
25263 (EXPL_FINITE): Likewise.
25264 (FLDLOG): Likewise.
25265 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25266 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25267 e_expl.S.
25268 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25269 USE_AS_EXPM1L.
25270 (EXPL_FINITE): Likewise.
25271 (FLDLOG): Likewise.
25272 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25273 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25274 e_expl.S.
25275 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
25276 test of -max_value argument for long double.
25277 * sysdeps/i386/fpu/libm-test-ulps: Update.
25278 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25279
6693d694
DM
252802012-05-06 David S. Miller <davem@davemloft.net>
25281
25282 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
25283 quad soft-float symbols whose references which are compiler
25284 generated.
25285 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
25286
6c23e11c
JM
252872012-05-06 Joseph Myers <joseph@codesourcery.com>
25288
d8b82cad
JM
25289 [BZ #13884]
25290 [BZ #13914]
25291 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25292 USE_AS_EXP10L.
25293 (EXPL_FINITE): Likewise.
25294 (FLDLOG): Likewise.
25295 (c0): Likewise.
25296 (c1): Likewise.
25297 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
25298 Adjust comments for base varying.
25299 (__expl_finite): Change alias to EXPL_FINITE.
25300 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
25301 e_expl.S.
25302 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
25303 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
25304 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
25305 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
25306 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25307 USE_AS_EXP10L.
25308 (EXPL_FINITE): Likewise.
25309 (FLDLOG): Likewise.
25310 (c0): Likewise.
25311 (c1): Likewise.
25312 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
25313 Adjust comments for base varying.
25314 (__expl_finite): Change alias to EXPL_FINITE.
25315 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
25316 tests for bugs.
25317 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25318
6c23e11c
JM
25319 [BZ #14064]
25320 * math/libm-test.inc (check_float_internal): Correct ulp
25321 calculation for subnormal expected results.
25322
29ba805c
AJ
253232012-05-06 Andreas Jaeger <aj@suse.de>
25324
25325 * Makeconfig (+math-flags): New, set to -frounding-math.
25326 (+cflags): Add +math-flags so that all of glibc gets compiled with
25327 it.
25328
25329 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
25330
7b17aeda
JM
253312012-05-05 Joseph Myers <joseph@codesourcery.com>
25332
5779f134
JM
25333 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
25334 Disable one test.
25335
41498f4d
JM
25336 [BZ #13787]
25337 [BZ #13922]
25338 [BZ #14036]
25339 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
25340 (__ieee754_expl): Allow for and saturate large arguments.
25341 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
25342 (u_threshold): Likewise.
25343 (__exp): Call __ieee754_exp before checking for overflow and
25344 underflow.
25345 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
25346 (u_threshold): Likewise.
25347 (__expf): Call __ieee754_expf before checking for overflow and
25348 underflow.
25349 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
25350 (u_threshold): Likewise.
25351 (__expl): Call __ieee754_expl before checking for overflow and
25352 underflow.
25353 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
25354 (__ieee754_expl): Allow for and saturate large arguments.
25355 * math/libm-test.inc (exp_test): Add another test. Do not allow
25356 missing overflow exception on overflow.
25357 (expm1_test): Do not allow missing overflow exception on overflow.
25358
6698b8bf
JM
25359 * sysdeps/i386/fpu/e_expl.c: Move to ...
25360 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
25361 rather than using inline asm.
25362 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
25363 * sysdeps/x86_64/fpu/e_expl.S: Copy from
25364 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
25365
7b17aeda
JM
25366 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
25367 (nice): Likewise.
25368 (poll): Likewise.
25369 (signal): Likewise.
25370 (time): Likewise.
25371 (times): Likewise.
25372
f7c85819
JM
253732012-05-04 Joseph Myers <joseph@codesourcery.com>
25374
25375 * sysdeps/unix/syscalls.list (adjtime): Add entry from
25376 sysdeps/unix/common/syscalls.list.
25377 (fchmod): Likewise.
25378 (fchown): Likewise.
25379 (ftruncate): Likewise.
25380 (getrusage): Likewise.
25381 (gettimeofday): Likewise.
25382 (setpgid): Likewise.
25383 (setregid): Likewise.
25384 (setreuid): Likewise.
25385 (sigaction): Likewise.
25386 (truncate): Likewise.
25387 (vhangup): Likewise.
25388 * sysdeps/unix/common/syscalls.list: Remove file.
25389 * sysdeps/unix/bsd/Implies: Don't include unix/common.
25390 * sysdeps/unix/sysv/linux/Implies: Likewise.
25391
336270d0
L
253922012-05-04 H.J. Lu <hongjiu.lu@intel.com>
25393
25394 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
25395 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
25396 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
25397 Moved to ...
25398 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
25399 Here.
25400 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
25401 to ...
25402 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
25403 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
25404 to ...
25405 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
25406 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
25407 to ...
25408 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
25409 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
25410 to ...
25411 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
25412 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
25413 to ...
25414 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
25415 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
25416 to ...
25417 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
25418 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
25419 to ...
25420 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25421 Here.
25422 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
25423 to ...
25424 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
25425 Here.
25426 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
25427 to ...
25428 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
25429 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
25430 Moved to ...
25431 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
25432 Here.
25433 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
25434 to ...
25435 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
25436
d128e450
JM
254372012-05-04 Joseph Myers <joseph@codesourcery.com>
25438
fa8ee516
JM
25439 * sysdeps/unix/common/bits/dirent.h: Remove file.
25440 * sysdeps/unix/common/bits/fcntl.h: Likewise.
25441
d128e450
JM
25442 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
25443 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
25444 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
25445 * sysdeps/unix/bsd/isatty.c: Likewise.
25446 * sysdeps/unix/bsd/tcdrain.c: Likewise.
25447 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
25448 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
25449
ff8faaf0 254502012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 25451
62881be4 25452 [BZ #13563]
31dc8730
AZ
25453 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
25454 long double comparison inaccuracies.
25455 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
25456 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25457
6fef930c
AS
254582012-05-04 Andreas Schwab <schwab@linux-m68k.org>
25459
25460 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
25461 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
25462
8f203e6c
JM
254632012-05-04 Joseph Myers <joseph@codesourcery.com>
25464
25465 [BZ #14049]
25466 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
25467 nonzero digits before rounding a hex value.
25468 * stdlib/tst-strtod.c (tests): Add another test.
25469
5197d9c2
AK
254702012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25471
25472 * sysdeps/s390/fpu/libm-test-ulps: Update.
25473
f0c1dedf
AJ
254742012-05-03 Andreas Jaeger <aj@suse.de>
25475
25476 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
25477 does not get optimized out.
25478 (malloc_opt_barrier): New.
25479
a65ef2ae 254802012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 25481 Roland McGrath <roland@hack.frob.com>
a65ef2ae 25482
2b942cb7 25483 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 25484 intermediate file deletion.
2b942cb7 25485 (generated): Add .symlist files.
a65ef2ae 25486
54b71e02
JM
254872012-05-03 Joseph Myers <joseph@codesourcery.com>
25488
25489 [BZ #13775]
25490 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
25491 Redirect under this condition.
25492 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25493 [__USE_GNU] (__dprintf_chk): Not under this condition.
25494 [__USE_GNU] (__vdprintf_chk): Likewise.
25495 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
25496 under this condition.
25497 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25498 [__USE_XOPEN2K8] (dprintf): Define under this condition.
25499 [__USE_XOPEN2K8] (vdprintf): Likewise.
25500 [__USE_GNU] (__dprintf_chk): Not under this condition.
25501 [__USE_GNU] (__vdprintf_chk): Likewise.
25502 [__USE_GNU] (dprintf): Likewise.
25503 [__USE_GNU] (vdprintf): Likewise.
25504
d3dfcc41
RM
255052012-05-03 Roland McGrath <roland@hack.frob.com>
25506
25507 * elf/Makefile (common-generated): Set this instead of generated for
25508 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
25509 $(all-built-dso)-derived lists.
25510
7ac30cc5
AJ
255112012-05-03 Andreas Jaeger <aj@suse.de>
25512
0c51e550
AJ
25513 * sysdeps/i386/fpu/libm-test-ulps: Update.
25514
7ac30cc5
AJ
25515 * FAQ: Removed.
25516 * FAQ.in: Likewise.
25517 * scripts/gen-FAQ.pl: Likewise.
25518 * manual/install.texi (Installation): Point to online location of
25519 FAQ.
25520 * Makefile (files-for-dist): Remove FAQ.
25521 (FAQ): Remove.
25522
d4c2917f
AM
255232012-05-02 Allan McRae <allan@archlinux.org>
25524
25525 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
25526 (LDFLAGS-reldepmod5.so): Likewise.
25527 (LDFLAGS-reldep6mod1.so): Likewise.
25528 (LDFLAGS-reldep6mod4.so): Likewise.
25529 (LDFLAGS-reldep8mod3.so): Likewise.
25530 (LDFLAGS-unload4mod1.so): Likewise.
25531 (LDFLAGS-unload4mod2.so): Likewise.
25532 (LDFLAGS-tst-initorder): Likewise.
25533 (LDFLAGS-tst-initordera2.so): Likewise.
25534 (LDFLAGS-tst-initordera3.so): Likewise.
25535 (LDFLAGS-tst-initordera4.so): Likewise.
25536 (LDFLAGS-tst-initorderb2.so): Likewise.
25537 (LDFLAGS-noload): Likewise.
25538 (LDFLAGS-next): Likewise.
25539 (LDFLAGS-order2mod1.so): Likewise.
25540 (LDFLAGS-order2mod2.so): Likewise.
25541 (LDFLAGS-tst-initorder2): Likewise.
25542 (LDFLAGS-tst-initorder2a.so): Likewise.
25543 (LDFLAGS-tst-initorder2b.so): Likewise.
25544 (LDFLAGS-tst-initorder2c.so): Likewise.
25545 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
25546
d77f993f
DM
255472012-05-02 David S. Miller <davem@davemloft.net>
25548
25549 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25550
171a70b4
PP
255512012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
25552
25553 [BZ #14055]
25554 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
25555
0be196ad
AJ
255562012-05-02 Andreas Jaeger <aj@suse.de>
25557
25558 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
25559 since we manipulate rounding mode.
25560 (CPPFLAGS-test-idouble.c): Likewise.
25561 (CPPFLAGS-test-ifloat.c): Likewise.
25562 (CFLAGS-test-ldouble.c): Likewise.
25563 (CFLAGS-test-double.c): Likewise.
25564 (CFLAGS-test-float.c): Likewise.
25565 (CFLAGS-test-misc.c): Likewise.
25566 (CFLAGS-test-test-fenv.c): Likewise.
25567
4f9d04aa
AZ
255682012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25569
2b942cb7
RM
25570 [BZ #2550]
25571 [BZ #2570]
25572 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
25573 comparisons to determine direction to adjust input.
4f9d04aa 25574
82a79e7d
RM
255752012-05-01 Roland McGrath <roland@hack.frob.com>
25576
f5a01ca9
RM
25577 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
25578 output to the target.
25579
90fe4186
RM
25580 * scripts/localplt.awk: New file.
25581 * elf/Makefile ($(objpfx)check-localplt): Target removed.
25582 (check-localplt-CFLAGS): Variable removed.
25583 ($(all-built-dso:=.jmprel)): New static pattern rule.
25584 (generated): Add those targets.
25585 (localplt-built-dso): New variable.
25586 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
25587
25588 * elf/check-localplt.c: File removed.
25589
82397ed6
RM
25590 * scripts/check-execstack.awk: New file.
25591 * elf/Makefile ($(objpfx)check-execstack): Target removed.
25592 (check-execstack-CFLAGS): Variable removed.
25593 ($(objpfx)check-execstack.h): Target removed.
25594 ($(objpfx)execstack-default): New target.
25595 (generated): Add that instead of check-execstack.h.
25596 ($(all-built-dso:=.phdr)): New static pattern rule.
25597 (generated): Add those targets.
25598 * elf/check-execstack.c: File removed.
25599
82a79e7d
RM
25600 * scripts/check-textrel.awk: New file.
25601 * elf/Makefile ($(objpfx)check-textrel): Target removed.
25602 (check-textrel-CFLAGS): Variable removed.
25603 (all-built-dso): Use := to define.o
25604 ($(all-built-dso:=.dyn)): New static pattern rule.
25605 (generated): Add those targets.
25606 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
25607 * config.make.in (READELF): New substituted variable.
25608 * elf/check-textrel.c: File removed.
25609
62fde54f 256102012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 25611
615605c9
JM
25612 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25613 allow.
25614 * conform/data/ctype.h-data [C99-based standards] (isblank):
25615 Expect function.
25616 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
25617 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
25618 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25619 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
25620 Specify type. Require positive value.
25621 (EILSEQ): Likewise.
25622 (ERANGE): Likewise.
25623 [ISO || POSIX] (EILSEQ): Do not expect.
25624 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
25625 Specify type. Require positive value.
25626 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
25627 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
25628 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
25629 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
25630 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
25631 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
25632 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
25633 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
25634 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
25635 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
25636 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
25637 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
25638 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
25639 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
25640 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
25641 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
25642 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
25643 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
25644 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
25645 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
25646 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
25647 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
25648 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
25649 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
25650 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
25651 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
25652 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
25653 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
25654 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
25655 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
25656 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
25657 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
25658 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
25659 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
25660 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
25661 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
25662 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
25663 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
25664 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
25665 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
25666 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
25667 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
25668 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
25669 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
25670 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
25671 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
25672 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
25673 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
25674 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
25675 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
25676 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
25677 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
25678 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
25679 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
25680 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
25681 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
25682 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
25683 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
25684 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
25685 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
25686 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
25687 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
25688 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
25689 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
25690 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
25691 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
25692 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
25693 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
25694 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
25695 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
25696 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
25697 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
25698 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
25699 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
25700 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
25701 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
25702 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
25703 Require >= 2.
25704 (FLT_ROUNDS): Expect as macro, not constant.
25705 (FLT_MANT_DIG): Use macro-int-constant.
25706 (DBL_MANT_DIG): Likewise.
25707 (LDBL_MANT_DIG): Likewise.
25708 (FLT_DIG): Likewise.
25709 (DBL_DIG): Likewise.
25710 (LDBL_DIG): Likewise.
25711 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
25712 (DBL_MIN_EXP): Likewise.
25713 (LDBL_MIN_EXP): Likewise.
25714 (FLT_MAX_EXP): Use macro-int-constant.
25715 (DBL_MAX_EXP): Likewise.
25716 (LDBL_MAX_EXP): Likewise.
25717 (FLT_MAX_10_EXP): Likewise.
25718 (DBL_MAX_10_EXP): Likewise.
25719 (LDBL_MAX_10_EXP): Likewise.
25720 (FLT_MAX): Use macro-constant.
25721 (DBL_MAX): Likewise.
25722 (LDBL_MAX): Likewise.
25723 (FLT_EPSILON): Use macro-constant. Give upper bound.
25724 (DBL_EPSILON): Likewise.
25725 (LDBL_EPSILON): Likewise.
25726 (FLT_MIN): Likewise.
25727 (DBL_MIN): Likewise.
25728 (LDBL_MIN): Likewise.
25729 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
25730 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
25731 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
25732 [ISO11] (FLT_HAS_SUBNORM): Likewise.
25733 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
25734 [ISO11] (DBL_DECIMAL_DIG): Likewise.
25735 [ISO11] (FLT_DECIMAL_DIG): Likewise.
25736 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
25737 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
25738 [ISO11] (FLT_TRUE_MIN): Likewise.
25739 [ISO11] (LDBL_TRUE_MIN): Likewise.
25740 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25741 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
25742 (SCHAR_MIN): Use macro-int-constant. Specify type.
25743 (SCHAR_MAX): Likewise.
25744 (UCHAR_MAX): Likewise.
25745 (CHAR_MIN): Likewise.
25746 (CHAR_MAX): Likewise.
25747 (MB_LEN_MAX): Use macro-int-constant.
25748 (SHRT_MIN): Use macro-int-constant. Specify type.
25749 (SHRT_MAX): Likewise.
25750 (USHRT_MAX): Likewise.
25751 (INT_MAX): Likewise.
25752 (INT_MIN): Use macro-int-constant. Specify type. Make upper
25753 bound negative.
25754 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
25755 bound with "U".
25756 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
25757 bound with "L".
25758 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
25759 bound negative. Suffix upper bound with "L".
25760 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
25761 bound with "UL".
25762 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
25763 Specify type.
25764 [C99-based standards] (LLONG_MAX): Likewise.
25765 [C99-based standards] (ULLONG_MAX): Likewise.
25766 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
25767 == 0.
25768 [ISO11] (max_align_t): Require type.
25769 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25770
c9140a62
JM
25771 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
25772 from $CFLAGS, without defining away __attribute__ calls.
25773 (checknamespace): Use $CFLAGS_namespace.
25774
9af0bf29
JM
25775 * conform/conformtest.pl (@keywords): Only include C99 keywords
25776 for standards based on C99 or C11.
25777
343222a2
JM
25778 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
25779 Disable tests.
25780 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
25781 UNIX98]: Likewise.
25782
661f8cf0
JM
25783 * conform/conformtest.pl: Handle "macro-int-constant" and test for
25784 usability of symbols in #if.
25785
ee74b9cb
JM
25786 * conform/conformtest.pl: If macro or constant types start
25787 "promoted:", expect the symbol to be of the following type
25788 promoted by the integer promotions.
62fde54f 25789
aafc49b3
JM
25790 * conform/conformtest.pl: Parse all "constant" and "macro" lines
25791 in one place. Also handle "macro-constant".
25792
fefdf574
JM
25793 * conform/conformtest.pl: Only accept expected macro values with
25794 "==". Parse all "macro" lines in one place.
25795 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
25796
f2d922fe
JM
25797 * conform/conformtest.pl: Handle braced types on "constant" lines
25798 instead of handling "typed-constant".
25799 * conform/data/signal.h-data: Use "constant" instead of
25800 "typed-constant".
25801
d22956c9
JM
25802 * conform/conformtest.pl: Handle "optional-" at start of lines in
25803 one place rather than duplicating several cases. Handle each
25804 format of "macro" line with initial "optional-".
25805
028e2e38
JM
25806 * conform/conformtest.pl: Only accept expected constant or
25807 optional-constant values with "==". Parse all "constant" lines in
25808 one place. Parse all "optional-constant" lines in one place.
25809 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
25810 * conform/data/fmtmsg.h-data: Likewise.
25811 * conform/data/netinet/in.h-data: Likewise.
25812 * conform/data/tar.h-data: Likewise.
25813 * conform/data/limits.h-data: Use "==" form on "constant" and
25814 "optional-constant" lines.
25815
1b8f2850
JM
25816 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
25817 Use -std=c99 for XOPEN2K.
25818 (@knownproblems): Remove.
25819 (newtoken): Don't check %isknown.
25820
a05a144b
JM
25821 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
25822 Do not expect macro.
25823 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
25824 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
25825 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
25826 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
25827 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
25828 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
25829 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
25830 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
25831 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
25832 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
25833 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
25834 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
25835 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
25836 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
25837 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
25838 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
25839 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
25840 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
25841 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
25842 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
25843 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
25844 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
25845 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
25846 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
25847 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
25848 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
25849 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
25850 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
25851 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
25852 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
25853 [XPG3] (acosh): Likewise.
25854 [XPG3] (asinh): Likewise.
25855 [XPG3] (atanh): Likewise.
25856 [XPG3] (cbrt): Likewise.
25857 [XPG3] (expm1): Likewise.
25858 [XPG3] (ilogb): Likewise.
25859 [XPG3] (log1p): Likewise.
25860 [XPG3] (logb): Likewise.
25861 [XPG3] (nextafter): Likewise.
25862 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
25863 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
25864 [XPG3] (remainder): Likewise.
25865 [XPG3] (rint): Likewise.
25866 [XPG3 || XPG4 || UNIX98] (round): Likewise.
25867 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
25868 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
25869 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
25870 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
25871 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
25872 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
25873 [UNIX98 || XOPEN2K] (scalb): Expect.
25874 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
25875 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
25876 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
25877 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
25878 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
25879 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
25880 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
25881 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
25882 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
25883 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
25884 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
25885 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
25886 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
25887 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
25888 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
25889 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
25890 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
25891 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
25892 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
25893 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
25894 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
25895 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
25896 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
25897 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
25898 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
25899 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
25900 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
25901 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
25902 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
25903 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
25904 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
25905 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
25906 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
25907 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
25908 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
25909 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
25910 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
25911 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
25912 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
25913 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
25914 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
25915 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
25916 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
25917 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
25918 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
25919 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
25920 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
25921 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
25922 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
25923 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
25924 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
25925 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
25926 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
25927 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
25928 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
25929 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
25930 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
25931 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
25932 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
25933 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
25934 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
25935 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
25936 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
25937 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
25938 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
25939 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
25940 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
25941 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
25942 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
25943 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
25944 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
25945 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
25946 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
25947 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
25948 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
25949 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
25950 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
25951 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
25952 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
25953 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
25954 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
25955 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
25956 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
25957 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
25958 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
25959 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
25960 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
25961 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
25962 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
25963 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
25964 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
25965 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
25966 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
25967 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
25968 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
25969 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
25970 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
25971 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
25972 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
25973 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
25974 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
25975 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
25976 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
25977 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
25978 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
25979 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
25980 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
25981 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
25982 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
25983 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
25984 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
25985 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
25986 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
25987 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
25988 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
25989 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
25990 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
25991 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
25992 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
25993 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
25994 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
25995 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
25996 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
25997 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
25998 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
25999 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
26000 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
26001 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
26002 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
26003 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
26004 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
26005 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
26006 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
26007 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
26008 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
26009 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
26010 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
26011
73c5ebe3
JM
26012 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
26013 _XOPEN_SOURCE_EXTENDED for XPG4.
26014
39c33b6c
JM
26015 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
26016
62fde54f
JM
26017 * Makeconfig (localtime): Remove variable.
26018 (inst_localtime-file): Likewise.
26019
0741d64c
AS
260202012-05-01 Andreas Schwab <schwab@linux-m68k.org>
26021
26022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
26023 Update.
26024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26025 Update.
26026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
26027 Update.
26028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
26029 Update.
26030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
26031 Update.
26032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
26033 Update.
26034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26035 Update.
26036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
26037 Update.
26038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26039 Update.
26040
7cb029ee
JM
260412012-05-01 Joseph Myers <joseph@codesourcery.com>
26042
26043 [BZ #2550]
26044 [BZ #2570]
26045 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
26046 comparisons to determine direction to adjust input.
26047 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
26048 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
26049 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
26050 Likewise.
26051 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
26052 Likewise.
26053 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
26054 Likewise.
26055 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
26056 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
26057 Likewise.
26058 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
26059 Likewise.
26060 * math/libm-test.inc (nexttoward_test): Add more tests.
26061
412bd966
AS
260622012-05-01 Andreas Schwab <schwab@linux-m68k.org>
26063
26064 [BZ #14040]
26065 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
26066 in version GLIBC_2.1, not GLIBC_2.0.
26067 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
26068 Likewise.
26069
9568c0c2
JM
260702012-04-30 Joseph Myers <joseph@codesourcery.com>
26071
adfbc8ac
JM
26072 [BZ #13942]
26073 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
26074 (1 - x) * (1 + x).
26075 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
26076 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
26077 * math/libm-test.inc (acos_test): Add more tests.
26078 (asin_test): Likewise.
26079 * sysdeps/i386/fpu/libm-test-ulps: Update.
26080 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26081
5ba3cc69
JM
26082 [BZ #14034]
26083 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
26084 of square root.
26085 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
26086 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
26087 * math/libm-test.inc (acos_test_tonearest): New function.
26088 (acos_test_towardzero): Likewise.
26089 (acos_test_downward): Likewise.
26090 (acos_test_upward): Likewise.
26091 (asin_test_tonearest): Likewise.
26092 (asin_test_towardzero): Likewise.
26093 (asin_test_downward): Likewise.
26094 (asin_test_upward): Likewise.
26095 (main): Call the new functions.
26096 * sysdeps/i386/fpu/libm-test-ulps: Update.
26097 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26098
9568c0c2
JM
26099 [BZ #13884]
26100 [BZ #13924]
26101 * math/e_exp10.c: Include <float.h>.
26102 (__ieee754_exp10): Handle underflow here rather than multiplying
26103 large negative argument by M_LN10.
26104 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
26105 of __ieee754_expf.
26106 * math/e_exp10l.c: Include <float.h>.
26107 (__ieee754_exp10l): Handle underflow here rather than multiplying
26108 large negative argument by M_LN10l.
26109 * math/libm-test.inc (exp10_test): Add another test. Do not allow
26110 spurious overflow exception on underflow.
26111
5ac3ea17
MP
261122012-04-29 Marek Polacek <polacek@redhat.com>
26113
26114 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
26115 (__fortify_function): New macro.
26116 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
26117 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
26118 __extern_always_inline.
26119 * libio/bits/stdio2.h: Likewise.
26120 * libio/bits/stdio.h: Likewise.
26121 * string/string.h: Likewise.
26122 * string/bits/string3.h: Likewise.
26123 * include/stdio.h: Likewise.
26124 * stdlib/bits/stdlib.h: Likewise.
26125 * stdlib/stdlib.h: Likewise.
26126 * rt/bits/mqueue2.h: Likewise.
26127 * rt/mqueue.h: Likewise.
26128 * posix/bits/unistd.h: Likewise.
26129 * posix/unistd.h: Likewise.
26130 * io/bits/poll2.h: Likewise.
26131 * io/bits/fcntl2.h: Likewise.
26132 * io/fcntl.h: Likewise.
26133 * io/sys/poll.h: Likewise.
26134 * misc/bits/syslog.h: Likewise.
26135 * misc/bits/syslog-ldbl.h: Likewise.
26136 * misc/sys/syslog.h: Likewise.
26137 * socket/bits/socket2.h: Likewise.
26138 * socket/sys/socket.h: Likewise.
26139 * debug/tst-chk1.c: Likewise.
26140 * wcsmbs/bits/wchar2.h: Likewise.
26141 * wcsmbs/bits/wchar-ldbl.h: Likewise.
26142 * wcsmbs/wchar.h: Likewise.
26143
ecf0ebfb
AJ
261442012-04-29 Andreas Jaeger <aj@suse.de>
26145
26146 * Makerules (tests): Remove enable-check-abi protection.
26147 (check-abi-warn): Remove.
26148 (check-abi-%): Remove check-abi-warn usage.
26149
26150 * configure.in: Remove check-abi configure option.
26151 * configure: Regenerated.
26152 * config.make.in (enable-check-abi): Remove.
26153
6d5c57fa
AS
261542012-04-28 Andreas Schwab <schwab@linux-m68k.org>
26155
24c5d07e 26156 [BZ #14033]
ded5180a
AS
26157 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
26158 double functions to double *_finite functions.
26159
7e0d315d
AS
26160 [BZ #13941]
26161 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
26162 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
26163 LDBL_MIN_EXP.
26164 * stdio-common/Makefile (tests): Add tst-sprintf3.
26165 * stdio-common/tst-sprintf3.c: New file.
26166
6d5c57fa
AS
26167 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
26168 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
26169
0749ff8b
JM
261702012-04-28 Joseph Myers <joseph@codesourcery.com>
26171
26172 * conform/conformtest.pl: Remove duplicate typed-constant
26173 handling.
26174
8dbd5d7b
DM
261752012-04-28 David S. Miller <davem@davemloft.net>
26176
26177 * Makerules (%.abilist): Add vpath on sysdep_dirs.
26178 (check-abi-%): Remove AWK script prerequisite and explicit
26179 abilist directory.
26180 (check-abi): Rewrite to just diff the symlist with the abilist.
26181 (config-tls, config-abi-config): Delete, no longer used.
26182 (update-abi-%): Remove AWK script and explicit abilist directory.
26183 (update-abi): Rewrite to simply compare and conditionally copy the
26184 symlist and the sysdep abilist file. Remove update-abi-config
26185 checks.
26186 * abilist/ld.abilist: Remove.
26187 * abilist/libBrokenLocale.abilist: Remove.
26188 * abilist/libanl.abilist: Remove.
26189 * abilist/libcrypt.abilist: Remove.
26190 * abilist/libdl.abilist: Remove.
26191 * abilist/librt.abilist: Remove.
26192 * abilist/libthread_db.abilist: Remove.
26193 * abilist/libutil.abilist: Remove.
26194 * scripts/extract-abilist.awk: Remove.
26195 * scripts/merge-abilist.awk: Remove.
26196 * sysdeps/generic/libcidn.abilist: New file.
26197 * sysdeps/generic/libnss_compat.abilist: New file.
26198 * sysdeps/generic/libnss_db.abilist: New file.
26199 * sysdeps/generic/libnss_dns.abilist: New file.
26200 * sysdeps/generic/libnss_files.abilist: New file.
26201 * sysdeps/generic/libnss_hesiod.abilist: New file.
26202 * sysdeps/generic/libnss_nis.abilist: New file.
26203 * sysdeps/generic/libnss_nisplus.abilist: New file.
26204 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
26205 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
26206 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
26207 file.
26208 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
26209 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
26210 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
26211 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
26212 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
26213 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
26214 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
26215 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
26216 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
26217 file.
26218 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
26219 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
26220 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
26221 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
26222 file.
26223 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
26224 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
26225 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
26226 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
26227 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
26228 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
26229 file.
26230 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
26231 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
26232 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
26233 file.
26234 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
26235 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
26236 New file.
26237 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
26238 New file.
26239 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
26240 New file.
26241 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
26242 New file.
26243 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
26244 New file.
26245 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
26246 New file.
26247 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
26248 New file.
26249 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
26250 New file.
26251 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
26252 New file.
26253 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
26254 New file.
26255 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
26256 New file.
26257 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
26258 New file.
26259 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
26260 New file.
26261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
26262 file.
26263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
26264 New file.
26265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
26266 New file.
26267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
26268 file.
26269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
26270 New file.
26271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
26272 New file.
26273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
26274 file.
26275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
26276 New file.
26277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26278 New file.
26279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
26280 New file.
26281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
26282 New file.
26283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
26284 New file.
26285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
26286 New file.
26287 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
26288 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
26289 file.
26290 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
26291 New file.
26292 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
26293 file.
26294 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
26295 file.
26296 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
26297 file.
26298 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
26299 file.
26300 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
26301 file.
26302 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26303 New file.
26304 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
26305 file.
26306 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
26307 file.
26308 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
26309 New file.
26310 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
26311 file.
26312 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
26313 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
26314 file.
26315 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
26316 New file.
26317 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
26318 file.
26319 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
26320 file.
26321 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
26322 file.
26323 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
26324 file.
26325 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
26326 file.
26327 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26328 New file.
26329 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
26330 file.
26331 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
26332 file.
26333 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
26334 New file.
26335 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
26336 file.
26337 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26338 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
26339 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
26340 file.
26341 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
26342 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
26343 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
26344 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
26345 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
26346 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
26347 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
26348 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
26349 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
26350 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
26351 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
26352 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
26353 file.
26354 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
26355 New file.
26356 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
26357 file.
26358 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
26359 file.
26360 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
26361 file.
26362 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
26363 file.
26364 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
26365 file.
26366 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26367 New file.
26368 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
26369 New file.
26370 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
26371 file.
26372 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
26373 New file.
26374 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
26375 file.
26376 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
26377 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
26378 file.
26379 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
26380 New file.
26381 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
26382 file.
26383 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
26384 file.
26385 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
26386 file.
26387 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
26388 file.
26389 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
26390 file.
26391 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26392 New file.
26393 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
26394 New file.
26395 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
26396 file.
26397 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
26398 New file.
26399 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
26400 file.
26401
41d73a1b
JM
264022012-04-28 Joseph Myers <joseph@codesourcery.com>
26403
26404 * conform/conformtest.pl: Fix typo in handling typed-constant from
26405 allow-header.
26406
28aeeda4
JM
264072012-04-27 Joseph Myers <joseph@codesourcery.com>
26408
adae8f5e
JM
26409 * README: Cut down references to pre-2.6 Linux kernels and
26410 Linuxthreads. Update lists of configurations in libc and ports
26411 and sort alphabetically. Say "or newer" with Linux kernel version
26412 requirements.
26413
28aeeda4
JM
26414 * config.h.in [IS_IN_build]: Allow compiling without optimization.
26415
a462cb63
RA
264162012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26417
26418 [BZ #887]
26419 * math/libm-test.inc (logb_test_downward): New test to expose
26420 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
26421 rounding mode.
26422
6ad3493e
JM
264232012-04-27 Joseph Myers <joseph@codesourcery.com>
26424
26425 [BZ #14027]
26426 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
26427 to be done.
26428 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
26429 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
26430
2ce4f015
JM
264312012-04-26 Joseph Myers <joseph@codesourcery.com>
26432
5aeb141a
JM
26433 * sysdeps/unix/i386/brk.S: Remove file.
26434 * sysdeps/unix/i386/dl-brk.S: Likewise.
26435 * sysdeps/unix/i386/pipe.S: Likewise.
26436 * sysdeps/unix/i386/sigreturn.S: Likewise.
26437 * sysdeps/unix/i386/syscall.S: Likewise.
26438 * sysdeps/unix/i386/vfork.S: Likewise.
26439 * sysdeps/unix/i386/wait.S: Likewise.
26440
7143acae
JM
26441 * sysdeps/unix/common/tcsendbrk.c: Move to ...
26442 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
26443
2ce4f015
JM
26444 * configure.in (arm*-none*): Do not allow without
26445 --enable-hacker-mode.
26446 (netbsd*): Remove case setting base_os.
26447 (386bsd*): Likewise.
26448 (freebsd*): Likewise.
26449 (bsdi*): Likewise.
26450 (osf*): Likewise.
26451 (sunos*): Likewise.
26452 (ultrix*): Likewise.
26453 (newsos*): Likewise.
26454 (dynix*): Likewise.
26455 (*bsd*): Likewise.
26456 (sysv*): Likewise.
26457 (isc*): Likewise.
26458 (esix*): Likewise.
26459 (sco*): Likewise.
26460 (minix*): Likewise.
26461 (irix4*): Likewise.
26462 (irix6*): Likewise.
26463 (solaris[2-9]*): Likewise.
26464 (none): Likewise.
26465 * configure: Regenerated.
26466
0ac229c8
AZ
264672012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26468
26469 [BZ #11521]
26470 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
26471 overflow or cancellation in calculating denominator.
26472 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
26473 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
26474 down expression to avoid unexpected rounding in newer GCCs.
26475 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
26476
33f244f4
DM
264772012-04-26 David S. Miller <davem@davemloft.net>
26478
26479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
26480 long-double compat symbols.
26481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
26483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
26484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
26485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
26486 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
26487 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
26488 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
26489 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
26490 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
26491 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
26492 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
26493 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26494
cfa1f3e8
DM
264952012-04-25 David S. Miller <davem@davemloft.net>
26496
26497 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
26498 HWCAP_* values only after the memory barriers have been defined.
26499 (atomic_full_barrier): Define.
26500 (atomic_read_barrier): Define.
26501 (atomic_write_barrier): Define.
26502
6e236b92
SP
265032012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26504
26505 * shlib-versions: Add libgcc_s version information.
26506 * sysdeps/generic/libgcc_s.h: Remove.
26507 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
26508 libgcc_s.h.
26509 * sysdeps/gnu/unwind-resume.c: Likewise.
26510 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
26511
aab39a09
DM
265122012-04-25 David S. Miller <davem@davemloft.net>
26513
26514 * sysdeps/unix/sparc/brk.S: Delete.
26515 * sysdeps/unix/sparc/dl-brk.S: Delete.
26516 * sysdeps/unix/sparc/pipe.S: Delete.
26517 * sysdeps/unix/sparc/sysdep.S: Delete.
26518 * sysdeps/unix/sparc/sysdep.h: Delete.
26519 * sysdeps/unix/sparc/vfork.S: Delete.
26520 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
26521 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
26522 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
26523 ret_ERRVAL, r0, r1, MOVE): Define.
26524 (JUMPTARGET): Remove.
26525 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
26526 sysdeps/unix/sparc/sysdep.h
26527 (ENTRY, END): Remove.
26528 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26529
a3cc4f48
JM
265302012-04-25 Joseph Myers <joseph@codesourcery.com>
26531
2ed8cda2
JM
26532 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
26533 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
26534 -DIS_IN_build.
26535
35d76d59
JM
26536 * timezone/README: Update upstream location and email address for
26537 tzcode and tzdata.
26538 * timezone/zdump.c: Update from tzcode 2012b.
26539 * timezone/zic.c: Likewise.
26540
a3cc4f48
JM
26541 * configure.in (libc_cv_as_needed): Remove test.
26542 * configure: Regenerated.
26543 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
26544 conditional definition.
26545 [$(have-as-needed) != yes] (no-as-needed): Likewise.
26546 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
26547 * config.make.in (have-as-needed): Remove variable.
26548
ceab42c3
SP
265492012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26550 Paul Pluzhnikov <ppluzhnikov@google.com>
26551
26552 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
26553 strings correctly.
26554
3ce2865f
CLT
265552012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
26556
26557 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
26558 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
26559 * sysdeps/sh/strlen.S: Likewise.
26560
f37e0d68
JM
265612012-04-24 Joseph Myers <joseph@codesourcery.com>
26562
ae186e9a
JM
26563 * sysdeps/unix/fork.S: Remove file.
26564 * sysdeps/unix/i386/fork.S: Likewise.
26565 * sysdeps/unix/sparc/fork.S: Likewise.
26566
b96914af
JM
26567 * sysdeps/unix/system.c: Remove file.
26568 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
26569
f37e0d68
JM
26570 * sysdeps/unix/getegid.S: Remove file.
26571 * sysdeps/unix/geteuid.S: Likewise.
26572
87ef29ca
RM
265732012-04-24 Roland McGrath <roland@hack.frob.com>
26574
83bcd236
RM
26575 * scripts/check-localplt.awk: New file.
26576 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
26577 of diff.
26578 * scripts/data/localplt-generic.data: Add a comment.
26579
87ef29ca
RM
26580 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
26581 NODE when __dir_mkfile failed.
26582 * sysdeps/mach/hurd/symlinkat.c: Likewise.
26583 Reported by Ludovic Courtès <ludo@gnu.org>.
26584
e5a6e567
AJ
265852012-04-24 Andreas Jaeger <aj@suse.de>
26586
26587 * Makerules (common-clean): Also remove gen-as-const-headers
26588 files.
26589
c1820385
JM
265902012-04-24 Joseph Myers <joseph@codesourcery.com>
26591
26592 * Makerules (native-compile): Do not change working directory for
26593 build. Use $(OUTPUT_OPTION) in command.
26594 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
26595
94e02fc4
AZ
265962012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26597
26598 [BZ #13886]
26599 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
26600 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
26601 * math/libm-test.inc (floor_test): Add more tests.
26602 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
26603
3a533ca3
JM
266042012-04-24 Joseph Myers <joseph@codesourcery.com>
26605
940ab4b3
JM
26606 * sysdeps/unix/getdents.c: Remove file.
26607 * sysdeps/unix/sysv/getdents.c: Likewise.
26608 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
26609
90e037bd
JM
26610 * sysdeps/unix/syscalls.list (madvise): Add syscall from
26611 sysdeps/unix/mman/syscalls.list.
26612 (mmap): Likewise.
26613 (mprotect): Likewise.
26614 (msync): Likewise.
26615 (munmap): Likewise.
26616 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
26617 * sysdeps/unix/mman/syscalls.list: Remove.
26618 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
26619
3a533ca3
JM
26620 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
26621 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
26622 * configure: Regenerated.
26623 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
26624 $(libgcc_s_suffix).
26625 * config.make.in (libgcc_s_suffix): Remove variable.
26626
1ad743de
JM
266272012-04-23 Joseph Myers <joseph@codesourcery.com>
26628
4ad451e2
JM
26629 * sysdeps/unix/sysv/gethostname.c: Move to ...
26630 * sysdeps/posix/gethostname.c: ... here.
26631
5e37ce39
JM
26632 * sysdeps/unix/execve.S: Remove file.
26633
1ad743de
JM
26634 * sysdeps/unix/_exit.S: Remove file.
26635
4e681b5b
AJ
266362012-04-23 Andreas Jaeger <aj@suse.de>
26637
26638 [BZ #13739]
26639 * manual/Makefile: Remove make dist support, there's no
26640 need for a stand-alone documentation tar ball.
26641 (TEXI2DVI): Define always, it's not in Makeconfig.
26642 (dist): Removed.
26643 (tar-it): Removed.
26644 (edition): Removed.
26645 (glibc-doc-$(edition).tar): Removed
26646 (%.Z): Removed.
26647 (%.gz): Removed.
26648 (%.uu): Removed.
26649 (ETAGS): Remove, it's in Makeconfig.
26650 (move-if-change): Remove, it's in Makeconfig.
26651
38686a03 266522012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
26653
26654 [BZ #13970]
26655 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
26656 (strtod, strtof, strtold, strtol, strtoul, strtoq)
26657 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
26658 (strtod_l, strtof_l, strtold_l): Remove __wur.
26659 It is not necessarily an error to ignore strtol's return value.
26660 One can reliably look at the stored endptr to decide whether
26661 the number had valid syntax.
26662
7c0616fa
AJ
266632012-04-21 Andreas Jaeger <aj@suse.de>
26664
803cb6b7 26665 [BZ #13739]
7c0616fa
AJ
26666 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
26667
b0fe253f
JM
266682012-04-21 Joseph Myers <joseph@codesourcery.com>
26669
26670 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
26671 * sysdeps/unix/sysv/Versions: Remove file.
26672
8280f22d
MT
266732012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
26674
26675 [BZ #13927]
26676 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26677
75ce411f 266782012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
26679
26680 [BZ #7064]
26681 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
26682 version from __vm86.
26683
097d59fa
JM
266842012-04-20 Joseph Myers <joseph@codesourcery.com>
26685
a90f3bcb
JM
26686 * sysdeps/unix/common/lxstat.c: Remove file.
26687 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
26688
edc7ea78
JM
26689 * sysdeps/unix/sysv/Makefile: Remove file.
26690
cb78c221
JM
26691 * sysdeps/unix/sysv/direct.h: Remove file.
26692
efa6a45f
JM
26693 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
26694 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
26695 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
26696 * sysdeps/unix/sysv/bits/signum.h: Likewise.
26697 * sysdeps/unix/sysv/bits/stat.h: Likewise.
26698 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
26699 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
26700
9c9f2d0c
JM
26701 * sysdeps/unix/sysv/setrlimit.c: Remove file.
26702
4541c83b
JM
26703 * sysdeps/unix/xmknod.c: Remove file.
26704 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
26705
f5d153a0
JM
26706 * sysdeps/unix/sysv/settimeofday.c: Remove file.
26707
aa746595
JM
26708 * sysdeps/unix/sysv/i386/time.S: Remove file.
26709
cce5905e
JM
26710 * sysdeps/unix/fxstat.c: Remove file.
26711 * sysdeps/unix/xstat.c: Likewise.
26712 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
26713
37fa3841
JM
26714 * sysdeps/unix/sysv/sigaction.c: Remove file.
26715
ff1962a3
JM
26716 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
26717 (sysdep_headers): Remove variable.
26718 [termio.h not in sysdep_headers] (generated): Likewise.
26719 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
26720 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
26721 * sysdeps/unix/sysv/tcdrain.c: Likewise.
26722 * sysdeps/unix/sysv/tcflow.c: Likewise.
26723 * sysdeps/unix/sysv/tcflush.c: Likewise.
26724 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
26725 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
26726 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
26727 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
26728 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
26729
e7740d31
JM
26730 * sysdeps/unix/siglist.c: Remove file.
26731
ee06f18b
JM
26732 * sysdeps/unix/getppid.S: Remove file.
26733
097d59fa
JM
26734 * sysdeps/unix/mkdir.c: Remove file.
26735 * sysdeps/unix/rmdir.c: Likewise.
26736
ff3d51ec
AS
267372012-04-19 Andreas Schwab <schwab@linux-m68k.org>
26738
26739 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
26740 ERR_MAX value.
26741 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
26742 errlist-compat value.
26743
50f81fd7
DM
267442012-04-18 David S. Miller <davem@davemloft.net>
26745
26746 * sysdeps/generic/memcopy.h (reg_char): Delete.
26747 * debug/strcat_chk.c: Use char, not reg_char.
26748 * debug/strcpy_chk.c: Likewise.
26749 * debug/strncat_chk.c: Likewise.
26750 * debug/strncpy_chk.c: Likewise.
26751 * string/memchr.c: Likewise.
26752 * string/memrchr.c: Likewise.
26753 * string/rawmemchr.c: Likewise.
26754 * string/strcat.c: Likewise.
26755 * string/strchr.c: Likewise.
26756 * string/strchrnul.c: Likewise.
26757 * string/strcmp.c: Likewise.
26758 * string/strcpy.c: Likewise.
26759 * string/strncat.c: Likewise.
26760 * string/strncmp.c: Likewise.
26761 * string/strncpy.c: Likewise.
26762
8ff41c46
WS
267632012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26764
26765 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
26766 __builtin_memcopy is called when src and dest ranges are known to not
26767 overlap.
26768
6b652f46
WS
267692012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26770
26771 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
26772 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
26773 fwd_align_merge macro call.
26774 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
26775 bwd_align_merge macro call.
26776 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26777
b282631e
WS
267782012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26779
26780 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
26781 bwd_align_merge macros.
26782 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
26783 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
26784 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26785
95aa737c
DM
267862012-04-18 David S. Miller <davem@davemloft.net>
26787
26788 * sysdeps/sparc/sparc64/memcopy.h: Delete.
26789
7a99a614
AJ
267902012-04-18 Andreas Jaeger <aj@suse.de>
26791
26792 [BZ# 6794]
26793 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
26794 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
26795 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26796
26797 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
26798 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
26799 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26800
26801 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
26802 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
26803 Adjust for changed ldbl-128 files.
26804
26805 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
26806 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
26807 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26808
e5270c23
DM
268092012-04-17 David S. Miller <davem@davemloft.net>
26810
26811 * sysdeps/sparc/sparc32/memcopy.h: Delete.
26812
fb5e92c9
AS
268132012-04-17 Andreas Schwab <schwab@linux-m68k.org>
26814
26815 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
26816 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
26817 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
26818 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
26819 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
26820 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
26821
76da7265
AZ
268222012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26823
26824 [BZ #6794]
26825 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
26826 * math/libm-test.inc: Add ilogb errno and exception tests.
26827 * math/w_ilogb.c: New file: ilogb wrapper.
26828 * math/w_ilogbf.c: New file: ilogbf wrapper.
26829 * math/w_ilogbl.c: New file: ilogbl wrapper.
26830 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
26831 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
26832 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
26833 exception being thrown with 0.0 as argument.
26834 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
26835 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
26836 exception being thrown with 0.0 as argument.
26837 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
26838 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
26839 exception being thrown with 0.0 as argument.
26840 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
26841 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
26842 exception being thrown with 0.0 as argument.
26843 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
26844 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 26845 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
26846 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
26847 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
26848 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
26849 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
26850 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
26851 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
26852
0396e69d
PB
268532012-04-17 Petr Baudis <pasky@ucw.cz>
26854
26855 * include/sys/uio.h: Change __vector to __iovec to avoid clash
26856 with altivec.
26857
750b5926
MP
268582012-04-16 Marek Polacek <polacek@redhat.com>
26859
26860 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
26861
751728a1
MP
268622012-04-16 Marek Polacek <polacek@redhat.com>
26863
26864 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
26865 operands of fdivp instruction.
26866
34a27407
L
268672012-04-13 H.J. Lu <hongjiu.lu@intel.com>
26868
26869 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
26870 * elf/tst-auditmod3b.c: Likewise.
26871 * elf/tst-auditmod4b.c: Likewise.
26872 * elf/tst-auditmod5b.c: Likewise.
26873 * elf/tst-auditmod6b.c: Likewise.
26874 * elf/tst-auditmod6c.c: Likewise.
26875 * elf/tst-auditmod7b.c: Likewise.
26876 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
26877 * sysdeps/x86_64/preconfigure.in: Likewise.
26878 * sysdeps/x86_64/preconfigure: Regenerated.
26879
7e73e17d
L
268802012-04-13 H.J. Lu <hongjiu.lu@intel.com>
26881
26882 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
26883 __ILP32__.
26884
c7a6ab72
AB
268852012-04-13 Antoine Balestrat <merkil33@gmail.com>
26886
26887 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26888 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
26889
a9e8e0e0
CL
268902012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
26891
26892 [BZ #13973]
26893 * locale/iso-639.def: Fix gl language name. Spotted by
26894 Yaron Shahrabani.
26895
ec98af7d
RM
268962012-04-12 Roland McGrath <roland@hack.frob.com>
26897
26898 [BZ #2074]
26899 * libio/libio.h (__io_write_fn): Update comment.
26900
247c3ede
PB
269012012-04-12 Petr Baudis <pasky@ucw.cz>
26902
26903 [BZ #2074]
26904 * stdio.texi (Hook Functions): The user provided writer function
26905 is not allowed to return -1.
26906
55939d6d
DM
269072012-04-11 David S. Miller <davem@davemloft.net>
26908
26909 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26910
90020f5a
MF
269112012-04-11 Mike Frysinger <vapier@gentoo.org>
26912
26913 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
26914 Add a leading slash to rtkaio.
26915
288f9098
JM
269162012-04-11 Jim Meyering <meyering@redhat.com>
26917
90020f5a
MF
26918 [BZ #11959]
26919 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
26920 It is not necessarily an error to ignore fwrite's return
26921 value. One can reliably use ferror to test for errors after
26922 the fact.
288f9098 26923
4be2b570
L
269242012-04-10 H.J. Lu <hongjiu.lu@intel.com>
26925
26926 * bits/types.h (__snseconds_t): New type.
26927 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
26928
26929 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
26930 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26931 (__SNSECONDS_T_TYPE): Likewise.
26932 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26933 (__SNSECONDS_T_TYPE): Likewise.
26934 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26935 (__SNSECONDS_T_TYPE): Likewise.
26936
288f9098 269372012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
26938
26939 [BZ #2636]
26940 * manual/time.texi (Processor Time): Return type of times is
26941 elapsed real time since an arbitrary point in the past.
26942 (CPU Time): Move CLK_TCK from here...
26943 (Processor Time): ...to here. Correct description.
26944 * manual/conf.texi (Constants for Sysconf): Correct description of
26945 _SC_CLK_TCK.
26946
d7dd4413
DM
269472012-04-10 David S. Miller <davem@davemloft.net>
26948
26949 [BZ #13967]
26950 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
26951 where the is a gap between DT_REL(A) and DT_JMPREL.
26952
b46068fc
L
269532012-04-10 H.J. Lu <hongjiu.lu@intel.com>
26954
26955 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
26956 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
26957 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
26958
73d65cc3
SP
269592012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26960
26961 * elf/dl-support.c (_dl_inhibit_cache): New variable.
26962 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
26963 (dl_main): Handle --inhibit-cache.
26964 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
26965 _dl_inhibit_cache.
26966 * elf/dl-load.c (_dl_map_object): Use it.
26967 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
26968
bcc8d661
JM
269692012-04-09 Joseph Myers <joseph@codesourcery.com>
26970
8f9a2fae
JM
26971 [BZ #13872]
26972 * sysdeps/i386/fpu/e_powl.S (p78): New object.
26973 (__ieee754_powl): Saturate large exponents rather than testing for
26974 overflow of y*log2(x).
26975 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26976 * math/libm-test.inc (pow_test): Do not permit spurious overflow
26977 exceptions.
26978
bcc8d661
JM
26979 [BZ #11521]
26980 * math/s_ctan.c: Include <float.h>.
26981 (__ctan): Avoid internal overflow or cancellation in calculating
26982 denominator.
26983 * math/s_ctanf.c: Likewise.
26984 * math/s_ctanl.c: Likewise.
26985 * math/s_ctanh.c: Likewise.
26986 * math/s_ctanhf.c: Likewise.
26987 * math/s_ctanhl.c: Likewise.
26988 * math/libm-test.inc (ctan_test): Add more tests.
26989 (ctanh_test): Likewise.
26990 * sysdeps/i386/fpu/libm-test-ulps: Update.
26991 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26992
823fbbb4
AJ
269932012-04-09 Andreas Jaeger <aj@suse.de>
26994
03879793
AJ
26995 [BZ #6894]
26996 * manual/filesys.texi (Directory Entries): Mention that d_namlen
26997 is an optional BSD extension.
26998
823fbbb4
AJ
26999 [BZ #10254]
27000 * manual/stdio.texi (Opening Streams): Document additional fopen
27001 parameters.
27002
8de131cb
RM
270032012-04-09 Roland McGrath <roland@hack.frob.com>
27004
27005 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
27006 %eax without telling the compiler.
27007
c0ed9d7d
CD
270082012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
27009
27010 [BZ # 13963]
27011 * manual/install.texi: Use sourceware.org.
27012
c483f6b4
JM
270132012-04-09 Joseph Myers <joseph@codesourcery.com>
27014
d7dd9453
JM
27015 [BZ #13873]
27016 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
27017 (__ieee754_pow): Generate overflow and underflow using huge*huge
27018 and tiny*tiny rather than just returning constant infinity or zero
27019 for large exponents.
27020 * math/libm-test.inc (pow_test): Require overflow exceptions for
27021 applicable cases of large exponents.
27022
c483f6b4
JM
27023 [BZ #706]
27024 * sysdeps/i386/fpu/e_pow.S (p10): New object.
27025 (__ieee754_pow): Use iterative multiplication algorithm only for
27026 integer exponents with absolute value below 1024. Check for odd
27027 integer exponents when using algorithm for real exponents.
27028 * math/libm-test.inc (pow_test): Add more tests.
27029 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27030
d2de7579
JM
270312012-04-08 Joseph Myers <joseph@codesourcery.com>
27032
27033 [BZ #13705]
27034 * math/libm-test.inc (exp_test): Do not allow overflow exception
27035 on underflow test.
27036
f77f1232
AJ
270372012-04-08 Aurelien Jarno <aurelien@aurel32.net>
27038
27039 [BZ #13705]
27040 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
27041 instead of __kernel_standard_f.
27042
3884932b
MF
270432012-04-08 Mike Frysinger <vapier@gentoo.org>
27044
27045 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
27046 * sysdeps/x86_64/memset_chk.S: Likewise.
27047
54472e9c
AJ
270482012-04-08 Andreas Jaeger <aj@suse.de>
27049
6ab0fbfc
AJ
27050 [BZ #10153]
27051 * manual/startup.texi (Environment Access): Describe return value
27052 for putenv and setenv.
27053
61efba8c
AJ
27054 [BZ #6895]
27055 * manual/filesys.texi (Directory Entries): Add description for
27056 DT_LNK.
27057
95c3f29a
AJ
27058 [BZ #6890]
27059 * manual/filesys.texi (Directory Entries): Clarify that it's file
27060 system not operating system in the description of DT_UNKNOWN.
27061
54472e9c
AJ
27062 [BZ #6578]
27063 * manual/syslog.texi (closelog): Fix reference, it's openlog.
27064
624254b1
SC
270652012-04-08 Stephen Compall <s11@member.fsf.org>
27066
27067 [BZ #6649]
27068 * manual/llio.texi (Opening and Closing Files): Add cross
27069 reference to explain mode argument.
27070
1e4920e0
MF
270712012-04-07 Mike Frysinger <vapier@gentoo.org>
27072
27073 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
27074 * sysdeps/x86_64/memset_chk.S: Likewise.
27075
5ed848f3
DM
270762012-04-07 David S. Miller <davem@davemloft.net>
27077
27078 * elf/elf.h (R_SPARC_WDISP10): Define.
27079 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
27080 R_SPARC_SIZE32.
27081 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
27082 R_SPARC_SIZE64 and R_SPARC_H34.
27083
96154cd8
CD
270842012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
27085
27086 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
27087 conditions and remove no longer applicable assertion.
27088
9904dc47
L
270892012-04-06 H.J. Lu <hongjiu.lu@intel.com>
27090
27091 * bits/byteswap.h: Include <features.h>.
27092 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
27093 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
27094
f8887d0a
L
270952012-04-06 H.J. Lu <hongjiu.lu@intel.com>
27096
27097 * bits/byteswap.h (__bswap_16): Removed.
27098 Include <bits/byteswap-16.h> to get __bswap_16.
27099 * sysdeps/i386/bits/byteswap.h: Likewise.
27100 * sysdeps/s390/bits/byteswap.h: Likewise.
27101 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27102 * bits/byteswap-16.h: New file.
27103 * sysdeps/i386/bits/byteswap-16.h: Likewise.
27104 * sysdeps/s390/bits/byteswap-16.h: Likewise.
27105 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
27106 * string/Makefile (headers): Add bits/byteswap-16.h.
27107
62470f60
PP
271082012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
27109
27110 [BZ #13895]
27111 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
27112 extra indirection.
27113 * nss/Makefile (tests-static, tests): Add tst-nss-static.
27114 * nss/tst-nss-static.c: New.
27115
4dad7bab
RM
271162012-04-06 Robert Millan <rmh@gnu.org>
27117
27118 [BZ #6486]
27119 * manual/llio.texi (File Position Primitive): lseek
27120 refers to WHENCE when it really means OFFSET.
27121
e9142a17
AJ
271222012-04-06 Andreas Jaeger <aj@suse.de>
27123
2c040eff
AJ
27124 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
27125 strncmp declarations.
27126
e9142a17
AJ
27127 * abilist/libc.abilist: Add __poll and __ppoll.
27128
ff9f1c5f
DM
271292012-04-05 David S. Miller <davem@davemloft.net>
27130
dcd2ae90
DM
27131 * scripts/check-local-headers.sh: Accept a host triplet in the
27132 path matched by the exclude regexp.
27133
993eb054
DM
27134 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
27135 definition.
27136 * sysdeps/powerpc/powerpc32/dl-machine.h
27137 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
27138 * sysdeps/s390/s390-32/dl-machine.h
27139 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27140 * sysdeps/sparc/sparc32/dl-machine.h
27141 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27142 * sysdeps/sparc/sparc64/dl-machine.h
27143 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27144
ff9f1c5f
DM
27145 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
27146 lazy binding.
48e2e132 27147 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
27148 undefined symbol errors.
27149
48e2e132 27150 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
27151 DT_NEEDED entries.
27152
e80d6f94
MM
271532012-04-05 Michael Matz <matz@suse.de>
27154
27155 [BZ #13592]
27156 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
27157
349fa79f
AJ
271582012-04-05 Andreas Jaeger <aj@suse.de>
27159
27160 [BZ #13908]
27161 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
27162 comment.
27163
f402708f
KK
271642012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27165
27166 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
27167 which ROUND is no valid rounding mode.
27168
2ecccfc9
KK
271692012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27170
27171 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
27172 read again.
27173 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
27174
8a53f50f
KK
271752012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27176
27177 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
27178 an exception using FPU order intentionally.
27179
271802012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27181
27182 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
27183 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
27184 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
27185 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
27186
d653abb7
SJ
271872012-04-05 Simon Josefsson <simon@josefsson.org>
27188
27189 [BZ #12340]
27190 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
27191 EINVAL when BUFLEN is too smal.
27192
c3b1bf7d
TS
271932012-04-05 Thomas Schwinge <thomas@codesourcery.com>
27194
27195 [BZ #13553]
27196 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
27197 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
27198
b1aa60f3
AJ
271992012-04-03 Andreas Jaeger <aj@suse.de>
27200
c3b1bf7d 27201 [BZ #13938]
67f60a26
AJ
27202 * manual/setjmp.texi (System V contexts): Fix sentence.
27203
b1aa60f3
AJ
27204 [BZ #13926]
27205 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
27206 New macro for this case.
27207 [!__GNUC__] (__bswap_64): New inline function for this case.
27208 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27209 * bits/byteswap.h: Likewise.
27210 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
27211 ull, guard with __GLIBC_HAVE_LONG_LONG.
27212
27213 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
27214 __GLIBC_HAVE_LONG_LONG.
27215
27216 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
27217 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
27218
39c59c35
TMQMF
272192012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27220
27221 [BZ #13691]
27222 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
27223 inptr and inend, rather than using last_ch.
27224
135ffda8
DM
272252012-04-02 David S. Miller <davem@davemloft.net>
27226
27227 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
27228 * stdio-common/printf-parse.h (read_int): Change return type to
27229 'int', return -1 on INT_MAX overflow.
27230 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
27231 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
27232 overflows INT_MAX. Check for overflow of in-format-string precision
27233 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
27234 SIZE_MAX not INT_MAX for integer overflow test.
27235 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
27236 skip the construct in the format string but do not record anything.
27237 * stdio-common/bug22.c: Adjust to test both width/prevision
27238 INT_MAX overflow as well as total length INT_MAX overflow. Check
27239 explicitly for proper errno values.
27240
228c019e
TS
272412012-04-02 Thomas Schwinge <thomas@codesourcery.com>
27242
302cadd3
TS
27243 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
27244 CHAR_MAX.
27245 * string/test-strcmp.c [! WIDE]: Likewise.
27246 * time/tst-mktime2.c: Likewise for INT_MAX.
27247 * string/test-string.h: #include <sys/param.h> for MIN.
27248
228c019e
TS
27249 * csu/init-first.c (__libc_init_first): Call __ctype_init.
27250 * sysdeps/i386/init-first.c (init): Likewise.
27251 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
27252 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
27253 * sysdeps/sh/init-first.c (init): Likewise.
27254
cfa633f5
UD
272552012-04-01 Ulrich Drepper <drepper@gmail.com>
27256
27257 * po/ru.po: Update from translation team.
d1635ef8 27258 * po/vi.po: Likewise.
cfa633f5 27259
6cd0a5ea
SP
272602012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
27261
27262 * resolv/nss_dns/dns-host.c: Merge copyright years.
27263
4b43400f
LD
272642012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27265
27266 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
27267 Optimize memcpy with prefetch if
27268 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
27269 src, dst pointers have unequal 16 byte alignments.
27270
48c41d04
SP
272712012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
27272
27273 [BZ #13928]
27274 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
27275 from a CNAME entry and return the minimum ttl for the query.
27276 (gaih_getanswer_slice): Likewise.
27277
b8dc394d
JL
272782012-03-30 Jeff Law <law@redhat.com>
27279
27280 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
27281 due to long keys.
27282 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
27283 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
27284
2f5a5ed0
JL
27285 * resolv/nss_dns/dns-host.c: Update copyright year.
27286
1d39e359
UD
272872012-03-30 Ulrich Drepper <drepper@gmail.com>
27288
c030f70c 27289 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 27290 requests to save a system call. Fix check that all bytes are sent.
c030f70c 27291
1d39e359
UD
27292 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
27293 comments for sendmmsg.
27294
272952012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
27296
27297 [BZ #13691]
27298 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
27299 with only 1 character between 0x0041 and 0x01b0.
27300 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
27301 * wcsmbs/tst-mbsnrtowcs.c: New file.
27302
20fde227
DM
273032012-03-29 David S. Miller <davem@davemloft.net>
27304
27305 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
27306 small copies by hand.
27307
984a4237
JL
273082012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27309
27310 [BZ #13761]
27311 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
27312 _nss_compat_initgroups_dyn): Fall back to malloc/free
27313 for large group memberships.
27314
18c9d62b
DM
273152012-03-28 David S. Miller <davem@davemloft.net>
27316
88d85d4f
DM
27317 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
27318 that branches into memcpy.
27319 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
27320 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
27321 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27322 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
27323 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
27324 bits.
27325 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
27326 implementation too.
27327 * sysdeps/sparc/mempcpy.S: New file.
27328
e5aa83e1
DM
27329 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
27330 the IFUNC routine in the libc case.
27331 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27332
88570753
DM
27333 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
27334 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
27335 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
27336 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
27337 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
27338 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
27339 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
27340 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
27341
249d7567
DM
27342 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
27343 loop to 256 bytes instead of 64 bytes and fix test signedness.
27344
18c9d62b
DM
27345 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
27346 * sysdeps/sparc/sparc32/Makefile: rather than here...
27347 * sysdeps/sparc/sparc64/Makefile: and here.
27348
05f3d1f6
UD
273492012-03-28 Ulrich Drepper <drepper@gmail.com>
27350
27351 * malloc/mallocbug.c: Avoid warnings about unused variables.
27352
86ae07a8
JL
273532012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
27354
27355 [BZ #13760]
27356 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
27357 in the right place. Discard and retry query if response is
27358 larger than input buffer size.
27359
41bf21a1
JM
273602012-03-28 Joseph Myers <joseph@codesourcery.com>
27361
d6270972
JM
27362 [BZ #369]
27363 [BZ #2678]
27364 [BZ #3866]
27365 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
27366 x for large integer exponent.
27367 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
27368 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
27369 sign of result as needed afterwards.
27370 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
27371 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
27372 result for underflowing pow the same as for overflow.
27373 (__kernel_standard_l): Handle powl overflow and underflow here
27374 rather than calling __kernel_standard.
27375 * math/libm-test.inc (pow_test): Add more tests.
27376
414fca03 27377 [BZ #3868]
41bf21a1
JM
27378 [BZ #13879]
27379 [BZ #13910]
27380 [BZ #13911]
27381 [BZ #13912]
27382 [BZ #13913]
27383 [BZ #13915]
27384 [BZ #13916]
27385 [BZ #13917]
27386 [BZ #13918]
27387 [BZ #13919]
27388 [BZ #13920]
27389 [BZ #13921]
27390 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
27391 * sysdeps/ieee754/k_standard.c: Include <float.h>.
27392 (__kernel_standard_l): New function.
27393 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
27394 __kernel_standard.
27395 * math/w_acosl.c (__acosl): Likewise.
27396 * math/w_asinl.c (__asinl): Likewise.
27397 * math/w_atan2l.c (__atan2l): Likewise.
27398 * math/w_atanhl.c (__atanhl): Likewise.
27399 * math/w_coshl.c (__coshl): Likewise.
27400 * math/w_exp10l.c (__exp10l): Likewise.
27401 * math/w_exp2l.c (__exp2l): Likewise.
27402 * math/w_fmodl.c (__fmodl): Likewise.
27403 * math/w_hypotl.c (__hypotl): Likewise.
27404 * math/w_j0l.c (__j0l, __y0l): Likewise.
27405 * math/w_j1l.c (__j1l, __y1l): Likewise.
27406 * math/w_jnl.c (__jnl, __ynl): Likewise.
27407 * math/w_lgammal.c (__lgammal): Likewise.
27408 * math/w_log10l.c (__log10l): Likewise.
27409 * math/w_log2l.c (__log2l): Likewise.
27410 * math/w_logl.c (__logl): Likewise.
27411 * math/w_powl.c (__powl): Likewise.
27412 * math/w_remainderl.c (__remainderl): Likewise.
27413 * math/w_scalbl.c (sysv_scalbl): Likewise.
27414 * math/w_sinhl.c (__sinhl): Likewise.
27415 * math/w_sqrtl.c (__sqrtl): Likewise.
27416 * math/w_tgammal.c (__tgammal): Likewise.
27417 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
27418 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
27419 * math/libm-test.inc (acos_test): Add more tests.
27420 (acosh_test): Likewise.
27421 (asin_test): Likewise.
27422 (atanh_test): Likewise.
27423 (exp_test): Likewise.
27424 (exp10_test): Likewise.
27425 (exp2_test): Likewise.
27426 (expm1_test): Likewise.
27427 (lgamma_test): Likewise.
27428 (log_test): Likewise.
27429 (log10_test): Likewise.
27430 (log1p_test): Likewise.
27431 (log2_test): Likewise.
27432 (pow_test): Do not allow some spurious overflow exceptions.
27433 (sqrt_test): Add more tests.
27434 (tgamma_test): Likewise.
27435 (y0_test): Likewise.
27436 (y1_test): Likewise.
27437 (yn_test): Likewise.
27438
dd62fda6
AB
274392012-03-27 Anton Blanchard <anton@samba.org>
27440
27441 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
27442 MAP_HUGETLB.
27443 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27444 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
27445 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27446
1e3cdfda
AJ
274472012-03-27 David S. Miller <davem@davemloft.net>
27448
b855ab85
DM
27449 * conform/Makefile: Run run-conformtest.sh using $(BASH).
27450
1e3cdfda
AJ
27451 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
27452 have-as-vis3 check.
27453
274542012-03-27 Andreas Jaeger <aj@suse.de>
27455
27456 * sysdeps/x86_64/elf/configure.in: Moved to ...
27457 * sysdeps/x86_64/configure.in: ... here.
27458 * sysdeps/x86_64/elf/start.S: Moved to ...
27459 * sysdeps/x86_64/start.S: ... here.
27460 * sysdeps/x86_64/elf/configure: Delete.
27461
27462 * sysdeps/x86_64/configure.in: Merge contents from
27463 sysdeps/i386/configure.in (without i686 check).
27464
27465 * sysdeps/i386/elf/Versions: Merge into ...
27466 * sysdeps/i386/Versions: ... this.
27467 * sysdeps/i386/elf/Versions: Delete file.
27468 * sysdeps/i386/elf/start.S: Moved to ...
27469 * sysdeps/i386/start.S: ...here.
27470 * sysdeps/i386/elf/configure.in: Merge into...
27471 * sysdeps/i386/configure.in: ...here.
27472 * sysdeps/i386/elf/configure.in: Delete file.
27473 * sysdeps/i386/elf/configure: Delete file.
27474
27475 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
27476 * debug/backtracesyms.c: ... here.
27477 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
27478 * debug/backtracesymsfd.c: ... here.
27479 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
27480 * sysdeps/generic/ifunc-sel.h: ... here.
27481
27482 * sysdeps/unix/i386/start.c: Delete file.
27483 * sysdeps/unix/sparc/start.c: Delete file.
27484 * sysdeps/unix/start.c: Delete file.
27485
27486 * sysdeps/sh/elf/configure.in: Moved to ...
27487 * sysdeps/sh/configure.in: ... here.
27488 * sysdeps/sh/elf/start.S: Moved to ...
27489 * sysdeps/sh/start.S: ... here.
27490 * sysdeps/sh/elf/configure: Delete file.
27491
27492 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
27493 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
27494 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
27495 * sysdeps/powerpc/powerpc64/entry.h: ... here.
27496 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
27497 * sysdeps/powerpc/powerpc64/start.S: here.
27498 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
27499 * sysdeps/powerpc/powerpc64/Makefile: ... this.
27500 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
27501 * sysdeps/powerpc/powerpc64/configure.in: ... this.
27502 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
27503
27504 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
27505 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
27506 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
27507 * sysdeps/powerpc/powerpc32/start.S: ... here.
27508 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
27509 * sysdeps/powerpc/powerpc32/configure.in: ... this.
27510 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
27511
27512 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
27513 * sysdeps/powerpc/ifunc-sel.h: ... here.
27514 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
27515 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
27516
27517 * sysdeps/sparc/elf/configure.in: Moved to ...
27518 * sysdeps/sparc/configure.in: ... here.
27519 * sysdeps/sparc/elf/configure: Delete file.
27520 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
27521 * sysdeps/sparc/sparc32/start.S: ... here.
27522 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
27523 * sysdeps/sparc/sparc64/start.S: ... here.
27524 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
27525 * sysdeps/sparc/sparc32/Makefile: ... this.
27526 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
27527 * sysdeps/sparc/sparc64/Makefile: ... this.
27528
27529 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
27530 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
27531 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
27532 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
27533 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
27534 * sysdeps/s390/s390-32/setjmp.S: ... here.
27535 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
27536 * sysdeps/s390/s390-32/configure.in: ... here.
27537 * sysdeps/s390/s390-32/elf/configure: Delete file.
27538 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
27539 * sysdeps/s390/s390-32/start.S: ... here.
27540
27541 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
27542 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
27543 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
27544 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
27545 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
27546 * sysdeps/s390/s390-64/setjmp.S: ... here.
27547 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
27548 * sysdeps/s390/s390-64/configure.in: ... here
27549 * sysdeps/s390/s390-64/elf/configure: Delete file.
27550 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
27551 * sysdeps/s390/s390-64/start.S: ... here.
27552 * sysdeps/s390/s390-64/elf/configure: Delete.
27553
27554 * configure.in: Remove support for elf directories in sysdeps.
27555
27556 * configure: Regenerated.
27557 * sysdeps/i386/configure: Regenerated.
27558 * sysdeps/powerpc/powerpc32/configure: Regenerated.
27559 * sysdeps/powerpc/powerpc64/configure: Regenerated.
27560 * sysdeps/s390/s390-32/configure: Regenerated.
27561 * sysdeps/s390/s390-64/configure: Regenerated.
27562 * sysdeps/sh/configure: Regenerated.
27563 * sysdeps/sparc/configure: Regenerated.
27564 * sysdeps/x86_64/configure: Regenerated.
27565
a3f61311
AS
275662012-03-26 Andreas Schwab <schwab@linux-m68k.org>
27567
c876e002
AS
27568 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27569
a3f61311
AS
27570 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
27571 denormal result into account.
27572
ac4c54f0
RM
275732012-03-25 Roland McGrath <roland@hack.frob.com>
27574
27575 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
27576 Reported by Allan McRae <allan@archlinux.org>.
27577
6a9b9c02
JL
275782012-03-23 Jeff Law <law@redhat.com>
27579
27580 * nss/getnssent.c (__nss_getent): Fix typo.
27581
4c42a0c1
DM
275822012-03-23 David S. Miller <davem@davemloft.net>
27583
27584 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27585
1532c7ac
L
275862012-03-23 H.J. Lu <hongjiu.lu@intel.com>
27587
27588 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
27589 to pad to uint64_t for each field.
27590 (dl_tls_index): Replace unsigned long with uint64_t.
27591
3ff42526
PP
275922012-03-23 Daniel Jacobowitz <dmj@google.com>
27593 Paul Pluzhnikov <ppluzhnikov@google.com>
27594
27595 [BZ #6528]
27596 * grp/Makefile (otherlibs): Don't set it.
27597 * inet/Makefile (otherlibs): Likewise.
27598 * login/Makefile (otherlibs): Likewise.
27599 * nscd/Makefile (otherlibs): Likewise.
27600 * posix/Makefile (otherlibs): Likewise.
27601 * pwd/Makefile (otherlibs): Likewise.
27602 * rt/Makefile (otherlibs): Likewise.
27603 * sunrpc/Makefile (otherlibs): Likewise.
27604 * nss/Makefile (otherlibs): Likewise.
27605 Add libnss_files to routines and static-only-routines.
27606 ($(objpfx)getent): Remove rule.
27607 * resolv/Makefile: Add libnss_dns and libresolv to routines and
27608 static-only-routines.
27609
7c69cd14
JM
276102012-03-22 Joseph Myers <joseph@codesourcery.com>
27611
27612 [BZ #13892]
27613 * math/s_cexp.c: Include <float.h>.
27614 (__cexp): Handle exp result overflowing not necessarily
27615 overflowing both real and imaginary parts of result.
27616 * math/s_cexpf.c: Likewise.
27617 * math/s_cexpl.c: Likewise.
27618 * math/libm-test.inc (cexp_test): Add more tests.
27619 * sysdeps/i386/fpu/libm-test-ulps: Update.
27620 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27621
81b035fe
L
276222012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27623
27624 * include/link.h (ELFW): New macro.
27625 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
27626 Replace ELF64_R_TYPE with ELFW(R_TYPE).
27627
1da7940c
L
276282012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27629
27630 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
27631 with uint64_t.
27632
b749dbb9
L
276332012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27634
27635 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
27636 declaration.
27637 (struct La_x32_retval): Likewise.
27638
2ff87f3f
L
276392012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27640
27641 * sysdeps/x86_64/preconfigure.in: New file.
27642 * sysdeps/x86_64/preconfigure: New generated file.
27643
c0df8e69
JM
276442012-03-22 Joseph Myers <joseph@codesourcery.com>
27645
48e44791
JM
27646 [BZ #13824]
27647 * math/e_exp2l.c: Include <float.h>.
27648 (__ieee754_exp2l): Handle overflow and underflow cases
27649 separately. Only pass fractional part of argument to
27650 __ieee754_expl.
27651 * math/libm-test.inc (exp2_test): Add more tests.
27652
c0df8e69
JM
27653 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
27654 negating x to take absolute value.
27655 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
27656 Likewise.
27657 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
27658 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
27659 Likewise.
27660 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
27661 computing low part if x was negated.
27662 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
27663
c8e43ba7
L
276642012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27665
27666 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
27667 la_x32_gnu_pltexit.
27668 (pltexit): Cast int_retval to ptrdiff_t.
27669 * elf/tst-auditmod3b.c: Likewise.
27670 * elf/tst-auditmod4b.c: Likewise.
27671 * elf/tst-auditmod5b.c: Likewise.
27672 * elf/tst-auditmod6b.c: Likewise.
27673 * elf/tst-auditmod6c.c: Likewise.
27674 * elf/tst-auditmod7b.c: Likewise.
27675
27676 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
27677 and x32_gnu_pltexit.
27678
27679 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
27680 __ELF_NATIVE_CLASS.
27681 (La_x32_regs): New macro.
27682 (La_x32_retval): Likewise.
27683 (la_x32_gnu_pltenter): New function prototype.
27684 (la_x32_gnu_pltexit): Likewise.
27685
7998fa78
AS
276862012-03-21 Andreas Schwab <schwab@linux-m68k.org>
27687
dcb33988
AS
27688 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
27689 exponent.
27690
233fc563
AS
27691 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27692
7998fa78
AS
27693 * configure.in (libc_cv_cc_nofma): Check for option to disable
27694 generation of FMA instructions.
27695 * configure: Regenerate.
27696 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
27697 * sysdeps/ieee754/dbl-64/Makefile: New file.
27698 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27699 Remove brandred-fma4.
27700 (CFLAGS-brandred-fma4.c): Remove.
27701 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
27702 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
27703 define.
27704 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
27705 define.
27706
8e95c99a
L
277072012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27708
27709 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
27710 LLONG_MAX != LONG_MAX.
27711 (_itoa_word): Use _ITOA_WORD_TYPE on value.
27712 (_fitoa_word): Likewise.
27713 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
27714 LLONG_MAX != LONG_MAX.
27715 * stdio-common/_itowa.h: Include <_itoa.h>.
27716 (_itowa_word): Use _ITOA_WORD_TYPE on value.
27717 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
27718 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
27719 only if not defined.
27720 (_ITOA_WORD_TYPE): Likewise.
27721 (_itoa_word): Use _ITOA_WORD_TYPE on value.
27722 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
27723
6f4db457
DM
277242012-03-21 David S. Miller <davem@davemloft.net>
27725
27726 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27727
7785fe5a
L
277282012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27729
27730 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
27731 of x86_64 when setting libc_cv_slibdir, libdir and
27732 libc_cv_localedir.
27733 * sysdeps/unix/sysv/linux/configure: Regenerated.
27734
4535cd55
JM
277352012-03-21 Joseph Myers <joseph@codesourcery.com>
27736
27737 * manual/lang.texi (Old Varargs): Remove section.
27738 (How Variadic): Update menu.
27739 (va_start): Do not mention varargs.h.
27740
17228132
TS
277412012-03-21 Thomas Schwinge <thomas@codesourcery.com>
27742 Joseph Myers <joseph@codesourcery.com>
27743
27744 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
27745 link test.
27746 * configure: Regenerated.
27747
8149f976
TS
277482012-03-21 Thomas Schwinge <thomas@codesourcery.com>
27749
05f3d1f6
UD
27750 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
27751 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
27752 conformtest.pl
8149f976 27753
1a4ac776
JM
277542012-03-21 Joseph Myers <joseph@codesourcery.com>
27755
be22ce65
JM
27756 * NOTES: Remove.
27757 * Makefile (files-for-dist): Remove NOTES.
27758 (NOTES): Remove rule.
27759 * README: Don't refer to NOTES.
27760 * manual/creature.texi: Don't include macros.texi.
27761 * manual/intro.texi (creature.texi): Remove comment referring to
27762 NOTES.
27763
40b601fb
JM
27764 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
27765 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
27766 * configure: Regenerated.
27767 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
27768 LIBC_TRY_CC_OPTION.
27769 (libc_cv_as_i686): Likewise.
27770 (libc_cv_cc_avx): Likewise.
27771 (libc_cv_cc_sse2avx): Likewise.
27772 (libc_cv_cc_fma4): Likewise.
27773 (libc_cv_cc_novzeroupper): Likewise.
27774 * sysdeps/i386/configure: Regenerated.
27775
1a4ac776
JM
27776 [BZ #13883]
27777 * sysdeps/i386/fpu/s_cexp.S: Remove.
27778 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
27779 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
27780 * math/libm-test.inc (cexp_test): Add more tests.
27781 * sysdeps/i386/fpu/libm-test-ulps: Update.
27782 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27783
a458e7fe
AM
277842012-03-21 Allan McRae <allan@archlinux.org>
27785
27786 * timezone/Makefile: Do not install iso3166.tab and zone.tab
27787
0cb7efc5
JM
277882012-03-21 Joseph Myers <joseph@codesourcery.com>
27789
27790 [BZ #13871]
27791 * math/w_exp2.c: Do not include <float.h>.
27792 (o_threshold, u_threshold): Remove.
27793 (__exp2): Calculate result before checking finiteness and calling
27794 __kernel_standard.
27795 * math/w_exp2f.c: Likewise.
27796 * math/w_exp2l.c: Likewise.
27797 * math/libm-test.inc (exp2_test): Require overflow exception for
27798 1e6 input.
2460d3aa
JM
27799
27800 [BZ #3866]
27801 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
27802 range of signed 64-bit integers before using fistpll. Remove
27803 checks for whether integers fit in mantissa bits.
27804 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
27805 the range of signed 32-bit integers before using fistpl. Remove
27806 checks for whether integers fit in mantissa bits.
27807 * sysdeps/i386/fpu/e_powl.S (p64): New object.
27808 (__ieee754_powl): Test for y outside the range of signed 64-bit
27809 integers before using fistpll. Reduce 64-bit values to 63-bit
27810 ones as needed.
27811 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
27812 divide-by-zero is raised for zero to large negative powers.
27813 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
27814 (__ieee754_powl): Test for y outside the range of signed 64-bit
27815 integers before using fistpll. Reduce 64-bit values to 63-bit
27816 ones as needed.
27817 * math/libm-test.inc (pow_test): Add more tests.
27818
eb96ffb0
L
278192012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27820
27821 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
27822 <stdio-common/_itoa.h>.
27823 * debug/segfault.c: Likewise.
27824 * elf/dl-cache.c: Likewise.
27825 * elf/dl-minimal.c: Likewise.
27826 * elf/dl-misc.c: Likewise.
27827 * elf/dl-sysdep.c: Likewise.
27828 * elf/dl-version.c: Likewise.
27829 * elf/rtld.c: Likewise.
27830 * hurd/hurdsock.c: Likewise.
27831 * hurd/lookup-retry.c: Likewise.
27832 * malloc/malloc.c: Likewise.
27833 * malloc/mtrace.c: Likewise.
27834 * nscd/nscd_getgr_r.c: Likewise.
27835 * nscd/nscd_getpw_r.c: Likewise.
27836 * nscd/nscd_getserv_r.c: Likewise.
27837 * posix/getopt_init.c: Likewise.
27838 * posix/wordexp.c: Likewise.
27839 * stdio-common/_itoa.c: Likewise.
27840 * stdio-common/printf_fphex.c: Likewise.
27841 * stdio-common/vfprintf.c: Likewise.
27842 * string/_strerror.c: Likewise.
27843 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
27844 * sysdeps/i386/i686/hp-timing.h: Likewise.
27845 * sysdeps/mach/_strerror.c: Likewise.
27846 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
27847 * sysdeps/mach/hurd/sethostid.c: Likewise.
27848 * sysdeps/mach/hurd/xmknodat.c: Likewise.
27849 * sysdeps/mach/xpg-strerror.c: Likewise.
27850 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
27851 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
27852 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
27853 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
27854 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
27855 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
27856 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
27857 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
27858 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
27859 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
27860 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
27861 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
27862 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
27863 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
27864 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
27865 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
27866 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
27867 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
27868 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
27869 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
27870 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
27871
27872 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
27873
27874 * stdio-common/_itoa.h: Moved to ...
27875 * sysdeps/generic/_itoa.h: Here.
27876
27877 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
27878
27879 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
27880 instead of "_itoa.h" and "_itowa.h".
27881 * stdio-common/vfprintf.: Likewise.
27882
d1af992d
L
278832012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27884
27885 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
27886 <bits/wordsize.h>.
27887 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
27888 (__signbit): Likwise.
27889 (llrintf): Likwise.
27890 (llrint): Likwise.
27891
114883e0
L
278922012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27893
27894 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
27895 __WORDSIZE != 64.
27896
c135cc1b
JM
278972012-03-20 Joseph Myers <joseph@codesourcery.com>
27898
27899 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
27900 OVERFLOW_EXCEPTION_OK.
27901 * math/libm-test.inc ("Philosophy"): Update comment about
27902 exception testing.
27903 (OVERFLOW_EXCEPTION): Define.
27904 (OVERFLOW_EXCEPTION_OK): Likewise.
27905 (INVALID_EXCEPTION_OK): Renumber.
27906 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27907 (IGNORE_ZERO_INF_SIGN): Likewise.
27908 (test_exceptions): Handle FE_OVERFLOW.
27909 (exp10_test): Expect overflow exceptions.
27910 (exp2_test): Likewise.
27911 (expm1_test): Likewise.
27912 (nextafter_test): Likewise.
27913 (pow_test): Likewise.
27914 (scalbn_test): Likewise.
27915 (scalbln_test): Likewise.
27916
95443d88
L
279172012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27918
27919 * sysdeps/x86_64/bits/atomic.h
27920 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
27921 64bit integer.
27922 (atomic_exchange_acq): Likewise.
27923 (__arch_exchange_and_add_body): Likewise.
27924 (__arch_add_body): Likewise.
27925 (atomic_add_negative): Likewise.
27926 (atomic_add_zero): Likewise.
27927
490df6c4
L
279282012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27929
c2722551 27930 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
27931 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
27932
5e52b189
L
279332012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27934
27935 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
27936 Check __x86_64__ instead of __WORDSIZE.
27937
a9879d4c
L
279382012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27939
27940 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
27941
5df98260
DM
279422012-03-19 David S. Miller <davem@davemloft.net>
27943
e1497744
DM
27944 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27945
5df98260
DM
27946 * sysdeps/sparc/fpu/fenv_private.h: New file.
27947 * sysdeps/sparc/fpu/math_private.h: Use it.
27948 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
27949 Remove.
27950 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
27951 (libc_feholdexcept_setroundl): Remove.
27952 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
27953 Remove.
27954 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
27955 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
27956
b4c35121
L
279572012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27958
27959 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
27960 int64_t instead of long int.
27961 (INSERT_WORDS64): Likwise.
27962
56965fd7
L
279632012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27964
27965 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
27966 _Unwind_GetCFA return to _Unwind_Ptr first.
27967
83d1aec8
JM
279682012-03-19 Joseph Myers <joseph@codesourcery.com>
27969
1897ad44
JM
27970 [BZ #13629]
27971 * math/s_clog.c: Include <float.h>.
27972 (__clog): Scale large or subnormal inputs.
27973 * math/s_clogf.c: Likewise.
27974 * math/s_clogl.c: Likewise.
27975 * math/s_clog10.c: Include <float.h>.
27976 (M_LOG10_2): Define.
27977 (__clog10): Scale large or subnormal inputs.
27978 * math/s_clog10f.c: Likewise.
27979 * math/s_clog10l.c: Likewise.
27980 * math/libm-test.inc (clog_test): Add more tests.
27981 (clog10_test): Likewise.
27982 * sysdeps/i386/fpu/libm-test-ulps: Update.
27983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27984
7726d6a9
JM
27985 [BZ #11451]
27986 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
27987 x and y.
27988 * math/libm-test.inc (atan2_test): Add another test.
27989
83d1aec8
JM
27990 * Makerules (common-objdir-compile): Remove.
27991 * sysdeps/unix/Makefile (config-generated): Do not add
27992 $(unix-generated) to variable.
27993 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
27994 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
27995 Remove rule.
27996 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
27997 Likewise.
27998 [generic bits/local_lim.h] (before-compile): Do not append to
27999 variable.
28000 [generic bits/local_lim.h] (common-generated): Likewise.
28001 [generic sys/param.h] (before-compile): Do not append to variable.
28002 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
28003 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
28004 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
28005 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
28006 include.
28007 [generic sys/param.h] (sys/param.h-includes): Remove variable.
28008 [generic sys/param.h] (sys/param.h-includes): Remove rule.
28009 [generic sys/param.h] ($(addprefix
28010 $(common-objpfx),$(sys/param.h-includes))): Likewise.
28011 [generic sys/param.h] (common-generated): Do not append to
28012 variable.
28013 [generic sys/param.h] (sysdep_headers): Likewise.
28014 [generic bits/errno.h] (before-compile): Do not append to
28015 variable.
28016 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
28017 rule.
28018 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
28019 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
28020 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
28021 [generic bits/errno.h] (common-generated): Do not append to
28022 variable.
28023 [generic bits/ioctls.h] (before-compile): Do not append to
28024 variable.
28025 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
28026 rule.
28027 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
28028 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
28029 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
28030 rule.
28031 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
28032 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
28033 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
28034 [generic bits/ioctls.h] (common-generated): Do not append to
28035 variable.
28036 [generic sys/syscall.h] (syscall.h): Remove variable.
28037 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
28038 rule.
28039 [generic sys/syscall.h] (before-compile): Do not append to
28040 variable.
28041 [generic sys/syscall.h] (common-generated): Likewise.
28042 * sysdeps/unix/errnos-tmpl.c: Remove file.
28043 * sysdeps/unix/errnos.awk: Likewise.
28044 * sysdeps/unix/ioctls-tmpl.c: Likewise.
28045 * sysdeps/unix/ioctls.awk: Likewise.
28046 * sysdeps/unix/mk-local_lim.c: Likewise.
28047 * sysdeps/unix/snarf-ioctls: Likewise.
28048
4851a949
RH
280492012-03-19 Richard Henderson <rth@twiddle.net>
28050
bd37f2ee
RH
28051 * sysdeps/i386/fpu/fenv_private.h: New file.
28052 * sysdeps/i386/fpu/math_private.h: Use it.
28053 (math_opt_barrier, math_force_eval): Remove.
28054 (libc_feholdexcept_setround_53bit): Remove.
28055 (libc_feupdateenv_53bit): Remove.
28056 * sysdeps/x86_64/fpu/math_private.h: Likewise.
28057 (math_opt_barrier, math_force_eval): Remove.
28058 (libc_feholdexcept): Remove.
28059 (libc_feholdexcept_setround): Remove.
28060 (libc_fetestexcept, libc_fesetenv): Remove.
28061 (libc_feupdateenv_test): Remove.
28062 (libc_feupdateenv, libc_feholdsetround): Remove.
28063 (libc_feresetround): Remove.
28064
d0adc922
RH
28065 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
28066 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
28067
0fe0f1f8
RH
28068 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
28069 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
28070 (libc_feupdateenv_testl): New.
28071 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
28072 (libc_feupdateenv_testf): New.
28073 (libc_feupdateenv): Use libc_feupdateenv_test.
28074 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
28075 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
28076
eb92c487
RH
28077 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
28078 (libc_feholdsetroundf, libc_feholdsetroundl): New.
28079 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
28080 (libc_feresetround_noex): New.
28081 (libc_feresetround_noexf): New.
28082 (libc_feresetround_noexl): New.
28083 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
28084 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
28085 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
28086 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
28087 SET_RESTORE_ROUND.
28088 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
28089 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
28090 (__cos): Likewise.
28091 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
28092 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
28093 SET_RESTORE_ROUND_NOEX.
28094 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
28095 SET_RESTORE_ROUND_NOEXF.
28096 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
28097 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
28098 (libc_feholdsetroundf): New.
28099 (libc_feresetround, libc_feresetroundf): New.
28100
7d2e8012
RH
28101 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
28102 (libc_feholdexcept_setround_53bit): Convert from macro to function.
28103 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
28104
b4dabbb4
RH
28105 * sysdeps/generic/math_private.h: Include <fenv.h>.
28106 (default_libc_feholdexcept): New.
28107 (default_libc_feholdexcept_setround): New.
28108 (default_libc_fesetenv, default_libc_feupdateenv): New.
28109 (libc_feholdexcept): Only define if undefined.
28110 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
28111 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
28112 (libc_feholdexcept_setroundl): Likewise.
28113 (libc_feholdexcept_setround_53bit): Likewise.
28114 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
28115 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
28116 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
28117 (libc_feupdateenv_53bit): Likewise.
28118 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
28119 (libc_feholdexcept): Convert from macro to inline function.
28120 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
28121 (libc_fesetenv, libc_feupdateenv): Likewise.
28122
4851a949
RH
28123 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
28124 not previously defined.
28125 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
28126 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
28127 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
28128 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
28129 * sysdeps/ieee754/flt-32/math_private.h: New file.
28130 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
28131 math_private.h below SET_FLOAT_WORD.
28132 (__isnan, __isinf_ns, __finite): Remove.
28133 (__isnanf, __isinf_nsf, __finitef): Remove.
28134
e79d442e
AS
281352012-03-18 Andreas Schwab <schwab@linux-m68k.org>
28136
28137 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28138
90b80344
DM
281392012-03-17 David S. Miller <davem@davemloft.net>
28140
28141 [BZ #6471]
28142 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
28143 for 2.16.
28144
edc21804
DM
281452012-03-16 David S. Miller <davem@davemloft.net>
28146
77e927af
DM
28147 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
28148 warnings.
28149
374976dd
DM
28150 [BZ #6471]
28151 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
28152 properly.
28153 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
28154 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
28155 sysdep_routines when subdir is sysvipc.
28156 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
28157 __getshmlba helper.
28158
edc21804
DM
28159 * sysdeps/sparc/fpu/libm-test/ulps: Update.
28160
473c3ef3
L
281612012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28162
28163 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
28164 [__LP64__].
28165
eb0f39b6
L
281662012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28167
28168 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
28169 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
28170 (__lround): Renamed to ...
28171 (__llround): This. Replace long int with long long int.
28172 Define lround functions as aliases of llround functions.
28173 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
28174
6b6cd74b
L
281752012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28176
28177 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
28178 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
28179 adresses to uintptr_t. Replace "long int" and "unsigned long
28180 int" with "greg_t" on va_arg.
28181
f1a77b01
L
281822012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28183
28184 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
28185 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
28186
28187 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
28188 Move e_machine check before EI_CLASS check. Handle x32
28189 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
28190 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
28191 SKIP_EM_IA_64 and include
28192 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
28193
28194 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
28195 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
28196 (add_system_dir): New macro.
28197
28198 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
28199 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
28200
11b90b9f
JM
282012012-03-16 Joseph Myers <joseph@codesourcery.com>
28202
c36e1d23
JM
28203 [BZ #2551]
28204 [BZ #2552]
28205 [BZ #2553]
28206 [BZ #2554]
28207 [BZ #2562]
28208 [BZ #2563]
28209 [BZ #2565]
28210 [BZ #2566]
28211 [BZ #2576]
28212 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
28213 (y0): Likewise.
28214 * math/w_j0f.c (j0f): Likewise.
28215 (y0f): Likewise.
28216 * math/w_j0l.c (__j0l): Likewise.
28217 (__y0l): Likewise.
28218 * math/w_j1.c (j1): Likewise.
28219 (y1): Likewise.
28220 * math/w_j1f.c (j1f): Likewise.
28221 (y1f): Likewise.
28222 * math/w_j1l.c (__j1l): Likewise.
28223 (__y1l): Likewise.
28224 * math/w_jn.c (jn): Likewise.
28225 (yn): Likewise.
28226 * math/w_jnf.c (jnf): Likewise.
28227 (ynf): Likewise.
28228 * math/w_jnl.c (__jnl): Likewise.
28229 (__ynl): Likewise.
28230 * math/libm-test.inc (j0_test): Add more tests.
28231 (j1_test): Likewise.
28232 (jn_test): Likewise. Add trailing semicolon to existing test.
28233 (y0_test): Likewise.
28234 (y1_test): Likewise.
28235 * sysdeps/i386/fpu/libm-test-ulps: Update.
28236 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28237
11b90b9f
JM
28238 [BZ #13851]
28239 [BZ #13854]
28240 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
28241 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
28242 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
28243 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
28244 (__tanl): Set errno for infinite argument.
28245 * sysdeps/i386/fpu/mptan.c: Remove.
28246 * sysdeps/i386/fpu/s_tan.S: Likewise.
28247 * sysdeps/i386/fpu/s_tanl.S: Likewise.
28248 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
28249 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
28250 * math/libm-test.inc (tan_test): Add more tests and enable more
28251 tests for double and long double.
28252 * sysdeps/i386/fpu/libm-test-ulps: Update.
28253 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28254
6a1bd2a1
JK
282552012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
28256
28257 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
28258 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
28259
10a803e0
RM
282602012-03-16 Roland McGrath <roland@hack.frob.com>
28261
28262 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
28263 * configure.in: Use it for both main tree and add-ons.
28264 * configure: Regenerated.
28265
f196c7f7
L
282662012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28267
28268 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
28269
8848d99d
JM
282702012-03-16 Joseph Myers <joseph@codesourcery.com>
28271
96cbe7f4
JM
28272 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
28273 in comment.
28274
8848d99d
JM
28275 [BZ #13851]
28276 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
28277 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
28278 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
28279 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
28280 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
28281 infinite argument.
28282 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
28283 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
28284 != 0 for prec == 2.
28285 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
28286 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
28287 * sysdeps/i386/fpu/s_cosl.S: Likewise.
28288 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
28289 * sysdeps/i386/fpu/s_sinl.S: Likewise.
28290 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
28291 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
28292 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
28293 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
28294 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
28295 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
28296 * math/libm-test.inc (cos_test): Add more tests and enable more
28297 tests for long double.
28298 (sin_test): Likewise.
28299 (sincos_test): Likewise.
28300 * sysdeps/i386/fpu/libm-test-ulps: Update.
28301 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28302
dd7f4703
DM
283032012-03-16 David S. Miller <davem@davemloft.net>
28304
28305 * sysdeps/sparc/fpu/math_private.h: New file.
28306
006f1daa
DM
283072012-03-15 David S. Miller <davem@davemloft.net>
28308
c0c83bc8
DM
28309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
28310 file.
e6a62e18 28311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
28312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
28313 file.
e6a62e18
DM
28314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
28315 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
28316 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
28317 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
28318 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
28319 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
28320 sysdep routines.
28321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28322
88cb87d9
DM
28323 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
28324 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
28325
006f1daa 28326 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
28327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
28328 sparc-ifunc.h
006f1daa 28329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
28330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
28331 Likewise.
28332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
28333 Likewise.
006f1daa
DM
28334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
28335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
28336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
28337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
28338 Likewise.
006f1daa
DM
28339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
28340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
28341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
28342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
28343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
28344 Likewise.
28345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
28346 Likewise.
006f1daa
DM
28347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
28348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
28349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
28350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
28351 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
28352 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
28353 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
28354 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
28355 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
28356 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
28357 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
28358 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
28359 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
28360 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
28361 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
28362 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
28363 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
28364 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
28365 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
28366 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
28367 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
28368 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
28369 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
28370 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
28371
11e0098e
AS
283722012-03-15 Andreas Schwab <schwab@linux-m68k.org>
28373
28374 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
28375 scaling.
28376 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28377
e85b09d0
AJ
283782012-03-15 Andreas Jaeger <aj@suse.de>
28379
28380 [BZ #13852]
28381 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
28382 ieee754/flt-32 implementation for sin, cos and sincos.
28383 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
28384 * sysdeps/i386/fpu/s_cosf.S: Likewise.
28385 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
28386 * sysdeps/i386/fpu/s_sinf.S: Likewise.
28387 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
28388 ieee754/flt-32 implementation for tan.
28389
28390 * math/libm-test.inc (cos_test): Enable some large input tests for
28391 float as well
28392 (sin_test): Likewise.
28393 (sincos_test): Likewise.
28394 (tan_test): Add tests for large input.
28395
28396 * sysdeps/i386/fpu/libm-test-ulps: Update.
28397
81c64153
AJ
283982012-03-15 Andreas Jaeger <aj@suse.de>
28399
28400 [BZ #13658]
28401 * math/libm-test.inc (cos_test): Add more test cases.
28402 (sin_test): Likewise.
28403 (sincos_test): Likewise.
28404
7bbfa5c6
AJ
284052012-03-15 Andreas Jaeger <aj@suse.de>
28406
28407 [BZ #13837]
28408 * math/libm-test.inc (cos_test): Add a test case for large input
28409 value.
28410 (sin_test): Likewise.
28411 (sincos_test): Likewise.
28412
284132012-03-15 Andreas Jaeger <aj@suse.de>,
28414 Joseph Myers <joseph@codesourcery.com>
28415
28416 [BZ #13658]
0671f479 28417 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
28418 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
28419 * sysdeps/i386/fpu/branred.c: Likewise.
28420 * sysdeps/i386/fpu/dosincos.c: Likewise.
28421 * sysdeps/i386/fpu/mpa.c: Likewise.
28422 * sysdeps/i386/fpu/s_cos.S: Likewise.
28423 * sysdeps/i386/fpu/s_sin.S: Likewise.
28424 * sysdeps/i386/fpu/s_sincos.S: Likewise.
28425 * sysdeps/i386/fpu/sincos32.c: Likewise.
28426
28427 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
28428 Define.
28429 (libc_feupdateenv_53bit): Define.
28430 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
28431 Define.
28432 (libc_feupdateenv_53bit): Define.
28433
28434 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
28435 53 bit (without extend i386 double precision).
28436
28437 * math/libm-test.inc (sincos_test): Add tests for large input.
28438 (sin): Likewise.
28439 (cos): Likewise.
28440
28441 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
28442
9cad04ea
AS
284432012-03-15 Andreas Schwab <schwab@linux-m68k.org>
28444
28445 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28446
f7062b9a
DM
284472012-03-15 David S. Miller <davem@davemloft.net>
28448
28449 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
28450 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
28451 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
28452 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
28453 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
28454 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
28455 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
28456 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
28457 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
28458 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
28459 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
28460 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
28461 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
28462 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
28463 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
28464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
28465 file.
f7062b9a 28466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
28467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
28468 file.
f7062b9a 28469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
28470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
28471 file.
f7062b9a 28472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
28473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
28474 file.
f7062b9a
DM
28475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
28476 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
28477 fmin/fmax sysdep routines.
28478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28479
7bd951ff
DM
284802012-03-14 David S. Miller <davem@davemloft.net>
28481
559398ab
DM
28482 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
28483 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
28484 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
28485 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
28486 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
28487 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
28488 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
28489 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
28490 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
28491 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
28492 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
28493 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
28494 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
28495 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
28496 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
28497 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
28498 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
28499 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
28500 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
28501 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
28502 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
28503 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
28504 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
28505 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
28506 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
28507 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
28508 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
28509 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
28510 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
28511 routines.
28512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
28513 file.
559398ab 28514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
28515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
28516 file.
559398ab 28517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
28518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
28519 file.
559398ab 28520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
28521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
28522 file.
559398ab 28523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
28524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
28525 file.
559398ab 28526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
28527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
28528 file.
28529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
28530 file.
28531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
28532 file.
28533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
28534 file.
28535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
28536 New file.
28537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
28538 file.
28539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
28540 file.
559398ab 28541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
28542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
28543 file.
559398ab 28544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
28545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
28546 file.
559398ab 28547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
28548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
28549 file.
559398ab 28550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
28551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
28552 VIS3 routines.
559398ab
DM
28553
28554 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
28555 New file.
28556
5a1c1e32
DM
28557 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28558
eae47a36
DM
28559 * sysdeps/sparc/configure.in: New file.
28560 * sysdeps/sparc/configure: Generate.
28561 * configure.in (libc_cv_sparc_as_vis3): Substitute.
28562 * configure: Regenerate.
28563 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
28564 * config.make.in (have-as-vis3): New.
28565 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
28566 available use -Av9d instead of -Av9a.
28567 * sysdeps/sparc/sparc64/Makefile: Likewise.
28568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
28569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
28570 New file.
28571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
28572 file.
28573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
28574 New file.
28575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
28576 file.
eae47a36
DM
28577 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
28578 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
28579 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
28580 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
28581 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
28582
c0c83bc8
DM
28583 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
28584 fzeros/fnegs to load 0x80000000 into a float register instead of
28585 using the stack.
7bd951ff
DM
28586 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
28587
bd951ccb
JM
285882012-03-14 Joseph Myers <joseph@codesourcery.com>
28589
28590 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28591 bits/syscall.h.
28592 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
28593 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
28594 ($(inst_includedir)/bits/syscall.h): Remove rule.
28595 ($(objpfx)bits/syscall.d): Include instead of
28596 $(objpfx)syscall-list.d.
28597 (generated): Change syscall-list.h and syscall-list.d to
28598 bits/syscall.h and bits/syscall.d.
28599
bb4e6db2
RM
286002012-03-14 Roland McGrath <roland@hack.frob.com>
28601
28602 [BZ #13846]
28603 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
28604
aa4a2ae1
JM
286052012-03-14 Joseph Myers <joseph@codesourcery.com>
28606
e456826d
JM
28607 [BZ #13841]
28608 * math/s_csqrt.c: Include <float.h>.
28609 (__csqrt): Scale large or subnormal inputs.
28610 * math/s_csqrtf.c: Likewise.
28611 * math/s_csqrtl.c: Likewise.
28612 * math/libm-test.inc (csqrt_test): Add more tests.
28613 * sysdeps/i386/fpu/libm-test-ulps: Update.
28614 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28615
aa4a2ae1
JM
28616 [BZ #13840]
28617 * math/libm-test.inc (hypot_test): Add more tests.
28618
7c10fd35
DM
286192012-03-13 David S. Miller <davem@davemloft.net>
28620
28621 [BZ #13840]
28622 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
28623 double-precision for the calculation instead of scaling.
28624
f453b98b
JM
286252012-03-13 Joseph Myers <joseph@codesourcery.com>
28626
28627 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
28628 manipulate bits before adding and subtracting TWO52[sx].
28629 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
28630 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
28631 Likewise.
28632 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
28633
09a3453f
DM
286342012-03-13 David S. Miller <davem@davemloft.net>
28635
8e59da90
DM
28636 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
28637 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
28638 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
28639 rtld-global-offsets.h
28640 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28641
2a8ab7f2
DM
28642 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
28643 large parameters.
28644
10f62770
DM
28645 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
28646
5f0bdb18
DM
28647 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
28648 'err' in the ifdef scope in which it is actually used.
28649
09a3453f
DM
28650 * nss/nss_db/db-init.c: Include string.h
28651
b4b2eb5e
DM
286522012-03-12 David S. Miller <davem@davemloft.net>
28653
98bb2f1c
DM
28654 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
28655 masking out of the most significant byte of random value used.
28656 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28657 Fix coding style in previous change.
28658
b4b2eb5e
DM
28659 * sysdeps/unix/sysv/linux/kernel-features.h
28660 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
28661 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
28662 expression.
28663 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
28664 later.
28665
6e226b09
DM
286662012-03-11 David S. Miller <davem@davemloft.net>
28667
a1bcbd40
DM
28668 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28669 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
28670 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
28671 for 'resultvar' otherwise things get truncated on 64-bit.
28672
cb9d6174
DM
28673 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28674 Fix masking out of the most significant byte of random value used.
28675
6e226b09
DM
28676 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28677
058c132d
AS
286782012-03-10 Andreas Schwab <schwab@linux-m68k.org>
28679
28680 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28681
2d2cd515
DM
286822012-03-09 David S. Miller <davem@davemloft.net>
28683
28684 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
28685 variables with appropriate CPP guards.
28686 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
28687 frame pointer, not the stack pointer. Correct layout comments. Fix test
28688 on resulting framesize and the management of the outregs buffer for pltexit.
28689 Preserve floating point return values across _dl_call_pltexit call.
28690 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
28691 framesize and the management of the outregs buffer for pltexit.
28692 Preserve floating point return values across _dl_call_pltexit
28693 call.
28694 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
28695 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
28696 (print_exit): Fix format string for return register value.
28697
9a07f9d0
JM
286982012-03-10 Joseph Myers <joseph@codesourcery.com>
28699
28700 * sunrpc/Makefile (others): Add rpcgen.
28701 ($(objpfx)rpcgen): Remove special build rule and dependency on
28702 libc.
28703 * sunrpc/rpcgen.c: New file.
28704
547b5e30
PE
287052012-03-09 Paul Eggert <eggert@cs.ucla.edu>
28706
c524201a
PE
28707 [BZ #13673]
28708 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
28709 * stdio-common/bug-vfprintf-nargs.c: Likewise.
28710 * sysdeps/i386/crti.S: Likewise.
28711 * sysdeps/i386/crtn.S: Likewise.
28712 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
28713 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
28714 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
28715 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
28716 * sysdeps/sh/crti.S: Likewise.
28717 * sysdeps/sh/crtn.S: Likewise.
28718 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
28719
7b6235f2
PE
28720 [BZ #13673]
28721 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
28722 with URL.
28723 * locale/programs/locfile-kw.gperf: Likewise.
28724 * locale/programs/charmap-kw.h: Regenerated.
28725 * locale/programs/locfile-kw.h: Likewise.
28726
547b5e30
PE
28727 [BZ #13673]
28728 * intl/plural.y: Replace FSF snail mail address with URL.
28729 * intl/plural.c: Regenerated.
28730
5f0a5dae
RH
287312012-03-09 Richard Henderson <rth@twiddle.net>
28732
28733 * include/math_private.h: Remove file.
28734 * math/math_private.h: Move file ...
28735 * sysdeps/generic/math_private.h: ... here.
28736
b8c03620
RH
28737 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
28738 * sysdeps/powerpc/fpu/math_private.h: Likewise.
28739 * sysdeps/x86_64/fpu/math_private.h: Likewise.
28740
4e234f5d 28741 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
28742 and <math_private.h>.
28743 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
28744 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
28745 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
28746 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
28747 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
28748 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
28749 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28750 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28751 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28752 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28753 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28754 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28755 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28756 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28757 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28758 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28759 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28760 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28761 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28762 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
28763 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28764 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28765 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28766 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28767 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
28768 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28769 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28770 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28771 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28772 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28773 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28774 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28775 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
28776 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28777 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
28778 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28779 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28780 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
28781 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
28782 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28783 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
28784 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
28785 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
28786 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
28787 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
28788 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
28789 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
28790 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
28791 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28792 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
28793 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
28794 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
28795 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
28796 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
28797 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
28798 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28799 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28800 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
28801 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
28802 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
28803 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28804 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
28805 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28806 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
28807 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
28808 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28809 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28810 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28811 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
28812 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
28813 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
28814 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28815 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
28816 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28817 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
28818 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
28819 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
28820 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28821 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
28822 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
28823 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
28824 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
28825 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
28826 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
28827 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28828 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
28829 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
28830 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
28831 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
28832 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28833 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28834 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
28835 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28836 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
28837 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
28838 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
28839 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28840 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
28841 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28842 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
28843 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
28844 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
28845 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
28846 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
28847 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
28848 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
28849 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
28850 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
28851 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
28852 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28853 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
28854 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
28855 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
28856 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
28857 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
28858 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28859 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
28860 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
28861 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
28862 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
28863 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
28864 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
28865 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28866 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
28867 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
28868 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
28869 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
28870 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
28871 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
28872 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
28873 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
28874 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
28875 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
28876 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
28877 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
28878 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
28879 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
28880 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
28881 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
28882 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
28883 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28884 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
28885 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
28886 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
28887 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
28888 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
28889 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
28890 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
28891 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
28892 * sysdeps/ieee754/k_standard.c: Likewise.
28893 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
28894 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
28895 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28896 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
28897 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
28898 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
28899 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
28900 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
28901 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
28902 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
28903 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28904 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
28905 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
28906 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
28907 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
28908 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
28909 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
28910 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
28911 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
28912 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
28913 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
28914 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
28915 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
28916 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
28917 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
28918 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
28919 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
28920 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
28921 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
28922 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
28923 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
28924 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
28925 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
28926 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
28927 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
28928 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
28929 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
28930 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
28931 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
28932 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
28933 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
28934 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
28935 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
28936 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
28937 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
28938 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
28939 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
28940 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
28941 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
28942 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
28943 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
28944 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
28945 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
28946 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
28947 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
28948 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
28949 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
28950 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
28951 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
28952 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
28953 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
28954 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
28955 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
28956 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
28957 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28958 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28959 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
28960 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
28961 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
28962 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
28963 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
28964 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28965 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
28966 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
28967 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
28968 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
28969 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
28970 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
28971 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28972 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
28973 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
28974 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
28975 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
28976 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
28977 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
28978 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
28979 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
28980 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
28981 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
28982 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
28983 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
28984 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
28985 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
28986 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
28987 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
28988 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
28989 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
28990 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
28991 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
28992 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
28993 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
28994 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
28995 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
28996 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
28997 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
28998 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
28999 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
29000 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
29001 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
29002 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
29003 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
29004 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
29005 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
29006 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29007 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
29008 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29009 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
29010 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29011 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29012 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
29013 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29014 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
29015 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
29016 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
29017 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29018 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
29019 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
29020 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
29021 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
29022 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
29023 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
29024 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
29025 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
29026 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
29027 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
29028 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
29029 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
29030 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
29031 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
29032 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
29033 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
29034 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
29035 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
29036 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
29037 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
29038 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
29039 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
29040 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
29041 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
29042 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
29043 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
29044 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
29045 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
29046 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
29047 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
29048 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
29049 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
29050 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
29051 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
29052 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
29053 * sysdeps/ieee754/s_lib_version.c: Likewise.
29054 * sysdeps/ieee754/s_matherr.c: Likewise.
29055 * sysdeps/ieee754/s_signgam.c: Likewise.
29056 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
29057 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29058 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
29059 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
29060 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
29061 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
29062 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
29063 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
29064 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
29065 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
29066 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
29067 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
29068 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
29069 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
29070 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
29071 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
29072 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
29073 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
29074 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
29075 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29076 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 29077
1991fa03
JM
290782012-03-09 Joseph Myers <joseph@codesourcery.com>
29079
29080 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
29081 * sunrpc/rpc_main.c: Likewise.
29082 * sunrpc/rpc_svcout.c: Likewise.
29083
60d6f5a6
DM
290842012-03-09 David S. Miller <davem@davemloft.net>
29085
29086 * include/math_private.h: New file.
29087
4962050e
JM
290882012-03-09 Joseph Myers <joseph@codesourcery.com>
29089
02a6f887
JM
29090 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
29091 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
29092 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
29093 from <bits/socket_type.h>.
29094 (enum __socket_type): Don't define here.
29095 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
29096 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29097 bits/socket_type.h.
29098
c6e013c1
JM
29099 [BZ #13566]
29100 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
29101 checking __USE_GNU.
29102
4962050e
JM
29103 * Makerules ($(inst_includedir)/%.h): New rule.
29104 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
29105 (install-others): Remove variable setting.
29106 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
29107
38842f45
RH
291082012-03-08 Richard Henderson <rth@twiddle.net>
29109
67bb6da6
RH
29110 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
29111 from macro to inline function; merge with the
29112 !__LIBC_INTERNAL_MATH_INLINES version.
29113 (__ieee754_sqrtf): Likewise.
29114
15194b4b
RH
29115 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
29116 to inline function.
29117 (__rintf, __floor, __floorf): Likewise.
29118
64e21ede
RH
29119 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
29120 macro to inline function.
29121 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
29122
38842f45
RH
29123 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
29124 not <math/math_private.h>.
29125
c64bf5fe
DM
291262012-03-08 David S. Miller <davem@davemloft.net>
29127
29128 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
29129 copyright year.
29130 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
29131
82d86f28
TS
291322012-03-08 Thomas Schwinge <thomas@codesourcery.com>
29133
29134 * resolv/gai_misc.c (handle_requests): Fix struct timespec
29135 normalization.
29136 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
29137 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
29138
aea5d727
UD
291392012-03-08 Ulrich Drepper <drepper@gmail.com>
29140
29141 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
29142 be defined individually, they must be defined as a block. Define
29143 S for printing a string instead of hidint the different by using a
29144 macro for adding the 'l'.
29145 * stdio-common/tst-fphex-wide.c: Adjust.
29146
70bca0a3
MP
291472012-03-07 Marek Polacek <polacek@redhat.com>
29148
29149 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
29150
65b81130
MP
291512012-03-08 Marek Polacek <polacek@redhat.com>
29152
29153 [BZ #13806]
29154 * stdio-common/Makefile (tests): Add tst-fphex-wide.
29155 * stdio-common/tst-fphex.c: Define a few macros to make the
29156 test reusable. Use them.
29157 * stdio-common/tst-fphex-wide.c: New file.
29158
07037eeb
JM
291592012-03-08 Joseph Myers <joseph@codesourcery.com>
29160
a7a93d50
JM
29161 [BZ #6911]
29162 * manual/macros.texi (gnusystems): New macro.
29163 (nongnusystems): Likewise.
29164 (gnulinuxhurdsystems): Likewise.
29165 (gnuhurdsystems): Likewise..
29166 (gnulinuxsystems): Likewise.
29167 * manual/charset.texi: Use new macros or @theglibc{} to refer to
29168 variants of the GNU system, not "GNU system".
29169 * manual/conf.texi: Likewise.
29170 * manual/errno.texi: Likewise. Update example of errno macro
29171 expansion.
29172 * manual/filesys.texi: Likewise.
29173 (getumask): Document as specific to GNU/Hurd.
29174 * manual/install.texi: Likewise. Reword some references to
29175 GNU/Linux.
29176 * manual/intro.texi: Likewise.
29177 * manual/io.texi: Likewise.
29178 (File Name Portability): Detail which constraints are inapplicable
29179 to all GNU systems and which are only inapplicable to GNU/Hurd.
29180 * manual/job.texi: Likewise.
29181 * manual/llio.texi: Likewise.
29182 (O_NOCTTY): Document as present on GNU/Linux.
29183 * manual/maint.texi: Likewise.
29184 * manual/memory.texi: Likewise.
29185 * manual/pattern.texi: Likewise.
29186 * manual/pipe.texi: Likewise.
29187 * manual/process.texi: Likewise.
29188 * manual/resource.texi: Likewise.
29189 (RUSAGE_CHILDREN): Remove statement about specifying a particular
29190 child on GNU/Hurd.
29191 * manual/setjmp.texi: Likewise.
29192 * manual/signal.texi: Likewise.
29193 * manual/startup.texi: Likewise.
29194 * manual/stdio.texi: Likewise.
29195 * manual/terminal.texi: Likewise.
29196 (ONLCR): Document as POSIX.
29197 (OXTABS): Document availability on GNU/Linux as XTABS.
29198 (ONOEOT): Document availability separately from other bits.
29199 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
29200 * manual/time.texi: Likewise.
29201 * manual/users.texi: Likewise.
29202 * INSTALL: Regenerated.
29203 * sysdeps/gnu/errlist.c: Regenerated.
29204
07037eeb
JM
29205 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
29206 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
29207 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
29208 puts.
29209 * configure: Regenerated.
29210
d1d3431a
JM
292112012-03-07 Joseph Myers <joseph@codesourcery.com>
29212
af6a1e37
JM
29213 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
29214 default includes instead of AC_HEADER_CHECK.
29215 * sysdeps/i386/configure: Regenerated.
29216
d1d3431a
JM
29217 [BZ #10716]
29218 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
29219 * math/s_cacoshf.c (__cacoshf): Likewise.
29220 * math/s_cacoshl.c (__cacoshl): Likewise.
29221 * math/s_casinh.c (__casinh): Set signs of result from argument.
29222 * math/s_casinhf.c (__casinhf): Likewise.
29223 * math/s_casinhl.c (__casinhl): Likewise.
29224 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
29225 (casinh_test): Add more tests.
29226 * sysdeps/i386/fpu/libm-test-ulps: Update.
29227 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29228
482ff4da
UD
292292012-03-07 Ulrich Drepper <drepper@gmail.com>
29230
872fda05
UD
29231 * po/zh_TW.po: Update from translation team.
29232
a4300c7a
UD
29233 * login/Makefile (distribute): Remove variable.
29234 * catgets/Makefile: Likewise.
29235 * mach/Makefile: Likewise.
29236 * malloc/Makefile: Likewise.
29237 * misc/Makefile: Likewise.
29238 * iconv/Makefile: Likewise.
29239 * nscd/Makefile: Likewise.
29240 * hurd/Makefile: Likewise.
29241 * manual/Makefile: Likewise.
29242 * locale/Makefile: Likewise.
29243 * intl/Makefile: Likewise.
29244 * conform/Makefile: Likewise.
29245 * nss/Makefile: Likewise.
29246 * time/Makefile: Likewise.
29247 * soft-fp/Makefile: Likewise.
29248 * dirent/Makefile: Likewise.
29249 * gmon/Makefile: Likewise.
29250 * po/Makefile: Likewise.
29251 * rt/Makefile: Likewise.
29252 * socket/Makefile: Likewise.
29253 * math/Makefile: Likewise.
29254 * signal/Makefile: Likewise.
29255 * debug/Makefile: Likewise.
29256 * elf/Makefile: Likewise.
29257 * timezone/Makefile: Likewise.
29258 * stdlib/Makefile: Likewise.
29259 * iconvdata/Makefile: Likewise.
29260 * sunrpc/Makefile: Likewise.
29261 * io/Makefile: Likewise.
29262 * argp/Makefile: Likewise.
29263 * inet/Makefile: Likewise.
29264 * hesiod/Makefile: Likewise.
29265 * grp/Makefile: Likewise.
29266 * csu/Makefile: Likewise.
29267 * wctype/Makefile: Likewise.
29268 * crypt/Makefile: Likewise.
29269 * libio/Makefile: Likewise.
29270 * string/Makefile: Likewise.
29271 * nis/Makefile: Likewise.
29272 * resolv/Makefile: Likewise.
29273 * stdio-common/Makefile: Likewise.
29274 * wcsmbs/Makefile: Likewise.
29275 * dlfcn/Makefile: Likewise.
29276 * posix/Makefile: Likewise.
29277
3b7c4e74 29278 [BZ #6959]
482ff4da
UD
29279 * timezone/Makefile: Don't install timezone files, just the programs
29280 and scripts.
29281
f72ed77d
UD
292822012-03-06 Ulrich Drepper <drepper@gmail.com>
29283
a000466f
UD
29284 * nss/databases.def: Add missing gshadow entry.
29285
f72ed77d
UD
29286 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
29287
a53b7a4e
MP
292882012-03-06 Marek Polacek <polacek@redhat.com>
29289
29290 [BZ #13726]
29291 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
29292 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
29293 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
29294 * stdio-common/tst-long-dbl-fphex.c: New file.
29295
e9258400
DM
292962012-03-06 David S. Miller <davem@davemloft.net>
29297
29298 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29299 (set_obp_int): New function.
29300 (get_obp_int): New function.
29301 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
29302 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
29303 Avoid unused variable warnings on 'val' and use builtin_expect.
29304 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
29305 __builtin_expect.
e9258400
DM
29306 (INLINE_CLONE_SYSCALL): Likewise.
29307
3bd2c723
DM
293082012-03-05 David S. Miller <davem@davemloft.net>
29309
29310 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29311
bbb78d03
AS
293122012-03-05 Andreas Schwab <schwab@linux-m68k.org>
29313
884c5db4
AS
29314 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29315
bbb78d03
AS
29316 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
29317 only for |x| >= 40.
29318 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29319
1c9f702a 293202012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
29321
29322 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
29323 Replace gettimeofday with __vdso_gettimeofday.
29324
7be16f82
RM
29325 * sysdeps/unix/sysv/linux/x86_64/init-first.c
29326 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
29327 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
29328
29329 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
29330 time with __vdso_time.
29331
ed58a00f
JM
293322012-03-05 Joseph Myers <joseph@codesourcery.com>
29333
29334 * manual/lang.texi (size_t): Note types to which size_t may be
29335 equivalent with the GNU C Library, but do not describe when
29336 differences between them are significant.
29337
30ee4ced
AJ
293382012-03-05 Andreas Jaeger <aj@suse.de>
29339
29340 * sysdeps/i386/fpu/libm-test-ulps: Update.
29341
b7cd39e8
JM
293422012-03-05 Joseph Myers <joseph@codesourcery.com>
29343
29344 [BZ #3976]
29345 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
29346 (__ieee754_pow): Save and restore rounding mode and use
29347 round-to-nearest for main computations.
29348 * math/libm-test.inc (pow_test_tonearest): New function.
29349 (pow_test_towardzero): Likewise.
29350 (pow_test_downward): Likewise.
29351 (pow_test_upward): Likewise.
29352 (main): Call the new functions.
29353 * sysdeps/i386/fpu/libm-test-ulps: Update.
29354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
29355
29356 [BZ #3976]
29357 * math/libm-test.inc (cosh_test_tonearest): New function.
29358 (cosh_test_towardzero): Likewise.
29359 (cosh_test_downward): Likewise.
29360 (cosh_test_upward): Likewise.
29361 (sinh_test_tonearest): Likewise.
29362 (sinh_test_towardzero): Likewise.
29363 (sinh_test_downward): Likewise.
29364 (sinh_test_upward): Likewise.
29365 (main): Call the new functions.
29366 * sysdeps/i386/fpu/libm-test-ulps: Update.
29367 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29368
6c6a98c9
TV
293692012-03-05 Tom de Vries <tom@codesourcery.com>
29370
29371 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
29372 default stack guard is set in last bytes.
29373 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
29374
21bb2d2e 293752012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 29376
21bb2d2e 29377 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 29378
21bb2d2e
AJ
29379 [BZ #13656]
29380 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
29381 possibly allocate from heap instead of stack.
29382 * stdio-common/bug-vfprintf-nargs.c: New file.
29383 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 29384
c6922934
AS
293852012-03-03 Andreas Schwab <schwab@linux-m68k.org>
29386
29387 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29388
bc957d53
MP
293892012-03-03 Marek Polacek <polacek@redhat.com>
29390
29391 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
29392 * math/math_private.h: Likewise.
29393 * stdlib/tst-strtod.c: Likewise.
29394 * sysdeps/i386/i486/bits/atomic.h: Likewise.
29395 * sysdeps/x86_64/bits/atomic.h: Likewise.
29396
6358490d
DM
293972012-03-02 David S. Miller <davem@davemloft.net>
29398
29399 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
29400 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
29401 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
29402 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
29403 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
29404 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
29405 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
29406 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
29407
01ae168d
RM
294082012-03-02 Roland McGrath <roland@hack.frob.com>
29409
d9a17c07
RM
29410 [BZ #13792]
29411 * manual/examples/README: New file, says the example source files
29412 can be used under GPL>=2.
29413 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
29414 line containing just "*/".
29415 * manual/examples/add.c: Add copyright header (GPL>=2).
29416 * manual/examples/argp-ex1.c: Likewise.
29417 * manual/examples/argp-ex2.c: Likewise.
29418 * manual/examples/argp-ex3.c: Likewise.
29419 * manual/examples/argp-ex4.c: Likewise.
29420 * manual/examples/atexit.c: Likewise.
29421 * manual/examples/db.c: Likewise.
29422 * manual/examples/dir.c: Likewise.
29423 * manual/examples/dir2.c: Likewise.
29424 * manual/examples/execinfo.c: Likewise.
29425 * manual/examples/filecli.c: Likewise.
29426 * manual/examples/filesrv.c: Likewise.
29427 * manual/examples/fmtmsgexpl.c: Likewise.
29428 * manual/examples/genpass.c: Likewise.
29429 * manual/examples/inetcli.c: Likewise.
29430 * manual/examples/inetsrv.c: Likewise.
29431 * manual/examples/isockad.c: Likewise.
29432 * manual/examples/longopt.c: Likewise.
29433 * manual/examples/memopen.c: Likewise.
29434 * manual/examples/memstrm.c: Likewise.
29435 * manual/examples/mkfsock.c: Likewise.
29436 * manual/examples/mkisock.c: Likewise.
29437 * manual/examples/mygetpass.c: Likewise.
29438 * manual/examples/pipe.c: Likewise.
29439 * manual/examples/popen.c: Likewise.
29440 * manual/examples/rprintf.c: Likewise.
29441 * manual/examples/search.c: Likewise.
29442 * manual/examples/select.c: Likewise.
29443 * manual/examples/setjmp.c: Likewise.
29444 * manual/examples/sigh1.c: Likewise.
29445 * manual/examples/sigusr.c: Likewise.
29446 * manual/examples/stpcpy.c: Likewise.
29447 * manual/examples/strdupa.c: Likewise.
29448 * manual/examples/strftim.c: Likewise.
29449 * manual/examples/strncat.c: Likewise.
29450 * manual/examples/subopt.c: Likewise.
29451 * manual/examples/swapcontext.c: Likewise.
29452 * manual/examples/termios.c: Likewise.
29453 * manual/examples/testopt.c: Likewise.
29454 * manual/examples/testpass.c: Likewise.
29455 * manual/examples/timeval_subtract.c: Likewise.
29456
01ae168d
RM
29457 [BZ #13792]
29458 * manual/time.texi (Elapsed Time): Move timeval_subtract example
29459 function to ...
29460 * manual/timeval_subtract.c.texi: ... here, new file.
29461
49efa33d
DM
294622012-03-02 David S. Miller <davem@davemloft.net>
29463
29464 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
29465
28afd92d
JM
294662012-03-02 Joseph Myers <joseph@codesourcery.com>
29467
804360ed
JM
29468 [BZ #3976]
29469 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
29470 (__sin): Save and restore rounding mode and use round-to-nearest
29471 for all computations.
29472 (__cos): Save and restore rounding mode and use round-to-nearest
29473 for all computations.
29474 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
29475 <fenv.h>.
29476 (tan): Save and restore rounding mode and use round-to-nearest for
29477 all computations.
29478 * math/libm-test.inc (cos_test_tonearest): New function.
29479 (cos_test_towardzero): Likewise.
29480 (cos_test_downward): Likewise.
29481 (cos_test_upward): Likewise.
29482 (sin_test_tonearest): Likewise.
29483 (sin_test_towardzero): Likewise.
29484 (sin_test_downward): Likewise.
29485 (sin_test_upward): Likewise.
29486 (tan_test_tonearest): Likewise.
29487 (tan_test_towardzero): Likewise.
29488 (tan_test_downward): Likewise.
29489 (tan_test_upward): Likewise.
29490 (main): Call the new functions.
29491 * sysdeps/i386/fpu/libm-test-ulps: Update.
29492 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29493
a6d06d7b
JM
29494 [BZ #10135]
29495 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
29496 small n, then large n, before computing and testing k+n.
29497 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
29498 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
29499 Likewise.
29500 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
29501 Likewise.
29502 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
29503 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
29504 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
29505 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
29506 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
29507 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
29508 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
29509 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
29510 * math/libm-test.inc (scalbn_test): Add more tests.
29511 (scalbln_test): Likewise.
29512
07e12bb3
JM
29513 * manual/filesys.texi (mode_t): Describe constraints on size and
29514 signedness, not exact equivalence to a particular type.
29515 (ino_t): Likewise.
29516 (ino64_t): Likewise.
29517 (dev_t): Likewise.
29518 (nlink_t): Likewise.
29519 (blkcnt_t): Likewise.
29520 (blkcnt64_t): Likewise.
29521 * manual/llio.texi (off_t): Likewise.
29522
28afd92d
JM
29523 [BZ #3976]
29524 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
29525 (__ieee754_exp): Save and restore rounding mode and use
29526 round-to-nearest for all computations.
29527 * math/libm-test.inc (exp_test_tonearest): New function.
29528 (exp_test_towardzero): Likewise.
29529 (exp_test_downward): Likewise.
29530 (exp_test_upward): Likewise.
29531 (main): Call the new functions.
29532 * sysdeps/i386/fpu/libm-test-ulps: Update.
29533 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29534
b1eeb65d
CD
295352012-03-01 Chris Demetriou <cgd@google.com>
29536
29537 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
29538 have predictable order.
29539
53362a4b
DM
295402012-03-01 David S. Miller <davem@davemloft.net>
29541
3c969083
DM
29542 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
29543
759707de
DM
29544 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
29545 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
29546 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
29547 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
29548
dfdb8ff2
DM
29549 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
29550 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
29551 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
29552 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
29553 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
29554 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
29555 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
29556 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
29557 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
29558
ead89f96
DM
29559 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29560
7f66bd07
DM
29561 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
29562 * sysdeps/sparc/fpu/libm-test-ulps: to here.
29563 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
29564
53362a4b
DM
29565 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
29566 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29567 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29568 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
29569 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
29570 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
29571 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
29572 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29573 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29574 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
29575 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
29576 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29577 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29578 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29579 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29580 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29581 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
29582 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
29583 * sysdeps/sparc/elf/configure: Regenerated.
29584
7b1902cb
JM
295852012-03-01 Joseph Myers <joseph@codesourcery.com>
29586
bec039bc
JM
29587 * configure.in (AS, LD): Require binutils 2.20 or later.
29588 * configure: Regenerated.
29589 * manual/install.texi (Tools for Compilation): Give binutils 2.20
29590 as required minimum version.
29591 * INSTALL: Regenerated.
29592
7b1902cb
JM
29593 [BZ #2541]
29594 [BZ #4108]
29595 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
29596 before squaring exponent.
29597 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
29598 bottom long double and 27 bits of top long double before squaring
29599 exponent.
29600 * math/libm-test.inc (erfc_test): Add more tests.
29601 * sysdeps/i386/fpu/libm-test-ulps: Update.
29602 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29603 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29604
f775c276
KT
296052012-03-01 Kai Tietz <ktietz@redhat.com>
29606
29607 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
29608 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
29609 containing bit-fields.
29610 * soft-fp/extended.h (_FP_UNION_E): Likewise.
29611 * soft-fp/single.h (_FP_UNION_S): Likewise.
29612 * soft-fp/double.h (_FP_UNION_D): Likewise.
29613
5b8a4d4a
JM
296142012-02-29 Joseph Myers <joseph@codesourcery.com>
29615
0bab47b6
JM
29616 [BZ #13786]
29617 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
29618 not include ../strcmp.S.
29619 [USE_AS_STRNCASECMP_L]: Likewise.
29620 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
29621 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
29622 * sysdeps/i386/i686/multiarch/strncase_l-c.c
29623 (__strncasecmp_l_ia32): Define as alias to
29624 __strncasecmp_l_nonascii.
29625
0fcad3e2
JM
29626 [BZ #5794]
29627 * math/libm-test.inc (expm1_test): Add test for bug 5794.
29628 * sysdeps/i386/fpu/libm-test-ulps: Update.
29629 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29630
5b8a4d4a
JM
29631 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
29632 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29633
8fdceb2e
JL
296342012-02-29 Jeff Law <law@redhat.com>
29635
29636 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
29637 out of bounds read.
29638
1f393a11
MP
296392012-02-29 Marek Polacek <polacek@redhat.com>
29640
29641 [BZ #13706]
29642 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
29643 * elf/Makefile: Add rules to run tst-unused-dep.out.
29644
8847f037
DM
296452012-02-28 David S. Miller <davem@davemloft.net>
29646
29647 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
29648 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
29649 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
29650 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
29651 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
29652 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
29653
169d7f11
JM
296542012-02-29 Joseph Myers <joseph@codesourcery.com>
29655
29656 * math/libm-test.inc (llround_test): Move one test from
29657 lround_test. Use TEST_f_L in moved test.
29658 (lround_test): Move misplaced test to llround_test. Add testcase
29659 from bug 2561.
29660
39adf059
UD
296612012-02-28 Ulrich Drepper <drepper@gmail.com>
29662
29663 * sysdeps/x86_64/fpu/e_expf.S: New file.
29664 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
29665
71b5d1c5
SB
296662012-02-28 Stanislav Brabec <sbrabec@suse.cz>
29667
29668 [BZ #13637]
29669 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
29670 of remain_len that may cause incomplete multi-byte character and
29671 false match.
29672 * posix/bug-regex33.c: New file.
29673 * posix/Makefile (tests): Add bug-regex33.
29674
1f77f049
JM
296752012-02-28 Joseph Myers <joseph@codesourcery.com>
29676
29677 * manual/macros.texi: New file.
29678 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
29679 * manual/libc.texinfo: Include macros.texi.
29680 * manual/creatute.texi: Likewise.
29681 * manual/install.texi: Likewise.
29682 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
29683 @glibcadj{} in references to the GNU C Library.
29684 * manual/charset.texi: Likewise.
29685 * manual/conf.texi: Likewise.
29686 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
29687 when not using those macros.
29688 * manual/creature.texi: Likewise.
29689 * manual/crypt.texi: Likewise.
29690 * manual/errno.texi: Likewise.
29691 * manual/filesys.texi: Likewise.
29692 * manual/header.texi: Likewise.
29693 * manual/install.texi: Likewise.
29694 * manual/intro.texi: Likewise.
29695 * manual/io.texi: Likewise.
29696 * manual/job.texi: Likewise.
29697 * manual/lang.texi: Likewise.
29698 * manual/libc.texiinfo: Likewise.
29699 * manual/llio.texi: Likewise.
29700 * manual/locale.texi: Likewise.
29701 * manual/maint.texi: Likewise.
29702 * manual/math.texi: Likewise.
29703 * manual/memory.texi: Likewise.
29704 * manual/message.texi: Likewise.
29705 * manual/nss.texi: Likewise.
29706 * manual/pattern.texi: Likewise.
29707 * manual/process.texi: Likewise.
29708 * manual/resource.texi: Likewise.
29709 * manual/search.texi: Likewise.
29710 * manual/setjmp.texi: Likewise.
29711 * manual/signal.texi: Likewise.
29712 * manual/socket.texi: Likewise.
29713 * manual/startup.texi: Likewise.
29714 * manual/stdio.texi: Likewise.
29715 * manual/string.texi: Likewise.
29716 * manual/sysinfo.texi: Likewise.
29717 * manual/syslog.texi: Likewise.
29718 * manual/terminal.texi: Likewise.
29719 * manual/time.texi: Likewise.
29720 * manual/users.texi: Likewise.
29721 * INSTALL: Regenerated.
29722 * NOTES: Regenerated.
d40c5d54 29723 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 29724
450bf206
AS
297252012-02-28 Andreas Schwab <schwab@linux-m68k.org>
29726
29727 * include/dirent.h: Include <dirstream.h> before
29728 <dirent/dirent.h>.
29729
741a235b
DM
297302012-02-28 David S. Miller <davem@davemloft.net>
29731
29732 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
29733 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
29734 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
29735 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
29736
d6b5aa58
DM
297372012-02-27 David S. Miller <davem@davemloft.net>
29738
1aff59a3
DM
29739 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
29740 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
29741 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
29742 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
29743
d6b5aa58
DM
29744 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
29745 frame pointer instead of stack pointer relative arg slot.
29746 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29747 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29748 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29749
433f48bf
CD
297502012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
29751
29752 [BZ #3992]
29753 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
29754
d674b76d
DM
297552012-02-27 David S. Miller <davem@davemloft.net>
29756
29757 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
29758 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29759 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
29760 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
29761 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29762 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29763 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
29764 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
29765
0e7727f7
JM
297662012-02-27 Joseph Myers <joseph@codesourcery.com>
29767
29768 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
29769 later. Allow versions 5-9.
43be4ca2 29770 * configure: Regenerated.
0e7727f7
JM
29771 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
29772 required minimum version and 4.6 as recommended version. Do not
29773 mention bugs in GCC 2.7 and 2.8.
43be4ca2 29774 * INSTALL: Regenerated.
0e7727f7 29775
a78bc654
DM
297762012-02-27 David S. Miller <davem@davemloft.net>
29777
428d5830
DM
29778 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
29779 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
29780 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
29781 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
29782 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
29783 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
29784 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
29785 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
29786
a78bc654
DM
29787 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
29788 manipulate bits before adding and subtracting TWO112[sx].
29789 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
29790
4579f81c
RM
297912012-02-27 Roland McGrath <roland@hack.frob.com>
29792
36c8acb4
RM
29793 [BZ #13775]
29794 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
29795 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
29796 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
29797 being in POSIX, because they are in 1003.1-2008.
29798
84ad622b
RM
29799 * rt/tst-aio.c: Include <fcntl.h>.
29800 * rt/tst-aio7.c: Likewise.
29801 * rt/tst-aio64.c: Likewise.
29802
4579f81c
RM
29803 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
29804
abd923db
JM
298052012-02-27 Joseph Myers <joseph@codesourcery.com>
29806
29807 * manual/install.texi (--with-headers): Describe headers as
29808 interface headers, not private headers.
29809 (Specific advice for GNU/Linux systems): Describe use of headers
29810 from "make headers_install", not private headers from older
29811 kernels.
43be4ca2 29812 * INSTALL: Regenerated.
abd923db
JM
29813 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
29814 Change to 2.6.19.
29815 * sysdeps/unix/sysv/linux/configure: Regenerated.
29816
6664049b
JM
29817 * manual/llio.texi (fclean): Remove documentation.
29818
bb8b6697
JM
29819 * manual/Makefile (libc-texi-generated): New variable. Include
29820 version.texi.
29821 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
29822 $(libc-texi-generated), not duplicated list of files.
29823 (version.texi, stamp-version): New rules.
29824 (realclean): Remove $(libc-texi-generated), not individual files
29825 from that list. Do not remove dir-add.texinfo.
29826 * manual/libc.texinfo: Comment out uses of edition numbers and
29827 references to printed manual. Remove last-updated dates.
29828 (EDITION): Comment out.
29829 (ISBN): Likewise.
29830 (VERSION, UPDATED): Remove.
29831 (version.texi): Include.
29832
12e5c3b9
AS
298332012-02-27 Andreas Schwab <schwab@linux-m68k.org>
29834
29835 * sysdeps/posix/spawni.c: Include <signal.h>.
29836 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
29837 * sysdeps/pthread/aio_fsync.c: Likewise.
29838
4efeffc1 298392012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 29840
ba63ba08
UD
29841 * conform/Makefile (tests): Run only when not cross-compiling and
29842 when fast-check is not defined.
29843
d94a4670
UD
29844 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
29845 * conform/data/limits.h-data: Fixes for POSIX2008.
29846 * conform/run-conformtest.sh: Run all tests.
29847 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
29848 headers.
29849 * include/bits/dlfcn.h: Likewise.
29850 * include/langinfo.h: Likewise.
29851 * include/monetary.h: Likewise.
29852 * include/sys/poll.h: Likewise.
29853
29854 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
29855 for __USE_GNU.
29856 * posix/spawn.h: Define __need_sigset_t.
29857 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
29858 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
29859 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
29860 to get sigevent_t only.
29861 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
29862 only for __USE_GNU.
29863 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29864 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
29865 process_vm_writev only for __USE_GNU.
29866 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
29867
29868 * conform/Makefile: For now ignore errors from run-conformtest.
29869 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
29870 POSIX to avoid namespace pollution. Don't prepend headers.
29871 * conform/data/aio.h-data: Fixes for POSIX testing.
29872 * conform/data/fcntl.h-data: Likewise.
29873 * conform/data/glob.h-data: Likewise.
29874 * conform/data/grp.h-data: Likewise.
29875 * conform/data/pthread.h-data: Likewise.
29876 * conform/data/pwd.h-data: Likewise.
29877 * conform/data/signal.h-data: Likewise.
29878 * conform/data/spawn.h-data: Likewise.
29879 * conform/data/stdio.h-data: Likewise.
29880 * conform/data/stdlib.h-data: Likewise.
29881 * conform/data/stropts.h-data: Likewise.
29882 * conform/data/sys/mman.h-data: Likewise.
29883 * conform/data/sys/stat.h-data: Likewise.
29884 * conform/data/sys/types.h-data: Likewise.
29885 * conform/data/sys/wait.h-data: Likewise.
29886 * conform/data/time.h-data: Likewise.
29887 * conform/data/unistd.h-data: Likewise.
29888 * conform/data/utime.h-data: Likewise.
29889
29890 * io/sys/stat.h: fchmod was always in POSIX.
29891 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
29892 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
29893 * rt/aio.h: Define __need_timespec before including <time.h>.
29894 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
29895 struct. Add forward declaration of pthread_attr_t and use it in
29896 sigevent.
29897 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
29898 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29899 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
29900 always remove CLK_TCK definition.
29901
c20105c3
AS
299022012-02-26 Andreas Schwab <schwab@linux-m68k.org>
29903
29904 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
29905
7a270350
UD
299062012-02-25 Ulrich Drepper <drepper@gmail.com>
29907
31341567
UD
29908 * conform/run-conformtest.sh: New file.
29909 * conform/Makefile: Run run-conformtest for tests.
29910 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
29911 support.
29912
29913 * conform/data/uchar.h-data: New file.
29914 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
29915 * conform/data/arpa/inet.h-data: Likewise.
29916 * conform/data/assert.h-data: Likewise.
29917 * conform/data/complex.h-data: Likewise.
29918 * conform/data/cpio.h-data: Likewise.
29919 * conform/data/ctype.h-data: Likewise.
29920 * conform/data/dirent.h-data: Likewise.
29921 * conform/data/dlfcn.h-data: Likewise.
29922 * conform/data/errno.h-data: Likewise.
29923 * conform/data/fcntl.h-data: Likewise.
29924 * conform/data/float.h-data: Likewise.
29925 * conform/data/fmtmsg.h-data: Likewise.
29926 * conform/data/fnmatch.h-data: Likewise.
29927 * conform/data/ftw.h-data: Likewise.
29928 * conform/data/glob.h-data: Likewise.
29929 * conform/data/grp.h-data: Likewise.
29930 * conform/data/iconv.h-data: Likewise.
29931 * conform/data/inttypes.h-data: Likewise.
29932 * conform/data/langinfo.h-data: Likewise.
29933 * conform/data/libgen.h-data: Likewise.
29934 * conform/data/limits.h-data: Likewise.
29935 * conform/data/locale.h-data: Likewise.
29936 * conform/data/math.h-data: Likewise.
29937 * conform/data/monetary.h-data: Likewise.
29938 * conform/data/mqueue.h-data: Likewise.
29939 * conform/data/ndbm.h-data: Likewise.
29940 * conform/data/net/if.h-data: Likewise.
29941 * conform/data/netdb.h-data: Likewise.
29942 * conform/data/netinet/in.h-data: Likewise.
29943 * conform/data/nl_types.h-data: Likewise.
29944 * conform/data/poll.h-data: Likewise.
29945 * conform/data/pthread.h-data: Likewise.
29946 * conform/data/pwd.h-data: Likewise.
29947 * conform/data/regex.h-data: Likewise.
29948 * conform/data/sched.h-data: Likewise.
29949 * conform/data/search.h-data: Likewise.
29950 * conform/data/semaphore.h-data: Likewise.
29951 * conform/data/setjmp.h-data: Likewise.
29952 * conform/data/signal.h-data: Likewise.
29953 * conform/data/spawn.h-data: Likewise.
29954 * conform/data/stdarg.h-data: Likewise.
29955 * conform/data/stdio.h-data: Likewise.
29956 * conform/data/stdlib.h-data: Likewise.
29957 * conform/data/string.h-data: Likewise.
29958 * conform/data/strings.h-data: Likewise.
29959 * conform/data/stropts.h-data: Likewise.
29960 * conform/data/sys/ipc.h-data: Likewise.
29961 * conform/data/sys/mman.h-data: Likewise.
29962 * conform/data/sys/msg.h-data: Likewise.
29963 * conform/data/sys/resource.h-data: Likewise.
29964 * conform/data/sys/select.h-data: Likewise.
29965 * conform/data/sys/sem.h-data: Likewise.
29966 * conform/data/sys/shm.h-data: Likewise.
29967 * conform/data/sys/socket.h-data: Likewise.
29968 * conform/data/sys/stat.h-data: Likewise.
29969 * conform/data/sys/statvfs.h-data: Likewise.
29970 * conform/data/sys/time.h-data: Likewise.
29971 * conform/data/sys/timeb.h-data: Likewise.
29972 * conform/data/sys/times.h-data: Likewise.
29973 * conform/data/sys/types.h-data: Likewise.
29974 * conform/data/sys/uio.h-data: Likewise.
29975 * conform/data/sys/un.h-data: Likewise.
29976 * conform/data/sys/utsname.h-data: Likewise.
29977 * conform/data/sys/wait.h-data: Likewise.
29978 * conform/data/syslog.h-data: Likewise.
29979 * conform/data/tar.h-data: Likewise.
29980 * conform/data/termios.h-data: Likewise.
29981 * conform/data/utime.h-data: Likewise.
29982 * conform/data/utmpx.h-data: Likewise.
29983 * conform/data/varargs.h-data: Likewise.
29984 * conform/data/wchar.h-data: Likewise.
29985 * conform/data/wctype.h-data: Likewise.
29986 * conform/data/wordexp.h-data: Likewise.
29987
29988 * include/stropts.h: New file.
29989 * include/uchar.h: New file.
29990 * include/aio.h: Changes to allow conformtest.pl to use the headers.
29991 * include/assert.h: Likewise.
29992 * include/ctype.h: Likewise.
29993 * include/dirent.h: Likewise.
29994 * include/dlfcn.h: Likewise.
29995 * include/fcntl.h: Likewise.
29996 * include/fnmatch.h: Likewise.
29997 * include/glob.h: Likewise.
29998 * include/grp.h: Likewise.
29999 * include/libio.h: Likewise.
30000 * include/locale.h: Likewise.
30001 * include/math.h: Likewise.
30002 * include/net/if.h: Likewise.
30003 * include/netdb.h: Likewise.
30004 * include/netinet/in.h: Likewise.
30005 * include/pthread.h: Likewise.
30006 * include/pwd.h: Likewise.
30007 * include/regex.h: Likewise.
30008 * include/sched.h: Likewise.
30009 * include/search.h: Likewise.
30010 * include/setjmp.h: Likewise.
30011 * include/signal.h: Likewise.
30012 * include/stdio.h: Likewise.
30013 * include/stdlib.h: Likewise.
30014 * include/string.h: Likewise.
30015 * include/sys/cdefs.h: Likewise.
30016 * include/sys/mman.h: Likewise.
30017 * include/sys/msg.h: Likewise.
30018 * include/sys/resource.h: Likewise.
30019 * include/sys/select.h: Likewise.
30020 * include/sys/socket.h: Likewise.
30021 * include/sys/stat.h: Likewise.
30022 * include/sys/statvfs.h: Likewise.
30023 * include/sys/time.h: Likewise.
30024 * include/sys/times.h: Likewise.
30025 * include/sys/uio.h: Likewise.
30026 * include/sys/utsname.h: Likewise.
30027 * include/sys/wait.h: Likewise.
30028 * include/termios.h: Likewise.
30029 * include/time.h: Likewise.
30030 * include/ulimit.h: Likewise.
30031 * include/unistd.h: Likewise.
30032 * include/utime.h: Likewise.
30033 * include/wchar.h: Likewise.
30034 * include/wctype.h: Likewise.
30035 * include/wordexp.h: Likewise.
30036
30037 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
30038
7a270350
UD
30039 * time/time.h: TIME_UTC must be a macro.
30040 Make timespec_get available for ISO C11 only as well.
30041
7724defc
UD
300422012-02-24 Ulrich Drepper <drepper@gmail.com>
30043
30044 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
30045 Reported by Peng Haitao <penght@cn.fujitsu.com>.
30046
6b1d1d46
JM
300472012-02-24 Joseph Myers <joseph@codesourcery.com>
30048
30049 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 30050
0f8bbd69
JM
300512012-02-24 Joseph Myers <joseph@codesourcery.com>
30052
30053 * manual/texinfo.tex: Update to version 2012-01-19.16.
30054
66ab80bc
JM
300552012-02-24 Joseph Myers <joseph@codesourcery.com>
30056
30057 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
30058
74981cc5
RM
300592012-02-24 Roland McGrath <roland@hack.frob.com>
30060
ee968201
RM
30061 [BZ #13738]
30062 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
30063 * manual/fdl-1.3.texi: New file.
30064 * manual/fdl-1.1.texi: File removed.
30065
74981cc5
RM
30066 [BZ #13738]
30067 * manual/libc.texinfo (FDL_VERSION): New @set.
30068 Use it for mention of FDL in cover text.
30069 (Documentation License): Use it in @include file name.
30070
7bb764bc
JM
300712012-02-22 Joseph Myers <joseph@codesourcery.com>
30072 Roland McGrath <roland@hack.frob.com>
30073
30074 [BZ #5461]
30075 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
30076 not LONG_LONG_MAX and LONG_LONG_MIN.
30077 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
30078 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
30079 name.
30080 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
30081
6cbeae47
JM
300822012-02-22 Joseph Myers <joseph@codesourcery.com>
30083
30084 [BZ #2547]
30085 [BZ #11365]
30086 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
30087 manipulate bits before adding and subtracting TWO23[sx].
30088 * math/libm-test.inc (nearbyint_test): Add more tests.
30089
fe45ce09
JM
300902012-02-22 Joseph Myers <joseph@codesourcery.com>
30091
30092 [BZ #2548]
30093 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
30094 bits before adding and subtracting TWO23[sx].
30095 * math/libm-test.inc (rint_test): Add more tests.
30096 (rint_test_tonearest): Likewise.
30097 (rint_test_towardzero): Likewise.
30098 (rint_test_downward): Likewise.
30099 (rint_test_upward: Likewise.
30100
ff3b3d82
JM
301012012-02-22 Joseph Myers <joseph@codesourcery.com>
30102
30103 [BZ #10110]
30104 * include/stdc-predef.h: New file. Extracted from features.h.
30105 * include/features.h: Include stdc-predef.h.
30106 * Makefile (headers): Add stdc-predef.h.
30107 * CONFORMANCE (Compiler limitations): Update.
30108
ef0aab35
JM
301092012-02-22 Joseph Myers <joseph@codesourcery.com>
30110
30111 * manual/libc.texinfo (VERSION, UPDATED): Revert.
30112
58639409
DM
301132012-02-21 David S. Miller <davem@davemloft.net>
30114
30115 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
30116 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
30117
c0e70b25
DM
301182012-02-20 David S. Miller <davem@davemloft.net>
30119
30120 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
30121 using a normal save/restore sequence, rather than allocating a
30122 dummy stack frame just to store a frame pointer and restore.
30123 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30124
fb06851d
JM
301252012-02-21 Joseph Myers <joseph@codesourcery.com>
30126
30127 * manual/install.texi: Fix stray word in line-wrapped comment.
30128
7a8b71c3
DM
301292012-02-20 David S. Miller <davem@davemloft.net>
30130
d510c123
DM
30131 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
30132 both binutils and gcc support GOTDATA.
30133
0722d7c2
DM
30134 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
30135 "rd %pc" in the PIC register setup sequences.
30136
3d2b3019
DM
30137 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
30138 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
30139 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
30140 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
30141 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
30142 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
30143 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30144 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30145 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
30146 (SYSCALL_ERROR_HANDLER): Likewise.
30147 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
30148 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30149 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
30150 (SYSCALL_ERROR_HANDLER): Likewise.
30151
c80098a9
DM
30152 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
30153 (HAVE_GCC_GOTDATA): New.
30154 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
30155 relocation support in both binutils and gcc.
30156 * sysdeps/sparc/elf/configure: Regenerate.
30157
3a2545a0
DM
30158 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
30159 * sysdeps/sparc/sparc32/elf/configure: Delete.
30160 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
30161 * sysdeps/sparc/sparc64/elf/configure: Delete.
30162 * sysdeps/sparc/elf/configure.in: New file.
30163 * sysdeps/sparc/elf/configure: Generate.
30164
7a8b71c3
DM
30165 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
30166 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
30167 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
30168 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
30169 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
30170
f1e86fca
JM
301712012-02-21 Joseph Myers <joseph@codesourcery.com>
30172
30173 * manual/install.texi: Do not mention specific glibc version
30174 numbers.
30175 * manual/libc.texinfo (VERSION, UPDATED): Update.
30176 (@copying): Use @copyright{} and range of years.
30177
0e7dfaef
JM
301782012-02-21 Joseph Myers <joseph@codesourcery.com>
30179
30180 [BZ #13695]
30181 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
30182 [crti.S not in sysdirs] (generated): Do not append.
30183 [crti.S not in sysdirs] (omit-deps): Likewise.
30184 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
30185 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
30186 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
30187 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
30188 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
30189 Likewise.
30190 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
30191 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
30192 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
30193 * csu/defs.awk: Remove file.
30194 * sysdeps/generic/initfini.c: Likewise.
30195 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
30196 variable.
30197 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
30198 Likewise.
30199
599af3ca
JM
302002012-02-20 Joseph Myers <joseph@codesourcery.com>
30201
30202 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
30203 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
30204 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
30205 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
30206 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30207 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
30208 <bits/epoll.h>.
30209 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
30210 (__EPOLL_PACKED): Define to empty if not defined by
30211 <bits/epoll.h>.
30212 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
30213 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30214 bits/epoll.h.
30215
0e499750
JM
302162012-02-20 Joseph Myers <joseph@codesourcery.com>
30217
30218 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
30219 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
30220 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
30221 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
30222 <bits/timerfd.h>.
30223 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
30224 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30225 bits/timerfd.h.
30226
5ad91f6e
JM
302272012-02-20 Joseph Myers <joseph@codesourcery.com>
30228
30229 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
30230 in C locale.
30231 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30232 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
30233 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
30234 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30235
06b99b02
AJ
302362012-02-20 Aurelien Jarno <aurelien@aurel32.net>
30237
30238 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30239 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
30240
7638c0fd
AS
302412012-02-19 Andreas Schwab <schwab@linux-m68k.org>
30242
30243 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
30244 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
30245 defined.
30246 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
30247 Likewise.
30248 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
30249 entry for 2.16.
30250
92221550
AJ
302512012-02-19 Aurelien Jarno <aurelien@aurel32.net>
30252
30253 * math/w_acos.c: Use non-signaling floating-point comparisons.
30254 * math/w_acosf.c: Likewise.
30255 * math/w_acosh.c: Likewise.
30256 * math/w_acoshf.c: Likewise.
30257 * math/w_acoshl.c: Likewise.
30258 * math/w_acosl.c: Likewise.
30259 * math/w_asin.c: Likewise.
30260 * math/w_asinf.c: Likewise.
30261 * math/w_asinl.c: Likewise.
30262 * math/w_atanh.c: Likewise.
30263 * math/w_atanhf.c: Likewise.
30264 * math/w_atanhl.c: Likewise.
30265 * math/w_exp2.c: Likewise.
30266 * math/w_exp2f.c: Likewise.
30267 * math/w_exp2l.c: Likewise.
30268 * math/w_j0.c: Likewise.
30269 * math/w_j0f.c: Likewise.
30270 * math/w_j0l.c: Likewise.
30271 * math/w_j1.c: Likewise.
30272 * math/w_j1f.c: Likewise.
30273 * math/w_j1l.c: Likewise.
30274 * math/w_jn.c: Likewise.
30275 * math/w_jnf.c: Likewise.
30276 * math/w_log.c: Likewise.
30277 * math/w_log10.c: Likewise.
30278 * math/w_log10f.c: Likewise.
30279 * math/w_log10l.c: Likewise.
30280 * math/w_log2.c: Likewise.
30281 * math/w_log2f.c: Likewise.
30282 * math/w_log2l.c: Likewise.
30283 * math/w_logf.c: Likewise.
30284 * math/w_logl.c: Likewise.
30285 * math/w_sqrt.c: Likewise.
30286 * math/w_sqrtf.c: Likewise.
30287 * math/w_sqrtl.c: Likewise.
30288 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30289 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
30290 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30291 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
30292 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
30293
ebaf36eb
JM
302942012-02-19 Joseph Myers <joseph@codesourcery.com>
30295
30296 [BZ #9739]
30297 * manual/string.texi (strnlen): Use correct parameter name in
30298 equivalent expression.
30299
71c254a6
JM
303002012-02-19 Joseph Myers <joseph@codesourcery.com>
30301
30302 [BZ #11174]
30303 * manual/users.texi (seteuid): Consistently use neweuid for
30304 argument name.
30305
16d2c631
JM
303062012-02-19 Joseph Myers <joseph@codesourcery.com>
30307
30308 [BZ #13704]
30309 * manual/nss.texi (Services in the NSS configuration): Correct
30310 list of services in example configuration file.
30311
cd837b09
NB
303122012-02-19 Nick Bowler <nbowler@draconx.ca>
30313
30314 [BZ #11322]
30315 * manual/arith.texi: Remove statements about negative zero
30316 behaving identically to zero.
30317
02c4bbad
JM
303182012-02-18 Joseph Myers <joseph@codesourcery.com>
30319
30320 [BZ #5993]
30321 * manual/install.texi: Do not document upgrading from libc5.
30322
366842e7
JM
303232012-02-18 Joseph Myers <joseph@codesourcery.com>
30324
30325 [BZ #4596]
30326 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
30327
dd54084d
DM
303282012-02-18 David S. Miller <davem@davemloft.net>
30329
30330 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
30331 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
30332 %o7 across the call.
30333 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
30334 instead.
30335 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
30336 SETUP_PIC_REG_LEAF.
30337 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30338 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
30339 * sysdeps/sparc/crtn.S: Likewise.
30340
2bcc53a3
UD
303412012-02-17 Ulrich Drepper <drepper@gmail.com>
30342
30343 * aout/Makefile: Remove.
30344
09c093b5
RK
303452012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
30346
30347 [BZ #13058]
30348 * manual/examples/argp-ex1.c (main): Format definition in GNU
30349 style.
30350 * manual/examples/argp-ex2.c (main): Likewise.
30351 * manual/examples/argp-ex3.c (main): Likewise.
30352 * manual/examples/argp-ex4.c (main): Likewise.
30353 * manual/examples/longopt.c (main): Use new-style prototype
30354 definition.
30355 * manual/examples/strncat.c (main): Specify return type and use
30356 (void) for arguments.
30357 * manual/examples/subopt.c (main): Use char **argv argument.
30358
2ee633a2
JM
303592012-02-17 Joseph Myers <joseph@codesourcery.com>
30360
30361 [BZ #5077]
30362 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
30363 rounding modes.
30364
0520adde
FB
303652012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
30366
30367 [BZ #6907]
30368 * manual/string.texi (strchr): Change when strchrnul is
30369 recommended.
30370
3f4081cd
DGM
303712012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
30372
30373 [BZ #174]
30374 * manual/locale.texi (setlocale): Document LOCPATH.
30375
d1b10e78
JM
303762012-02-17 Joseph Myers <joseph@codesourcery.com>
30377
30378 [BZ #10210]
30379 * manual/process.texi (execle): Move @dots{} before last argument.
30380
79c6869c
PB
303812012-02-17 Paul Bolle <pebolle@tiscali.nl>
30382
30383 [BZ #12047]
30384 * manual/charset.texi (Generic Charset Conversion): Fix typo
30385 (LC_TYPE -> LC_CTYPE).
30386
cc6e48bc
NB
303872012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
30388
30389 [BZ #5805]
30390 * manual/arith.texi (scalbn): Use @var{} on parameter names.
30391 (scalbnf): Likewise.
30392 (scalbnl): Likewise.
30393 (scalbln): Likewise.
30394 (scalblnf): Likewise.
30395 (scalblnl): Likewise.
30396 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
30397 (vwarnx): Likewise.
30398 (verr): Likewise.
30399 (verrx): Likewise.
30400 * manual/filesys.texi (telldir): Use braces around return type.
30401 * manual/llio.texi (mmap): Add space after comma.
30402 (mmap64): Likewise.
30403 * manual/math.texi (jn): Use @var{} on parameter names.
30404 (jnf): Likewise.
30405 (jnl): Likewise.
30406 (yn): Likewise.
30407 (ynf): Likewise.
30408 (ynl): Likewise.
30409 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
30410 line.
30411 * manual/resource.texi (ulimit): Use @dots{} instead of literal
30412 "...".
30413 (sched_get_priority_min): Remove semicolon on @deftypefun line.
30414 (sched_get_priority_max): Likewise.
30415 * manual/signal.texi (sigvec): Add space after comma.
30416 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
30417 names.
30418 (if_indextoname): Likewise.
30419 (if_freenameindex): Likewise.
30420 (sendto): Use ',' instead of '.' in prototype.
30421 * manual/startup.texi (syscall): Use @dots{} instead of literal
30422 "...".
30423 * manual/stdio.texi (__fpending): Separate initial words of
30424 paragraph from @deftypefun line.
30425 * manual/syslog.texi (syslog): Use @dots{} instead of literal
30426 "...".
30427 (vsyslog): Use @var{} on parameter names.
30428 * manual/terminal.texi (stty): Use @var{} on parameter names.
30429 * manual/users.texi (getutmp): Use @var{} on parameter names.
30430 (getutmpx): Likewise.
30431
5b23062f
JM
304322012-02-17 Joseph Myers <joseph@codesourcery.com>
30433
30434 [BZ #6884]
30435 * manual/stdio.texi (fopen): Fix typos in description of
30436 ",ccs=STRING".
30437
8dee4833
AJ
304382012-02-17 Aurelien Jarno <aurelien@aurel32.net>
30439
30440 [BZ #4026]
30441 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
30442 get clock_id definition.
30443
9078ce93
TS
304442012-02-17 Thomas Schwinge <thomas@schwinge.name>
30445
30446 [BZ #4822]
30447 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
30448 (madvise): Cast every argument to void on its own.
30449
3835c55f
JM
304502012-02-17 Joseph Myers <joseph@codesourcery.com>
30451
30452 [BZ #9902]
30453 * manual/startup.texi (Exit Status): Fix typo.
30454
35c47e37
JM
304552012-02-17 Joseph Myers <joseph@codesourcery.com>
30456
30457 [BZ #10140]
30458 * manual/examples/argp-ex1.c: Include <stdlib.h>.
30459 * manual/examples/argp-ex2.c: Likewise.
30460 * manual/examples/argp-ex3.c: Likewise.
30461
e3b69ca7
RH
304622012-02-16 Richard Henderson <rth@redhat.com>
30463
30464 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
30465 * sysdeps/s390/s390-32/initfini.c: Remove.
30466 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
30467 * sysdeps/s390/s390-64/initfini.c: Remove.
30468
df83af67
KK
304692012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30470
30471 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
30472 compiler output for sysdeps/generic/initfini.c.
30473 * sysdeps/sh/elf/initfini.c: Remove file.
30474
f63f3380
DM
304752012-02-16 David S. Miller <davem@davemloft.net>
30476
fb59b3a4
DM
30477 [BZ #11494]
30478 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
30479
f63f3380
DM
30480 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
30481 * sysdeps/sparc/crti.S: New file.
30482 * sysdeps/sparc/crtn.S: New file.
30483 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
30484 * sysdeps/sparc/sparc64/Makefile: Likewise.
30485
df6a4a4a
MF
304862012-02-15 Mike Frysinger <vapier@gentoo.org>
30487
6dd8f3dc 30488 [BZ #3335]
df6a4a4a
MF
30489 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
30490
1cac7236
RM
304912012-02-15 Roland McGrath <roland@hack.frob.com>
30492
d2c736f8
RM
30493 [BZ #4822]
30494 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
30495
1cac7236
RM
30496 * mach/devstream.c (cookie_io_functions_t): Macro removed.
30497 (write, read, close): Likewise.
30498 Patch by Aurelien Jarno <aurelien@aurel32.net>.
30499
8e475601
JM
305002012-02-15 Joseph Myers <joseph@codesourcery.com>
30501
30502 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
30503 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
30504 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
30505 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
30506 <bits/signalfd.h>.
30507 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
30508 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30509 bits/signalfd.h.
30510
ed656b40
MP
305112012-02-14 Marek Polacek <polacek@redhat.com>
30512
30513 * sysdeps/x86_64/crti.S: New file.
30514 * sysdeps/x86_64/crtn.S: New file.
30515 * sysdeps/x86_64/elf/initfini.c: Remove file.
30516
2a979d3a
JM
305172012-02-13 Joseph Myers <joseph@codesourcery.com>
30518
30519 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
30520 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
30521 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
30522 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
30523 <bits/inotify.h>.
30524 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
30525 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30526 bits/inotify.h.
30527
2a418ac3
JM
305282012-02-13 Joseph Myers <joseph@codesourcery.com>
30529
30530 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
30531 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
30532 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
30533 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
30534 <bits/eventfd.h>.
30535 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
30536 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30537 bits/eventfd.h.
30538
fb779be7
TS
305392012-02-10 Thomas Schwinge <thomas@codesourcery.com>
30540
e19e83c5
RM
30541 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
30542 __feraiseexcept instead of feraiseexcept.
7c35ffed 30543
fb779be7
TS
30544 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
30545 nanosleep invocations.
30546 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
30547 strings, and add error checking for a nanosleep invocations.
30548
59ba27a6
PE
305492012-02-09 Paul Eggert <eggert@cs.ucla.edu>
30550
30551 Replace FSF snail mail address with URLs, as per GNU coding standards.
30552 Most of the snail mail addresses were wrong anyway, and omitting
30553 them makes the source code easier to maintain. Almost all of the
30554 changes are to license notices and to locale LC_IDENTIFICATION
30555 addresses, except for this one:
30556 * manual/libc.texinfo: In "Published by", give the FSF's URL,
30557 not its snail mail address.
30558
57b957eb
RH
305592012-02-09 Richard Henderson <rth@twiddle.net>
30560
af850b1c
RH
30561 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
30562 of kernel-features.h.
30563
57b957eb
RH
30564 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
30565
6b73181a
MP
305662012-02-08 Marek Polacek <polacek@redhat.com>
30567
30568 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
30569 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
30570 * sysdeps/gnu/_G_config.h: Likewise.
30571 * sysdeps/generic/_G_config.h: Likewise.
30572
26ecc33a
AS
305732012-02-08 Andreas Schwab <schwab@linux-m68k.org>
30574
6c6dbc63
AS
30575 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
30576 tests.
30577 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30578
e216c012
AS
30579 * sysdeps/powerpc/powerpc32/crti.S: New file.
30580 * sysdeps/powerpc/powerpc32/crtn.S: New file.
30581 * sysdeps/powerpc/powerpc64/crti.S: New file.
30582 * sysdeps/powerpc/powerpc64/crtn.S: New file.
30583
26ecc33a
AS
30584 * Makeconfig (have-initfini): Don't set.
30585 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
30586 * configure.in (nopic_initfini): Don't substitute.
30587 * config.h.in (HAVE_INITFINI): Don't #undef.
30588 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
30589 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
30590
3add8e13
JM
305912012-02-08 Joseph Myers <joseph@codesourcery.com>
30592
30593 Support crti.S and crtn.S provided directly by architectures.
30594 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
30595 [crti.S in sysdirs] (omit-deps): Likewise.
30596 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
30597 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
30598 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
30599 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
30600 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
30601 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
30602 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
30603 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
30604 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
30605 compiler output for sysdeps/generic/initfini.c.
30606 * sysdeps/i386/elf/Makefile: Remove file.
30607 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
30608
a22f12b4
MP
306092012-02-07 Marek Polacek <polacek@redhat.com>
30610
30611 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
30612 * sysdeps/gnu/_G_config.h: Likewise.
30613 * sysdeps/mach/hurd/_G_config.h: Likewise.
30614
148cf100
MP
306152012-02-07 Marek Polacek <polacek@redhat.com>
30616
30617 * math/Makefile (tests): Add tst-CMPLX2.
30618 * math/tst-CMPLX2.c: New file.
30619
cfdc0dd7
AS
306202012-02-07 Andreas Schwab <schwab@linux-m68k.org>
30621
84ba42c4
AS
30622 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30623
cfdc0dd7
AS
30624 * math/libm-test.inc (jn_test): Add missing L suffix.
30625
622c86f4
MP
306262012-02-06 Marek Polacek <polacek@redhat.com>
30627
30628 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
30629 * sysdeps/i386/fpu/e_powf.S: Likewise.
30630 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30631 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
30632 * sysdeps/i386/fpu/e_acosh.S: Likewise.
30633 * sysdeps/i386/fpu/e_pow.S: Likewise.
30634 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30635 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30636 * sysdeps/i386/fpu/s_expm1.S: Likewise.
30637 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30638 * sysdeps/i386/fpu/e_log2.S: Likewise.
30639 * sysdeps/i386/fpu/e_log2l.S: Likewise.
30640 * sysdeps/i386/fpu/e_scalb.S: Likewise.
30641 * sysdeps/i386/fpu/e_powl.S: Likewise.
30642 * sysdeps/i386/fpu/s_log1p.S: Likewise.
30643 * sysdeps/i386/fpu/e_log10f.S: Likewise.
30644 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30645 * sysdeps/i386/fpu/e_logl.S: Likewise.
30646 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30647 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
30648 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30649 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30650 * sysdeps/i386/fpu/e_log2f.S: Likewise.
30651 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30652 * sysdeps/i386/fpu/e_log.S: Likewise.
30653 * sysdeps/i386/fpu/s_cexp.S: Likewise.
30654 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30655 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
30656 * sysdeps/i386/fpu/e_logf.S: Likewise.
30657 * sysdeps/i386/fpu/e_log10l.S: Likewise.
30658 * sysdeps/i386/fpu/e_atanh.S: Likewise.
30659 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
30660 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30661 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
30662 * sysdeps/i386/fpu/e_log10.S: Likewise.
30663 * sysdeps/i386/fpu/s_frexp.S: Likewise.
30664 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30665 * sysdeps/i386/fpu/s_asinh.S: Likewise.
30666 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30667 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30668 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30669 * sysdeps/i386/asm-syntax.h: Likewise.
30670 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30671 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30672 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30673 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
30674 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
30675 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30676 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30677 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30678 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30679 * sysdeps/powerpc/sysdep.h: Likewise.
30680 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
30681 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30682
d4a54ac6
JM
306832012-02-06 Joseph Myers <joseph@codesourcery.com>
30684
30685 [BZ #411]
30686 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
30687
314054ea
JM
306882012-02-06 Joseph Myers <joseph@codesourcery.com>
30689
30690 * sysdeps/i386/sysdep.h: Include <features.h>.
30691 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
30692 version.
30693
d8e0ca50
JM
306942012-02-05 Joseph Myers <joseph@codesourcery.com>
30695
30696 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
30697 Define.
30698 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
30699 LOAD_PIC_REG_STR.
30700
b1da7dd9
JM
307012012-02-03 Joseph Myers <joseph@codesourcery.com>
30702
30703 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
30704 (SETUP_PIC_REG): Use GET_PC_THUNK.
30705 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
30706 macro.
30707
9a1d9254
JM
307082012-02-03 Joseph Myers <joseph@codesourcery.com>
30709
30710 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
30711 for non-PIC compilation.
30712 (SETUP_PIC_REG): Add .p2align directive.
30713 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
30714 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
30715 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30716 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30717 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
30718 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30719 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
30720 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30721 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30722 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30723 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30724 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30725 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30726 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30727 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30728 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
30729 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
30730 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30731 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30732 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30733 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30734 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
30735 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30736 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30737 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
30738 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
30739 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30740 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
30741 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30742 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30743 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30744 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30745 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30746 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30747 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30748 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30749 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30750 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30751 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30752 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30753 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30754
65dc3b75
JM
307552012-02-03 Joseph Myers <joseph@codesourcery.com>
30756
30757 * math/tst-CMPLX.c: Include <stdio.h>.
30758
d55bf177
JM
307592012-01-31 Joseph Myers <joseph@codesourcery.com>
30760
30761 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
30762 float.
30763 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
30764 * sysdeps/sparc/bits/mathdef.h: Likewise.
30765
69db4f8f
MP
307662012-01-31 Marek Polacek <polacek@redhat.com>
30767
30768 * libio/libio.h: Don't define _PARAMS.
30769 * locale/programs/config.h: Don't define PARAMS.
30770 * stdlib/strtol_l.c: Likewise.
30771 (__strtol_l): Remove PARAMS from the prototype.
30772
41b81892
UD
307732012-01-31 Ulrich Drepper <drepper@gmail.com>
30774
3b49edc0
UD
30775 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
30776 names. Just use the correct names. Remove unnecessary wrapper
30777 functions.
30778 * malloc/arena.c: Likewise.
30779 * malloc/hooks.c: Likewise.
30780
41b81892
UD
30781 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
30782 ARENA_TEST says not to. Simplify test for creation of a new arena.
30783 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
30784
27a25b6e
UD
307852012-01-30 Ulrich Drepper <drepper@gmail.com>
30786
30787 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
30788 into tail calls.
30789 (update_get_addr): New function.
30790 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
30791 GET_ADDR_MODULE parameter.
30792
c8a89e7d
JM
307932012-01-30 Joseph Myers <joseph@codesourcery.com>
30794
30795 * crypt/cert.c: Remove __STDC__ conditionals.
30796 * crypt/crypt-entry.c: Likewise.
30797 * crypt/crypt_util.c: Likewise.
30798 * libio/filedoalloc.c: Likewise.
30799 * libio/fileops.c: Likewise.
30800 * libio/genops.c: Likewise.
30801 * libio/iofclose.c: Likewise.
30802 * libio/iofdopen.c: Likewise.
30803 * libio/iofopen.c: Likewise.
30804 * libio/iofopen64.c: Likewise.
30805 * libio/iogetdelim.c: Likewise.
30806 * libio/iopopen.c: Likewise.
30807 * libio/obprintf.c: Likewise.
30808 * libio/oldfileops.c: Likewise.
30809 * libio/oldiofclose.c: Likewise.
30810 * libio/oldiofdopen.c: Likewise.
30811 * libio/oldiofopen.c: Likewise.
30812 * libio/oldiopopen.c: Likewise.
30813 * libio/wfiledoalloc.c: Likewise.
30814 * libio/wgenops.c: Likewise.
30815 * locale/programs/xmalloc.c: Likewise.
30816 * misc/syslog.c: Likewise.
30817 * stdio-common/xbug.c: Likewise.
30818 * string/memchr.c: Likewise.
30819 * string/memcmp.c: Likewise.
30820 * string/memrchr.c: Likewise.
30821 * string/rawmemchr.c: Likewise.
30822 * sysdeps/posix/getcwd.c: Likewise.
30823 * time/strftime_l.c: Likewise.
30824
3b100462
JM
308252012-01-30 Joseph Myers <joseph@codesourcery.com>
30826
30827 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
30828 * config.make.in (config-cflags-sse2avx): Define.
30829 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
30830 Fix typo.
30831
607998af
CM
308322012-01-29 Chris Metcalf <cmetcalf@tilera.com>
30833
30834 * scripts/config.guess: Update from upstream config git repository.
30835 * scripts/config.sub: Likewise.
30836
3601428f
CM
308372012-01-28 Chris Metcalf <cmetcalf@tilera.com>
30838
3ac8b282
CM
30839 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
30840 (EM_NUM): Update.
30841 (R_TILEPRO_*, R_TILEGX_*): New macros.
30842
e034841e
CM
30843 * scripts/firstversions.awk: Fix bug in version range handling.
30844
540d7568
CM
30845 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
30846
3601428f
CM
30847 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
30848
463de862
CM
30849 * include/sys/epoll.h: New file.
30850 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
30851 libc_hidden_def.
30852
73139a76
UD
308532012-01-28 Ulrich Drepper <drepper@gmail.com>
30854
96bc5b45
UD
30855 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
30856 Avoid unnecessary __WORDSIZE == 64 test.
30857 (fmaxf): Use VEX format if possible.
30858 (fmax): Likewise.
30859 (fminf): Likewise.
30860 (fmin): Likewise.
30861
56f6f6a2
UD
30862 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
30863 * math/math_private.h: Remove libc_fegetround* and
30864 libc_fesetround*.
30865 * sysdeps/i386/configure.in: Check for -msse2avx.
30866 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
30867 also if SSE2AVX is defined.
30868 Remove libc_fegetround* and libc_fesetround*.
30869 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
30870 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
30871 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
30872 of HAS_YMM_USABLE.
30873 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30874 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30875 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30876 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30877 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30878
73139a76
UD
30879 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
30880
d73f93a4
AZ
308812012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30882
30883 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
30884 size is not set.
30885 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
30886
6ee65ed6
UD
308872012-01-27 Ulrich Drepper <drepper@gmail.com>
30888
30889 [BZ #13618]
30890 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
30891 relocation.
30892 * Makeconfig (libm): Define.
30893 * elf/Makefile: Add rules to build and run tst-relsort1.
30894 * elf/tst-relsort1.c: New file.
30895 * elf/tst-relsort1mod1.c: New file.
30896 * elf/tst-relsort1mod2.c: New file.
30897
8db21882
JM
308982012-01-27 Joseph Myers <joseph@codesourcery.com>
30899
30900 * math/s_ldexp.c: Remove __STDC__ conditionals.
30901 * math/s_ldexpf.c: Likewise.
30902 * math/s_ldexpl.c: Likewise.
30903 * math/s_nextafter.c: Likewise.
30904 * math/s_nexttowardf.c: Likewise.
30905 * math/s_significand.c: Likewise.
30906 * math/s_significandf.c: Likewise.
30907 * math/s_significandl.c: Likewise.
30908 * math/w_jnl.c: Likewise.
30909 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
30910 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
30911 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
30912 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
30913 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
30914 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30915 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
30916 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
30917 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30918 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
30919 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
30920 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30921 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
30922 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
30923 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
30924 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
30925 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
30926 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
30927 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
30928 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30929 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30930 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
30931 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
30932 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30933 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
30934 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
30935 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
30936 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
30937 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
30938 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
30939 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
30940 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
30941 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
30942 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
30943 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
30944 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
30945 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
30946 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
30947 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
30948 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
30949 * sysdeps/ieee754/k_standard.c: Likewise.
30950 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30951 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
30952 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
30953 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
30954 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
30955 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
30956 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
30957 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
30958 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
30959 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
30960 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
30961 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
30962 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
30963 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
30964 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
30965 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
30966 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
30967 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
30968 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
30969 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
30970 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30971 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
30972 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
30973 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
30974 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
30975 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
30976 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30977 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30978 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30979 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
30980 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
30981 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
30982 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
30983 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
30984 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
30985 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
30986 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
30987 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
30988 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
30989 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
30990 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
30991 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
30992 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
30993 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
30994 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
30995 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
30996 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
30997 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
30998 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
30999 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
31000 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
31001 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
31002 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
31003 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
31004 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
31005 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
31006 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
31007 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
31008 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
31009 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
31010 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
31011 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
31012 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
31013 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
31014 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
31015 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
31016 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
31017 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
31018 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
31019 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
31020 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
31021 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
31022 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
31023 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
31024 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
31025 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
31026 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
31027 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
31028 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
31029 * sysdeps/ieee754/s_matherr.c: Likewise.
31030 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
31031 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
31032 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
31033 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
31034
965a54a4
JM
310352012-01-26 Joseph Myers <joseph@codesourcery.com>
31036
31037 * crypt/md5.h: Remove __STDC__ conditionals.
31038 * libio/libioP.h: Likewise.
31039 * locale/programs/config.h: Likewise.
31040 * sysdeps/generic/sysdep.h: Likewise.
31041 * sysdeps/i386/asm-syntax.h: Likewise.
31042 * sysdeps/s390/asm-syntax.h: Likewise.
31043 * sysdeps/unix/sysdep.h: Likewise.
31044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
31045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31046
7071ad79
JM
310472012-01-26 Joseph Myers <joseph@codesourcery.com>
31048
31049 * libio/libio.h: Remove __STDC__ conditionals.
31050 * malloc/obstack.h: Likewise.
31051 * math/complex.h: Likewise.
31052 * math/math.h: Likewise.
31053 * sysdeps/generic/_G_config.h: Likewise.
31054 * sysdeps/gnu/_G_config.h: Likewise.
31055 * sysdeps/mach/hurd/_G_config.h: Likewise.
31056 * sysdeps/powerpc/bits/mathdef.h: Likewise.
31057 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
31058 * sysdeps/sparc/bits/mathdef.h: Likewise.
31059
afc5ed09
UD
310602012-01-26 Ulrich Drepper <drepper@gmail.com>
31061
31062 [BZ #13583]
31063 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 31064 Clean up HAS_* macros.
afc5ed09 31065 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
31066 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
31067 possible.
31068 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
31069 HAS_AVX.
31070 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31071 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31072 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31073 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31074 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 31075
bdb6de1d
JM
310762012-01-25 Joseph Myers <joseph@codesourcery.com>
31077
31078 * elf/tst-unique3.cc (gets): Remove declaration.
31079 * elf/tst-unique3lib.cc (gets): Likewise.
31080 * elf/tst-unique3lib2.cc (gets): Likewise.
31081 * elf/tst-unique4.cc (gets): Likewise.
31082
b15549e6
UD
310832012-01-24 Ulrich Drepper <drepper@gmail.com>
31084
31085 * include/stdio.h: Add C++ protection. Add gets declarations and
31086 definitions.
31087 * debug/tst-chk1.c: Don't declare gets here.
31088 * stdio-common/tst-gets.c: Likewise.
31089
a037381f
JM
310902012-01-24 Joseph Myers <joseph@codesourcery.com>
31091
31092 * posix/glob: Remove directory.
31093
f1d4aa75
JM
310942012-01-24 Joseph Myers <joseph@codesourcery.com>
31095
31096 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
31097
81c0c964
PT
310982012-01-22 Pino Toscano <toscano.pino@tiscali.it>
31099
31100 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
31101 of the non-standard EPFNOSUPPORT.
31102
0ea698ae
ST
311032011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
31104
31105 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
31106 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
31107 ANYWHERE set to 1 only on KERN_NO_SPACE error.
31108
d220b117
UD
311092012-01-21 Ulrich Drepper <drepper@gmail.com>
31110
31111 * wcsmbs/uchar.h: Test __STDC_VERSION__.
31112
3e1aa84e
UD
311132012-01-20 Ulrich Drepper <drepper@gmail.com>
31114
31115 * nscd/aicache.c (addhstaiX): Do not cache negative results of
31116 transient errors.
31117 * nscd/grpcache.c (cache_addgr): Likewise.
31118 * nscd/hstcache.c (cache_addhst): Likewise.
31119 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31120 * nscd/pwdcache.c (cache_addpw): Likewise.
31121 * nscd/servicescache.c (cache_addserv): Likewise.
31122
400aa020
UD
311232012-01-16 Ulrich Drepper <drepper@gmail.com>
31124
d77e7869
UD
31125 * malloc/malloc.c: Various cleanups.
31126 * malloc/hooks.c: Likewise.
31127
400aa020
UD
31128 * stdlib/Makefile (tests): Add bug-fmtmsg1.
31129 * stdlib/bug-fmtmsg1.c: New file.
31130
31131 * stdlib/fmtmsg.c (init): Add missing unlock.
31132 Patch by Peng Haitao <penght@cn.fujitsu.com>.
31133
e0a309cf
MP
311342012-01-12 Marek Polacek <polacek@redhat.com>
31135
31136 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
31137 and _GNU_SOURCE.
31138
929d11c7
WS
311392012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
31140
31141 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
31142 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
31143 macro to ensure uniqueness of label name.
31144 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
31145 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
31146
41d0e869
UD
311472012-01-11 Ulrich Drepper <drepper@gmail.com>
31148
0cc5ed3b
UD
31149 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
31150
41d0e869
UD
31151 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
31152 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
31153 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
31154 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
31155
a47a831a
UD
311562012-01-10 Ulrich Drepper <drepper@gmail.com>
31157
daa891c0
UD
31158 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
31159
31160 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
31161 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
31162 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
31163
e58ef0f2
UD
31164 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
31165
a47a831a 31166 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
31167 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
31168 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 31169 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
31170
31171 * math/bits/math-finite.h: Add ldexp support.
31172
a0bfc9c7
MP
311732012-01-10 Marek Polacek <polacek@redhat.com>
31174
31175 * locale/programs/localedef.h (show_archive_content): Add noreturn
31176 attribute.
31177
d6e97a1d
UD
311782012-01-09 Ulrich Drepper <drepper@gmail.com>
31179
31180 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
31181
d5835c26
UD
311822012-01-08 Ulrich Drepper <drepper@gmail.com>
31183
e5f484c6
UD
31184 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
31185
d5835c26
UD
31186 * io/Makefile (headers): Add bits/poll2.h.
31187
d1f741e9
WS
311882011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
31189
31190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
31191 typo #include statement.
31192
ec09c1c4
UD
311932012-01-08 Ulrich Drepper <drepper@gmail.com>
31194
31195 * include/sys/cdefs.h: Define __attribute_alloc_size.
31196 * catgets/gencat.c: Add alloc_size attribute and apply consistently
31197 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
31198 * elf/pldd.c: Likewise.
31199 * iconv/iconv_charmap.c: Likewise.
31200 * iconv/iconvconfig.c: Likewise.
31201 * iconv/strtab.c: Likewise.
31202 * locale/programs/locale.c: Likewise.
31203 * locale/programs/localedef.h: Likewise.
31204 * locale/programs/simple-hash.c: Likewise.
31205 * nscd/nscd.h: Likewise.
31206 * nss/makedb.c: Likewise.
31207 * sysdeps/generic/ldconfig.h: Likewise.
31208 * locale/programs/localedef.c: Remove xmalloc prototype.
31209 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
31210
20b38e03
PP
312112012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
31212
31213 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
31214 appropriate.
31215
a0da5fe1
UD
312162012-01-08 Ulrich Drepper <drepper@gmail.com>
31217
1d5a644a 31218 * math/Makefile (tests): Add tst-CMPLX.
669704fd 31219 * math/tst-CMPLX.c: New file.
1d5a644a 31220
8784a6db
UD
31221 * math/complex.h (CMPLXL): Fix typo.
31222
d9a216c0
UD
31223 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
31224 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
31225 GLIBC_2.16.
31226 * debug/tst-chk1.c: Add poll and ppoll tests.
31227 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
31228 * include/sys/poll.h: Add hidden proto for ppoll.
31229 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
31230 * sysdeps/mach/hurd/ppoll.c: Likewise.
31231 * io/ppoll.c: Likewise.
31232 * debug/poll_chk.c: New file.
31233 * debug/ppoll_chk.c: New file.
31234 * include/bits/poll2.h: New file.
31235 * io/bits/poll2.h: New file.
31236
ac097f5c
UD
31237 [BZ #1350]
31238 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
31239
2119dcfa
UD
31240 * configure.in: static is always set to yes. Remove.
31241 * config.make.in: Don't set build-static.
31242 * Makeconfig: Remove use of build-static.
31243 * dlfcn/Makefile: Likewise.
31244 * elf/Makefile: Likewise.
31245 * math/Makefile: Likewise.
31246 * misc/Makefile: Likewise.
31247 * nptl/Makefile: Likewise.
31248 * sysdeps/mach/hurd/Makefile: Likewise.
31249
121766a9
UD
31250 * configure.in: PWD_P is not used anymore.
31251 * config.make.in: Remove PWD_P entry.
31252
51a1d39c 31253 * configure.in: Remove last remnants of RANLIB.
8720d066 31254 No need to check for signed size_t anymore.
215f4bdc
UD
31255 Don't set libc_commonpagesize and libc_relro_required here for Alpha
31256 and IA-64.
3857022a 31257 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
31258 * aclocal.m4: Likewise.
31259
d3ed7225
UD
31260 * wcsmbs/mbrtoc16.c: Implement using towc function.
31261 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
31262 * wcsmbs/wcsmbsload.c: Likewise.
31263 * iconv/gconv_simple.c: Likewise.
31264 * iconv/gconv_int.h: Likewise.
31265 * iconv/gconv_builtin.h: Likewise.
31266 * iconv/iconv_prog.c: Remove CHAR16 handling.
31267
31268 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
31269
31270 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
31271
a0da5fe1
UD
31272 * configure.in: Remove --with-elf and --enable-bounded options.
31273 Dont set base_machine for ia64. More non-ELF conditions removed.
31274 Remove testing and setting of leading underscore information.
31275 * config.make.in (build-bounded): Set to no.
31276 * config.h.in: Remove NO_UNDERSCORES entry.
31277 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
31278 them.
31279 * csu/start.c: Remove !NO_UNDERSCORE code.
31280 * locale/localeinfo.h: Likewise.
31281 * sysdeps/generic/machine-gmon.h: Likewise.
31282 * sysdeps/generic/sysdep.h: Likewise.
31283 * sysdeps/i386/sysdep.h: Likewise.
31284 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31285 * sysdeps/mach/sysdep.h: Likewise.
31286 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31287 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31288 * sysdeps/sh/sysdep.h: Likewise.
31289 * sysdeps/sparc/sparc32/alloca.S: Likewise.
31290 * sysdeps/unix/i386/sysdep.S: Likewise.
31291 * sysdeps/unix/sparc/start.c: Likewise.
31292 * sysdeps/unix/sparc/sysdep.S: Likewise.
31293 * sysdeps/unix/sparc/sysdep.h: Likewise.
31294 * sysdeps/unix/start.c: Likewise.
31295 * sysdeps/unix/x86_64/sysdep.S: Likewise.
31296 * sysdeps/x86_64/sysdep.h: Likewise.
31297
df78418a
UD
312982012-01-07 Ulrich Drepper <drepper@gmail.com>
31299
a784e502
UD
31300 [BZ #13553]
31301 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
31302 for non-gcc.
31303 * argp/argp-fmtstream.h: Use const instead __const.
31304 * argp/argp.h: Likewise.
31305 * assert/assert.h: Likewise.
31306 * bits/fenv.h: Likewise.
31307 * bits/sched.h: Likewise.
31308 * bits/sigset.h: Likewise.
31309 * bits/sigthread.h: Likewise.
31310 * catgets/nl_types.h: Likewise.
31311 * conform/data/pthread.h-data: Likewise.
31312 * crypt/crypt-private.h: Likewise.
31313 * crypt/crypt.h: Likewise.
31314 * crypt/crypt_util.c: Likewise.
31315 * ctype/ctype.h: Likewise.
31316 * debug/execinfo.h: Likewise.
31317 * debug/mbsnrtowcs_chk.c: Likewise.
31318 * debug/mbsrtowcs_chk.c: Likewise.
31319 * debug/wcsnrtombs_chk.c: Likewise.
31320 * debug/wcsrtombs_chk.c: Likewise.
31321 * debug/wcstombs_chk.c: Likewise.
31322 * dirent/dirent.h: Likewise.
31323 * dlfcn/dlfcn.h: Likewise.
31324 * elf/neededtest4.c: Likewise.
31325 * grp/grp.h: Likewise.
31326 * gshadow/gshadow.h: Likewise.
31327 * iconv/gconv.h: Likewise.
31328 * iconv/gconv_int.h: Likewise.
31329 * iconv/gconv_simple.c: Likewise.
31330 * iconv/iconv.h: Likewise.
31331 * iconv/loop.c: Likewise.
31332 * iconv/skeleton.c: Likewise.
31333 * include/aio.h: Likewise.
31334 * include/aliases.h: Likewise.
31335 * include/argz.h: Likewise.
31336 * include/arpa/inet.h: Likewise.
31337 * include/assert.h: Likewise.
31338 * include/dirent.h: Likewise.
31339 * include/dlfcn.h: Likewise.
31340 * include/execinfo.h: Likewise.
31341 * include/fcntl.h: Likewise.
31342 * include/fenv.h: Likewise.
31343 * include/glob.h: Likewise.
31344 * include/grp.h: Likewise.
31345 * include/libintl.h: Likewise.
31346 * include/mntent.h: Likewise.
31347 * include/netdb.h: Likewise.
31348 * include/pwd.h: Likewise.
31349 * include/rpc/netdb.h: Likewise.
31350 * include/sched.h: Likewise.
31351 * include/search.h: Likewise.
31352 * include/shadow.h: Likewise.
31353 * include/signal.h: Likewise.
31354 * include/stdio.h: Likewise.
31355 * include/stdlib.h: Likewise.
31356 * include/string.h: Likewise.
31357 * include/sys/socket.h: Likewise.
31358 * include/sys/stat.h: Likewise.
31359 * include/sys/statfs.h: Likewise.
31360 * include/sys/statvfs.h: Likewise.
31361 * include/sys/syslog.h: Likewise.
31362 * include/sys/time.h: Likewise.
31363 * include/sys/uio.h: Likewise.
31364 * include/time.h: Likewise.
31365 * include/unistd.h: Likewise.
31366 * include/utmp.h: Likewise.
31367 * include/wchar.h: Likewise.
31368 * include/wctype.h: Likewise.
31369 * inet/aliases.h: Likewise.
31370 * inet/arpa/inet.h: Likewise.
31371 * inet/netinet/ether.h: Likewise.
31372 * inet/netinet/in.h: Likewise.
31373 * intl/libintl.h: Likewise.
31374 * io/bits/fcntl2.h: Likewise.
31375 * io/fcntl.h: Likewise.
31376 * io/ftw.h: Likewise.
31377 * io/sys/poll.h: Likewise.
31378 * io/sys/stat.h: Likewise.
31379 * io/sys/statfs.h: Likewise.
31380 * io/sys/statvfs.h: Likewise.
31381 * io/utime.h: Likewise.
31382 * libio/bits/stdio.h: Likewise.
31383 * libio/bits/stdio2.h: Likewise.
31384 * libio/libio.h: Likewise.
31385 * libio/libioP.h: Likewise.
31386 * libio/stdio.h: Likewise.
31387 * locale/lc-ctype.c: Likewise.
31388 * locale/locale.h: Likewise.
31389 * login/utmp.h: Likewise.
31390 * malloc/arena.c: Likewise.
31391 * malloc/malloc.c: Likewise.
31392 * malloc/malloc.h: Likewise.
31393 * malloc/mcheck.c: Likewise.
31394 * malloc/mtrace.c: Likewise.
31395 * math/bits/mathcalls.h: Likewise.
31396 * math/fenv.h: Likewise.
31397 * math/math_private.h: Likewise.
31398 * misc/bits/error.h: Likewise.
31399 * misc/bits/syslog.h: Likewise.
31400 * misc/err.h: Likewise.
31401 * misc/error.h: Likewise.
31402 * misc/fstab.h: Likewise.
31403 * misc/mntent.h: Likewise.
31404 * misc/regexp.h: Likewise.
31405 * misc/search.h: Likewise.
31406 * misc/sgtty.h: Likewise.
31407 * misc/sys/mman.h: Likewise.
31408 * misc/sys/syslog.h: Likewise.
31409 * misc/sys/uio.h: Likewise.
31410 * misc/sys/xattr.h: Likewise.
31411 * misc/ttyent.h: Likewise.
31412 * nis/rpcsvc/ypclnt.h: Likewise.
31413 * nss/nss.h: Likewise.
31414 * posix/bits/unistd.h: Likewise.
31415 * posix/fnmatch.h: Likewise.
31416 * posix/glob.h: Likewise.
31417 * posix/sched.h: Likewise.
31418 * posix/spawn.h: Likewise.
31419 * posix/sys/wait.h: Likewise.
31420 * posix/unistd.h: Likewise.
31421 * posix/wordexp.h: Likewise.
31422 * pwd/pwd.h: Likewise.
31423 * resolv/netdb.h: Likewise.
31424 * resource/sys/resource.h: Likewise.
31425 * rt/aio.h: Likewise.
31426 * rt/bits/mqueue2.h: Likewise.
31427 * rt/mqueue.h: Likewise.
31428 * shadow/shadow.h: Likewise.
31429 * signal/signal.h: Likewise.
31430 * socket/send.c: Likewise.
31431 * socket/sendto.c: Likewise.
31432 * socket/sys/socket.h: Likewise.
31433 * stdio-common/printf.h: Likewise.
31434 * stdlib/bits/stdlib.h: Likewise.
31435 * stdlib/fmtmsg.h: Likewise.
31436 * stdlib/monetary.h: Likewise.
31437 * stdlib/stdlib.h: Likewise.
31438 * stdlib/ucontext.h: Likewise.
31439 * streams/stropts.h: Likewise.
31440 * string/argz.h: Likewise.
31441 * string/bits/string2.h: Likewise.
31442 * string/string.h: Likewise.
31443 * string/strings.h: Likewise.
31444 * sunrpc/rpc/auth.h: Likewise.
31445 * sunrpc/rpc/auth_des.h: Likewise.
31446 * sunrpc/rpc/clnt.h: Likewise.
31447 * sunrpc/rpc/netdb.h: Likewise.
31448 * sunrpc/rpc/pmap_clnt.h: Likewise.
31449 * sunrpc/rpc/xdr.h: Likewise.
31450 * sysdeps/generic/inttypes.h: Likewise.
31451 * sysdeps/generic/net/if.h: Likewise.
31452 * sysdeps/generic/sys/swap.h: Likewise.
31453 * sysdeps/gnu/net/if.h: Likewise.
31454 * sysdeps/gnu/utmpx.h: Likewise.
31455 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
31456 * sysdeps/i386/i486/bits/string.h: Likewise.
31457 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
31458 * sysdeps/s390/bits/string.h: Likewise.
31459 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
31460 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
31461 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
31462 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
31463 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
31464 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
31465 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
31466 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
31467 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
31468 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
31469 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
31470 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
31471 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
31472 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
31473 * sysdeps/unix/sysv/linux/readv.c: Likewise.
31474 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
31475 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
31476 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31477 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
31478 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
31479 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31480 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
31481 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
31482 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
31483 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
31484 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
31485 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
31486 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31487 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
31488 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
31489 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
31490 * sysvipc/sys/ipc.h: Likewise.
31491 * sysvipc/sys/msg.h: Likewise.
31492 * sysvipc/sys/sem.h: Likewise.
31493 * sysvipc/sys/shm.h: Likewise.
31494 * termios/termios.h: Likewise.
31495 * time/sys/time.h: Likewise.
31496 * time/time.h: Likewise.
31497 * wcsmbs/bits/wchar2.h: Likewise.
31498 * wcsmbs/uchar.h: Likewise.
31499 * wcsmbs/wchar.h: Likewise.
31500 * wctype/wctype.h: Likewise.
31501
0269750c
UD
31502 [BZ #13551]
31503 * Makeconfig: Remove all but ELF support including AIX support.
31504 * Makerules: Likewise.
31505 * config.h.in: Likewise.
31506 * config.make.in: Likewise.
31507 * configure: Likewise.
31508 * configure.in: Likewise.
31509 * csu/Makefile: Likewise.
31510 * csu/version.c: Likewise.
31511 * debug/Makefile: Likewise.
31512 * dlfcn/Makefile: Likewise.
31513 * elf/Makefile: Likewise.
31514 * extra-lib.mk: Likewise.
31515 * iconv/Makefile: Likewise.
31516 * include/libc-symbols.h: Likewise.
31517 * include/shlib-compat.h: Likewise.
31518 * resolv/Makefile: Likewise.
31519 * resolv/res_libc.c: Likewise.
31520 * rt/Makefile: Likewise.
31521 * sysdeps/i386/asm-syntax.h: Likewise.
31522 * sysdeps/i386/sysdep.h: Likewise.
31523 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31524 * sysdeps/mach/sysdep.h: Likewise.
31525 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
31526 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
31527 * sysdeps/s390/asm-syntax.h: Likewise.
31528 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31529 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31530 * sysdeps/sh/sysdep.h: Likewise.
31531 * sysdeps/unix/sparc/sysdep.h: Likewise.
31532 * sysdeps/wordsize-32/divdi3.c: Likewise.
31533 * sysdeps/x86_64/sysdep.h: Likewise.
31534
00bbd29b
UD
31535 * argp/Versions: Remove _argp_unlock_xxx.
31536
31537 [BZ #13559]
31538 * abilist/ld.abilist: Update. Adjust for removal of tls option.
31539 * abilist/libBrokenLocale.abilist: Likewise.
31540 * abilist/libanl.abilist: Likewise.
31541 * abilist/libc.abilist: Likewise.
31542 * abilist/libcrypt.abilist: Likewise.
31543 * abilist/libdl.abilist: Likewise.
31544 * abilist/libm.abilist: Likewise.
31545 * abilist/libnsl.abilist: Likewise.
31546 * abilist/libpthread.abilist: Likewise.
31547 * abilist/libresolv.abilist: Likewise.
31548 * abilist/librt.abilist: Likewise.
31549 * abilist/libthread_db.abilist: Likewise.
31550 * abilist/libutil.abilist: Likewise.
31551 * abilist/libnss_db.abilist: New file.
31552
31553 * scripts/abilist.awk: Add support for indirect functions.
31554
a2693a0e
UD
31555 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
31556
3f05895f
UD
31557 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
31558
ecb6fb48
UD
31559 * shlib-versions: Remove entries for ports architectures.
31560
664f8cb9
UD
31561 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
31562 files in ports.
31563 * elf/stackguard-macros.h: Remove support for IA-64.
31564 * elf/tst-auditmod1.c: Likewise.
31565 * sysdeps/generic/ldsodefs.h: Likewise.
31566
7ae81d88
UD
31567 * sysdeps/unix/sysv/linux/configure.in: Ports should define
31568 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
31569 configure files.
31570
bdeba135
UD
31571 [BZ #13552]
31572 * configure.in: Remove --enable-omitfp support.
31573 * FAQ.in: Adjust.
31574 * config.make.in: Likewise.
31575 * Makeconfig: Likewise.
31576 * manual/install.texi: Likewise.
31577
d75a0a62
UD
31578 In case anyone cares, the IA-64 architecture could move to ports.
31579 * sysdeps/ia64/*: Removed.
31580 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 31581 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 31582
dcc9756b
UD
31583 [BZ #13555]
31584 * configure.in: Remove entries for unsupported architectures.
31585
d3761ebc 31586 [BZ #13533]
9954432e
UD
31587 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
31588 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
31589 routines.
31590 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
31591 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
31592 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
31593 fall back to using wcrtomb.
31594 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
31595 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
31596 renaming.
31597 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
31598 * wcsmbs/tst-c16c32-1.c: New file.
31599
31600 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
31601 local variable.
31602
c3a87236
UD
31603 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
31604
28926a1b
UD
31605 * elf/tst-unique3.cc: Add explicit declaration of gets.
31606 * elf/tst-unique3lib.cc: Likewise.
31607 * elf/tst-unique3lib2.cc: Likewise.
31608 * elf/tst-unique4.cc: Likewise.
31609
df78418a
UD
31610 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
31611
8ecd6b2a
JM
316122012-01-06 Joseph Myers <joseph@codesourcery.com>
31613
31614 [BZ #13566]
31615 * assert/assert.h (static_assert): Don't define for C++.
31616 * libio/stdio.h (gets): Do declare for C++ <= C++11.
31617 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
31618
9f115170
UD
316192012-01-03 Ulrich Drepper <drepper@gmail.com>
31620
5e0d0300
UD
31621 * iconv/loop.c (single loop): Fix assertion in storing of
31622 remaining bytes.
31623
9f115170
UD
31624 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
31625
81fb02b0
UD
316262012-01-01 Ulrich Drepper <drepper@gmail.com>
31627
31628 * posix/getconf.c: Update copyright year.
31629 * nss/getent.c: Likewise.
a316c1f6 31630 * nss/makedb.c: Likewise.
81fb02b0
UD
31631 * iconv/iconvconfig.c: Likewise.
31632 * iconv/iconv_prog.c: Likewise.
31633 * elf/ldconfig.c: Likewise.
a316c1f6
UD
31634 * elf/pldd.c: Likewise.
31635 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
31636 * catgets/gencat.c: Likewise.
31637 * csu/version.c: Likewise.
31638 * elf/ldd.bash.in: Likewise.
31639 * elf/sprof.c (print_version): Likewise.
31640 * locale/programs/locale.c: Likewise.
31641 * locale/programs/localedef.c: Likewise.
a316c1f6 31642 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
31643 * nscd/nscd.c (print_version): Likewise.
31644 * debug/xtrace.sh: Likewise.
31645 * malloc/memusage.sh: Likewise.
31646 * malloc/mtrace.pl: Likewise.
31647 * debug/catchsegv.sh: Likewise.
31648
2ba92745
JJ
316492011-12-30 Jakub Jelinek <jakub@redhat.com>
31650
31651 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
31652 pure attribute.
31653
dadebdae
UD
316542011-12-24 Ulrich Drepper <drepper@gmail.com>
31655
d3761ebc 31656 [BZ #13533]
db6af3eb
UD
31657 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
31658 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
31659 transformations.
31660 * iconv/gconv_int.h: Likewise.
31661 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
31662 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
31663 from libc for GLIBC_2.16.
31664 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
31665 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
31666 * wcsmbs/uchar.h: Really define mbstate_t.
31667 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
31668 * wcsmbs/c16rtomb.c: New file.
31669 * wcsmbs/mbrtoc16.c: New file.
31670 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
31671 for C/POSIX locale.
31672 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
31673 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
31674
dadebdae
UD
31675 * wcsmbs/wchar.h: Add missing __restrict.
31676
67371b56
UD
316772011-12-23 Ulrich Drepper <drepper@gmail.com>
31678
74033a25
UD
31679 [BZ #13532]
31680 * time/Makefile (routines): Add timespec_get.
31681 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
31682 * time/time.h: Define TIME_UTC and declare timespec_get. Define
31683 timespec for ISO C11.
31684 * time/timespec_get.c: New file.
31685 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
31686 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
31687
380d7e87
UD
31688 [BZ #13531]
31689 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
31690 * stdlib/stdlib.h: Declare aligned_alloc.
31691 * Versions.def: Add GLIBC_2.16 for libc.
31692 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
31693
4e9e7a35
UD
31694 [BZ 13527]
31695 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
31696 ISO C11.
31697
380d7e87 31698 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
31699 code.
31700
03a71829
UD
31701 [BZ #13528]
31702 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
31703
839e283e
UD
31704 [BZ #13529]
31705 * assert/assert.h (static_assert): Define.
31706
ce5294e2 31707 * version.h: Update for 2.16 development version.
90fa7312 31708
8d44e150 31709 [BZ #13526]
d7809905
UD
31710 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
31711 _ISOC11_SOURCE.
31712
c0da14cd
UD
31713 * version.h (RELEASE): Bump for 2.15 release.
31714 * include/features.h (__GLIBC_MINOR__): Bump to 15.
31715
530a3249
MP
31716 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
31717 Patch by Marek Polacek <mpolacek@redhat.com>.
31718
67371b56
UD
31719 * bits/byteswap.h: Protect long long constants with __extension__.
31720 * sysdeps/i386/bits/byteswap.h: Likewise.
31721 * sysdeps/ia64/bits/byteswap.h: Likewise.
31722 * sysdeps/s390/bits/byteswap.h: Likewise.
31723 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31724
15db4de1
LD
317252011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31726
31727 [BZ #13540]
bbe315ea
LD
31728 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
31729 destination buffer.
15db4de1
LD
31730 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
31731
2b2596b1
MP
317322011-12-23 Marek Polacek <polacek@redhat.com>
31733
31734 * elf/dl-addr.c (determine_info): Add inline keyword.
31735 * elf/tst-auditmod4b.c (check_avx): Likewise.
31736 * elf/tst-auditmod6b.c (check_avx): Likewise.
31737 * elf/tst-auditmod6c.c (check_avx): Likewise.
31738 * elf/tst-auditmod7b.c (check_avx): Likewise.
31739
70c6c246
UD
317402011-12-23 Ulrich Drepper <drepper@gmail.com>
31741
31742 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
31743 !__SSE_MATH__.
31744
c044cf14
LD
317452011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31746
15db4de1 31747 [BZ #13540]
c044cf14
LD
31748 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
31749 processing for last bytes.
31750
6b13d9d9
BH
317512011-08-06 Bruno Haible <bruno@clisp.org>
31752
d455f537
BH
31753 [BZ #13061]
31754 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
31755 U+0385, not to U+1FEE.
31756
6b13d9d9
BH
31757 [BZ #13062]
31758 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
31759 entry for U+00A5 U+0301.
31760
db910efd
UD
317612011-12-22 Ulrich Drepper <drepper@gmail.com>
31762
27deeafc
UD
31763 [BZ #13166]
31764 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
31765 buffer for the output is too small.
31766
aed9d171
UD
31767 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
31768 optimization.
31769
db910efd
UD
31770 [BZ #13185]
31771 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
31772 SSE flags if possible.
31773
2bd779ae
LD
317742011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31775
e7f9dac3 31776 [BZ #13540]
2bd779ae
LD
31777 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
31778 processing for last bytes.
31779
154bfc16
JM
317802011-12-22 Joseph Myers <joseph@codesourcery.com>
31781
31782 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
31783 (syscall-list-default-options, syscall-list-default-condition)
31784 (syscall-list-includes): Define.
31785 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
31786 list of ABIs and options and #if conditions for each ABI. Do not
31787 handle common syscalls between ABIs specially.
31788 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
31789 Remove.
31790 (syscall-list-variants, syscall-list-32bit-options)
31791 (syscall-list-32bit-condition, syscall-list-64bit-options)
31792 (syscall-list-64bit-condition): Define.
31793 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
31794 (syscall-list-variants, syscall-list-32bit-options)
31795 (syscall-list-32bit-condition, syscall-list-64bit-options)
31796 (syscall-list-64bit-condition): Define.
31797 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
31798 Remove.
31799 (syscall-list-variants, syscall-list-32bit-options)
31800 (syscall-list-32bit-condition, syscall-list-64bit-options)
31801 (syscall-list-64bit-condition): Define.
31802 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
31803 Remove.
31804 (syscall-list-variants, syscall-list-32bit-options)
31805 (syscall-list-32bit-condition, syscall-list-64bit-options)
31806 (syscall-list-64bit-condition): Define.
31807
21eaf3a5
UD
318082011-12-22 Ulrich Drepper <drepper@gmail.com>
31809
16c6f992
UD
31810 * locale/iso-639.def: Add brx entry.
31811
41043168
UD
31812 [BZ #13328]
31813 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
31814 Proposed by Mariusz_Cukr <marcukr@op.pl>.
31815
21eaf3a5
UD
31816 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
31817 __feraiseexcept_renamed.
31818
e3a851a2
UD
318192011-12-21 Ulrich Drepper <drepper@gmail.com>
31820
4920765e
UD
31821 [BZ #13538]
31822 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
31823 EPOLLET with unsigned values.
31824 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31825 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31826
e3a851a2
UD
31827 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
31828 to large cancellation.
31829 * math/s_cacoshf.c: Likewise.
31830 * math/s_cacoshl.c: Likewise.
31831
b27e24b8
RK
318322011-11-18 Richard B. Kreckel <kreckel@ginac.de>
31833
31834 [BZ #13305]
aebefeee 31835 [BZ #12786]
b27e24b8
RK
31836 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
31837 * math/s_cacoshf.c: Likewise.
31838 * math/s_cacoshl.c: Likewise.
31839
ee190f67
UD
318402011-12-21 Ulrich Drepper <drepper@gmail.com>
31841
31842 [BZ #13439]
31843 * iconv/gconv.h: Define __GCONV_SWAP.
31844 * iconvdata/unicode.c: The swap bit must be stored in __flags.
31845 * iconvdata/utf-16.c: Likewise.
31846 * iconvdata/utf-32.c: Likewise.
31847
707f25df
AS
318482011-12-21 Andreas Schwab <schwab@linux-m68k.org>
31849
31850 [BZ #13524]
31851 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
31852 numerator after shifting it by one limb.
31853
d2daaa1e
RÁE
318542011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
31855
31856 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
31857 under [__USE_EXTERN_INLINES].
31858
a4647e72
UD
318592011-12-17 Ulrich Drepper <drepper@gmail.com>
31860
31861 [BZ #13446]
31862 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
31863
f0b264f1
AZ
318642011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31865
31866 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
31867 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
31868 optimized code.
31869 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
31870 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
31871 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
31872 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
31873 for strncasecmp/strncasecmp_l compilation.
31874 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
31875 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
31876
8ef4f244
MP
318772011-12-08 Marek Polacek <mpolacek@redhat.com>
31878
31879 [BZ #13484]
31880 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
31881 of __asm__.
31882
97ac2654
UD
318832011-12-17 Ulrich Drepper <drepper@gmail.com>
31884
31885 [BZ #13506]
31886 * time/tzfile.c (__tzfile_read): Check values from file header.
31887
91d2a845
WS
318882011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
31889
31890 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
31891 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
31892 * powerpc/powerpc32/dl-start.S: Likewise.
31893 * powerpc/powerpc32/elf/start.S: Likewise.
31894 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
31895 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
31896 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
31897 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
31898 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
31899 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
31900 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
31901 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
31902 * powerpc/powerpc32/fpu/s_round.S: Likewise.
31903 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
31904 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
31905 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
31906 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
31907 * powerpc/powerpc32/memset.S: Likewise.
31908 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
31909 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31910 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31911 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31912 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31913 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
31914 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
31915 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
31916 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
31917 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
31918 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
31919 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
31920 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
31921
a1267ba1
AZ
319222011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31923
31924 * math/libm-test.inc: Added more nearbyint tests.
31925 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
31926 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
31927 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
31928 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
31929
ad8ac1bd
RL
319302011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
31931
31932 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
31933 FD_CLOEXEC.
31934
1d3e4b61
UD
319352011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31936
31937 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
31938 Add wcscpy-ssse3 wcscpy-c.
31939 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
31940 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
31941 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
31942 * sysdeps/x86_64/wcschr.S: New file.
31943 * sysdeps/x86_64/wcsrchr.S: New file.
31944 * string/test-strcmp.c: Remove checking of wcscmp function for
31945 wrong alignments.
31946 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
31947 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
31948 wcsrchr-sse2 wcsrchr-c.
31949 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
31950 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
31951 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
31952 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
31953 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
31954 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
31955 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
31956 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
31957 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
31958 * wcsmbc/wcschr.c (WCSCHR): New macro.
31959
5b330a2d
UD
319602011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31961
31962 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
31963 * wcsmbs/test-wcsrchr.c: New file.
31964 * string/test-strrchr.c: Add wcsrchr support.
31965 (WIDE): New macro.
31966 * wcsmbs/test-wcscpy.c: New file.
31967 * string/test-strcpy.c: Add wcscpy support.
31968 (WIDE): New macro.
26428b7c 31969
f039c043
UD
319702011-12-10 Ulrich Drepper <drepper@gmail.com>
31971
31972 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
31973 the inner loop.
31974
850fb039
AS
319752011-12-06 Andreas Schwab <schwab@linux-m68k.org>
31976
31977 [BZ #13472]
31978 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
31979
4efbd5cb
UD
319802011-12-04 Ulrich Drepper <drepper@gmail.com>
31981
52ff5dd0 31982 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 31983 Minor optimizations.
52ff5dd0 31984
4efbd5cb
UD
31985 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
31986 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
31987 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
31988
8a426e12
UD
319892011-12-03 Ulrich Drepper <drepper@gmail.com>
31990
aff2453d
UD
31991 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
31992 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
31993 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
31994 for gcc to avoid warnings.
31995 * inet/Makefile (tests): Add tst-checks.
31996 * inet/tst-checks.c: New file.
31997
31998 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
31999 warning.
32000
32001 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
32002 __wmemcmp_sse2.
32003
32004 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
32005 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
32006
8a426e12
UD
32007 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
32008
9bea3473
UD
320092011-12-02 Ulrich Drepper <drepper@gmail.com>
32010
3a965496
UD
32011 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
32012 problem.
32013
9bea3473
UD
32014 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
32015
f101631b
UD
320162011-11-29 Joseph Myers <joseph@codesourcery.com>
32017
32018 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
32019 conditional on GCC version.
32020 (__arch_compare_and_exchange_val_8_acq)
32021 (__arch_compare_and_exchange_val_16_acq)
32022 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
32023 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
32024 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
32025
a98275aa
UD
320262011-12-02 Joseph Myers <joseph@codesourcery.com>
32027
32028 * sysdeps/sh/backtrace.c: New file.
32029
d4cc29a2
AS
320302011-12-02 Andreas Schwab <schwab@redhat.com>
32031
32032 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
32033 parenthesis.
32034
6257af2d
AS
320352011-12-01 Andreas Schwab <schwab@redhat.com>
32036
32037 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
32038 falling back to utime.
32039
b5f44c1a
AS
320402011-11-30 Andreas Schwab <schwab@redhat.com>
32041
32042 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
32043 expectations for float.
32044
f3a6cc0a
AS
320452011-11-29 Andreas Schwab <schwab@redhat.com>
32046
32047 * locale/weight.h (findidx): Add parameter len.
32048 * locale/weightwc.h (findidx): Likewise.
32049 * posix/fnmatch_loop.c (FCT): Adjust caller.
32050 * posix/regcomp.c (build_equiv_class): Likewise.
32051 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
32052 * posix/regexec.c (check_node_accept_bytes): Likewise.
32053 * string/strcoll_l.c (STRCOLL): Likewise.
32054 * string/strxfrm_l.c (STRXFRM): Likewise.
32055
9d65ea3a
UD
320562011-11-17 Ulrich Drepper <drepper@gmail.com>
32057
32058 * Makefile.in: Remove CVSOPT handling.
32059 * configure.in: Remove use of AC_REVISION.
32060 * iconvdata/Makefile (distribute): No need to filter out CVS.
32061 * scripts/list-sources.sh: Remove CVS, subversion and monotone
32062 handling.
32063
5583a086
AS
320642011-11-16 Andreas Schwab <schwab@redhat.com>
32065
32066 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
32067 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
32068 [USE_AS_STRNCASECMP_L]: Likewise.
32069 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
32070 NO_TLS_DIRECT_SEG_REFS.
32071 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
32072 Fix argument offsets for non-PIC.
32073 [USE_AS_STRNCASECMP_L]: Likewise.
32074 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
32075 NO_TLS_DIRECT_SEG_REFS.
32076
d62a8200
UD
320772011-11-15 Ulrich Drepper <drepper@gmail.com>
32078
9d65ea3a 32079 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
32080 O_CLOEXEC.
32081 * locale/loadlocale.c (_nl_load_locale): Likewise.
32082
09f93bd3
AS
320832011-11-15 Andreas Schwab <schwab@redhat.com>
32084
446514f9
AS
32085 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
32086 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
32087 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
32088 (SYSCALL_GETTIME): Set errno on error.
32089
09f93bd3
AS
32090 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
32091 count references to noai6ai_cached.
32092
312be3f9
UD
320932011-11-15 Ulrich Drepper <drepper@gmail.com>
32094
32095 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
32096
32097 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
32098 FD_CLOEXEC for /proc/self/maps.
32099
32100 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
32101 FD_CLOEXEC for /proc/meminfo.
32102
32103 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
32104 gai.conf.
32105
32106 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
32107 FD_CLOEXEC for given file.
32108
32109 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
32110
32111 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
32112 FD_CLOEXEC for /etc/hosts.
32113 (_gethtent): Likewise.
32114
32115 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
32116
32117 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
32118 cancellation and set FD_CLOEXEC for /etc/netgroup.
32119
32120 * nss/nss_files/files-key.c (search): Don't allow cancellation when
32121 reading /etc/publickey.
32122
32123 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
32124 allow cancellation when reading /etc/group.
32125
32126 * nss/nss_files/files-alias.c (internal_setent): Don't allow
32127 cancellation.
32128 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
32129
32130 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
32131 when using data file.
32132
32133 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
32134
32135 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
32136 (write_nis_obj): Use "c" and "e" in fopen.
32137
32138 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
32139
32140 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
32141
32142 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
32143
32144 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
32145
32146 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
32147 locale.alias.
32148
32149 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
32150
32151 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
32152
32153 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
32154
32155 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
32156 file parsing and set FD_CLOEXEC.
32157
82af0fa8
UD
321582011-11-14 Ulrich Drepper <drepper@gmail.com>
32159
32160 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
32161
a5fb313c
AS
321622011-11-14 Andreas Schwab <schwab@redhat.com>
32163
32164 * malloc/arena.c (arena_get2): Don't call reused_arena when
32165 _int_new_arena failed.
32166
6abf3465
UD
321672011-11-14 Ulrich Drepper <drepper@gmail.com>
32168
32169 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
32170 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
32171 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
32172 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32173 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32174 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
32175 to compile strcasecmp and strncasecmp.
32176 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
32177 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
32178
32179 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
32180
76e3966e
UD
321812011-11-13 Ulrich Drepper <drepper@gmail.com>
32182
32183 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
32184 locale-defines.sym to gen-as-const-headers.
32185 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
32186 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
32187 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
32188 to compile strcasecmp and strncasecmp.
32189 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
32190 strcasecmp_l and strncasecmp_l.
32191 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
32192 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
32193 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
32194 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
32195 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
32196 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
32197 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
32198 * sysdeps/i386/i686/multiarch/strncase.S: New file.
32199 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
32200 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
32201 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
32202
ab26144e
UD
322032011-11-12 Ulrich Drepper <drepper@gmail.com>
32204
7edb22ef
UD
32205 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
32206 result of SYSDEP_GETTIME_CPU to retval.
32207 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
32208 parameter list to macro. Remove trailing semicolon. Adjust users.
32209
9694fc44
UD
32210 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
32211 variable.
32212
8ad89ef8
UD
32213 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
32214 mantissa words.
32215 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
32216
0c822ef9
UD
32217 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
32218 from unused variable.
32219
874e0564
UD
32220 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
32221 DWARF definitions.
32222 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
32223 for assembling.
32224
3a2edc79
UD
32225 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
32226 over namespaces.
32227
f3c2577f
UD
32228 * sunrpc/rpc_prot.c (rejected): Fix case value.
32229
294ce126
UD
32230 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
32231 unsigned long long int to avoid warnings in shift.
32232
5e2b63c6
UD
32233 * posix/regex_internal.c (re_string_reconstruct): Actually use result
32234 of use of trans.
32235 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
32236 variable tmp.
32237
e7f4b08e
UD
32238 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
32239 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
32240 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
32241
ab26144e
UD
32242 * nis/nis_table.c (nis_list): Use variable of correct type for
32243 result of __follow_path call.
32244
8a6d5255
AZ
322452011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32246
32247 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
32248 of math functions ceil, trunc, floor, round, and sqrt, when
32249 avaliable on the platform.
32250 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
32251 name clash.
32252 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32253 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
32254 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
32255
aaddc98c
MP
322562011-10-30 Marek Polacek <mpolacek@redhat.com>
32257
32258 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
32259 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
32260
95b7042b
RM
322612011-11-11 Roland McGrath <roland@hack.frob.com>
32262
32263 * include/unistd.h: Fix __readlink return type.
32264 Reported by Chris Metcalf <cmetcalf@tilera.com>.
32265
57769839
UD
322662011-11-11 Ulrich Drepper <drepper@gmail.com>
32267
32268 * stdlib/ucontext.h: Undo last change for makecontext.
32269
edc5984d
AS
322702011-11-11 Andreas Schwab <schwab@redhat.com>
32271
98591e58
AS
32272 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
32273
edc5984d
AS
32274 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
32275 * setjmp/setjmp.h: Mark functions as non-leaf.
32276 * setjmp/bits/setjmp2.h: Likewise.
32277 * stdlib/ucontext.h: Likewise.
32278
77cdc054
AS
322792011-11-10 Andreas Schwab <schwab@redhat.com>
32280
32281 * malloc/arena.c (_int_new_arena): Don't increment narenas.
32282 (reused_arena): Don't check arena limit.
32283 (arena_get2): Atomically check arena limit.
32284
fe72eebd
UD
322852011-11-08 Ulrich Drepper <drepper@gmail.com>
32286
5f078c32
UD
32287 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
32288 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
32289
fe72eebd
UD
32290 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
32291 instructions.
32292
ae1bc2fa
AS
322932011-11-07 Andreas Schwab <schwab@redhat.com>
32294
7583a88d
AS
32295 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
32296 handler when locking.
32297
ae1bc2fa
AS
32298 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
32299 Fix size of allocated buffer.
32300
10fb0bfa
AS
323012011-11-04 Andreas Schwab <schwab@redhat.com>
32302
998832a4
AS
32303 [BZ #10103]
32304 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
32305 declarations for long double functions.
32306 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
32307
10fb0bfa
AS
32308 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
32309
3d7ba52b
AS
323102011-11-03 Andreas Schwab <schwab@redhat.com>
32311
a9ae54a1
AS
32312 * nscd/nscd.c (main): Don't start AVC thread until credentials are
32313 installed.
32314
3d7ba52b
AS
32315 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
32316 is disabled.
32317
bc8db248
ST
323182011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
32319
32320 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
32321
45b96dd6
AS
323222011-11-01 Andreas Schwab <schwab@linux-m68k.org>
32323
647776f6
AS
32324 * include/alloca.h (stackinfo_alloca_round): Define.
32325 (extend_alloca): Use it.
32326 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
32327 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
32328 here.
32329
d91a8b93
AS
32330 * scripts/check-local-headers.sh: Ignore libaudit.h.
32331
45b96dd6
AS
32332 * nscd/Makefile (extra-objs): Make recursively expanded.
32333
432d41ce
UD
323342011-11-01 Ulrich Drepper <drepper@gmail.com>
32335
34372fc6
UD
32336 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
32337 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
32338
fadb59f8
UD
32339 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
32340 * posix/tst-rfc3484-2.c: Likewise.
32341 * posix/tst-rfc3484-3.c: Likewise.
32342
78239589
UD
32343 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
32344 process_vm_writev.
32345 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
32346 process_vm_writev.
32347 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
32348 process_vm_writev from libc using GLIBC_2.15 version.
32349
432d41ce
UD
32350 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
32351
02f9c6cf
PP
323522011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
32353
32354 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
32355 stack usage.
32356
3a2c0242
UD
323572011-10-31 Ulrich Drepper <drepper@gmail.com>
32358
f4ec4833
UD
32359 [BZ #13367]
32360 * nss/getent.c (initgroups_keys): Show error message in case no group
32361 names are given.
32362
3a2c0242
UD
32363 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
32364 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
32365 __bump_nl_timestamp.
32366 * nscd/connections (nscd_init): When host database is served open
32367 netlink socket and request notification about configuration changes.
32368 (main_loop_poll): Track netlink file descriptor and bump timestamp
32369 in case data becomes available.
32370 (main_loop_epoll): Likewise.
32371 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
32372 (database_pers_head): Add extra_data fileds.
32373 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
32374 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
32375 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
32376 Adjust caller.
32377 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
32378 in6ai data, call __free_in6ai.
32379 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
32380 Add -DHAVE_NETLINK.
32381 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
32382 interface information. Reuse previous data if netlink timestamp
32383 is not changed.
32384 (__bump_nl_timestamp): New function.
32385 (__free_in6ai): New function.
32386
636064eb
UD
323872011-10-30 Ulrich Drepper <drepper@gmail.com>
32388
32389 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
32390 close_not_cancel_no_status here.
32391 (__check_pf): Reorganize code a bit to not call close twice if OOM.
32392
9beb2334
UD
323932011-10-29 Ulrich Drepper <drepper@gmail.com>
32394
6ef76f3b
UD
32395 [BZ #13276]
32396 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
32397 return value.
32398
0ffc4f3e 32399 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
32400 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
32401 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
32402
cb95113e
UD
324032011-07-03 Andreas Jaeger <aj@suse.de>
32404
32405 [BZ #10709]
32406 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
32407 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
32408 * math/libm-test.inc (sin_test): Add test case.
32409
a1b560ff
UD
324102011-10-29 Ulrich Drepper <drepper@gmail.com>
32411
c9aaface
UD
32412 [BZ #13337]
32413 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
32414 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32415
d272e7f1
UD
32416 * elf/chroot_canon.c (chroot_canon): Cleanups.
32417
1bc33071
UD
32418 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
32419
1760874d
TJ
32420 [BZ #13335]
32421 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
32422 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32423
51d91b18
UD
32424 * string/test-strchr.c: Make usable for strchrnul testing.
32425 * string/test-strchrnul.c: New file.
32426 * string/Makefile (strop-tests): Add strchrnul.
32427
a1b560ff 32428 * po/it.po: Update from translation team.
b611fb81 32429 * po/es.po: Likewise.
a1b560ff 32430
a5b81e1f
UD
324312011-10-28 Ulrich Drepper <drepper@gmail.com>
32432
fd52bc6d
UD
32433 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
32434 the three constants needed as parameters. Drop the others.
32435 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
32436 __m128i_strloadu_tolower.
52e4b9eb
UD
32437 Create and initialize variable zero and use it in all the places
32438 where _mm_setzero_si128 was used.
fd52bc6d 32439
a5b81e1f
UD
32440 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
32441 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
32442 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
32443 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
32444 anymore.
32445 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
32446 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
32447 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
32448 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
32449 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
32450 __mpranred, __mptan.
32451 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
32452 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
32453 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
32454 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
32455 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
32456 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
32457 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
32458 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
32459 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
32460
b4343346
AS
324612011-10-28 Andreas Schwab <schwab@redhat.com>
32462
0c92d8a8
AS
32463 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
32464 redefine if SHARED.
32465 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
32466
b4343346
AS
32467 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
32468 wide char related routines to wcsmbs subdir.
32469
3871f58f
AS
324702011-10-27 Andreas Schwab <schwab@redhat.com>
32471
32472 [BZ #13344]
32473 * misc/sys/cdefs.h (__THROWNL): Define.
32474 * posix/unistd.h: Use __THREADNL instead of __THREAD
32475 for memory synchronization functions.
32476
94d44d9f
RM
324772011-10-26 Roland McGrath <roland@hack.frob.com>
32478
21b64b15 32479 [BZ #13349]
94d44d9f
RM
32480 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
32481 doesn't exist.
32482 * manual/stdio.texi (Obstack Streams): Node removed.
32483
f6ce9294
AS
324842011-10-26 Andreas Schwab <schwab@redhat.com>
32485
80479147
AS
32486 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
32487 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32488 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32489
f6ce9294
AS
32490 * math/math_private.h (math_force_eval): Allow non-addressable
32491 arguments.
32492 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
32493
618280a1
UD
324942011-10-25 Ulrich Drepper <drepper@gmail.com>
32495
e0016b11
UD
32496 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
32497 file is not needed.
32498
32499 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
32500 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
32501 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32502 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32503 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32504 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32505 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32506 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
32507 Add AVX variants.
32508 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
32509 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
32510 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
32511 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
32512 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
32513 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
32514 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
32515 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
32516 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
32517 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
32518 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
32519 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
32520 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
32521 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
32522 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
32523 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
32524 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
32525 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
32526 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
32527
32528 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
32529 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
32530
618280a1
UD
32531 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
32532 place. Use VEX encoding when compiling for AVX.
32533
37822576
AS
325342011-10-25 Andreas Schwab <schwab@redhat.com>
32535
1f1e1947
AS
32536 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
32537 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
32538
37822576
AS
32539 * string/test-strchr.c (do_test): Don't generate NUL bytes.
32540
31ea014d
UD
325412011-10-25 Ulrich Drepper <drepper@gmail.com>
32542
d7826aa1 32543 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 32544 useless if() expression.
d7826aa1
UD
32545 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32546 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
32547 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32548 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32549 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32550 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32551 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32552 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32553 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32554 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32555 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32556 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32557 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
32558 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32559 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
32560 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32561 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32562 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32563 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
32564
31ea014d
UD
32565 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
32566
16437fec
AS
325672011-10-25 Andreas Schwab <schwab@redhat.com>
32568
32569 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
32570 condition.
32571 * elf/dl-fini.c (_dl_sort_fini): Likewise.
32572
31d3cc00
UD
325732011-10-25 Ulrich Drepper <drepper@gmail.com>
32574
32575 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
32576 .text section. Avoid duplicate constants.
32577 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32578 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32579 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32580 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32581 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32582 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32583 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32584 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32585 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32586 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
32587 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32588 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32589 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
32590 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
32591 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
32592 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
32593 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
32594 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32595 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32596 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32597 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32598 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32599 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32600 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
32601 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
32602 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
32603 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
32604 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
32605 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
32606 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
32607 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
32608 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
32609 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32610 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
32611 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
32612 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
32613 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
32614 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
32615 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
32616 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
32617 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
32618 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
32619 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
32620 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
32621 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
32622
58985aa9
UD
326232011-10-24 Ulrich Drepper <drepper@gmail.com>
32624
202c9deb
UD
32625 * sysdeps/x86_64/dla.h: Move to ...
32626 * sysdeps/x86_64/fpu/dla.h: ...here.
32627 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
32628 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 32629
af968f62
UD
32630 * config.make.in: Add have-mfma4 entry.
32631 * configure.in: Substitute libc_cv_cc_fma4.
32632 * math/Makefile (dbl-only-routines): Add sincostab.
32633 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
32634 Use __sincostab not sincos.
32635 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
32636 name is a macro.
32637 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32638 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32639 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32640 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
32641 using __copysign.
32642 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
32643 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
32644 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
32645 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
32646 and __inv.
32647 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
32648 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
32649 __copysign.
32650 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
32651 define aliases when function name is a macro.
32652 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
32653 sysdeps/ieee754/dbl-64/sincos.tbl.
32654 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
32655 fma4-enabled routines.
32656 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
32657 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
32658 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
32659 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
32660 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
32661 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
32662 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
32663 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
32664 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
32665 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
32666 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
32667 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
32668 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
32669 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
32670 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
32671 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
32672 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
32673 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
32674 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
32675 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
32676 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
32677 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
32678 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
32679 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
32680 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
32681 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
32682 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
32683 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
32684 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
32685 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
32686
58985aa9
UD
32687 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
32688 rename.
32689 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32690 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32691 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32692 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32693 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32694 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32695 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32696 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32697
a201fbcf
AS
326982011-10-24 Andreas Schwab <schwab@redhat.com>
32699
32700 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
32701
fc2ee42a
LD
327022011-10-23 Ulrich Drepper <drepper@gmail.com>
32703
bb3129bd
UD
32704 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
32705
0275fff8
UD
32706 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
32707 prediction.
32708 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
32709
2fa2ae85
UD
32710 * string/strnlen.c: Don't define STRNLEN, reverse logic.
32711 Remove unused variable magic_bits.
32712 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
32713
fc2ee42a
LD
32714 * string/strnlen.c: Define and use STRNLEN macro.
32715 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
32716 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
32717 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
32718 * wcsmbs/wcslen.c: Define and use WCSLEN.
32719 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
32720 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
32721 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
32722 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
32723 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
32724 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
32725 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
32726
ce7dd29f
LD
327272011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32728
32729 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32730 strnlen-sse2-no-bsf.
32731 Rename strlen-no-bsf to strlen-sse2-no-bsf.
32732 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
32733 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
32734 Add strnlen support.
32735 (USE_AS_STRNLEN): New macro.
32736 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
32737 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
32738 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
32739 * sysdeps/x86_64/wcslen.S: New file.
32740
979c70a3
MZ
327412011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
32742
32743 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32744 XMM-moves are used for copying on small sizes.
32745
2d09f82f
LD
327462011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32747
32748 * wcsmbs/Makefile (strop-tests): Add wcschr.
32749 * wcsmbs/test-wcschr.c: New file.
32750 * string/test-strchr.c: Update.
32751 Add wcschr support.
32752 (WIDE): New macro.
32753
619fccca
LD
327542011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32755
2d09f82f 32756 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
32757 * wcsmbs/test-wcslen.c: New file.
32758 * string/test-strlen.c: Update.
32759 Add wcslen support.
32760 (WIDE): New macro.
32761
09f699ea
UD
327622011-10-23 Ulrich Drepper <drepper@gmail.com>
32763
32764 * po/it.po: Update from translation team.
32765
95584d3b
LD
327662011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32767
32768 * sysdeps/x86_64/wcscmp.S: Update.
32769 Fix wrong comparison semantics.
32770 wcscmp shall use signed comparison not unsigned.
32771 Don't use substraction to avoid overflow bug.
32772 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
32773 * wcsmbc/wcscmp.c: Likewise.
32774 * string/test-strcmp.c: Likewise.
32775 Add new tests to check cases with negative values.
32776
c8b3296b
UD
327772011-10-23 Ulrich Drepper <drepper@gmail.com>
32778
32779 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
32780 * sysdeps/x86_64/dla.h: ...here. New file.
32781 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
32782 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32783 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32784 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32785 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32786 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32787 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32788 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32789 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32790
246ad57a
AS
327912011-10-23 Andreas Schwab <schwab@linux-m68k.org>
32792
32793 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
32794 __ynl_finite aliases.
32795
a1a87169
UD
327962011-10-22 Ulrich Drepper <drepper@gmail.com>
32797
0d355eb7
UD
32798 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32799
a1a87169
UD
32800 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
32801 define DLA_FMA.
32802 [DLA_FMA] (EMULV): Use DLA_FMA.
32803 [DLA_FMA] (MUL12): Use EMULV.
32804 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
32805 that are not needed.
32806 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32807 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32808 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32809 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32810 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32811 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32812 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32813
ee2aafe0
AS
328142011-10-22 Andreas Schwab <schwab@linux-m68k.org>
32815
32816 * math/s_nan.c: Undef __nan.
32817 * math/s_nanf.c: Undef __nanf.
32818 * math/s_nanl.c: Undef __nanl.
32819 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
32820 "math_private.h".
32821
bc62c2fb
UD
328222011-10-22 Ulrich Drepper <drepper@gmail.com>
32823
77425c63
UD
32824 * math/s_catan.c: Add branch predictions.
32825 * math/s_catanf.c: Likewise.
32826 * math/s_catanh.c: Likewise.
32827 * math/s_catanhf.c: Likewise.
32828 * math/s_catanhl.c: Likewise.
32829 * math/s_catanl.c: Likewise.
32830 * math/s_cexp.c: Likewise.
32831 * math/s_cexpf.c: Likewise.
32832 * math/s_cexpl.c: Likewise.
32833 * math/s_clog.c: Likewise.
32834 * math/s_clog10.c: Likewise.
32835 * math/s_clog10f.c: Likewise.
32836 * math/s_clog10l.c: Likewise.
32837 * math/s_clogf.c: Likewise.
32838 * math/s_clogl.c: Likewise.
32839 * math/s_csqrt.c: Likewise.
32840 * math/s_csqrtf.c: Likewise.
32841 * math/s_csqrtl.c: Likewise.
32842 * math/s_ctanf.c: Likewise.
32843 * math/s_ctanh.c: Likewise.
32844 * math/s_ctanhf.c: Likewise.
32845 * math/s_ctanhl.c: Likewise.
32846 * math/s_ctanl.c: Likewise.
32847
bc62c2fb
UD
32848 * math/math_private.h: Define __nan, __nanf, __nanl.
32849 * math/s_cacosh.c: Include <math_private.h>.
32850 * math/s_cacoshl.c: Likewise.
32851 * math/s_casinh.c: Likewise.
32852 * math/s_casinhf.c: Likewise.
32853 * math/s_casinhl.c: Likewise.
32854 * math/s_ccos.c: Rely entire on ccosh.
32855 * math/s_ccosf.c: Rely entire on ccoshf.
32856 * math/s_ccosl.c: Rely entirely on ccoshl.
32857 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
32858 Remove tests for FE_INVALID.
32859 * math/s_ccoshf.c: Likewise.
32860 * math/s_ccoshl.c: Likewise.
32861 * math/s_csin.c: Likewise.
32862 * math/s_csinf.c: Likewise.
32863 * math/s_csinh.c Likewise.
32864 * math/s_csinhf.c: Likewise.
32865 * math/s_csinhl.c: Likewise.
32866 * math/s_csinl.c: Likewise.
32867 * math/s_ctan.c: Likewise.
32868 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
32869 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
32870 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
32871
8ec250a4
UD
328722011-10-21 Ulrich Drepper <drepper@gmail.com>
32873
c196fed8
UD
32874 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
32875 compilation problems.
32876
8ec250a4
UD
32877 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
32878 __builtin_expect.
32879
8d4f46c6
UD
328802011-10-20 Ulrich Drepper <drepper@gmail.com>
32881
ed72b654
UD
32882 * sysdeps/i386/configure.in: Test for -mfma4 option.
32883 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
32884 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
32885 COMMON_CPUID_INDEX_80000001.
32886 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
32887 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
32888 use it if FMA3 is not supported.
32889 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
32890
8d4f46c6
UD
32891 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
32892 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
32893
d45c60c2
AS
328942011-10-20 Andreas Schwab <schwab@redhat.com>
32895
32896 [BZ #12892]
32897 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
32898 it would create a cycle with a link time dependency.
32899
d9a4d2ab
UD
329002011-10-19 Ulrich Drepper <drepper@gmail.com>
32901
855d1560
UD
32902 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
32903 instruction.
32904 * string/Makefile (strop-tests): Add rawmemchr.
32905 * string/test-rawmemchr.c: New file.
32906
d9a4d2ab
UD
32907 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
32908 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
32909 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
32910 when compiling str{,n}casecmp and when AVX is available. Hook up
32911 new optimized code in initializers.
32912
8f3b1ffe
AS
329132011-10-19 Andreas Schwab <schwab@redhat.com>
32914
32915 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
32916 __feraiseexcept instead of feraiseexcept.
32917
d38f1dba
UD
329182011-10-18 Ulrich Drepper <drepper@gmail.com>
32919
d9a8d0ab
UD
32920 * math/math_private.h: Define defaults for libc_fetestexcept and
32921 libc_feupdateenv.
32922 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
32923 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
32924 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
32925 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
32926 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
32927 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
32928 libc_fetestexcept and libc_feupdateenv.
32929
4855e3dd
UD
32930 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
32931 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
32932 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
32933 * sysdeps/x86_64/fpu/math_private.h: Define special version of
32934 libc_feholdexcept_setround.
32935
581d30e3
UD
32936 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
32937 Add s_nearbyint-c and s_nearbyintf-c.
32938 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
32939 nearbyintf inlines.
32940 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
32941 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
32942 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
32943 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
32944
d38f1dba
UD
32945 * math/math_private.h: Define defaults for libc_fegetround,
32946 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
32947 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
32948 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
32949 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
32950 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
32951 standard functions.
32952 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
32953 Remove comments and hacks for old compiler versions.
32954 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
32955 libc_fegetround, libc_fesetround, libc_feholdexcept, and
32956 libc_feholdexceptl.
32957
caa6c9d8
AS
329582011-10-18 Andreas Schwab <schwab@redhat.com>
32959
32960 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
32961 (__feraiseexcept_renamed): Add __NTH.
32962 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
32963 namespace violations.
32964
97c066e6
UD
329652011-10-17 Ulrich Drepper <drepper@gmail.com>
32966
99ce7b04
UD
32967 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
32968
1004d182
UD
32969 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
32970
228a984d
UD
32971 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
32972 recently added interfaces.
32973 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
32974
c8553a6a
UD
32975 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
32976 about macro parameter expansion.
32977
ed22dcf6
UD
32978 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
32979 __NO_MATH_INLINES is defined. Cleanups.
32980
32981 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
32982 and __floorf is target has SSE4.1.
32983 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
32984 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
32985 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
32986 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
32987
b171c137
UD
32988 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
32989 name.
32990 (floorf): Likewise.
32991
97c066e6
UD
32992 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
32993
629f62ef
AS
329942011-10-17 Andreas Schwab <schwab@redhat.com>
32995
49a43d80
AS
32996 * misc/sys/cdefs.h: Fix last change.
32997
629f62ef
AS
32998 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
32999 database lookup.
33000
e453f6cd
UD
330012011-10-16 Ulrich Drepper <drepper@gmail.com>
33002
aa78043a
UD
33003 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
33004
ad0f5cad
UD
33005 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
33006 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33007 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33008 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33009 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33010 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33011 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33012 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33013 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33014 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
33015 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
33016 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
33017 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
33018 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
33019 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
33020 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
33021 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
33022 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
33023 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
33024 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
33025 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
33026 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
33027
33028 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
33029 ceil, ceilf, floor, floorf.
33030
33031 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
33032 Perform IRELATIVE relocations last.
33033
e453f6cd
UD
33034 * elf/do-rel.h: Add another parameter nrelative, replacing the
33035 local variable with the same name. Change name of the function
33036 to end in Rel or Rela (uppercase).
33037 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
33038 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
33039 elf_dynamic_do_##reloc function.
33040
fd5bdc09
UD
330412011-10-15 Ulrich Drepper <drepper@gmail.com>
33042
79b195b5
UD
33043 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
33044 is sufficient, at least on modern CPUs.
33045
d4a28569
UD
33046 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
33047
b61099b5
UD
33048 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
33049 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
33050
bcf01e6d
UD
33051 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
33052 __expl_finite.
33053 * math/bits/math-finite.h: Add entries for exp.
33054 * math/e_expl.c: Add __*_finite alias.
33055 * sysdeps/i386/fpu/e_exp.S: Likewise.
33056 * sysdeps/i386/fpu/e_expf.S: Likewise.
33057 * sysdeps/i386/fpu/e_expl.c: Likewise.
33058 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33059 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
33060 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
33061 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
33062 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
33063 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
33064 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
33065
ba1a0d59
UD
33066 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
33067 is sufficient, at least on modern CPUs.
33068
fd5bdc09
UD
33069 * ctype/ctype-info.c (__ctype_init): Define.
33070 * include/ctype.h (__ctype_init): Declare.
33071 (__ctype_b_loc): The variable is always initialized.
33072 (__ctype_toupper_loc): Likewise.
33073 (__ctype_tolower_loc): Likewise.
33074 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
33075 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
33076
7872cfb0
AS
330772011-10-15 Andreas Schwab <schwab@linux-m68k.org>
33078
b468825a
AS
33079 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
33080
7872cfb0
AS
33081 * configure.in: Also look in $cxxmachine/include for C++ system
33082 headers.
33083
be13f7bf
LD
330842011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33085
33086 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
33087 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
33088 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
33089 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
33090 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
33091 (USE_AS_WMEMCMP): New macro.
33092 Fixing indents.
33093 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
33094 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
33095 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
33096 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
33097 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33098 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
33099 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
33100 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
33101 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
33102 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
33103 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
33104 (USE_AS_WMEMCMP): New macro.
33105 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
33106 * sysdeps/string/test-memcmp.c: Update.
33107 Fix simple_wmemcmp.
33108 Add new tests.
33109 * wcsmbs/wmemcmp.c: Update.
33110 (WMEMCMP): New macro.
33111 Fix overflow bug.
33112
556a2007
AJ
331132011-10-12 Andreas Jaeger <aj@suse.de>
33114
33115 [BZ #13268]
33116 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
33117
538faaa7
UD
331182011-10-15 Ulrich Drepper <drepper@gmail.com>
33119
ab6737ff
UD
33120 * libio/iofwide.c (do_length): Avoid warning.
33121
538faaa7
UD
33122 * ctype/ctype.h (__isctype_f): Add missing __THROW.
33123
396a21b1
UD
331242011-10-14 Ulrich Drepper <drepper@gmail.com>
33125
cdf2901f
UD
33126 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
33127
38ad40ce
UD
33128 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
33129 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
33130 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
33131 * sysdeps/i386/i686/fpu/e_log.S: New file.
33132 * sysdeps/i386/i686/fpu/e_logf.S: New file.
33133 * sysdeps/i386/i686/fpu/e_logl.S: New file.
33134
396a21b1
UD
33135 * ctype/ctype.h: Add support for inlined isXXX functions when
33136 compiling C++ code.
33137
6b1f68c9
AS
331382011-10-14 Andreas Schwab <schwab@redhat.com>
33139
349290c0
AS
33140 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33141
6b1f68c9
AS
33142 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
33143
f2282d42
RM
331442011-10-13 Roland McGrath <roland@hack.frob.com>
33145
33146 [BZ #13291]
33147 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
33148
5298ffa8
AS
331492011-10-13 Andreas Schwab <schwab@redhat.com>
33150
714fad23
AS
33151 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
33152 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
33153 feraiseexcept.
33154
81dcc7fb
AS
33155 * sysdeps/x86_64/memrchr.S: Check for zero size.
33156
5298ffa8
AS
33157 * string/stratcliff.c: Add memrchr tests.
33158
951fbcec
LD
331592011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33160
33161 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33162 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
33163 rawmemchr-sse2 rawmemchr-sse2-bsf.
33164 * sysdeps/i386/i686/multiarch/memchr.S: New file.
33165 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
33166 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
33167 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
33168 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
33169 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
33170 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
33171 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
33172 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
33173 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
33174 * string/memrchr.c (MEMRCHR): New macro.
33175
0ac5ae23
UD
331762011-10-12 Ulrich Drepper <drepper@gmail.com>
33177
33178 Add integration with gcc's -ffinite-math-only and optimize wrapper
33179 functions in libm.
33180 * Versions.def: Define GLIBC_2.15 version for libm.
33181 * math/Makefile (headers): Add bits/math-finite.h.
33182 * math/bits/math-finite.h: New file.
33183 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
33184 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
33185 * math/e_acoshl.c: Add __*_finite alias.
33186 * math/e_acosl.c: Likewise.
33187 * math/e_asinl.c: Likewise.
33188 * math/e_atan2l.c: Likewise.
33189 * math/e_atanhl.c: Likewise.
33190 * math/e_coshl.c: Likewise.
33191 * math/e_exp10.c: Likewise.
33192 * math/e_exp10f.c: Likewise.
33193 * math/e_exp10l.c: Likewise.
33194 * math/e_exp2l.c: Likewise.
33195 * math/e_fmodl.c: Likewise.
33196 * math/e_gammal_r.c: Likewise.
33197 * math/e_hypotl.c: Likewise.
33198 * math/e_j0l.c: Likewise.
33199 * math/e_j1l.c: Likewise.
33200 * math/e_jnl.c: Likewise.
33201 * math/e_lgammal_r.c: Likewise.
33202 * math/e_log10l.c: Likewise.
33203 * math/e_log2l.c: Likewise.
33204 * math/e_logl.c: Likewise.
33205 * math/e_powl.c: Likewise.
33206 * math/e_sinhl.c: Likewise.
33207 * math/e_sqrtl.c: Likewise.
33208 * math/e_scalb.c: Completely rewritten and optimized.
33209 * math/e_scalbf.c: Likewise.
33210 * math/e_scalbl.c: Likewise.
33211 * math/w_acos.c: Likewise.
33212 * math/w_acosf.c: Likewise.
33213 * math/w_acosl.c: Likewise.
33214 * math/w_acosh.c: Likewise.
33215 * math/w_acoshf.c: Likewise.
33216 * math/w_acoshl.c: Likewise.
33217 * math/w_asin.c: Likewise.
33218 * math/w_asinf.c: Likewise.
33219 * math/w_asinl.c: Likewise.
33220 * math/w_atan2.c: Likewise.
33221 * math/w_atan2f.c: Likewise.
33222 * math/w_atan2l.c: Likewise.
33223 * math/w_atanh.c: Likewise.
33224 * math/w_atanhf.c: Likewise.
33225 * math/w_atanhl.c: Likewise.
33226 * math/w_exp10.c: Likewise.
33227 * math/w_exp10f.c: Likewise.
33228 * math/w_exp10l.c: Likewise.
33229 * math/w_fmod.c: Likewise.
33230 * math/w_fmodf.c: Likewise.
33231 * math/w_fmodl.c: Likewise.
33232 * math/w_j0.c: Likewise.
33233 * math/w_j0f.c: Likewise.
33234 * math/w_j0l.c: Likewise.
33235 * math/w_j1.c: Likewise.
33236 * math/w_j1f.c: Likewise.
33237 * math/w_j1l.c: Likewise.
33238 * math/w_jn.c: Likewise.
33239 * math/w_jnf.c: Likewise.
33240 * math/w_log.c: Likewise.
33241 * math/w_logf.c: Likewise.
33242 * math/w_logl.c: Likewise.
33243 * math/w_log10.c: Likewise.
33244 * math/w_log10f.c: Likewise.
33245 * math/w_log10l.c: Likewise.
33246 * math/w_log2.c: Likewise.
33247 * math/w_log2f.c: Likewise.
33248 * math/w_log2l.c: Likewise.
33249 * math/w_pow.c: Likewise.
33250 * math/w_powf.c: Likewise.
33251 * math/w_powl.c: Likewise.
33252 * math/w_remainder.c: Likewise.
33253 * math/w_remainderf.c: Likewise.
33254 * math/w_remainderl.c: Likewise.
33255 * math/w_scalb.c: Likewise.
33256 * math/w_scalbf.c: Likewise.
33257 * math/w_scalbl.c: Likewise.
33258 * math/w_sqrt.c: Likewise.
33259 * math/w_sqrtf.c: Likewise.
33260 * math/w_sqrtl.c: Likewise.
33261 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
33262 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
33263 used.
33264 * math/math_private.h: Declare __kernel_standard_f.
33265 * math/w_cosh.c: Remove cruft and optimize a bit.
33266 * math/w_coshf.c: Likewise.
33267 * math/w_coshl.c: Likewise.
33268 * math/w_exp2.c: Likewise.
33269 * math/w_exp2f.c: Likewise.
33270 * math/w_exp2l.c: Likewise.
33271 * math/w_hypot.c: Likewise.
33272 * math/w_hypotf.c: Likewise.
33273 * math/w_hypotl.c: Likewise.
33274 * math/w_lgamma.c: Likewise.
33275 * math/w_lgamma_r.c: Likewise.
33276 * math/w_lgammaf.c: Likewise.
33277 * math/w_lgammaf_r.c: Likewise.
33278 * math/w_lgammal.c: Likewise.
33279 * math/w_lgammal_r.c: Likewise.
33280 * math/w_sinh.c: Likewise.
33281 * math/w_sinhf.c: Likewise.
33282 * math/w_sinhl.c: Likewise.
33283 * math/w_tgamma.c: Likewise.
33284 * math/w_tgammaf.c: Likewise.
33285 * math/w_tgammal.c: Likewise.
33286 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33287 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33288 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
33289 Minor optimizations. Pretty printing. Remove cruft.
33290 * sysdeps/i386/fpu/e_acosf.S: Likewise.
33291 * sysdeps/i386/fpu/e_acosh.S: Likewise.
33292 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
33293 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
33294 * sysdeps/i386/fpu/e_acosl.c: Likewise.
33295 * sysdeps/i386/fpu/e_asin.S: Likewise.
33296 * sysdeps/i386/fpu/e_asinf.S: Likewise.
33297 * sysdeps/i386/fpu/e_atan2.S: Likewise.
33298 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
33299 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
33300 * sysdeps/i386/fpu/e_atanh.S: Likewise.
33301 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
33302 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
33303 * sysdeps/i386/fpu/e_exp10.S: Likewise.
33304 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
33305 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
33306 * sysdeps/i386/fpu/e_exp2.S: Likewise.
33307 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
33308 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
33309 * sysdeps/i386/fpu/e_fmod.S: Likewise.
33310 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
33311 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
33312 * sysdeps/i386/fpu/e_hypot.S: Likewise.
33313 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
33314 * sysdeps/i386/fpu/e_log.S: Likewise.
33315 * sysdeps/i386/fpu/e_log10.S: Likewise.
33316 * sysdeps/i386/fpu/e_log10f.S: Likewise.
33317 * sysdeps/i386/fpu/e_log10l.S: Likewise.
33318 * sysdeps/i386/fpu/e_log2.S: Likewise.
33319 * sysdeps/i386/fpu/e_log2f.S: Likewise.
33320 * sysdeps/i386/fpu/e_log2l.S: Likewise.
33321 * sysdeps/i386/fpu/e_logf.S: Likewise.
33322 * sysdeps/i386/fpu/e_logl.S: Likewise.
33323 * sysdeps/i386/fpu/e_pow.S: Likewise.
33324 * sysdeps/i386/fpu/e_powf.S: Likewise.
33325 * sysdeps/i386/fpu/e_powl.S: Likewise.
33326 * sysdeps/i386/fpu/e_remainder.S: Likewise.
33327 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
33328 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
33329 * sysdeps/i386/fpu/e_scalb.S: Likewise.
33330 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
33331 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
33332 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
33333 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
33334 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
33335 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33336 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33337 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33338 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33339 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33340 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33341 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
33342 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33343 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33344 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33345 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33346 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33347 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33348 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33349 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33350 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33351 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33352 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33353 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33354 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33355 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33356 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33357 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33358 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33359 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33360 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33361 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33362 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33363 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
33364 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33365 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33366 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33367 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33368 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33369 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33370 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33371 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33372 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33373 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33374 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33375 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33376 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33377 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33378 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33379 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33380 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33381 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33382 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33383 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33384 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
33385 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33386 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33387 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33388 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33389 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33390 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33391 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33392 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33393 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33394 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33395 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33396 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33397 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33398 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33399 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33400 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33401 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33402 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33403 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
33404 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33405 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33406 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33407 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33408 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33409 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33410 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33411 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33412 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33413 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33414 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33415 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33416 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33417 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
33418 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33419 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33420 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33421 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33422 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33423 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33424 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33425 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33426 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33427 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33428 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
33429 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33430 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
33431 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
33432 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
33433 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
33434 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
33435 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
33436 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
33437 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
33438 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
33439 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
33440 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
33441 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
33442 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33443 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
33444 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
33445 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
33446 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
33447 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
33448 (__isnanf): Likewise.
33449 (__isinf_ns): Likewise.
33450 (__isinf_nsf): Likewise.
33451 (__finite): Likewise.
33452 (__finitef): Likewise.
33453 (__ieee754_sqrt): Define as macro.
33454 (__ieee754_sqrtf): Define as macro.
33455 (__ieee754_sqrtl): Define as macro.
33456 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
33457 inlined copy.
33458 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
33459 __FINITE_MATH_ONLY__ consistent.
33460 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
33461
12cc2fcd
AS
334622011-10-10 Andreas Schwab <schwab@linux-m68k.org>
33463
a843a204
AS
33464 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
33465 of rawmemchr.
33466
12cc2fcd
AS
33467 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
33468
c853acd5
UD
334692011-10-09 Ulrich Drepper <drepper@gmail.com>
33470
33471 * po/ja.po: Update from translation team.
33472
c658d255
RM
334732011-10-08 Roland McGrath <roland@hack.frob.com>
33474
110946e4
RM
33475 * locale/programs/locarchive.c (prepare_address_space): New function.
33476 (create_archive, enlarge_archive, open_archive): Use it.
33477
50604220
RM
33478 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
33479 inside [SHARED], where it is used.
33480
c658d255
RM
33481 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
33482
33483 * nss/getent.c (netgroup_keys): Remove unused variable.
33484 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33485
6a621eb7
UD
334862011-10-08 Ulrich Drepper <drepper@gmail.com>
33487
7edb55ce
UD
33488 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
33489 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
33490 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
33491 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
33492 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
33493 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
33494 * math/Makefile (libm-calls): Add s_isinf_ns.
33495 * math/divtc3.c: Use __isinf_nsl instead of isinf.
33496 * math/multc3.c: Likewise.
33497 * math/s_casin.c: Likewise.
33498 * math/s_casinf.c: Likewise.
33499 * math/s_casinl.c: Likewise.
33500 * math/s_ccos.c: Likewise.
33501 * math/s_ccosf.c: Likewise.
33502 * math/s_ccosl.c: Likewise.
33503 * math/s_ctan.c: Likewise.
33504 * math/s_ctanf.c: Likewise.
33505 * math/s_ctanh.c: Likewise.
33506 * math/s_ctanhf.c: Likewise.
33507 * math/s_ctanhl.c: Likewise.
33508 * math/s_ctanl.c: Likewise.
33509 * math/w_fmod.c: Likewise.
33510 * math/w_fmodf.c: Likewise.
33511 * math/w_fmodl.c: Likewise.
33512 * math/w_remainder.c: Likewise.
33513 * math/w_remainderf.c: Likewise.
33514 * math/w_remainderl.c: Likewise.
33515 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
33516 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
33517 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
33518 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
33519 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
33520 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
33521 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
33522 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
33523
187da0ae
UD
33524 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
33525 of the number.
33526 * stdio-common/printf_fphex.c: Likewise.
33527 * stdio-common/printf_size.c: Likewise.
33528
9277c064
UD
33529 * math/e_exp10.c: Include math_private.h using <...> not "...".
33530 * math/e_exp10f.c: Likewise.
33531 * math/e_exp10l.c: Likewise.
33532 * math/e_exp2l.c: Likewise.
33533 * math/e_j0l.c: Likewise.
33534 * math/e_j1l.c: Likewise.
33535 * math/e_jnl.c: Likewise.
33536 * math/e_lgammal_r.c: Likewise.
33537 * math/e_rem_pio2l.c: Likewise.
33538 * math/e_scalb.c: Likewise.
33539 * math/e_scalbf.c: Likewise.
33540 * math/e_scalbl.c: Likewise.
33541 * math/k_cosl.c: Likewise.
33542 * math/k_sinl.c: Likewise.
33543 * math/k_tanl.c: Likewise.
33544 * math/s_cacoshf.c: Likewise.
33545 * math/s_catan.c: Likewise.
33546 * math/s_catanf.c: Likewise.
33547 * math/s_catanh.c: Likewise.
33548 * math/s_catanhf.c: Likewise.
33549 * math/s_catanhl.c: Likewise.
33550 * math/s_catanl.c: Likewise.
33551 * math/s_ccosh.c: Likewise.
33552 * math/s_ccoshf.c: Likewise.
33553 * math/s_ccoshl.c: Likewise.
33554 * math/s_cexp.c: Likewise.
33555 * math/s_cexpf.c: Likewise.
33556 * math/s_cexpl.c: Likewise.
33557 * math/s_clog.c: Likewise.
33558 * math/s_clog10.c: Likewise.
33559 * math/s_clog10f.c: Likewise.
33560 * math/s_clog10l.c: Likewise.
33561 * math/s_clogf.c: Likewise.
33562 * math/s_clogl.c: Likewise.
33563 * math/s_csin.c: Likewise.
33564 * math/s_csinf.c: Likewise.
33565 * math/s_csinh.c: Likewise.
33566 * math/s_csinhf.c: Likewise.
33567 * math/s_csinhl.c: Likewise.
33568 * math/s_csinl.c: Likewise.
33569 * math/s_csqrt.c: Likewise.
33570 * math/s_csqrtf.c: Likewise.
33571 * math/s_csqrtl.c: Likewise.
33572 * math/s_ctan.c: Likewise.
33573 * math/s_ctanf.c: Likewise.
33574 * math/s_ctanh.c: Likewise.
33575 * math/s_ctanhf.c: Likewise.
33576 * math/s_ctanhl.c: Likewise.
33577 * math/s_ctanl.c: Likewise.
33578 * math/s_ldexp.c: Likewise.
33579 * math/s_ldexpf.c: Likewise.
33580 * math/s_ldexpl.c: Likewise.
33581 * math/s_significand.c: Likewise.
33582 * math/s_significandf.c: Likewise.
33583 * math/s_significandl.c: Likewise.
33584 * math/w_acos.c: Likewise.
33585 * math/w_acosf.c: Likewise.
33586 * math/w_acosh.c: Likewise.
33587 * math/w_acoshf.c: Likewise.
33588 * math/w_acoshl.c: Likewise.
33589 * math/w_acosl.c: Likewise.
33590 * math/w_asin.c: Likewise.
33591 * math/w_asinf.c: Likewise.
33592 * math/w_asinl.c: Likewise.
33593 * math/w_atan2.c: Likewise.
33594 * math/w_atan2f.c: Likewise.
33595 * math/w_atan2l.c: Likewise.
33596 * math/w_atanh.c: Likewise.
33597 * math/w_atanhf.c: Likewise.
33598 * math/w_atanhl.c: Likewise.
33599 * math/w_cosh.c: Likewise.
33600 * math/w_coshf.c: Likewise.
33601 * math/w_coshl.c: Likewise.
33602 * math/w_dremf.c: Likewise.
33603 * math/w_exp10.c: Likewise.
33604 * math/w_exp10f.c: Likewise.
33605 * math/w_exp10l.c: Likewise.
33606 * math/w_exp2.c: Likewise.
33607 * math/w_exp2f.c: Likewise.
33608 * math/w_fmod.c: Likewise.
33609 * math/w_fmodf.c: Likewise.
33610 * math/w_fmodl.c: Likewise.
33611 * math/w_hypot.c: Likewise.
33612 * math/w_hypotf.c: Likewise.
33613 * math/w_hypotl.c: Likewise.
33614 * math/w_j0.c: Likewise.
33615 * math/w_j0f.c: Likewise.
33616 * math/w_j0l.c: Likewise.
33617 * math/w_j1.c: Likewise.
33618 * math/w_j1f.c: Likewise.
33619 * math/w_j1l.c: Likewise.
33620 * math/w_jn.c: Likewise.
33621 * math/w_jnf.c: Likewise.
33622 * math/w_jnl.c: Likewise.
33623 * math/w_lgamma.c: Likewise.
33624 * math/w_lgamma_r.c: Likewise.
33625 * math/w_lgammaf.c: Likewise.
33626 * math/w_lgammaf_r.c: Likewise.
33627 * math/w_lgammal.c: Likewise.
33628 * math/w_lgammal_r.c: Likewise.
33629 * math/w_log.c: Likewise.
33630 * math/w_log10.c: Likewise.
33631 * math/w_log10f.c: Likewise.
33632 * math/w_log10l.c: Likewise.
33633 * math/w_log2.c: Likewise.
33634 * math/w_log2f.c: Likewise.
33635 * math/w_log2l.c: Likewise.
33636 * math/w_logf.c: Likewise.
33637 * math/w_logl.c: Likewise.
33638 * math/w_pow.c: Likewise.
33639 * math/w_powf.c: Likewise.
33640 * math/w_powl.c: Likewise.
33641 * math/w_remainder.c: Likewise.
33642 * math/w_remainderf.c: Likewise.
33643 * math/w_remainderl.c: Likewise.
33644 * math/w_scalb.c: Likewise.
33645 * math/w_scalbf.c: Likewise.
33646 * math/w_scalbl.c: Likewise.
33647 * math/w_sinh.c: Likewise.
33648 * math/w_sinhf.c: Likewise.
33649 * math/w_sinhl.c: Likewise.
33650 * math/w_sqrt.c: Likewise.
33651 * math/w_sqrtf.c: Likewise.
33652 * math/w_sqrtl.c: Likewise.
33653 * math/w_tgamma.c: Likewise.
33654 * math/w_tgammaf.c: Likewise.
33655 * math/w_tgammal.c: Likewise.
33656
6a621eb7
UD
33657 * po/ja.po: Update from translation team.
33658
bf582445
AJ
336592011-09-29 Andreas Jaeger <aj@suse.de>
33660
f9efbf3a
AJ
33661 [BZ #13179]
33662 * sunrpc/netname.c (netname2host): Fix logic.
33663
bf582445
AJ
33664 [BZ #6779]
33665 [BZ #6783]
33666 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
33667 correctly.
33668 * math/w_remainder.c (__remainder): Likewise.
33669 * math/w_remainderf.c (__remainderf): Likewise.
33670 * math/libm-test.inc (remainder_test): Add test cases.
33671
48693bea
AK
336722011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33673
33674 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
33675 sdiv_qrnnd.
33676
42622229
LD
336772011-10-07 Ulrich Drepper <drepper@gmail.com>
33678
33679 * string/test-memcmp.c: Avoid unncessary #defines.
33680 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
33681
093ecf92
LD
336822011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33683
33684 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
33685 Use new sse2 version for core i3 - i7 as it's faster
33686 than sse42 version.
33687 (bit_Prefer_PMINUB_for_stringop): New.
33688 * sysdeps/x86_64/rawmemchr.S: Update.
33689 Replace with faster SSE2 version.
33690 * sysdeps/x86_64/memrchr.S: New file.
33691 * sysdeps/x86_64/memchr.S: Update.
33692 Replace with faster SSE2 version.
33693
fde56e5c
MP
336942011-09-12 Marek Polacek <mpolacek@redhat.com>
33695
33696 * elf/dl-load.c (lose): Add cast to avoid warning.
33697
21fd49a9
UD
336982011-10-07 Ulrich Drepper <drepper@gmail.com>
33699
5a06e643
UD
33700 * po/ca.po: Update from translation team.
33701
684ae515
UD
33702 * inet/getnetgrent_r.c: Hook up nscd.
33703 * nscd/Makefile (routines): Add nscd_netgroup.
33704 (nscd-modules): Add netgroupcache.
33705 (CFLAGS-netgroupcache.c): Define.
33706 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
33707 (cache_search): Add const to second parameter.
33708 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
33709 INNETGR.
33710 (dbs): Add netgrdb entry.
33711 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
33712 (verify_persistent_db): Handle netgrdb.
33713 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
33714 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
33715 GETFDNETGR.
33716 (netgroup_response_header): Define.
33717 (innetgroup_response_header): Define.
33718 (datahead): Add netgroup_response_header and innetgroup_response_header
33719 elements.
33720 * nscd/nscd.conf: Add entries for netgroup cache.
33721 * nscd/nscd.h (dbtype): Add netgrdb.
33722 (_PATH_NSCD_NETGROUP_DB): Define.
33723 (netgroup_iov_disabled): Declare.
33724 (xmalloc, xcalloc, xrealloc): Move declarations here.
33725 (cache_search): Adjust prototype.
33726 Add netgroup-related prototypes.
33727 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
33728 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
33729 (__nscd_innetgr): Declare.
33730 * nscd/selinux.c (perms): Use access_vector_t as element type and
33731 add netgroup-related initializers.
33732 * nscd/netgroupcache.c: New file.
33733 * nscd/nscd_netgroup.c: New file.
33734 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
33735 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
33736 For four parameters use innetgr.
33737 * nss/nss_files/files-init.c: Add definition and callback for netgr.
33738 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
33739 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
33740 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
33741
21fd49a9
UD
33742 * nscd/connections.c (register_traced_file): Don't register file
33743 for disabled databases.
33744
054c0457
UD
337452011-10-06 Ulrich Drepper <drepper@gmail.com>
33746
32b63198
UD
33747 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
33748
054c0457
UD
33749 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
33750 from tree and freeing node.
33751
64031225
JO
337522011-09-25 Jiri Olsa <jolsa@redhat.com>
33753
33754 * nss/nsswitch.c (__nss_database_lookup): Handle
33755 nss_parse_service_list out of memory case.
33756
0490345c
JO
337572011-09-15 Jiri Olsa <jolsa@redhat.com>
33758
33759 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
33760 out of memory case.
33761
3a62d00d
AS
337622011-10-04 Andreas Schwab <schwab@redhat.com>
33763
33764 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
33765 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
33766 pass it down.
33767 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
33768 elf_machine_rela, elf_machine_lazy_rel.
33769 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
33770 (ELF_DYNAMIC_DO_REL): Likewise.
33771 (ELF_DYNAMIC_DO_RELA): Likewise.
33772 (ELF_DYNAMIC_RELOCATE): Likewise.
33773 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
33774 to ELF_DYNAMIC_DO_REL.
33775 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
33776 (dl_main): In trace mode always set __RTLD_NOIFUNC.
33777 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
33778 elf_machine_rela.
33779 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
33780 skip_ifunc, don't call ifunc function if non-zero.
33781 (elf_machine_rela): Likewise.
33782 (elf_machine_lazy_rel): Likewise.
33783 (elf_machine_lazy_rela): Likewise.
33784 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
33785 (elf_machine_lazy_rel): Likewise.
33786 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
33787 Likewise.
33788 (elf_machine_lazy_rel): Likewise.
33789 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33790 Likewise.
33791 (elf_machine_lazy_rel): Likewise.
33792 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
33793 (elf_machine_lazy_rel): Likewise.
33794 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
33795 (elf_machine_lazy_rel): Likewise.
33796 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
33797 (elf_machine_lazy_rel): Likewise.
33798 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
33799 (elf_machine_lazy_rel): Likewise.
33800 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
33801 (elf_machine_lazy_rel): Likewise.
33802 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
33803 (elf_machine_lazy_rel): Likewise.
33804
68577918
UD
338052011-09-28 Ulrich Drepper <drepper@gmail.com>
33806
33807 * nss/nss_files/files-init.c (_nss_files_init): Use static
33808 initialization for all the *_traced_file variables.
33809
68822d74
AS
338102011-09-28 Andreas Schwab <schwab@redhat.com>
33811
33812 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33813
2056100b
RM
338142011-09-27 Roland McGrath <roland@hack.frob.com>
33815
33816 [BZ #13226]
33817 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
33818
32c76b63
AS
338192011-09-27 Andreas Schwab <schwab@redhat.com>
33820
33821 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
33822 Reread the line before reparsing it.
33823
bf972c9d
AS
338242011-09-26 Andreas Schwab <schwab@redhat.com>
33825
33826 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
33827
e057a1b5
JM
338282011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
33829 Maxim Kuvyrkov <maxim@codesourcery.com>
33830 Joseph Myers <joseph@codesourcery.com>
33831
33832 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
33833 if needed for __stack_chk_guard.
33834
bc7e1c36
RM
338352011-09-19 Roland McGrath <roland@hack.frob.com>
33836
ecb1482f
RM
33837 * sysdeps/posix/spawni.c (script_execute): Always define it.
33838 It will be optimized away if unused.
33839 (maybe_script_execute): New function.
33840 (__spawni): Call it.
33841
bc7e1c36
RM
33842 * Makerules: Don't include tls.make.
33843 (config-tls): Always set to thread.
33844 * tls.make.c: File removed.
33845
1c3b002b
MF
338462011-09-19 Mike Frysinger <vapier@gentoo.org>
33847
33848 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
33849 * config.make.in (CPPFLAGS-config): New substituted variable.
33850
2840865d
UD
338512011-09-15 Ulrich Drepper <drepper@gmail.com>
33852
88738eb6
UD
33853 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
33854
cbf645a6 33855 [BZ #13192]
2840865d
UD
33856 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
33857 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
33858
b402e91a
RM
338592011-09-15 Roland McGrath <roland@hack.frob.com>
33860
33861 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
33862 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
33863 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
33864 (CALL_FAIL): Likewise.
33865 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
33866 (CALL_FAIL): Macro removed.
33867 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
33868
4c1a1f71
UD
338692011-09-15 Ulrich Drepper <drepper@gmail.com>
33870
33871 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
33872 for __FINITE_MATH_ONLY__ == 1.
33873
edc121be
AS
338742011-09-15 Andreas Schwab <schwab@redhat.com>
33875
33876 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
33877 __ieee754_sqrt instead of sqrt.
33878 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
33879 __ieee754_sqrtf instead of sqrtf.
33880 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
33881 __floorf instead of floorf.
33882 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
33883 __floorf, __truncf instead of floorf, truncf.
33884
cd205654
UD
338852011-09-14 Ulrich Drepper <drepper@gmail.com>
33886
ee4d0315
UD
33887 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
33888
cd205654
UD
33889 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
33890 __extern_always_inline.
33891 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
33892 32-bit.
33893
48b67d71
AS
338942011-09-14 Andreas Schwab <schwab@redhat.com>
33895
33896 * elf/rtld.c (dl_main): Also relocate in dependency order when
33897 doing symbol dependency testing.
33898
1ae12c75
AS
338992011-09-13 Andreas Schwab <schwab@linux-m68k.org>
33900
33901 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33902 Always define `refsym'.
33903
995a80df
AS
339042011-09-13 Andreas Schwab <schwab@redhat.com>
33905
e529793b
AS
33906 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
33907 (__FD_ELT): Renamed from __FDELT.
33908 * misc/bits/select2.h (__FD_ELT): Likewise.
33909 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
33910 __FD_MASK instead of __FDELT, __FDMASK.
33911 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
33912 Likewise.
33913 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
33914 Likewise.
33915
52d4fef8
AS
33916 * elf/Makefile (gen-ldd): Fix pattern.
33917
995a80df
AS
33918 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
33919 (init_tls): Likewise.
33920
8682f8b0
UD
339212011-09-12 Ulrich Drepper <drepper@gmail.com>
33922
33923 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
33924
de82006d
AS
339252011-09-12 Andreas Schwab <schwab@redhat.com>
33926
a7c8e6a1
AS
33927 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
33928 `struct cmsghdr *' instead of `void *'.
33929 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
33930 Likewise.
33931
0f31fe77
AS
339322011-09-11 Andreas Schwab <schwab@linux-m68k.org>
33933
33934 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
33935 if non-absolute.
33936 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
33937 ldd_rewrite_script.
0f31fe77 33938
32b4c839
UD
339392011-09-11 Ulrich Drepper <drepper@gmail.com>
33940
83cd1420
UD
33941 * configure.in: Remove --with-tls option.
33942 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
33943 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
33944 out in case it is missing.
33945 * sysdeps/ia64/elf/configure.in: Likewise.
33946 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
33947 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
33948 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
33949 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
33950 * sysdeps/sh/elf/configure.in: Likewise.
33951 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
33952 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
33953 * sysdeps/x86_64/elf/configure.in: Likewise.
33954 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
33955 * sysdeps/mach/hurd/tls.h: Likewise.
33956
633f745d
UD
33957 [BZ #13067]
33958 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
33959
f318beb8
UD
33960 [BZ #13090]
33961 * configure.in: Fix use of AC_INIT.
33962
32b4c839
UD
33963 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
33964
3ce1f295
UD
339652011-09-10 Ulrich Drepper <drepper@gmail.com>
33966
bb016596
UD
33967 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
33968 __set_errno.
8e58439c
UD
33969 * malloc/hooks.c: Likewise.
33970
aebae053 33971 [BZ #11929]
02d46fc4
UD
33972 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
33973 variables statically.
33974 (narenas): Initialize.
33975 (list_lock): Initialize.
bb016596
UD
33976 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
33977 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
33978 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
33979 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
33980 Add initializers to main_arena and mp_.
33981 (malloc_state): Remove pagesize member. Change all users to use
33982 GLRO(dl_pagesize).
33983
33984 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
33985 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
33986 is always initialized.
33987
22a89187
UD
33988 * malloc/malloc.c: Removed unused configurations and dead code.
33989 * malloc/arena.c: Likewise.
33990 * malloc/hooks.c: Likewise.
02d46fc4 33991 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 33992
d063d164
UD
33993 * include/tls.h: Removed. USE___THREAD must always be defined.
33994 * bits/libc-tsd.h: Don't handle !USE___THREAD.
33995 * elf/dl-libc.c: Likewise.
33996 * elf/dl-tsd.c: Likewise.
33997 * include/errno.h: Likewise.
33998 * include/netdb.h: Likewise.
33999 * include/resolv.h: Likewise.
34000 * inet/herrno-loc.c: Likewise.
34001 * inet/herrno.c: Likewise.
34002 * malloc/arena.c: Likewise.
34003 * malloc/hooks.c: Likewise.
34004 * malloc/malloc.c: Likewise.
34005 * resolv/res-state.c: Likewise.
34006 * resolv/res_libc.c: Likewise.
34007 * sysdeps/i386/dl-machine.h: Likewise.
34008 * sysdeps/ia64/dl-machine.h: Likewise.
34009 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
34010 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
34011 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
34012 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
34013 * sysdeps/sh/dl-machine.h: Likewise.
34014 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34015 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34016 * sysdeps/unix/i386/sysdep.S: Likewise.
34017 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
34018 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
34019 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
34020 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
34021 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
34022 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
34023 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
34024 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34025 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34026 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
34027 * sysdeps/unix/x86_64/sysdep.S: Likewise.
34028 * sysdeps/x86_64/dl-machine.h: Likewise.
34029 * tls.make.c: Likewise.
34030
3ce1f295
UD
34031 * configure.in: Remove --with-__thread option. Make tests for
34032 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
34033 tls_model attribute fail if no support is available. Remove
34034 USE_IN_LIBIO.
34035 * Makeconfig: Adjust for dropped configure option. All features are
34036 now mandatory.
34037 * Makerules: Likewise.
34038 * Versions.def: Likewise.
34039 * argp/argp-fmtstream.c: Likewise.
34040 * argp/argp-fmtstream.h: Likewise.
34041 * argp/argp-help.c: Likewise.
34042 * assert/assert.c: Likewise.
34043 * config.h.in: Likewise.
34044 * config.make.in: Likewise.
34045 * configure: Likewise.
34046 * configure.in: Likewise.
34047 * csu/Versions: Likewise.
34048 * csu/init.c: Likewise.
34049 * elf/tst-audit2.c: Likewise.
34050 * elf/tst-tls10.c: Likewise.
34051 * elf/tst-tls10.h: Likewise.
34052 * elf/tst-tls11.c: Likewise.
34053 * elf/tst-tls12.c: Likewise.
34054 * elf/tst-tls14.c: Likewise.
34055 * elf/tst-tlsmod11.c: Likewise.
34056 * elf/tst-tlsmod12.c: Likewise.
34057 * elf/tst-tlsmod13.c: Likewise.
34058 * elf/tst-tlsmod13a.c: Likewise.
34059 * elf/tst-tlsmod14a.c: Likewise.
34060 * elf/tst-tlsmod15b.c: Likewise.
34061 * elf/tst-tlsmod16a.c: Likewise.
34062 * elf/tst-tlsmod16b.c: Likewise.
34063 * elf/tst-tlsmod7.c: Likewise.
34064 * elf/tst-tlsmod8.c: Likewise.
34065 * elf/tst-tlsmod9.c: Likewise.
34066 * gmon/gmon.c: Likewise.
34067 * grp/fgetgrent_r.c: Likewise.
34068 * grp/putgrent.c: Likewise.
34069 * hurd/fopenport.c: Likewise.
34070 * include/libc-symbols.h: Likewise.
34071 * include/tls.h: Likewise.
34072 * intl/gettextP.h: Likewise.
34073 * intl/loadinfo.h: Likewise.
34074 * locale/global-locale.c: Likewise.
34075 * locale/localeinfo.h: Likewise.
34076 * mach/devstream.c: Likewise.
34077 * malloc/arena.c: Likewise.
34078 * malloc/set-freeres.c: Likewise.
34079 * misc/err.c: Likewise.
34080 * misc/getttyent.c: Likewise.
34081 * misc/mntent_r.c: Likewise.
34082 * posix/getopt.c: Likewise.
34083 * posix/wordexp.c: Likewise.
34084 * pwd/fgetpwent_r.c: Likewise.
34085 * resolv/Versions: Likewise.
34086 * resolv/res_hconf.c: Likewise.
34087 * shadow/fgetspent_r.c: Likewise.
34088 * shadow/putspent.c: Likewise.
34089 * stdio-common/printf_fphex.c: Likewise.
34090 * stdio-common/tmpfile.c: Likewise.
34091 * stdlib/abort.c: Likewise.
34092 * stdlib/fmtmsg.c: Likewise.
34093 * sunrpc/auth_unix.c: Likewise.
34094 * sunrpc/clnt_perr.c: Likewise.
34095 * sunrpc/clnt_tcp.c: Likewise.
34096 * sunrpc/clnt_udp.c: Likewise.
34097 * sunrpc/clnt_unix.c: Likewise.
34098 * sunrpc/openchild.c: Likewise.
34099 * sunrpc/svc_simple.c: Likewise.
34100 * sunrpc/svc_tcp.c: Likewise.
34101 * sunrpc/svc_udp.c: Likewise.
34102 * sunrpc/svc_unix.c: Likewise.
34103 * sunrpc/xdr.c: Likewise.
34104 * sunrpc/xdr_array.c: Likewise.
34105 * sunrpc/xdr_rec.c: Likewise.
34106 * sunrpc/xdr_ref.c: Likewise.
34107 * sunrpc/xdr_stdio.c: Likewise.
34108
1248c1c4
PB
341092011-09-09 Ulrich Drepper <drepper@gmail.com>
34110
34111 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34112
341132011-07-03 Andreas Jaeger <aj@suse.de>
34114
34115 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
34116 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
34117 regenerate with gen-libm-tests.pl.
34118
341192010-05-12 Petr Baudis <pasky@suse.cz>
34120
34121 [BZ #11589]
34122 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
34123 around j0() zero points by switching to j1().
34124 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34125 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34126 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
34127 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34128
f22e1074
UD
341292011-09-09 Ulrich Drepper <drepper@gmail.com>
34130
f19009c1
UD
34131 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
34132 instead of 0.
34133 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 34134 instead of 0.
f19009c1
UD
34135 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34136 Patch in part by Pavel Roskin <proski@gnu.org>.
34137
3f8cc204
UD
34138 [BZ #13138]
34139 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
34140 realloc.
34141 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
34142 Free memory block if necessary.
34143
f22e1074
UD
34144 [BZ #12847]
34145 * libio/genops.c (INTDEF): For string streams the _lock pointer can
34146 be NULL. Don't lock in this case.
34147
0a2349f9
RM
341482011-09-09 Roland McGrath <roland@hack.frob.com>
34149
34150 * elf/elf.h (ELFOSABI_GNU): New macro.
34151 (ELFOSABI_LINUX): Define to that.
34152
f3cdd467
DZ
341532011-07-29 Denis Zaitceff <zaitceff@gmail.com>
34154
34155 * string/strncat.c (strncat): Undef the symbol in case it has been
34156 defined in bits/string.h.
34157
74718d13
UD
341582011-09-09 Ulrich Drepper <drepper@gmail.com>
34159
633e9e0f
UD
34160 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
34161
0a2349f9 34162 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
34163 link map.
34164
f9924780
AJ
341652011-08-17 Andreas Jaeger <aj@suse.de>
34166
34167 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
34168
7f5517aa
PP
341692011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
34170 Ian Lance Taylor <iant@google.com>
34171
34172 * math/libm-test.inc (lround_test): New testcase.
34173 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
34174
762011fe
UD
341752011-09-08 Ulrich Drepper <drepper@gmail.com>
34176
92963737
UD
34177 * Makefile: Remove support for automatic cvs check-ins.
34178 * Makerules: Likewise.
34179 * config.make.in: Likewise.
34180 * configure.in: Likewise.
34181 * intl/Makefile: Likewise.
34182 * locale/Makefile: Likewise.
34183 * po/Makefile: Likewise.
34184 * posix/Makefile: Likewise.
34185 * sysdeps/gnu/Makefile: Likewise.
34186 * sysdeps/mach/hurd/Makefile: Likewise.
34187 * sysdeps/sparc/sparc32/Makefile: Likewise.
34188
b0727fd8
JS
34189 [BZ #13118]
34190 * posix/Makefile (bug-regex32-ENV): Define.
34191 Patch by John Stanley <jpsinthemix@verizon.net>.
34192
a0f33f99
UD
34193 * misc/Makefile (headers): Add bits/select2.h.
34194 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
34195 * misc/bits/select2.h: New file.
34196 * include/bits/select2.h: New file.
34197 * debug/Makefile (routines): Add fdelt_chk.
34198 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
34199 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
34200 FD_ISSET.
34201 * debug/fdelt_chk.c: New file.
34202
762011fe
UD
34203 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
34204 * wcsmbs/test-wmemcmp.c: Likewise.
34205 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 34206 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
34207
342082011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34209
34210 * string/Makefile (strop-tests): Add memcmp.
34211 * string/test-wmemcmp.c: New file.
34212 * string/test-memcmp.c: Add wmemcmp support.
34213
7f513ec8
RM
342142011-09-08 Roland McGrath <roland@hack.frob.com>
34215
0442afb4
RM
34216 [BZ #13153]
34217 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
34218 2011-07-19 change.
34219
7f513ec8
RM
34220 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
34221 garbage value in a __mach_port_mod_refs call in the cases of the
34222 task-self and thread-self ports.
34223
a12b2239
ST
342242011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
34225
34226 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
34227
610f9ab4
AS
342282011-09-08 Andreas Schwab <schwab@redhat.com>
34229
7f513ec8 34230 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 34231
48882a1a
LD
342322011-09-07 Ulrich Drepper <drepper@gmail.com>
34233
b49865be
UD
34234 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
34235
fdc86bc9
UD
34236 * elf/dl-libc.c (dlerror_run): Pass back error code from
34237 dl_catch_error.
34238
c966526a
UD
34239 [BZ #13123]
34240 * elf/dl-load.c (lose): Free l_origin if it is valid.
34241
48882a1a
LD
34242 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
34243 names.
34244 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
34245 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34246 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34247 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34248 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
34249 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
34250
77a2a8b4
AZ
342512011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34252
34253 * sysdeps/powerpc/fpu/e_hypot.c: New file.
34254 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
34255 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
34256 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
34257 * sysdeps/powerpc/fpu/k_cosf.c: New file.
34258 * sysdeps/powerpc/fpu/k_sinf.c: New file.
34259 * sysdeps/powerpc/fpu/s_cosf.c: New file.
34260 * sysdeps/powerpc/fpu/s_sinf.c: New file.
34261 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
34262 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
34263
24f579d8
AM
342642011-08-15 Alan Modra <amodra@gmail.com>
34265
34266 [BZ #13092]
34267 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
34268 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
34269 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
34270 ppc_mcount to static-only-routines.
34271 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
34272 __mcount_internal.
34273 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
34274 __mcount_internal with usual JUMPTARGET. Remove useless nop.
34275
3d4837df
UD
342762011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
34277
34278 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
34279 for finite and infinity parameters.
34280
22700377
WS
342812011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
34282
34283 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
34284 and add nop instructions for throughput optimization.
34285 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34286
5025581e
WS
342872011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
34288
34289 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
34290 aligned copy for power7 with vector-scalar instructions.
34291 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
34292
08a300c9
L
342932011-07-24 H.J. Lu <hongjiu.lu@intel.com>
34294
34295 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
34296 AVX check.
34297
59178ef9
AS
342982011-09-07 Andreas Schwab <schwab@redhat.com>
34299
34300 [BZ #13144]
34301 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
34302 last change.
34303
e38ba7ab
UD
343042011-09-07 Ulrich Drepper <drepper@gmail.com>
34305
34306 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34307 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
34308 syscall wrapper around clock_gettime in __vdso_clock_gettime.
34309 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
34310 clock_gettime.
34311
d53a73ac
UD
343122011-09-06 Ulrich Drepper <drepper@gmail.com>
34313
fc8bffcc
UD
34314 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
34315 Forgot to demangle the pointer.
34316
ceaa0c5d
UD
34317 * sysdeps/i386/sysdep.h: Define atom_text_section.
34318 * sysdeps/x86_64/sysdep.h: Likewise.
34319 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
34320 section with atom_text_section.
34321 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34322 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34323 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
34324 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34325 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
34326
a77d3c17
UD
34327 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
34328 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
34329 already be defined. Change to take two parameters and don't assign
34330 result to variable. Adjust all users.
34331 Define INTERNAL_GETTIME if not already defined.
34332 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
34333 call.
34334 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
34335 HAVE_CLOCK_GETTIME_VSYSCALL.
34336 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
34337
d53a73ac
UD
34338 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
34339 gettimeofday vsyscall, just use time.
34340
a8f84144
AS
343412011-09-06 Andreas Schwab <schwab@redhat.com>
34342
34343 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
34344 <errno.h>.
34345
ef606249
UD
343462011-09-06 Ulrich Drepper <drepper@gmail.com>
34347
34348 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
34349 syscall on x86-64.
34350 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
34351 syscall.
34352 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
34353 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
34354 syscall if possible.
34355
6585cb60
UD
343562011-09-05 Ulrich Drepper <drepper@gmail.com>
34357
34358 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
34359 e_ident. Don't pass to find_mapsXX.
34360 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
34361
a5f524e4
LD
343622011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34363
34364 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34365 strchr-sse2-no-bsf strrchr-sse2-no-bsf
34366 * sysdeps/x86_64/multiarch/strchr.S: Update.
34367 Check bit_slow_BSF bit.
34368 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34369 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
34370 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
34371
554881ef
UD
343722011-09-05 Ulrich Drepper <drepper@gmail.com>
34373
d96de963
UD
34374 [BZ #13134]
34375 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
34376 before glibc 2.15.
34377 (tryshell): Define.
34378 (__spawni): Change last parameter to be flag. Test
34379 SPAWN_XFLAGS_USE_PATH flag to use path or not.
34380 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
34381 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
34382 * posix/spawni.c: Likewise.
34383 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
34384 * posix/spawnp.c: Likewise. Change normal version to use
34385 SPAWN_XFLAGS_USE_PATH.
34386 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
34387 SPAWN_XFLAGS_TRY_SHELL.
34388
d48e5868
UD
34389 [BZ #13150]
34390 * posix/glob.h: Remove gcc 1.x support.
34391
554881ef
UD
34392 [BZ #13068]
34393 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
34394
693fb948
LD
343952011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34396
34397 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34398 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
34399 strrchr-sse2-bsf
34400 * sysdeps/i386/i686/multiarch/strchr.S: New file.
34401 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
34402 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
34403 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
34404 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
34405 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
34406
1b48c537
UD
344072011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34408
49d42c37
UD
34409 * sysdeps/x86_64/wcscmp.S: New file.
34410
1b48c537
UD
34411 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
34412 wcscmp-c wcscmp-sse2
34413 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
34414 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
34415 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
34416 * wcsmbs/wcscmp.c: Allow renaming.
34417
15c95c5d
DM
344182011-09-05 David S. Miller <davem@davemloft.net>
34419
34420 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
34421 stack slot, rather than the struct return pointer slot.
34422 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
34423 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
34424 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
34425 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
34426
2f0ad8f3
UD
344272011-09-05 Ulrich Drepper <drepper@gmail.com>
34428
d88ae418
UD
34429 * po/ja.po: Update from translation team.
34430
2f0ad8f3
UD
34431 [BZ #13144]
34432 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
34433 kernel in 64-bit binaries.
34434
5f4318d1
DM
344352011-09-01 David S. Miller <davem@davemloft.net>
34436
34437 * elf/elf.h (HWCAP_SPARC_*): Move to..
34438 * sysdeps/sparc/sysdep.h: this new file and add new values.
34439 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
34440 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
34441 _DL_HWCAP_COUNT to 24.
34442 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
34443 entries.
34444 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
34445 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
34446 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
34447 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
34448 instead of magic constants.
34449 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34450
3ba57516
DM
344512011-08-31 David S. Miller <davem@davemloft.net>
34452
34453 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
34454 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
34455 Reimplement to do errno handling inline.
34456 (SYSCALL_ERROR_HANDLER): New macro.
34457 (__SYSCALL_STRING): Do not do errno handling in asm.
34458 (__CLONE_SYSCALL_STRING): Delete.
34459 (__INTERNAL_SYSCALL_STRING): Delete.
34460 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
34461 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
34462 (PSEUDO): Reimplement to do errno handling inline.
34463 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
34464 (SYSCALL_ERROR_HANDLER): New macro.
34465 (__SYSCALL_STRING): Do not do errno handling in asm.
34466 (__CLONE_SYSCALL_STRING): Delete.
34467 (__INTERNAL_SYSCALL_STRING): Delete.
34468 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
34469 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
34470 i386.
34471 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
34472 (inline_syscall*): Add 'err' argument.
34473 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
34474 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
34475 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
34476 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
34477
34478 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
34479 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34480
2bc17433
AS
344812011-08-30 Andreas Schwab <schwab@redhat.com>
34482
34483 * elf/rtld.c (dl_main): Relocate objects in dependency order.
34484
fbeb5f4d
JO
344852011-08-29 Jiri Olsa <jolsa@redhat.com>
34486
34487 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
34488 directive.
34489
ad69cc26
DM
344902011-08-24 David S. Miller <davem@davemloft.net>
34491
34492 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
34493
39dd69df
AS
344942011-08-24 Andreas Schwab <schwab@redhat.com>
34495
34496 * elf/Makefile: Add rules to build and run unload8 test.
34497 * elf/unload8.c: New file.
34498 * elf/unload8mod1.c: New file.
34499 * elf/unload8mod1x.c: New file.
34500 * elf/unload8mod2.c: New file.
34501 * elf/unload8mod3.c: New file.
34502
34503 * elf/dl-close.c (_dl_close_worker): Reset private search list if
34504 it wasn't used.
34505
2c0b250a
DM
345062011-08-23 David S. Miller <davem@davemloft.net>
34507
34508 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
34509 subtract stack bias.
34510 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
34511 %sp not %fp in calculations.
34512 (_JMPBUF_UNWINDS_ADJ): Likewise.
34513
22044b48
DM
34514 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
34515 (aio_suspend): Call it to force an exception region around the
34516 AIO_MISC_WAIT() invocation.
34517
2cae4995
AS
345182011-08-23 Andreas Schwab <schwab@redhat.com>
34519
34520 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
34521 backslash.
34522
873a772e
AJ
345232011-07-04 Aurelien Jarno <aurelien@aurel32.net>
34524
34525 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
34526 protection macro.
34527 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
34528 and <dl-machine.h>.
34529 (Elf64_FuncDesc): Remove.
34530
25ad0df1
DM
345312011-08-22 David S. Miller <davem@davemloft.net>
34532
34533 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
34534 sigaltstack check, add missing cfi directives.
34535 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
34536 missing cfi directives, and sigaltstack handling.
34537
e888bcbe
AS
345382011-08-16 Andreas Schwab <schwab@redhat.com>
34539
34540 [BZ #11724]
34541 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
34542 object is seen twice.
34543 * elf/dl-fini.c (_dl_sort_fini): Likewise.
34544
34545 * elf/Makefile (distribute): Add tst-initorder2.c.
34546 (tests): Add tst-initorder2.
34547 (modules-names): Add tst-initorder2a tst-initorder2b
34548 tst-initorder2c tst-initorder2d. Add rules to build them.
34549 ($(objpfx)tst-initorder2.out): New rule.
34550 * elf/tst-initorder2.c: New file.
34551 * elf/tst-initorder2.exp: New file.
34552
87162f46
AS
345532011-08-22 Andreas Schwab <schwab@redhat.com>
34554
70538b7f
AS
34555 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
34556
f55ffe58
AS
34557 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
34558 dependencies back to end of function.
34559
87162f46
AS
34560 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34561 $(elfobjdir)/ld.so.
34562
91b392a4
UD
345632011-08-21 Ulrich Drepper <drepper@gmail.com>
34564
34565 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
34566 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
34567 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
34568 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
34569 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
34570 of __vdso_gettimeofday.
34571 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
34572 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
34573 attribute_hidden.
34574 (_libc_vdso_platform_setup): Remove initialization of
34575 __vdso_gettimeofday and __vdso_time.
34576
5c43483f
UD
345772011-08-20 Ulrich Drepper <drepper@gmail.com>
34578
775a77e7
UD
34579 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
34580 and fgetc_unlocked.
34581 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
34582 getc_unlocked.
89f447ed 34583
49c74ba9
UD
34584 * elf/dl-open.c (add_to_global): Report additions to the global scope
34585 for LD_DEBUG=scopes.
34586 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 34587 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 34588
5c43483f
UD
34589 [BZ #13114]
34590 * stdio-common/Makefile (tests): Add bug24.
34591 * stdio-common/bug24.c: New file.
34592
a101b025
AJ
345932011-08-19 Andreas Jaeger <aj@suse.de>
34594
34595 [BZ #13114]
34596 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
34597 non-existant file when using close-on-exec mode.
34598
c88f1766
UD
345992011-08-20 Ulrich Drepper <drepper@gmail.com>
34600
0276a718
UD
34601 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
34602 the very first instruction.
34603
c88f1766
UD
34604 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
34605 the CFI state in the end.
34606 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
34607 inclusion of dl-trampoline.h.
34608 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
34609
51ccffa0
AS
346102011-08-19 Andreas Schwab <schwab@redhat.com>
34611
94d7165f
AS
34612 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
34613 expectations for long double.
34614
51ccffa0
AS
34615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
34616 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
34617
fd708658 346182011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
34619
34620 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
34621 artificual limit depends upon the system page size.
34622
44f0a71e
UD
346232011-08-17 Ulrich Drepper <drepper@gmail.com>
34624
34625 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
34626 * resolv/Makefile: Define CFLAGS-libresolv.
34627
8de79a24
AS
346282011-08-17 Andreas Schwab <schwab@redhat.com>
34629
34630 * nss/makedb.c (compute_tables): Make variables used in nested
34631 function static.
34632
27724598
UD
346332011-08-17 Ulrich Drepper <drepper@gmail.com>
34634
c5305d88
UD
34635 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
34636 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
34637 if buffer was too small.
34638
27724598
UD
34639 * elf/pldd.c (main): Attach to all threads in the process.
34640 Rewrite /proc handling to use *at functions.
34641
076fe015
UD
346422011-08-16 Ulrich Drepper <drepper@gmail.com>
34643
174baab3
UD
34644 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
34645 specifies first scope to show.
34646 (dl_open_worker): Update callers. Move printing scope of new
34647 object to before the relocation.
44f0a71e 34648 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
34649 * sysdeps/generic/ldsodefs.h: Update declaration.
34650
076fe015
UD
34651 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
34652 string for the scope number.
34653
a60df2c3
UD
346542011-08-14 Ulrich Drepper <drepper@gmail.com>
34655
34656 * nscd/servicescache.c (cache_addserv): Make sure written is always
34657 initialized.
34658
5e4287d1
RM
346592011-08-14 Roland McGrath <roland@hack.frob.com>
34660
85ae0589
RM
34661 * sysdeps/i386/i486/bits/atomic.h
34662 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
34663 statement expression, so as to suppress "set but not used" warning.
34664 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
34665
69f63097
RM
34666 * string/strncat.c (STRNCAT): Use prototype definition.
34667
675456ef
RM
34668 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
34669 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
34670 -Iprograms here.
34671 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
34672 (localedef-modules): Add localedef.
34673 (locale-modules): Add locale.
34674
5e4287d1
RM
34675 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
34676 * elf/rtld.c (dl_main): Invert order of assignment in last change,
34677 to avoid a warning.
34678
9c96ff23
DM
346792011-08-14 David S. Miller <davem@davemloft.net>
34680
34681 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
34682 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
34683
f9ddf089
UD
346842011-08-13 Ulrich Drepper <drepper@gmail.com>
34685
44f0a71e 34686 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
34687 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
34688 * elf/rtld.c (dl_main): Set l_name of vDSO.
34689 Call _dl_show_scope when DL_DEBUG_SCOPES.
34690 (process_dl_debug): Recognize scopes flag and also set it for all.
34691 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
34692 Declare _dl_show_scope.
34693
1dc27704
UD
34694 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
34695 (do_dlopen): Pass caller_dlopen to dl_open.
34696 (__libc_dlopen_mode): Initialize caller_dlopen.
34697
f9ddf089
UD
34698 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
34699 of libc. Make tolower call locale-independent. Optimize a bit by
34700 using isdigit instead of isalnum.
34701 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
34702
9ac533d3
UD
347032011-08-12 Ulrich Drepper <drepper@gmail.com>
34704
34705 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
34706 was a dependency or dynamically loaded.
34707
89edf2e9
UD
347082011-08-11 Ulrich Drepper <drepper@gmail.com>
34709
8e999d29
UD
34710 * intl/l10nflist.c: Allow architecture-specific pop function.
34711 * sysdeps/x86_64/l10nflist.c: New file.
34712
89edf2e9
UD
34713 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
34714 classification.
34715
14d96785
AS
347162011-08-10 Andreas Schwab <schwab@redhat.com>
34717
34718 * include/dirent.h: Add libc_hidden_proto for scandirat and
34719 scandirat64. Don't declare __scandirat64.
34720 * dirent/scandirat.c: Add libc_hidden_def.
34721 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
34722 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
34723
6761ac04
DM
347242011-08-10 David S. Miller <davem@davemloft.net>
34725
34726 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
34727 enum.
34728 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34729 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34730 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34731
c55fbd1e
UD
347322011-08-09 Ulrich Drepper <drepper@gmail.com>
34733
34734 * Versions.def [libc]: Add GLIBC_2.15.
34735 * dirent/Makefile (routines): Add scandirat and scandirat64.
34736 * dirent/Versions [libc]: Export scandirat and scandirat64 for
34737 GLIBC_2.15.
34738 * dirent/dirent.h: Declare scandirat and scandirat64.
34739 * dirent/scandirat.c: New file.
34740 * dirent/scandirat64.c: New file.
34741 * sysdeps/wordsize-64/scandirat.c: New file.
34742 * sysdeps/wordsize-64/scandirat64.c: New file.
34743 * dirent/opendir.c: Define opendirat.
34744 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
34745 using scandirat.
34746 * dirent/scandir64.c: Adjust for scandir.c change.
34747 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
34748 __scandirat64, and __scandir_cancel_handler.
34749 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
34750 additional parameter and use openat instead of open (outside of ld.so).
34751 Add new __opendir as wrapper around __opendirat.
34752 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
34753 here without requiring old scandirat implementation.
34754
879165f2
UD
347552011-08-08 Ulrich Drepper <drepper@gmail.com>
34756
34757 * dirent/scandir.c (cancel_handler): Renamed to
34758 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
34759 defined. Adjust users.
34760 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
34761 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
34762
cb7e923b
UD
347632011-08-04 Ulrich Drepper <drepper@gmail.com>
34764
16292edd
UD
34765 * string/test-string.h (IMPL): Use __STRING to expand name and then
34766 stringify it.
34767
cb7e923b
UD
34768 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
34769 of cleanups.
34770
cff82933
LD
347712011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34772
34773 * string/Makefile: Update.
34774 (strop-tests): Append strncat.
34775 * string/test-wcscmp.c: New file.
34776 New comprehensive test for wcscmp.
34777 * string/test-strcmp.c: Update.
34778 (WIDE): New define.
34779
9be9bfcc
AS
347802011-07-22 Andreas Schwab <schwab@redhat.com>
34781
34782 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
34783 line.
34784
2e96f1c7
AS
347852011-07-26 Andreas Schwab <schwab@redhat.com>
34786
34787 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
34788 encoding to ACE if AI_IDN.
34789
85188888
JJ
347902011-08-01 Jakub Jelinek <jakub@redhat.com>
34791
34792 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
34793 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
34794
5fa16e9b
LD
347952011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34796
34797 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
34798 Fix overflow bug in strncat.
34799 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
34800
34801 * string/test-strncat.c: Update.
34802 Add new tests for checking overflow bugs.
34803
348042011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34805
34806 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34807 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
34808 * sysdeps/i386/i686/multiarch/strcat.S: New file.
34809 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
34810 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
34811 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
34812 * sysdeps/i386/i686/multiarch/strncat.S: New file.
34813 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
34814 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
34815
34816 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
34817 (USE_AS_STRCAT): Define.
34818 Add strcat and strncat support.
34819 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34820
8c1a459f
AS
348212011-07-25 Andreas Schwab <schwab@redhat.com>
34822
34823 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
34824 __n bigger than INT_MAX+1.
34825 (__strncmp_g): Likewise.
34826
bba33c28
UD
348272011-07-23 Ulrich Drepper <drepper@gmail.com>
34828
798be72d
UD
34829 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
34830 * libio/stido.h: Likewise.
34831
8accd4dc
UD
34832 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
34833 (AF_NFC): Define.
34834 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
34835 (AF_NFC): Define.
34836
cbff0d96
UD
34837 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
34838 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34839 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34840 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
34841 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34842
9191c04a
UD
34843 [BZ #13021]
34844 * scripts/test-installation.pl: Don't expect libnss_test1 to be
34845 installed.
34846
bba33c28
UD
34847 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
34848 typo.
34849 (_dl_x86_64_save_sse): Likewise.
34850
90f139dd
UD
348512011-07-22 Ulrich Drepper <drepper@gmail.com>
34852
1aae088a
UD
34853 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
34854 OSXSAVE.
34855 (_dl_x86_64_save_sse): Likewise.
34856
8e2045f5
UD
34857 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
34858
90f139dd
UD
34859 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
34860
1d002f25
AS
348612011-07-21 Andreas Schwab <schwab@redhat.com>
34862
34863 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
34864 change.
34865 (_dl_x86_64_save_sse): Use correct AVX check.
34866
21137f89
UD
348672011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34868
34869 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
34870 bug in strncpy/strncat.
34871 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
34872
a65c0b7a
UD
348732011-07-21 Ulrich Drepper <drepper@gmail.com>
34874
34875 * string/tester.c (test_strcat): Add tests for different alignments
34876 of source and destination.
34877 (test_strncat): Likewise.
34878
6986b98a
UD
348792011-07-20 Ulrich Drepper <drepper@gmail.com>
34880
90bb2039
UD
34881 [BZ #12852]
34882 * posix/glob.c (glob): Check passed in values before using them in
34883 expressions to avoid some overflows.
34884 (glob_in_dir): Likewise.
34885
5644ef54
UD
34886 [BZ #13007]
34887 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
34888 check for AVX enablement so that we don't crash with old kernels and
34889 new hardware.
34890 * elf/tst-audit4.c: Add same checks here.
34891 * elf/tst-audit6.c: Likewise.
34892
34893 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 34894
bfc9dc9b
AS
348952011-07-09 Andreas Schwab <schwab@linux-m68k.org>
34896
34897 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
34898
702e64bb
UD
348992011-07-20 Ulrich Drepper <drepper@gmail.com>
34900
34901 * po/cs.po: Update from translation team.
34902 * po/bg.po: Likewise.
34903
295e904f
MP
349042011-07-12 Marek Polacek <mpolacek@redhat.com>
34905
34906 * misc/sys/cdefs.h: Add support for const attribute.
34907 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
34908 to gnu_dev_{major,minor,makedev} functions.
34909
3ff94596
MP
349102011-07-20 Marek Polacek <mpolacek@redhat.com>
34911
34912 * intl/dcigettext.c (get_output_charset): Add missing bracket.
34913
28b59fca
AS
349142011-07-20 Andreas Schwab <schwab@redhat.com>
34915
34916 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
34917 strlen results.
34918
19df733e
AK
349192011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34920
34921 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
34922 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
34923 register in order to avoid conflicts with the soft frame pointer
34924 being held in r11 when necessary.
34925 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
34926 (INTERNAL_VSYSCALL_NCS): Likewise.
34927
c8835729
MP
349282011-07-14 Marek Polacek <mpolacek@redhat.com>
34929
34930 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
34931 * elf/dl-fini.c (_dl_fini): Adjust caller.
34932 * elf/dl-close.c (_dl_close_worker): Likewise.
34933 * sysdeps/generic/ldsodefs.h: Adjust declaration.
34934
b902330c
MP
349352011-07-15 Marek Polacek <mpolacek@redhat.com>
34936
8991e135
MP
34937 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
34938 "aux_cache->nlibs < 0".
34939
b902330c
MP
34940 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
34941 in the reload-count case.
34942
99710781
LD
349432011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34944
34945 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34946 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
34947 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
34948 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
34949 * sysdeps/x86_64/multiarch/strcat.S: New file.
34950 * sysdeps/x86_64/multiarch/strncat.S: New file.
34951 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
34952 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
34953 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
34954 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
34955 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
34956 (USE_AS_STRCAT): Define.
34957 Add strcat and strncat support.
34958 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34959 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
34960 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
34961 * string/strncat.c: Update.
34962 (USE_AS_STRNCAT): Define.
34963 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34964 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
34965 and i7.
34966 * sysdeps/x86_64/multiarch/init-arch.h
34967 (bit_Prefer_PMINUB_for_stringop): New.
34968 (index_Prefer_PMINUB_for_stringop): Likewise.
34969 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
34970 bit_Prefer_PMINUB_for_stringop.
34971
7dc6bd90
UD
349722011-07-19 Ulrich Drepper <drepper@gmail.com>
34973
34974 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
34975 buffer64.
34976 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
34977 of casting of buffer.
34978 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
34979 buffer32 and buffer64.
34980 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
34981 writes instead of casting of buffer.
34982 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
34983 buffer32.
34984 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
34985 casting of buffer.
34986
e0e72284
AS
349872011-07-19 Andreas Schwab <schwab@redhat.com>
34988
34989 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
34990
feb1eb0b
UD
349912011-07-19 Ulrich Drepper <drepper@gmail.com>
34992
34993 * nscd/nscd.c (termination_handler): Don't do anything for a database
34994 if it has not yet been initialized.
34995
298711ff
UD
349962011-07-18 Ulrich Drepper <drepper@gmail.com>
34997
34998 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
34999
350002011-07-15 Marek Polacek <mpolacek@redhat.com>
35001
35002 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
35003
f9d68389
UD
350042011-07-18 Ulrich Drepper <drepper@gmail.com>
35005
35006 * po/nl.po: Update from translation team.
35007 * po/sv.po: Likewise.
35008
db290cf5
RM
350092011-07-16 Roland McGrath <roland@hack.frob.com>
35010
35011 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
35012 now disallowed by GCC.
5c550700 35013
fd5e21c7
RM
35014 * configure.in (use-default-link): Default to yes if a test -shared
35015 link meets our qualifications.
35016 * configure: Regenerated.
35017
5c550700
RM
35018 * config.make.in (output-format): New variable.
35019 * configure.in: Check for ld --print-output-format support.
35020 * configure: Regenerated.
35021 * Makerules ($(common-objpfx)format.lds)
35022 [$(output-format) != unknown]: Just use $(output-format),
35023 instead of the linker-script munging.
35024
9fa2c032
RM
350252011-07-14 Roland McGrath <roland@hack.frob.com>
35026
a6928d51
RM
35027 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
35028 of $(common-objpfx)shlib.lds.
35029 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
35030
661607b3
RM
35031 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
35032 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
35033
9fa2c032
RM
35034 * configure.in (-z relro check): Adjust test code to add a large
35035 writable data section after it.
35036 * configure: Regenerated.
35037
defe9061
RM
350382011-07-11 Roland McGrath <roland@hack.frob.com>
35039
35040 * configure.in (-z relro check): Fix test code to make the variable
35041 truly const.
35042 * configure: Regenerated.
35043
319b9ad4
UD
350442011-07-11 Ulrich Drepper <drepper@gmail.com>
35045
35046 * nscd/nscd.h (struct traced_file): Define.
35047 (struct database_dyn): Remove inotify_descr, reset_res, and filename
35048 elements. Add traced_files.
35049 (inotify_fd): Declare.
35050 (register_traced_file): Declare.
35051 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
35052 (inotify_fd): Export.
35053 (resolv_conf_descr): Remove.
35054 (nscd_init): Move inotify descriptor creation to main.
35055 Don't register files for notification here.
35056 (register_traced_file): New function.
35057 (invalidate_cache): Don't use reset_res to determine whether to call
35058 res_init, go through the list of registered files.
35059 (main_loop_poll): The inotify descriptors are now stored in the
35060 structures for the traced files.
35061 (main_loop_epoll): Likewise
35062 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
35063 to __nss_disable_nscd.
35064 * nscd/cache.c (prune_cache): There is no single inotify descriptor
35065 for a database anymore. Check the records for all the registered
35066 files instead.
35067 * nss/Makefile (libnss_files-routines): Add files-init.
35068 (libnss_db-routines): Add db-init.
35069 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
35070 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
35071 * nss/nss_db/db-init.c: New file.
35072 * nss/nss_files/files-init.c: New file.
35073 * nss/nsswitch.c (nss_load_library): New function. Broken out of
35074 __nss_lookup_function.
35075 (__nss_lookup_function): Call nss_load_library.
35076 (nss_load_all_libraries): New function.
35077 (__nss_disable_nscd): Take parameter with callback function for files
35078 to register. Set is_nscd. Load all the DSOs for the NSS modules
35079 used for the cached services.
35080 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
35081 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
35082 options for features to all the files in nscd.
35083
35084 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
35085
23bee3e8
RM
350862011-07-10 Roland McGrath <roland@hack.frob.com>
35087
35088 * csu/elf-init.c (__libc_csu_init): Comment typo.
35089
46a5b7f0
UD
350902011-07-09 Ulrich Drepper <drepper@gmail.com>
35091
35092 * po/pl.po: Update from translation team.
35093 * po/ja.po: Likewise.
35094 * po/ru.po: Likewise.
35095 * po/ko.po: Likewise.
35096 * po/fr.po: Likewise.
35097
d30cf5bb
RM
350982011-07-09 Roland McGrath <roland@hack.frob.com>
35099
113ddea4
RM
35100 * configure.in (.ctors/.dtors header and trailer check):
35101 Use an empirical test on a built program.
35102 * configure: Regenerated.
35103
574920b4
RM
35104 * configure.in (-z relro check): Use an empirical test on a built DSO.
35105 Detect, but do not require, on ia64.
35106 * configure: Regenerated.
35107
d30cf5bb
RM
35108 * configure.in (READELF): Find it with AC_CHECK_TOOL.
35109 Update tests that use readelf to use $READELF instead.
35110 * configure: Regenerated.
35111
8538fdb3
UD
351122011-07-08 Ulrich Drepper <drepper@gmail.com>
35113
35114 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
35115 if the result is not used.
35116
04d08991
AJ
351172011-07-05 Andreas Jaeger <aj@suse.de>
35118
35119 [BZ#9696]
35120 * stdlib/tst-strtod.c: Add testcase.
35121
de283087
AD
351222011-07-07 Ulrich Drepper <drepper@gmail.com>
35123
4e5f31c8 35124 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 35125 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
35126 The latter has a higher limit. Take additional parameter to pass to
35127 the new function.
35128 (__pathconf): Pass file to __statfs_link_max.
35129 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
35130 __statfs_link_max.
35131 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
35132 __statfs_link_max.
35133
de283087
AD
35134 [BZ #12868]
35135 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
35136 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35137 Handle Lustre.
35138 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
35139 (__statfs_filesize_max): Likewise.
35140 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
35141
c75fa153
AJ
351422011-07-05 Andreas Jaeger <aj@suse.de>
35143
35144 * resolv/res_comp.c (dn_skipname): Remove unused variable.
35145
1a544854
UD
351462011-07-06 Marek Polacek <mpolacek@redhat.com>
35147
35148 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
35149 `status' variable.
35150 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
35151 Likewise.
35152
6f0eec67
UD
351532011-07-04 H.J. Lu <hongjiu.lu@intel.com>
35154
35155 * Makefile (strop-tests): Add strncat.
35156 * string/test-strncat.c: New file.
35157
aae30307
UD
351582011-06-30 Marek Polacek <mpolacek@redhat.com>
35159
35160 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
35161
c0cfb5eb
UD
351622011-06-21 Andreas Jaeger <aj@suse.de>
35163
35164 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
35165 Copy rule from iconvdata/Makefile.
35166
01636b21
UD
351672011-07-06 Ulrich Drepper <drepper@gmail.com>
35168
35169 [BZ #12922]
35170 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
35171 but no long options are defined, just return 'W'.
35172
9895c8bc
UD
351732011-06-22 Marek Polacek <mpolacek@redhat.com>
35174
35175 [BZ #9696]
35176 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
35177
5d4cf042
UD
351782011-07-06 Ulrich Drepper <drepper@gmail.com>
35179
35180 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
35181 netgroups to read.
960e5535 35182 (innetgr): Likewise.
5d4cf042 35183
751eb97e
RM
351842011-07-05 Roland McGrath <roland@hack.frob.com>
35185
35186 * config.make.in (install_root): Default to $(DESTDIR).
35187
f15f1e45
UD
351882011-07-05 Ulrich Drepper <drepper@gmail.com>
35189
35190 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
35191
4e34ac6a
RM
351922011-07-02 Roland McGrath <roland@hack.frob.com>
35193
5e9b6af4
RM
35194 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
35195
84f9ea0f
RM
35196 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
35197 containing directory rather than embedding absolute directory names.
35198
ea5ee9f7
RM
35199 * scripts/check-local-headers.sh: Rewritten using awk.
35200 Match by word, not by line. Print error messages for matches.
35201 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
35202
1b74661a
RM
35203 * Makerules [shlib-lds-flags empty]:
35204 ($(common-objpfx)libc_pic.opts): New target.
35205 ($(common-objpfx)libc_pic.os.clean): New target.
35206 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
35207
35208 * config.make.in (OBJCOPY): New variable.
35209 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
35210 * configure: Regenerated.
35211
f781ef40
RM
35212 * config.make.in (use-default-link): New variable.
35213 * configure.in (use_default_link): Grok --with-default-link to set it.
35214 * configure: Regenerated.
35215 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
35216 (shlib-lds, shlib-lds-flags): Define to empty.
35217
2d4fa81e
RM
35218 * Makerules (shlib-lds): New variable.
35219 (shlib-lds-flags): New variable.
35220 (build-shlib, build-moduile, build-module-asneeded): Use it.
35221 ($(common-objpfx)libc.so): Use $(shlib-lds).
35222 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
35223 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
35224
31fffa6b
RM
35225 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
35226 DT_FLAGS/DT_FLAGS_1 with zero flags.
35227
4e34ac6a
RM
35228 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
35229 linker script munging.
35230
fcfc776b
UD
352312011-07-02 Ulrich Drepper <drepper@gmail.com>
35232
35233 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
35234 as 128-bit value.
35235 * crypt/sha512.c (sha512_process_block): Perform total addition using
35236 128-bit if possible.
35237 (__sha512_finish_ctx): Likewise.
35238 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
35239 as 64-bit value.
35240 * crypt/sha256.c (SWAP64): Define.
35241 (sha256_process_block): Perform total addition using 64-bit if
35242 possible.
35243 (__sha256_finish_ctx): Likewise.
35244
99231d9a
UD
352452011-07-01 Ulrich Drepper <drepper@gmail.com>
35246
35247 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
35248 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35249 * nscd/hstcache.c (cache_addhst): Likewise.
35250 * nscd/grpcache.c (cache_addgr): Likewise.
35251 * nscd/aicache.c (addhstaiX): Likewise
35252 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
35253
445b4a53
TK
352542011-07-01 Thorsten Kukuk <kukuk@suse.de>
35255
35256 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
35257 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35258 * nscd/hstcache.c (cache_addhst): Likewise.
35259 * nscd/grpcache.c (cache_addgr): Likewise.
35260 * nscd/aicache.c (addhstaiX): Likewise
35261
6d4d8e8e
AS
352622011-07-01 Andreas Schwab <schwab@redhat.com>
35263
35264 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
35265 domain only when needed.
35266
89f654c5
AS
352672011-06-30 Andreas Schwab <schwab@redhat.com>
35268
35269 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
35270 is always restored.
35271
cf3b23ff
UD
352722011-06-29 Ulrich Drepper <drepper@gmail.com>
35273
35274 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
35275 are re-adding the entry.
35276 * nscd/servicescache.c (cache_addserv): Likewise.
35277
751626f9
AJ
352782011-06-30 Aurelien Jarno <aurelien@aurel32.net>
35279
35280 * sysdeps/generic/dl-irel.h: fix protection against multiple
35281 inclusions.
35282 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
35283
9113ea1f
UD
352842011-06-28 Ulrich Drepper <drepper@gmail.com>
35285
5c0b8d90
UD
35286 [BZ #12935]
35287 * malloc/memusage.sh: Fix quoting in message.
35288 * debug/xtrace.sh: Likewise.
35289
9113ea1f
UD
35290 * configure.in: Remove support for --experimental-malloc option, make
35291 it the default.
35292 * config.make.in: Likewise.
35293 * malloc/Makefile: Likewise.
35294
a4172181
AS
352952011-06-27 Andreas Schwab <schwab@redhat.com>
35296
35297 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
35298 two-byte characters.
35299
78a7eee7
RM
353002011-06-27 Roland McGrath <roland@hack.frob.com>
35301
62bede13
RM
35302 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
35303 AC_CACHE_CHECK invocation.
35304 * configure: Regenerated.
35305
78a7eee7
RM
35306 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
35307
5ce33a62
UD
353082011-06-27 Ulrich Drepper <drepper@gmail.com>
35309
034807a9
UD
35310 [BZ #12350]
35311 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
35312 bit from old_res_options.
35313
4902da17
UD
35314 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
35315
5ce33a62
UD
35316 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
35317 value type for setfct.
35318
c2344f56
L
353192011-06-23 H.J. Lu <hongjiu.lu@intel.com>
35320
35321 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35322 __gettimeofday instead of gettimeofday.
35323
68468076
UD
353242011-06-26 Ulrich Drepper <drepper@gmail.com>
35325
35326 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
35327
acb0d739
L
353282011-06-24 H.J. Lu <hongjiu.lu@intel.com>
35329
35330 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
35331
35332 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
35333 info.
35334
8912479f
L
353352011-06-22 H.J. Lu <hongjiu.lu@intel.com>
35336
35337 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35338 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35339 strcpy-sse2-unaligned strncpy-sse2-unaligned
35340 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
35341 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
35342 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
35343 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
35344 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
35345 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
35346 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
35347 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
35348 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
35349 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
35350 (STRCPY): Support SSE2 and SSSE3 versions.
35351
d5495a11
UD
353522011-06-24 Ulrich Drepper <drepper@gmail.com>
35353
35354 [BZ #12874]
35355 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
35356 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
35357 kernels which artificially limit size of requests.
35358
0b1cbaae
L
353592011-06-22 H.J. Lu <hongjiu.lu@intel.com>
35360
35361 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35362 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35363 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
35364 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
35365 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
35366 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
35367 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
35368 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
35369 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
35370 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
35371 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
35372 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
35373 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
35374 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
35375 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
35376 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35377 Enable unaligned load optimization for Intel Core i3, i5 and i7
35378 processors.
35379 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
35380 Define.
35381 (index_Fast_Unaligned_Load): Define.
35382 (HAS_FAST_UNALIGNED_LOAD): Define.
35383
07f494a0
MP
353842011-06-23 Marek Polacek <mpolacek@redhat.com>
35385
35386 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
35387
fa3fc0fe
UD
353882011-06-22 Ulrich Drepper <drepper@gmail.com>
35389
35390 [BZ #12907]
35391 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
35392 until it is clear that the information is realy needed.
35393 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
35394
e12df166
AS
353952011-06-22 Andreas Schwab <schwab@redhat.com>
35396
35397 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
35398
852eb34d
UD
353992011-06-22 Ulrich Drepper <drepper@gmail.com>
35400
84e2a551
UD
35401 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35402 /sys/devices/system/cpu/online if it is usable.
35403
852eb34d
UD
35404 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
35405 reading the information from the /proc filesystem to once a second.
35406
6e502e19
UD
354072011-06-21 Andreas Jaeger <aj@suse.de>
35408
35409 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
35410 NULL after inclusion of kernel headers.
35411
75d39ff2
UD
354122011-06-21 Ulrich Drepper <drepper@gmail.com>
35413
51f9aa6a
UD
35414 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
35415 calls to internal_setent.
35416
c0244a9d
UD
35417 [BZ #12885]
35418 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
35419 addresses using gethostbyname4_r ignore IPv4 addresses.
35420
c5e3c2ae
UD
35421 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
35422 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
35423
75d39ff2
UD
35424 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
35425
42675c6f
DM
354262011-06-20 David S. Miller <davem@davemloft.net>
35427
35428 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
35429 inclusions.
35430 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
35431
35432 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
35433 (elf_irel): Use it.
35434 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
35435 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
35436 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
35437 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
35438 * sysdeps/x86_64/dl-irel.h: Likewise.
35439
35440 * elf/dl-runtime.c: Use elf_ifunc_invoke.
35441 * elf/dl-sym.c: Likewise.
35442
57912a71
UD
354432011-06-15 Ulrich Drepper <drepper@gmail.com>
35444
35445 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
35446 need to dereference resplen2.
35447
ee22793d
AS
354482011-06-14 Andreas Schwab <schwab@redhat.com>
35449
35450 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
35451
a9e836b0
UD
354522011-06-15 Ulrich Drepper <drepper@gmail.com>
35453
77fb9117
UD
35454 * Makeconfig: Define vardbdir and inst_vardbdir.
35455 * nss/Makefile: Add rules to install db-Makefile.
35456
40c1b22c
UD
35457 * nss/nss_db/db-XXX.c: Cleanup.
35458
9f2da732
UD
35459 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
35460 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
35461 GLIBC_PRIVATE.
35462 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
35463 * nss/makedb.c: Implement -g option to specify that value strings
35464 are generated and should not be added to table iterated over for
35465 get*ent calls.
35466 * nss/nss_db/db-initgroups.c: New file.
35467
82e9a1f7
UD
35468 * nss/getent.c: Add support for initgroups lookups through getgrouplist
35469 interface.
35470
c41af17e
UD
35471 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
35472 (internal_getgrouplist): Adjust to name change.
35473 Update use_initgroups_entry if this is not the first call.
35474 * nss/databases.def: Add initgroups entry.
35475
a9e836b0
UD
35476 * nss/makedb.c (compute_tables): Check result of multiple hash table
35477 sizes to minimize maximum chain length.
35478
2666d441
UD
354792011-06-14 Ulrich Drepper <drepper@gmail.com>
35480
35481 * Versions.def: Add entry for libnss_db.
35482 * shlib-versions: Likewise.
35483 * nss/Makefile: Add rules to build libnss_db.
35484 * nss/Versions: Add libnss_db information. Organize libnss_files
35485 entries better.
35486 * nss/db-Makefile: Add gshadow support. Change rules for the new
35487 makedb progra. Some minor improvements to generate smaller files.
35488 * nss/nss_db/nss_db.h: Move NSS database header data structures to
35489 here from...
35490 * nss/makedb.c: ...here.
35491 Improve database format to be smaller and require less memory at
35492 runtime.
35493 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
35494 db anymore.
35495 * nss/nss_db/db-netgrp.c: Likewise.
35496 * nss/nss_db/db-open.c: Likewise.
35497 * nss/nss_files/flies-XXX.x: Adjust comments.
35498 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
35499 * nss/nss_files/files-grp.c: Likewise.
35500 * nss/nss_files/files-hosts.c: Likewise.
35501 * nss/nss_files/files-network.c: Likewise.
35502 * nss/nss_files/files-proto.c: Likewise.
35503 * nss/nss_files/files-pwd.c: Likewise.
35504 * nss/nss_files/files-rpc.c: Likewise.
35505 * nss/nss_files/files-service.c: Likewise.
35506 * nss/nss_files/files-sgrp.c: Likewise.
35507 * nss/nss_files/files-spwd.c: Likewise.
35508 * nss/nss_db/db-alias.c: Removed.
35509 * nss/nss_db/dummy-db.h: Removed.
35510
9ee76b5a
UD
355112011-06-02 Ulrich Drepper <drepper@gmail.com>
35512
35513 * nss/makedb.c: Rewritten to not use database library.
35514 * nss/Makefile: Update to build new makedb program.
35515
c71ca1f8
AJ
355162011-06-14 Andreas Jaeger <aj@suse.de>
35517
35518 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
35519 memset declaration.
35520
3154bfb8
UD
355212011-06-10 Andreas Schwab <schwab@redhat.com>
35522
35523 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
35524 tmpbuf.
35525
b350afab
RM
355262011-06-10 Roland McGrath <roland@hack.frob.com>
35527
decd4e50
RM
35528 * Makerules (shlib.lds): Fail if the linker script comes out empty.
35529 * elf/Makefile ($(objpfx)ld.so): Likewise.
35530
5615eaf2
RM
35531 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
35532 Don't list ld.so twice in dependencies.
35533
35534 * posix/bug-regex31.c: Include <stdlib.h>.
35535
35536 * nscd/hstcache.c (cache_addhst): Remove unused variable.
35537
35538 * nis/nss_compat/compat-spwd.c
35539 (getspent_next_nss_netgr): Remove unused variable.
35540 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
35541
35542 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
35543 nonmembers" output to use the right array.
35544
35545 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
35546
35547 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
35548
35549 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
35550 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
35551 * catgets/gencat.c (read_input_file): Likewise.
35552 * locale/programs/locarchive.c (enlarge_archive): Likewise.
35553
35554 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
35555 variable definition inside #if's controlling its use.
35556
35557 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
35558
35559 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
35560
35561 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
35562
35563 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
35564 unreachable code.
35565
35566 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
35567
b68e08db
RM
35568 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
35569 * configure: Regenerated.
35570
b350afab
RM
35571 * Makerules: Revert last change.
35572 * elf/Makefile: Likewise.
35573
28368601
RM
355742011-06-09 Roland McGrath <roland@hack.frob.com>
35575
35576 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
35577 * elf/Makefile ($(objpfx)librtld.os): Likewise.
35578 (reloc-link): Likewise.
35579
11988f8f
UD
355802011-06-09 Ulrich Drepper <drepper@gmail.com>
35581
35582 * elf/Makefile: Add rules to build pldd.
35583 * elf/pldd.c: New file.
35584 * elf/pldd-xx.c: New file.
35585
e80fab37
UD
355862011-06-07 Ulrich Drepper <drepper@gmail.com>
35587
35588 * version.h: Update for 2.15 development version.
35589
9b849836
DM
355902011-06-07 David S. Miller <davem@davemloft.net>
35591
35592 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
35593 ifuncs.
35594 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
35595 elf_machine_lazy_rel): Likewise.
35596 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
35597 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
35598 elf_machine_lazy_rel): Likewise.
35599 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
35600 dl_hwcap via passed in argument.
35601 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
35602 Likewise.
35603
5a31b283
AK
356042011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35605
35606 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
35607
069e52f8
RM
356082011-06-06 Roland McGrath <roland@hack.frob.com>
35609
35610 [BZ #12849]
35611 * manual/fdl-1.1.texi: New file, verbatim from:
35612 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
35613 * manual/lgpl-2.1.texi: New file, verbatim from:
35614 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
35615 * manual/Makefile (licenses): New variable, list those new file names.
35616 (texis): Use it.
35617 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
35618
35619 * manual/fdl.texi: File removed.
35620 * manual/lesser.texi: File removed.
35621 * manual/libc.texinfo (Copying, Documentation License):
35622 Use new @include file names, put @appendix directive before @include.
35623
f16846a5
JJ
356242011-06-04 Jakub Jelinek <jakub@redhat.com>
35625
35626 [BZ #12841]
35627 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
35628 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
35629 (mq_open): Add __NTH.
35630
3d29045b
L
356312011-06-02 H.J. Lu <hongjiu.lu@intel.com>
35632
35633 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35634 Assume Intel Core i3/i5/i7 processor if AVX is available.
35635
8c297311
UD
356362011-05-31 Ulrich Drepper <drepper@gmail.com>
35637
35638 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
35639 typo.
35640
c8fc0c91
UD
356412011-05-31 Andreas Schwab <schwab@redhat.com>
35642
35643 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
35644 memory. Use alloca_account. Fix memory leak when retrying.
35645
5b27a807
UD
356462011-05-31 Ulrich Drepper <drepper@gmail.com>
35647
356f8bc6
UD
35648 * version.h (RELEASE): Bump for 2.14 release.
35649 * include/features.h (__GLIBC_MINOR__): Bump to 14.
35650
5b27a807
UD
35651 * config.make.in (RANLIB): Remove entry.
35652
01f16ab0
UD
356532011-05-30 Ulrich Drepper <drepper@gmail.com>
35654
41fce8bd
UD
35655 * po/Makefile (po-sed-cmd): Add ksh to extensions.
35656 (libc.pot): Work around missing support for .ksh extension in xgettext.
35657
4769ae77
UD
35658 [BZ #12684]
35659 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
35660 if both request failed.
35661 (send_dg): In case of server errors clear resplen or *resplen2.
35662
6b1e7d19
UD
35663 [BZ #12454]
35664 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
35665 when there are multiple maps.
35666 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
35667 (_dl_fini): Remove test here.
35668
01f16ab0
UD
35669 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
35670
b1ebd700
UD
356712011-05-29 Ulrich Drepper <drepper@gmail.com>
35672
7ae22829
UD
35673 [BZ #12350]
35674 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
35675 bit from old_res_options.
35676 (gaih_inet): Likewise.
35677
553149f6 35678 [BZ #11099]
18a84741 35679 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
35680 as signed.
35681
652ffab1
UD
35682 * resolv/res_init.c (res_setoptions): Make the code more compact.
35683
16985fd0
UD
35684 [BZ #11558]
35685 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
35686 set RES_USEVC.
35687
0464f746
UD
35688 [BZ #11634]
35689 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
35690
7d17596c
UD
35691 * malloc/malloc.h: Mark malloc hook variables as deprecated.
35692
cf6bbbd7
UD
35693 [BZ #11781]
35694 * malloc/malloc.h: Declare malloc hook variables as volatile.
35695
13f1ab36
UD
35696 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
35697 in last patch.
35698
b1ebd700
UD
35699 [BZ #11799]
35700 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 35701 raise in the comment.
80e2212d
UD
35702 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
35703 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35704 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 35705
ce67228d
UD
357062011-05-28 Ulrich Drepper <drepper@gmail.com>
35707
8887a920
UD
35708 [BZ #12811]
35709 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
35710 grow the buffers more if it already has to be sufficient.
35711 (build_wcs_upper_buffer): Likewise.
35712 * posix/regexec.c (check_matching): Likewise.
35713 (clean_state_log_if_needed): Likewise.
35714 (extend_buffers): Don't enlarge buffers beyond size of the input
35715 buffer.
35716 Patches mostly by Emil Wojak <emil@wojak.eu>.
35717 * posix/bug-regex32.c: New file.
35718 * posix/Makefile (tests): Add bug-regex32.
35719
4f031072
UD
35720 * locale/findlocale.c (_nl_find_locale): Return right away if
35721 _nl_explode_name failed.
35722 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
35723
d0478f0c
UD
35724 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
35725
de81b246
UD
35726 * debug/xtrace.sh: Unify messages.
35727 * malloc/memusage.sh: Likewise.
35728
c738465a
UD
35729 [BZ #12813]
35730 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
35731 time symbol from vDSO. Substitute with vsyscall if not available.
35732 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
35733 __vdso_time.
35734
f1f929d7
UD
35735 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
35736 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
35737 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
35738 Add sendmmsg and internal_sendmmsg.
35739 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
35740 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
35741 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
35742
ce67228d
UD
35743 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
35744 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
35745 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
35746
e57420c6
UD
357472011-05-27 Ulrich Drepper <drepper@gmail.com>
35748
a8509ca5
UD
35749 [BZ #12813]
35750 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
35751 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
35752 available.
35753 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
35754 __vdso_getcpu.
35755
e57420c6
UD
35756 [BZ #12814]
35757 * iconvdata/Makefile (tests): Add bug-iconv9.
35758 * iconvdata/bug-iconv9.c: New file.
35759
4d07db15
AS
357602011-05-27 Andreas Schwab <schwab@redhat.com>
35761
35762 [BZ #12814]
35763 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
35764
ea486f69
JJ
357652011-05-25 Jakub Jelinek <jakub@redhat.com>
35766
35767 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
35768 (struct user_regs_struct): Change intcs field back to cs.
35769
6f038433
UD
357702011-05-25 Ulrich Drepper <drepper@gmail.com>
35771
35772 * po/ja.po: Update from translation team.
35773
67f86a25
UD
357742011-05-23 Ulrich Drepper <drepper@gmail.com>
35775
35776 [BZ #12795]
35777 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
35778 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
35779
def7fbd6
AS
357802011-05-20 Andreas Schwab <schwab@redhat.com>
35781
35782 * stdlib/longlong.h: Update from GCC.
35783
f50ef8f1
AS
357842011-05-23 Andreas Schwab <schwab@redhat.com>
35785
35786 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
35787 parameter name.
35788 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
35789 Add parameter name.
35790 (__sysconf): Pass it down.
35791
de7ce8f1
UD
357922011-05-22 Ulrich Drepper <drepper@gmail.com>
35793
f2962a71
UD
35794 [BZ #12671]
35795 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
35796 some situations.
35797 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
35798 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
35799 add in in __libc_use_alloca calls. Adjust callers.
35800 (glob): Use malloc in some situations.
35801
de7ce8f1
UD
35802 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
35803 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
35804 pltexit.
35805
aec84f53
UD
358062011-05-21 Ulrich Drepper <drepper@gmail.com>
35807
05bb4a68
UD
35808 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
35809 and CLOCK_BOOTTIME_ALARM.
35810
7ea72f99
UD
35811 [BZ #12782]
35812 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
35813 is returned.
35814
7e4afad5
UD
35815 * string/_strerror.c (__strerror_r): Print negative errors as signed
35816 numbers.
35817
8e211fec
UD
35818 [BZ #12777]
35819 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
35820 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
35821 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
35822
f7d82dc9
UD
35823 * configure.in: Fix typo in redirection and correct removal of test
35824 files in two cases.
35825
cc9e536d
UD
35826 [BZ #12788]
35827 * locale/setlocale.c (new_composite_name): Fix test to check for
35828 identical name of all categories.
35829
aec84f53
UD
35830 [BZ #12792]
35831 * libio/filedoalloc.c (local_isatty): New function.
35832 (_IO_file_doallocate): Use local_isatty.
35833 * stdio-common/perror.c (perror): In case a new stream is used
35834 forward the stream error.
35835 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
35836 error flag.
35837
78e64fdc
RT
358382011-05-20 Ulrich Drepper <drepper@gmail.com>
35839
34a9094f
UD
35840 [BZ #11869]
35841 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
35842 alloca.
35843 * include/alloca.h (extend_alloca_account): Define.
35844
78e64fdc
RT
35845 [BZ #11857]
35846 * posix/regex.h: Fix comments with documentation of user-accessible
35847 fields after compilation and describe correct free'ing of pattern
35848 after re_compile_pattern.
35849 Patch by Reuben Thomas <rrt@sc3d.org>.
35850
457bddfc
RA
358512011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
35852
35853 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
35854 and -mno-altivec to prevent the compiler from using Altivec and/or
35855 VSX instructions when the corresponding registers are not available.
35856
a4527b51
AS
358572011-05-19 Andreas Schwab <schwab@redhat.com>
35858
35859 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
35860
ed690b2f
UD
358612011-05-19 Ulrich Drepper <drepper@gmail.com>
35862
35863 * libio/freopen.c (freopen): Use __dup2, not dup2.
35864 * libio/freopen64.c (freopen64): Likewise.
35865
8db73634
L
358662011-05-17 H.J. Lu <hongjiu.lu@intel.com>
35867
35868 [BZ #12775]
35869 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
35870 * math/Makefile (tests): Add test-powl.
35871 (CFLAGS-test-powl.c): Define.
35872 * math/test-powl.c: New file.
35873
0a197a9d
L
358742011-05-16 H.J. Lu <hongjiu.lu@intel.com>
35875
35876 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
35877
ee30c380
UD
358782011-05-17 Ulrich Drepper <drepper@gmail.com>
35879
35880 [BZ #11837]
35881 * iconvdata/gb18030.c: Update to GB18020-2005.
35882
6ce75379
UD
358832011-05-16 Ulrich Drepper <drepper@gmail.com>
35884
a4b89fd8
AR
35885 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
35886 RE_SYNTAX_POSIX_AWK): Update to match recent development.
35887 Patch by Aharon Robbins <arnold@skeeve.com>.
35888
ea389b12
UD
35889 [BZ #11892]
35890 * stdlib/putenv.c (putenv): Don't always create copy of the variable
35891 on the stack.
35892
68a3f91f
UD
35893 [BZ #11895]
35894 * misc/pselect.c (__pselect): Handle timeout value errors hidden
35895 through underflows.
35896
15cc7dd1
UD
35897 [BZ #12766]
35898 * misc/error.c (error_at_line): Ensure file_name and old_file_name
35899 point to strings before performing equality test for error_one_per_line
35900 mode.
35901
f3799213
UD
35902 [BZ #11697]
35903 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
35904
d79a9c94
UD
35905 [BZ #11820]
35906 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
35907 (struct user_fpregs_struct): Avoid __uint*_t types.
35908
56e5eb46
UD
35909 [BZ #6420]
35910 * malloc/mtrace.c (tr_where): Add additional parameter to point to
35911 symbol info. Use it instead of calling _dl_addr locally.
35912 (lock_and_info): New function.
35913 (tr_freehook): Call lock_and_info and pass symbol info as additional
35914 parameter to tr_where.
35915 (tr_mallochook): Likewise.
35916 (tr_reallochook): Likewise.
35917 (tr_memalignhook): Likewise.
35918
6ce75379
UD
35919 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
35920 used and couldn't be at all thread-safe.
35921
f8a3b5bf
UD
359222011-05-15 Ulrich Drepper <drepper@gmail.com>
35923
94b7cc37
UD
35924 * libio/freopen.c (freopen): Don't close old file descriptor
35925 before the new one is opened. Instead dup the new file descriptor
35926 to the old one after the new stream is created.
35927 * libio/freopen64.c (freopen64): Likewise.
35928 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
35929 * libio/fileops.c (_IO_new_file_close_it): Handle new
35930 _IO_FLAGS2_NOCLOSE flag.
35931 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
35932 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
35933 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
35934 _IO_FLAGS2_NOCLOSE flag.
35935 * include/unistd.h: Add hidden_proto for dup3.
35936 Define __have_dup3.
35937 * io/dup3.c: Define hidden symbol.
35938 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
35939
bd25564e
UD
35940 [BZ #7101]
35941 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
35942 when an incomplete long option is used.
35943 * posix/tst-getopt_long1.c: New file.
35944 * posix/Makefile (tests): Add tst-getopt_long1.
35945
c84cfef4
UD
35946 [BZ #10138]
35947 * scripts/config.guess: Update from autoconf-2.68.
35948 * scripts/config.sub: Likewise.
35949
3b85df27
UD
35950 [BZ #10157]
35951 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
35952 tests into ...
35953 (has_cpuclock): ...this. New function.
35954 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
35955 macro here based on has_cpuclock code.
35956
15a856b1
UD
35957 [BZ #10149]
35958 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35959 First byte (not low byte) is now always NUL.
35960 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
35961
05f399e6
UD
35962 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35963 Use non-cancelable interfaces.
35964
10a52685 35965 [BZ #9809]
94ecc67d
UD
35966 * locale/iso-639.def: Add entry for Sorani.
35967
f8a3b5bf
UD
35968 [BZ #11901]
35969 * include/stdlib.h: Move include protection to the right place.
35970 Define abort_msg_s. Declare __abort_msg with it.
35971 * stdlib/abort.c (__abort_msg): Adjust type.
35972 * assert/assert.c (__assert_fail_base): New function. Majority
35973 of code from __assert_fail. Allocate memory for __abort_msg with
35974 mmap.
35975 (__assert_fail): Now call __assert_fail_base.
35976 * assert/assert-perr.c: Remove bulk of implementation. Use
35977 __assert_fail_base.
35978 * include/assert.hL Declare __assert_fail_base.
35979 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
35980 mmap.
35981 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
35982
1af4e298
UD
359832011-05-14 Ulrich Drepper <drepper@gmail.com>
35984
f8a3b5bf 35985 [BZ #11952]
d26dfc60
MG
35986 [BZ #12453]
35987 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
35988 until all modules are registered in the DTV.
35989 * elf/Makefile: Add rules to build and run tst-tls19.
35990 * elf/tst-tls19.c: New file.
35991 * elf/tst-tls19mod1.c: New file.
35992 * elf/tst-tls19mod2.c: New file.
35993 * elf/tst-tls19mod3.c: New file.
35994 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
35995
2fc54d6f
UD
35996 [BZ #12083]
35997 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
35998 correctly.
35999
98d76b46
UD
36000 [BZ #12601]
36001 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
36002 two-byte sequence errors.
36003 * iconvdata/Makefile (tests): Add bug-iconv8.
36004 * iconvdata/bug-iconv8.c: New file.
36005
da3c19ef
UD
36006 [BZ #12626]
36007 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
36008 buf2 definition.
36009
ca408c15
UD
36010 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
36011
d6f67f7d
UD
36012 [BZ #12432]
36013 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
36014 (dummy_getcfa): New function.
36015 (init): Get _Unwind_GetCFA address, use dummy if not found.
36016 (backtrace_helper): In recursion check, also check whether CFA changes.
36017 (__backtrace): Completely initialize arg.
36018
1af4e298 36019 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
36020 storing incomplete byte sequence in state object. Avoid testing for
36021 guaranteed too small input if we know there is enough data available.
1af4e298 36022
da62f81b
AS
360232011-05-11 Andreas Schwab <schwab@redhat.com>
36024
36025 * Makeconfig (+link-pie): Indent.
36026 * Rules (binaries-pie): Define if $(have-fpie) and
36027 $(build-shared).
36028 (binaries-shared): Also filter out $(binaries-pie).
36029 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
36030 * nscd/Makefile (others-pie): Add nscd.
36031 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
36032 ($(objpfx)nscd): Remove command override.
36033 * login/Makefile (others-pie): Add pt_chown.
36034 ($(objpfx)pt_chown): Remove command override.
36035 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
36036 remove command overrides.
36037
fcabc0f8
UD
360382011-05-13 Ulrich Drepper <drepper@gmail.com>
36039
20030ae6
UD
36040 * libio/tst_putwc.c: Fix error messages.
36041
fcabc0f8
UD
36042 [BZ #12724]
36043 * libio/fileops.c (_IO_new_file_close_it): Always flush when
36044 currently writing and seek to current position when not.
36045 * libio/Makefile (tests): Add bug-fclose1.
36046 * libio/bug-fclose1.c: New file.
36047
320a5dc0
PB
360482011-05-12 Ulrich Drepper <drepper@gmail.com>
36049
36050 [BZ #12511]
36051 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
36052 don't set DF_1_NODELETE here.
36053 (do_lookup_x): When entering new entry test for copy relocation
36054 and if necessary set DF_1_NODELETE flag.
36055 * elf/tst-unique4.cc: New file.
36056 * elf/tst-unique4.h: New file.
36057 * elf/tst-unique4lib.cc: New file.
36058 * elf/Makefile: Add rules to build and run tst-unique4.
36059 Patch by Piotr Bury <pbury@goahead.com>.
36060
22836f52
UD
360612011-05-11 Ulrich Drepper <drepper@gmail.com>
36062
f574184a
UD
36063 [BZ #12052]
36064 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
36065
e1fb097f
UD
36066 [BZ #12625]
36067 * misc/mntent_r.c (addmntent): Flush the stream after the output
36068
22836f52
UD
36069 [BZ #12393]
36070 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
36071 (is_trusted_path_normalize): Skip initial colon. Append slash
36072 to empty buffer. Duplicate is_trusted_path code but allow
36073 constructed patch to be prefix.
36074 (is_dst): Allow $ORIGIN followed by /.
36075 (_dl_dst_substitute): Correct clearing of check_for_trusted.
36076 Correct testing of result of is_trusted_path_normalize
36077 (decompose_rpath): Fix warning.
36078
7b3b0b2a
UD
360792011-05-10 Ulrich Drepper <drepper@gmail.com>
36080
36081 [BZ #11257]
36082 * grp/initgroups.c (internal_getgrouplist): When we found the service
36083 list through the initgroups entry in nsswitch.conf do not always
36084 continue on a successful lookup. Don't always use the
eac80ce2 36085 __nss_group_database value if it is set.
7b3b0b2a
UD
36086 * nss/nsswitch.conf (initgroups): Change action for successful db
36087 lookup to continue for compatibility.
36088
2a81eaa5
UD
360892011-05-09 Ulrich Drepper <drepper@gmail.com>
36090
be97a69e
UD
36091 [BZ #11532]
36092 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
36093 and CP774 modules.
36094 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
36095 and CP774 modules.
36096 * iconvdata/tst-tables.sh: Likewise.
36097 * iconvdata/cp770.c: New file.
36098 * iconvdata/cp771.c: New file.
36099 * iconvdata/cp772.c: New file.
36100 * iconvdata/cp773.c: New file.
36101 * iconvdata/cp774.c: New file.
36102 * iconvdata/testdata/CP770: New file.
36103 * iconvdata/testdata/CP770..UTF8: New file.
36104 * iconvdata/testdata/CP771: New file.
36105 * iconvdata/testdata/CP771..UTF8: New file.
36106 * iconvdata/testdata/CP772: New file.
36107 * iconvdata/testdata/CP772..UTF8: New file.
36108 * iconvdata/testdata/CP773: New file.
36109 * iconvdata/testdata/CP773..UTF8: New file.
36110 * iconvdata/testdata/CP774: New file.
36111 * iconvdata/testdata/CP774..UTF8: New file.
36112
36113 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
36114 END CHARMAP line.
36115 * iconvdata/gen-8bit-gap.sh: Likewise.
36116 * iconvdata/gen-8bit.sh: Likewise.
36117
c1e9e399
UD
36118 * locale/iso-639.def: Add ary entry.
36119
24c55fb3 36120 [BZ #11258]
96b4b1b0
UD
36121 * locale/C-translit.h.in: Add U20A1 transliteration.
36122
bdc2f971
KB
36123 [BZ #12178]
36124 * locale/iso-639.def: Add wae entry.
36125 Patch by Kevin Bortis <bortis@translate-wae.ch>.
36126
2952b117
UD
36127 [BZ #12545]
36128 * locale/programs/localedef.c (construct_output_path): Use ssize_t
36129 for n.
36130
2a81eaa5
UD
36131 [BZ #12711]
36132 * locale/C-translit.h.in: Add entry for U20B9.
36133 Patch by pravin.d.s@gmail.com.
36134
28377d1b
UD
361352011-05-08 Ulrich Drepper <drepper@gmail.com>
36136
7fb90fb8
UD
36137 [BZ #12713]
36138 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
36139 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
36140 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
36141 in rtld. Use *stat64.
7fb90fb8 36142 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 36143 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 36144 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
36145 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
36146 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
36147 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
36148 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
36149 __fstatat64 macros.
7fb90fb8
UD
36150 * include/dirent.h: Add libc_hidden_proto for rewinddir.
36151 * dirent/rewinddir.c: Add libc_hidden_def.
36152 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 36153 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 36154
28377d1b
UD
36155 * include/dirent.h (__alloc_dir): Add flags parameter.
36156 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
36157 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
36158 __alloc_dir.
36159 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
36160 from fdopendir if O_CLOEXEC is already set.
36161
66bdbaa4
AM
361622011-03-15 Alan Modra <amodra@gmail.com>
36163
36164 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
36165 l_tls_firstbyte_offset non-zero. Save padding offset in
36166 l_tls_firstbyte_offset for later use.
36167 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
36168 freeing static tls block.
36169
95721191
JN
361702011-03-05 Jonathan Nieder <jrnieder@gmail.com>
36171
36172 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
36173 where #ifdef was intended. The intent is to prevent ARG_MAX from
36174 being defined by the kernel headers.
36175
f87dfb1f
UD
361762011-05-07 Ulrich Drepper <drepper@gmail.com>
36177
36178 [BZ #12734]
36179 * resolv/resolv.h: Define RES_NOTLDQUERY.
36180 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
36181 no-tld-query and set RES_NOTLDQUERY.
36182 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
36183 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
36184 modern BIND to search name as TLD unless forbidden.
36185
47c3cd7a
UD
361862011-05-07 Petr Baudis <pasky@suse.cz>
36187 Ulrich Drepper <drepper@gmail.com>
36188
36189 [BZ #12393]
36190 * elf/dl-load.c (fillin_rpath): Move trusted path check...
36191 (is_trusted_path): ...to here.
c1e9ea35 36192 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 36193 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 36194 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 36195
8a35c912
PP
361962011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
36197
36198 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
36199 __BEGIN/__END_DECLS.
36200
acd41f47
UD
362012011-05-06 Ulrich Drepper <drepper@gmail.com>
36202
36203 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
36204 NSS_STATUS_NOTFOUND if no record was found.
36205
597df647
AS
362062011-05-05 Andreas Schwab <schwab@redhat.com>
36207
36208 * sunrpc/Makefile (headers): Add rpc/netdb.h.
36209 (headers-not-in-tirpc): Remove rpc/netdb.h
36210 * resolv/netdb.h: Revert last change.
36211
b9af1301
PP
362122011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
36213
36214 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
36215 circular dependency between libgcc.a and libc.a.
36216
4e34d5f5
AS
362172011-05-05 Andreas Schwab <schwab@redhat.com>
36218
36219 * resolv/netdb.h: Don't include <rpc/netdb.h>.
36220 * nis/Makefile: Don't install rpcsvc/*.
36221 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
36222 instead of <rpc/types.h>.
36223 (MAXHOSTNAMELEN): Define.
36224
00ee369c
AS
362252011-05-03 Andreas Schwab <schwab@redhat.com>
36226
36227 * elf/ldconfig.c (add_dir): Don't crash on empty path.
36228
0b592a30
MB
362292011-04-28 Maciej Babinski <mbabinski@google.com>
36230
36231 [BZ #12714]
36232 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
36233 gethostbyname4_r when IPv6 results are possible.
36234
6e04cbbe
UD
362352011-05-02 Ulrich Drepper <drepper@gmail.com>
36236
36237 [BZ #12723]
36238 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
36239 _PC_PIPE_BUF handling.
36240
e4ecafe0
BH
362412011-04-30 Bruno Haible <bruno@clisp.org>
36242
36243 [BZ #12717]
36244 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
36245 * resolv/netdb.h (getnameinfo): Change type of flags parameter
36246 to 'int'.
36247 * inet/getnameinfo.c (getnameinfo): Likewise.
36248
125ee683
UD
362492011-04-29 Ulrich Drepper <drepper@gmail.com>
36250
36251 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
36252 to groups setting in database lookup.
36253 * nss/nsswitch.conf: Add initgroups entry.
36254
b722481a
EB
362552011-04-22 Ulrich Drepper <drepper@gmail.com>
36256
36257 [BZ #12685]
36258 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
36259 mode string.
36260 Patch by Eric Blake <eblake@redhat.com>.
36261
4df46dbd
L
362622011-04-20 H.J. Lu <hongjiu.lu@intel.com>
36263
36264 * sunrpc/Makefile (need-export-routines): Add svc_run.
36265 (routines): Remove svc_run.
36266 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
36267 * sunrpc/clnt_perr.c (clnt_perrno): Export.
36268 * sunrpc/svc_run.c (svc_run): Likewise.
36269 * sunrpc/svc_udp.c (svcudp_create): Likewise.
36270
e84142d2
UD
362712011-04-21 Ulrich Drepper <drepper@gmail.com>
36272
36273 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
36274 problem in reallocation in last patch.
36275
877175d8
UD
362762011-04-20 Ulrich Drepper <drepper@gmail.com>
36277
36278 * sunrpc/Makefile: Move inclusion of Rules.
36279
ab8eed78
UD
362802011-04-19 Ulrich Drepper <drepper@gmail.com>
36281
36282 * nss/nss_files/files-initgroups.c: New file.
36283 * nss/Makefile (libnss_files-routines): Add files-initgroups.
36284 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
36285 _nss_files_initgroups_dyn.
36286
e3d8f584
RS
362872011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
36288
36289 * elf/elf.h (R_ARM_IRELATIVE): Define.
36290
af190f45
UD
362912011-04-19 Ulrich Drepper <drepper@gmail.com>
36292
36293 * po/ru.po: Update from translation team.
36294
53cf59ef
UD
362952011-04-17 Ulrich Drepper <drepper@gmail.com>
36296
36297 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
36298 dependencies.
36299
4c559bcd
MF
363002011-02-06 Mike Frysinger <vapier@gentoo.org>
36301
36302 [BZ #12653]
36303 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
36304 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
36305 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36306 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36307 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
36308
4420675c
AS
363092011-03-28 Andreas Schwab <schwab@linux-m68k.org>
36310
36311 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
36312 differing bytes.
36313 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
36314 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
36315 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36316
75ea32ab
UD
363172011-04-17 Ulrich Drepper <drepper@gmail.com>
36318
36319 [BZ #12420]
36320 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
36321 storing it.
36322 * stdlib/bug-getcontext.c: New file.
36323 * stdlib/Makefile: Add rules to build and run bug-getcontext.
36324
27390476
AK
363252011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36326
36327 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
36328 instructions into .machine "z9-109".
36329 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
36330 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
36331
10442705
AK
363322011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36333
36334 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
36335 between environment variables and auxiliary vector.
36336
7b57bfe5
UD
363372011-04-16 Ulrich Drepper <drepper@gmail.com>
36338
36339 * Makefile: Add rules to build linkobj/libc.so.
36340 * include/libc-symbols.h: Define libc_hidden_nolink.
36341 * include/rpc/auth.h: Mark functions which are to be hidden.
36342 * include/rpc/auth_des.h: Likewise.
36343 * include/rpc/auth_unix.h: Likewise.
36344 * include/rpc/clnt.h: Likewise.
36345 * include/rpc/des_crypt.h: Likewise.
36346 * include/rpc/key_prot.h: Likewise.
36347 * include/rpc/pmap_clnt.h: Likewise.
36348 * include/rpc/pmap_prot.h: Likewise.
36349 * include/rpc/pmap_rmt.h: Likewise.
36350 * include/rpc/rpc_msg.h: Likewise.
36351 * include/rpc/svc.h: Likewise.
36352 * include/rpc/svc_auth.h: Likewise.
36353 * include/rpc/xdr.h: Likewise.
36354 * nis/Makefile: Link all DSOs against linkobj/libc.so.
36355 * nss/Makefile: Likewise.
36356 * sunrpc/Makefile: Don't install headers. Build library with normal
36357 entry points. Don't build rpcinfo. Link RPC tests appropriately.
36358 * sunrpc/auth_des.c: Hide exported symbols by default, export some
36359 for the compat linking library. Remove use of INTDEF/INTUSE.
36360 * sunrpc/auth_none.c: Likewise.
36361 * sunrpc/auth_unix.c: Likewise.
36362 * sunrpc/authdes_prot.c: Likewise.
36363 * sunrpc/authuxprot.c: Likewise.
36364 * sunrpc/clnt_gen.c: Likewise.
36365 * sunrpc/clnt_perr.c: Likewise.
36366 * sunrpc/clnt_raw.c: Likewise.
36367 * sunrpc/clnt_simp.c: Likewise.
36368 * sunrpc/clnt_tcp.c: Likewise.
36369 * sunrpc/clnt_udp.c: Likewise.
36370 * sunrpc/clnt_unix.c: Likewise.
36371 * sunrpc/des_crypt.c: Likewise.
36372 * sunrpc/des_soft.c: Likewise.
36373 * sunrpc/get_myaddr.c: Likewise.
36374 * sunrpc/key_call.c: Likewise.
36375 * sunrpc/key_prot.c: Likewise.
36376 * sunrpc/netname.c: Likewise.
36377 * sunrpc/pm_getmaps.c: Likewise.
36378 * sunrpc/pm_getport.c: Likewise.
36379 * sunrpc/pmap_clnt.c: Likewise.
36380 * sunrpc/pmap_prot.c: Likewise.
36381 * sunrpc/pmap_prot2.c: Likewise.
36382 * sunrpc/pmap_rmt.c: Likewise.
36383 * sunrpc/publickey.c: Likewise.
36384 * sunrpc/rpc_cmsg.c: Likewise.
36385 * sunrpc/rpc_common.c: Likewise.
36386 * sunrpc/rpc_dtable.c: Likewise.
36387 * sunrpc/rpc_prot.c: Likewise.
36388 * sunrpc/rpc_thread.c: Likewise.
36389 * sunrpc/rtime.c: Likewise.
36390 * sunrpc/svc.c: Likewise.
36391 * sunrpc/svc_auth.c: Likewise.
36392 * sunrpc/svc_authux.c: Likewise.
36393 * sunrpc/svc_raw.c: Likewise.
36394 * sunrpc/svc_run.c: Likewise.
36395 * sunrpc/svc_simple.c: Likewise.
36396 * sunrpc/svc_tcp.c: Likewise.
36397 * sunrpc/svc_udp.c: Likewise.
36398 * sunrpc/svc_unix.c: Likewise.
36399 * sunrpc/svcauth_des.c: Likewise.
36400 * sunrpc/xcrypt.c: Likewise.
36401 * sunrpc/xdr.c: Likewise.
36402 * sunrpc/xdr_array.c: Likewise.
36403 * sunrpc/xdr_float.c: Likewise.
36404 * sunrpc/xdr_intXX_t.c: Likewise.
36405 * sunrpc/xdr_mem.c: Likewise.
36406 * sunrpc/xdr_rec.c: Likewise.
36407 * sunrpc/xdr_ref.c: Likewise.
36408 * sunrpc/xdr_sizeof.c: Likewise.
36409 * sunrpc/xdr_stdio.c: Likewise.
36410
e6c61494
UD
364112011-04-10 Ulrich Drepper <drepper@gmail.com>
36412
36413 [BZ #12650]
36414 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
36415 * sysdeps/ia64/dl-tls.h: Likewise.
36416 * sysdeps/powerpc/dl-tls.h: Likewise.
36417 * sysdeps/s390/dl-tls.h: Likewise.
36418 * sysdeps/sh/dl-tls.h: Likewise.
36419 * sysdeps/sparc/dl-tls.h: Likewise.
36420 * sysdeps/x86_64/dl-tls.h: Likewise.
36421 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
36422
34fe483e
AS
364232011-03-14 Andreas Schwab <schwab@redhat.com>
36424
36425 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
36426 rpath element also skip the following colon.
36427 (expand_dynamic_string_token): Add is_path parameter and pass
36428 down to DL_DST_REQUIRED and _dl_dst_substitute.
36429 (decompose_rpath): Call expand_dynamic_string_token with
36430 non-zero is_path. Ignore empty rpaths.
36431 (_dl_map_object_from_fd): Call expand_dynamic_string_token
36432 with zero is_path.
36433
f12a32e6
AS
364342011-04-08 Andreas Schwab <schwab@linux-m68k.org>
36435
36436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36437 Make cancelable.
36438
38a7d692
UD
364392011-04-09 Ulrich Drepper <drepper@gmail.com>
36440
36441 [BZ #12655]
36442 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
36443 Patch by Filipe David Manana <fdmanana@apache.org>.
36444
e451d22b
AS
364452011-04-07 Andreas Schwab <schwab@redhat.com>
36446
36447 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
36448 Maintain aligned stack.
36449 (CHECK_RSP): Remove unused macro.
36450
dedc7c7b
UD
364512011-04-03 Ulrich Drepper <drepper@gmail.com>
36452
36453 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
36454 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
36455
94521213
UD
364562011-04-02 Ulrich Drepper <drepper@gmail.com>
36457
36458 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
36459
8cb700c0 36460 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 36461
0354e355
L
364622011-03-26 H.J. Lu <hongjiu.lu@intel.com>
36463
36464 [BZ #12518]
36465 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
36466 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
36467 * sysdeps/x86_64/memmove.c: New file.
36468 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
36469 (memcpy): Renamed to ...
36470 (__new_memcpy): This.
36471 (memcpy): Provide GLIBC_2_14 memcpy.
36472 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
36473 (memcpy): Provide GLIBC_2_2_5 memcpy.
36474
8593482f
UD
364752011-04-01 Ulrich Drepper <drepper@gmail.com>
36476
36477 [BZ #12631]
36478 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
36479
81a5726b
AS
364802011-03-30 Andreas Schwab <schwab@redhat.com>
36481
36482 * misc/syncfs.c: New file.
36483 * misc/Makefile (routines): Add syncfs.
36484 * posix/unistd.h: Declare syncfs.
36485 * sysdeps/unix/syscalls.list: Add syncfs.
36486
00e5419f
AS
364872011-04-01 Andreas Schwab <schwab@redhat.com>
36488
36489 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
36490 open_by_handle_at.
36491 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
36492 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36493 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36494 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36495 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36496 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
36497 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36498
748876bf
UD
364992011-04-01 Ulrich Drepper <drepper@gmail.com>
36500
658e451d
UD
36501 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
36502 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36503 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
36504 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36505 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36506 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36507 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36508
748876bf
UD
36509 * io/Makefile: Compile fallocate.c, fallocate64.c, and
36510 sync_file_range.c with -fexceptions.
36511 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
36512 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
36513 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
36514 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
36515 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
36516 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36517 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
36518 sync_file_range as cancellation point
36519 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
36520 now a wrapper around __call_sync_file_range with cancellation handling.
36521 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
36522 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
36523 function name to __call_sync_file_range.
36524 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
36525 Add call_sync_file_range.
748876bf 36526
6e63d5e1
AS
365272011-04-01 Andreas Schwab <schwab@redhat.com>
36528
36529 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 36530 bits/timex.h.
6e63d5e1 36531
46998f74
UD
365322011-04-01 Ulrich Drepper <drepper@gmail.com>
36533
4c1423ed
UD
36534 * iconv/iconv.h: Fix typo in comment.
36535 * io/fcntl.h: Likewise.
36536 * libio/stdio.h: Likewise.
36537 * posix/spawn.h: Likewise.
36538 * posix/unistd.h: Likewise.
36539 * stdlib/stdlib.h: Likewise.
36540 * time/time.h: Likewise.
36541 * wcsmbs/wchar.h: Likewise.
36542
158648c0
UD
36543 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
36544 open_by_handle): Add.
36545 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
36546 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
36547 Augment a few comments.
36548 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36549 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36550 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36551 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36552 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36553 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
36554 open_by_handle.
36555
46998f74
UD
36556 * io/fcntl.h (AT_EMPTY_PATH): Define.
36557
83fe108b
UD
365582011-03-30 Ulrich Drepper <drepper@gmail.com>
36559
36560 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
36561 * sysdeps/unix/sysv/linux/bits/time.h: New file.
36562 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
36563 to...
36564 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
36565 * Versions.def: Add GLIBC_2.14.
36566 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
36567 Export.
83fe108b 36568
bb242059
UD
365692011-03-22 Ulrich Drepper <drepper@gmail.com>
36570
36571 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
36572 round counter.
36573 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36574
c97a1282
L
365752011-03-20 H.J. Lu <hongjiu.lu@intel.com>
36576
36577 [BZ #12597]
36578 * string/test-strncmp.c (do_page_test): New function.
36579 (check2): Likewise.
36580 (test_main): Call check2.
36581 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
36582
2a115601
UD
365832011-03-20 Ulrich Drepper <drepper@gmail.com>
36584
36585 [BZ #12587]
36586 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
36587 Handle cache information in CPU leaf 4.
36588 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36589
8126d904
UD
365902011-03-18 Ulrich Drepper <drepper@gmail.com>
36591
042c49c6 36592 [BZ #12583]
8126d904
UD
36593 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
36594 character representation.
36595 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
36596
ccfe366e
RA
365972011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
36598
36599 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
36600 END(__isnan) to END(__isnanf) to match function entry point/label
36601 EALIGN(__isnanf,...).
36602
c6e13027
JJ
366032011-03-10 Jakub Jelinek <jakub@redhat.com>
36604
36605 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
36606
33f85a3f
UD
366072011-03-10 Ulrich Drepper <drepper@gmail.com>
36608
028478fa
UD
36609 [BZ #12510]
36610 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
36611 copy from the symbol referenced in the relocation to initialize the
36612 used variable.
36613 Patch by Piotr Bury <pbury@goahead.com>.
36614 * elf/Makefile: Add rules to build and tst-unique3.
36615 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
36616 * elf/tst-unique3.cc: New file.
36617 * elf/tst-unique3.h: New file.
36618 * elf/tst-unique3lib.cc: New file.
36619 * elf/tst-unique3lib2.cc: New file.
36620
33f85a3f
UD
36621 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
36622
03592fc7
MF
366232011-03-10 Mike Frysinger <vapier@gentoo.org>
36624
36625 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
36626 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
36627 to _start.
03592fc7 36628
6a5ee102
UD
366292011-03-06 Ulrich Drepper <drepper@gmail.com>
36630
36631 * elf/dl-load.c (_dl_map_object): If we are looking for the first
36632 to-be-loaded object along a path to loader is ld.so.
36633
7e4ba49c
HJ
366342011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
36635 Ulrich Drepper <drepper@gmail.com>
36636
36637 * sysdeps/x86_64/memset.S: After aligning destination, code
36638 branches to different locations depending on the value of
36639 misalignment, when multiarch is enabled. Fix this.
36640
366412011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
36642
36643 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
36644 Set _x86_64_preferred_memory_instruction for AMD processsors.
36645 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36646 Set bit_Prefer_SSE_for_memop for AMD processors.
36647
13a804de
UD
366482011-03-04 Ulrich Drepper <drepper@gmail.com>
36649
36650 * libio/fmemopen.c (fmemopen): Optimize a bit.
36651
9d25c392
AS
366522011-03-03 Andreas Schwab <schwab@redhat.com>
36653
36654 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
36655
a5543c6a
RM
366562011-03-03 Roland McGrath <roland@redhat.com>
36657
36658 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
36659
012d35f7
DM
366602011-02-28 Aurelien Jarno <aurelien@aurel32.net>
36661
7e4ba49c 36662 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
36663 __bzero_ultra1 instead of __memset_ultra1.
36664
4bff6e01
AS
366652011-02-23 Andreas Schwab <schwab@redhat.com>
36666 Ulrich Drepper <drepper@gmail.com>
36667
36668 [BZ #12509]
36669 * include/link.h (struct link_map): Add l_orig_initfini.
36670 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
36671 returning unsuccessfully.
36672 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
36673 close of a file loaded at startup, restore the original l_initfini
36674 list.
36675 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
36676 list, store the pointer.
36677 * elf/Makefile ($(objpfx)noload-mem): New rule.
36678 (noload-ENV): Define.
36679 (tests): Add $(objpfx)noload-mem.
36680 * elf/noload.c: Include <memcheck.h>.
36681 (main): Call mtrace. Close all opened handles.
36682
f2092faf
AS
366832011-02-17 Andreas Schwab <schwab@redhat.com>
36684
36685 [BZ #12454]
36686 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
36687 dependencies are missing.
36688
6c8a2e88
ST
366892011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
36690
f2092faf 36691 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
36692 Hurd needs munmap.
36693 * sysdeps/mach/hurd/ifreq.h: New file.
36694
84a42118
PB
366952011-01-27 Petr Baudis <pasky@suse.cz>
36696 Ulrich Drepper <drepper@gmail.com>
36697
071f805e 36698 [BZ 12445]#
84a42118
PB
36699 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
36700 to extend_alloca().
36701 * stdio-common/bug23.c: New file.
36702 * stdio-common/Makefile (tests): Add bug23.
36703
e23fe25b
AS
367042010-09-28 Andreas Schwab <schwab@redhat.com>
36705 Ulrich Drepper <drepper@gmail.com>
36706
36707 [BZ #12489]
36708 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
36709 before performing relro protection. At old place add assertion
36710 to make sure nothing changed.
36711
d3f02e10
NS
367122011-02-17 Nathan Sidwell <nathan@codesourcery.com>
36713 Glauber de Oliveira Costa <glommer@gmail.com>
36714
36715 * elf/elf.h: Add new ARM TLS relocs.
36716
d55fd7a5
RA
367172011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
36718
36719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
36720 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
36721 cast from r3.
36722 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
36723 'tests' variable.
36724 * sysdeps/wordsize-64/tst-writev.c: New file.
36725
2206397e
RA
367262011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
36727
36728 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
36729 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
36730 insns in _dl_start to prevent a TOC reference before relocs are
36731 resolved.
36732
e9433893
UD
367332011-02-15 Ulrich Drepper <drepper@gmail.com>
36734
36735 [BZ #12469]
36736 * Makeconfig: Remove RANLIB definition.
36737 * Makerules: Don't use RANLIB.
36738 * aclocal.m4: Remove ranlib test.
36739 * configure.in: No need to check for ranlib.
36740 * elf/rtld-Rules: Don't use RANLIB.
36741
f75286c6
ST
367422011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
36743
8e31c82d
ST
36744 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
36745 protection macro.
36746 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
36747 inclusion protection macro.
36748
f75286c6
ST
36749 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
36750 SIGRTMIN and SIGRTMAX and print information in that case only when
36751 SIGRTMIN is defined.
36752
c1d0e639
JJ
367532011-02-11 Jakub Jelinek <jakub@redhat.com>
36754
36755 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
36756 arginfo fn returning -1.
36757
36758 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
36759 and thousands string is zero terminated.
36760
edf9294e
AS
367612011-02-03 Andreas Schwab <schwab@redhat.com>
36762
36763 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
36764 sysdeps/unix/sysv/linux/bits/socket.h.
36765
2b7e92df
ST
367662011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
36767
edf9294e
AS
36768 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
36769 (__CPU_COUNT): Remove old macros.
36770 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
36771 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
36772 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
36773 (__sched_cpualloc, __sched_cpufree): Add declarations.
36774
a4c7ea7b
UD
367752011-02-05 Ulrich Drepper <drepper@gmail.com>
36776
36777 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
36778 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
36779 * nscd/aicache.c (addhstaiX): Return timeout of added value.
36780 (readdhstai): Return value of addhstaiX call.
36781 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
36782 (addgrbyX): Return value returned by cache_addgr.
36783 (readdgrbyname): Return value returned by addgrbyX.
36784 (readdgrbygid): Likewise.
36785 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
36786 (addpwbyX): Return value returned by cache_addpw.
36787 (readdpwbyname): Return value returned by addhstbyX.
36788 (readdpwbyuid): Likewise.
36789 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
36790 (addservbyX): Return value returned by cache_addserv.
36791 (readdservbyname): Return value returned by addservbyX:
36792 (readdservbyport): Likewise.
36793 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
36794 (addhstbyX): Return value returned by cache_addhst.
36795 (readdhstbyname): Return value returned by addhstbyX.
36796 (readdhstbyaddr): Likewise.
36797 (readdhstbynamev6): Likewise.
36798 (readdhstbyaddrv6): Likewise.
36799 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
36800 (readdinitgroups): Return value returned by addinitgroupsX.
36801 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
36802 (prune_cache): Keep track of timeout value of re-added entries.
36803 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
36804 * nscd/nscd.h: Adjust prototypes of readd* functions.
36805
a0bf67cc
RM
368062011-02-04 Roland McGrath <roland@redhat.com>
36807
36808 * nis/nis_server.c (nis_servstate): Use the right name for 0.
36809 (nis_stats): Likewise.
36810 * nis/nis_modify.c (nis_modify): Likewise.
36811 * nis/nis_remove.c (nis_remove): Likewise.
36812 * nis/nis_add.c (nis_add): Likewise.
36813
36814 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
36815
36816 * posix/fnmatch_loop.c: Add some consts.
36817
36818 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
36819
435b95eb
L
368202011-02-02 H.J. Lu <hongjiu.lu@intel.com>
36821
36822 [BZ #12460]
36823 * config.make.in (config-cflags-novzeroupper): Define.
36824 * configure.in: Substitute libc_cv_cc_novzeroupper.
36825 * elf/Makefile (AVX-CFLAGS): Define.
36826 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
36827 (CFLAGS-tst-auditmod4a.c): Likewise.
36828 (CFLAGS-tst-auditmod4b.c): Likewise.
36829 (CFLAGS-tst-auditmod6b.c): Likewise.
36830 (CFLAGS-tst-auditmod6c.c): Likewise.
36831 (CFLAGS-tst-auditmod7b.c): Likewise.
36832 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
36833
8517b15e
UD
368342011-02-02 Ulrich Drepper <drepper@gmail.com>
36835
36836 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
36837 function to the callback.
36838 Patch partly by Jiri Olsa <jolsa@redhat.com>.
36839
10a656fe
AS
368402011-02-02 Andreas Schwab <schwab@redhat.com>
36841
36842 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
36843 of errno.
36844
968dad0a
UD
368452011-01-19 Ulrich Drepper <drepper@gmail.com>
36846
9f94d2ea 36847 [BZ #11724]
968dad0a
UD
36848 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
36849 of constructors.
36850 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
36851 of destructors.
36852 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
36853
36854 [BZ #11724]
36855 * elf/Makefile: Add rules to build and run new test.
36856 * elf/tst-initorder.c: New file.
36857 * elf/tst-initorder.exp: New file.
36858 * elf/tst-initordera1.c: New file.
36859 * elf/tst-initordera2.c: New file.
36860 * elf/tst-initordera3.c: New file.
36861 * elf/tst-initordera4.c: New file.
36862 * elf/tst-initorderb1.c: New file.
36863 * elf/tst-initorderb2.c: New file.
36864 * elf/tst-order-a1.c: New file.
36865 * elf/tst-order-a2.c: New file.
36866 * elf/tst-order-a3.c: New file.
36867 * elf/tst-order-a4.c: New file.
36868 * elf/tst-order-b1.c: New file.
36869 * elf/tst-order-b2.c: New file.
36870 * elf/tst-order-main.c: New file.
36871 New test case by George Gensure <werkt0@gmail.com>.
36872
86e92359
UD
368732010-10-01 Andreas Schwab <schwab@redhat.com>
36874
36875 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
36876 decoding ACE if AI_CANONIDN.
36877
5d5732b0
UD
368782011-01-18 Ulrich Drepper <drepper@gmail.com>
36879
36880 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
36881
a77e8cbc
UD
368822011-01-17 Ulrich Drepper <drepper@gmail.com>
36883
6392473f
UD
36884 * version.h (RELEASE): Bump for 2.13 release.
36885 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
36886
620a0529
UD
36887 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
36888
18ba70a5
UD
36889 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
36890 MADV_NOHUGEPAGE.
32465c3e
UD
36891 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
36892 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
36893 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36894 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
36895 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36896 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
36897
c0dafcf1
UD
36898 * posix/getconf.c: Update copyright year.
36899 * catgets/gencat.c: Likewise.
36900 * csu/version.c: Likewise.
36901 * debug/catchsegv.sh: Likewise.
36902 * debug/xtrace.sh: Likewise.
36903 * elf/ldconfig.c: Likewise.
36904 * elf/ldd.bash.in: Likewise.
36905 * elf/sprof.c (print_version): Likewise.
36906 * iconv/iconv_prog.c: Likewise.
36907 * iconv/iconvconfig.c: Likewise.
36908 * locale/programs/locale.c: Likewise.
36909 * locale/programs/localedef.c: Likewise.
36910 * malloc/memusage.sh: Likewise.
36911 * malloc/mtrace.pl: Likewise.
36912 * nscd/nscd.c (print_version): Likewise.
36913 * nss/getent.c: Likewise.
36914
a77e8cbc
UD
36915 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
36916 PF_CAIF, and PF_ALG.
36917 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36918
77e8bddf
AS
369192011-01-16 Andreas Schwab <schwab@linux-m68k.org>
36920
1f20b93a
AS
36921 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
36922 (modules-names): Use them.
36923 (ifunc-test-modules, ifunc-pie-tests): Define.
36924 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
36925 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
36926 (test-extras): Likewise.
36927 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
36928 $(compile-command.c).
36929 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
36930 (all-built-dso): Define.
36931 (check-textrel.out, check-execstack.out): Depend on it.
36932
77e8bddf
AS
36933 * configure.in: Don't override --enable-multi-arch.
36934
bc425b33
UD
369352011-01-15 Ulrich Drepper <drepper@gmail.com>
36936
36937 [BZ #6812]
36938 * nscd/hstcache.c (tryagain): Define.
36939 (cache_addhst): Return tryagain not notfound for temporary errors.
36940 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
36941 failed.
36942
794c3ad3
UD
369432011-01-14 Ulrich Drepper <drepper@gmail.com>
36944
70181fdd
UD
36945 [BZ #10563]
36946 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
36947 to make the syscall.
36948 * sysdeps/unix/sysv/linux/setgroups.c: New file.
36949
794c3ad3
UD
36950 [BZ #12378]
36951 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
36952 and fall back to matching as normal character if the string ends before
36953 the matching ']' is found. This is what POSIX requires.
36954 * posix/testfnm.c: Adjust test result.
36955 * posix/globtest.sh: Adjust test result. Add new test.
36956 * posix/tst-fnmatch.input: Likewise.
36957 * posix/tst-fnmatch2.c: Add new test.
36958
68dc9497
AS
369592010-12-28 Andreas Schwab <schwab@linux-m68k.org>
36960
36961 * elf/Makefile (check-execstack): Revert last change. Depend on
36962 check-execstack.h.
36963 (check-execstack.h): New target.
36964 (generated): Add check-execstack.h.
36965 * elf/check-execstack.c: Include "check-execstack.h".
36966 (main): Revert last change.
36967 (handle_file): Return zero if GNU_STACK is absent and
36968 DEFAULT_STACK_PERMS doesn't include PF_X.
36969
451f001b
UD
369702011-01-13 Ulrich Drepper <drepper@gmail.com>
36971
cfa28e56
UD
36972 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
36973 in child fails because the descriptor is already closed.
8cf8ce17
UD
36974 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
36975 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
36976 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 36977
1086d70d
UD
36978 [BZ #12397]
36979 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
36980 syscall.
36981
451f001b
UD
36982 [BZ #10484]
36983 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
36984 temporary buffer used to handle multi lookups locally.
a85b5cb4 36985 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 36986
08769175
UD
369872011-01-12 Ulrich Drepper <drepper@gmail.com>
36988
36989 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
36990 loader is ld.so.
36991
5e49c52e
UD
369922011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
36993
36994 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
36995 alignment for SSE2.
36996
60522a5f
UD
369972011-01-12 Ulrich Drepper <drepper@gmail.com>
36998
36999 [BZ #12394]
37000 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
37001 characters. When rounding increased number of integer digits recompute
37002 number of groups.
37003 * stdio-common/tst-grouping.c: New file.
37004 * stdio-common/Makefile: Add rules to build and run tst-grouping.
37005
f257bbd7
UD
370062011-01-09 Ulrich Drepper <drepper@gmail.com>
37007
37008 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
37009 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
37010
37011 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
37012 void.
37013 * bits/select.h: Likewise.
37014
fa9c15cb
UD
370152011-01-08 Ulrich Drepper <drepper@gmail.com>
37016
37017 * po/ja.po: Update from translation team.
37018
16c2895f
DM
370192011-01-04 David S. Miller <davem@sunset.davemloft.net>
37020
37021 [BZ #11155]
37022 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
37023 implementation just like for lxstat, fxstatat, et al.
37024
2543fef2
JM
370252010-12-27 Jim Meyering <meyering@redhat.com>
37026
37027 [BZ #12348]
37028 * posix/regexec.c (build_trtable): Return failure indication upon
37029 calloc failure. Otherwise, re_search_internal could infloop on OOM.
37030
98727dbe
UD
370312010-12-25 Ulrich Drepper <drepper@gmail.com>
37032
5bd6dc5c
UD
37033 [BZ #12201]
37034 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
37035 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
37036 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
37037 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
37038
97983464
UD
37039 [BZ #12207]
37040 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
37041
98727dbe
UD
37042 [BZ #12204]
37043 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
37044 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
37045
4a531bb0
L
370462010-12-15 H.J. Lu <hongjiu.lu@intel.com>
37047
37048 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
37049 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
37050 script has SORT_BY_INIT_PRIORITY.
37051 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
37052 NO_CTORS_DTORS_SECTIONS is defined.
37053 * elf/soinit.c: Likewise.
37054 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
37055 NO_CTORS_DTORS_SECTIONS is defined.
37056 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
37057 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
37058 * sysdeps/sh/init-first.c: Likewise.
37059 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
37060
07eb4b71
UD
370612010-12-24 Ulrich Drepper <drepper@gmail.com>
37062
37063 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
37064 always use the slow path.
37065
30950a5f
RA
370662010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
37067
37068 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
37069 similar rule which adds the sysdep directories to the header search in
37070 order to pick up the correct platform stackinfo.h.
37071 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
37072 perform test if it is, otherwise return successfully without testing.
37073 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
37074 DEFAULT_STACK_PERMS define in stackinfo.h.
37075 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
37076 defined in stackinfo.h.
37077 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
37078 DEFAULT_STACK_PERMS defined in stackinfo.h.
37079 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
37080 * sysdeps/ia64/stackinfo.h: Likewise.
37081 * sysdeps/s390/stackinfo.h: Likewise.
37082 * sysdeps/sh/stackinfo.h: Likewise.
37083 * sysdeps/sparc/stackinfo.h: Likewise.
37084 * sysdeps/x86_64/stackinfo.h: Likewise.
37085 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
37086 PF_X for powerpc64. Retain PF_X for powerpc32.
37087
db753e2c
UD
370882010-12-19 Ulrich Drepper <drepper@gmail.com>
37089
14b697f7
UD
37090 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
37091 accurately.
db753e2c
UD
37092 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
37093 GETDENTS_64BIT_ALIGNED.
37094
28300719
UD
370952010-12-14 Ulrich Drepper <dreper@gmail.com>
37096
14b697f7 37097 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 37098
4f197237
AS
370992010-12-10 Andreas Schwab <schwab@redhat.com>
37100
dbb0472f
AS
37101 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
37102 _GNU_SOURCE.
37103
4f197237
AS
37104 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
37105 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
37106 Remove __restrict.
37107 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
37108 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
37109
fb88ac72
UD
371102010-12-09 Ulrich Drepper <drepper@gmail.com>
37111
37112 [BZ #11655]
37113 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
37114 are initialized.
37115
42acbb92
JJ
371162010-12-09 Jakub Jelinek <jakub@redhat.com>
37117
37118 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
37119
c038d98d
UD
371202010-12-03 Ulrich Drepper <drepper@gmail.com>
37121
37122 * po/it.po: Update from translation team.
37123
3a4a2499
L
371242010-12-01 H.J. Lu <hongjiu.lu@intel.com>
37125
37126 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
37127 unused codes.
37128
1e24cf6e
UD
371292010-11-30 Ulrich Drepper <drepper@gmail.com>
37130
37131 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
37132
a7690819
AS
371332010-11-24 Andreas Schwab <schwab@redhat.com>
37134
37135 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
37136 specially.
37137 (gaih_getanswer_slice): Likewise.
37138
3bf8d1b1
JJ
371392010-10-20 Jakub Jelinek <jakub@redhat.com>
37140
37141 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
37142
6db52fbb
PB
371432010-05-31 Petr Baudis <pasky@suse.cz>
37144
37145 [BZ #11149]
37146 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
37147 silently even in the chroot mode.
37148
eaca7569
UD
371492010-11-22 Ulrich Drepper <drepper@gmail.com>
37150
37151 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
37152 last patch a bit. Pretty printing
37153
3056dcdb
UD
371542010-05-31 Petr Baudis <pasky@suse.cz>
37155
37156 [BZ #10085]
37157 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
37158 initialization of skip_initgroups_dyn.
37159
cf7c9078
UD
371602010-11-19 Ulrich Drepper <drepper@gmail.com>
37161
37162 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
37163 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
37164
a1fb5e3e
UD
371652010-11-16 Ulrich Drepper <drepper@gmail.com>
37166
37167 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
37168
3540d66b
AS
371692010-11-11 Andreas Schwab <schwab@redhat.com>
37170
37171 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
37172 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
37173 (tst-fnmatch-ENV): Set MALLOC_TRACE.
37174 ($(objpfx)tst-fnmatch-mem): New rule.
37175 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
37176 * posix/tst-fnmatch.c (main): Call mtrace.
37177
13b69574
L
371782010-11-11 H.J. Lu <hongjiu.lu@intel.com>
37179
37180 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37181 Support Intel processor model 6 and model 0x2c.
37182
da93d214
LM
371832010-11-10 Luis Machado <luisgpm@br.ibm.com>
37184
37185 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
37186 signed comparison.
37187
8ca52c6e
L
371882010-11-09 H.J. Lu <hongjiu.lu@intel.com>
37189
37190 [BZ #12205]
37191 * string/test-strncasecmp.c (check_result): New function.
37192 (do_one_test): Use it.
37193 (check1): New function.
37194 (test_main): Use it.
37195 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
37196 Support strcasecmp and strncasecmp.
37197
69da074d
UD
371982010-11-08 Ulrich Drepper <drepper@gmail.com>
37199
37200 [BZ #12194]
37201 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
37202 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37203
ff02d528
L
372042010-11-07 H.J. Lu <hongjiu.lu@intel.com>
37205
37206 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
37207 IFUNC support.
37208 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37209 memset-x86-64.
37210 * sysdeps/x86_64/multiarch/bzero.S: New file.
37211 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
37212 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
37213 * sysdeps/x86_64/multiarch/memset.S: New file.
37214 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
37215 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37216 Set bit_Prefer_SSE_for_memop for Intel processors.
37217 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
37218 Define.
37219 (index_Prefer_SSE_for_memop): Define.
37220 (HAS_PREFER_SSE_FOR_MEMOP): Define.
37221
344d0b54
LM
372222010-11-04 Luis Machado <luisgpm@br.ibm.com>
37223
37224 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
37225 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
37226
c0dde15b
UD
372272010-11-03 H.J. Lu <hongjiu.lu@intel.com>
37228
37229 [BZ #12191]
37230 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37231 (__x86_64_raw_data_cache_size_half): Likewise.
37232 (__x86_64_raw_shared_cache_size): Likewise.
37233 (__x86_64_raw_shared_cache_size_half): Likewise.
37234
37235 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37236 (__x86_64_raw_data_cache_size_half): Likewise.
37237 (__x86_64_raw_shared_cache_size): Likewise.
37238 (__x86_64_raw_shared_cache_size_half): Likewise.
37239 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
37240 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
37241 and __x86_64_raw_shared_cache_size_half. Round
37242 __x86_64_data_cache_size_half, __x86_64_data_cache_size
37243 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
37244 to multiple of 256 bytes.
37245
0e516e0e
MS
372462010-11-03 Ulrich Drepper <drepper@gmail.com>
37247
37248 [BZ #12167]
37249 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
37250 of inacessible symlinks. Verify result of symlink before returning it.
37251 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
37252 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
37253
0e012e87
ER
372542010-10-28 Erich Ritz <erichritz@gmail.com>
37255
37256 * math/math.h (isinf): Fix typo in comment.
37257
de0ff7bc
UD
372582010-11-01 Ulrich Drepper <drepper@gmail.com>
37259
37260 * po/da.po: Update from translation team.
37261
fa41c84d
UD
372622010-10-26 Ulrich Drepper <drepper@gmail.com>
37263
37264 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
37265 is added to the list.
37266
f0967738
AK
372672010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37268 Ulrich Drepper <drepper@gmail.com>
37269
37270 * elf/dl-object.c (_dl_new_object): Don't append the new object to
37271 the global list here. Move code to...
37272 (_dl_add_to_namespace_list): ...here. New function.
37273 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
37274 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
37275 * elf/dl-load.c (lose): Don't remove the element from the list.
37276 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
37277 (_dl_map_object): Likewise.
37278
372792010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
37280
37281 [BZ #12159]
37282 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
37283 into all bytes of SSE register.
37284 Patch by Richard Li <richardpku@gmail.com>.
37285
f0967738 372862010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
37287
37288 [BZ #12140]
37289 * malloc/malloc.c (_int_free): Fill correct number of bytes when
37290 perturbing.
37291
d0b9e94f
MB
372922010-10-20 Michael B. Brutman <brutman@us.ibm.com>
37293
37294 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
37295 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
37296 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
37297 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
37298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
37299 submachine.
37300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
37301
8e9f92e9
AS
373022010-10-22 Andreas Schwab <schwab@redhat.com>
37303
37304 * include/dlfcn.h (__RTLD_SECURE): Define.
37305 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
37306 mode & __RTLD_SECURE instead.
37307 (open_path): Rename preloaded parameter to secure.
37308 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
37309 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
37310 * elf/dl-deps.c (openaux): Likewise.
37311 * elf/rtld.c (struct map_args): Remove is_preloaded.
37312 (map_doit): Don't use it.
37313 (dl_main): Likewise.
37314 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
37315 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
37316
bc96fbda
AS
373172010-09-09 Andreas Schwab <schwab@redhat.com>
37318
37319 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
37320 (sysd-rules-targets): Remove duplicates.
37321 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
37322 rtld-%.$o dependency.
37323
22cd1c9b
AS
373242010-10-18 Andreas Schwab <schwab@redhat.com>
37325
37326 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
37327 _dl_map_object do it.
37328
18edac48
UD
373292010-10-19 Ulrich Drepper <drepper@gmail.com>
37330
37331 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
37332 fast fma builtins, define the macros in the C99 standard.
37333 (FP_FAST_FMAF): Likewise.
37334 (FP_FAST_FMAL): Likewise.
37335 * sysdeps/x86_64/bits/mathdef.h: Likewise.
37336
37337 * bits/mathdef.h: Update copyright year.
37338 * sysdeps/powerpc/bits/mathdef.h: Likewise.
37339
d2050124
MM
373402010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
37341
37342 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
37343 builtins, define the macros in the C99 standard.
37344 (FP_FAST_FMAF): Likewise.
37345 (FP_FAST_FMAL): Likewise.
37346 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
37347 multiply/add.
37348 (FP_FAST_FMAF): Likewise.
37349
475facd1
JJ
373502010-10-15 Jakub Jelinek <jakub@redhat.com>
37351
37352 [BZ #3268]
37353 * math/libm-test.inc (fma_test): Some new testcases.
37354 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
37355 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
37356 y and infinite z. Do multiplication by C already in long double.
37357 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
37358 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
37359 y and infinite z. Do bitwise or of inexact bit into u.d.
37360 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
37361 * sysdeps/i386/fpu/s_fmaf.S: Removed.
37362 * sysdeps/i386/fpu/s_fma.S: Removed.
37363 * sysdeps/i386/fpu/s_fmal.S: Removed.
37364
7c08a05c
JJ
373652010-10-16 Jakub Jelinek <jakub@redhat.com>
37366
37367 [BZ #3268]
37368 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
37369 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
37370 computation is not scheduled after fetestexcept. Fix value
37371 of minimum denormal long double.
37372
f3f7372d
JJ
373732010-10-14 Jakub Jelinek <jakub@redhat.com>
37374
37375 [BZ #3268]
37376 * math/libm-test.inc (fma_test): Add some more tests.
37377 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
37378 correctly.
37379
14d43591
AS
373802010-10-15 Andreas Schwab <schwab@redhat.com>
37381
37382 * scripts/data/localplt-s390-linux-gnu.data: New file.
37383 * scripts/data/localplt-s390x-linux-gnu.data: New file.
37384
5e908464
JJ
373852010-10-13 Jakub Jelinek <jakub@redhat.com>
37386
37387 [BZ #3268]
37388 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
37389 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
37390 instead of dbl-64.
37391 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
37392 inlines.
37393 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
37394 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
37395 if one of x and y is very large and the other is subnormal.
37396 * sysdeps/s390/fpu/s_fmaf.c: New file.
37397 * sysdeps/s390/fpu/s_fma.c: New file.
37398 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
37399 * sysdeps/powerpc/fpu/s_fma.S: New file.
37400 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
37401 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
37402 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
37403
374042010-10-12 Jakub Jelinek <jakub@redhat.com>
37405
37406 [BZ #3268]
37407 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
37408 fma tests.
37409 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
37410 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
37411 * sysdeps/i386/i686/multiarch/s_fma.c: Include
37412 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
37413 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
37414 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
37415 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
37416
b833d51f
UD
374172010-10-12 Ulrich Drepper <drepper@redhat.com>
37418
37419 [BZ #12078]
37420 * posix/regcomp.c (parse_branch): One more memory leak plugged.
37421 * posix/bug-regex31.input: Add test case.
37422
1751705d
UD
374232010-10-11 Ulrich Drepper <drepper@gmail.com>
37424
e9b9cbf5
UD
37425 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
37426 * posix/bug-regex31.input: New file.
37427
37428 [BZ #12078]
37429 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
37430 (parse_sub_exp): Fix last change, use postorder.
37431
ef06edbe
UD
37432 * posix/bug-regex31.c: New file.
37433 * posix/Makefile: Add rules to build and run bug-regex31.
37434
a129c80d
UD
37435 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
37436
37437 [BZ #12078]
37438 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
37439
b76b818e
UD
37440 [BZ #12108]
37441 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
37442 to have entries in sys_siglist.
37443
1751705d
UD
37444 [BZ #12093]
37445 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
37446 be NULL.
37447
9ff8d36f
JJ
374482010-10-07 Jakub Jelinek <jakub@redhat.com>
37449
37450 [BZ #3268]
37451 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
37452 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
37453 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
37454 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
37455 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37456 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
37457 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
37458 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
37459 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
37460 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
37461 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
37462 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
37463 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
37464 * math/ftestexcept.c (fetestexcept): Likewise.
37465 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
37466 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
37467 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
37468 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
37469 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
37470 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
37471 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37472
af325969
UD
374732010-10-11 Ulrich Drepper <drepper@gmail.com>
37474
c579b202 37475 [BZ #12107]
af325969
UD
37476 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
37477 newline.
37478
67a67b95
UD
374792010-10-06 Ulrich Drepper <drepper@gmail.com>
37480
37481 * string/bug-strstr1.c: New file.
37482 * string/Makefile: Add rules to build and run bug-strstr1.
37483
5fb308bc
EB
374842010-10-05 Eric Blake <eblake@redhat.com>
37485
37486 [BZ #12092]
37487 * string/str-two-way.h (two_way_long_needle): Always clear memory
37488 when skipping input due to the shift table.
37489
45db99c7
UD
374902010-10-03 Ulrich Drepper <drepper@gmail.com>
37491
3b111893
UD
37492 [BZ #12005]
37493 * malloc/mcheck.c: Handle large requests.
37494
45db99c7
UD
37495 [BZ #12077]
37496 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
37497 for strncmp and strncasecmp.
37498 * string/stratcliff.c: Add tests for strcmp and strncmp.
37499 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
37500
cf7a1eb8
NI
375012010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37502
37503 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
37504 __set_fpscr.
37505
6484ba5e
AJ
375062010-09-30 Andreas Jaeger <aj@suse.de>
37507
37508 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
37509 (CGROUP_SUPER_MAGIC): Define.
37510 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37511 Handle btrfs and cgroup file systems.
37512 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
37513 Likewise.
37514
91c42559
LM
375152010-09-27 Luis Machado <luisgpm@br.ibm.com>
37516
37517 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
37518 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
37519
87a97932
AK
375202010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37521
37522 [BZ #12067]
37523 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
37524 trying to locate the ELF header.
37525
c21cc9bc
AS
375262010-09-27 Andreas Schwab <schwab@redhat.com>
37527
37528 [BZ #11611]
37529 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
37530 Mask out sign-bit copies when constructing f_fsid.
37531
315970f6
PB
375322010-09-24 Petr Baudis <pasky@suse.cz>
37533
37534 * debug/stack_chk_fail_local.c: Add missing licence exception.
37535 * debug/warning-nop.c: Likewise.
37536
1ac7a2c7
JM
375372010-09-15 Joseph Myers <joseph@codesourcery.com>
37538
37539 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
37540 implementing getdents64 using getdents syscall, set d_type if
37541 __ASSUME_GETDENTS32_D_TYPE.
37542
56801c50
AS
375432010-09-16 Andreas Schwab <schwab@redhat.com>
37544
37545 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
37546 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
37547
dda51327
UD
375482010-09-21 Ulrich Drepper <drepper@redhat.com>
37549
37550 [BZ #12037]
37551 * posix/unistd.h: Undo change of feature selection for ftruncate from
37552 2010-01-11.
37553
8ffcee4a
UD
375542010-09-20 Ulrich Drepper <drepper@redhat.com>
37555
a545ecd9 37556 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
37557 detection.
37558
e24f0a8b
AS
375592010-09-20 Andreas Schwab <schwab@redhat.com>
37560
37561 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
37562 fanotify_mark.
37563 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37564
7291c56f
AS
375652010-09-14 Andreas Schwab <schwab@redhat.com>
37566
37567 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
37568 variables after CHECK_SP call.
37569 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
37570
bc5fb037
AS
375712010-09-13 Andreas Schwab <schwab@redhat.com>
37572 Ulrich Drepper <drepper@redhat.com>
37573
37574 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
37575 re-relocationg ld.so.
37576 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
37577 _dl_init_paths call.
37578 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
37579 here anymore.
37580
e66e7419
UD
375812010-09-14 Ulrich Drepper <drepper@redhat.com>
37582
37583 * resolv/res_init.c (__res_vinit): Count the default server we added.
37584
c044aa75
CLT
375852010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
37586 Ulrich Drepper <drepper@redhat.com>
37587
37588 [BZ #11968]
37589 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
37590 (____longjmp_chk): Use %ebx for saving value across system call.
37591 Add unwind info.
37592
32cf4069
AS
375932010-09-06 Andreas Schwab <schwab@redhat.com>
37594
37595 * manual/Makefile: Don't mix pattern rules with normal rules.
37596
817328ee
AS
375972010-09-05 Andreas Schwab <schwab@linux-m68k.org>
37598
37599 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
37600 operation.
37601 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
37602 * libio/iofopncook.c (_IO_cookie_init): Likewise.
37603 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
37604 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
37605 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37606 Likewise.
37607
29fddf61
UD
376082010-09-04 Ulrich Drepper <drepper@redhat.com>
37609
37610 [BZ #11979]
37611 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
37612 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
37613
0959ffc9
UD
376142010-09-02 Ulrich Drepper <drepper@redhat.com>
37615
37616 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
37617 * sysdeps/x86_64/addmul_1.S: Likewise.
37618 * sysdeps/x86_64/lshift.S: Likewise.
37619 * sysdeps/x86_64/mul_1.S: Likewise.
37620 * sysdeps/x86_64/rshift.S: Likewise.
37621 * sysdeps/x86_64/sub_n.S: Likewise.
37622 * sysdeps/x86_64/submul_1.S: Likewise.
37623
ece29840
ST
376242010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
37625
0959ffc9
UD
37626 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
37627 Define __sched_param instead of SCHED_* and sched_param when
ece29840 37628 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 37629 * bits/sched.h [__need_schedparam]
ece29840 37630 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
37631 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
37632 (__defined_schedparam): Define to 1.
ece29840
ST
37633 (__sched_param): New structure, identical to sched_param.
37634 (__need_schedparam): Undefine.
37635
e53a31fe
MF
376362010-08-31 Mike Frysinger <vapier@gentoo.org>
37637
fdc0c10d
MF
37638 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
37639 (epoll_create1): Declare.
37640
e53a31fe
MF
37641 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
37642
a726d796
AS
376432010-08-31 Andreas Schwab <schwab@redhat.com>
37644
37645 [BZ #7066]
37646 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
37647 shifting retval into place.
37648
2f3e3dc7
UD
376492010-09-01 Ulrich Drepper <drepper@redhat.com>
37650
f2933da9
UD
37651 * nis/rpcsvc/nis.h: Update copyright notice.
37652 * nis/rpcsvc/nis.x: Likewise.
37653 * nis/rpcsvc/nis_callback.h: Likewise.
37654 * nis/rpcsvc/nis_callback.x: Likewise.
37655 * nis/rpcsvc/nis_object.x: Likewise.
37656 * nis/rpcsvc/nis_tags.h: Likewise.
37657 * nis/rpcsvc/yp.h: Likewise.
37658 * nis/rpcsvc/yp.x: Likewise.
37659 * nis/rpcsvc/ypupd.h: Likewise.
37660 * nis/yp_xdr.c: Likewise.
37661 * nis/ypupdate_xdr.c: Likewise.
37662
2f3e3dc7
UD
37663 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
37664 mainly the body of pmap_getport. Add parameters to specify timeouts.
37665 (pmap_getport): Use __libc_rpc_getport.
37666 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
37667 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
37668 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
37669
f3dcc2f9
AS
376702010-08-31 Andreas Schwab <schwab@linux-m68k.org>
37671
37672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
37673 fanotify_mark.
37674
6d34eb5b
RM
376752010-08-27 Roland McGrath <roland@redhat.com>
37676
37677 * sysdeps/i386/i686/multiarch/Makefile
37678 (CFLAGS-varshift.c): New variable.
37679
9ea3de11
UD
376802010-08-27 Ulrich Drepper <drepper@redhat.com>
37681
c96d23fc
UD
37682 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
37683 * sysdeps/i386/i686/multiarch/varshift.c: New file.
37684
9ea3de11
UD
37685 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
37686
37687 * sysdeps/x86_64/strlen.S: Minimal code improvement.
37688
623aac7f
L
376892010-08-26 H.J. Lu <hongjiu.lu@intel.com>
37690
37691 * sysdeps/x86_64/strlen.S: Unroll the loop.
37692 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37693 strlen-sse2 strlen-sse2-bsf.
37694 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
37695 __strlen_no_bsf if bit_Slow_BSF is set.
37696 (__strlen_sse42): Removed.
37697 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
37698 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
37699
8b2b7715
RM
377002010-08-25 Roland McGrath <roland@redhat.com>
37701
37702 * sysdeps/x86_64/multiarch/varshift.S: File removed.
37703 * sysdeps/x86_64/multiarch/varshift.c: New file.
37704 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
37705 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
37706 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
37707 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
37708
e73015f2
L
377092010-08-25 H.J. Lu <hongjiu.lu@intel.com>
37710
37711 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37712 strlen-sse2 strlen-sse2-bsf.
37713 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
37714 __strlen_sse2_bsf if bit_Slow_BSF is unset.
37715 (__strlen_sse2): Removed.
37716 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
37717 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
37718 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
37719 bit_Slow_BSF for Atom.
37720 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
37721 (index_Slow_BSF): Define.
37722 (HAS_SLOW_BSF): Define.
37723
df24a73e
UD
377242010-08-25 Ulrich Drepper <drepper@redhat.com>
37725
37726 [BZ #10851]
37727 * resolv/res_init.c (__res_vinit): When no server address at all
37728 is given default to loopback.
37729
f2ac4868
RM
377302010-08-24 Roland McGrath <roland@redhat.com>
37731
09055553
RM
37732 * configure.in: Remove config-name.h generation.
37733 * configure: Regenerated.
37734 * config-name.in: File removed.
37735 * scripts/config-uname.sh: New file.
37736 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
37737 ($(objdir)config-name.h): New target.
37738
f2ac4868
RM
37739 * sunrpc/rpc_parse.h: Avoid nested comment.
37740
73f27d5e
RH
377412010-08-24 Richard Henderson <rth@redhat.com>
37742 Ulrich Drepper <drepper@redhat.com>
37743 H.J. Lu <hongjiu.lu@intel.com>
37744
37745 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
37746 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
37747 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
37748 Replace _mm_srli_si128 with __m128i_shift_right. Replace
37749 _mm_alignr_epi8 with _mm_loadu_si128.
37750 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
37751 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
37752 (__m128i_shift_right): Removed.
37753 * sysdeps/i386/i686/multiarch/varshift.h: New file.
37754 * sysdeps/i386/i686/multiarch/varshift.S: New file.
37755 * sysdeps/x86_64/multiarch/varshift.h: New file.
37756 * sysdeps/x86_64/multiarch/varshift.S: New file.
37757
84b9230c
MF
377582010-08-21 Mike Frysinger <vapier@gentoo.org>
37759
37760 * configure.in: Move assembler checks to before sysdep dir checking.
37761
9bbd0ddc
PB
377622010-08-20 Petr Baudis <pasky@suse.cz>
37763
37764 * LICENSES: Sync the sunrpc license.
37765
9da4bb31
UD
377662010-08-19 Ulrich Drepper <drepper@redhat.com>
37767
a7ab6ec8
UD
37768 * sunrpc/auth_des.c: Update copyright notice once again.
37769 * sunrpc/auth_none.c: Likewise.
37770 * sunrpc/auth_unix.c: Likewise.
37771 * sunrpc/authdes_prot.c: Likewise.
37772 * sunrpc/authuxprot.c: Likewise.
37773 * sunrpc/bindrsvprt.c: Likewise.
37774 * sunrpc/clnt_gen.c: Likewise.
37775 * sunrpc/clnt_perr.c: Likewise.
37776 * sunrpc/clnt_raw.c: Likewise.
37777 * sunrpc/clnt_simp.c: Likewise.
37778 * sunrpc/clnt_tcp.c: Likewise.
37779 * sunrpc/clnt_udp.c: Likewise.
37780 * sunrpc/clnt_unix.c: Likewise.
37781 * sunrpc/des_crypt.c: Likewise.
37782 * sunrpc/des_soft.c: Likewise.
37783 * sunrpc/get_myaddr.c: Likewise.
37784 * sunrpc/getrpcport.c: Likewise.
37785 * sunrpc/key_call.c: Likewise.
37786 * sunrpc/key_prot.c: Likewise.
37787 * sunrpc/openchild.c: Likewise.
37788 * sunrpc/pm_getmaps.c: Likewise.
37789 * sunrpc/pm_getport.c: Likewise.
37790 * sunrpc/pmap_clnt.c: Likewise.
37791 * sunrpc/pmap_prot.c: Likewise.
37792 * sunrpc/pmap_prot2.c: Likewise.
37793 * sunrpc/pmap_rmt.c: Likewise.
37794 * sunrpc/rpc/auth.h: Likewise.
37795 * sunrpc/rpc/auth_unix.h: Likewise.
37796 * sunrpc/rpc/clnt.h: Likewise.
37797 * sunrpc/rpc/des_crypt.h: Likewise.
37798 * sunrpc/rpc/key_prot.h: Likewise.
37799 * sunrpc/rpc/netdb.h: Likewise.
37800 * sunrpc/rpc/pmap_clnt.h: Likewise.
37801 * sunrpc/rpc/pmap_prot.h: Likewise.
37802 * sunrpc/rpc/pmap_rmt.h: Likewise.
37803 * sunrpc/rpc/rpc.h: Likewise.
37804 * sunrpc/rpc/rpc_des.h: Likewise.
37805 * sunrpc/rpc/rpc_msg.h: Likewise.
37806 * sunrpc/rpc/svc.h: Likewise.
37807 * sunrpc/rpc/svc_auth.h: Likewise.
37808 * sunrpc/rpc/types.h: Likewise.
37809 * sunrpc/rpc/xdr.h: Likewise.
37810 * sunrpc/rpc_clntout.c: Likewise.
37811 * sunrpc/rpc_cmsg.c: Likewise.
37812 * sunrpc/rpc_common.c: Likewise.
37813 * sunrpc/rpc_cout.c: Likewise.
37814 * sunrpc/rpc_dtable.c: Likewise.
37815 * sunrpc/rpc_hout.c: Likewise.
37816 * sunrpc/rpc_main.c: Likewise.
37817 * sunrpc/rpc_parse.c: Likewise.
37818 * sunrpc/rpc_parse.h: Likewise.
37819 * sunrpc/rpc_prot.c: Likewise.
37820 * sunrpc/rpc_sample.c: Likewise.
37821 * sunrpc/rpc_scan.c: Likewise.
37822 * sunrpc/rpc_scan.h: Likewise.
37823 * sunrpc/rpc_svcout.c: Likewise.
37824 * sunrpc/rpc_tblout.c: Likewise.
37825 * sunrpc/rpc_util.c: Likewise.
37826 * sunrpc/rpc_util.h: Likewise.
37827 * sunrpc/rpcinfo.c: Likewise.
37828 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
37829 * sunrpc/rpcsvc/key_prot.x: Likewise.
37830 * sunrpc/rpcsvc/klm_prot.x: Likewise.
37831 * sunrpc/rpcsvc/mount.x: Likewise.
37832 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
37833 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
37834 * sunrpc/rpcsvc/rex.x: Likewise.
37835 * sunrpc/rpcsvc/rstat.x: Likewise.
37836 * sunrpc/rpcsvc/rusers.x: Likewise.
37837 * sunrpc/rpcsvc/sm_inter.x: Likewise.
37838 * sunrpc/rpcsvc/spray.x: Likewise.
37839 * sunrpc/rpcsvc/yppasswd.x: Likewise.
37840 * sunrpc/rtime.c: Likewise.
37841 * sunrpc/svc.c: Likewise.
37842 * sunrpc/svc_auth.c: Likewise.
37843 * sunrpc/svc_authux.c: Likewise.
37844 * sunrpc/svc_raw.c: Likewise.
37845 * sunrpc/svc_run.c: Likewise.
37846 * sunrpc/svc_simple.c: Likewise.
37847 * sunrpc/svc_tcp.c: Likewise.
37848 * sunrpc/svc_udp.c: Likewise.
37849 * sunrpc/svc_unix.c: Likewise.
37850 * sunrpc/svcauth_des.c: Likewise.
37851 * sunrpc/xcrypt.c: Likewise.
37852 * sunrpc/xdr.c: Likewise.
37853 * sunrpc/xdr_array.c: Likewise.
37854 * sunrpc/xdr_float.c: Likewise.
37855 * sunrpc/xdr_mem.c: Likewise.
37856 * sunrpc/xdr_rec.c: Likewise.
37857 * sunrpc/xdr_ref.c: Likewise.
37858 * sunrpc/xdr_sizeof.c: Likewise.
37859 * sunrpc/xdr_stdio.c: Likewise.
37860
9da4bb31
UD
37861 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
37862 handling.
37863
bdaa77bc
AS
378642010-08-19 Andreas Schwab <schwab@redhat.com>
37865
37866 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
37867
fe2f79db
LM
378682010-08-19 Luis Machado <luisgpm@br.ibm.com>
37869
37870 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
37871 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
37872 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
37873 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
37874 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
37875 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
37876 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
37877 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
37878 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
37879 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
37880 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
37881 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
37882 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
37883 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
37884
b9b42ee0
AB
378852010-07-26 Anton Blanchard <anton@samba.org>
37886
37887 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
37888 * malloc/arena.c (heap_trim): Likewise.
37889
1c06ba31
UD
378902010-08-16 Ulrich Drepper <drepper@redhat.com>
37891
37892 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
37893 here. Not...
37894 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
37895 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
37896
f8392f40
L
378972010-08-12 H.J. Lu <hongjiu.lu@intel.com>
37898
37899 * sysdeps/i386/elf/Makefile: New file.
37900
3162f12e
AS
379012010-08-14 Andreas Schwab <schwab@linux-m68k.org>
37902
37903 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
37904 from fanotify_init.
37905 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
37906 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
37907
28c90b2c
UD
379082010-08-15 Ulrich Drepper <drepper@redhat.com>
37909
37910 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
37911 of strncasecmp_l.
1feccb6c 37912 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 37913
ca6bb004
UD
379142010-08-14 Ulrich Drepper <drepper@redhat.com>
37915
e9f82e0d
UD
37916 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
37917 strncase_l-nonascii.
37918 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
37919 Add strncase_l-ssse3.
37920 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
37921 * sysdeps/x86_64/strcmp.S: Likewise.
37922 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
37923 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
37924 * sysdeps/x86_64/strncase.S: New file.
37925 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
37926 * sysdeps/x86_64/strncase_l.S: New file.
37927 * string/Makefile (strop-tests): Add strncasecmp.
37928 * string/test-strncasecmp.c: New file.
37929
37930 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
37931 warning.
37932
ca6bb004
UD
37933 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
37934 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
37935
052fa7b3
AS
379362010-08-14 Andreas Schwab <schwab@linux-m68k.org>
37937
37938 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
37939
962dba78
UD
379402010-08-12 Ulrich Drepper <drepper@redhat.com>
37941
37942 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
37943 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
37944 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
37945
bebff237
AM
379462010-05-01 Alan Modra <amodra@gmail.com>
37947
37948 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
37949 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
37950 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
37951 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
37952 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
37953 tidying. Don't tail-call __sigjmp_save for static lib.
37954 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
37955 save location.
37956 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
37957 (CALL_MCOUNT): Add eh info, and nop after bl.
37958 (TAIL_CALL_SYSCALL_ERROR): New macro.
37959 (PSEUDO_RET): Use it.
37960 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
37961 Correct save location of integer regs and cr.
37962 (_dl_profile_resolve): Correct cr save location. Delete nops
37963 after bl when SHARED. Reduce cfi size a little by better
37964 placement of cfi directives.
37965 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
37966 make a stack frame. Instead use parm save area as a temp.
37967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
37968 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
37969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
37970 Don't make a stack frame for parent, use parm save area.
37971 Increase child stack frame to 112 bytes. Don't save unused reg,
37972 and adjust reg usage. Set up cfi on error recovery and
37973 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
37974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
37975 (__makecontext): Add dummy nop after jump to exit.
37976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
37977 Use correct parm save area and cr save, reduce stack frame.
37978 Correct cfi for possible PSEUDO_RET frame setup.
37979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
37980 Branch to local label emitted by PSEUDO_RET rather than
37981 __syscall_error.
37982
02637374
AS
379832010-08-12 Andreas Schwab <schwab@redhat.com>
37984
37985 [BZ #11904]
37986 * locale/programs/locale.c (print_assignment): New function.
37987 (show_locale_vars): Use it.
37988
c3e2f19b
UD
379892010-08-11 Ulrich Drepper <drepper@redhat.com>
37990
3cdaa6ad
UD
37991 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
37992 field.
37993 (struct statfs64): Likewise.
37994 (_STATFS_F_FLAGS): Define.
37995 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
37996 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37997 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
37998 (ST_VALID): Define locally.
37999 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
38000 __statvfs_getflags, use the provided value.
38001 * sysdeps/unix/sysv/linux/kernel-features.h: Define
38002 __ASSUME_STATFS_F_FLAGS.
38003
754f7da3
UD
38004 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
38005
10b3bedc
UD
38006 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
38007 Add sys/fanotify.h.
38008 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
38009 fanotify_mask for GLIBC_2.13.
38010 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
38011 fanotify_init and fanotify_mark.
38012 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
38013 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
38014
c08fb0d7
UD
38015 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
38016 Add prlimit.
38017 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
38018 prlimit64 for GLIBC_2.13.
38019 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
38020 prlimit64.
38021 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
38022 syscall.
38023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
38024 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
38025 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
38026 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
38027 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
38028 add prlimit alias.
38029 * sysdeps/unix/sysv/linux/prlimit.c: New file.
38030
15bac72b
UD
38031 [BZ #11903]
38032 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
38033 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
38034
c3e2f19b
UD
38035 * nss/Makefile: Add rules to build and run tst-nss-test1.
38036 * shlib-versions: Add entry for libnss_test1.
38037 * nss/nss_test1.c: New file.
38038 * nss/tst-nss-test1.c: New file.
38039
38040 * nss/nsswitch.c (__nss_database_custom): Define new variable.
38041 (__nss_configure_lookup): Set appropriate entry in
38042 __nss_configure_lookup to true.
38043 * nss/nsswitch.h: Define enum with indeces of databases in
38044 databases and __nss_database_custom arrays. Declare
38045 __nss_database_custom.
38046 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
38047 to avoid using nscd when custom rules are installed.
38048 * nss/getXXbyYY_r.c: Likewise.
38049 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
38050
38051 * nss/nss_files/files-parse.c: Whitespace fixes.
38052
f15ce4d8
UD
380532010-08-09 Ulrich Drepper <drepper@redhat.com>
38054
38055 [BZ #11883]
38056 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
38057 * posix/fnmatch_loop.c: Likewise.
38058
d22e4cc9
AK
380592010-07-17 Andi Kleen <ak@linux.intel.com>
38060
38061 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
38062 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
38063 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
38064 * Versions.def [GLIBC_2.13]: Add.
38065
805bc17d
UD
380662010-08-06 Ulrich Drepper <drepper@redhat.com>
38067
38068 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
38069 Also fail if tpwd after pwuid call is NULL.
38070
5a42321d
ST
380712010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
38072
38073 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
38074 when converting to ms.
38075
fd3ebeda
ST
380762010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
38077
38078 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
38079 EOPNOTSUPP errors with ENOTTY.
38080 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
38081 EOPNOTSUPP errors with ENOTTY.
38082
73507d3a
UD
380832010-07-31 Ulrich Drepper <drepper@redhat.com>
38084
38085 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
38086 Add strcasecmp_l-ssse3.
38087 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
38088 strcasecmp.
38089 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
38090 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
38091 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
38092
fe36dd02
UD
380932010-07-30 Ulrich Drepper <drepper@redhat.com>
38094
66f6765a
UD
38095 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
38096
42e08a54
UD
38097 * string/Makefile (strop-tests): Add strcasecmp.
38098 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
38099 strcasecmp_l-nonascii.
38100 (gen-as-const-headers): Add locale-defines.sym.
38101 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
38102 * sysdeps/x86_64/strcasecmp.S: New file.
38103 * sysdeps/x86_64/strcasecmp_l.S: New file.
38104 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
38105 * sysdeps/x86_64/locale-defines.sym: New file.
38106 * string/test-strcasecmp.c: New file.
38107
fe36dd02
UD
38108 * string/test-strcasestr.c: Test both ends of the range of characters.
38109 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
38110
48cbc0d6
RM
381112010-07-29 Roland McGrath <roland@redhat.com>
38112
76e6d6bc 38113 [BZ #11856]
48cbc0d6
RM
38114 * manual/locale.texi (Yes-or-No Questions): Fix example code.
38115
880113d9
UD
381162010-07-27 Ulrich Drepper <drepper@redhat.com>
38117
38118 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
38119 for ld.so.
38120
deb9cabb
AS
381212010-07-27 Andreas Schwab <schwab@redhat.com>
38122
38123 * manual/memory.texi (Malloc Tunable Parameters): Document
38124 M_PERTURB.
38125
1c7570ff
RM
381262010-07-26 Roland McGrath <roland@redhat.com>
38127
38128 [BZ #11840]
38129 * configure.in (-fgnu89-inline check): Set and substitute
38130 gnu89_inline, not libc_cv_gnu89_inline.
38131 * configure: Regenerated.
38132 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
38133
24fb0f88
UD
381342010-07-26 Ulrich Drepper <drepper@redhat.com>
38135
38136 * string/test-strnlen.c: New file.
38137 * string/Makefile (strop-tests): Add strnlen.
38138 * string/tester.c (test_strnlen): Add a few more test cases.
38139 * string/tst-strlen.c: Better error reporting.
38140
38141 * sysdeps/x86_64/strnlen.S: New file.
38142
8e96b93a
UD
381432010-07-24 Ulrich Drepper <drepper@redhat.com>
38144
38145 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
38146 lower-latency instructions.
38147
dbc676d4
UD
381482010-07-23 Ulrich Drepper <drepper@redhat.com>
38149
38150 * string/test-strcasestr.c: New file.
38151 * string/test-strstr.c: New file.
38152 * string/Makefile (strop-tests): Add strstr and strcasestr.
38153 * string/str-two-way.h: Don't undefine MAX.
38154 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
38155
f6a31e0e
AS
381562010-07-21 Andreas Schwab <schwab@redhat.com>
38157
38158 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38159 strcasestr-nonascii.
38160 (CFLAGS-strcasestr-nonascii.c): Define.
38161 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
38162 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
38163 Remove unused attribute.
38164
5dbc3b6c
RM
381652010-07-20 Roland McGrath <roland@redhat.com>
38166
38167 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
38168 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
38169 ld.so.cache was broken. With it, there is no way to disable dsocaps
38170 like LD_HWCAP_MASK can disable hwcaps.
38171
23d101d8
EPM
381722010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
38173
38174 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
38175
cc9f2e47
UD
381762010-07-16 Ulrich Drepper <drepper@redhat.com>
38177
38178 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
38179 call in strcasestr.
38180 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
38181 __strcasestr_sse42_nonascii.
38182 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
38183 strcasestr-nonascii.c.
38184 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
38185
77c1b069
LM
381862010-06-15 Luis Machado <luisgpm@br.ibm.com>
38187
38188 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
38189 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
38190 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
38191 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
38192
440566c3
UD
381932010-07-09 Ulrich Drepper <drepper@redhat.com>
38194
38195 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
38196 fcntl.
38197
5be9d05d
AS
381982010-07-06 Andreas Schwab <schwab@redhat.com>
38199
c30b7ee2 38200 [BZ #11577]
5be9d05d
AS
38201 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
38202 dl_signal_cerror.
38203
8a492a67
UD
382042010-07-06 Ulrich Drepper <drepper@redhat.com>
38205
38206 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
38207 _PC_PIPE_BUF using F_GETPIPE_SZ.
38208
713df3d5
RM
382092010-07-05 Roland McGrath <roland@redhat.com>
38210
38211 * manual/arith.texi (Rounding Functions): Fix rint description
38212 implicit in round description.
38213
702e8f14
UD
382142010-07-02 Ulrich Drepper <drepper@redhat.com>
38215
38216 * elf/Makefile: Fix linking for a few tests to make recent linker
38217 happy.
38218
52ed8be9
AS
382192010-06-30 Andreas Schwab <schwab@redhat.com>
38220
38221 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
38222 $(common-objpfx)libc_nonshared.a.
38223
f47c9a11
LM
382242010-06-21 Luis Machado <luisgpm@br.ibm.com>
38225
38226 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
38227 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
38228 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38229 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38230 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
38231 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
38232 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38233 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
38235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
38236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
38237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
38239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
38241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
38242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
38243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
38244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
38246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
38248 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
38249 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
38250 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
38251 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
38252 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
38253 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
38254 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
38255 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
38256 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
38257 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
38258 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
38259 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
38260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
38261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
38262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
38263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
38264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
38265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
38266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
38267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
38268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
38269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
38270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
38271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
38272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
38273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
38274
6fb8cbcb
L
382752010-06-25 H.J. Lu <hongjiu.lu@intel.com>
38276
38277 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
38278 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
38279 * string/memmove.c (memmove): Renamed to ...
38280 (MEMMOVE): ...this. Default to memmove.
38281 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
38282 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
38283 (END_CHK): Define.
38284 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38285 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
38286 mempcpy-ssse3-back memmove-ssse3-back.
38287 * sysdeps/x86_64/multiarch/bcopy.S: New file .
38288 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
38289 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
38290 * sysdeps/x86_64/multiarch/memcpy.S: New file.
38291 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
38292 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
38293 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
38294 * sysdeps/x86_64/multiarch/memmove.c: New file.
38295 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
38296 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
38297 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
38298 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
38299 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
38300 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
38301 Define.
38302 (index_Fast_Copy_Backward): Define.
38303 (HAS_ARCH_FEATURE): Define.
38304 (HAS_FAST_REP_STRING): Define.
38305 (HAS_FAST_COPY_BACKWARD): Define.
38306
4e733bac 383072010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
38308
38309 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
38310 Restore proper fallback handling.
38311
63c4ed22
UD
383122010-06-19 Ulrich Drepper <drepper@redhat.com>
38313
ac2b484c
UD
38314 [BZ #11701]
38315 * posix/group_member.c (__group_member): Correct checking loop.
38316
63c4ed22
UD
38317 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
38318 OOM in getpwuid_r correctly. Return error number when the caller
38319 should return, otherwise -1.
38320 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
38321 call returning > 0 value.
38322 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
38323
765ade4b
AS
383242010-06-07 Andreas Schwab <schwab@redhat.com>
38325
38326 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
38327 libc_nonshared.a from targets in modules-names.
38328
80da2e09
KS
383292010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
38330
38331 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
38332 requires it.
38333
158db122
LM
383342010-06-10 Luis Machado <luisgpm@br.ibm.com>
38335
38336 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
38337 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
38338 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
38339 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
38340
caa78cf8
AS
383412010-06-02 Andreas Schwab <schwab@redhat.com>
38342
38343 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
38344
b2ef2c01
UD
383452010-06-14 Ulrich Drepper <drepper@redhat.com>
38346
38347 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
38348 and F_GETPIPE_SZ.
38349 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
38350 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38351 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38352 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38353 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38354 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
38355
fbd643b6
RM
383562010-06-14 Roland McGrath <roland@redhat.com>
38357
38358 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
38359
f32f2869
JJ
383602010-06-07 Jakub Jelinek <jakub@redhat.com>
38361
38362 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
38363 __REDIRECT followed by __THROW.
38364 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
38365 * posix/getopt.h (getopt): Likewise.
38366
2a50c078
EPM
383672010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
38368
38369 * hurd/lookup-at.c (__file_name_lookup_at): Accept
38370 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
38371 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
38372 in AT_FLAGS.
38373 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
38374 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
38375
eb5ad2eb
LM
383762010-05-28 Luis Machado <luisgpm@br.ibm.com>
38377
38378 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
38379
3c88fe1e
L
383802010-05-26 H.J. Lu <hongjiu.lu@intel.com>
38381
38382 [BZ #11640]
38383 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38384 Properly check family and model.
38385
d2f73151
TY
383862010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
38387
38388 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
38389
ebd2e13d
LM
383902010-05-24 Luis Machado <luisgpm@br.ibm.com>
38391
38392 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
38393
b32b8b45
UD
383942010-05-21 Ulrich Drepper <drepper@redhat.com>
38395
38396 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
38397 symbol reference.
38398
9acbe24d
AS
383992010-05-19 Andreas Schwab <schwab@redhat.com>
38400
38401 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
38402 symbol reference.
38403
f0ccf6ea
AS
384042010-05-21 Andreas Schwab <schwab@redhat.com>
38405
3d04ff3a
AS
38406 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
38407 and internal_recvmmsg.
38408 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
38409 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
38410 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
38411 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
38412
f0ccf6ea
AS
38413 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
38414 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
38415 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
38416
5b08ac57
AS
384172010-05-20 Andreas Schwab <schwab@redhat.com>
38418
38419 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
38420
4828935d
LM
384212010-05-17 Luis Machado <luisgpm@br.ibm.com>
38422
38423 POWER7 optimizations.
38424 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
38425 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
38426
373d545e
UD
384272010-05-19 Ulrich Drepper <drepper@redhat.com>
38428
38429 * version.h: Update for 2.13 development version.
38430
21a2b1ae
AS
384312010-05-12 Andrew Stubbs <ams@codesourcery.com>
38432
38433 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
38434 exceptions. Return 0.
38435
3f7dcb2b
RM
384362010-05-07 Roland McGrath <roland@redhat.com>
38437
38438 * elf/ldconfig.c (main): Add a const.
38439
5f24d53a 384402010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 38441
a160f8d8
UD
38442 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
38443 (args_options): Add no-idn option.
38444 (ahosts_keys_int): Add idn_flags to ai_flags.
38445 (parse_option): Handle 'i' option to clear idn_flags.
38446
5f24d53a
UD
38447 * malloc/malloc.c (_int_free): Possible race in the most recently
38448 added check. Only act on the data if no current modification
38449 happened.
265bb1ce
UD
38450
38451See ChangeLog.17 for earlier changes.
This page took 5.148862 seconds and 5 git commands to generate.