]> sourceware.org Git - glibc.git/blame - ChangeLog
* manual/lang.texi: Document MTASC-safety properties.
[glibc.git] / ChangeLog
CommitLineData
e7c4409a
AO
12014-01-31 Alexandre Oliva <aoliva@redhat.com>
2
3 * manual/lang.texi: Document MTASC-safety properties.
4
27bdc63c
AO
52014-01-31 Alexandre Oliva <aoliva@redhat.com>
6
7 * manual/job.texi: Document MTASC-safety properties.
8
a7b90ea9
AO
92014-01-31 Alexandre Oliva <aoliva@redhat.com>
10
11 * manual/getopt.texi: Document MTASC-safety properties.
12
c49130e3
AO
132014-01-31 Alexandre Oliva <aoliva@redhat.com>
14
15 * manual/ctype.texi: Document MTASC-safety properties.
16
0d23a5c1
MR
172014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
18
19 [BZ #16046]
20 * csu/libc-tls.c (static_map): Remove variable.
21 (__libc_setup_tls): Use main executable's link map for TLS data.
22 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
23 casing for LM_ID_BASE and GL(dl_nns).
24 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
25 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
26 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
27 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
28 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
29 member.
30 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
31 l_phnum members.
32
0037bb60
AO
332014-01-30 Alexandre Oliva <aoliva@redhat.com>
34
35 * manual/debug.texi: Document MTASC-safety properties.
36
409e00bd
L
372014-01-29 H.J. Lu <hongjiu.lu@intel.com>
38
39 [BZ #16510]
40 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
41 of __x86_64__ when disabling x87 inline functions.
42
86e60666
AO
432014-01-29 Alexandre Oliva <aoliva@redhat.com>
44
45 * manual/charset.texi: Document MTASC-safety properties.
46
76167637
AO
472014-01-29 Alexandre Oliva <aoliva@redhat.com>
48
49 * manual/crypt.texi: Document MTASC-safety properties.
50
e567f2a0
AO
512014-01-29 Alexandre Oliva <aoliva@redhat.com>
52
53 * manual/conf.texi: Document MTASC-safety properties.
54
b719dafd
AO
552014-01-29 Alexandre Oliva <aoliva@redhat.com>
56
57 * manual/arith.texi: Document MTASC-safety properties.
58
4a16c662
AO
592014-01-29 Alexandre Oliva <aoliva@redhat.com>
60
61 * manual/argp.texi: Document MTASC-safety properties.
62
0a57b83e
AO
632014-01-29 Alexandre Oliva <aoliva@redhat.com>
64
65 * manual/macros.texi: Introduce macros to document multi
66 thread, asynchronous signal and asynchronous cancellation
67 safety properties.
68 * manual/intro.texi: Introduce the properties themselves.
69
feab2397
KK
702014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
71
72 * sysdeps/sh/sh4/Makefile: New file.
73
1c0d11bc
AS
742014-01-27 Andreas Schwab <schwab@linux-m68k.org>
75
76 * math/gen-libm-test.pl ($srcdir): New variable.
77 ($auto_input): Use it.
78
af37a8a3
SP
792014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
80
d7b00f98
SP
81 [BZ #16506]
82 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
83 access beyond array bounds when parsing netgroups file.
84
af37a8a3
SP
85 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
86 the old buffer before realloc.
87
0c00f062
AM
882014-01-27 Allan McRae <allan@archlinux.org>
89
90 * po/fr.po: Update French translation from translation project.
91
7d69a1b0
KK
922014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
93
94 * sysdeps/sh/libm-test-ulps: Regenerate.
95
6e697ff7
DM
962014-01-24 David S. Miller <davem@davemloft.net>
97
98 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
99
9cadb35c
KK
1002014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
101
102 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
103 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
104
5d41dadf
SP
1052013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
106
107 [BZ #16474]
108 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
109 string pointers after reallocation.
110
0bad441c
KK
1112014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
112
113 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
114 __SH4A__ instead of __SH_FPU_ANY__.
115
7007c661
KK
1162014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
117
118 * sysdeps/sh/fpu_control.h: New file.
119 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
120 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
121 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
122 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
123 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
124 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
125 * sysdeps/sh/sys/ucontext.h: Remove.
126 * sysdeps/sh/sys: Remove directory.
127
0f0c35e4
AK
1282014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
129
130 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
131 s390/sys/ucontext.h.
132 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
133 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
134
4959e284
L
1352014-01-20 H.J. Lu <hongjiu.lu@intel.com>
136
137 [BZ #15605]
138 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
139
d98720e0
AZ
1402014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
141
142 [BZ#16431]
143 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
144 Adjust the vDSO correctly for internal calls.
145 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
146
91cbd0bc
AM
1472014-01-20 Allan McRae <allan@archlinux.org>
148
149 * po/ca.po: Update Catalan translation from translation project.
150
7a02cfad
MF
1512014-01-16 Mike Frysinger <vapier@gentoo.org>
152
153 * sysdeps/s390/sotruss-lib.c: New file.
154
736c304a
AZ
1552014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
156
157 [BZ#16430]
6e077ee5 158 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
159 (__GI___gettimeofday): Alias for a different internal symbol to avoid
160 local calls issues by not having a PLT stub required for IFUNC calls.
161 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
162
94d0cea0
JM
1632014-01-16 Joseph Myers <joseph@codesourcery.com>
164
165 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
166 * math/test-fpucw-static.c: Likewise.
167
980cb518
SP
1682013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
169
170 [BZ #16453]
171 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
172
2393fc01
AZ
1732014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
174
175 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
176 implementation for powerpc.
177
d359bcc2
OB
1782014-01-15 Ondřej Bílka <neleai@seznam.cz>
179
180 [BZ #14782]
181 * sysdeps/posix/system.c (__libc_system): Do not enable
182 asynchronous cancellation.
183
7beb48cb
AK
1842014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
185
186 [BZ #16427]
187 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
188 handling only for numbers special also in the IEEE case.
189
c20d5bf5
AK
1902014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
191
192 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
193
e83bd4ee
AM
1942014-01-11 Allan McRae <allan@archlinux.org>
195
76d0ea69
AM
196 * po/bg.po: Update Bulgarian translation from translation project.
197
e83bd4ee
AM
198 * po/de.po: Update German translation from translation project.
199
bc2ba20a
RM
2002014-01-10 Roland McGrath <roland@hack.frob.com>
201
202 * sysdeps/generic/gcc-compat.h: New file.
203
649ecea2
SP
2042014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
205
206 * benchtests/asin-inputs: Correct slow inputs.
207 * benchtests/acos-inputs: Likewise.
208
1b19c006
AM
2092014-01-10 Allan McRae <allan@archlinux.org>
210
a46dab08
AM
211 * po:sv.po: Update Swedish translation from translation project.
212
421df74a
AM
213 * po/vi.po: Update Vietnamese translation from translation project.
214
d61c51a7
AM
215 * po/eo.po: Update Esperanto translation from translation project.
216
0339a319
AM
217 * po/cs.po: Update Czech translation from translation project.
218
94ad3e99
AM
219 * po/nl.po: Update Dutch translation from translation project.
220
e349ca71
AM
221 * po/pl.po: Update Polish translation from translation project.
222
ddf930c1
AM
223 * po/ru.po: Update Russian translation from translation project.
224
1b19c006
AM
225 * po/uk.po: Update Ukrainian translation from translation project.
226
9f236c49
BM
2272014-01-08 Brooks Moses <bmoses@google.com>
228
229 * elf/dl-load.c: Fix comment typo.
230
cd6701cf
CD
2312014-01-08 Carlos O'Donell <carlos@redhat.com>
232
233 * po/header.pot: Rename to...
234 * po/pot.header: ... this.
235 * po/Makefile: Use pot.header.
236
66671c84
YK
2372014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
238 Maxim Kuvyrkov <maxim@kugelworks.com>
239
240 [BZ #16394]
cd6701cf
CD
241 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
242 SRC and DEST against LEN.
66671c84 243
38f34581
AZ
2442014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
245
246 [BZ #16414]
247 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
248 implementation.
249 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
250
2512014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
252
253 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
254
4c327f2a
JM
2552014-01-08 Joseph Myers <joseph@codesourcery.com>
256
257 [BZ #16408]
258 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
259 for large positive arguments.
260
b821f414
JM
2612014-01-07 Joseph Myers <joseph@codesourcery.com>
262
1f0f2067
JM
263 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
264
a5a326f6
JM
265 * math/auto-libm-test-in: Mark various tests with
266 xfail-rounding:ldbl-128ibm.
267 * math/auto-libm-test-out: Regenerated.
268
b821f414
JM
269 [BZ #16407]
270 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
271 Increase overflow threshold.
272
94c8a4bc
OB
2732014-01-07 Ondřej Bílka <neleai@seznam.cz>
274
275 [BZ #14286]
276 * stdio-common/vfprintf.c: Check for integer overflow.
277
87ded0c3
AK
2782014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
279
280 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
281 the first argument and return value of __tls_get_addr_internal.
282
c5eebdd0
AK
2832014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
284
285 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
286 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
287
05d138ef
AK
2882014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
289
290 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
291 * sysdeps/s390/rtld-global-offsets.sym: New file.
292 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
293 GLIBC_2.19 symbol.
294 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
295 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
296 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
297 ... this.
298 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
299 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
300 ... this.
301 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
302 Regenerate.
303 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
304 Regenerate.
305 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
306 halfs of GPRs for high_gprs contexts.
307 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
308 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
309 field.
310 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
311 uc_flags field.
312 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
313 64 bit versions:
314 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
315 for high GPRs (uc_high_gprs) and for future extensions
316 (__reserved).
317 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
318 for future extensions (__reserved).
319 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
320 64 bit versions:
321 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
322 SC_HIGHGPRS offset definition.
323 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
324 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
325
93a45ff1
AK
3262014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
327
328 * Versions.def: Add GLIBC_2.19 for libpthread.
329 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
330 siglongjmp for libpthread with GLIBC_2.19 symver.
331 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
332 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
333 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
334 * sysdeps/s390/__longjmp.c: New file.
335 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
336 * sysdeps/s390/longjmp.c: New file.
337 * sysdeps/s390/setjmp.S: New file.
338 * sysdeps/s390/sigjmp.S: New file.
339 * sysdeps/s390/v1-longjmp.c: New file.
340 * sysdeps/s390/v1-setjmp.h: New file.
341 * sysdeps/s390/v1-sigjmp.c: New file.
342 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
343 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
344 GLIBC_2.19 version.
345 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
346 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
347 versioned symbols for ____longjmp_chk.
348 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
349 Likewise.
350 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
351 Regenerate.
352 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
353 Regenerate.
354 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
355 Regenerate.
356 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
357 Regenerate.
358 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
359 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
360 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
361 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
362 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
363 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
364 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
365 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
366 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
367 * sysdeps/s390/rtld-__longjmp.c: New file.
368 * sysdeps/s390/rtld-setjmp.S: New file.
369
eb3fc44b
JM
3702014-01-06 Joseph Myers <joseph@codesourcery.com>
371
372 [BZ #16400]
373 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
374 Return -__logl (x) for small positive arguments without evaluating
375 a polynomial.
376
9341dde4
MF
3772014-01-06 Mike Frysinger <vapier@gentoo.org>
378
379 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
380 Rename to ...
381 (__ptrace_peeksiginfo_args): ... this.
382 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
383 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
384 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
385
4cff0293
AM
3862014-01-06 Allan McRae <allan@archlinux.org>
387
388 * inet/netinet/in.h: Fix typo in comment.
389
75595dcf
AJ
3902014-01-05 Andreas Jaeger <aj@suse.de>
391
392 * sysdeps/i386/fpu/libm-test-ulps: Update.
393
79c1e109
AM
3942014-01-05 Allan McRae <allan@archlinux.org>
395
dd804818
AM
396 * po/libc.pot: Regenerated.
397
79c1e109
AM
398 * malloc/memusagestat.c: Fix gettext call formatting.
399
0c813d1f
SK
4002014-01-04 Sami Kerola <kerolasa@iki.fi>
401
402 * nscd/nscd.c: Improve usage() output.
403
20f4a8d9
MF
4042014-01-04 Mike Frysinger <vapier@gentoo.org>
405
406 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
407 * sysdeps/unix/sysv/linux/configure: Regenerated.
408 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
409 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
410
22562bb2
JM
4112014-01-03 Joseph Myers <joseph@codesourcery.com>
412
413 [BZ #16390]
414 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
415 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
416
d7ad2d9b
AZ
4172014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
418
419 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
420 extra tokens at end of #undef directive.
421 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
422 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
423 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
424
7f507ee1
AH
4252014-01-03 Andrew Hunter <ahh@google.com>
426
0da43124 427 * elf/dl-open.c (dl_open_worker): New comment.
7f507ee1
AH
428 * elf/dl-reloc.c (_dl_try_allocate_static_tls): Use
429 atomic_compare_and_exchange_bool_acq
430 (_dl_allocate_static_tls): Block signals.
431 * elf/dl-tls.c (allocate_and_init): Return void.
432 (_dl_update_slotinfo): Block signals, use atomic update.
433
7dd009d8
JM
4342014-01-03 Joseph Myers <joseph@codesourcery.com>
435
24db925a
JM
436 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
437
7dd009d8
JM
438 * math/auto-libm-test-in: Mark various tests with
439 xfail-rounding:ldbl-128ibm.
440 * math/auto-libm-test-out: Regenerated.
441
396e3ecf
JM
4422014-01-02 Joseph Myers <joseph@codesourcery.com>
443
819e5d50
JM
444 [BZ #16386]
445 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
446 numbers with subnormal high part when calculating exponent.
447
90b6a1e5
JM
448 [BZ #16385]
449 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
450 fabs.
451
396e3ecf
JM
452 [BZ #16384]
453 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
454 M_LN2l.
455 (__ieee754_acoshl): Use __log1pl not __log1p.
456
6c8dbf00
OB
4572013-01-02 Ondřej Bílka <neleai@seznam.cz>
458
459 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
460 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
461 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
462 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
463 Convert to GNU style.
464 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
465 mem2mem_check, mem2chunk_check, top_check, realloc_check,
466 memalign_check, __malloc_set_state): Likewise.
467 * malloc/mallocbug.c (main): Likewise.
468 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
469 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
470 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
471 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
472 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
473 * malloc/malloc.h: Likewise.
474 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
475 memalignhook, reallochook, mabort): Likewise.
476 * malloc/mcheck.h: Likewise.
477 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
478 mmap64, mremap, munmap, dest): Likewise.
479 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
480 * malloc/morecore.c (__default_morecore): Likewise.
481 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
482 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
483 _obstack_allocated_p, obstack_free, _obstack_memory_used,
484 print_and_abort): Likewise.
485 * malloc/obstack.h: Likewise.
486 * malloc/set-freeres.c (__libc_freeres): Likewise.
487 * malloc/tst-mallocstate.c (main): Likewise.
488 * malloc/tst-mtrace.c (main): Likewise.
489 * malloc/tst-realloc.c (do_test): Likewise.
490
d4124212
SP
4912013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
492
9a3c6a6f
SP
493 [BZ #16366]
494 * nscd/netgroupcache.c (do_notfound): New function.
495 (addgetnetgrentX): Use it.
496
d4124212
SP
497 [BZ # 16365]
498 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
499 NSS_STATUS_NOTFOUND.
500
97b9a009
JM
5012014-01-01 Joseph Myers <joseph@codesourcery.com>
502
503 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
504 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
505
d4697bc9
AM
5062014-01-01 Allan McRae <allan@archlinux.org>
507
ddb3687f
AM
508 * scripts/update-copyrights: Update configure input file suffix.
509
88726d48
AM
510 * NEWS: Update copyright year.
511 * catgets/gencat.c: Likewise.
512 * csu/version.c: Likewise.
513 * debug/catchsegv.sh: Likewise.
514 * debug/pcprofiledump.c: Likewise.
515 * debug/xtrace.sh: Likewise.
516 * elf/ldconfig.c: Likewise.
517 * elf/ldd.bash.in: Likewise.
518 * elf/pldd.c: Likewise.
519 * elf/sotruss.ksh: Likewise.
520 * elf/sprof.c: Likewise.
521 * iconv/iconv_prog.c: Likewise.
522 * iconv/iconvconfig.c: Likewise.
523 * locale/programs/locale.c: Likewise.
524 * locale/programs/localedef.c: Likewise.
525 * login/programs/pt_chown.c: Likewise.
526 * malloc/memusage.sh: Likewise.
527 * malloc/memusagestat.c: Likewise.
528 * malloc/mtrace.pl: Likewise.
529 * manual/libc.texinfo: Likewise.
530 * nscd/nscd.c: Likewise.
531 * nss/getent.c: Likewise.
532 * nss/makedb.c: Likewise.
533 * posix/getconf.c: Likewise.
534 * scripts/test-installation.pl: Likewise.
535
d4697bc9
AM
536 * All files with FSF copyright notices: Update copyright dates
537 using scripts/update-copyrights.
538 * intl/plural.c: Regenerated.
539 * locale/programs/charmap-kw.h: Likewise.
540 * locale/programs/locfile-kw.h: Likewise.
541
c8590f9d
MF
5422013-12-31 Mike Frysinger <vapier@gentoo.org>
543
544 * sysdeps/unix/sysv/linux/configure: Regenerated.
545 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
546 the linux/fanotify.h header.
547 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
548 HAVE_LINUX_FANOTIFY_H is defined.
549
b19221b9
SP
5502013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
551
dd1d85e5
SP
552 * benchtests/cos-inputs: New inputs.
553 * benchtests/sin-inputs: Likewise.
554
1acbb90f
SP
555 * benchtests/atan-inputs: New inputs. Fix name of multiple
556 precision fallback inputs.
557
4c012ed3
SP
558 * benchtests/atanh-inputs: New inputs.
559 * benchtests/tanh-inputs: Likewise.
560
eff98324
SP
561 * benchtests/acosh-inputs: New inputs.
562 * benchtests/asinh-inputs: Likewise.
563
ce641152
SP
564 * benchtests/cosh-inputs: New inputs.
565 * benchtests/sinh-inputs: Likewise.
566
b19221b9
SP
567 * benchtests/acos-inputs: Add more inputs.
568 * benchtests/asin-inputs: Likewise.
569
030a4976 5702013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 571
030a4976 572 [BZ #16375]
9dcc8f11
VS
573 * manual/arith.texi: Fix spelling.
574 * manual/charset.texi: Likewise.
575 * manual/errno.texi: Likewise.
576 * manual/filesys.texi: Likewise.
577 * manual/lang.texi: Likewise.
578 * manual/llio.texi: Likewise.
579 * manual/locale.texi: Likewise.
580 * manual/message.texi: Likewise.
581 * manual/resource.texi: Likewise.
582 * manual/search.texi: Likewise.
583 * manual/setjmp.texi: Likewise.
584 * manual/stdio.texi: Likewise.
585 * manual/string.texi: Likewise.
586 * manual/sysinfo.texi: Likewise.
587 * manual/time.texi: Likewise.
588
11520a57
CD
5892013-12-27 Carlos O'Donell <carlos@redhat.com>
590
591 * po/sl.po: New file.
592
471103ae
MF
5932013-12-27 Mike Frysinger <vapier@gentoo.org>
594
595 * .gitignore: Add core/.gdbinit/.gdb_history.
596
6c9642ed
AM
5972013-12-27 Allan McRae <allan@archlinux.org>
598
599 [BZ #16369]
600 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
601 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
602
3f637079
BM
6032013-12-24 Brooks Moses <bmoses@google.com>
604
605 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
606 all compilers that claim C++98 compliance, not just GCC.
607 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
608 Likewise.
609
abc26e99
MK
6102013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
611
612 * NEWS: Restore accidentally deleted bug-fix entries.
613
362b47fe
MK
6142013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
615 Ondřej Bílka <neleai@seznam.cz>
616
617 [BZ #15073]
618 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 619 have_lock.
362b47fe 620
b9bcbbcb
OB
6212013-12-23 Ondřej Bílka <neleai@seznam.cz>
622
623 [BZ #12986]
624 * manual/stdio.texi (String Input Conversions): Clarify that character
625 classes are not supported.
626
fb55fcd2
AZ
6272013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
628
629 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
630
ef7344f0
JM
6312013-12-22 Joseph Myers <joseph@codesourcery.com>
632
4f40e4b3
JM
633 [BZ #16337]
634 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
635 Calculate results for small negative arguments directly rather
636 than using reflection formula with special underflow handling.
637
ef7344f0
JM
638 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
639 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
640 sysdeps/unix/bsd/bsd4.4/syscalls.list.
641 (fchflags): Likewise.
642 (revoke): Likewise.
643 (setlogin): Likewise.
644 (sigaltstack): Likewise.
645 (wait4): Likewise.
646 (sigblock): Remove.
647 (sigsetmask): Likewise.
648 (wait3): Likewise.
649 (waitpid): Likewise.
650 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
651 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
652 file.
653 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
654 * sysdeps/unix/bsd/Makefile: ... here.
655 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
656 * sysdeps/unix/bsd/Versions: ... here.
657 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
658 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
659 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
660 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
661 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
662 * sysdeps/unix/bsd/sigblock.c: ... here.
663 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
664 * sysdeps/unix/bsd/sigsetmask.c: ... here.
665 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
666 * sysdeps/unix/bsd/sigvec.c: ... here.
667 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
668 * sysdeps/unix/bsd/tcdrain.c: ... here.
669 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
670 * sysdeps/unix/bsd/tcgetattr.c: ... here.
671 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
672 * sysdeps/unix/bsd/tcsetattr.c: ... here.
673 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
674 * sysdeps/unix/bsd/wait.c: ... here.
675 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
676 * sysdeps/unix/bsd/wait3.c: ... here.
677 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
678 * sysdeps/unix/bsd/waitpid.c: ... here.
679
5b0626b9
JM
6802013-12-21 Joseph Myers <joseph@codesourcery.com>
681
682 [BZ #16356]
683 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
684 round-to-nearest for [!USE_AS_EXPM1L].
685 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
686 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
687 more tests of exp and exp10. Expect some exp10 tests to miss
688 exceptions or fail in directed rounding modes.
689 * math/auto-libm-test-out: Regenerated.
690 * math/libm-test.inc (exp10_tonearest_test_data): New array.
691 (exp10_test_tonearest): New function.
692 (exp10_towardzero_test_data): New array.
693 (exp10_test_towardzero): New function.
694 (exp10_downward_test_data): New array.
695 (exp10_test_downward): New function.
696 (exp10_upward_test_data): New array.
697 (exp10_test_upward): New function.
698 (main): Call the new functions.
699 * sysdeps/i386/fpu/libm-test-ulps: Update.
700 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
701
7fda5682
JM
7022013-12-20 Joseph Myers <joseph@codesourcery.com>
703
31e3a405
JM
704 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
705 asinh, atan, atan2, atanh, cbrt, cos and cosh.
706 * math/auto-libm-test-out: Regenerated.
707 * math/libm-test.inc (acosh_test_data): Add more tests.
708 (atanh_test_data): Likewise.
709 (ceil_test_data): Likewise.
710 (copysign_test_data): Likewise.
711 * sysdeps/i386/fpu/libm-test-ulps: Update.
712 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
713
85bff96a
JM
714 * timezone/checktab.awk: Update from tzcode 2013i.
715 * timezone/private.h: Likewise.
716 * timezone/scheck.c: Likewise.
717 * timezone/tzfile.h: Likewise.
718 * timezone/tzselect.ksh: Likewise.
719 * timezone/zdump.c: Likewise.
720 * timezone/zic.c: Likewise.
721
b7867a3b
JM
722 * math/auto-libm-test-in: Add tests of cpow.
723 * math/auto-libm-test-out: Regenerated.
724 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
725 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
726 mpc_cc_c.
727 (func_calc_desc): Add mpc_cc_c union field.
728 (test_functions): Add cpow.
729 (special_fill_2pi): New function.
730 (special_real_inputs): Add 2pi.
731 (calc_generic_results): Handle mpc_cc_c.
732 * sysdeps/i386/fpu/libm-test-ulps: Update.
733 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
734
7fda5682
JM
735 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
736 csqrt, ctan and ctanh.
737 * math/auto-libm-test-out: Regenerated.
738 * math/libm-test.inc (TEST_COND_x86_64): New macro.
739 (TEST_COND_x86): Likewise.
740 (ccos_test_data): Use AUTO_TESTS_c_c.
741 (ccosh_test_data): Likewise.
742 (cexp_test_data): Likewise.
743 (clog_test_data): Likewise.
744 (csqrt_test_data): Likewise.
745 (ctan_test_data): Likewise.
746 (ctan_tonearest_test_data): Likewise.
747 (ctan_towardzero_test_data): Likewise.
748 (ctan_downward_test_data): Likewise.
749 (ctan_upward_test_data): Likewise.
750 (ctanh_test_data): Likewise.
751 (ctanh_tonearest_test_data): Likewise.
752 (ctanh_towardzero_test_data): Likewise.
753 (ctanh_downward_test_data): Likewise.
754 (ctanh_upward_test_data): Likewise.
755 * math/gen-auto-libm-tests.c (func_calc_method): Add value
756 mpc_c_c.
757 (func_calc_desc): Add mpc_c_c union field.
758 (FUNC_mpc_c_c): New macro.
759 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
760 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
761 ctanh.
762 (special_fill_min_subnorm_p120): New function.
763 (special_real_inputs): Add min_subnorm_p120.
764 (calc_generic_results): Handle mpc_c_c.
765 * sysdeps/i386/fpu/libm-test-ulps: Update.
766 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
767
5ff8d60e
SP
7682013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
769
392dd2de
SP
770 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
771 do_sin_slow): New functions.
772 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
773 cslow2, csloww1, csloww2): Use the new functions.
774
84ba214c
SP
775 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
776 Use M to change sign of result instead of X. Assume X is
777 positive.
778 (csloww1): Likewise.
779 (__sin): Adjust.
780 (__cos): Adjust.
781
975195e4
SP
782 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
783 arguments A and DA.
784 (__sin): Adjust.
785 (__cos): Likewise.
786
5ff8d60e
SP
787 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
788 (__cos): Likewise.
789 (sloww1): Don't adjust sign of DX.
790 (csloww1): Likewise.
791 (sloww2): Use X directly and don't adjust sign of DX.
792 (csloww2): Likewise.
793
eb983568
JM
7942013-12-19 Joseph Myers <joseph@codesourcery.com>
795
64a17f1a
JM
796 * math/auto-libm-test-in: Add tests of cabs and carg.
797 * math/auto-libm-test-out: Regenerated.
798 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
799 (carg_test_data): Likewise.
800 * math/gen-auto-libm-tests.c (func_calc_method): Add value
801 mpc_c_f.
802 (func_calc_desc): Add mpc_c_f union field.
803 (test_functions): Add cabs and carg.
804 (calc_generic_results): Handle mpc_c_f.
805
eb983568
JM
806 * sysdeps/powerpc/powerpc32/libgcc-compat.S
807 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
808 as a macro and a compat symbol.
809 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
810 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
811 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
812 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
813 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
814 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
815 not use .hidden.
816 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
817 Likewise.
818 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
819 Likewise.
820 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
821 Likewise.
822 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
823 Likewise.
824 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
825 Likewise.
826 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
827 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
828 from GLIBC_2.3.2.
829
6eeb678a
AZ
8302013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
831
832 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
833
063b2acb
PP
8342013-12-19 Paul Pluzhnikov <ppluzhnikov@google.com>
835
836 * elf/dl-misc.c (ptr_to_signal_safe_allocator_header): New function.
837 (__signal_safe_memalign, __signal_safe_free): Use it.
838 (__signal_safe_realloc): Likewise.
839
6f6fc482
JM
8402013-12-19 Joseph Myers <joseph@codesourcery.com>
841
21fea2e2
JM
842 * manual/texinfo.tex: Update to version 2013-11-26.10 with
843 trailing whitespace removed.
844 * scripts/config.guess: Update to version 2013-11-29.
845 * scripts/config.sub: Update to version 2013-10-01.
846
6f6fc482
JM
847 * math/auto-libm-test-in: Add tests of sincos.
848 * math/auto-libm-test-out: Regenerated.
849 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
850 * math/gen-auto-libm-tests.c (func_calc_method): Add value
851 mpfr_f_11.
852 (func_calc_desc): Add mpfr_f_11 union field.
853 (test_functions): Add sincos.
854 (calc_generic_results): Handle mpfr_f_11.
855 * sysdeps/i386/fpu/libm-test-ulps: Update.
856 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
857
83f5c32d
AS
8582013-12-19 Andreas Schwab <schwab@suse.de>
859
860 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
861 CALL_MCOUNT.
862 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
863 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
864 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
865
c688b419
JM
8662013-12-19 Joseph Myers <joseph@codesourcery.com>
867
335ee092
JM
868 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
869 * sysdeps/i386/fpu/libm-test-ulps: Update.
870 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
871
f88acd39
JM
872 [BZ #16293]
873 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
874 round-to-nearest mode when using frndint.
875 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
876 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
877 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
878 Likewise.
879 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
880 sinh test to fail.
881 * math/auto-libm-test-out: Regenerated.
882 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
883 (TEST_COND_x86): Likewise.
884 (expm1_tonearest_test_data): New array.
885 (expm1_test_tonearest): New function.
886 (expm1_towardzero_test_data): New array.
887 (expm1_test_towardzero): New function.
888 (expm1_downward_test_data): New array.
889 (expm1_test_downward): New function.
890 (expm1_upward_test_data): New array.
891 (expm1_test_upward): New function.
892 (main): Run the new test functions.
893 * sysdeps/i386/fpu/libm-test-ulps: Update.
894 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
895
c688b419
JM
896 * include/features.h: Update comment documenting feature test
897 macros. Mention _DEFAULT_SOURCE in comment.
898 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
899 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
900 _BSD_SOURCE and _SVID_SOURCE.
901 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
902 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
903 !_SVID_SOURCE]: Likewise.
904 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
905 (__USE_POSIX_IMPLICITLY): Define.
906 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
907 (_POSIX_SOURCE): Undefine and redefine.
908 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
909 (_POSIX_C_SOURCE): Likewise.
910 * manual/creature.texi (_DEFAULT_SOURCE): Document.
911 (Feature Test Macros): Update documentation of default features.
912
9f6e964c
RS
9132013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
914
915 * benchtests/Makefile: Add bench-strtok.
916 * benchtests/bench-strtok.c: New file: strtok benchtest.
917
ee0a148a
AM
9182013-12-19 Allan McRae <allan@archlinux.org>
919
920 * manual/install.texi: Suppress menu for plain text output.
921 * INSTALL: Regenerated.
922
1f33d36a
PP
9232013-12-18 Andrew Hunter <ahh@google.com>
924
925 * sysdeps/generic/ldsodefs.h (__signal_safe_memalign): New prototype.
926 (__signal_safe_malloc, __signal_safe_free): Likewise.
927 (__signal_safe_realloc, __signal_safe_calloc): Likewise.
928 * elf/dl-misc.c (__signal_safe_allocator_header): New struct.
929 (__signal_safe_memalign, __signal_safe_malloc): New function.
930 (__signal_safe_free, __signal_safe_realloc): Likewise.
931 (__signal_safe_calloc): Likewise.
932 * elf/dl-tls.c (allocate_dtv, _dl_clear_dtv): Call signal-safe
933 functions.
934 (_dl_deallocate_tls, _dl_update_slotinfo): Likewise.
935
35e8f7ab
PP
9362013-12-18 Andrew Hunter <ahh@google.com>
937
938 * elf/Versions (ld): Add _dl_clear_dtv.
939 * sysdeps/generic/ldsodefs.h (_dl_clear_dtv): New prototype.
940 * elf/dl-tls.c (_dl_clear_dtv): New function.
941 * nptl/allocatestack.c (get_cached_stack): Call _dl_clear_dtv.
942
69a17d9d
PP
9432013-12-18 Andrew Hunter <ahh@google.com>
944
945 * sysdeps/generic/ldsodefs.h (_dl_mask_all_signals): New prototype.
946 (_dl_unmask_signals): Likewise.
947 * sysdeps/mach/hurd/dl-sysdep.h (_dl_mask_all_signals): New stub.
948 (_dl_unmask_all_signals): Likewise.
949 * sysdeps/unix/sysv/linux/dl-sysdep.h (_dl_mask_all_signals): New prototype.
950 (_dl_unmask_all_signals): Likewise.
951 * sysdeps/unix/sysv/linux/dl-sysdep.c (_dl_mask_all_signals): New function.
952 (_dl_unmask_signals): Likewise.
953
b9ab448f
BM
9542013-12-18 Brooks Moses <bmoses@google.com>
955
956 [BZ #15846]
957 * misc/getauxval.c: Include errno.h.
958 (__getauxval): Set errno to ENOENT if the requested type is not
959 found.
960 * misc/sys/auxv.h (getauxval): Document that it may set errno;
961 don't declare with __attribute_const__.
962 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
963 * manual/startup.texi: Document that getauxval sets errno.
964
23776487
JM
9652013-12-18 Joseph Myers <joseph@codesourcery.com>
966
f889953b
JM
967 * math/auto-libm-test-in: Add tests of jn and yn.
968 * math/auto-libm-test-out: Regenerated.
969 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
970 (yn_test_data): Likewise.
971 * math/gen-auto-libm-tests.c (func_calc_method): Add value
972 mpfr_if_f.
973 (func_calc_desc): Add mpfr_if_f union field.
974 (FUNC_mpfr_if_f): New macro.
975 (test_functions): Add jn and yn.
976 (calc_generic_results): Assert type of second input for
977 mpfr_ff_f. Handle mpfr_if_f.
978 (output_for_one_input_case): Disable all checking for arguments
979 fitting floating-point types in case of an integer argument.
980 * sysdeps/i386/fpu/libm-test-ulps: Update.
981 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
982
23776487
JM
983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
984 Don't expect fegetround reference in libm.so.
985
cb756c6d
MS
9862013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
987
988 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
989 $(config-cflags-nofma).
990
2dec468f
JM
9912013-12-18 Joseph Myers <joseph@codesourcery.com>
992
5953eb3a
JM
993 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
994 * math/auto-libm-test-out: Regenerated.
995
2dec468f
JM
996 [BZ #16338]
997 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
998 to determine exponent and adjust argument to have exponent of -1.
999 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
1000 log2.
1001 * math/auto-libm-test-out: Regenerated.
1002 * sysdeps/i386/fpu/libm-test-ulps: Update.
1003 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1004
4d84e6ad
OB
10052013-12-18 Ondřej Bílka <neleai@seznam.cz>
1006
1007 * manual/probes.texi: Remove cases when per-thread arenas are
1008 disabled.
1009
1818483b
AS
10102013-12-18 Andreas Schwab <schwab@suse.de>
1011
1012 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
1013 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
1014 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
1015 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
1016 * sysdeps/i386/i686/multiarch/Makefile: Update.
1017 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
1018
25de95bf
JM
10192013-12-17 Joseph Myers <joseph@codesourcery.com>
1020
1021 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
1022 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
1023
674762d9
PE
10242013-12-17 Paul Eggert <eggert@cs.ucla.edu>
1025
0748546f
PE
1026 Support TZ transition times < 00:00:00.
1027 This is needed for version-3 tz-format files; it supports time
1028 stamps past 2037 for America/Godthab (the only entry in the tz
1029 database for which this change is relevant).
1030 * manual/time.texi (TZ Variable): Document transition times
1031 from -167:59:59 through -00:00:01.
1032 * time/tzset.c (tz_rule): Time of day is now signed.
1033 (__tzset_parse_tz): Parse negative time of day.
1034
4480e934
PE
1035 Document TZ transition times >= 25:00:00.
1036 * manual/time.texi (TZ Variable): Document transition times from
1037 25:00:00 through 167:59:59. These are already supported, and this
1038 support will help with version-3 tz-format files.
1039
69947401
PE
1040 * manual/time.texi (TZ Variable): Modernize North America example
1041 to reflect current (i.e., 2007-and-later) daylight saving rules.
1042
674762d9
PE
1043 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
1044
7011c262
JM
10452013-12-17 Joseph Myers <joseph@codesourcery.com>
1046
2fc6557e
JM
1047 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
1048 * sysdeps/unix/bsd/bits/stat.h: Likewise.
1049 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
1050 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
1051 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
1052 * sysdeps/unix/bsd/bsdstat.h: Likewise.
1053 * sysdeps/unix/bsd/clock.c: Likewise.
1054 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
1055 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
1056 * sysdeps/unix/bsd/init-posix.c: Likewise.
1057 * sysdeps/unix/bsd/poll.c: Likewise.
1058 * sysdeps/unix/bsd/ptsname.c: Likewise.
1059 * sysdeps/unix/bsd/seekdir.c: Likewise.
1060 * sysdeps/unix/bsd/setegid.c: Likewise.
1061 * sysdeps/unix/bsd/seteuid.c: Likewise.
1062 * sysdeps/unix/bsd/setgid.c: Likewise.
1063 * sysdeps/unix/bsd/setrgid.c: Likewise.
1064 * sysdeps/unix/bsd/setruid.c: Likewise.
1065 * sysdeps/unix/bsd/setsid.c: Likewise.
1066 * sysdeps/unix/bsd/setuid.c: Likewise.
1067 * sysdeps/unix/bsd/sigaction.c: Likewise.
1068 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
1069 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
1070 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
1071 * sysdeps/unix/bsd/telldir.c: Likewise.
1072 * sysdeps/unix/bsd/times.c: Likewise.
1073 * sysdeps/unix/bsd/usleep.c: Likewise.
1074
029c7b25
JM
1075 * misc/Makefile (install-lib): Remove libbsd-compat.a.
1076 ($(objpfx)libbsd-compat.a): Remove rule.
1077
7011c262
JM
1078 * include/features.h (__FAVOR_BSD): Do not define.
1079 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
1080 features conflicting with POSIX.
1081 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
1082 (_BSD_SOURCE): Remove description of not being a subset of other
1083 feature test macros.
1084 * manual/job.texi (getpgrp): Do not document BSD version.
1085 (getpgid): Do not document by reference to BSD getpgrp.
1086 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
1087 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
1088 * signal/signal.h [__FAVOR_BSD]: Likewise.
1089 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
1090 instead of making contents conditional on [__FAVOR_BSD].
1091 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
1092
affb6f78
AZ
10932013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1094
1095 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1096
c88769dd
JM
10972013-12-17 Joseph Myers <joseph@codesourcery.com>
1098
6432a540
JM
1099 [BZ #16314]
1100 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
1101 values below 2**-450, not 2**-500.
1102 * math/auto-libm-test-in: Don't allow spurious underflow from
1103 hypot.
1104 * math/auto-libm-test-out: Regenerated.
1105
c88769dd
JM
1106 [BZ #16316]
1107 [BZ #16330]
1108 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
1109 values of ha and hb and sort them after adjusting subnormal
1110 arguments.
1111 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
1112 Likewise.
1113 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
1114 values of ea and eb and sort them after adjusting subnormal
1115 arguments.
1116 * math/auto-libm-test-in: Do not expect some hypot tests of
1117 subnormals to fail. Add more hypot tests.
1118 * math/auto-libm-test-out: Regenerated.
1119
29618f6b
KK
11202013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1121
1122 [BZ #13304]
1123 * sysdeps/sh/s_fma.c: New file.
1124 * sysdeps/sh/s_fmaf.c: New file.
1125 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
1126 version.
1127 * sysdeps/sh/Implies: Add sh/soft-fp.
1128
eacfdfbf
RM
11292013-12-16 Roland McGrath <roland@hack.frob.com>
1130
1131 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
1132 level of indirection to members `objname', `errstring', `malloced'.
1133 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
1134 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
1135 it as the __longjmp argument (just pass 1 instead).
1136 (_dl_catch_error): Initialize C with argument pointers and address of
1137 volatile local ERRCODE rather than copying values out of C at return.
1138
ff362e5b
JM
11392013-12-16 Joseph Myers <joseph@codesourcery.com>
1140
1141 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
1142 * math/auto-libm-test-out: Regenerated.
1143 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
1144 (hypot_test_data): Likewise.
1145 (pow_test_data): Likewise.
1146 (pow_tonearest_test_data): Likewise.
1147 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1148 mpfr_ff_f.
1149 (func_calc_desc): Add mpfr_ff_f union field.
1150 (FUNC_mpfr_ff_f): New macro.
1151 (test_functions): Add atan2, hypot and pow.
1152 (special_fill_min): New function.
1153 (special_fill_minus_min): Likewise.
1154 (special_fill_min_subnorm): Likewise.
1155 (special_fill_minus_min_subnorm): Likewise.
1156 (special_real_inputs): Add min, -min, min_subnorm and
1157 -min_subnorm.
1158 (calc_generic_results): Handle mpfr_ff_f.
1159 * sysdeps/i386/fpu/libm-test-ulps: Update.
1160 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1161
5764c27f
WN
11622013-12-16 Will Newton <will.newton@linaro.org>
1163
1164 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
1165 (Aligned Memory Blocks): Add documentation for aligned_alloc
1166 and suggest it as an alternative to posix_memalign.
1167 (Hooks for Malloc): Document __memalign_hook is also called
1168 for aligned_alloc. (Summary of Malloc): Add summary for
1169 aligned alloc. Document __memalign_hook is also called
1170 for aligned_alloc.
1171
0a096e44
WN
11722013-12-16 Will Newton <will.newton@linaro.org>
1173
1174 * manual/memory.texi (Malloc Examples): Clarify default
1175 alignment documentation. Suggest posix_memalign rather
1176 than memalign or valloc.
1177 (Aligned Memory Blocks): Remove suggestion to use memalign
1178 or valloc. Remove obsolete comment about BSD.
1179 Document memalign errno values and mark the function obsolete.
1180 Document posix_memalign returned error codes. Mark valloc
1181 as obsolete. (Hooks for Malloc): __memalign_hook is also
1182 called for posix_memalign and valloc.
1183 (Summary of Malloc): Add posix_memalign to function summary.
1184 __memalign_hook is also called for posix_memalign and valloc.
1185
8d561986
SP
11862013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1187
1188 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
1189 TAYLOR_SIN.
1190 (__sin): Adjust.
1191 (__cos): Likewise.
1192 (sloww): Use mynumber union. Expand ternary operator into
1193 if-else statements.
1194 (cslow): use mynumber union.
1195
73616a74
AM
11962013-12-16 Allan McRae <allan@archlinux.org>
1197
9e8ac24b
AM
1198 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
1199 * configure: Regenerated.
1200
6f8e37eb
AM
1201 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
1202
8894bad3
AM
1203 [BZ #14120]
1204 * configure.ac: Added --enable-maintainer-mode. Check for
1205 autoconf when enabled.
1206 * configure: Regenerated.
1207
73616a74
AM
1208 * nscd/nscd.service: New file.
1209 * nscd/nscd.tmpfiles: New file.
1210
584b18eb
OB
12112013-12-14 Ondřej Bílka <neleai@seznam.cz>
1212
1213 [BZ #12100]
1214 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
1215 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
1216 * sysdeps/x86_64/multiarch/strstr.c: ... here.
1217 (strstr): Add __strstr_sse2_unaligned ifunc.
1218 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
1219 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
1220 (strcasestr): Remove __strcasestr_sse42 ifunc.
1221 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
1222 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
1223 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
1224
8a5c7897
KK
12252013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1226
1227 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
1228 * sysdeps/sh/bits/fenv.h: ... here.
1229 * sysdeps/sh/sh4/fpu/bits: Remove directory.
1230
fd712ef3
AZ
12312013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1232
1233 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
1234
42fcb46c
AZ
12352013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1236
1237 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
1238 hypotf multiarch implementations.
1239 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
1240 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
1241 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
1242 multiarch hypot for PPC64.
1243 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
1244 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
1245 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
1246 multiarch hypotf for PPC64.
1247
83efded4
AZ
12482013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1249
1250 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
1251 modff multiarch implementations.
1252 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
1253 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
1254 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
1255 multiarch modf for PPC64.
1256 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
1257 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
1258 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
1259 multiarch modff for PPC64.
1260
43e246d2
AZ
12612013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1262
1263 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
1264 and logl multiarch implementations.
1265 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
1266 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
1267 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
1268 multiarch logb for PPC64.
1269 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
1270 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
1271 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
1272 multiarch logb for PPC64.
1273 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
1274 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
1275 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
1276 multiarch logb for PPC64.
1277
8fdad123
AZ
12782013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1279
1280 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
1281 isinff multiarch implementation.
1282 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
1283 file.
1284 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
1285 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
1286 multiarch isinf for PPC64.
1287 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
1288 file.
1289 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
1290 multiarch isinff for PPC64.
1291
1481d706
AZ
12922013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1293
1294 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
1295 finitef multiarch implementation.
1296 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
1297 file.
1298 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
1299 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
1300 multiarch finite for PPC64.
1301 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
1302 file.
1303 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
1304 multiarch finitef for PPC64.
1305
5ccd5fc8
AZ
13062013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1307
1308 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
1309 lrint multiarch implementation.
1310 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
1311 file.
1312 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
1313 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
1314 multiarch llrint for PPC64.
1315 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
1316 multiarch lrint for PPC64.
1317
2568f3fa
AZ
13182013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1319
1320 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
1321 copysignf multiarch implementation.
1322 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
1323 file.
1324 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
1325 file.
1326 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
1327 multiarch copysign for PPC64.
1328 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
1329 multiarch copysignf for PPC64.
1330
1cb341fd
AZ
13312013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1332
1333 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
1334 multiarch implementation.
1335 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
1336 file.
1337 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
1338 file.
1339 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
1340 file.
1341 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
1342 file.
1343 multiarch llround for PPC64.
1344 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
1345 multiarch trunc for PPC64.
1346 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
1347 multiarch truncf for PPC64.
1348
59a3e194
AZ
13492013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1350
1351 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
1352 multiarch implementation.
1353 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
1354 file.
1355 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
1356 file.
1357 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
1358 file.
1359 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
1360 file.
1361 multiarch llround for PPC64.
1362 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
1363 multiarch round for PPC64.
1364 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
1365 multiarch roundf for PPC64.
1366
357fd3b4
AZ
13672013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1368
1369 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
1370 multiarch implementation.
1371 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
1372 file.
1373 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
1374 file.
1375 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
1376 file.
1377 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
1378 file.
1379 multiarch llround for PPC64.
1380 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
1381 multiarch floor for PPC64.
1382 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
1383 multiarch floorf for PPC64.
1384
96770f12
AZ
13852013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1386
1387 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
1388 multiarch implementation.
1389 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
1390 file.
1391 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
1392 file.
1393 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
1394 file.
1395 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
1396 file.
1397 multiarch llround for PPC64.
1398 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
1399 multiarch ceil for PPC64.
1400 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
1401 multiarch ceilf for PPC64.
1402
c3627f6e
AZ
14032013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1404
1405 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
1406 multiarch implementation.
1407 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
1408 file.
1409 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
1410 file.
1411 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
1412 file.
1413 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
1414 multiarch llround for PPC64.
1415 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
1416 multiarch lround for PPC64.
1417
b2284ad7
AZ
14182013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1419
1420 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
1421 multiarch implementation.
1422 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
1423 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
1424 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
1425 file.
1426 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
1427 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
1428 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
1429 multiarch isnan for PPC64.
1430 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
1431 multiarch isnanf for PPC64.
1432
69bbc63d
AZ
14332013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1434
1435 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
1436 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
1437 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
1438 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
1439 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
1440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
1441
c24517c9
AZ
14422013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1443
1444 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
1445 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1446 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1447 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1448
a52374e8
AZ
14492013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1450
1451 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
1452 multiarch implementations.
1453 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1454 (__libc_ifunc_impl_list): Likewise.
1455 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
1456 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
1457 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
1458 multiarch stpcpy for PPC64.
1459
7f5ec113
AZ
14602013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1461
1462 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
1463 multiarch implementations.
1464 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1465 (__libc_ifunc_impl_list): Likewise.
1466 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
1467 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
1468 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
1469 multiarch strcpy for PPC64.
1470
e28bcd42
AZ
14712013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1472
1473 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
1474 redefine function name.
1475 (_wordcopy_fwd_dest_aligned): Likewise.
1476 (_wordcopy_bwd_aligned): Likewise.
1477 (_wordcopy_bwd_dest_aligned): Likewise.
1478 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
1479 multiarch implementations.
1480 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1481 (__libc_ifunc_impl_list): Likewise.
1482 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
1483 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
1484 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
1485 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
1486 multiarch wcscpy for PPC64.
1487
92cacfce
AZ
14882013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1489
1490 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
1491 multiarch implementations.
1492 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1493 (__libc_ifunc_impl_list): Likewise.
1494 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
1495 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
1496 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
1497 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
1498 multiarch wcscpy for PPC64.
1499
7b714620
AZ
15002013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1501
1502 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
1503 multiarch implementations.
1504 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1505 (__libc_ifunc_impl_list): Likewise.
1506 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
1507 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
1508 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
1509 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
1510 multiarch wcsrchr for PPC64.
1511
16fd2ae3
AZ
15122013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1513
1514 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
1515 multiarch implementations.
1516 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1517 (__libc_ifunc_impl_list): Likewise.
1518 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
1519 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
1520 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
1521 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
1522 multiarch wcschr for PPC64.
1523
9ee2969b
AZ
15242013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1525
1526 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
1527 multiarch implementations.
1528 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1529 (__libc_ifunc_impl_list): Likewise.
1530 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
1531 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
1532 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
1533 multiarch strchrnul for PPC64.
1534
372dc060
AZ
15352013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1536
1537 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
1538 implementations.
1539 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1540 (__libc_ifunc_impl_list): Likewise.
1541 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
1542 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
1543 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
1544 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
1545 strchr for PPC64.
1546
24c2c3b9
AZ
15472013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1548
1549 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
1550 implementations.
1551 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1552 (__libc_ifunc_impl_list): Likewise.
1553 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
1554 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
1555 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
1556 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
1557 strncmp for PPC64.
1558
1c92d9a0
AZ
15592013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1560
1561 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
1562 multiarch implementations.
1563 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1564 (__libc_ifunc_impl_list): Likewise.
1565 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
1566 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
1567 strncasecmp for PPC64.
1568 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
1569 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
1570 multiarch strncasecmp_l for PPC64.
1571
17de3ee3
AZ
15722013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1573
1574 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
1575 multiarch implementations.
1576 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1577 (__libc_ifunc_impl_list): Likewise.
1578 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
1579 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
1580 multiarch strcasecmp for PPC64.
1581 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
1582 file.
1583 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
1584 multiarch strcasecmp_l for PPC64.
1585
62982bf9
AZ
15862013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1587
1588 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
1589 implementations.
1590 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1591 (__libc_ifunc_impl_list): Likewise.
1592 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
1593 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
1594 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
1595 strnlen for PPC64.
1596
a65f4904
AZ
15972013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1598
1599 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
1600 implementations.
1601 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1602 (__libc_ifunc_impl_list): Likewise.
1603 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
1604 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
1605 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
1606 strlen for PPC64.
1607
1fd005ad
AZ
16082013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1609
1610 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
1611 implementations.
1612 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1613 (__libc_ifunc_impl_list): Likewise.
1614 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
1615 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
1616 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
1617 rawmemrchr for PPC64.
1618
cd05ba91
AZ
16192013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1620
1621 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
1622 implementation.
1623 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1624 (__libc_ifunc_impl_list): Likewise.
1625 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
1626 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
1627 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
1628 memrchr for PPC64.
1629
870f8676
AZ
16302013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1631
1632 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
1633 implementation.
1634 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1635 (__libc_ifunc_impl_list): Likewise.
1636 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
1637 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
1638 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
1639 memchr for PPC64.
1640
f00be62b
AZ
16412013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1642
1643 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
1644 implementation.
1645 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1646 (__libc_ifunc_impl_list): Likewise.
1647 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
1648 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
1649 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
1650 mempcpy for PPC64.
1651
8a29a3d0
AZ
16522013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1653
1654 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
1655 avoid cretion of __bzero symbol.
1656 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
1657 Likewise.
1658 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
1659 Likewise.
1660 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
1661 Likewise.
1662 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
1663 multiarch implementations.
1664 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1665 (__libc_ifunc_impl_list): Likewise.
1666 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
1667 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
1668 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
1669 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
1670 bzero for PPC32.
1671 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
1672 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
1673 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
1674 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
1675 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
1676 memset for PPC64.
1677 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
1678
07253fcf
AZ
16792013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1680
1681 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
1682 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
1683 implementations.
1684 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1685 (__libc_ifunc_impl_list): Likewise.
1686 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
1687 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
1688 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
1689 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
1690 memcmp for PPC64.
1691
b5beafbc
AZ
16922013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1693
1694 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
1695 multiarch for POWER/PPC64.
1696 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1697 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
1698 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
1699 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
1700 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
1701 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
1702 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
1703 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
1704 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
1705 memcpy for PPC64.
1706
5e6a4d4b
AZ
17072013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1708
1709 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
1710 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
1711 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
1712 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
1713 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
1714 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
1715 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
1716 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
1717 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
1718 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
1719 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
1720 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
1721 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
1722 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
1723 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
1724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
1725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
1726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
1727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
1728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
1729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
1730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
1731
ddfab6dc
KK
17322013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1733
1734 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
1735
19b5525e
SP
17362013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1737
1738 * benchtests/Makefile (bench): Add exp2 and log2.
1739 (LDLIBS-bench-exp2): Add -lm.
1740 (LDLIBS-bench-log2): Likewise.
1741 * benchtests/exp2-inputs: New inputs file.
1742 * benchtests/log2-inputs: New inputs file.
1743 * benchtests/log-inputs: Add new inputs.
1744 * benchtests/tan-inputs: Likewise.
1745
196f7f5d
SP
17462013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1747
7a74607f
SP
1748 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
1749 definition...
1750 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
1751 csloww1, csloww2): ... from here.
1752
196f7f5d
SP
1753 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
1754 instead of structures.
1755 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
1756 (POLYNOMIAL): Likewise.
1757 (TAYLOR_SLOW): Likewise.
1758 (__sin): Likewise.
1759 (__cos): Likewise.
1760 (slow1): Likewise.
1761 (slow2): Likewise.
1762 (sloww): Likewise.
1763 (sloww1); Likewise.
1764 (sloww2): Likewise.
1765 (bsloww1): Likewise.
1766 (bsloww2): Likewise.
1767 (cslow2): Likewise.
1768 (csloww): Likewise.
1769 (csloww1): Likewise.
1770 (csloww2): Likewise.
1771
0dfa665c
OB
17722013-12-10 Ondřej Bílka <neleai@seznam.cz>
1773
1774 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
1775 (__malloc_assert, __libc_realloc, __libc_calloc,
1776 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
1777 memcpy and memset.
1778 * malloc/hooks.c (realloc_check): Likewise.
1779
5782a80f
OB
17802013-12-10 Ondřej Bílka <neleai@seznam.cz>
1781
1782 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
1783 * malloc/arena.c: Remove PER_THREAD conditional.
1784 [!PER_THREAD]: Remove code.
1785 (ptmalloc_unlock_all2): Likewise.
1786 (ptmalloc_init): Likewise.
1787 (_int_new_arena): Likewise.
1788 (arena_get2): Likewise.
1789 * malloc/hooks.c (__malloc_get_state): Likewise.
1790 (__malloc_set_state): Likewise.
1791 * malloc/malloc.c: Likewise.
1792 (struct malloc_state): Likewise.
1793 (struct malloc_par): Likewise.
1794 (__libc_realloc): Likewise.
1795 (__libc_mallopt): Likewise.
1796
aeb95445
AZ
17972013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1798
1799 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
1800
e8349efd
OB
18012013-12-09 Ondřej Bílka <neleai@seznam.cz>
1802
1803 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
1804 macro to a function. Check for zero perturb_byte.
1805 (_int_malloc, _int_free): Remove zero perturb_byte checks.
1806
f3eeb3fc
OB
18072013-12-09 Ondřej Bílka <neleai@seznam.cz>
1808
1809 * malloc/malloc.c: (force_reg): Remove.
1810 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
1811 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
1812 force_reg by atomic_forced_read.
1813 * malloc/arena.c (ptmalloc_init): Likewise.
1814 * malloc/hooks.c (top_check): Likewise.
1815
be2f9009
AZ
18162013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1817
1818 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1819
e7b914bd
MT
18202013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
1821
1822 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1823
9f0be4f8
JM
18242013-12-08 Joseph Myers <joseph@codesourcery.com>
1825
1826 * math/auto-libm-test-in: Add tests of lgamma.
1827 * math/auto-libm-test-out: Regenerated.
1828 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
1829 (M_LOG_2_SQRT_PIl): Likewise.
1830 (lgamma_test_data): Use AUTO_TESTS_f_f1.
1831 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1832 mpfr_f_f1.
1833 (func_calc_desc): Add mpfr_f_f1 union field.
1834 (ARGS1): New macro.
1835 (ARGS2): Likewise.
1836 (ARGS3): Likewise.
1837 (ARGS4): Likewise.
1838 (RET1): Likewise.
1839 (RET2): Likewise.
1840 (CALC): Likewise.
1841 (FUNC): Likewise.
1842 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
1843 (test_functions): Add lgamma.
1844 (calc_generic_results): Handle mpfr_f_f1.
1845 * sysdeps/i386/fpu/libm-test-ulps: Update.
1846 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1847
24eeafdb
AZ
18482013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1849
1850 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
1851 __mpn_add_n for PowerPC64/POWER7.
1852 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
1853 __mpn_sub_n for PowerPC64/POWER7.
1854
4a2c0fd4
AZ
18552013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1856
1857 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
1858 __mpn_addmul_1 for PowerPC64.
1859 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
1860 __mpn_submul_1 for PowerPC64.
1861 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
1862 for PowerPC64.
1863 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
1864 for PowerPC64.
1865
4b5b548c
FS
18662013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
1867
1868 [BZ #15089]
1869 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
1870
0a3ac0aa
AZ
18712013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1872
1873 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
1874
ccdc8438
AZ
18752013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1876
1877 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
1878 add multiarch folders.
1879 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
1880 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
1881 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
1882 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
1883 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
1884 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
1885 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
1886 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
1887 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
1888 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
1889 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
1890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
1891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
1892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
1893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
1894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
1895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
1896
2e973d99
AZ
18972013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1898
1899 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1900 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
1901 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
1902 New file.
1903 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
1904 New file.
1905 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
1906 multiarch __ieee754_hypot for PowerPC32.
1907 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
1908 New file.
1909 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
1910 New file.
1911 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
1912 multiarch __ieee754_hypotf for PowerPC32.
1913
2d9470b2
AZ
19142013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1915
1916 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
1917 long_double_symbol only if __logbl is defined.
1918 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
1919 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
1920 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
1921 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
1922 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
1923 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
1924 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
1925 path for implementation.
1926 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
1927 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
1928 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
1929 logb, and logbl multiarch implementations for PowerPC32.
1930 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
1931 file.
1932 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
1933 file.
1934 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
1935 multiarch logb for PowerPC32.
1936 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
1937 file.
1938 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
1939 file.
1940 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
1941 multiarch logbf for PowerPC32.
1942 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
1943 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
1944 file.
1945 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
1946 multiarch logbl implementation for PowerPC32.
1947
5212ffce
AZ
19482013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1949
1950 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
1951 and modff multiarch implementations.
1952 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
1953 New file.
1954 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
1955 New file.
1956 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
1957 multiarch modf for PowerPC32.
1958 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
1959 New file.
1960 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
1961 New file.
1962 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
1963 multiarch modff for PowerPC32.
1964
79dccf31
AZ
19652013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1966
1967 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
1968 and lrintf multiarch implementations.
1969 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
1970 New file.
1971 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
1972 New file.
1973 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
1974 multiarch lrint for PowerPC32.
1975 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
1976 file: multiarch lrintf for PowerPC32.
1977
deb66480
AZ
19782013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1979
1980 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
1981 and lroundf multiarch implementations.
1982 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
1983 New file.
1984 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
1985 New file.
1986 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
1987 New file.
1988 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
1989 multiarch lround for PowerPC32.
1990 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
1991 file: multiarch lroundf for PowerPC32.
1992
264b036b
AZ
19932013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1994
1995 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1996 copysign and copysignf multiarch implementations.
1997 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
1998 New file.
1999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
2000 New file.
2001 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
2002 file: multiarch copysign for PowerPC32.
2003 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
2004 file: multiarch copysignf for PowerPC32.
2005
d47db6c9
AZ
20062013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2007
2008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
2009 and truncf multiarch implementations.
2010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
2011 New file.
2012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
2013 file.
2014 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
2015 multiarch trunc for PowerPC32.
2016 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
2017 New file.
2018 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
2019 New file.
2020 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
2021 multiarch truncf for PowerPC32.
2022
ddb60b5a
AZ
20232013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2024
2025 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
2026 and roundf multiarch implementations.
2027 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
2028 New file.
2029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
2030 file.
2031 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
2032 multiarch round for PowerPC32.
2033 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
2034 New file.
2035 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
2036 New file.
2037 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
2038 multiarch roundf for PowerPC32.
2039
bedcf49b
AZ
20402013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2041
2042 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
2043 and floorf multiarch implementations.
2044 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
2045 New file.
2046 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
2047 file.
2048 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
2049 multiarch floor for PowerPC32.
2050 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
2051 New file.
2052 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
2053 New file.
2054 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
2055 multiarch floorf for PowerPC32.
2056
35ae5b40
AZ
20572013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2058
2059 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
2060 and ceilf multiarch implementations.
2061 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
2062 New file.
2063 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
2064 file.
2065 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
2066 multiarch ceil for PowerPC32.
2067 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
2068 New file.
2069 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
2070 file.
2071 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
2072 multiarch ceilf for PowerPC32.
2073
ae1a4cd9
AZ
20742013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2075
2076 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
2077 is defined.
2078 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
2079 FINITEF is defined.
2080 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
2081 and finitef multiarch implementations.
2082 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
2083 New file.
2084 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
2085 file.
2086 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
2087 multiarch finite for PowerPC32.
2088 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
2089 New file.
2090 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
2091 file: multiarch finitef for PowerPC32.
2092
64fffd65
AZ
20932013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2094
2095 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
2096 and isinff multiarch implementations.
2097 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
2098 file.
2099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
2100 file.
2101 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
2102 multiarch isinf for PowerPC32.
2103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
2104 New file.
2105 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
2106 multiarch isinff for PowerPC32.
2107
8e4e7ba2
AZ
21082013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2109
2110 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
2111 alias when __isnan is defined.
2112 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
2113 and isnanf multiarch implementations.
2114 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
2115 file.
2116 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
2117 file.
2118 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
2119 file.
2120 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
2121 file.
2122 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
2123 multiarch isnan for PowerPC32.
2124 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
2125 New file.
2126 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
2127 New file.
2128 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
2129 multiarch isnanf for PowerPC32.
2130
ddba588e
AZ
21312013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2132
2133 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
2134 and sqrtf multiarch implementations.
2135 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
2136 file.
2137 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
2138 file.
2139 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
2140 multiarch sqrt for PowerPC32.
2141 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
2142 file.
2143 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
2144 file.
2145 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
2146 multiarch sqrtf for PowerPC32.
2147
0f96a2f0
AZ
21482013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2149
2150 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
2151 and llroundf multiarch implementations.
2152 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
2153 New file.
2154 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
2155 New file.
2156 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
2157 New file.
2158 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
2159 file: multiarch llround for PowerPC32.
2160 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
2161 file: multiarch llroundf for PowerPC32.
2162
c9b5d79e
AZ
21632013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2164
2165 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
2166 multiarch PowerPC32 fpu implementations.
2167 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
2168 New file.
2169 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
2170 New file.
2171 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
2172 multiarch llrint for PowerPC32.
2173 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
2174 New file.
2175 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
2176 New file.
2177 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
2178 file.
2179
9cbb3aab
AZ
21802013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2181
2182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
2183
ea5a72f8
AZ
21842013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2185
2186 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
2187 file.
2188 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
2189 file.
2190 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
2191 file.
2192 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
2193 multiarch wordcopy for PPC32.
2194 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
2195 wordcopy objects.
2196 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2197 (__libc_ifunc_impl_list): Likewise.
2198 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
2199 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
2200 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
2201 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
2202 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
2203 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
2204
93be09e7
AZ
22052013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2206
2207 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
2208 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
2209 file.
2210 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
2211 file.
2212 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
2213 file.
2214 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
2215 multiarch wcscpy for PPC32.
2216 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
2217 multiarch objects.
2218 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2219 (__libc_ifunc_impl_list): Likewise.
2220 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
2221 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
2222 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
2223 sysdeps/powerpc/power6/wcscpy.c.
2224
bb04e529
AZ
22252013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2226
2227 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
2228 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
2229 file.
2230 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
2231 file.
2232 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
2233 file.
2234 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
2235 multiarch wcsrchr for PPC32.
2236 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
2237 multiarch objects.
2238 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2239 (__libc_ifunc_impl_list): Likewise.
2240 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
2241 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
2242 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
2243 sysdeps/powerpc/power6/wcsrchr.c.
2244
05b5cd1c
AZ
22452013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2246
2247 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
2248 file.
2249 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
2250 file.
2251 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
2252 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
2253 multiarch wcschr for PPc32.
2254 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
2255 multiarch objects.
2256 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2257 (__libc_ifunc_impl_list): Likewise.
2258 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
2259 * sysdeps/powerpc/power6/wcschr.c: ... to here.
2260 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
2261 sysdeps/powerpc/power6/wcschr.c.
2262
ba964147
AZ
22632013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2264
2265 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
2266 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
2267 file.
2268 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
2269 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
2270 file: multiarch strchr for PPC32.
2271 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
2272 multiarch objects.
2273 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2274 (__libc_ifunc_impl_list): Likewise.
2275
31c81aaa
AZ
22762013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2277
2278 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
2279 name.
2280 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
2281 file.
2282 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
2283 file.
2284 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
2285 multiarch strchrnul for PPC32.
2286 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
2287 multiarch objects.
2288 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2289 (__libc_ifunc_impl_list): Likewise.
2290
0d0607d9
AZ
22912013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2292
2293 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
2294 file.
2295 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
2296 multiarch strncasecmp for PPC32.
2297 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
2298 file.
2299 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
2300 multiarch strncasecmp_l for PPC32.
2301 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
2302 strncasecmp multiarch objects.
2303 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2304 (__libc_ifunc_impl_list): Likewise.
2305
4dfd5c86
AZ
23062013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2307
2308 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
2309 file.
2310 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
2311 multiarch strncasecmp for PPC32.
2312 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
2313 New file.
2314 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
2315 multiarch strcasecmp_l for PPC32.
2316 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
2317 multiarch objects.
2318 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2319 (__libc_ifunc_impl_list): Likewise.
2320
a19e01a3
AZ
23212013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2322
2323 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
2324 file.
2325 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
2326 file.
2327 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
2328 multiarch strncmp for PPC32.
2329 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
2330 multiarch objects.
2331 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2332 (__libc_ifunc_impl_list): Likewise.
2333
ae9cf7a2
AZ
23342013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2335
2336 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
2337 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
2338 file.
2339 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
2340 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
2341 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
2342 multiarch objects.
2343 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2344 (__libc_ifunc_impl_list): Likewise.
2345
3148bb7d
AZ
23462013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2347
2348 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
2349 file.
2350 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
2351 file.
2352 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
2353 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
2354 multiarch objects.
2355 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2356 (__libc_ifunc_impl_list): Likewise.
2357
7af8b946
AZ
23582013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2359
2360 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
2361 file.
2362 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
2363 file.
2364 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
2365 multiarch rawmemchr for PPC32.
2366 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
2367 multiarch objects.
2368 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2369 (__libc_ifunc_impl_list): Likewise.
2370
03a6aa6a
AZ
23712013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2372
2373 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
2374 file.
2375 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
2376 file.
2377 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
2378 file: memrchr multiarch for PPC32.
2379 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
2380 multiarch objects.
2381 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2382 (__libc_ifunc_impl_list): Likewise.
2383
1c62e6d9
AZ
23842013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2385
2386 * string/memchr.c (__memchr): Using macro to redefine symbol name.
2387 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
2388 file.
2389 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
2390 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
2391 multiarch memchr for PPC32.
2392 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
2393 multiarch objects.
2394 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2395 (__libc_ifunc_impl_list): Likewise.
2396
87da8bdb
AZ
23972013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2398
2399 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
2400 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
2401 file.
2402 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
2403 file.
2404 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
2405 file: multiarch mempcpy for PPC32.
2406 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
2407 multiarch objects.
2408 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2409 (__libc_ifunc_impl_list): Likewise.
2410
20ed4714
AZ
24112013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2412
2413 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
2414 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
2415 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
2416 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
2417 multiarch bzero for PPC32.
2418 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
2419 file.
2420 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
2421 file.
2422 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
2423 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
2424 file: multiarch memset for PPC32.
2425 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
2426 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
2427 memset multiarch objects.
2428 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2429 (__libc_ifunc_impl_list): Likewise.
2430
ab3e3a46
AZ
24312013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2432
2433 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
2434 file.
2435 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
2436 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
2437 memcmp for PPC32.
2438 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
2439 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
2440 multiarch objects.
2441 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2442 (__libc_ifunc_impl_list): Likewise.
2443
930de6f0
AZ
24442013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2445
2446 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
2447 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
2448 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
2449 file.
2450 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
2451 file.
2452 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
2453 file.
2454 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
2455 multiarch memcpy for PPC32.
2456 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
2457 multiarch objects.
2458 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2459 (__libc_ifunc_impl_list): Likewise.
2460
4c628e00
AZ
24612013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2462
2463 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
2464 support multiarch for POWER/PPC32.
2465 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
2466 Likewise.
2467 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
2468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
2469 Implies file to make multiarch folder appers before the fpu and
2470 default folder for power4 configuration.
2471
f4479220
SP
24722013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
2473
2474 * scripts/bench.pl: Append volatile keyword to type.
2475
8517800f
KK
24762013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2477
2478 * sysdeps/sh/sotruss-lib.c: New file.
2479 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
2480
180138f1
AZ
24812013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2482
2483 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2484
bbf37bdc
JM
24852013-12-05 Joseph Myers <joseph@codesourcery.com>
2486
e47cc4e0
JM
2487 [BZ #6810]
2488 * math/w_tgamma.c: Include <errno.h>.
2489 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
2490 * math/w_tgammaf.c: Include <errno.h>.
2491 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
2492 * math/w_tgammal.c: Include <errno.h>.
2493 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
2494 * math/auto-libm-test-in: Do not allow missing errno on tgamma
2495 underflow. Add more tgamma tests.
2496 * math/auto-libm-test-out: Regenerated.
2497 * sysdeps/i386/fpu/libm-test-ulps: Update.
2498 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2499
bbf37bdc
JM
2500 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
2501 sin, sinh, tan, tanh, tgamma, y0 and y1.
2502 * math/auto-libm-test-out: Regenerated.
2503 * math/libm-test.inc (TEST_COND_x86_64): New macro.
2504 (TEST_COND_x86): Likewise.
2505 (M_E2l): Remove macro.
2506 (M_E3l): Likewise.
2507 (M_2_SQRT_PIl): Likewise.
2508 (M_SQRT_PIl): Likewise.
2509 (M_1_DIV_El): Likewise.
2510 (log_test_data): Use AUTO_TESTS_f_f.
2511 (log10_test_data): Likewise.
2512 (log1p_test_data): Likewise.
2513 (log2_test_data): Likewise.
2514 (sin_test_data): Likewise.
2515 (sin_tonearest_test_data): Likewise.
2516 (sin_towardzero_test_data): Likewise.
2517 (sin_downward_test_data): Likewise.
2518 (sin_upward_test_data): Likewise.
2519 (sinh_test_data): Likewise.
2520 (sinh_tonearest_test_data): Likewise.
2521 (sinh_towardzero_test_data): Likewise.
2522 (sinh_downward_test_data): Likewise.
2523 (sinh_upward_test_data): Likewise.
2524 (tan_test_data): Likewise.
2525 (tan_tonearest_test_data): Likewise.
2526 (tan_towardzero_test_data): Likewise.
2527 (tan_downward_test_data): Likewise.
2528 (tan_upward_test_data): Likewise.
2529 (tanh_test_data): Likewise.
2530 (tgamma_test_data): Likewise.
2531 (y0_test_data): Likewise.
2532 (y1_test_data): Likewise.
2533 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
2534 (special_real_inputs): Add pi/4.
2535 * sysdeps/i386/fpu/libm-test-ulps: Update.
2536 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2537
eb5ad6b9
AZ
25382013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2539
2540 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
2541 "longjmp_target" static probes.
2542 (__longjmp): Rename to __longjmp_symbol.
2543 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2544 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
2545 on which longjmp to generate.
2546 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2547 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
2548 probe.
2549 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2550 (__sigjmp_save): Rename to __sigjmp_save_symbol.
2551 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2552 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
2553 and __sigjmp_save_symbol based on which sigsetjmp to generated.
2554 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
2555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
2556 __longjmp_symbol based on which __longjmp to generate.
2557 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
2558 probe.
2559 (setjmp): Rename to setjmp_symbol.
2560 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2561 (_setjmp): Rename to _setjmp_symbol.
2562 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2563 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
2564 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
2565 which setjmp to generate.
2566 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
2567 "longjmp_target" static probes.
2568
d136c6dc
SP
25692013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2570
9298ecba
SP
2571 * benchtests/README: Add note about output arguments.
2572 * benchtests/bench-sincos.c: Remove file.
2573 * benchtests/sincos-inputs: New file.
2574 * scripts/bench.pl: Identify output arguments and define
2575 static variables for them.
2576
232983e9
SP
2577 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
2578
d136c6dc
SP
2579 [BZ #15941]
2580 * Makefile (INSTALL): Add install-plain.texi as the primary
2581 dependency.
2582 * manual/install-plain.texi: New file.
2583 * manual/install.texi: Include node directive only for
2584 non-plaintext output.
2585
699ff837
JM
25862013-12-04 Joseph Myers <joseph@codesourcery.com>
2587
ab07cea8
JM
2588 * stdlib/longlong.h: Update from GCC.
2589
699ff837
JM
2590 [BZ #6807]
2591 [BZ #15901]
2592 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
2593 * math/w_j0f.c (y0f): Likewise.
2594 * math/w_j0l.c (__y0l): Likewise.
2595 * math/w_j1.c (y1): Likewise.
2596 * math/w_j1f.c (y1f): Likewise.
2597 * math/w_j1l.c (__y1l): Likewise
2598 * math/w_jn.c (yn): Likewise.
2599 * math/w_jnf.c (ynf): Likewise.
2600 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
2601 Bessel function pole errors in _POSIX_ mode. Use NAN as return
2602 value for Bessel function domain errors outside _SVID_ mode.
2603 Adjust sign of return value for yn (negative integer, 0).
2604 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
2605 by zero in return for negative x and set sign appropriately for
2606 negative n.
2607 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
2608 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2609 * math/libm-test.inc (y0_test_data): Add more tests and adjust
2610 expectations in error cases.
2611 (y1_test_data): Likewise.
2612 (yn_test_data): Likewise.
2613 * sysdeps/i386/fpu/libm-test-ulps: Update.
2614 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2615
5b118558
UW
26162013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2617
2618 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
2619 "64" to "64-v1". Add "64-v2".
2620 (abi-64-options): Rename to ...
2621 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
2622 (abi-64-condition): Rename to ...
2623 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
2624 (abi-64-ld-soname): Rename to ...
2625 (abi-64-v1-ld-soname): ... this.
2626 (abi-64-v2-options): Define.
2627 (abi-64-v2-condition): Likewise.
2628 (abi-64-v2-ld-soname): Likewise.
2629 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
2630 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
2631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
2632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
2633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
2634
61cd8fe4
UW
26352013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2636 Alan Modra <amodra@gmail.com>
2637
2638 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
2639 New versions for use with the ELFv2 ABI.
2640 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
2641 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
2642 declaration.
2643 (struct La_ppc64v2_retval): Likewise.
2644 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
2645 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
2646 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
2647 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
2648 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
2649 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
2650 Do not save or restore CR.
2651 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
2652 (_dl_profile_resolve): Do no save or restore CR. Support extended
2653 return values for ELFv2 ABI. Fix location of FPR return registers.
2654 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
2655 updated values for _CALL_ELF == 2.
2656 (La_regs, La_retval, int_retval): Likewise.
2657
8b8a692c
UW
26582013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2659
2660 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
2661 (FRAME_MIN_SIZE_PARM): Likewise.
2662 (FRAME_BACKCHAIN): Likewise.
2663 (FRAME_CR_SAVE): Likewise.
2664 (FRAME_LR_SAVE): Likewise.
2665 (FRAME_TOC_SAVE): Likewise.
2666 (FRAME_PARM_SAVE): Likewise.
2667 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2668 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2669 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2670 (call_mcount_parm_offset): New macro.
2671 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
2672 (PROF): Use symbolic stack frame offsets.
2673 (TAIL_CALL_SYSCALL_ERROR): Likewise.
2674 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
2675 Redefine in terms of FRAME_MIN_SIZE.
2676 (_dl_runtime_resolve): Use symbolic stack frame offsets.
2677 (_dl_profile_resolve): Likewise. Update comment.
2678 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
2679 symbols stack frame offsets.
2680 (__sigsetjmp): Likewise.
2681 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
2682 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
2683 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
2684 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
2685
2686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
2687 (FRAME_BACKCHAIN): Remove.
2688 (FRAME_CR_SAVE): Likewise.
2689 (FRAME_LR_SAVE): Likewise.
2690 (FRAME_COMPILER_DW): Likewise.
2691 (FRAME_LINKER_DW): Likewise.
2692 (FRAME_TOC_SAVE): Likewise.
2693 (FRAME_PARM_SAVE): Likewise.
2694 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2695 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2696 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
2698 (CHECK_SP): Use symbolic stack frame offsets.
2699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
2700 zone" instead of caller's parameter save area for temp storage.
2701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
2702 Likewise. Also, use symbolic stack frame offsets.
2703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
2704 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
2705 our own stack frame instead of the caller's.
2706 (__socket): Use symbolic stack frame offsets.
2707
122b66de
UW
27082013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2709 Alan Modra <amodra@gmail.com>
2710
2711 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
2712 Define.
2713 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
2714 PPC64_LOCAL_ENTRY_OFFSET): Define.
2715 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
2716 New function.
2717 (elf_machine_fixup_plt): Call it.
2718 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
2719 reloc arguments.
2720 (elf_machine_rela): Update call to elf_machine_plt_conflict.
54285cf9
SP
2721 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2722 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
2723 r2 before calling target.
2724
696caf1d
UW
27252013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2726 Alan Modra <amodra@gmail.com>
2727
2728 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
2729 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
2730 versions of macros to support ELFv2 ABI.
2731 (LOCALENTRY): New macro.
2732 (ENTRY, EALIGN): Use it.
2733 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
2734 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
2735 fall through into ENTRY entry point.
2736 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
2737 Only define if _CALL_ELF != 2.
2738
2739 (elf_machine_matches_host): Verify ABI version matches.
2740 (RTLD_START): Use LOCALENTRY.
2741 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
2742 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
2743 (PLT_ENTRY_WORDS): New macro.
2744 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
2745 (elf_machine_runtime_setup): Support ELFv2 ABI.
2746 (elf_machine_fixup_plt): Likewise.
2747 (elf_machine_plt_conflict): Likewise.
2748 (resolve_ifunc): Likewise.
2749 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
2750 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
2751 Likewise.
2752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
2753 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
2754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2755 (makecontext): Support ELFv2 ABI.
2756 * elf/elf.h (EF_PPC64_ABI): Define.
2757
d31beafa
UW
27582013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2759
2760 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
2761 New assembler macro.
2762 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
2763 [ASSEMBLER] (ENTRY): ... but instead here ...
2764 [ASSEMBLER] (EALIGN): ... and here.
2765 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
2766 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
2767 [!ASSEMBLER] (ENTRY_2): Use it.
2768 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
2769 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
2770 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2771 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
2772 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
2773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
2774 Use PPC64_LOAD_FUNCPTR.
2775
b525166b
UW
27762013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2777
2778 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
2779
7ec07d9a
AM
27802013-12-04 Alan Modra <amodra@gmail.com>
2781
2782 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
2783 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
2784 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
2785 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
2786
2787 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
2788 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
2789 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
2790 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
2791 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
2792 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
2793
5162e7dd
UW
27942013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2795
2796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2797 (__makecontext): Fix incorrect CFI when backtracing out of
2798 context created via makecontext.
2799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
2800 (__setcontext): Fix incorrect CFI during switch to new context.
2801 (__novec_setcontext): Likewise.
2802
19e3372b
OB
28032013-12-04 Ondřej Bílka <neleai@seznam.cz>
2804
2805 [BZ #4772]
2806 * time/strptime_l.c (__strptime_internal): Allow modifiers
2807 in strptime.
2808 * time/tst-strptime.c (day_tests): Add testcase.
2809
2810
ecaf142d
SP
28112013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2812
2813 * scripts/bench.pl: Skip over blank lines.
2814
fbf964ae
PE
28152013-12-04 Paul Eggert <eggert@cs.ucla.edu>
2816
2817 [BZ #926]
2818 * manual/time.texi (Calendar Time): Clarify what timezone functions
2819 use.
2820
fa60a674
AZ
28212013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2822
2823 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2824
d674f0ef
OB
28252013-12-04 Ondřej Bílka <neleai@seznam.cz>
2826
2827 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
2828 implementation.
2829 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
2830 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
2831 * debug/memset_chk.c (__memset_chk): Likewise.
2832 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
2833 * debug/strncpy_chk.c: Likewise.
2834
17dea188
JM
28352013-12-03 Joseph Myers <joseph@codesourcery.com>
2836
749008ff
JM
2837 [BZ #15268]
2838 [BZ #15425]
2839 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
2840 (__ieee754_exp): For possibly underflowing results, check size of
2841 result and force underflow exception if required.
2842 * math/auto-libm-test-in: Add more tests of exp.
2843 * math/auto-libm-test-out: Regenerated.
2844 * sysdeps/i386/fpu/libm-test-ulps: Update.
2845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2846
17dea188
JM
2847 [BZ #16283]
2848 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
2849 * math/w_exp2f.c (__exp2f): Likewise.
2850 * math/w_exp2l.c (__exp2l): Likewise.
2851 * math/auto-libm-test-in: Do not allow missing errno on exp2
2852 underflow.
2853 * math/auto-libm-test-out: Regenerated.
2854
b20de2c3
OB
28552013-12-03 Ondřej Bílka <neleai@seznam.cz>
2856
2857 [BZ #16274]
2858 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
2859 handle filename validation.
2860 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
2861 (do_open): Delete.
2862
d8e2dbe3
JM
28632013-12-03 Joseph Myers <joseph@codesourcery.com>
2864
34e16df5
JM
2865 [BZ #6786]
2866 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
2867 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
2868 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
2869 <float.h>.
2870 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
2871 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
2872 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2873 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
2874 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2875 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
2876 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2877 * math/auto-libm-test-in: Don't allow missing errno from erfc.
2878 Add more erfc tests.
2879 * math/auto-libm-test-out: Regenerated.
2880 * sysdeps/i386/fpu/libm-test-ulps: Update.
2881 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2882
d8e2dbe3
JM
2883 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
2884 exp2, expm1, j0 and j1.
2885 * math/auto-libm-test-out: Regenerated.
2886 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
2887 (erfc_test_data): Likewise.
2888 (exp_test_data): Likewise.
2889 (exp_tonearest_test_data): Likewise.
2890 (exp_towardzero_test_data): Likewise.
2891 (exp_downward_test_data): Likewise.
2892 (exp_upward_test_data): Likewise.
2893 (exp10_test_data): Likewise.
2894 (exp2_test_data): Likewise.
2895 (expm1_test_data): Likewise.
2896 (j0_test_data): Likewise.
2897 (j1_test_data): Likewise.
2898 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
2899 (input_flag_type): Add flag_xfail_rounding.
2900 (input_flags): Add xfail-rounding.
2901 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
2902 (output_for_one_input_case): Handle flag_xfail_rounding.
2903 * sysdeps/i386/fpu/libm-test-ulps: Update.
2904 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2905
18d14251
AJ
29062013-12-03 Aurelien Jarno <aurelien@aurel32.net>
2907
3d2e6075 2908 [BZ #16289]
18d14251
AJ
2909 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
2910 division by 0.
2911
520d437b
SP
29122013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2913
2914 [BZ #16195]
2915 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
2916 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
2917 (STAP_PROBE0): New macro.
2918 (STAP_PROBE1): Likewise.
2919 (STAP_PROBE2): Likewise.
2920 (STAP_PROBE3): Likewise.
2921 (STAP_PROBE4): Likewise.
2922
416e0145
OB
29232013-12-02 Ondřej Bílka <neleai@seznam.cz>
2924
2925 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
2926
9d17796a
SE
29272013-12-02 Steve Ellcey <sellcey@mips.com>
2928
2929 * benchtests/Makefile (bench): Add sqrt.
2930 (LDLIBS-bench-sqrt): New.
2931 * benchtests/sqrt-input: New.
2932
f524d6a8
PS
29332013-12-02 Pavel Simerda <psimerda@redhat.com>
2934
639a0ef8
PS
2935 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
2936 (GAIH_EAI): Likewise.
2937 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
2938 (gaih_inet): Likewise.
2939 (getaddrinfo): Don't use GAIH_EAI.
2940
f524d6a8
PS
2941 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
2942 (struct gaih): Remove definition.
2943
df3aedaf
SP
29442013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2945
2946 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
2947 Use HERRNOP directly.
2948
1ab19dec
AZ
29492013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2950
b42ad38d 2951 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 2952
176b0c79
JM
29532013-11-30 Joseph Myers <joseph@codesourcery.com>
2954
2955 * math/gen-auto-libm-tests.c (test_functions): Add more
2956 single-argument functions.
2957 (special_fill_pi_2): New function.
2958 (special_fill_minus_pi_2): Likewise.
2959 (special_fill_pi_6): Likewise.
2960 (special_fill_minus_pi_6): Likewise.
2961 (special_fill_pi_3): Likewise.
2962 (special_fill_2pi_3): Likewise.
2963 (special_fill_e): Likewise.
2964 (special_fill_1_e): Likewise.
2965 (special_fill_e_minus_1): Likewise.
2966 (special_real_inputs): Add more special inputs.
2967 (output_for_one_input_case): Do not require ERANGE on underflow to
2968 zero if round-to-nearest result does not underflow to zero, unless
2969 exact results required.
2970 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
2971 atan, atanh, cbrt, cos and cosh.
2972 * math/auto-libm-test-out: Regenerated.
2973 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
2974 (acos_tonearest_test_data): Likewise.
2975 (acos_towardzero_test_data): Likewise.
2976 (acos_downward_test_data): Likewise.
2977 (acos_upward_test_data): Likewise.
2978 (acosh_test_data): Likewise.
2979 (asin_test_data): Likewise.
2980 (asin_tonearest_test_data): Likewise.
2981 (asin_towardzero_test_data): Likewise.
2982 (asin_upward_test_data): Likewise.
2983 (asinh_test_data): Likewise.
2984 (atan_test_data): Likewise.
2985 (atanh_test_data): Likewise.
2986 (cbrt_test_data): Likewise.
2987 (cos_test_data): Likewise.
2988 (cos_tonearest_test_data): Likewise.
2989 (cos_towardzero_test_data): Likewise.
2990 (cos_downward_test_data): Likewise.
2991 (cos_upward_test_data): Likewise.
2992 (cosh_test_data): Likewise.
2993 (cosh_tonearest_test_data): Likewise.
2994 (cosh_towardzero_test_data): Likewise.
2995 (cosh_downward_test_data): Likewise.
2996 (cosh_upward_test_data): Likewise.
2997 * sysdeps/i386/fpu/libm-test-ulps: Update.
2998 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2999
ffb536d0
JM
30002013-11-29 Joseph Myers <joseph@codesourcery.com>
3001
2a77a467
JM
3002 [BZ #6787]
3003 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
3004 * math/w_exp10f.c (__exp10f): Likewise.
3005 * math/w_exp10l.c (__exp10l): Likewise.
3006 * math/libm-test.inc (exp10_test_data): Add more tests and expect
3007 errno settings in existing tests.
3008
ea3bc4e8
JM
3009 [BZ #14032]
3010 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
3011 precision control set to double precision.
3012 * sysdeps/i386/fpu/w_sqrt.c: New file.
3013 * math/auto-libm-test-in: Add more tests.
3014 * math/auto-libm-test-out: Update.
3015
0712c9d8
JM
3016 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
3017 (sqrt_test_tonearest): New function.
3018 (sqrt_towardzero_test_data): New variable.
3019 (sqrt_test_towardzero): New function.
3020 (sqrt_downward_test_data): New variable.
3021 (sqrt_test_downward): New function.
3022 (sqrt_upward_test_data): New variable.
3023 (sqrt_test_upward): New function.
3024 (main): Call the new functions.
3025
ffb536d0
JM
3026 * math/gen-auto-libm-tests.c: New file.
3027 * math/auto-libm-test-in: Likewise.
3028 * math/auto-libm-test-out: New generated file.
3029 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
3030 variables.
3031 (%beautify): Add generated representations of zero.
3032 (top level): Set $auto_input and call parse_auto_input.
3033 (beautify): Remove trailing "f" from hex float constants.
3034 (parse_args): Handle XFAIL_TEST.
3035 (convert_condition): New function.
3036 (or_value): Likewise.
3037 (or_cond_value): Likewise.
3038 (generate_testfile): Handle AUTO_TESTS_* lines.
3039 (parse_auto_input): New function.
3040 * math/libm-test.inc (XFAIL_TEST): New macro.
3041 (ERRNO_UNCHANGED): Update value.
3042 (ERRNO_EDOM): Likewise.
3043 (ERRNO_ERANGE): Likewise.
3044 (IGNORE_RESULT): Likewise.
3045 (TEST_COND_flt_32): New macro.
3046 (TEST_COND_dbl_64): Likewise.
3047 (TEST_COND_ldbl_96_intel): Likewise.
3048 (TEST_COND_ldbl_96_m68k): Likewise.
3049 (TEST_COND_ldbl_128): Likewise.
3050 (TEST_COND_ldbl_128ibm): Likewise.
3051 (TEST_COND_long32): Likewise.
3052 (TEST_COND_long64): Likewise.
3053 (TEST_COND_before_rounding): Likewise.
3054 (TEST_COND_after_rounding): Likewise.
3055 (enable_test): Handle XFAIL_TEST flag.
3056 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
3057 with finite results.
3058 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
3059 auto-libm-test-out.
3060
acd98a8e
AK
30612013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3062 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3063
3064 [BZ #16214]
3065 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
3066 __tls_get_addr_internal instead of __tls_get_offset in order to
3067 avoid GOT pointer dependency. Make rtld export
3068 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
3069 __tls_get_addr since we are a __tls_get_offset platform.
3070 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
3071 GOT pointer being set up before.
3072 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
3073
3c1c46a6
JM
30742013-11-28 Joseph Myers <joseph@codesourcery.com>
3075
7475aef5
JM
3076 * manual/math.texi (Errors in Math Functions): Document accuracy
3077 goals.
3078
8bca7cd8
JM
3079 [BZ #15004]
3080 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
3081 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
3082 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
3083 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3084 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3085 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3086 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3087 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
3088 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
3089 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3090 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3091 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3092 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3093 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3094 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
3095 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
3096
91a1f3fe
JM
3097 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
3098 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
3099 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
3100 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
3101 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
3102 Likewise.
3103 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
3104 Likewise.
3105 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
3106 Likewise.
3107 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
3108 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
3109 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
3110 atomic-feupdateenv and flt-rounds.
3111 * sysdeps/powerpc/nofpu/Versions (libc): Add
3112 __atomic_feholdexcept, __atomic_feclearexcept,
3113 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
3114 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
3115 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
3116 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
3117 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
3118 here.
3119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
3120 Update.
3121
c5df7609
JM
3122 * manual/arith.texi (FP Exceptions): Document that exceptions may
3123 not be raised when matherr is used.
3124 (Math Error Reporting): Document overflow in directed rounding
3125 modes. Document that errno may not be set when finite values are
3126 returned on overflow. Document intent to set errno on underflow
3127 only for underflow to zero.
3128
3c1c46a6
JM
3129 [BZ #16271]
3130 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
3131 round-to-nearest then adjust result for other rounding modes.
3132 * include/fenv.h (fegetround): Use libm_hidden_proto.
3133 * math/fegetround.c (fegetround): Use libm_hidden_def.
3134 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
3135 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
3136 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
3137 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
3138 Likewise.
3139 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
3140 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3141 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
3142 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
3143
5a4c6d53
SP
31442013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3145
3146 [BZ #16077]
3147 * nss/Versions (libnss_files): Add
3148 _nss_files_gethostbyname3_r.
3149 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
3150 New function.
3151 (HOST_DB_LOOKUP): Remove macro.
3152 (_nss_files_gethostbyname_r): Implement function without the
3153 HOST_DB_LOOKUP macro.
3154 (_nss_files_gethostbyname2_r): Likewise.
3155
897b98ba
OB
31562013-11-28 Ondřej Bílka <neleai@seznam.cz>
3157
3158 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
3159
6f476861
UB
31602013-11-26 Uros Bizjak <ubizjak@gmail.com>
3161
3162 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
3163 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
3164 warning.
3165
bd12ab55
AZ
31662013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3167
3168 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
3169 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
3170 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
3171 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
3172 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
3173 __fe_nomask_env_priv and attribute_hidden.
3174 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
3175 (libc_feupdateenv_test_ppc): Likewise.
3176 (libc_feresetround_ppc): Likewise.
3177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3178 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
3179 compat_symbol macro.
3180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3181 (__fe_nomask_env): Likewise.
3182 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
3183
52bb6543
OB
31842013-11-26 Ondřej Bílka <neleai@seznam.cz>
3185
3186 * string/Makefile: Remove ifunc tests.
3187 * string/test-string.h: Define TEST_IFUNC.
3188 * string/test-bcopy-ifunc.c: Remove.
3189 * string/test-bzero-ifunc.c: Likewise.
3190 * string/test-memccpy-ifunc.c: Likewise.
3191 * string/test-memchr-ifunc.c: Likewise.
3192 * string/test-memcmp-ifunc.c: Likewise.
3193 * string/test-memcpy-ifunc.c: Likewise.
3194 * string/test-memmem-ifunc.c: Likewise.
3195 * string/test-memmove-ifunc.c: Likewise.
3196 * string/test-mempcpy-ifunc.c: Likewise.
3197 * string/test-memrchr-ifunc.c: Likewise.
3198 * string/test-memset-ifunc.c: Likewise.
3199 * string/test-rawmemchr-ifunc.c: Likewise.
3200 * string/test-stpcpy-ifunc.c: Likewise.
3201 * string/test-stpncpy-ifunc.c: Likewise.
3202 * string/test-strcasecmp-ifunc.c: Likewise.
3203 * string/test-strcasestr-ifunc.c: Likewise.
3204 * string/test-strcat-ifunc.c: Likewise.
3205 * string/test-strchr-ifunc.c: Likewise.
3206 * string/test-strchrnul-ifunc.c: Likewise.
3207 * string/test-strcmp-ifunc.c: Likewise.
3208 * string/test-strcpy-ifunc.c: Likewise.
3209 * string/test-strcspn-ifunc.c: Likewise.
3210 * string/test-strlen-ifunc.c: Likewise.
3211 * string/test-strncasecmp-ifunc.c: Likewise.
3212 * string/test-strncat-ifunc.c: Likewise.
3213 * string/test-strncmp-ifunc.c: Likewise.
3214 * string/test-strncpy-ifunc.c: Likewise.
3215 * string/test-strnlen-ifunc.c: Likewise.
3216 * string/test-strpbrk-ifunc.c: Likewise.
3217 * string/test-strrchr-ifunc.c: Likewise.
3218 * string/test-strspn-ifunc.c: Likewise.
3219 * string/test-strstr-ifunc.c: Likewise.
3220
ab260039 32212013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
3222
3223 * benchtests/Makefile: Remove ifunc tests.
3224 * benchtests/bench-string.h: Define TEST_IFUNC.
3225 * benchtests/bench-bcopy-ifunc.c: Remove.
3226 * benchtests/bench-bzero-ifunc.c: Likewise.
3227 * benchtests/bench-memccpy-ifunc.c: Likewise.
3228 * benchtests/bench-memchr-ifunc.c: Likewise.
3229 * benchtests/bench-memcmp-ifunc.c: Likewise.
3230 * benchtests/bench-memcpy-ifunc.c: Likewise.
3231 * benchtests/bench-memmem-ifunc.c: Likewise.
3232 * benchtests/bench-memmove-ifunc.c: Likewise.
3233 * benchtests/bench-mempcpy-ifunc.c: Likewise.
3234 * benchtests/bench-memrchr-ifunc.c: Likewise.
3235 * benchtests/bench-memset-ifunc.c: Likewise.
3236 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
3237 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
3238 * benchtests/bench-stpcpy-ifunc.c: Likewise.
3239 * benchtests/bench-stpncpy-ifunc.c: Likewise.
3240 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
3241 * benchtests/bench-strcasestr-ifunc.c: Likewise.
3242 * benchtests/bench-strcat-ifunc.c: Likewise.
3243 * benchtests/bench-strchr-ifunc.c: Likewise.
3244 * benchtests/bench-strchrnul-ifunc.c: Likewise.
3245 * benchtests/bench-strcmp-ifunc.c: Likewise.
3246 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
3247 * benchtests/bench-strcpy-ifunc.c: Likewise.
3248 * benchtests/bench-strcspn-ifunc.c: Likewise.
3249 * benchtests/bench-strlen-ifunc.c: Likewise.
3250 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
3251 * benchtests/bench-strncat-ifunc.c: Likewise.
3252 * benchtests/bench-strncmp-ifunc.c: Likewise.
3253 * benchtests/bench-strncpy-ifunc.c: Likewise.
3254 * benchtests/bench-strnlen-ifunc.c: Likewise.
3255 * benchtests/bench-strpbrk-ifunc.c: Likewise.
3256 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 3257 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
3258 * benchtests/bench-strspn-ifunc.c: Likewise.
3259 * benchtests/bench-strstr-ifunc.c: Likewise.
3260
32612013-11-26 Ondřej Bílka <neleai@seznam.cz>
3262
ab260039
OB
3263 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
3264
d1d9eaf4 32652013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 3266
d1d9eaf4
OB
3267 * resolv/netdb.h: Use __glibc_reserved instead __unused.
3268 * rt/aio.h: Likewise.
3269 * sysdeps/gnu/bits/utmp.h: Likewise.
3270 * sysdeps/gnu/bits/utmpx.h: Likewise.
3271 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
3272 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
3273 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
3274 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
3275 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
3276 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
3277 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
3278 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
3279 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
3280 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
3281 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
3282 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
3283 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
3284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
3285 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
3286 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
3287 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
3288 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
3289 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
3290 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
3291 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
3292 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
3293 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
3294 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
3295 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
3296 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3297 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
3298 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
3299 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
3300 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
3301 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
3302 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
3303 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
3304 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
3305 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
3306 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
3307 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
3308 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
3309 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
3310 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
3311 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
3312 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
3313
a7624ed9
CD
33142013-11-25 Carlos O'Donell <carlos@redhat.com>
3315
3316 [BZ #16245]
3317 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
3318 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
3319
63cfe52b
JM
33202013-11-25 Joseph Myers <joseph@codesourcery.com>
3321
3322 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
3323 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
3324 Likewise.
3325
41e8926a
AZ
33262013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3327
3328 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
3329 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
3330 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
3331 (__fesetround): Remove define.
3332 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
3333 rounding and exceptions handling.
3334 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
3335 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
3336 (__fe_nomask_env): Likewise.
3337 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
3338 __fegetround instead of fegetround.
3339 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
3340 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
3341
6851bd4d
RM
33422013-11-21 Roland McGrath <roland@hack.frob.com>
3343
070906ff
RM
3344 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
3345 it's there.
3346
6851bd4d
RM
3347 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
3348
84ae135d
MI
33492013-11-21 Meador Inge <meadori@codesourcery.com>
3350
3351 [BZ #11157]
3352 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
3353 (encrypt_r): Likewise.
3354 * malloc/obstack.h (obstack_free): Likewise.
3355 * posix/unistd.h (encrypt): Likewise.
3356
daf75146
GM
33572013-11-21 Guy Martin <gmsoft@tuxicoman.be>
3358
3359 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
3360 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
3361 DL_CALL_DT_FINI() that call the functions directly.
3362 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
3363 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
3364 * elf/dl-fini.c: Likewise.
3365
10ad46bc
OB
33662013-11-20 Ondřej Bílka <neleai@seznam.cz>
3367
3368 * malloc/hooks.c (memalign_check): Add alignment rounding.
3369 * malloc/malloc.c (_mid_memalign): New function.
3370 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
3371 Implement by calling _mid_memalign.
3372 * manual/probes.texi (Memory Allocation Probes): Remove
3373 memory_valloc_retry and memory_pvalloc_retry.
3374
f3fd2628
SP
33752013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
3376
4712799f
SP
3377 * locale/programs/locarchive.c (open_archive): Add const
3378 qualifier to ARCHIVEFNAME and copy default fname to
3379 DEFAULT_FNAME.
3380
0417b20f
SP
3381 [BZ #15601]
3382 * libio/tst-widetext.input: Rename Oriya to Odia.
3383 * locale/iso-639.def: Likewise.
3384
f3fd2628
SP
3385 * manual/probes.texi (Mathematical Function Probes): Add
3386 documentation for sin, cos, asin and acos probes.
3387 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
3388 (__sin32): Add slowasin probe.
3389 (__cos32): Add slowacos probe.
3390 (__mpsin): Add slowsin probe.
3391 (__mpcos): Add slowcos probe.
3392
73c1ce4f
JM
33932013-11-19 Joseph Myers <joseph@codesourcery.com>
3394
3395 [BZ #15483]
3396 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
3397 thread-local __sim_exceptions_thread and global
3398 __sim_exceptions_global.
3399 (__sim_disabled_exceptions): Change to thread-local
3400 __sim_disabled_exceptions_thread and global
3401 __sim_disabled_exceptions_global.
3402 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
3403 and global __sim_round_mode_global.
3404 (__simulate_exceptions): Use thread-local floating-point state and
3405 set global state from it as needed.
3406 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
3407 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
3408 __sim_round_mode_thread.
3409 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
3410 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
3411 and global __sim_exceptions_global.
3412 (__sim_disabled_exceptions): Change to thread-local
3413 __sim_disabled_exceptions_thread and global
3414 __sim_disabled_exceptions_global.
3415 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
3416 and global __sim_round_mode_global.
3417 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
3418 (SIM_SET_GLOBAL): Likewise.
3419 * sysdeps/powerpc/soft-fp/sfp-machine.h
3420 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
3421 __sim_round_mode_thread.
3422 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
3423 __sim_disabled_exceptions_thread.
3424 (__sim_exceptions): Change to __sim_exceptions_thread.
3425 (__sim_disabled_exceptions): Change to
3426 __sim_disabled_exceptions_thread.
3427 (__sim_round_mode): Change to __sim_round_mode_thread.
3428 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
3429 thread-local floating-point state and set global state from it as
3430 needed.
3431 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
3432 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
3433 (__sim_disabled_exceptions): Remove extern declaration.
3434 (feenableexcept): Use thread-local floating-point state and set
3435 global state from it as needed.
3436 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
3437 extern declaration.
3438 (__sim_disabled_exceptions): Likewise.
3439 (__sim_round_mode): Likewise.
3440 (__fegetenv): Use thread-local floating-point state.
3441 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
3442 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
3443 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
3444 floating-point state and set global state from it as needed.
3445 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
3446 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
3447 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
3448 Likewise.
3449 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
3450 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
3451 Likewise.
3452 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
3453 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
3454 Use __sim_round_mode_thread.
3455 * math/test-fenv-tls.c: New file.
3456 * math/Makefile (tests): Add test-fenv-tls.
3457 ($(objpfx)test-fenv-tls): Depend on
3458 $(common-objpfx)nptl/libpthread.so.
3459
b5449b12
AS
34602013-11-19 Andreas Schwab <schwab@suse.de>
3461
3462 * locale/programs/locale.c (show_info): Decode wordarray elements.
3463 * locale/categories.def (LC_MONETARY): Add element for
3464 _NL_MONETARY_CRNCYSTR.
3465 * locale/C-monetary.c (conversion_rate): New variable.
3466 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
3467 element.
3468
e186536b
CM
34692013-11-18 Chris Metcalf <cmetcalf@tilera.com>
3470
3471 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
3472 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
3473
5c349950
PP
34742013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
3475
3476 * elf/Makefile (tst-auxv): New test.
3477 * elf/tst-auxv.c: New
3478 * elf/rtld.c (dl_main): Adjust AT_EXECFN
3479
699df45b
JM
34802013-11-18 Joseph Myers <joseph@codesourcery.com>
3481
3482 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
3483 (hidden_proto): Caller changed.
3484 (hidden_tls_proto): New macro.
3485 (libc_hidden_tls_proto): Likewise.
3486 (rtld_hidden_tls_proto): Likewise.
3487 (libm_hidden_tls_proto): Likewise.
3488 (libresolv_hidden_tls_proto): Likewise.
3489 (librt_hidden_tls_proto): Likewise.
3490 (libdl_hidden_tls_proto): Likewise.
3491 (libnss_files_hidden_tls_proto): Likewise.
3492 (libnsl_hidden_tls_proto): Likewise.
3493 (libnss_nisplus_hidden_tls_proto): Likewise.
3494 (libutil_hidden_tls_proto): Likewise.
3495
b7589107
OB
34962013-11-18 Ondřej Bílka <neleai@seznam.cz>
3497
3498 [BZ #10253]
3499 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
3500 (decompose_rpath): Defer expansion to fillin_rpath.
3501 (_dl_init_paths): Pass linkmap to fillin_rpath.
3502
250c23bd
RS
35032013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3504
3505 * benchtests/Makefile: Add strsep.
3506 * benchtests/bench-strsep.c: New file: strsep benchtest.
3507 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
3508
a7931fcf
AS
35092013-11-18 Andreas Schwab <schwab@suse.de>
3510
3511 * locale/programs/locale.c (show_info) [case byte]: Check for
3512 '\377' instead of '\177'.
3513 * locale/C-monetary.c (not_available): Always use "\377".
3514 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
3515 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
3516 detect unavailable sign_posn locale elements.
3517 * locale/localeconv.c (__localeconv): For grouping and
3518 mon_grouping handle "\177" and "\377" like no grouping.
3519 (INT_ELEM): New macro. Use it to set all numeric members.
3520 * locale/programs/ld-monetary.c (monetary_read)
3521 <tok_mon_grouping>: Normalize single -1 to the empty string.
3522 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
3523 Likewise.
3524
728dab0e
OB
35252013-11-07 Ondřej Bílka <neleai@seznam.cz>
3526
3527 [BZ #16055]
3528 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
3529 when we match (nil).
3530 * stdio-common/tst-sscanf.c (struct test): Add testcase.
3531
66294491
JM
35322013-11-16 Joseph Myers <joseph@codesourcery.com>
3533
ce665817
JM
3534 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
3535 (NO_TEST_INLINE): Update value.
3536 (ERRNO_UNCHANGED): Likewise.
3537 (ERRNO_EDOM): Likewise.
3538 (ERRNO_ERANGE): Likewise.
3539 (IGNORE_RESULT): Likewise.
3540 (check_float_internal): Check signs of NaN results if
3541 TEST_NAN_SIGN used.
3542 (check_complex): Pass TEST_NAN_SIGN flag through to second
3543 check_float_internal call.
3544 (copysign_test_data): Add tests with quiet NaNs as second
3545 argument. Use TEST_NAN_SIGN.
3546 (fabs_test_data): Add test of negative quiet NaN argument. Use
3547 TEST_NAN_SIGN.
3548 (signbit_test_data): Add tests of quiet NaN argument.
3549 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
3550
ee1466a9
JM
3551 * math/gen-libm-test.pl (show_exceptions): Take extra argument
3552 $ignore_result.
3553 (parse_args): Handle function results specified as IGNORE.
3554 * math/libm-test.inc (IGNORE_RESULT): New macro.
3555 (check_float_internal): Do not check numerical result if flag
3556 IGNORE_RESULT set.
3557 (check_complex): Pass through IGNORE_RESULT to second
3558 check_float_internal call.
3559 (check_int): Do not check numerical result if flag IGNORE_RESULT
3560 set.
3561 (check_long): Likewise.
3562 (check_bool): Likewise.
3563 (check_longlong): Likewise.
3564 (lrint_test_data): Add tests of infinite and NaN arguments.
3565 (lrint_tonearest_test_data): Likewise.
3566 (lrint_towardzero_test_data): Likewise.
3567 (lrint_downward_test_data): Likewise.
3568 (lrint_upward_test_data): Likewise.
3569 (llrint_test_data): Likewise.
3570 (llrint_tonearest_test_data): Likewise.
3571 (llrint_towardzero_test_data): Likewise.
3572 (llrint_downward_test_data): Likewise.
3573 (llrint_upward_test_data): Likewise.
3574 (lround_test_data): Likewise.
3575 (llround_test_data): Likewise.
3576
14407b7e
JM
3577 * math/libm-test.inc (NO_TEST_INLINE): New macro.
3578 (ERRNO_UNCHANGED): Update value.
3579 (ERRNO_EDOM): Likewise.
3580 (ERRNO_ERANGE): Likewise.
3581 (NO_TEST_INLINE_FLOAT): New macro.
3582 (NO_TEST_INLINE_DOUBLE): Likewise.
3583 (enable_test): New function.
3584 (RUN_TEST_f_f): Check enable_test before running test.
3585 (RUN_TEST_2_f): Likewise.
3586 (RUN_TEST_fff_f): Likewise.
3587 (RUN_TEST_c_f): Likewise.
3588 (RUN_TEST_f_f1): Likewise.
3589 (RUN_TEST_fF_f1): Likewise.
3590 (RUN_TEST_fI_f1): Likewise.
3591 (RUN_TEST_ffI_f1): Likewise.
3592 (RUN_TEST_c_c): Likewise.
3593 (RUN_TEST_cc_c): Likewise.
3594 (RUN_TEST_f_i): Likewise.
3595 (RUN_TEST_f_i_tg): Likewise.
3596 (RUN_TEST_ff_i_tg): Likewise.
3597 (RUN_TEST_f_b): Likewise.
3598 (RUN_TEST_f_b_tg): Likewise.
3599 (RUN_TEST_f_l): Likewise.
3600 (RUN_TEST_f_L): Likewise.
3601 (RUN_TEST_fFF_11): Likewise.
3602 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
3603 conditionals.
3604 (cosh_test_data): Likewise.
3605 (exp_test_data): Likewise.
3606 (expm1_test_data): Likewise.
3607 (hypot_test_data): Likewise.
3608 (pow_test_data): Likewise.
3609 (sinh_test_data): Likewise.
3610 (tanh_test_data): Likewise.
3611 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
3612 flags argument.
3613
ca07f197
JM
3614 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
3615 tests with quiet NaN input and output.
3616 (acosh_test_data): Likewise.
3617 (asin_test_data): Likewise.
3618 (asinh_test_data): Likewise.
3619 (atan_test_data): Likewise.
3620 (atanh_test_data): Likewise.
3621 (atan2_test_data): Likewise.
3622 (cbrt_test_data): Likewise.
3623 (cos_test_data): Likewise.
3624 (cosh_test_data): Likewise.
3625 (erf_test_data): Likewise.
3626 (erfc_test_data): Likewise.
3627 (exp_test_data): Likewise.
3628 (exp10_test_data): Likewise.
3629 (exp2_test_data): Likewise.
3630 (expm1_test_data): Likewise.
3631 (hypot_test_data): Likewise.
3632 (j0_test_data): Likewise.
3633 (j1_test_data): Likewise.
3634 (jn_test_data): Likewise.
3635 (lgamma_test_data): Likewise.
3636 (log_test_data): Likewise.
3637 (log10_test_data): Likewise.
3638 (log1p_test_data): Likewise.
3639 (log2_test_data): Likewise.
3640 (pow_test_data): Likewise.
3641 (scalb_test_data): Likewise.
3642 (sin_test_data): Likewise.
3643 (sincos_test_data): Likewise.
3644 (sinh_test_data): Likewise.
3645 (tan_test_data): Likewise.
3646 (tanh_test_data): Likewise.
3647 (tgamma_test_data): Likewise.
3648 (y0_test_data): Likewise.
3649 (y1_test_data): Likewise.
3650 (yn_test_data): Likewise.
3651
66294491
JM
3652 [BZ #16167]
3653 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
3654 argument being NaN and avoid computations with second argument in
3655 that case.
3656 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3657 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3658 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3659
1820b143
CL
36602013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
3661
3662 * locale/iso-639.def: Add Chitwani Tharu (the).
3663
714bd261
AS
36642013-11-14 Andreas Schwab <schwab@suse.de>
3665
3666 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
3667 word instead of empty string.
3668
7ab44563
AZ
36692013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3670
3671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3672 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
3673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3674 (__fe_nomask_env): Likewise.
3675
e8470ea2
SE
36762013-11-13 Steve Ellcey <sellcey@mips.com>
3677
3678 * benchtests/bench-timing.h: Include time.h.
3679
17c1d9f0
L
36802013-11-13 H.J. Lu <hongjiu.lu@intel.com>
3681
3682 [BZ #15997]
3683 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
3684 to 3.4.0 for x32.
3685 * sysdeps/unix/sysv/linux/configure: Regenerated.
3686
9310c284
JM
36872013-11-13 Joseph Myers <joseph@codesourcery.com>
3688
3689 [BZ #16151]
3690 * stdlib/strtod_l.c (round_and_return): Do not consider
3691 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
3692 exponent one less than half the least subnormal exponent.
3693 * stdlib/test-strtod-round-data: Add more tests.
3694 * stdlib/tst-strtod-round.c (tests): Regenerated.
3695
7a2ad8cf
AZ
36962013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3697
3698 [BZ #14143]
3699 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
3700 (__fe_mask_env): Likewise.
3701 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
3702 libm_hidden_proto and add function prototype.
3703 (__fe_mask_env): Add function prototype.
3704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3705 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
3706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3707 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
3708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3709 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
3710
50727aa7
MS
37112013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3712
b2f386c1 3713 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
3714 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
3715
a615be46
MS
37162013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3717
3718 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
3719 of htab_find_slot().
3720
7ddace62
DM
37212013-11-11 David S. Miller <davem@davemloft.net>
3722
3723 [BZ #16150]
3724 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
3725 symbol in the non-vis3 case in static builds.
3726 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
3727 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
3728 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
3729 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
3730
9182aa67
JK
37312013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3732
3733 [BZ #387]
3734 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
3735 it is empty.
3736
450a2e2d
AZ
37372013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3738
b2f386c1
SP
3739 * benchtests/Makefile: Add bench-strtod.
3740 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 3741
8ec3f656
AS
37422013-11-11 Andreas Schwab <schwab@suse.de>
3743
3744 [BZ #16153]
3745 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
3746 terminating NUL in key length.
3747
76a9b998
AZ
37482013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3749
3750 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
3751 Add artificial ODP entry for vDSO symbol for PPC64.
3752 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
3753 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
3754
e4368156
OB
37552013-11-07 Ondřej Bílka <neleai@seznam.cz>
3756
3757 [BZ #15374]
3758 * nss/getent.c (services_keys): Recognize services starting with digit.
3759
8d6bb57c
DM
37602013-11-06 David S. Miller <davem@davemloft.net>
3761
3762 [BZ #15985]
3763 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
3764 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
3765
e256c421
WN
37662013-11-06 Will Newton <will.newton@linaro.org>
3767
3768 * manual/memory.texi (Malloc Examples): Remove register
3769 keyword from examples.
3770
f6e12daa 37712013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 3772
f6e12daa 3773 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 3774
9d880655
AS
37752013-11-04 Joseph Myers <joseph@codesourcery.com>
3776
3777 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
3778 depending on [__GCC_IEC_559 > 0].
3779 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
3780 depending on [__GCC_IEC_559_COMPLEX > 0].
3781
ae129d3c
CL
37822013-11-03 Chris Leonard <cjl@sugarlabs.org>
3783
3784 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
3785 to iso-639.def.
3786
4a15c2a4 37872013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
3788
3789 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
3790
8b35e35d
OB
37912013-11-01 Ondřej Bílka <neleai@seznam.cz>
3792
3793 [BZ #16112]
3794 * malloc/malloc (malloc_info): Do not handle first bin as
3795 special case.
3796
1d70fd6c
CL
37972013-11-01 Chris Leonard <cjl@sugarlabs.org>
3798
3799 * locale/iso-639.def: Add Central Nahuatl (nhn).
3800
8c5c2600
BH
38012013-11-01 Bruno Haible <bruno@clisp.org>
3802
3803 [BZ #7003]
3804 * manual/math.texi (BSD Random): Specify range upper bound as
3805 in POSIX.
3806
da5579c2
CL
38072013-10-31 Chris Leonard <cjl@sugarlabs.org>
3808
3809 * locale/iso-639.def: Add Meadow Mari (mhr).
3810
5d30d853
OB
38112013-10-31 Ondřej Bílka <neleai@seznam.cz>
3812
3813 [BZ #14752], [BZ #15763]
3814 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
3815 Validate name.
3816 * rt/tst_shm.c: Add test for escaping directory.
3817
a4966c61
AS
38182013-10-31 Andreas Schwab <schwab@suse.de>
3819
8a43e768 3820 [BZ #15917]
a4966c61
AS
3821 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
3822 followed by 'x' as part of digit sequence.
3823 * stdio-common/tst-sscanf.c (double_tests2): New tests.
3824
28d708c4
MAP
38252013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
3826
3827 [BZ #16037]
3828 * configure.ac: allow GNU Make 4.0 and greater.
3829 * configure: Regenerated.
3830
a56ee40b
WN
38312013-10-30 Will Newton <will.newton@linaro.org>
3832
3833 [BZ #16038]
3834 * malloc/hooks.c (memalign_check): Limit alignment to the
3835 maximum representable power of two.
3836 * malloc/malloc.c (__libc_memalign): Likewise.
3837 * malloc/tst-memalign.c (do_test): Add test for very
3838 large alignment values.
3839 * malloc/tst-posix_memalign.c (do_test): Likewise.
3840
c6e4925d
OB
38412013-10-30 Ondřej Bílka <neleai@seznam.cz>
3842
3843 [BZ #11087]
3844 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
3845 (munmap_chunk): Likewise.
3846 (mremap_chunk): Likewise.
3847
38482013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 3849
8a43e768 3850 [BZ #15799]
bbea82f7
OB
3851 * stdlib/div.c (div): Remove obsolete code.
3852 * stdlib/ldiv.c (ldiv): Likewise.
3853 * stdlib/lldiv.c (lldiv): Likewise.
3854
977f4b31
SP
38552013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3856
3857 [BZ #16071]
3858 * nss/nss_files/files-XXX.c (get_contents_ret): New
3859 enumerator.
3860 (get_contents): New function.
3861 (internal_getent): Use it. Expand size of LINEBUFLEN.
3862
cb8a6dbd
MF
38632013-10-30 Mike Frysinger <vapier@gentoo.org>
3864
3865 * configure.in: Moved to ...
3866 * configure.ac: ... here. Change reference to configure.in
3867 to configure.ac.
3868 * sysdeps/arm/preconfigure.ac: ... here.
3869 configure.in to configure.ac.
3870 * sysdeps/gnu/configure.in: Moved to ...
3871 * sysdeps/gnu/configure.ac: ... here.
3872 * sysdeps/i386/configure.in: Moved to ...
3873 * sysdeps/i386/configure.ac: ... here.
3874 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
3875 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
3876 * sysdeps/mach/configure.in: Moved to ...
3877 * sysdeps/mach/configure.ac: ... here.
3878 * sysdeps/mach/hurd/configure.in: Moved to ...
3879 * sysdeps/mach/hurd/configure.ac: ... here.
3880 * sysdeps/powerpc/configure.in: Moved to ...
3881 * sysdeps/powerpc/configure.ac: ... here.
3882 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
3883 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
3884 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
3885 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
3886 * sysdeps/s390/s390-32/configure.in: Moved to ...
3887 * sysdeps/s390/s390-32/configure.ac: ... here.
3888 * sysdeps/s390/s390-64/configure.in: Moved to ...
3889 * sysdeps/s390/s390-64/configure.ac: ... here.
3890 * sysdeps/sh/configure.in: Moved to ...
3891 * sysdeps/sh/configure.ac: ... here.
3892 * sysdeps/sparc/configure.in: Moved to ...
3893 * sysdeps/sparc/configure.ac: ... here.
3894 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
3895 * sysdeps/unix/sysv/linux/configure.ac: ... here.
3896 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
3897 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
3898 * sysdeps/x86_64/configure.in: Moved to ...
3899 * sysdeps/x86_64/configure.ac: ... here.
3900 * sysdeps/x86_64/preconfigure.in: Moved to ...
3901 * sysdeps/x86_64/preconfigure.ac: ... here.
3902 * aclocal.m4: Change reference to configure.in to configure.ac.
3903 * config.h.in: Likewise.
3904 * manual/install.texi: Likewise.
3905 * manual/maint.texi: Likewise.
3906 * Makefile: Likewise.
3907 * malloc/Makefile: Likewise.
3908 * nscd/Makefile: Likewise.
3909 * Makeconfig: Change reference to configure.in and
3910 preconfigure.in to configure.ac and preconfigure.ac
3911 respectively.
3912 * INSTALL: Regenerated.
3913 * configure: Likewise.
3914 * sysdeps/gnu/configure: Likewise.
3915 * sysdeps/i386/configure: Likewise.
3916 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
3917 * sysdeps/mach/configure: Likewise.
3918 * sysdeps/mach/hurd/configure: Likewise.
3919 * sysdeps/powerpc/configure: Likewise.
3920 * sysdeps/powerpc/powerpc32/configure: Likewise.
3921 * sysdeps/powerpc/powerpc64/configure: Likewise.
3922 * sysdeps/s390/s390-32/configure: Likewise.
3923 * sysdeps/s390/s390-64/configure: Likewise.
3924 * sysdeps/sh/configure: Likewise.
3925 * sysdeps/sparc/configure: Likewise.
3926 * sysdeps/unix/sysv/linux/configure: Likewise.
3927 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
3928 * sysdeps/x86_64/configure: Likewise.
3929 * sysdeps/x86_64/preconfigure: Likewise.
3930
36a4953a
AS
39312013-10-29 Andreas Schwab <schwab@suse.de>
3932
3933 * stdio-common/Makefile (tst-swscanf-ENV): Define.
3934
c79a1204
SP
39352013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3936
dfa1b402
SP
3937 * benchtests/pow-inputs: Add new inputs.
3938
54f73d9c
SP
3939 * benchtests/exp-inputs: Add new inputs.
3940
c79a1204
SP
3941 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
3942 conditional check for return value.
3943 (__cos32): Likewise.
3944
67beb545 39452013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
3946
3947 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
3948 to provide a boost for large inputs with word alignment.
3949 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
3950 implementation based on optimized PPC64 strcpy.
3951 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
3952 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
3953 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
3954 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
3955
151659f6
OB
39562013-10-25 Ondřej Bílka <neleai@seznam.cz>
3957
482a077e 3958 [BZ #2801]
151659f6
OB
3959 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
3960
10b0f26b
OB
39612013-10-25 Ondřej Bílka <neleai@seznam.cz>
3962
3963 [BZ #14876]
3964 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
3965 * time/tst-strptime.c (day_tests): Add testcase.
3966
ca42d35e
OB
39672013-10-25 Ondřej Bílka <neleai@seznam.cz>
3968
482a077e 3969 [BZ #14029]
ca42d35e
OB
3970 * manual/pattern.texi: Acknowledge that fnmatch can fail.
3971
52e6d801
FB
39722013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
3973
3974 [BZ #16074]
3975 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
3976 MAP_FAILED on error.
3977
7cbcdb36
SP
39782013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3979
3980 [BZ #16072]
3981 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
3982 heap for large requests.
3983
894f3f10
AM
39842013-10-25 Aurelien Jarno <aurelien@aurel32.net>
3985
3986 [BZ #9954]
3987 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
3988 result if the result has no associated interface.
3989 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
3990 interface for all 127.X.Y.Z addresses.
3991
b85545a6
CL
39922013-10-24 Chris Leonard <cjl@sugarlabs.org>
3993
3994 * locale/iso-639.def: Add Ligurian (lij)
3995
d1f23d46
OB
39962013-10-21 Ondřej Bílka <neleai@seznam.cz>
3997
3998 [BZ #15825]
3999 * sunrpc/rpc_main.c: Document rpcgen -5.
4000
4db5b08f
MS
40012013-10-19 Michael Stahl <mstahl@redhat.com>
4002
4003 * elf/rtld.c (do_preload): Print the reason why preloading failed.
4004
a471e96a
OB
40052013-10-19 Ondřej Bílka <neleai@seznam.cz>
4006
d1f23d46 4007 [BZ #10278]
a471e96a
OB
4008 * posix/glob.c: Match only directories when trailing slash is present.
4009 * posix/tst-gnuglob.c (my_opendir): Do not open files.
4010 (main): Add testcase.
4011
45c30c61
OB
40122013-10-19 Ondřej Bílka <neleai@seznam.cz>
4013
4014 [BZ #15670]
4015 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
4016
484c12fb
CD
40172013-10-18 Carlos O'Donell <carlos@redhat.com>
4018
3d7dc513
CD
4019 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
4020 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
4021 AUTH_DES and cindex for FIPS 140-2.
4022 (DES Encryption): Add cindex FIPS 46-3.
4023
484c12fb
CD
4024 * locale/locarchive.h (struct locarhandle): Add fname.
4025 * locale/programs/localedef.c (main): Pass ARGV[remaining]
4026 if an optional argument was specified to --list-archive,
4027 otherwise NULL.
4028 * locale/programs/locarchive.c (show_archive_content): Take new
4029 argument fname and pass it via ah.fname to open_archive.
4030 * locale/programs/localedef.h: Update decl.
4031 (open_archive): If AH->fname is non-null, open that file
4032 rather than the default file name, and don't ignore ENOENT.
4033 (create_archive): Set AH.fname to NULL.
4034 (delete_locales_from_archive): Likewise.
4035 (add_locales_to_archive): Likewise.
4036 * locale/programs/locfile.c (write_all_categories): Likewise.
4037
3c8325fb
JM
40382013-10-18 Joseph Myers <joseph@codesourcery.com>
4039 Aldy Hernandez <aldyh@redhat.com>
4040
4041 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
4042 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
4043 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
4044 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
4045 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
4046 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
4047 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
4048 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
4049 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
4050 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
4051 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
4052 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
4053 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
4054 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
4055 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
4056 Likewise.
4057 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
4058 Likewise.
4059 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
4060 Likewise.
4061 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
4062 Likewise.
4063 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
4064 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
4065 Likewise.
4066 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
4067 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
4068 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
4069 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
4070 Likewise.
4071 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
4072 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
4073 * sysdeps/powerpc/preconfigure: Likewise.
4074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
4075 Likewise.
4076 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
4077 Replace contents of file by #include of <fenv_libc.h>.
4078 * sysdeps/powerpc/soft-fp/sfp-machine.h
4079 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
4080 and <sys/prctl.h>.
4081 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
4082 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
4083 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
4084 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
4085 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
4086 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
4087 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
4088 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
4089 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
4090 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
4091 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
4092 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
4093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
4094 Allow copysignl PLT reference to be missing.
4095
5abe0682
RS
40962013-10-18 Richard Sandiford <richard@codesourcery.com>
4097 Joseph Myers <joseph@codesourcery.com
4098
4099 [BZ #15948]
4100 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
4101 single character.
4102 (add_to_tablewc): Assert sequence of wide characters is nonempty.
4103
c7738d08
SP
41042013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4105
4106 * elf/tst-tls-dlinfo.c: Don't include tls.h.
4107 * elf/tst-tls1.c: Likewise.
4108 * elf/tst-tls10.h: Likewise.
4109 * elf/tst-tls14.c: Likewise.
4110 * elf/tst-tls2.c: Likewise.
4111 * elf/tst-tls3.c: Likewise.
4112 * elf/tst-tls4.c: Likewise.
4113 * elf/tst-tls5.c: Likewise.
4114 * elf/tst-tls6.c: Likewise.
4115 * elf/tst-tls7.c: Likewise.
4116 * elf/tst-tls8.c: Likewise.
4117 * elf/tst-tls9.c: Likewise.
4118 * elf/tst-tlsmod1.c: Likewise.
4119 * elf/tst-tlsmod13.c: Likewise.
4120 * elf/tst-tlsmod13a.c: Likewise.
4121 * elf/tst-tlsmod14a.c: Likewise.
4122 * elf/tst-tlsmod16a.c: Likewise.
4123 * elf/tst-tlsmod16b.c: Likewise.
4124 * elf/tst-tlsmod2.c: Likewise.
4125 * elf/tst-tlsmod3.c: Likewise.
4126 * elf/tst-tlsmod4.c: Likewise.
4127 * elf/tst-tlsmod5.c: Likewise.
4128 * elf/tst-tlsmod6.c: Likewise.
4129
0bfcf2c7
OB
41302013-10-18 Ondřej Bílka <neleai@seznam.cz>
4131
4132 [BZ #12486]
4133 * malloc/malloc.c: remove checks for statistics.
4134
264aad1e
OB
41352013-10-17 Ondřej Bílka <neleai@seznam.cz>
4136
4137 [BZ #15277]
4138 * inet/inet_net.c (inet_network): Detect additional invalid strings.
4139 * inet/tst-network.c: Add testcase.
4140
b957ced8
AS
41412013-10-17 Andreas Schwab <schwab@suse.de>
4142
4143 [BZ #15218]
4144 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
4145 to determine canonical name.
4146
c5d5d574
OB
41472013-10-17 Ondřej Bílka <neleai@seznam.cz>
4148
4149 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
4150 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
4151 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4152 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4153 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4154 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4155 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4156 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4157 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
4158 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4159 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
4160 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4161 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4162 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4163 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4164 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4165 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4166 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4167 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
4168 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4169 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4170 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4171 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4172 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
4173 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
4174 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4175 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4176 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
4177 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4178 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
4179 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4180 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4181 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
4182 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4183 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4184 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4185 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4186 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4187 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4188 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4189 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4190 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4191 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
4192 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4193 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
4194 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4195 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4196 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
4197 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
4198 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4199 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
4200 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4201 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4202 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
4203 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4204 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
4205 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4206 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4207
e5c2c2d0
JM
42082013-10-17 Joseph Myers <joseph@codesourcery.com>
4209
4210 [BZ #16041]
4211 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
4212 make result into a quiet NaN.
4213
51ca9e29
JM
42142013-10-16 Joseph Myers <joseph@codesourcery.com>
4215
4216 * soft-fp/adddf3.c: Fix horizontal whitespace.
4217 * soft-fp/addsf3.c: Likewise.
4218 * soft-fp/addtf3.c: Likewise.
4219 * soft-fp/divdf3.c: Likewise.
4220 * soft-fp/divsf3.c: Likewise.
4221 * soft-fp/divtf3.c: Likewise.
4222 * soft-fp/double.h: Likewise.
4223 * soft-fp/eqdf2.c: Likewise.
4224 * soft-fp/eqsf2.c: Likewise.
4225 * soft-fp/eqtf2.c: Likewise.
4226 * soft-fp/extenddftf2.c: Likewise.
4227 * soft-fp/extended.h: Likewise.
4228 * soft-fp/extendsfdf2.c: Likewise.
4229 * soft-fp/extendsftf2.c: Likewise.
4230 * soft-fp/extendxftf2.c: Likewise.
4231 * soft-fp/fixdfdi.c: Likewise.
4232 * soft-fp/fixdfsi.c: Likewise.
4233 * soft-fp/fixdfti.c: Likewise.
4234 * soft-fp/fixsfdi.c: Likewise.
4235 * soft-fp/fixsfsi.c: Likewise.
4236 * soft-fp/fixsfti.c: Likewise.
4237 * soft-fp/fixtfdi.c: Likewise.
4238 * soft-fp/fixtfsi.c: Likewise.
4239 * soft-fp/fixtfti.c: Likewise.
4240 * soft-fp/fixunsdfdi.c: Likewise.
4241 * soft-fp/fixunsdfsi.c: Likewise.
4242 * soft-fp/fixunsdfti.c: Likewise.
4243 * soft-fp/fixunssfdi.c: Likewise.
4244 * soft-fp/fixunssfsi.c: Likewise.
4245 * soft-fp/fixunssfti.c: Likewise.
4246 * soft-fp/fixunstfdi.c: Likewise.
4247 * soft-fp/fixunstfsi.c: Likewise.
4248 * soft-fp/fixunstfti.c: Likewise.
4249 * soft-fp/floatdidf.c: Likewise.
4250 * soft-fp/floatdisf.c: Likewise.
4251 * soft-fp/floatditf.c: Likewise.
4252 * soft-fp/floatsidf.c: Likewise.
4253 * soft-fp/floatsisf.c: Likewise.
4254 * soft-fp/floatsitf.c: Likewise.
4255 * soft-fp/floattidf.c: Likewise.
4256 * soft-fp/floattisf.c: Likewise.
4257 * soft-fp/floattitf.c: Likewise.
4258 * soft-fp/floatundidf.c: Likewise.
4259 * soft-fp/floatundisf.c: Likewise.
4260 * soft-fp/floatunditf.c: Likewise.
4261 * soft-fp/floatunsidf.c: Likewise.
4262 * soft-fp/floatunsisf.c: Likewise.
4263 * soft-fp/floatunsitf.c: Likewise.
4264 * soft-fp/floatuntidf.c: Likewise.
4265 * soft-fp/floatuntisf.c: Likewise.
4266 * soft-fp/floatuntitf.c: Likewise.
4267 * soft-fp/fmadf4.c: Likewise.
4268 * soft-fp/fmasf4.c: Likewise.
4269 * soft-fp/fmatf4.c: Likewise.
4270 * soft-fp/gedf2.c: Likewise.
4271 * soft-fp/gesf2.c: Likewise.
4272 * soft-fp/getf2.c: Likewise.
4273 * soft-fp/ledf2.c: Likewise.
4274 * soft-fp/lesf2.c: Likewise.
4275 * soft-fp/letf2.c: Likewise.
4276 * soft-fp/muldf3.c: Likewise.
4277 * soft-fp/mulsf3.c: Likewise.
4278 * soft-fp/multf3.c: Likewise.
4279 * soft-fp/negdf2.c: Likewise.
4280 * soft-fp/negsf2.c: Likewise.
4281 * soft-fp/negtf2.c: Likewise.
4282 * soft-fp/op-1.h: Likewise.
4283 * soft-fp/op-2.h: Likewise.
4284 * soft-fp/op-4.h: Likewise.
4285 * soft-fp/op-8.h: Likewise.
4286 * soft-fp/op-common.h: Likewise.
4287 * soft-fp/quad.h: Likewise.
4288 * soft-fp/single.h: Likewise.
4289 * soft-fp/soft-fp.h: Likewise.
4290 * soft-fp/sqrtdf2.c: Likewise.
4291 * soft-fp/sqrtsf2.c: Likewise.
4292 * soft-fp/sqrttf2.c: Likewise.
4293 * soft-fp/subdf3.c: Likewise.
4294 * soft-fp/subsf3.c: Likewise.
4295 * soft-fp/subtf3.c: Likewise.
4296 * soft-fp/truncdfsf2.c: Likewise.
4297 * soft-fp/trunctfdf2.c: Likewise.
4298 * soft-fp/trunctfsf2.c: Likewise.
4299 * soft-fp/trunctfxf2.c: Likewise.
4300 * soft-fp/unorddf2.c: Likewise.
4301 * soft-fp/unordsf2.c: Likewise.
4302 * soft-fp/unordtf2.c: Likewise.
4303
9ebb0332
JM
43042013-10-15 Joseph Myers <joseph@codesourcery.com>
4305
4306 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
4307 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
4308
4b1a6d8b
OB
43092013-10-15 Ondřej Bílka <neleai@seznam.cz>
4310
4311 * elf/dl-libc.c: Clear initfini list after freeing.
4312
1e145589
JM
43132013-10-14 Joseph Myers <joseph@codesourcery.com>
4314
4315 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
4316 * soft-fp/addsf3.c: Likewise.
4317 * soft-fp/addtf3.c: Likewise.
4318 * soft-fp/divdf3.c: Likewise.
4319 * soft-fp/divsf3.c: Likewise.
4320 * soft-fp/divtf3.c: Likewise.
4321 * soft-fp/double.h: Likewise.
4322 * soft-fp/eqdf2.c: Likewise.
4323 * soft-fp/eqsf2.c: Likewise.
4324 * soft-fp/eqtf2.c: Likewise.
4325 * soft-fp/extenddftf2.c: Likewise.
4326 * soft-fp/extended.h: Likewise.
4327 * soft-fp/extendsfdf2.c: Likewise.
4328 * soft-fp/extendsftf2.c: Likewise.
4329 * soft-fp/extendxftf2.c: Likewise.
4330 * soft-fp/fixdfdi.c: Likewise.
4331 * soft-fp/fixdfsi.c: Likewise.
4332 * soft-fp/fixdfti.c: Likewise.
4333 * soft-fp/fixsfdi.c: Likewise.
4334 * soft-fp/fixsfsi.c: Likewise.
4335 * soft-fp/fixsfti.c: Likewise.
4336 * soft-fp/fixtfdi.c: Likewise.
4337 * soft-fp/fixtfsi.c: Likewise.
4338 * soft-fp/fixtfti.c: Likewise.
4339 * soft-fp/fixunsdfdi.c: Likewise.
4340 * soft-fp/fixunsdfsi.c: Likewise.
4341 * soft-fp/fixunsdfti.c: Likewise.
4342 * soft-fp/fixunssfdi.c: Likewise.
4343 * soft-fp/fixunssfsi.c: Likewise.
4344 * soft-fp/fixunssfti.c: Likewise.
4345 * soft-fp/fixunstfdi.c: Likewise.
4346 * soft-fp/fixunstfsi.c: Likewise.
4347 * soft-fp/fixunstfti.c: Likewise.
4348 * soft-fp/floatdidf.c: Likewise.
4349 * soft-fp/floatdisf.c: Likewise.
4350 * soft-fp/floatditf.c: Likewise.
4351 * soft-fp/floatsidf.c: Likewise.
4352 * soft-fp/floatsisf.c: Likewise.
4353 * soft-fp/floatsitf.c: Likewise.
4354 * soft-fp/floattidf.c: Likewise.
4355 * soft-fp/floattisf.c: Likewise.
4356 * soft-fp/floattitf.c: Likewise.
4357 * soft-fp/floatundidf.c: Likewise.
4358 * soft-fp/floatundisf.c: Likewise.
4359 * soft-fp/floatunsidf.c: Likewise.
4360 * soft-fp/floatunsisf.c: Likewise.
4361 * soft-fp/floatuntidf.c: Likewise.
4362 * soft-fp/floatuntisf.c: Likewise.
4363 * soft-fp/floatuntitf.c: Likewise.
4364 * soft-fp/fmadf4.c: Likewise.
4365 * soft-fp/fmasf4.c: Likewise.
4366 * soft-fp/fmatf4.c: Likewise.
4367 * soft-fp/gedf2.c: Likewise.
4368 * soft-fp/gesf2.c: Likewise.
4369 * soft-fp/getf2.c: Likewise.
4370 * soft-fp/ledf2.c: Likewise.
4371 * soft-fp/lesf2.c: Likewise.
4372 * soft-fp/letf2.c: Likewise.
4373 * soft-fp/muldf3.c: Likewise.
4374 * soft-fp/mulsf3.c: Likewise.
4375 * soft-fp/multf3.c: Likewise.
4376 * soft-fp/negdf2.c: Likewise.
4377 * soft-fp/negsf2.c: Likewise.
4378 * soft-fp/negtf2.c: Likewise.
4379 * soft-fp/op-1.h: Likewise.
4380 * soft-fp/op-2.h: Likewise.
4381 * soft-fp/op-4.h: Likewise.
4382 * soft-fp/op-8.h: Likewise.
4383 * soft-fp/op-common.h: Likewise.
4384 * soft-fp/quad.h: Likewise.
4385 * soft-fp/single.h: Likewise.
4386 * soft-fp/soft-fp.h: Likewise.
4387 * soft-fp/sqrtdf2.c: Likewise.
4388 * soft-fp/sqrtsf2.c: Likewise.
4389 * soft-fp/sqrttf2.c: Likewise.
4390 * soft-fp/subdf3.c: Likewise.
4391 * soft-fp/subsf3.c: Likewise.
4392 * soft-fp/subtf3.c: Likewise.
4393 * soft-fp/truncdfsf2.c: Likewise.
4394 * soft-fp/trunctfdf2.c: Likewise.
4395 * soft-fp/trunctfsf2.c: Likewise.
4396 * soft-fp/trunctfxf2.c: Likewise.
4397 * soft-fp/unorddf2.c: Likewise.
4398 * soft-fp/unordsf2.c: Likewise.
4399 * soft-fp/unordtf2.c: Likewise.
4400
17c48a60
OB
44012013-10-14 Ondřej Bílka <neleai@seznam.cz>
4402
4403 [BZ #15672]
4404 * misc/error.c (error_tail): Fix possible buffer overflow.
4405
cabba934
OB
44062013-10-14 Aurelien Jarno <aurelien@aurel32.net>
4407
4408 [BZ #13028]
4409 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
4410 address.
4411
94bf958a
PM
44122013-10-14 P. J. McDermott <pj@pehjota.net>
4413
4414 [BZ #832]
4415 * elf/ldd.bash.in (try_trace): New function. Delete previous code
4416 testing pipefail option.
4417
71b4dea7
JM
44182013-10-12 Joseph Myers <joseph@codesourcery.com>
4419
4420 * soft-fp/double.h: Indent preprocessor directives inside #if.
4421 * soft-fp/extended.h: Likewise.
4422 * soft-fp/op-2.h: Likewise.
4423 * soft-fp/op-4.h: Likewise.
4424 * soft-fp/op-common.h: Likewise.
4425 * soft-fp/quad.h: Likewise.
4426 * soft-fp/single.h: Likewise.
4427 * soft-fp/soft-fp.h: Likewise.
4428
55602758
YC
44292013-10-12 Yuri Chornoivan <yurchor@ukr.net>
4430
4431 * iconv/iconv_prog.c: Fix typos.
4432 * stdio-common/psiginfo-data.h: Likewise.
4433
9cd83302
RT
44342013-10-12 Reuben Thomas <rrt@sc3d.org>
4435
4436 [BZ #15764]
4437 * locale/setlocale.c: Fix typo.
4438
99fd9f47
JM
44392013-10-12 Joseph Myers <joseph@codesourcery.com>
4440
b7ea74f0
JM
4441 [BZ #16036]
4442 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
4443 signaling NaN arguments.
4444 * soft-fp/unordsf2.c (__unordsf2): Likewise.
4445 * soft-fp/unordtf2.c (__unordtf2): Likewise.
4446
8a509447
JM
4447 [BZ #14910]
4448 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
4449 unordered operands.
4450 * soft-fp/gesf2.c (__gesf2): Likewise.
4451 * soft-fp/getf2.c (__getf2): Likewise.
4452 * soft-fp/ledf2.c (__ledf2): Likewise.
4453 * soft-fp/lesf2.c (__lesf2): Likewise.
4454 * soft-fp/letf2.c (__letf2): Likewise.
4455
98998e9f
JM
4456 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
4457 * soft-fp/eqsf2.c (__eqsf2): Likewise.
4458 * soft-fp/eqtf2.c (__eqtf2): Likewise.
4459 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
4460 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
4461 * soft-fp/fixdfti.c (__fixdfti): Likewise.
4462 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
4463 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
4464 * soft-fp/fixsfti.c (__fixsfti): Likewise.
4465 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
4466 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
4467 * soft-fp/fixtfti.c (__fixtfti): Likewise.
4468 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
4469 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
4470 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
4471 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
4472 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
4473 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
4474 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
4475 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
4476 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
4477 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
4478 * soft-fp/floatdisf.c (__floatdisf): Likewise.
4479 * soft-fp/floatsisf.c (__floatsisf): Likewise.
4480 * soft-fp/floattidf.c (__floattidf): Likewise.
4481 * soft-fp/floattisf.c (__floattisf): Likewise.
4482 * soft-fp/floattitf.c (__floattitf): Likewise.
4483 * soft-fp/floatundidf.c (__floatundidf): Likewise.
4484 * soft-fp/floatundisf.c (__floatundisf): Likewise.
4485 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
4486 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
4487 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
4488 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
4489 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
4490 * soft-fp/gesf2.c (__gesf2): Likewise.
4491 * soft-fp/getf2.c (__getf2): Likewise.
4492 * soft-fp/ledf2.c (__ledf2): Likewise.
4493 * soft-fp/lesf2.c (__lesf2): Likewise.
4494 * soft-fp/letf2.c (__letf2): Likewise.
4495
8edc4a11
JM
4496 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
4497 Undefine and redefine.
4498 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
4499 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
4500 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
4501 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
4502 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4503 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
4504 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4505 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
4506 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4507 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
4508 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4509 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
4510 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4511 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
4512 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4513
8399acaf
JM
4514 [BZ #16032]
4515 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
4516 without decrementing exponent if mantissa >= that for the
4517 denominator, not >.
4518 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
4519 denominator, not >. Decrement exponent in < case instead of
4520 incrementing in >= case.
4521 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
4522 without decrementing exponent if mantissa >= that for the
4523 denominator, not >.
4524
99fd9f47
JM
4525 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
4526 computing saturated result for unsigned overflow.
4527
10e1cf6b
SP
45282013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4529 Jeff Law <law@redhat.com>
4530
4531 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
4532 (atan2Mp): Add systemtap probe marker.
4533 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
4534 (__ieee754_log): Add systemtap probe marker.
4535 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
4536 (atanMp): Add systemtap probe marker.
4537 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
4538 (tanMp): Add systemtap probe marker.
4539 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
4540 (__slowexp): Add systemtap probe marker.
4541 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
4542 (__slowpow): Add systemtap probe marker.
4543 * manual/probes.texi: Document probes.
4544
3d110c7c
EB
45452013-10-11 Eric Biggers <ebiggers3@gmail.com>
4546
4547 [BZ #15362]
4548 * libio/fileops.c (_IO_new_file_write): Return count of bytes
4549 written.
4550 (_IO_new_file_xsputn): Don't return EOF if nothing has been
4551 written.
4552 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
4553 written to buffer but not flushed.
4554 * libio/iofwrite_u.c: Likewise.
4555 * libio/iopadn.c: Return bytes returned even if EOF was
4556 encountered.
4557 * libio/iowpadn.c: Likewise.
4558 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
4559 if _IO_padn does not write the whole buffer.
4560 [!COMPILE_WPRINTF] (PAD): Likewise.
4561
75b4202a
DM
45622013-10-10 David S. Miller <davem@davemloft.net>
4563
4564 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
4565 directory block.
4566
6c6352e6
JM
45672013-10-10 Joseph Myers <joseph@codesourcery.com>
4568
33b853c3
JM
4569 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
4570 instead of FSF address.
4571 * soft-fp/fixdfti.c: Likewise.
4572 * soft-fp/fixsfti.c: Likewise.
4573 * soft-fp/fixtfti.c: Likewise.
4574 * soft-fp/fixunsdfti.c: Likewise.
4575 * soft-fp/fixunssfti.c: Likewise.
4576 * soft-fp/fixunstfti.c: Likewise.
4577 * soft-fp/floattidf.c: Likewise.
4578 * soft-fp/floattisf.c: Likewise.
4579 * soft-fp/floattitf.c: Likewise.
4580 * soft-fp/floatuntidf.c: Likewise.
4581 * soft-fp/floatuntisf.c: Likewise.
4582 * soft-fp/floatuntitf.c: Likewise.
4583 * soft-fp/trunctfxf2.c: Likewise.
4584
6c6352e6
JM
4585 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
4586 * soft-fp/fixdfti.c: Likewise.
4587 * soft-fp/fixsfti.c: Likewise.
4588 * soft-fp/fixtfti.c: Likewise.
4589 * soft-fp/fixunsdfti.c: Likewise.
4590 * soft-fp/fixunssfti.c: Likewise.
4591 * soft-fp/fixunstfti.c: Likewise.
4592 * soft-fp/floattidf.c: Likewise.
4593 * soft-fp/floattisf.c: Likewise.
4594 * soft-fp/floattitf.c: Likewise.
4595 * soft-fp/floatuntidf.c: Likewise.
4596 * soft-fp/floatuntisf.c: Likewise.
4597 * soft-fp/floatuntitf.c: Likewise.
4598 * soft-fp/trunctfxf2.c: Likewise.
4599
3bf78b71
DM
46002013-10-10 David S. Miller <davem@davemloft.net>
4601
4602 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4603
6f10289e
JM
46042013-10-10 Joseph Myers <joseph@codsourcery.com>
4605
bd878fc0
JM
4606 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4607 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
4608 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
4609 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
4610 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
4611 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
4612 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
4613
6f10289e
JM
4614 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
4615 for NaNs before doing comparisons on argument.
4616 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
4617 Likewise.
4618
321e2684
WN
46192013-10-10 Will Newton <will.newton@linaro.org>
4620
4621 * malloc/hooks.c (memalign_check): Ensure the value of bytes
4622 passed to _int_memalign does not overflow.
4623
40fefba1
TR
46242013-10-10 Torvald Riegel <triegel@redhat.com>
4625
4626 * scripts/bench.pl: Add include-sources directive.
4627 * benchtests/README: Update documentation.
4628
2ae21ed2
JM
46292013-10-10 Joseph Myers <joseph@codesourcery.com>
4630
dcc2dd3f
JM
4631 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
4632 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
4633 instead of FP_INIT_ROUNDMODE.
4634 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
4635 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
4636
2ae21ed2
JM
4637 [BZ #16034]
4638 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
4639 copy class of input value.
4640 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
4641 not handle exceptions.
4642 * soft-fp/negsf2.c (__negsf2): Likewise.
4643 * soft-fp/negtf2.c (__negtf2): Likewise.
4644 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
4645
cb8f9562
JM
46462013-10-09 Joseph Myers <joseph@codesourcery.com>
4647
4648 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
4649 semicolon. From Linux kernel.
4650
5b60c59d
AB
46512013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
4652
4653 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
4654
b86835ca
YC
46552013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
4656
4657 [BZ #156]
4658 * manual/socket.texi: Added statement about buffer
4659 for gethostbyname2_r.
4660
e7044ea7
OB
46612013-10-08 Ondřej Bílka <neleai@seznam.cz>
4662
4663 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
4664 Use .p2align directive instead, throughout.
4665 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4666 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4667 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
4668 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4669 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4670 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
4671 * sysdeps/x86_64/strchr.S: Likewise.
4672 * sysdeps/x86_64/strrchr.S: Likewise.
4673
09544cbc
SP
46742013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4675
88576635
SP
4676 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
4677
e7b2d1dd
SP
4678 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
4679
09544cbc
SP
4680 * sysdeps/generic/math_private.h (__mpsin1): Remove
4681 declaration.
4682 (__mpcos1): Likewise.
4683 (__mpsin): New argument __range_reduce.
4684 (__mpcos): Likewise.
4685 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4686 (slow): Use __mpsin and __mpcos.
4687 (slow1): Likewise.
4688 (slow2): Likewise.
4689 (sloww): Likewise.
4690 (sloww1): Likewise.
4691 (sloww2): Likewise.
4692 (bsloww): Likewise.
4693 (bsloww1): Likewise.
4694 (bsloww2): Likewise.
4695 (cslow2): Likewise.
4696 (csloww): Likewise.
4697 (csloww1): Likewise.
4698 (csloww2): Likewise.
4699 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
4700 range_reduce. Merge in __mpsin1.
4701 (__mpcos): Likewise.
4702 (__mpsin1): Remove.
4703 (__mpcos1): Likewise.
4704
7602d070
JM
47052013-10-07 Joseph Myers <joseph@codesourcery.com>
4706
4707 * locale/loadlocale.c (_nl_intern_locale_data): Use
4708 LOCFILE_ALIGNED_P.
4709 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
4710 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
4711 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
4712 obstack data is appropriately aligned.
4713 (obstack_int32_grow_fast): Likewise.
4714 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
4715 * locale/programs/locfile.c (add_locale_uint32): Likewise.
4716 (add_locale_uint32_array): Likewise.
4717
a357259b
SP
47182013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4719
4720 * benchtests/Makefile: Remove ARGLIST and RET variables.
4721 ($(objpfx)bench-%.c): Pass only function name to the script.
4722 * benchtests/README: Update documentation.
4723 * benchtests/acos-inputs: Add new directives.
4724 * benchtests/acosh-inputs: Likewise.
4725 * benchtests/asin-inputs: Likewise.
4726 * benchtests/asinh-inputs: Likewise.
4727 * benchtests/atan-inputs: Likewise.
4728 * benchtests/atanh-inputs: Likewise.
4729 * benchtests/cos-inputs: Likewise.
4730 * benchtests/cosh-inputs: Likewise.
4731 * benchtests/exp-inputs: Likewise.
4732 * benchtests/log-inputs: Likewise.
4733 * benchtests/pow-inputs: Likewise.
4734 * benchtests/rint-inputs: Likewise.
4735 * benchtests/sin-inputs: Likewise.
4736 * benchtests/sinh-inputs: Likewise.
4737 * benchtests/tan-inputs: Likewise.
4738 * benchtests/tanh-inputs: Likewise.
4739 * scripts/bench.pl: Add support for new directives.
4740
9ec1b13d
AM
47412013-10-07 Alan Modra <amodra@gmail.com>
4742
4743 * README: Fix careless merge.
4744
8b7d57cd
AM
47452013-10-05 Alan Modra <amodra@gmail.com>
4746
4747 * NEWS: Mention powerpc64le support and bugs fixed.
4748 * README: Both big-endian and little-endian powerpc64 supported.
4749
7b7bab13
ST
47502013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
4751
4752 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
4753 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
4754 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
4755 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
4756
d39baad1
RA
47572013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
4758
4759 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
4760 match prototype.
4761
cd78f7e7
JM
47622013-10-04 Joseph Myers <joseph@codesourcery.com>
4763
29d73d86
JM
4764 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
4765 Move -mhard-float appending from
4766 ports/sysdeps/powerpc/powerpc32/Makefile.
4767 [$(with-fp) = yes] (ASFLAGS): Likewise.
4768 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
4769 * sysdeps/powerpc/nofpu: Move directory from
4770 ports/sysdeps/powerpc/nofpu.
4771 * sysdeps/powerpc/soft-fp: Move directory from
4772 ports/sysdeps/powerpc/soft-fp.
4773 * sysdeps/powerpc/powerpc32/405: Move directory from
4774 ports/sysdeps/powerpc/powerpc32/405.
4775 * sysdeps/powerpc/powerpc32/440: Move directory from
4776 ports/sysdeps/powerpc/powerpc32/440.
4777 * sysdeps/powerpc/powerpc32/464: Move directory from
4778 ports/sysdeps/powerpc/powerpc32/464.
4779 * sysdeps/powerpc/powerpc32/476: Move directory from
4780 ports/sysdeps/powerpc/powerpc32/476.
4781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
4782 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
4783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
4784 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
4785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
4786 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
4787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
4788 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
4789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
4790 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
4791 * README: Update for powerpc-*-linux-gnu software floating point
4792 support in libc.
4793
e246b347
JM
4794 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
4795 case to powerpc/powerpc32*.
4796 * sysdeps/unix/sysv/linux/configure: Regenerated.
4797
89c2003e
JM
4798 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
4799 (_FPU_MASK_OM): Define as 0x04.
4800 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
4801 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
4802 0x00c10080.
4803 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
4804 0x0000003c.
4805 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
4806
cd78f7e7
JM
4807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
4808 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4809 getcontext_e500.
4810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
4811 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4812 setcontext_e500.
4813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
4814 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
4815 and setcontext_e500.
4816
c755294d
CL
48172013-10-04 Chris Leonard <cjl@sugarlabs,.org>
4818
4819 * locale/iso-3166.def: Update iso-1366.def and related occurrences
4820
e16d221c
SP
48212013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4822
4823 * manual/threads.texi (Default Thread Attributes): Fix typo.
4824
215c7d43
WN
48252013-10-04 Will Newton <will.newton@linaro.org>
4826
4827 * malloc/Makefile: Add tst-memalign.
4828 * malloc/tst-memalign.c: New file.
4829
27d0461b
WN
4830 * malloc/tst-posix_memalign.c: Add comments.
4831 (do_test): Add comments and call free on all potentially
4832 allocated pointers. Add space after cast.
4833
1bc92709
WN
4834 * malloc/tst-pvalloc.c: Add comments.
4835 (do_test): Add comments and call free on all potentially
4836 allocated pointers. Remove duplicate check for NULL pointer.
4837 Add space after cast.
4838
66a9be9d
WN
4839 * malloc/tst-valloc.c: Add comments.
4840 (do_test): Add comments and call free on all potentially
4841 allocated pointers. Remove duplicate check for NULL pointer.
4842 Add space after cast.
4843
4cb81307
AM
48442013-10-04 Alan Modra <amodra@gmail.com>
4845
4846 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4847 Use stdint types in rather than __attribute__((mode())).
4848 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4849
f8e3e9f3
AM
48502013-10-04 Alan Modra <amodra@gmail.com>
4851
4852 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4853 Correct handling of unaligned relocs for little-endian.
4854 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4855
8f9ebb08
AM
48562013-10-04 Alan Modra <amodra@gmail.com>
4857
4858 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
4859 * configure: Regenerate.
4860 * nptl/shlib-versions: Powerpc*le starts at 2.18.
4861 * shlib-versions: Likewise.
4862
0edf96c2
AM
48632013-10-04 Alan Modra <amodra@gmail.com>
4864
4865 * string/tester.c (test_memrchr): Increment reported test cycle.
4866
e0f7a380
AM
48672013-10-04 Alan Modra <amodra@gmail.com>
4868
4869 * string/test-memcpy.c (do_one_test): When reporting errors, print
4870 string address and don't overrun end of string.
4871
466b0393
AM
48722013-10-04 Alan Modra <amodra@gmail.com>
4873
4874 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
4875 insrdi. Make better use of reg selection to speed exit slightly.
4876 Schedule entry path a little better. Remove useless "are we done"
4877 checks on entry to main loop. Handle wrapping around zero address.
4878 Correct main loop count. Handle single left-over word from main
4879 loop inline rather than by using loop_small. Remove extra word
4880 case in loop_small caused by wrong loop count. Add little-endian
4881 support.
4882 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4883 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
4884 cache hint.
4885 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4886 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
4887 support. Avoid rlwimi.
4888 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
4889
3be87c77
AM
48902013-10-04 Alan Modra <amodra@gmail.com>
4891
4892 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 4893 insrdi. Formatting.
3be87c77
AM
4894 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
4895 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4896 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
4897 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
4898 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4899 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
4900
759cfef3
AM
49012013-10-04 Alan Modra <amodra@gmail.com>
4902
4903 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
4904 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4905 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
4906 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
4907 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4908 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4909 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4910 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
4911 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
4912 use of regs. Use power7 mtocrf. Tidy function tails.
4913
fe6e95d7
AM
49142013-10-04 Alan Modra <amodra@gmail.com>
4915
4916 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
4917 Formatting. Consistently use rXXX register defines or rN defines.
4918 Use early exit labels that avoid restoring unused non-volatile regs.
4919 Make cr field use more consistent with rWORDn compares. Rename
4920 regs used as shift registers for unaligned loop, using rN defines
4921 for short lifetime/multiple use regs.
4922 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4923 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
4924 addi 1,1,64 to pop stack frame. Simplify return value code.
4925 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4926
664318c3
AM
49272013-10-04 Alan Modra <amodra@gmail.com>
4928
4929 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
4930 support. Correct typos, formatting. Optimize tail. Use insrdi
4931 rather than rlwimi.
4932 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
4933 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
4934 little-endian support. Correct typos.
4935 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
4936 rather than rlwimi.
4937 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
4938 in loop and entry code to keep "and." results.
4939 (strchr): Add little-endian support. Comment. Move cntlzd
4940 earlier in tail.
4941 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
4942
43b84013
AM
49432013-10-04 Alan Modra <amodra@gmail.com>
4944
4945 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
4946 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
4947 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
4948 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
4949
8a7413f9
AM
49502013-10-04 Alan Modra <amodra@gmail.com>
4951
4952 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
4953 (rTMP): Define as r11.
4954 (strcmp): Add little-endian support. Optimise tail.
4955 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
4956 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4957 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
4958 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
4959 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
4960 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4961 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
4962
33ee81de
AM
49632013-10-04 Alan Modra <amodra@gmail.com>
4964
4965 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
4966 little-endian support. Remove unnecessary "are we done" tests.
4967 Handle "s" wrapping around zero and extremely large "size".
4968 Correct main loop count. Handle single left-over word from main
4969 loop inline rather than by using small_loop. Correct comments.
4970 Delete "zero" tail, use "end_max" instead.
4971 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
4972
db9b4570
AM
49732013-10-04 Alan Modra <amodra@gmail.com>
4974
4975 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
4976 support. Don't branch over align.
4977 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
4978 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
4979 support. Rearrange tmp reg use to suit. Comment.
4980 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
4981
f7c399cf
AM
49822013-10-04 Alan Modra <amodra@gmail.com>
4983
4984 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
4985
0b2c2ace
AM
49862013-10-04 Alan Modra <amodra@gmail.com>
4987
4988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
4989 conditional form of branch and link when obtaining pc.
4990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
4991
02f04a6c
AM
49922013-10-04 Alan Modra <amodra@gmail.com>
4993
4994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
4995 HIWORD/LOWORD.
4996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
4997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
4998
9b874b2f
AM
49992013-10-04 Alan Modra <amodra@gmail.com>
5000
5001 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
5002 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
5003 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
5004 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
5005 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
5006 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5007 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
5008 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5009 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
5010 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
5011
be1e5d31
AB
50122013-10-04 Anton Blanchard <anton@au1.ibm.com>
5013 Alistair Popple <alistair@ozlabs.au.ibm.com>
5014 Alan Modra <amodra@gmail.com>
5015
5016 [BZ #15723]
5017 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
5018 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
5019 _dl_hwcap access for little-endian.
5020 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
5021 destroy vmx regs when saving unaligned.
5022 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
5023 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
5024 destroy vmx regs when saving unaligned.
5025
fef13a78
AM
50262013-10-04 Alan Modra <amodra@gmail.com>
5027
5028 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
5029 Don't use a union to pack hi/low value.
5030
76a66d51
AB
50312013-10-04 Anton Blanchard <anton@au1.ibm.com>
5032
5033 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
5034 for little-endian.
5035 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
5036 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
5037 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
5038 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
5039 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
5040
6a31fe7f
AM
50412013-10-04 Alan Modra <amodra@gmail.com>
5042
5043 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
5044 constants to usual value for .cst8 section, and remove redundant
5045 high address load.
5046 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
5047 constant for 0x1p52. Load little-endian words of double from
5048 correct stack offsets.
5049
7b88401f
AM
50502013-10-04 Alan Modra <amodra@gmail.com>
5051
5052 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
5053 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
5054 words of double from correct stack offsets.
5055 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
5056 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
5057 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
5058 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
5059 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
5060 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
5061 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
5062 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
5063 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
5064 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
5065 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
5066 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
5067 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5068 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5069 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5070 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
5071 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
5072
9c008155
AM
50732013-10-04 Alan Modra <amodra@gmail.com>
5074
5075 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
5076 64-bit int/double union.
5077 (_FPU_SETCW): Likewise.
5078 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
5079 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
5080
da13146d
AM
50812013-10-04 Alan Modra <amodra@gmail.com>
5082
5083 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
5084 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
5085
603e8410
AM
50862013-10-04 Alan Modra <amodra@gmail.com>
5087
5088 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
5089 use vector int constants.
5090 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
5091
4a28b3ca
AB
50922013-10-04 Anton Blanchard <anton@au1.ibm.com>
5093
5094 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
5095 array with long long.
5096 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
5097 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
5098 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
5099 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
5100 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
5101 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
5102 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
5103 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
5104 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
5105 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
5106 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
5107 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
5108 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
5109
2ca85d2b
AB
51102013-10-04 Anton Blanchard <anton@au1.ibm.com>
5111
5112 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
5113 (__signbit): Likewise. Correct for little-endian.
5114 (__signbitl): Call __signbit.
5115 (lrint): Correct for little-endian.
5116 (lrintf): Call lrint.
5117
62a728ae
AM
51182013-10-04 Alan Modra <amodra@gmail.com>
5119
5120 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
5121 union 32-bit int array member with 64-bit int array.
5122 (t515, tm256): Double rather than long double.
5123 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
5124
32c301df
AM
51252013-10-04 Alan Modra <amodra@gmail.com>
5126
5127 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
5128 Delete.
5129 (IEEE854_LONG_DOUBLE_BIAS): Delete.
5130 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
5131 version of math_ldbl.h.
5132
650ef4bd
AM
51332013-10-04 Alan Modra <amodra@gmail.com>
5134
5135 [BZ #15734], [BZ #15735]
5136 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
5137 all uses of ieee875 long double macros and unions. Simplify test
5138 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
5139 ldbl_extract_mantissa value for ix,iy exponents. Properly
5140 normalize after ldbl_extract_mantissa, and don't add hidden bit
5141 already handled. Don't treat low word of ieee854 mantissa like
5142 low word of IBM long double and mask off bit when testing for
5143 zero.
5144 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
5145 all uses of ieee875 long double macros and unions. Simplify tests
5146 for 0.0L and inf. Correct double adjustment of k. Delete dead code
5147 adjusting ha,hb. Simplify code setting kld. Delete two600 and
5148 two1022, instead use their values. Recognise that tests for large
5149 "a" and small "b" are mutually exclusive. Rename vars. Comment.
5150 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
5151 Rewrite all uses of ieee875 long double macros and unions. Simplify
5152 test for 0.0L and nan. Correct negation.
5153 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
5154 ieee875 long double macros and unions. Correct output for large
5155 magnitude x. Correct absolute value calculation.
5156 (__erfcl): Likewise.
5157 * math/libm-test.inc: Add tests for errors discovered in IBM long
5158 double versions of fmodl, remainderl, erfl and erfcl.
5159
765714ca
AM
51602013-10-04 Alan Modra <amodra@gmail.com>
5161
5162 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
5163 all uses of ieee854 long double macros and unions. Simplify tests
5164 for long doubles that are fully specified by the high double.
5165 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5166 Likewise.
5167 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
5168 Remove dead code too.
5169 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
5170 (__ieee754_ynl): Likewise.
5171 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
5172 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
5173 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
5174 Remove dead code too.
5175 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
5176 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
5177 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
5178 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
5179 Simplify.
5180 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
5181 Simplify.
5182 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
5183 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
5184 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
5185 Comment on variable precision.
5186 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
5187 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5188 Likewise.
5189 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5190 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
5191 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
5192 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
5193 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
5194
4ebd120c
AM
51952013-10-04 Alan Modra <amodra@gmail.com>
5196
5197 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
5198 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
5199 all uses of ieee854 long double macros and unions.
5200 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
5201 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
5202 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
5203 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
5204 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
5205 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
5206 Likewise.
5207 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
5208 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5209 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
5210 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5211 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
5212 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
5213 Simplify sign and nan test too.
5214 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
5215 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
5216 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
5217 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
5218 Likewise.
5219 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
5220 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
5221 Likewise.
5222 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5223 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
5224 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
5225 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
5226 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
5227 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
5228
1b6adf88
AM
52292013-10-04 Alan Modra <amodra@gmail.com>
5230
5231 * stdio-common/printf_size.c (__printf_size): Don't use
5232 union ieee854_long_double in fpnum union.
5233 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
5234 signbit macro to retrieve sign from long double.
5235 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
5236 retrieve sign from long double.
5237 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
5238 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
5239 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
5240 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
5241 * math/test-misc.c (main): Don't use union ieee854_long_double.
5242
4cf69995
AM
52432013-10-04 Alan Modra <amodra@gmail.com>
5244
5245 [BZ #15680]
5246 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
5247 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
5248 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
5249 calculation. Remove unnecessary test for denormal exponent.
5250 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
5251 Correct handling of denormals. Avoid undefined shift behaviour.
5252 Correct normalisation of low mantissa when low double is denormal.
5253 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
5254 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
5255 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
5256 Correct normalisation of low mantissa. Test for overflow of high
5257 mantissa and normalise.
5258 (ldbl_nearbyint): Use more readable constant for two52.
5259 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
5260 (__mpn_construct_long_double): Fix test for overflow of high
5261 mantissa and correct normalisation. Avoid undefined shift.
5262
9605ca6c
AM
52632013-10-04 Alan Modra <amodra@gmail.com>
5264
5265 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
5266 (union ibm_extended_long_double): Define as an array of ieee754_double.
5267 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
5268 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
5269 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
5270 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5271 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5272 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
5273 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5274 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
5275 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
5276 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
5277 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
5278
975569d0
JM
52792013-10-03 Joseph Myers <joseph@codesourcery.com>
5280
d3d23756
JM
5281 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
5282 page size instead of calling getpagesize.
5283
975569d0
JM
5284 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
5285 (LOCFILE_ALIGN_MASK): Likewise.
5286 (LOCFILE_ALIGN_UP): Likewise.
5287 (LOCFILE_ALIGNED_P): Likewise.
5288 * locale/programs/ld-collate.c (collate_output): Use the new
5289 macros instead of __alignof__ (int32_t).
5290 * locale/weight.h (findidx): Likewise.
5291
b1fe1f2b
OB
52922013-10-03 Ondřej Bílka <neleai@seznam.cz>
5293
5294 [BZ #431]
5295 * manual/string.texi: Fix strncat and wcsncat.
5296
5f855e35
BM
52972013-10-03 Brooks Moses <bmoses@google.com>
5298
5299 [BZ #15915]
5300 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
5301 * Makerules: ...here, and adjust associated comments.
5302
3cef6009
WN
53032013-10-02 Will Newton <will.newton@linaro.org>
5304
5305 * malloc/Makefile: Add tst-pvalloc.
5306 * malloc/tst-pvalloc.c: New file.
5307
7815420b
WN
53082013-10-02 Will Newton <will.newton@linaro.org>
5309
5310 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
5311 improve test coverage.
5312
4868b204
WN
53132013-10-02 Will Newton <will.newton@linaro.org>
5314
5315 * malloc/Makefile: Add tst-posix_memalign.
5316 * malloc/tst-posix_memalign.c: New file.
5317
29c793b3
EB
53182013-10-01 Eric Blake <eblake@redhat.com>
5319
5320 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
5321 Use __THROWNL rather than __THROW on static functions.
5322
fd967522
PM
53232013-09-30 Petr Machata <pmachata@redhat.com>
5324
5325 * elf/elf.h (R_AARCH64_ABS16): New macro.
5326 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
5327 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
5328 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
5329 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
5330 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
5331 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
5332 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
5333 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
5334 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
5335 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
5336 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
5337 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
5338 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
5339 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
5340 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
5341 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
5342 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
5343 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
5344 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
5345 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
5346 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
5347 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
5348 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
5349 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
5350 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
5351 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
5352 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
5353 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
5354 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
5355 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
5356 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
5357 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
5358 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
5359 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
5360 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
5361 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
5362 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
5363 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
5364 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
5365 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
5366 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
5367 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
5368 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
5369 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
5370 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
5371 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
5372 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
5373 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
5374 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
5375 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
5376 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
5377 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
5378 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
5379 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
5380 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
5381 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
5382 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
5383 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
5384 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
5385 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
5386 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
5387 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
5388 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
5389 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
5390 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
5391 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
5392 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
5393 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
5394 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
5395 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
5396 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
5397 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
5398 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
5399 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
5400 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
5401 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
5402 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
5403 (R_AARCH64_TLSDESC_LDR): Likewise.
5404 (R_AARCH64_TLSDESC_ADD): Likewise.
5405 (R_AARCH64_TLSDESC_CALL): Likewise.
5406
b2179107
AS
54072013-09-30 Andreas Schwab <schwab@suse.de>
5408
5409 [BZ #15048]
5410 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
5411 the nss database lookup.
5412 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5413 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5414
47f28d0a
MF
54152013-09-28 Mike Frysinger <vapier@gentoo.org>
5416
5417 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
5418
54192013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
5420
5421 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
5422 ${Bash-specific parameter/pattern/string} parameter expansion.
5423 * sysdeps/unix/make-syscalls.sh: Likewise.
5424
f4518a17
KK
54252013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5426
5427 * sysdeps/sh/stackguard-macros.h: New file.
5428
dc1a95c7
OB
54292013-09-26 Ondřej Bílka <neleai@seznam.cz>
5430
5431 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
5432 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
5433 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
5434 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
5435 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5436 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
5437
5ebbff8f
AZ
54382013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5439
5440 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
5441 Fix thread ID register.
5442
4fd2cf9f
JM
54432013-09-25 Joseph Myers <joseph@codesourcery.com>
5444
5445 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
5446 [POSIX || UNIX98]: Require rather than permitting all symbols from
5447 <time.h>.
5448 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
5449 element of struct sched_param.
5450 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
5451 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
5452 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
5453 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
5454 constant.
5455
12c22bc4
OL
54562013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
5457
5458 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
5459 argument calculation.
5460
a03d8ea7
JM
54612013-09-24 Joseph Myers <joseph@codesourcery.com>
5462
5463 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
5464 Expect macro.
5465 [POSIX] (pthread_attr_t): Do not require type.
5466 [POSIX] (pthread_cond_t): Likewise.
5467 [POSIX] (pthread_condattr_t): Likewise.
5468 [POSIX] (pthread_key_t): Likewise.
5469 [POSIX] (pthread_mutex_t): Likewise.
5470 [POSIX] (pthread_mutexattr_t): Likewise.
5471 [POSIX] (pthread_once_t): Likewise.
5472 [POSIX] (pthread_t): Likewise.
5473 [POSIX-based standards] (pthread_atfork): Expect function.
5474
6055173a
JM
54752013-09-24 Joseph Myers <joseph@codesourcery.com>
5476 Richard Sandiford <richard@codesourcery.com>
5477
5478 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
5479 (swap_endianness_p): New extern variable.
5480 (set_big_endian): New inline function.
5481 (maybe_swap_uint32): Likewise.
5482 (maybe_swap_uint32_array): Likewise.
5483 (maybe_swap_uint32_obstack): Likewise.
5484 * locale/programs/locfile.c: Include <stdbool.h>.
5485 (swap_endianness_p): New variable.
5486 (add_locale_uint32): Call maybe_swap_uint32.
5487 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
5488 (write_locale_data): Call maybe_swap_uint32_array.
5489 * locale/programs/ld-collate.c (obstack_int32_grow): Call
5490 maybe_swap_uint32.
5491 (obstack_int32_grow_fast): Likewise.
5492 (output_weightwc): Call maybe_swap_uint32_obstack.
5493 (collate_output): Likewise.
5494 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
5495 (OPT_LITTLE_ENDIAN): Likewise.
5496 (options): Add --little-endian and --big-endian options.
5497 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
5498 * locale/programs/locarchive.c: Include "locfile.h".
5499 (GET): New macro.
5500 (SET): Likewise.
5501 (INC): Likewise.
5502 (create_archive): Use the new macros to access fields of
5503 structures directly mapped from or written to locale archives.
5504 (oldlocrecentcmp): Likewise.
5505 (enlarge_archive): Likewise.
5506 (insert_name): Likewise.
5507 (add_alias): Likewise.
5508 (add_locale): Likewise.
5509 (delete_locales_from_archive): Likewise.
5510 (show_archive_content): Likewise.
5511 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
5512 locale data.
5513
39bf0bb4
RM
55142013-09-24 Roland McGrath <roland@hack.frob.com>
5515
5516 * manual/freemanuals.texi: Updated from (newly) canonical copy at
5517 http://www.gnu.org/doc/freemanuals.texi.
5518 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
5519
f02eed10
WN
55202013-09-24 Will Newton <will.newton@linaro.org>
5521
5522 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
5523 macro.
5524
a3a6c312
JM
55252013-09-23 Joseph Myers <joseph@codesourcery.com>
5526
5527 * locale/hashval.h (compute_hashval): Interpret bytes of key as
5528 unsigned char.
5529
107375ac
MR
55302013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
5531
5532 * manual/threads.texi (POSIX Threads): Fix a typo.
5533
141f3a77
SP
55342013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5535
303e567a
SP
5536 [BZ #14547]
5537 * string/tst-strcoll-overflow.c: New test case.
5538 * string/Makefile (xtests): Add tst-strcoll-overflow.
5539 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
5540 cache if string sizes may cause integer overflow.
5541
141f3a77
SP
5542 [BZ #14547]
5543 * string/strcoll_l.c (coll_seq): New members rule, idx,
5544 save_idx and back_us.
5545 (get_next_seq_nocache): New function.
5546 (do_compare_nocache): New function.
5547 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
5548 when malloc fails.
5549
c61b4d41
CD
55502013-09-23 Carlos O'Donell <carlos@redhat.com>
5551
0b1f8e35
CD
5552 [BZ #15754]
5553 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
5554 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
5555 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
5556
c61b4d41
CD
5557 [BZ #15754]
5558 * elf/Makefile (tests): Add tst-ptrguard1.
5559 (tests-static): Add tst-ptrguard1-static.
5560 (tst-ptrguard1-ARGS): Define.
5561 (tst-ptrguard1-static-ARGS): Define.
5562 * elf/tst-ptrguard1.c: New file.
5563 * elf/tst-ptrguard1-static.c: New file.
5564 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
5565 * sysdeps/i386/stackguard-macros.h: Likewise.
5566 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
5567 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
5568 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5569 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5570 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
5571 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
5572
55732013-09-23 Hector Marco <hecmargi@upv.es>
5574 Ismael Ripoll <iripoll@disca.upv.es>
5575 Carlos O'Donell <carlos@redhat.com>
5576
5577 [BZ #15754]
5578 * sysdeps/generic/stackguard-macros.h: Define
5579 __pointer_chk_guard_local and POINTER_CHK_GUARD.
5580 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
5581 Define __pointer_chk_guard_local.
5582 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
5583 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
5584
f5f4e7b4
VV
55852013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
5586
5587 [BZ #15859]
5588 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
5589
5bb43a43
AS
55902013-09-20 Andreas Schwab <schwab@linux-m68k.org>
5591
5592 * include/string.h (__ffs): Declare as hidden.
5593 * string/ffs.c (__ffs): Define as hidden.
5594 * sysdeps/i386/ffs.c (__ffs): Likewise.
5595 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
5596 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
5597 * sysdeps/s390/ffs.c (__ffs): Likewise.
5598 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
5599
3ea5be54
AO
56002013-09-20 Alexandre Oliva <aoliva@redhat.com>
5601
ffb89e53
AO
5602 * NEWS: Mention malloc probes.
5603
322dea08
AO
5604 * malloc/arena.c (new_heap): New memory_heap_new probe.
5605 (grow_heap): New memory_heap_more probe.
5606 (shrink_heap): New memory_heap_less probe.
5607 (heap_trim): New memory_heap_free probe.
5608 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
5609 (systrim): New memory_sbrk_less probe.
5610 * manual/probes.texi: Document them.
5611
655673f3
AO
5612 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
5613 * manual/probes.texi: Document it.
5614
35fed6f1
AO
5615 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
5616 (__libc_realloc): Add memory_realloc_retry probe.
5617 (__libc_memalign): Add memory_memalign_retry probe.
5618 (__libc_valloc): Add memory_valloc_retry probe.
5619 (__libc_pvalloc): Add memory_pvalloc_retry probe.
5620 (__libc_calloc): Add memory_calloc_retry probe.
5621 * manual/probes.texi: Document them.
5622
6999d38c
AO
5623 * malloc/arena.c (get_free_list): Add probe
5624 memory_arena_reuse_free_list.
5625 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
5626 and memory_arena_reuse.
5627 (arena_get2) [!PER_THREAD]: Likewise.
5628 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
5629 memory_arena_reuse_realloc.
5630 * manual/probes.texi: Document them.
5631
0653427f
AO
5632 * malloc/malloc.c (__libc_free): Add
5633 memory_mallopt_free_dyn_thresholds probe.
5634 (__libc_mallopt): Add multiple memory_mallopt probes.
5635 * manual/probes.texi: Document them.
5636
3ea5be54
AO
5637 * malloc/malloc.c: Include stap-probe.h.
5638 (__libc_mallopt): Add memory_mallopt probe.
5639 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
5640 * manual/probes.texi: New.
5641 * manual/Makefile (chapters): Add probes.
5642 * manual/threads.texi: Set next node.
5643
e35696c3 56442013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 5645
e35696c3
CL
5646 [BZ #15963, #13985]
5647 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
5648 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
5649 Add `Chinese' to `nan' entry name.
5650
4aafb73c
SP
56512013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5652
5653 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
5654 (POLYNOMIAL): Likewise.
5655 (TAYLOR_SINCOS): Likewise.
5656 (TAYLOR_SLOW): Likewise.
5657 (__sin): Use TAYLOR_SINCOS.
5658 (__cos): Likewise.
5659 (slow): Use TAYLOR_SLOW.
5660 (sloww): Likewise.
5661 (bsloww): Likewise.
5662 (csloww): Likewise.
5663
d84f25c7
LD
56642013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5665
5666 * stdlib/strtod_l.c: Fix buffer overrun.
5667
5eea0404
SP
56682013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5669
7849ff93
SP
5670 * benchtests/Makefile (bench): Add sincos.
5671 * benchtests/bench-sincos.c: New file.
5672
cfa3c886
SP
5673 * math/libm-test.inc (cos_test_data): New test inputs.
5674 (sin_test_data): Likewise.
5675
b348e1e3
SP
5676 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
5677 macro.
5678 (__sin): Use it.
5679 (__cos): Likewise.
5680 (slow1): Likewise.
5681 (slow2): Likewise.
5682 (sloww1): Likewise.
5683 (sloww2): Likewise.
5684 (bsloww1): Likewise.
5685 (bsloww2): Likewise.
5686 (cslow2): Likewise.
5687 (csloww1): Likewise.
5688 (csloww2): Likewise.
5689
6cce25f8
SP
5690 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
5691 function.
5692 (__sin): Use it.
5693 (__cos): Likewise.
5694
5eea0404
SP
5695 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
5696 gotos.
5697 (__cos): Likewise.
5698
9c21573c
MR
56992013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
5700
5701 * config.h.in (HAVE_MIPS_NAN2008): New macro.
5702 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
5703 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
5704 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
5705 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
5706 * elf/cache.c (print_entry): Handle the new cache flags.
5707
24d22e65
JM
57082013-09-18 Joseph Myers <joseph@codesourcery.com>
5709 Aldy Hernandez <aldyh@redhat.com>
5710
5711 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
5712 Change condition to [_SOFT_FLOAT].
5713 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
5714 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
5715 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
5716 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
5717 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
5718 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
5719 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
5720 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
5721 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
5722 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
5723 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
5724 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
5725 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
5726 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
5727 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
5728 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
5729 declaration.
5730
d13ef066
JM
57312013-09-18 Joseph Myers <joseph@codesourcery.com>
5732
2e071de0
JM
5733 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
5734 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5735 (__longjmp): Use LOAD_GP to load saved GPRs.
5736 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
5737 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5738 (__sigsetjmp): Use SAVE_GP to save GPRs.
5739
d13ef066
JM
5740 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
5741 Do not append -msoft-float.
5742 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
5743
97a0650b
SP
57442013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5745
5746 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
5747
11ca09e9
JM
57482013-09-17 Joseph Myers <joseph@codesourcery.com>
5749
5750 [BZ #15966]
5751 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
5752 (_FPU_GETCW): Use initial "__" on variable and field names but not
5753 on macro parameter name.
5754 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
5755 parentheses around reference to macro parameter.
5756
08ffcf34
RS
57572013-09-13 Richard Sandiford <richard@codesourcery.com>
5758
5759 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
5760 prototype.
5761 (ctype_startup): Use uint32_t in cast and sizeof for
5762 ctype->charnames.
5763
ae7080d3
JL
57642013-09-11 Jia Liu <proljc@gmail.com>
5765
5766 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
5767 __daddr_t_defined.
5768 [__FreeBSD__]: Likewise.
5769
5905e7b3
OB
57702013-09-11 Ondřej Bílka <neleai@seznam.cz>
5771
5772 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5773 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
5774 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
5775 (strchr): Remove __strchr_sse42 ifunc selection.
5776 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
5777 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
5778
b987c776
WN
57792013-09-11 Will Newton <will.newton@linaro.org>
5780
5781 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
5782 parameter to RES. Remove hardcoded 1000 value.
5783 * benchtests/bench-skeleton.c (main): Pass RES parameter
5784 to TIMING_INIT and multiply result by 1000.
5785
ddf985af
AZ
57862013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5787
5788 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5789
ffdd3181
AS
57902013-09-11 Andreas Schwab <schwab@suse.de>
5791
5792 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
5793 if not defined.
5794 (O_TMPFILE) [__USE_GNU]: Define.
5795 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
5796 Define.
5797
b73ed247
WN
57982013-09-11 Will Newton <will.newton@linaro.org>
5799
5800 [BZ #15857]
5801 * malloc/malloc.c (__libc_memalign): Check the value of bytes
5802 does not overflow.
5803
55e17aad
WN
58042013-09-11 Will Newton <will.newton@linaro.org>
5805
5806 [BZ #15856]
5807 * malloc/malloc.c (__libc_valloc): Check the value of bytes
5808 does not overflow.
5809
1159a193
WN
58102013-09-11 Will Newton <will.newton@linaro.org>
5811
5812 [BZ #15855]
5813 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
5814 does not overflow.
5815
5905e7b3 58162013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
5817
5818 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
5819 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5820 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5821 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5822 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5823
cdfc721b
AM
58242013-09-10 Allan McRae <allan@archlinux.org>
5825
aa04af00
AM
5826 [BZ #15748]
5827 * manual/arith.texi (Parsing of Floats): Clarify
5828 cross-reference.
5829
cdfc721b
AM
5830 [BZ #15849]
5831 * manual/install.texi (Running make install): Mention
5832 --enable-pt-chown.
5833 * INSTALL: Regenerated.
5834
95e7cf29
MR
58352013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5836
5837 * csu/init-first.c (_init): Remove the !SHARED condition around
5838 FPU control word initialization.
5839 * elf/dl-support.c (_dl_fpu_control): New variable.
5840 (_dl_aux_init) <AT_FPUCW>: Initialize it.
5841 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
5842 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
5843 * math/test-fpucw-static.c: New file.
5844 * math/test-fpucw-ieee.c: New file.
5845 * math/test-fpucw-ieee-static.c: New file.
5846 * math/Makefile (tests): Add `test-fpucw-ieee' and
5847 `$(tests-static)'.
5848 (tests-static): New variable.
5849 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
5850 dependency to...
5851 [($(build-shared),yes)]
5852 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5853 ... this.
5854 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
5855 New dependency.
5856
83e43bf0
AM
58572013-09-09 Allan McRae <allan@archlinux.org>
5858
a9f5ce09
AM
5859 [BZ #15939]
5860 * manual/string.texi (Collation Functions): Fix typo in
5861 strcoll example.
5862 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
5863
34829bc2
AM
5864 [BZ #15893]
5865 * stdlib/isomac.c (get_null_defines): Fix memory leak.
5866
3932737d
AM
5867 [BZ #15892]
5868 * libio/memstream.c (open_memstream): Fix memory leak.
5869 * libio/wmemstream.c (open_wmemstream): Likewise.
5870
83e43bf0
AM
5871 [BZ #15895]
5872 * nscd/netgroupcache.c: Fix nesting of ifdefs.
5873
0c66b8e9
WN
58742013-09-09 Will Newton <will.newton@linaro.org>
5875
5876 * malloc/Makefile: Add tst-realloc to tests.
5877 * malloc/tst-realloc.c: New file.
5878
f6b00fd1
AM
58792013-09-09 Allan McRae <allan@archlinux.org>
5880
5881 [BZ #15844]
5882 * COPYING: Update from GNU website to fix FSF address.
5883 * COPYING.LIB: Likewise.
5884
eec55e16
DM
58852013-09-06 David S. Miller <davem@davemloft.net>
5886
5887 * po/zh_TW.po: Update Chinese (traditional) translation from
5888 translation project.
5889
1ecbb381
RS
58902013-09-06 Richard Sandiford <richard@codesourcery.com>
5891 Joseph Myers <joseph@codesourcery.com>
5892
5893 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
5894 "localeinfo.h".
5895 (obstack_chunk_alloc): New macro.
5896 (obstack_chunk_free): Likewise.
5897 (record_offset): New function.
5898 (init_locale_data): Likewise.
5899 (align_locale_data): Likewise.
5900 (add_locale_empty): Likewise.
5901 (add_locale_raw_data): Likewise.
5902 (add_locale_raw_obstack): Likewise.
5903 (add_locale_string): Likewise.
5904 (add_locale_wstring): Likewise.
5905 (add_locale_uint32): Likewise.
5906 (add_locale_uint32_array): Likewise.
5907 (add_locale_char): Likewise.
5908 (start_locale_structure): Likewise.
5909 (end_locale_structure): Likewise.
5910 (start_locale_prelude): Likewise.
5911 (end_locale_prelude): Likewise.
5912 (write_locale_data): Take locale_file structure rather than an
5913 iovec.
5914 * locale/programs/locfile.h: Include "obstack.h".
5915 (struct locale_file): Change to store locale file contents instead
5916 of header.
5917 (init_locale_data): New prototype.
5918 (align_locale_data): Likewise.
5919 (add_locale_empty): Likewise.
5920 (add_locale_raw_data): Likewise.
5921 (add_locale_raw_obstack): Likewise.
5922 (add_locale_string): Likewise.
5923 (add_locale_wstring): Likewise.
5924 (add_locale_uint32): Likewise.
5925 (add_locale_uint32_array): Likewise.
5926 (add_locale_char): Likewise.
5927 (start_locale_structure): Likewise.
5928 (end_locale_structure): Likewise.
5929 (start_locale_prelude): Likewise.
5930 (end_locale_prelude): Likewise.
5931 (write_locale_data): Update prototype.
5932 * locale/programs/3level.h (struct TABLE): Remove result field.
5933 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
5934 Use new locale_file interface.
5935 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
5936 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
5937 * locale/programs/ld-address.c (address_output): Use new
5938 locale_file interface.
5939 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
5940 NO_ADD_LOCALE.
5941 (collate_finish): Don't call collseq_table_finalize.
5942 (collate_output): Use new locale_file interface.
5943 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
5944 in file.
5945 (NO_FINALIZE): Change to NO_ADD_LOCALE.
5946 (TABLE): Move defines earlier in file.
5947 (ELEMENT): Likewise.
5948 (DEFAULT): Likewise.
5949 (wctrans_table_add): Move macro and inline function earlier in
5950 file.
5951 (struct wctype_table): Move type earlier in file.
5952 (add_locale_wctype_table): New static prototype.
5953 (struct locale_ctype_t): Use logical types instead of struct iovec
5954 pointers for members.
5955 (ctype_output): Use new locale_file interface.
5956 (wctype_table_finalize): Change to add_locale_wctype_table. Use
5957 new locale_file interface.
5958 (allocate_arrays): Update for use of new locale_file interface.
5959 * locale/programs/ld-identification.c (identification_output): Use
5960 new locale_file interface.
5961 * locale/programs/ld-measurement.c (measurement_output): Likewise.
5962 * locale/programs/ld-messages.c (messages_output): Likewise.
5963 * locale/programs/ld-monetary.c (monetary_output): Likewise.
5964 * locale/programs/ld-name.c (name_output): Likewise.
5965 * locale/programs/ld-numeric.c (numeric_output): Likewise.
5966 * locale/programs/ld-paper.c (paper_output): Likewise.
5967 * locale/programs/ld-telephone.c (telephone_output): Likewise.
5968 * locale/programs/ld-time.c (time_output): Likewise.
5969
e029e2e5
AZ
59702013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5971
5972 * benchtests/Makefile: Add memrchr benchmark.
5973 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
5974 benchmark as memrchr.
5975 * benchtests/bench-memrchr-ifunc.c: New file.
5976 * benchtests/bench-memrchr.c: New file.
5977
bbf6e8e4
WN
59782013-09-06 Will Newton <will.newton@linaro.org>
5979
5980 * benchtests/Makefile (string-bench): Add memcpy.
5981
6c82a2f8
CD
59822013-09-05 Carlos O'Donell <carlos@redhat.com>
5983 Cong Wang <amwang@redhat.com>
5984
e732c5f0 5985 [BZ #15850]
6c82a2f8
CD
5986 * sysdeps/unix/sysv/linux/bits/in.h
5987 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
5988 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
5989 before __USE_KERNEL_IPV6_DEFS uses.
5990 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
5991 IPPROTO_BEETPH.
5992 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
5993 sockaddr_in6, or ipv6_mreq.
5994
5430fc65
AZ
59952013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5996
5997 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
5998 memory access for final bytes in some large inputs.
5999 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
6000
4660856c
AZ
60012013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6002
6003 * string/test-memrchr.c: New file.
6004 * string/test-memrchr-ifunc.c: New file.
6005 * string/Makefile: Add new memrchr testcase.
6006
bb8ea713
MF
60072013-09-05 Mike Frysinger <vapier@gentoo.org>
6008
6009 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
6010 fanotify_init returns EPERM.
6011
b92a20b5
JM
60122013-09-04 Joseph Myers <joseph@codesourcery.com>
6013
6014 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
6015 errors.
6016 (top level): Treat second token from macro or constant entries for
6017 allowed headers as allowed.
6018 * include/complex.h: Condition internal declarations on
6019 [!_ISOMAC].
6020 * include/fenv.h: Condition include of <stdbool.h> and internal
6021 declarations on [!_ISOMAC].
7447ccd9
CL
6022
60232013-09-04 Chris Leonard <cjl@sugarlabs,.org>
6024
3e181dda 6025 [BZ #15923]
7447ccd9
CL
6026 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
6027
3f2e46a4
JM
60282013-09-04 Joseph Myers <joseph@codesourcery.com>
6029
6030 * configure.in (--enable-versioning): Remove configure option.
6031 (libc_cv_asm_symver_directive): Remove configure test.
6032 (libc_cv_ld_version_script_option): Likewise.
6033 (VERSIONING): Remove variable and AC_SUBST.
6034 (DO_VERSIONING): Remove AC_DEFINE.
6035 * configure: Regenerated.
6036 * config.h.in (DO_VERSIONING): Remove macro.
6037 * Makerules [$(versioning) = yes]: Change conditionals to
6038 [$(build-shared) = yes].
6039 * config.make.in (versioning): Remove variable.
6040 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
6041 [$(build-shared) = yes].
6042 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
6043 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
6044 * elf/Makefile [$(versioning) = yes]: Change conditionals to
6045 [$(build-shared) = yes].
6046 * extra-lib.mk [$(versioning) = yes]: Likewise.
6047 * hurd/Makefile [$(versioning) = yes]: Likewise.
6048 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
6049 [SHARED].
6050 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
6051 [SHARED].
6052 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
6053 [SHARED && !NO_HIDDEN].
6054 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
6055 [SHARED].
6056 [SHARED && DO_VERSIONING]: Likewise..
6057 * libio/Makefile [$(versioning) = yes]: Change conditionals to
6058 [$(build-shared) = yes].
6059 * manual/install.texi (--disable-versioning): Remove
6060 documentation.
6061 * INSTALL: Regenerated.
6062 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
6063 to [SHARED].
6064 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
6065 [$(build-shared) = yes].
6066 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
6067 * sysdeps/i386/i686/multiarch/strstr-c.c
6068 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
6069 [SHARED && !NO_HIDDEN].
6070 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
6071 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
6072 * sysdeps/powerpc/powerpc32/dl-machine.c
6073 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
6074 * sysdeps/powerpc/powerpc32/sysdep.h
6075 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
6076 to [SHARED && PIC && !NO_HIDDEN].
6077 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
6078 conditional to [SHARED].
6079
44558701
WN
60802013-09-04 Will Newton <will.newton@linaro.org>
6081
6082 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
6083 * benchtests/bench-string.h: Include bench-timing.h instead
6084 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
6085 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
6086 call to HP_TIMING_DIFF_INIT.
6087 * benchtests/bench-memccpy.c: Use bench-timing.h macros
6088 instead of hp-timing.h macros.
6089 * benchtests/bench-memchr.c: Likewise.
6090 * benchtests/bench-memcmp.c: Likewise.
6091 * benchtests/bench-memcpy.c: Likewise.
6092 * benchtests/bench-memmem.c: Likewise.
6093 * benchtests/bench-memmove.c: Likewise.
6094 * benchtests/bench-memset.c: Likewise.
6095 * benchtests/bench-rawmemchr.c: Likewise.
6096 * benchtests/bench-strcasecmp.c: Likewise.
6097 * benchtests/bench-strcasestr.c: Likewise.
6098 * benchtests/bench-strcat.c: Likewise.
6099 * benchtests/bench-strchr.c: Likewise.
6100 * benchtests/bench-strcmp.c: Likewise.
6101 * benchtests/bench-strcpy.c: Likewise.
6102 * benchtests/bench-strcpy_chk.c: Likewise.
6103 * benchtests/bench-strlen.c: Likewise.
6104 * benchtests/bench-strncasecmp.c: Likewise.
6105 * benchtests/bench-strncat.c: Likewise.
6106 * benchtests/bench-strncmp.c: Likewise.
6107 * benchtests/bench-strncpy.c: Likewise.
6108 * benchtests/bench-strnlen.c: Likewise.
6109 * benchtests/bench-strpbrk.c: Likewise.
6110 * benchtests/bench-strrchr.c: Likewise.
6111 * benchtests/bench-strspn.c: Likewise.
6112 * benchtests/bench-strstr.c: Likewise.
6113
cae16d66
WN
61142013-09-04 Will Newton <will.newton@linaro.org>
6115
6116 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
6117
ffa3cd7f
JM
61182013-09-03 Joseph Myers <joseph@codesourcery.com>
6119
6120 [BZ #15427]
6121 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
6122 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
6123 * math/libm-test.inc (lgamma_test_data): Add more tests.
6124 * sysdeps/i386/fpu/libm-test-ulps: Update.
6125 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6126
8f02859f
OB
61272013-09-03 Ondřej Bílka <neleai@seznam.cz>
6128
6129 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
6130 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6131 Add ifunc.
6132 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6133 Add strcmp-sse2-unaligned
6134 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
6135
18d43716
MF
61362013-09-02 Mike Frysinger <vapier@gentoo.org>
6137
6138 * Versions.def (libc): Add GLIBC_2.19.
6139
ac444012
MF
61402013-09-02 Mike Frysinger <vapier@gentoo.org>
6141
6142 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
6143 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
6144
b7835e32
JM
61452013-09-02 Joseph Myers <joseph@codesourcery.com>
6146
6147 [BZ #14155]
6148 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
6149 intermediate calculations in recurrence.
6150 (__ieee754_ynf): Likewise.
6151 * math/libm-test.inc (jn_test_data): Do not allow spurious
6152 underflow exception. Add more tests.
6153 (yn_test_data): Add more tests.
6154 * sysdeps/i386/fpu/libm-test-ulps: Update.
6155 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6156
8220f4f0
OB
61572013-09-02 Ondřej Bílka <neleai@seznam.cz>
6158
6159 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
6160
f24a6d08
OB
61612013-08-30 Ondřej Bílka <neleai@seznam.cz>
6162
6163 * csu/init-first.c: Fix then/than typos.
6164 * locale/programs/ld-collate.c: Likewise.
6165 * locale/programs/linereader.h: Likewise.
6166 * manual/charset.texi: Likewise.
6167 * manual/filesys.texi: Likewise.
6168 * manual/stdio.texi: Likewise.
6169 * manual/string.texi: Likewise.
6170 * stdlib/fmtmsg.c: Likewise.
6171 * sysdeps/i386/stpncpy.S: Likewise.
6172 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6173 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
6174 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6175 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6176
382466e0
OB
61772013-08-30 Ondřej Bílka <neleai@seznam.cz>
6178
6179 * elf/dl-open.c: Fix typos.
6180 * iconvdata/gbbig5.c: Likewise.
6181 * iconvdata/iso-2022-jp.c: Likewise.
6182 * iconv/gconv_int.h: Likewise.
6183 * iconv/loop.c: Likewise.
6184 * nis/rpcsvc/nis.h: Likewise.
6185 * resolv/ns_name.c: Likewise.
6186 * stdio-common/vfscanf.c: Likewise.
6187 * streams/stropts.h: Likewise.
6188 * sunrpc/rpc_thread.c: Likewise.
6189 * sysdeps/i386/strpbrk.S: Likewise.
6190 * sysdeps/ieee754/k_standard.c: Likewise.
6191 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6192 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6193 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
6194 * sysdeps/mach/hurd/profil.c: Likewise.
6195 * sysdeps/s390/dl-procinfo.h: Likewise.
6196 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
6197 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
6198 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
6199 * sysdeps/x86_64/dl-trampoline.S: Likewise.
6200 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
6201
0186c6e9
OB
62022013-08-30 Ondřej Bílka <neleai@seznam.cz>
6203
6204 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
6205 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
6206
d4e16af1
OB
62072013-08-29 Ondřej Bílka <neleai@seznam.cz>
6208
6209 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
6210 aix specific files.
6211 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
6212 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
6213 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
6214 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
6215 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
6216 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
6217 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
6218 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
6219
88335980
TS
62202013-08-29 Thomas Schwinge <thomas@codesourcery.com>
6221 Roland McGrath <roland@hack.frob.com>
6222
6223 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
6224 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
6225
ed479b02
ST
62262013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
6227
6228 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
6229 __executable_start symbol instead of _start.
6230
f1cc4c86
TS
62312013-08-29 Thomas Schwinge <thomas@codesourcery.com>
6232
d821f07c
TS
6233 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
6234 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
6235 Move macros to...
6236 * sysdeps/gnu/ldsodefs.h: ... this new file.
6237
c54290cf
TS
6238 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
6239 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
6240 instead of ELFOSABI_LINUX.
6241
0007fc9b 6242 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
6243 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
6244 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
6245 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
6246 Likewise.
6247 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
6248 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
6249 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
6250 Likewise.
6251 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
6252 (ibm_extended_long_double): Add ieee_nan member.
6253 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
6254 (do_test): New function.
6255
f1cc4c86
TS
6256 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
6257 TEST_TRUNC.
6258 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
6259 functions, renamed from truncdfsf_test, trunctfsf_test,
6260 trunctfdf_test.
6261 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
6262 functions.
6263 (do_test): Run all these.
6264
6f65e668
OB
62652013-08-29 Ondřej Bílka <neleai@seznam.cz>
6266
6267 * argp/argp-help.c: Fix typos.
6268 * argp/argp-parse.c: Likewise.
6269 * debug/backtracesyms.c: Likewise.
6270 * elf/elf.h: Likewise.
6271 * malloc/malloc.c: Likewise.
6272 * nis/nis_print.c: Likewise.
6273 * resolv/res_comp.c: Likewise.
6274 * stdlib/stdlib.h: Likewise.
6275 * sunrpc/clnt_tcp.c: Likewise.
6276 * sunrpc/clnt_udp.c: Likewise.
6277 * sunrpc/clnt_unix.c: Likewise.
6278 * sysdeps/unix/bsd/ptsname.c: Likewise.
6279 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
6280 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
6281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
6282 Likewise.
6283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
6284 Likewise.
6285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
6286 Likewise.
6f65e668
OB
6287 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
6288
3a309239
SP
62892013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6290
6291 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
6292 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6293
3b813b29
MF
62942013-08-27 Mike Frysinger <vapier@gentoo.org>
6295
6296 [BZ #15897]
6297 * dlfcn/Makefile (tests): Add bug-dl-leaf.
6298 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
6299 ($(objpfx)bug-dl-leaf): New rule.
6300 ($(objpfx)bug-dl-leaf.so): Likewise.
6301 ($(objpfx)bug-dl-leaf.out): Likewise.
6302 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
6303 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
6304 * dlfcn/bug-dl-leaf.c: New test.
6305 * dlfcn/bug-dl-leaf-lib.c: Likewise.
6306 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
6307 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
6308 (dlclose): Likewise.
6309 (dlmopen): Likewise.
6310
8cc3269f
RM
63112013-08-27 Roland McGrath <roland@hack.frob.com>
6312
7f9d0034
RM
6313 * include/netdb.h [!_ISOMAC]:
6314 Don't include <tls.h>.
6315 (h_errno, __libc_h_errno): Move declaration and macros out of
6316 [_LIBC_REENTRANT].
6317
fb431262
RM
6318 * include/resolv.h [_RESOLV_H_]:
6319 Don't include <tls.h>.
6320 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
6321 * resolv/res_libc.c: Don't include <tls.h>.
6322 (_res): Use __attribute__ ((nocommon)) in place of
6323 __attribute__ ((section (".bss"))).
6324
bd81123a
RM
6325 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
6326 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
6327
c4e42566
RM
6328 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
6329
f890a59b
RM
6330 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
6331 only under [SIOCGIFCONF && SIOCGIFNETMASK].
6332
6333 * resolv/res_mkquery.c: Include <sys/time.h>.
6334
5d1f0a09
RM
6335 * inet/ifreq.c: Moved to ...
6336 * sysdeps/unix/ifreq.c: ... here.
6337 * inet/ifreq.c: New file, true stub version.
6338
6fcf28b3
RM
6339 * socket/sa_len.c: New file.
6340 * socket/Makefile (aux): Add it.
6341 * sysdeps/unix/sysv/linux/Makefile
6342 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
6343 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
6344 and #include <socket/sa_len.c>.
6345 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
6346 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
6347
e041fb8b
RM
6348 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
6349 * bits/socket.h: ... here.
6350
8cc3269f
RM
6351 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
6352 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
6353 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
6354
5d228a43
AS
63552013-08-27 Andreas Schwab <schwab@suse.de>
6356
45b8accc
AS
6357 [BZ #15736]
6358 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
6359 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
6360 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
6361 * string/test-strcasecmp.c (test_main): Run tests in several
6362 locales.
6363 * string/test-strncasecmp.c (test_main): Likewise.
6364
5d228a43
AS
6365 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
6366 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
6367 to __strcasecmp_nonascii and __strncasecmp_nonascii.
6368 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
6369 (__strncasecmp_ssse3) [PIC]: Likewise.
6370
59d112a4
RM
63712013-08-26 Roland McGrath <roland@hack.frob.com>
6372
53234cc3
RM
6373 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
6374
59d112a4
RM
6375 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
6376 instead of explicitly declaring xdecrypt.
6377 * nis/nss_nis/nis-publickey.c: Likewise.
6378
595aba70
SP
63792013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6380
6381 [BZ #15890]
6382 * nscd/aicache.c: Include res_hconf.h.
6383 (addhstaiX): Initialize res_hconf.
6384
ffabd393
AS
63852013-08-26 Andreas Schwab <schwab@suse.de>
6386
6387 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
6388 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
6389
e0a69f5c
SP
63902013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6391
6392 * nscd/aicache.c (addhstaiX): Fix indentation.
6393
8c12f01d
MF
63942013-08-25 Mike Frysinger <vapier@gentoo.org>
6395
6396 * configure.ac: Quote $build_pt_chown test.
6397 * configure: Regenerated.
6398
8fe89494
JM
63992013-08-23 Joseph Myers <joseph@codesourcery.com>
6400
6401 [BZ #15532]
6402 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
6403 * math/s_cexpf.c (__cexpf): Likewise.
6404 * math/s_cexpl.c (__cexpl): Likewise.
6405 * math/libm-test.inc (cexp_test_data): Correct expected return
6406 value for NaN + i0. Add another test.
6407
75b181d6
DM
64082013-08-22 David S. Miller <davem@davemloft.net>
6409
6410 * po/ca.po: Update Catalan translation from translation project.
936241e4 6411 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 6412
acd06bb1
JM
64132013-08-21 Joseph Myers <joseph@codesourcery.com>
6414
6415 [BZ #15797]
6416 * math/s_fdim.c (__fdim): Check for infinite arguments if result
6417 is infinite, not alongside NaN test.
6418 * math/s_fdimf.c (__fdimf): Likewise.
6419 * math/s_fdiml.c (__fdiml): Likewise.
6420 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
6421 errno is unchanged.
6422
c0c3f78a
OB
64232013-08-21 Ondřej Bílka <neleai@seznam.cz>
6424
6425 * argp/argp-help.c: Fix typos.
6426 * crypt/speeds.c: Likewise.
6427 * csu/check_fds.c: Likewise.
6428 * elf/dl-load.c: Likewise.
6429 * elf/dl-open.c: Likewise.
6430 * elf/reldep3.c: Likewise.
6431 * elf/reldep.c: Likewise.
6432 * elf/sprof.c: Likewise.
6433 * iconv/iconv_charmap.c: Likewise.
6434 * iconv/skeleton.c: Likewise.
6435 * iconv/strtab.c: Likewise.
6436 * io/lockf64.c: Likewise.
6437 * libio/libioP.h: Likewise.
6438 * resolv/gai_notify.c: Likewise.
6439 * resolv/ns_name.c: Likewise.
6440 * resolv/ns_samedomain.c: Likewise.
6441 * resolv/res_send.c: Likewise.
6442 * stdlib/random.c: Likewise.
6443 * sunrpc/rpc/xdr.h: Likewise.
6444 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
6445 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6446 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6447 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6448 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6449 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6450 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6451 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6452 * sysdeps/mach/hurd/check_fds.c: Likewise.
6453 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
6454 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
6455 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6456 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
6457 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
6458 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
6459 * sysdeps/pthread/aio_notify.c: Likewise.
6460 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
6461 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
6462 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
6463 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
6464 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
6465
46ed1038
LD
64662013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6467
6468 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
6469 version if bit_Slow_SSE4_2 is set.
6470 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6471 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6472
d400dcac
AZ
64732013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6474
6475 [BZ #15867]
6476 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
6477 trampoline stack frame information.
6478 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
6479 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
6480 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
6481 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
6482 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
6483 * sysdeps/unix/sysv/linux/powerpc/init-first.c
6484 (_libc_vdso_platform_setup): Initialize the signal trampolines.
6485 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
6486 sa_flags value.
6487 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
6488 interrupting a syscall and set with option SA_SIGINFO.
6489
42c8fdd8
JM
64902013-08-20 Joseph Myers <joseph@codesourcery.com>
6491
c980f2f4
JM
6492 [BZ #15531]
6493 * math/s_cproj.c (__cproj): Only return an infinity if one part of
6494 argument is infinite.
6495 * math/s_cprojf.c (__cprojf): Likewise.
6496 * math/s_cprojl.c (__cprojl): Likewise.
6497 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
6498 * math/libm-test.inc (cproj_test_data): Add more tests.
6499
0716c4fc
JM
6500 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
6501
42c8fdd8
JM
6502 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
6503 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
6504 size. Use __ffs to determine corresponding shift.
6505
b31469d0
JM
65062013-08-20 Joseph Myers <joseph@codesourcery.com>
6507 Roland McGrath <roland@hack.frob.com>
6508
6509 * Makefile (INSTALL): Remove trailing blank lines from output of
6510 makeinfo.
6511
4e39af6e
AK
65122013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6513
6514 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
6515 Align 32 bit compat elf_greg to 8 bytes.
6516
f315524e
AA
65172013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
6518
6519 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
6520
1326ba1a
SP
65212013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6522
6523 * string/strcoll_l.c (coll_seq): New structure.
6524 (get_next_seq_cached): New function.
6525 (get_next_seq): New function.
6526 (do_compare): New function.
6527 (STRCOLL): Use GNU style definition. Simplify implementation
6528 by using get_next_seq, get_next_seq_cached and do_compare.
6529
91ce4085
FW
65302013-08-16 Florian Weimer <fweimer@redhat.com>
6531
6532 [BZ #14699]
6533 CVE-2013-4237
6534 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
6535 member.
6536 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
6537 member.
6538 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
6539 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
6540 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
6541 conditional.
6542 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
6543 GETDENTS_64BIT_ALIGNED.
6544 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
6545 * manual/filesys.texi (Reading/Closing Directory): Document
6546 ENAMETOOLONG return value of readdir_r. Recommend readdir more
6547 strongly.
6548 * manual/conf.texi (Limits for Files): Add portability note to
6549 NAME_MAX, PATH_MAX.
6550 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
6551
ca0a6bc4
AS
65522013-08-13 Andreas Schwab <schwab@suse.de>
6553
6554 [BZ #15749]
6555 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
6556 of fabs.
6557 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
6558 LDBL_MAX_EXP >= 16384]: Add tests for it.
6559
6c1fd795
DM
65602013-08-12 David S. Miller <davem@davemloft.net>
6561
6562 * version.h (RELEASE): Set to "development".
6563 (VERSION): Set to "2.18.90".
6564 * NEWS: Add 2.19 section.
6565
31ad488d
DM
65662013-08-03 David S. Miller <davem@davemloft.net>
6567
6568 * po/ko.po: Update Korean translation from translation project.
6569
db24e684
DM
65702013-08-01 David S. Miller <davem@davemloft.net>
6571
6572 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
6573 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
6574 Bilka.
6575
f723285b
DM
65762013-07-30 David S. Miller <davem@davemloft.net>
6577
6578 * po/fr.po: Update French translation from translation project.
6579
3cbc52db
DM
65802013-07-28 David S. Miller <davem@davemloft.net>
6581
30bbc0cc
DM
6582 * po/cs.po: Update Czech translation from translation project.
6583
3cbc52db
DM
6584 * po/sv.po: Update Swedish translation from translation project.
6585
d492e6d0
DM
65862013-07-27 David S. Miller <davem@davemloft.net>
6587
f1a7f492
DM
6588 * po/eo.po: Update Esperanto translation from translation project.
6589
90e62a4a
DM
6590 * po/vi.po: Update Vietnamese translation from translation project.
6591
d492e6d0
DM
6592 * po/de.po: Update German translation from translation project.
6593
d4baa62d
DM
65942013-07-26 David S. Miller <davem@davemloft.net>
6595
641aa7b4
DM
6596 * po/bg.po: Update Bulgarian translation from translation project.
6597
d4baa62d
DM
6598 * po/nl.po: Update Dutch translation from translation project.
6599 * po/pl.po: Update Polish translation from translation project.
6600 * po/ru.po: Update Russian translation from translation project.
6601
61a9dcb9
DM
66022013-07-24 David S. Miller <davem@davemloft.net>
6603
6604 * po/libc.pot: Update.
6605
7b1f8b58
AZ
66062013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6607
6608 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
6609 variable page size.
6610 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
6611 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
6612 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
6613
a8fc7a03
AK
66142013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6615
6616 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
6617
e4608715
CD
66182013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6619 Andreas Schwab <schwab@suse.de>
6620 Roland McGrath <roland@hack.frob.com>
6621 Joseph Myers <joseph@codesourcery.com>
6622 Carlos O'Donell <carlos@redhat.com>
6623
6624 [BZ #15755]
6625 * config.h.in: Define HAVE_PT_CHOWN.
6626 * config.make.in (build-pt-chown): New variable.
6627 * configure.in (--enable-pt_chown): New configure option.
6628 * configure: Regenerate.
6629 * login/Makefile: Include Makeconfig. Build pt_chown only if
6630 build-pt-chown is enabled.
6631 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
6632 pt_chown to fix pty ownership.
6633 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
6634 CLOSE_ALL_FDS.
6635 * manual/install.texi (Configuring and compiling): Mention
6636 --enable-pt_chown. Add @findex for grantpt.
6637 * INSTALL: Regenerate.
6638
da2d62df
DM
66392013-07-20 David S. Miller <davem@davemloft.net>
6640
6641 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
6642 difference between 32-bit and 64-bit.
6643
d7e06450
CD
66442013-07-15 Carlos O'Donell <carlos@redhat.com>
6645
6646 [BZ #15711]
6647 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
6648 Avoid system header dependency with -ffreestanding.
6649 ($(objpfx)bits/syscall%d): Likewise.
6650
f959cfd7
DM
66512013-07-13 David S. Miller <davem@davemloft.net>
6652
6653 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
6654 underflows from atanl/atan2l due to bug 15319.
6655 (casinh_test_data): Likewise.
6656
c61f8513
DM
66572013-07-07 David S. Miller <davem@davemloft.net>
6658
6659 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
6660
72c90ed0
JA
66612013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
6662
6663 * sysdeps/i386/fpu/libm-test-ulps: Update.
6664 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6665
52dfbe13
SP
66662013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6667
6668 * configure.in (--enable-lock-elision): Fix message text.
6669 * INSTALL: Regenerate.
6670 * configure: Regenerate.
6671
3f169543
AZ
66722013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6673
6674 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6675
521c6785
AJ
66762013-07-03 Andreas Jaeger <aj@suse.de>
6677
6678 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
6679 define.
6680 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
6681 (ptrace_peeksiginfo_args): Add.
6682 (__ptrace_peeksiginfo_flags): Add.
6683 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6684 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6685 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6686
d2cc15cb
AM
66872013-07-03 Allan McRae <allan@archlinux.org>
6688
6689 * sysdeps/i386/fpu/libm-test-ulps: Update.
6690
3aaeeca7
DM
66912013-07-02 David S. Miller <davem@davemloft.net>
6692
6693 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6694
5314ed1a
MT
66952013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
6696
6697 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6698
67338156
JM
66992013-07-02 Joseph Myers <joseph@codesourcery.com>
6700
6701 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6702 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6703
1717da59
AK
67042013-07-02 Andi Kleen <ak@linux.intel.com>
6705
6706 * config.h.in (ENABLE_LOCK_ELISION): Add.
6707 * configure.in (--enable-lock-elision): Add option.
6708 * manual/install.texi: Document --enable lock elision.
6709 * configure: Regenerate
6710 * INSTALL: Regenerate.
6711
1c81621c
L
67122013-07-02 H.J. Lu <hongjiu.lu@intel.com>
6713
6714 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
6715 SSE4.2 strcasecmp for libc.a.
6716 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6717
77f01ab5
JM
67182013-07-02 Joseph Myers <joseph@codesourcery.com>
6719
6720 [BZ #13304]
6721 * soft-fp/op-common.h (_FP_FMA): New macro.
6722 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
6723 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
6724 (_FP_MUL_MEAT_1_imm): ... here.
6725 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
6726 (_FP_MUL_MEAT_1_wide): ... here.
6727 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
6728 (_FP_MUL_MEAT_1_hard): ... here.
6729 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
6730 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
6731 (_FP_MUL_MEAT_2_wide): ... here.
6732 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
6733 (_FP_MUL_MEAT_2_wide_3mul): ... here.
6734 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
6735 (_FP_MUL_MEAT_2_gmp): ... here.
6736 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
6737 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
6738 (_FP_MUL_MEAT_4_wide): ... here.
6739 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
6740 (_FP_MUL_MEAT_4_gmp): ... here.
6741 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
6742 (_FP_WFRACBITS_DW_S): Likewise.
6743 (_FP_WFRACXBITS_DW_S): Likewise.
6744 (_FP_HIGHBIT_DW_S): Likewise.
6745 (FP_FMA_S): Likewise.
6746 (_FP_FRAC_HIGH_DW_S): Likewise.
6747 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
6748 (_FP_WFRACBITS_DW_D): Likewise.
6749 (_FP_WFRACXBITS_DW_D): Likewise.
6750 (_FP_HIGHBIT_DW_D): Likewise.
6751 (FP_FMA_D): Likewise.
6752 (_FP_FRAC_HIGH_DW_D): Likewise.
6753 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
6754 (_FP_WFRACBITS_DW_E): Likewise.
6755 (_FP_WFRACXBITS_DW_E): Likewise.
6756 (_FP_HIGHBIT_DW_E): Likewise.
6757 (FP_FMA_E): Likewise.
6758 (_FP_FRAC_HIGH_DW_E): Likewise.
6759 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
6760 (_FP_WFRACBITS_DW_Q): Likewise.
6761 (_FP_WFRACXBITS_DW_Q): Likewise.
6762 (_FP_HIGHBIT_DW_Q): Likewise.
6763 (FP_FMA_Q): Likewise.
6764 (_FP_FRAC_HIGH_DW_Q): Likewise.
6765 * soft-fp/fmasf4.c: New file.
6766 * soft-fp/fmadf4.c: Likewise.
6767 * soft-fp/fmatf4.c: Likewise.
6768
6308fd9a
LD
67692013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6770
6771 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
6772 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
6773 Silvermont.
6774 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
6775 macro.
6776 (index_Slow_SSE4_2): Likewise.
6777 (index_Prefer_PMINUB_for_stringop): Likewise.
6778 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
6779 bit_Slow_SSE4_2 is set.
6780 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6781 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6782
89cd9569
RA
67832013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6784
6785 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
6786 rtld_global._dl_hwcap2.
6787 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
6788 POWER8.
6789 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
6790 POWER8 feature descriptions defined in _dl_hwcap2.
6791 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
6792 string handling for POWER8 feature bits.
6793 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
6794 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
6795 _dl_powerpc_cap_flags.
6796 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
6797 * sysdeps/powerpc/rtld-global-offsets.sym
6798 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
6799 _dl_hwcap2 in the rtld_global_ro structure.
6800
1ae8bfe0
RA
68012013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6802
6803 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
6804 hardware capabilities in support of AT_HWCAP2.
6805 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
6806 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
6807 GLRO(dl_hwcap2).
6808 (_dl_show_auxv): Add support for calling _dl_procinfo to display
6809 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
6810 explicitly the unknown a_type display mechanism is used.
6811 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
6812 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
6813 struct member.
6814 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
6815 to macro prototype for AT_HWCAP2 support.
6816 * sysdeps/i386/dl-procinfo.h: Likewise.
6817 * sysdeps/s390/dl-procinfo.h: Likewise.
6818 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
6819 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
6820 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
6821 return -1 for unknown a_type display fallback.
6822 * sysdeps/sparc/dl-procinfo.h: Likewise.
6823 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
6824 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
6825
8fbec010
JM
68262013-06-28 Joseph Myers <joseph@codesourcery.com>
6827
6828 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
6829 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
6830
0432680e
PY
68312013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
6832
6833 [BZ #12492]
6834 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
6835 mprotect making __stack_prot writable.
6836
ce61a2ad
NF
68372013-06-28 Nathan Froyd <froydnj@codesourcery.com>
6838 Joseph Myers <joseph@codesourcery.com>
6839
6840 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
6841 as being properly aligned.
6842
f91f1c0f
MR
68432013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
6844
3d0f5d0c
MR
6845 * dlfcn/modstatic5.c: New file.
6846 * dlfcn/tststatic5.c: New file.
6847 * dlfcn/Makefile (tests): Add tststatic5.
6848 (tests-static): Likewise.
6849 (modules-names): Add modstatic5.
6850 (tststatic5-ENV): New variable.
6851 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
6852
f91f1c0f
MR
6853 [BZ #15022]
6854 * elf/dl-support.c (_dl_main_map): New variable.
6855 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
6856 (_dl_nns, _dl_load_adds): Set to 1.
6857 (_dl_initial_searchlist): Refer to _dl_main_map.
6858 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
6859 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
6860 call to _dl_get_origin.
6861 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
6862 around call_map.
6863 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
6864 * dlfcn/modstatic3.c: New file.
6865 * dlfcn/tststatic3.c: New file.
6866 * dlfcn/tststatic4.c: New file.
6867 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
6868 (tests-static): Likewise.
6869 (modules-names): Add modstatic3.
6870 (tststatic3-ENV, tststatic4-ENV): New variables.
6871 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
6872 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
6873
cbe7d24b
JM
68742013-06-26 Joseph Myers <joseph@codesourcery.com>
6875
6876 * configure.in (CC): Require GCC version 4.4 or later.
6877 * configure: Regenerated.
6878 * manual/install.texi (Tools for Compilation): Update GCC version
6879 requirement.
6880 * INSTALL: Regenerated.
6881
11b8a0e1
LD
68822013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6883
6884 [BZ #15674]
bb5bb87c
L
6885 * string/test-memcmp.c (check2): New.
6886 (main): Call check2.
6887
11b8a0e1
LD
6888 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
6889
b0037103
MR
68902013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
6891
6892 [BZ #15022]
6893 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
6894 over to...
6895 (dl_open_worker) [!SHARED]: ... here.
6896
c18c701d
RA
68972013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6898
6899 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
6900
1d17fa5f
RH
69012013-06-25 Richard Henderson <rth@redhat.com>
6902
6903 * locale/programs/locarchive.c: Include <libc-internal.h>
6904
8fcb833a
JM
69052013-06-25 Joseph Myers <joseph@codesourcery.com>
6906
6907 * manual/texinfo.tex: Update to version 2013-06-21.17, with
6908 trailing whitespace removed.
6909
17db6e8d
MF
69102013-06-24 Mike Frysinger <vapier@gentoo.org>
6911
6912 [BZ #10283]
17db6e8d
MF
6913 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
6914 * locale/programs/locarchive.c: Include libc-mmap.h.
6915 (prepare_address_space): Take two new outputs (the mmap base and len).
6916 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
6917 values.
6918 (create_archive): Declare new mmap base and len values for
6919 prepare_address_space, and store the result in ah.
6920 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
6921 (enlarge_archive): If ah->mmap_base is not NULL, use that and
6922 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6923 Declare new mmap base and len values for
6924 prepare_address_space, and store the result in new_ah.
6925 (open_archive): Declare new mmap base and len values for
6926 prepare_address_space, and store the result in ah.
6927 (close_archive): If ah->mmap_base is not NULL, use that and
6928 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6929 * sysdeps/generic/libc-mmap.h: New file.
6930
d605071e
MF
69312013-06-24 Mike Frysinger <vapier@gentoo.org>
6932
6933 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
6934 (ALIGN_UP): Likewise.
6935 (PTR_ALIGN_DOWN): Likewise.
6936 (PTR_ALIGN_UP): Likewise.
6937
2f063a6e
RA
69382013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6939
6940 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
6941 entry mapped to PPC_PLATFORM_POWER8.
6942 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
6943 POWER8.
6944 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
6945 (_dl_string_platform): Add case for exporting platform position for
6946 POWER8.
6947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
6948 search path to sysdeps/powerpc/powerpc32/power8 directory.
6949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
6950 search path to sysdeps/powerpc/powerpc64/power8 directory.
6951 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
6952 power7 directories.
6953 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
6954 power7 directories.
6955
a31ee4b3
SP
69562013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6957
a74ca98f
SP
6958 * INSTALL: Regenerate.
6959
a31ee4b3
SP
6960 * nscd/connections.c (nscd_init): Fix comment.
6961
695c378f
JM
69622013-06-22 Joseph Myers <joseph@codesourcery.com>
6963
d8412221
JM
6964 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
6965
695c378f
JM
6966 [BZ #15667]
6967 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
6968 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
6969
d1d54715
MR
69702013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
6971
6972 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
6973 DL_DST_REQ_STATIC.
6974 (DL_DST_REQ_STATIC): Remove macro.
6975
8fdda7af
JM
69762013-06-21 Joseph Myers <joseph@codesourcery.com>
6977
6978 [BZ #7006]
6979 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
6980 with a shift of 0 bits.
6981
f3bc5e5a
MR
69822013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
6983
6984 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
6985 $(tststatic-ENV).
6986
be09e8c9
KK
69872013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6988
6989 [BZ #15655]
6990 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
6991
85c2e611
AZ
69922013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6993
6994 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
6995 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
6996 accepts -fno-tree-loop-distribute-patterns.
6997 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
6998 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
6999 recursive call.
7000 * string/memset.c (memset): Likewise.
7001 * string/test-memmove.c (simple_memmove): Disable loop transformation
7002 to library calls.
7003 * string/test-memset.c (simple_memset): Likewise.
7004 * benchtests/bench-memmove.c (simple_memmove): Likewise.
7005 * benchtests/bench-memset.c (simple_memset): Likewise.
7006 * configure: Regenerated.
7007
c91e0825
JM
70082013-06-20 Joseph Myers <joseph@codesourcery.com>
7009
b8c792af
JM
7010 * math/test-misc.c (main): Ignore fesetround failure when failures
7011 of subsequent rounding tests would be ignored.
7012
c91e0825
JM
7013 [BZ #15654]
7014 * math/fedisblxcpt.c (fedisableexcept): Return 0.
7015 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
7016 * math/fegetenv.c (__fegetenv): Return 0.
7017 * math/fegetexcept.c (fegetexcept): Return 0.
7018 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
7019 FE_TONEAREST.
7020 * math/feholdexcpt.c (feholdexcept): Return 0.
7021 * math/fesetenv.c (__fesetenv): Return 0.
7022 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
7023 argument FE_TONEAREST.
7024 * math/feupdateenv.c (__feupdateenv): Return 0.
7025 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
7026
bfcacbde
RM
70272013-06-18 Roland McGrath <roland@hack.frob.com>
7028
7029 * elf/rtld-Rules (rtld-compile-command.S): New variable.
7030 (rtld-compile-command.s, rtld-compile-command.c): New variables.
7031 ($(objpfx)rtld-%.os rules): Use them.
7032
e55a9b25
AZ
70332013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7034
7035 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
7036 fields.
7037
346d65b3
RM
70382013-06-17 Roland McGrath <roland@hack.frob.com>
7039
12086fb4
RM
7040 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
7041 length of target pattern, then descending length of dependency pattern.
7042 * configure.in (AWK): Require gawk 3.1.2 or newer.
7043 * manual/install.texi (Tools for Compilation): Say that we do.
7044 * configure: Regenerated.
7045
346d65b3
RM
7046 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
7047 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
7048 * scripts/sysd-rules.awk: ... this new script.
7049 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
7050 than a glob-style pattern.
7051
1a846317
JM
70522013-06-17 Joseph Myers <joseph@codesourcery.com>
7053
7054 * math/test-misc.c (main): Do not treat incorrectly rounded
7055 conversions as failure unless ROUNDING_TESTS passes.
7056
8fc75e6f
JM
70572013-06-15 Joseph Myers <joseph@codesourcery.com>
7058
3711a167
JM
7059 [BZ #15631]
7060 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
7061 restore exception state around main square root computation, then
7062 check for inexactness explicitly.
7063
8fc75e6f
JM
7064 * math/libm-test.inc (fma_test_data): Add another test.
7065
61dd6208
SP
70662013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7067
adf23d2c
SP
7068 * manual/threads.texi (Non-POSIX Extensions): New document
7069 node. Document pthread_getattr_default_np and
7070 pthread_setattr_default_np.
7071
61dd6208
SP
7072 * Versions.def (libpthread): Add GLIBC_2.18.
7073 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
7074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7075 Likewise.
7076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7077 Likewise.
7078 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7079 Likewise.
7080 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7081 Likewise.
7082 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
7083 Likewise.
7084 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7085 Likewise.
7086 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7087 Likewise.
7088 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
7089 Likewise.
7090 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
7091 Likewise.
7092
d086fc7b
LD
70932013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7094
7095 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7096 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
7097
747ef469
SP
70982013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7099 H.J. Lu <hjl.tools@gmail.com>
7100
7101 [BZ #15627]
7102 * sysdeps/x86_64/rtld-memset.c: Remove file.
7103 * sysdeps/x86_64/rtld-memset.S: New file.
7104
1b2feed2
JM
71052013-06-14 Joseph Myers <joseph@codesourcery.com>
7106
7107 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
7108 (test_in_one_mode): Take arguments for whether the rounding mode
7109 is supported for each floating-point type.
7110 (do_test): Pass new arguments to test_in_one_mode using
7111 ROUNDING_TESTS.
7112
a58ad3f8
RM
71132013-06-13 Roland McGrath <roland@hack.frob.com>
7114
7115 * posix/tst-waitid.c (do_test): Distinguish different instances of
7116 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
7117 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
7118 before entering the kernel for waitpid.
7119
c204ab28
SP
71202013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7121
7122 * NEWS: Fix note on clock function precision. Text by Roland
7123 McGrath.
7124
f4a29fba
RM
71252013-06-13 Roland McGrath <roland@hack.frob.com>
7126
7127 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
7128 it into place only when and if the sanity check passes.
7129
1f24b9ad
JM
71302013-06-13 Joseph Myers <joseph@codesourcery.com>
7131
7132 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
7133 output for whether conversion result is exact. Take argument
7134 indicating whether type is IBM long double.
7135 (round_for_all): Change need_exact field to ibm_ld.
7136 * stdlib/tst-strtod-round.c (struct exactness): New type.
7137 (struct test): Change bool ld_ok field to struct exactness exact.
7138 (TEST): Update all definitions for change to field.
7139 (tests): Regenerate array contents.
7140 (test_in_one_mode): Take pointer to new field instead of old ld_ok
7141 field value. Check for IBM long double here.
7142 (do_test): Update calls to test_in_one_mode.
7143
58206c68
SP
71442013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7145
7146 [BZ #12515]
7147 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
7148 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
7149
2d6f4c5b 71502013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
7151
7152 [BZ #15605]
7153 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
7154 generated by the compiler on loop optimizations.
7155 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
7156 general definitions.
7157
94f2c076
JM
71582013-06-12 Joseph Myers <joseph@codesourcery.com>
7159
7160 * math/bug-nextafter.c: Include <math-tests.h>.
7161 (main): Only test for exceptions if EXCEPTION_TESTS is true for
7162 the relevant type.
7163 * math/bug-nexttoward.c: Include <math-tests.h>.
7164 (main): Only test for exceptions if EXCEPTION_TESTS is true for
7165 the relevant type.
7166 * math/test-misc.c: Include <math-tests.h>.
7167 (main): Only test for exceptions if EXCEPTION_TESTS is true for
7168 the relevant type.
7169
e0e50a0a
AJ
71702013-06-12 Andreas Jaeger <aj@suse.de>
7171
7172 * po/ia.po: Update Interlingua translation from translation
7173 project.
7174
25061094
SP
71752013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7176
7177 * include/fenv.h: Include stdbool.h.
7178 (struct rm_ctx): New structure.
7179 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
7180 Define macro.
7181 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
7182 (SET_RESTORE_ROUNDF): Likewise.
7183 (SET_RESTORE_ROUNDL): Likewise.
7184 (SET_RESTORE_ROUND_NOEX): Likewise.
7185 (SET_RESTORE_ROUND_NOEXF): Likewise.
7186 (SET_RESTORE_ROUND_NOEXL): Likewise.
7187 (SET_RESTORE_ROUND_53BIT): Likewise.
7188 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
7189 (libc_feresetround_noexf_ctx): Likewise.
7190 (libc_feresetround_noexl_ctx): Likewise.
7191 (libc_feholdsetround_53bit_ctx): Likewise.
7192 (libc_feresetround_53bit_ctx): Likewise.
7193 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
7194 (libc_feholdexcept_setround_sse_ctx): New function.
7195 (libc_fesetenv_sse_ctx): Likewise.
7196 (libc_feupdateenv_sse_ctx): Likewise.
7197 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
7198 (libc_feholdexcept_setround_387_ctx): Likewise.
7199 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
7200 (libc_feholdsetround_387_prec_ctx): Likewise.
7201 (libc_feholdsetround_387_ctx): Likewise.
7202 (libc_feholdsetround_387_53bit_ctx): Likewise.
7203 (libc_feholdsetround_sse_ctx): Likewise.
7204 (libc_feresetround_sse_ctx): Likewise.
7205 (libc_feresetround_387_ctx): Likewise.
7206 (libc_feupdateenv_387_ctx): Likewise.
7207 (libc_feholdexcept_setroundf_ctx): Define macro.
7208 (libc_fesetenvf_ctx): Likewise.
7209 (libc_feupdateenvf_ctx): Likewise.
7210 (libc_feholdsetroundf_ctx): Likewise.
7211 (libc_feresetroundf_ctx): Likewise.
7212 (libc_feholdexcept_setround_ctx): Likewise.
7213 (libc_fesetenv_ctx): Likewise.
7214 (libc_feupdateenv_ctx): Likewise.
7215 (libc_feholdsetround_ctx): Likewise.
7216 (libc_feresetround_ctx): Likewise.
7217 (libc_feholdexcept_setroundl_ctx): Likewise.
7218 (libc_feupdateenvl_ctx): Likewise.
7219 (libc_feholdsetroundl_ctx): Likewise.
7220 (libc_feresetroundl_ctx): Likewise.
7221 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
7222 (libc_feresetround_53bit_ctx): Likewise.
7223
59b30555
SP
72242013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7225
7226 * locale/iso-639.def: Convert to UTF-8.
7227
f1d73d30
JM
72282013-06-11 Joseph Myers <joseph@codesourcery.com>
7229
7230 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
7231 (EXCEPTION_TESTS_double): Likewise.
7232 (EXCEPTION_TESTS_long_double): Likewise.
7233 (EXCEPTION_TESTS): Likewise.
7234 * math/libm-test.inc (test_exceptions): Only test exceptions if
7235 EXCEPTION_TESTS (FLOAT).
7236
94aca5e7
SP
72372013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7238
7239 * benchtests/Makefile (string-bench): Add strcpy_chk and
7240 stpcpy_chk.
7241 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
7242 * benchtests/bench-stpcpy_chk.c: New file.
7243 * benchtests/bench-strcpy_chk-ifunc.c: New file.
7244 * benchtests/bench-strcpy_chk.c: New file.
7245 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
7246 code.
7247 (do_test): Likewise.
7248
fac0c5f2
RA
72492013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7250
7251 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
7252 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
7253 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
7254 with tabs where appropriate.
7255 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
7256 dl-procinfo.h.
7257 [PPC_PLATFORM_PPC440]: Likewise.
7258 [PPC_PLATFORM_PPC464]: Likewise.
7259 [PPC_PLATFORM_PPC476]: Likewise.
7260 (_dl_string_platform): Add support for detecting ppc405, ppc440,
7261 ppc464, and ppc476 platform strings merging from ports/
7262 dl-procinfo.h.
7263
f22bc486
AS
72642013-06-11 Andreas Schwab <schwab@suse.de>
7265
7266 [BZ #14991]
7267 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
7268 (from_ucs4_idx): Regenerate.
7269 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
7270 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
7271 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
7272 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
7273 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
7274 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
7275 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
7276 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
7277 from FROM_LOOP and TO_LOOP specific macros.
7278 (BODY): Handle combining characters.
7279 * iconvdata/BIG5HKSCS.irreversible: Update.
7280 * iconvdata/BIG5HKSCS.precomposed: New file.
7281 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
7282 characters.
7283 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
7284
c1f75dc3
SP
72852013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7286
4eacded2
SP
7287 * include/sys/time.h: Fix indentation and add copyright header.
7288
fec799f8
SP
7289 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
7290 (do_test): Likewise.
7291 * string/test-memchr.c (do_one_test): Likewise.
7292 (do_test): Likewise.
7293 * string/test-memcmp.c (do_one_test): Likewise.
7294 (do_test): Likewise.
7295 * string/test-memcpy.c (do_one_test): Likewise.
7296 (do_test): Likewise.
7297 * string/test-memmem.c (do_one_test): Likewise.
7298 (do_test): Likewise.
7299 (do_random_tests): Likewise.
7300 * string/test-memmove.c (do_one_test): Likewise.
7301 (do_test): Likewise.
7302 * string/test-memset.c (do_one_test): Likewise.
7303 (do_test): Likewise.
7304 * string/test-rawmemchr.c (do_one_test): Likewise.
7305 (do_test): Likewise.
7306 * string/test-strcasecmp.c (do_one_test): Likewise.
7307 (do_test): Likewise.
7308 * string/test-strcasestr.c (do_one_test): Likewise.
7309 (do_test): Likewise.
7310 * string/test-strcat.c (do_one_test): Likewise.
7311 (do_test): Likewise.
7312 * string/test-strchr.c (do_one_test): Likewise.
7313 (do_test): Likewise.
7314 * string/test-strcmp.c (do_one_test): Likewise.
7315 (do_test): Likewise.
7316 * string/test-strcpy.c (do_one_test): Likewise.
7317 (do_test): Likewise.
7318 * string/test-string.h: Likewise.
7319 (test_init): Likewise.
7320 * string/test-strlen.c (do_one_test): Likewise.
7321 (do_test): Likewise.
7322 * string/test-strncasecmp.c (do_one_test): Likewise.
7323 (do_test): Likewise.
7324 * string/test-strncat.c (do_one_test): Likewise.
7325 (do_test): Likewise.
7326 * string/test-strncmp.c (do_one_test): Likewise.
7327 (do_test_limit): Likewise.
7328 (do_test): Likewise.
7329 * string/test-strncpy.c (do_one_test): Likewise.
7330 (do_test): Likewise.
7331 * string/test-strnlen.c (do_one_test): Likewise.
7332 (do_test): Likewise.
7333 * string/test-strpbrk.c (do_one_test): Likewise.
7334 (do_test): Likewise.
7335 * string/test-strrchr.c (do_one_test): Likewise.
7336 (do_test): Likewise.
7337 * string/test-strspn.c (do_one_test): Likewise.
7338 (do_test): Likewise.
7339 * string/test-strstr.c (do_one_test): Likewise.
7340 (do_test): Likewise.
7341
97020474
SP
7342 * benchtests/Makefile (string-bench): Add string benchmarks.
7343 * benchtests/bench-bcopy-ifunc.c: New file.
7344 * benchtests/bench-bcopy.c: New file.
7345 * benchtests/bench-bzero-ifunc.c: New file.
7346 * benchtests/bench-bzero.c: New file.
7347 * benchtests/bench-memccpy-ifunc.c: New file.
7348 * benchtests/bench-memccpy.c: New file.
7349 * benchtests/bench-memchr-ifunc.c: New file.
7350 * benchtests/bench-memchr.c: New file.
7351 * benchtests/bench-memcmp-ifunc.c: New file.
7352 * benchtests/bench-memcmp.c: New file.
7353 * benchtests/bench-memmem-ifunc.c: New file.
7354 * benchtests/bench-memmem.c: New file.
7355 * benchtests/bench-memmove-ifunc.c: New file.
7356 * benchtests/bench-memmove.c: New file.
7357 * benchtests/bench-mempcpy-ifunc.c: New file.
7358 * benchtests/bench-mempcpy.c: New file.
7359 * benchtests/bench-memset-ifunc.c: New file.
7360 * benchtests/bench-memset.c: New file.
7361 * benchtests/bench-rawmemchr-ifunc.c: New file.
7362 * benchtests/bench-rawmemchr.c: New file.
7363 * benchtests/bench-stpcpy-ifunc.c: New file.
7364 * benchtests/bench-stpcpy.c: New file.
7365 * benchtests/bench-stpncpy-ifunc.c: New file.
7366 * benchtests/bench-stpncpy.c: New file.
7367 * benchtests/bench-strcasecmp-ifunc.c: New file.
7368 * benchtests/bench-strcasecmp.c: New file.
7369 * benchtests/bench-strcasestr-ifunc.c: New file.
7370 * benchtests/bench-strcasestr.c: New file.
7371 * benchtests/bench-strcat-ifunc.c: New file.
7372 * benchtests/bench-strcat.c: New file.
7373 * benchtests/bench-strchr-ifunc.c: New file.
7374 * benchtests/bench-strchr.c: New file.
7375 * benchtests/bench-strchrnul-ifunc.c: New file.
7376 * benchtests/bench-strchrnul.c: New file.
7377 * benchtests/bench-strcmp-ifunc.c: New file.
7378 * benchtests/bench-strcmp.c: New file.
7379 * benchtests/bench-strcpy-ifunc.c: New file.
7380 * benchtests/bench-strcpy.c: New file.
7381 * benchtests/bench-strcspn-ifunc.c: New file.
7382 * benchtests/bench-strcspn.c: New file.
7383 * benchtests/bench-strlen-ifunc.c: New file.
7384 * benchtests/bench-strlen.c: New file.
7385 * benchtests/bench-strncasecmp-ifunc.c: New file.
7386 * benchtests/bench-strncasecmp.c: New file.
7387 * benchtests/bench-strncat-ifunc.c: New file.
7388 * benchtests/bench-strncat.c: New file.
7389 * benchtests/bench-strncmp-ifunc.c: New file.
7390 * benchtests/bench-strncmp.c: New file.
7391 * benchtests/bench-strncpy-ifunc.c: New file.
7392 * benchtests/bench-strncpy.c: New file.
7393 * benchtests/bench-strnlen-ifunc.c: New file.
7394 * benchtests/bench-strnlen.c: New file.
7395 * benchtests/bench-strpbrk-ifunc.c: New file.
7396 * benchtests/bench-strpbrk.c: New file.
7397 * benchtests/bench-strrchr-ifunc.c: New file.
7398 * benchtests/bench-strrchr.c: New file.
7399 * benchtests/bench-strspn-ifunc.c: New file.
7400 * benchtests/bench-strspn.c: New file.
7401 * benchtests/bench-strstr-ifunc.c: New file.
7402 * benchtests/bench-strstr.c: New file.
7403
c1f75dc3
SP
7404 * benchtests/Makefile: Disable parallel execution of targets.
7405 (string-bench): Add memcpy.
7406 (benchset): New variable to store a list of benchmark sets.
7407 (bench-func): Renamed from bench.
7408 (bench-set): New target.
7409 (bench): Depend on bench-func and bench-set.
7410 * benchtests/README: Add section on benchmark sets.
7411 * benchtests/bench-memcpy-ifunc.c: New file.
7412 * benchtests/bench-memcpy.c: New file.
7413 * benchtests/bench-string.h: New file.
7414
50fd745b
AS
74152013-06-11 Andreas Schwab <schwab@suse.de>
7416
7417 [BZ #15577]
7418 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
7419 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
7420 values in the triple.
7421 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
7422 terminator in the group key.
7423
3ee7e9fe
AJ
74242013-06-11 Andreas Jaeger <aj@suse.de>
7425
7426 * po/zh_TW.po: Update Chinese (traditional) translation from
7427 translation project.
7428
89fb6835
SP
74292013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7430
7431 * include/time.h (__clock_gettime): Add libc_hidden_proto.
7432 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
7433 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
7434 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7435 (clock_getcpuclockid): Likewise.
7436 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
7437 Add weak_alias and libc_hidden_def.
7438 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
7439 * rt/clock_gettime.c (clock_gettime): Rename to
7440 __clock_gettime. Add weak_alias and libc_hidden_def.
7441 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
7442 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
7443 __clock_nanosleep. Add weak_alias and libc_hidden_def.
7444 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
7445 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
7446 Likewise.
7447 * rt/clock_settime.c (clock_settime): Rename to
7448 __clock_settime. Add weak_alias and libc_hidden_def.
7449 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
7450
0efa6f8b
JM
74512013-06-10 Joseph Myers <joseph@codesourcery.com>
7452
b8c61b4b
JM
7453 * mach/err_boot.sub: Remove trailing whitespace.
7454 * mach/err_ipc.sub: Likewise.
7455 * mach/err_mach.sub: Likewise.
7456
0efa6f8b
JM
7457 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
7458 (ROUNDING_TESTS_double): Likewise.
7459 (ROUNDING_TESTS_long_double): Likewise.
7460 (ROUNDING_TESTS): Likewise.
7461 * math/libm-test.inc: Include <math-tests.h>.
7462 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
7463 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
7464 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7465 (IF_ROUND_INIT_FE_UPWARD): Likewise.
7466
50b818bf
SP
74672013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7468
7469 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
7470 of assigning.
7471
60d2f8f3
JM
74722013-06-08 Joseph Myers <joseph@codesourcery.com>
7473
4902d2c3
JM
7474 * sysdeps/gnu/errlist.awk: Do not generate space at end of
7475 otherwise empty TRANS lines.
7476 * sysdeps/gnu/errlist.c: Regenerated.
7477
60d2f8f3
JM
7478 * catgets/gencat.c (error_print): Use (void) in function
7479 definition.
7480 * crypt/crypt_util.c (__init_des): Likewise.
7481 * crypt/speeds.c (Stop): Likewise.
7482 (main): Likewise.
7483 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
7484 * inet/ruserpass.c (token): Likewise.
7485 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
7486 * intl/localealias.c (extend_alias_table): Likewise.
7487 * intl/plural-exp.c (init_germanic_plural): Likewise.
7488 * libio/fcloseall.c (__fcloseall): Likewise.
7489 * libio/genops.c (_IO_flush_all): Likewise.
7490 (_IO_flush_all_linebuffered): Likewise.
7491 (_IO_cleanup): Likewise.
7492 (_IO_iter_begin): Likewise.
7493 (_IO_iter_end): Likewise.
7494 (_IO_list_lock): Likewise.
7495 (_IO_list_unlock): Likewise.
7496 (_IO_list_resetlock): Likewise.
7497 * libio/getchar.c (getchar): Likewise.
7498 * libio/getchar_u.c (getchar_unlocked): Likewise.
7499 * libio/getwchar.c (getwchar): Likewise.
7500 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
7501 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
7502 * login/getpt.c (__getpt): Likewise.
7503 * login/tst-utmp.c (main): Likewise.
7504 * malloc/hooks.c (__malloc_check_init): Likewise.
7505 * malloc/malloc.c (__malloc_stats): Likewise.
7506 * malloc/mtrace.c (tr_break): Likewise.
7507 (mtrace): Likewise.
7508 (muntrace): Likewise.
7509 * misc/fstab.c (endfsent): Likewise.
7510 * misc/getclktck.c (__getclktck): Likewise.
7511 * misc/getdtsz.c (__getdtablesize): Likewise.
7512 * misc/gethostid.c (gethostid): Likewise.
7513 * misc/getpagesize.c (__getpagesize): Likewise.
7514 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
7515 (__get_nprocs): Likewise.
7516 (__get_phys_pages): Likewise.
7517 (__get_avphys_pages): Likewise.
7518 * misc/getttyent.c (getttyent): Likewise.
7519 (setttyent): Likewise.
7520 (endttyent): Likewise.
7521 * misc/getusershell.c (getusershell): Likewise.
7522 (endusershell): Likewise.
7523 (setusershell): Likewise.
7524 (initshells): Likewise.
7525 * misc/hsearch.c (__hdestroy): Likewise.
7526 * misc/sync.c (sync): Likewise.
7527 * misc/syslog.c (closelog_internal): Likewise.
7528 (closelog): Likewise.
7529 * misc/ttyslot.c (ttyslot): Likewise.
7530 * misc/vhangup.c (vhangup): Likewise.
7531 * posix/fork.c (__fork): Likewise.
7532 * posix/getegid.c (__getegid): Likewise.
7533 * posix/geteuid.c (__geteuid): Likewise.
7534 * posix/getgid.c (__getgid): Likewise.
7535 * posix/getpid.c (__getpid): Likewise.
7536 * posix/getppid.c (__getppid): Likewise.
7537 * posix/getuid.c (__getuid): Likewise.
7538 * posix/pause.c (pause): Likewise.
7539 * posix/setpgrp.c (setpgrp): Likewise.
7540 * posix/setsid.c (__setsid): Likewise.
7541 * posix/test-vfork.c (noop): Likewise.
7542 * resolv/gethnamaddr.c (_endhtent): Likewise.
7543 (_gethtent): Likewise.
7544 (ht_endhostent): Likewise.
7545 (gethostent): Likewise.
7546 (dns_service): Likewise.
7547 * stdlib/drand48.c (drand48): Likewise.
7548 * stdlib/lrand48.c (lrand48): Likewise.
7549 * stdlib/mrand48.c (mrand48): Likewise.
7550 * stdlib/rand.c (rand): Likewise.
7551 * stdlib/random.c (__random): Likewise.
7552 * stdlib/setenv.c (clearenv): Likewise.
7553 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
7554 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
7555 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
7556 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
7557 (__get_nprocs): Likewise.
7558 (__get_phys_pages): Likewise.
7559 (__get_avphys_pages): Likewise.
7560 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
7561 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
7562 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
7563 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
7564 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
7565 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
7566 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
7567 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
7568 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
7569 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
7570 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
7571 * sysdeps/mach/hurd/sync.c (sync): Likewise.
7572 * sysdeps/posix/clock.c (clock): Likewise.
7573 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
7574 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
7575 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
7576 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
7577 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
7578 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
7579 (__get_nprocs_conf): Likewise.
7580 (__get_phys_pages): Likewise.
7581 (__get_avphys_pages): Likewise.
7582 * time/clock.c (clock): Likewise.
7583 * time/tzset.c (__tzname_max): Likewise.
7584
2e09a79a
JM
75852013-06-07 Joseph Myers <joseph@codesourcery.com>
7586
7587 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
7588 (__bswap_32): Do not use "register".
7589 * crypt/crypt.c (_ufc_doit_r): Likewise.
7590 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7591 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7592 * gmon/gmon.c (__monstartup): Likewise.
7593 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
7594 * hurd/hurdmalloc.c (more_memory): Likewise.
7595 (malloc): Likewise.
7596 (free): Likewise.
7597 (realloc): Likewise.
7598 (malloc_fork_prepare): Likewise.
7599 (malloc_fork_parent): Likewise.
7600 (malloc_fork_child): Likewise.
7601 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
7602 (_svcauth_des): Likewise.
7603 * inet/inet_lnaof.c (inet_lnaof): Likewise.
7604 * inet/inet_net.c (inet_network): Likewise.
7605 * inet/inet_netof.c (inet_netof): Likewise.
7606 * inet/rcmd.c (__validuser2_sa): Likewise.
7607 * io/fts.c (fts_open): Likewise.
7608 (fts_load): Likewise.
7609 (fts_close): Likewise.
7610 (fts_read): Likewise.
7611 (fts_children): Likewise.
7612 (fts_build): Likewise.
7613 (fts_stat): Likewise.
7614 (fts_sort): Likewise.
7615 (fts_alloc): Likewise.
7616 (fts_lfree): Likewise.
7617 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
7618 (_IO_file_xsgetn): Likewise.
7619 (_IO_file_xsgetn_mmap): Likewise.
7620 * libio/iofopncook.c (_IO_cookie_read): Likewise.
7621 (_IO_cookie_write): Likewise.
7622 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
7623 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
7624 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
7625 * malloc/obstack.c (_obstack_begin): Likewise.
7626 (_obstack_begin_1): Likewise.
7627 (_obstack_newchunk): Likewise.
7628 (_obstack_allocated_p): Likewise.
7629 (obstack_free): Likewise.
7630 (_obstack_memory_used): Likewise.
7631 * misc/getttyent.c (getttynam): Likewise.
7632 (getttyent): Likewise.
7633 (skip): Likewise.
7634 (value): Likewise.
7635 * misc/getusershell.c (initshells): Likewise.
7636 * misc/syslog.c (__vsyslog_chk): Likewise.
7637 * misc/ttyslot.c (ttyslot): Likewise.
7638 * nis/nis_hash.c (__nis_hash): Likewise.
7639 * posix/fnmatch_loop.c (FCT): Likewise.
7640 * posix/getconf.c (print_all): Likewise.
7641 (main): Likewise.
7642 * posix/getopt.c (exchange): Likewise.
7643 * posix/glob.c (globfree): Likewise.
7644 (prefix_array): Likewise.
7645 (__glob_pattern_type): Likewise.
7646 * resolv/arpa/nameser.h (NS_GET16): Likewise.
7647 (NS_GET32): Likewise.
7648 (NS_PUT16): Likewise.
7649 (NS_PUT32): Likewise.
7650 * resolv/gethnamaddr.c (getanswer): Likewise.
7651 (gethostbyname2): Likewise.
7652 (gethostbyaddr): Likewise.
7653 (_gethtent): Likewise.
7654 (_gethtbyname2): Likewise.
7655 (_gethtbyaddr): Likewise.
7656 * resolv/ns_print.c (dst_s_get_int16): Likewise.
7657 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
7658 * resolv/res_init.c (__res_vinit): Likewise.
7659 (net_mask): Likewise.
7660 * resolv/res_mkquery.c (outchar): Likewise.
7661 (PRINT): Likewise.
7662 * stdio-common/printf_fp.c (outchar): Likewise.
7663 (PRINT): Likewise.
7664 * stdio-common/printf_fphex.c (outchar): Likewise.
7665 (PRINT): Likewise.
7666 * stdio-common/printf_size.c (outchar): Likewise.
7667 (PRINT): Likewise.
7668 * stdio-common/test_rdwr.c (main): Likewise.
7669 * stdio-common/tfformat.c (matches): Likewise.
7670 * stdio-common/vfprintf.c (outchar): Likewise.
7671 (printf_unknown): Likewise.
7672 (buffered_vfprintf): Likewise.
7673 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7674 * stdio-common/xbug.c (AppendToBuffer): Likewise.
7675 (ReadFile): Likewise.
7676 * stdlib/qsort.c (SWAP): Likewise.
7677 (_quicksort): Likewise.
7678 * stdlib/setenv.c (__add_to_environ): Likewise.
7679 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7680 * stdlib/strtol_l.c (__strtol_l): Likewise.
7681 * stdlib/tst-strtod.c (main): Likewise.
7682 * stdlib/tst-strtol.c (main): Likewise.
7683 * stdlib/tst-strtoll.c (main): Likewise.
7684 * string/bits/string2.h (__strcmp_cc): Likewise.
7685 (__strcmp_cg): Likewise.
7686 (__strcspn_c1): Likewise.
7687 (__strcspn_c2): Likewise.
7688 (__strcspn_c3): Likewise.
7689 (__strspn_c1): Likewise.
7690 (__strspn_c2): Likewise.
7691 (__strspn_c3): Likewise.
7692 (__strsep_1c): Likewise.
7693 (__strsep_2c): Likewise.
7694 (__strsep_3c): Likewise.
7695 * string/memccpy.c (__memccpy): Likewise.
7696 * string/stpcpy.c (__stpcpy): Likewise.
7697 * string/strcmp.c (strcmp): Likewise.
7698 * string/strrchr.c (strrchr): Likewise.
7699 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
7700 Likewise.
7701 * sysdeps/mach/hurd/getcwd.c
7702 (_hurd_canonicalize_directory_name_internal): Likewise.
7703 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
7704 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
7705 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
7706 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
7707 Likewise, in both definitions.
7708 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
7709 definitions.
7710 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
7711 64] (__bswap_64): Likewise.
7712 * time/test_time.c (main): Likewise.
7713 * time/tzfile.c (__tzfile_read): Likewise.
7714 (__tzfile_compute): Likewise.
7715 * time/tzset.c (__tzset_parse_tz): Likewise.
7716 (tzset_internal): Likewise.
7717 (compute_change): Likewise.
7718 * wcsmbs/wcscat.c (__wcscat): Likewise.
7719 * wcsmbs/wcschr.c (wcschr): Likewise.
7720 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
7721 * wcsmbs/wcscspn.c (wcscspn): Likewise.
7722 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
7723 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
7724 * wcsmbs/wcsspn.c (wcsspn): Likewise.
7725 * wcsmbs/wcsstr.c (wcsstr): Likewise.
7726 * wcsmbs/wmemchr.c (wmemchr): Likewise.
7727 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7728 * wcsmbs/wmemset.c (wmemset): Likewise.
7729
9e54314b
JM
77302013-06-06 Joseph Myers <joseph@codesourcery.com>
7731
7732 * scripts/config.guess: Update to version 2013-05-16.
7733 * scripts/config.sub: Update to version 2013-04-24.
7734 * scripts/install-sh: Update to version 2011-11-20.07.
7735 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
7736 * scripts/move-if-change: Update to version 2012-01-06 07:23.
7737
350635a5
OB
77382013-06-06 Ondřej Bílka <neleai@seznam.cz>
7739
7740 * debug/fgetws_u_chk.c: Fix leading whitespaces.
7741 * elf/sln.c: Likewise.
7742 * hurd/hurd/ioctl.h: Likewise.
7743 * hurd/hurdmalloc.c: Likewise.
7744 * hurd/xattr.c: Likewise.
7745 * include/shlib-compat.h: Likewise.
7746 * inet/ruserpass.c: Likewise.
7747 * libio/iofgets_u.c: Likewise.
7748 * libio/iofgetws_u.c: Likewise.
7749 * locale/programs/ld-identification.c: Likewise.
7750 * locale/programs/ld-time.c: Likewise.
7751 * mach/msg-destroy.c: Likewise.
7752 * nss/nss_files/files-netgrp.c: Likewise.
7753 * resolv/res_data.c: Likewise.
7754 * soft-fp/op-1.h: Likewise.
7755 * soft-fp/op-2.h: Likewise.
7756 * soft-fp/op-4.h: Likewise.
7757 * soft-fp/op-common.h: Likewise.
7758 * stdio-common/printf_fphex.c: Likewise.
7759 * stdlib/strtod_l.c: Likewise.
7760 * sunrpc/rpc/clnt.h: Likewise.
7761 * sysdeps/generic/framestate.c: Likewise.
7762 * sysdeps/i386/bsd-_setjmp.S: Likewise.
7763 * sysdeps/i386/bsd-setjmp.S: Likewise.
7764 * sysdeps/i386/__longjmp.S: Likewise.
7765 * sysdeps/i386/setjmp.S: Likewise.
7766 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7767 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7768 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7769 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7770 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7771 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7772 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7773 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7774 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7775 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
7776 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7777 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7778 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7779 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7780 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7781 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7782 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7783 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
7784 * sysdeps/ieee754/support.c: Likewise.
7785 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7786 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
7787 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
7788 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
7789 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
7790 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
7791 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
7792 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
7793 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
7794 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
7795 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
7796 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
7797 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
7798 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
7799 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
7800 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
7801 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7803
44a988af
OB
78042013-06-05 Ondřej Bílka <neleai@seznam.cz>
7805
25506f09 7806 * posix/transbug.c: Remove executable mode.
44a988af 7807
9c84384c
JM
78082013-06-05 Joseph Myers <joseph@codesourcery.com>
7809
7810 * crypt/speeds.c: Remove trailing whitespace.
7811 * dlfcn/default.c: Likewise.
7812 * elf/ifuncdep2.c: Likewise.
7813 * elf/ifuncmain1.c: Likewise.
7814 * elf/ifuncmain1vis.c: Likewise.
7815 * elf/testobj.h: Likewise.
7816 * elf/tst-stackguard1.c: Likewise.
7817 * gmon/sys/gmon.h: Likewise.
7818 * hurd/hurdmsg.c: Likewise.
7819 * hurd/new-fd.c: Likewise.
7820 * hurd/ports-get.c: Likewise.
7821 * iconvdata/ibm1008_420.c: Likewise.
7822 * inet/tst-getni1.c: Likewise.
7823 * inet/tst-getni2.c: Likewise.
7824 * libio/ioungetc.c: Likewise.
7825 * libio/wfiledoalloc.c: Likewise.
7826 * manual/libm-err-tab.pl: Likewise.
7827 * math/w_dremf.c: Likewise.
7828 * misc/ftruncate.c: Likewise.
7829 * posix/bug-glob2.c: Likewise.
7830 * posix/tst-pcre.c: Likewise.
7831 * posix/wait4.c: Likewise.
7832 * resolv/README: Likewise.
7833 * resolv/res_debug.h: Likewise.
7834 * resolv/tst-inet_ntop.c: Likewise.
7835 * setjmp/bug269-setjmp.c: Likewise.
7836 * soft-fp/extended.h: Likewise.
7837 * soft-fp/op-1.h: Likewise.
7838 * soft-fp/op-2.h: Likewise.
7839 * soft-fp/op-4.h: Likewise.
7840 * soft-fp/op-8.h: Likewise.
7841 * soft-fp/testit.c: Likewise.
7842 * stdio-common/bug16.c: Likewise.
7843 * stdlib/random.c: Likewise.
7844 * sunrpc/rpcsvc/rquota.x: Likewise.
7845 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
7846 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7847 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7848 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7849 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7850 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7851 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7852 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7853 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7854 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7855 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7856 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7857 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7858 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7859 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7860 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7861 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7862 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7863 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7864 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7865 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7866 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7867 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
7868 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
7869 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7870 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7871 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7872 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
7873 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7874 * sysdeps/ieee754/s_lib_version.c: Likewise.
7875 * sysdeps/mach/hurd/check_fds.c: Likewise.
7876 * sysdeps/mach/hurd/getsockname.c: Likewise.
7877 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
7878 * sysdeps/mach/hurd/recvfrom.c: Likewise.
7879 * sysdeps/powerpc/bits/link.h: Likewise.
7880 * sysdeps/powerpc/dl-procinfo.c: Likewise.
7881 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
7882 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
7883 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
7884 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
7885 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7886 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
7887 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
7888 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
7889 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7890 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
7891 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
7892 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
7893 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7894 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7895 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7896 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
7897 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
7898 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7899 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7900 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7901 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
7902 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7903 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
7904 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
7905 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
7906 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
7907 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7908 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7909 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
7910 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
7911 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
7912 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7913 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7914 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
7915 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
7916 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
7917 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
7918 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
7919 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
7920 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
7921 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
7922 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
7923 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
7924 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
7925 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
7926 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
7927 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
7928 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
7929 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
7930 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7931 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7932 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
7933 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
7934 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
7935 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
7936 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
7937 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7938 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
7939 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
7940 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
7941 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
7942 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
7943 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
7944 * sysdeps/powerpc/sysdep.h: Likewise.
7945 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7946 * sysdeps/s390/s390-64/sub_n.S: Likewise.
7947 * sysdeps/sh/dl-trampoline.S: Likewise.
7948 * sysdeps/sh/memset.S: Likewise.
7949 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
7950 * sysdeps/sh/strlen.S: Likewise.
7951 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
7952 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
7953 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
7954 * sysdeps/sparc/sparc32/rem.S: Likewise.
7955 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
7956 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
7957 * sysdeps/sparc/sparc32/strchr.S: Likewise.
7958 * sysdeps/sparc/sparc32/udiv.S: Likewise.
7959 * sysdeps/sparc/sparc32/urem.S: Likewise.
7960 * sysdeps/sparc/sparc64/add_n.S: Likewise.
7961 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7962 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
7963 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
7964 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
7965 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
7966 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
7967 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
7968 * sysdeps/unix/bsd/times.c: Likewise.
7969 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
7970 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
7971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
7972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
7973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
7974 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
7975 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7976 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
7977 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
7978 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
7979 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
7980 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
7981 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
7982 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
7983 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
7984 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
7985 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
7986 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
7987 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
7988 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
7989 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
7990 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
7991 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
7992 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
7993 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
7994 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
7995 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
7996 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7997 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
7998 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
7999 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
8000 * sysdeps/x86_64/strcspn.S: Likewise.
8001
869378a5
RA
80022013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8003
8004 * locale/C-translit.h: Revert #include <stdint.h> because this is a
8005 generated file. Regenerate properly from gen-translit.pl.
8006 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
8007 locale/C-translit.h.
8008
840e2943
AS
80092013-06-05 Andreas Schwab <schwab@suse.de>
8010
8011 [BZ #15100]
8012 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
8013 week as 6 instead of -1.
8014 * time/tst-strptime.c (day_tests): Add test case.
8015
4c60cb0c
SP
80162013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8017
8018 * sysdeps/generic/math_private.h
8019 (libc_feholdexcept_setround_53bit): Replace with
8020 libc_feholdsetround_53bit.
8021 (libc_feupdateenv_53bit): Replace with
8022 libc_feresetround_53bit.
8023 (SET_RESTORE_ROUND_53BIT): Adjust.
8024
d180203e
SP
80252013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8026
96df079a
SP
8027 * string/test-strchrnul.c: Add copyright header.
8028
d180203e
SP
8029 * posix/tst-getaddrinfo4.c: Increase test timeout.
8030
8b0ccb2d
CD
80312013-06-03 Carlos O'Donell <carlos@redhat.com>
8032
8033 [BZ #15536]
8034 * math/libm-test.inc (MAX_EXP): Remove
8035 (MIN_EXP): Define.
8036 (ulp): Use MIN_EXP - MANT_DIG.
8037 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
8038
3b3c4d40
CD
80392013-05-31 Carlos O'Donell <carlos@redhat.com>
8040
8041 * po/be.po: Revert last change.
8042 * po/zh_CN.po: Likewise.
8043 * po/header.pot: Likewise.
8044
fab7ce3f
JM
80452013-05-31 Joseph Myers <joseph@codesourcery.com>
8046
8047 * Makefile ($(common-objpfx)linkobj/libc.so): Define
8048 link-libc-deps to empty as target-specific variable.
8049 * Makerules (link-libc-args): New variable.
8050 (libc-for-link): Likewise.
8051 (link-libc-deps): Likewise.
8052 (lib%.so): Depend on $(link-libc-deps). Link with
8053 $(link-libc-args).
8054 (build-module): Link with $(link-libc-args).
8055 (build-module-asneeded): Likewise.
8056 (build-module-helper-objlist): Filter out $(link-libc-deps) from
8057 list of objects.
8058 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
8059 target-specific variable.
8060 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
8061 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
8062 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
8063 libc.
8064 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
8065 libc and ld.so.
8066 ($(objpfx)libpcprofile.so): Likewise.
8067 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
8068 libc_nonshared.a.
8069 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
8070 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
8071 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
8072 $(link-libc-deps).
8073 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
8074 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
8075 * login/Makefile ($(objpfx)libutil.so): Likewise.
8076 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
8077 * math/Makefile ($(objpfx)libm.so): Likewise.
8078 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
8079 $(objpfx)libnsl.so): Define libc-for-link as target-specific
8080 variable instead of depending directly on libc.
8081 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
8082 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
8083 $(link-libc-deps).
8084 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
8085 libc.
8086 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
8087 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
8088 ($(objpfx)libanl.so): Likewise.
8089 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
8090 ld.so.
8091 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
8092 $(link-libc-deps).
8093 * sysdeps/i386/fpu/Makefile: Remove file.
8094 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
8095 ($(objpfx)libm.so): Remove dependency on ld.so.
8096
eca5920c
PF
80972013-05-30 Patsy Franklin <pfrankli@redhat.com>
8098
8099 [BZ # 15553]
8100 * nis/yp_xdr.c (XDRMAXNAME): Define.
8101 (XDRMAXRECORD): Define.
8102 (xdr_domainname): Use XDRMAXNAME.
8103 (xdr_mapname): Likewise.
8104 (xdr_peername): Likewise.
8105 (xdr_keydat): Use XDRMAXRECORD.
8106 (xdr_valdat): Likewise.
8107
81082013-05-30 Jeff Law <law@redhat.com>
96945714
JL
8109
8110 [BZ #14256]
8111 * manual/errno.texi (ESTALE): Update to account for more than
8112 just NFS file systems.
8113 * sysdeps/gnu/errlist.c: Regenerated.
8114
b9375348
SP
81152013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8116
8117 [BZ #15465]
8118 * elf/Makefile (tests): Add tst-null-argv.
8119 (modules-names): Add tst-null-argv-lib.
8120 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
8121 (tst-null-argv-ENV): Set environment for tst-null-argv.
8122 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
8123 (RTLD_PROGNAME): New macro.
8124 * elf/tst-null-argv.c: New test case.
8125 * elf/tst-null-argv-lib.c: Library for test case.
8126 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
8127 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
8128 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
8129 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
8130 * elf/dl-init.c (call_init): Likewise.
8131 (_dl_init): Likewise.
8132 * elf/dl-load.c (print_search_path): Likewise.
8133 (_dl_map_object): Likewise.
8134 * elf/dl-lookup.c (do_lookup_x): Likewise.
8135 (add_dependency): Likewise.
8136 (_dl_lookup_symbol_x): Likewise.
8137 (_dl_debug_bindings): Likewise.
8138 * elf/dl-open.c (_dl_show_scope): Likewise.
8139 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
8140 * elf/dl-version.c (match_symbol): Likewise.
8141 (_dl_check_map_versions): Likewise.
8142 * elf/rtld.c (dl_main): Likewise.
8143 (print_unresolved): Use RTLD_PROGNAME.
8144 (print_missing_version): Likewise.
8145 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
8146 (elf_machine_rela): Likewise.
8147 * sysdeps/powerpc/powerpc32/dl-machine.c
8148 (__process_machine_rela): Likewise.
8149 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8150 Likewise.
8151 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
8152 Likewise.
8153 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
8154 Likewise.
8155 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8156 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
8157 Likewise.
8158 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
8159 Likewise.
8160 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8161
8a9f20c8
CD
81622013-05-28 Carlos O'Donell <carlos@redhat.com>
8163
8164 * po/be.po: Add descriptive title.
8165 * po/zh_CN.po: Likewise.
8166 * po/header.pot: Likewise.
8167
0e60d68e
MF
81682013-05-28 Mike Frysinger <vapier@gentoo.org>
8169
8170 * locale/programs/locarchive.c (create_archive): Inlucde fname in
8171 error message.
8172 (enlarge_archive): Likewise.
8173
56b672e9
BN
81742013-05-28 Ben North <ben@redfrontdoor.org>
8175
8176 * manual/arith.texi (frexp): It is the magnitude of the return
8177 value which lies in [0.5, 1), not the return value itself.
8178
5e056687
AZ
81792013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8180
8181 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8182
2b66ef5d
TS
81832013-05-26 Thomas Schwinge <thomas@codesourcery.com>
8184
528c2405
TS
8185 * stdio-common/bug26.c (main): Correct fscanf template.
8186
07b4c13d
TS
8187 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
8188 declare _dl_skip_args.
8189
ec9dd97c
TS
8190 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
8191 Don't declare.
8192
2b66ef5d
TS
8193 * manual/platform.texi: Add missing @end deftypefun.
8194
4f8dfe27
JM
81952013-05-24 Joseph Myers <joseph@codesourcery.com>
8196
0323d086
JM
8197 [BZ #15529]
8198 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
8199 bit of mantissa of 2^16382.
8200 * math/libm-test.inc (hypot_test_data): Add more tests.
8201
dd4259b9
JM
8202 * math/libm-test.inc: Add drem and pow10 to list of tested
8203 functions.
8204 (pow10_test): New function.
8205 (drem_test): Likewise.
8206 (drem_test_tonearest): Likewise.
8207 (drem_test_towardzero): Likewise.
8208 (drem_test_downward): Likewise.
8209 (drem_test_upward): Likewise.
8210 (main): Call the new functions.
8211
4f8dfe27
JM
8212 * math/libm-test.inc (finite_test_data): Remove.
8213 (finite_test): Run tests from isfinite_test_data.
8214 (gamma_test_data): Remove.
8215 (gamma_test): Run tests from lgamma_test_data.
8216 * sysdeps/i386/fpu/libm-test-ulps: Update.
8217 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8218
d116b7c4
AZ
82192013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8220
8221 * manual/platform.texi: Add PowerPC PPR function set documentation.
8222 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
8223 implementation.
8224
e96e3767
CD
82252013-05-24 Carlos O'Donell <carlos@redhat.com>
8226
8227 * math/libm-test.inc (MAX_EXP): Define.
8228 (ULPDIFF): Define.
8229 (ulp): New function.
8230 (check_float_internal): Use ULPDIFF.
8231 (cpow_test): Disable failing test.
8232 (check_ulp): Test ulp() implemetnation.
8233 (main): Call check_ulp before starting tests.
8234
b679a606
JM
82352013-05-24 Joseph Myers <joseph@codesourcery.com>
8236
e8bdba36
JM
8237 * math/gen-libm-test.pl (generate_testfile): Do not handle
8238 START_DATA and END_DATA.
8239 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
8240 END_DATA.
8241 (acos_tonearest_test_data): Likewise.
8242 (acos_towardzero_test_data): Likewise.
8243 (acos_downward_test_data): Likewise.
8244 (acos_upward_test_data): Likewise.
8245 (acosh_test_data): Likewise.
8246 (asin_test_data): Likewise.
8247 (asin_tonearest_test_data): Likewise.
8248 (asin_towardzero_test_data): Likewise.
8249 (asin_downward_test_data): Likewise.
8250 (asin_upward_test_data): Likewise.
8251 (asinh_test_data): Likewise.
8252 (atan_test_data): Likewise.
8253 (atanh_test_data): Likewise.
8254 (atan2_test_data): Likewise.
8255 (cabs_test_data): Likewise.
8256 (cacos_test_data): Likewise.
8257 (cacosh_test_data): Likewise.
8258 (carg_test_data): Likewise.
8259 (casin_test_data): Likewise.
8260 (casinh_test_data): Likewise.
8261 (catan_test_data): Likewise.
8262 (catanh_test_data): Likewise.
8263 (cbrt_test_data): Likewise.
8264 (ccos_test_data): Likewise.
8265 (ccosh_test_data): Likewise.
8266 (ceil_test_data): Likewise.
8267 (cexp_test_data): Likewise.
8268 (cimag_test_data): Likewise.
8269 (clog_test_data): Likewise.
8270 (clog10_test_data): Likewise.
8271 (conj_test_data): Likewise.
8272 (copysign_test_data): Likewise.
8273 (cos_test_data): Likewise.
8274 (cos_tonearest_test_data): Likewise.
8275 (cos_towardzero_test_data): Likewise.
8276 (cos_downward_test_data): Likewise.
8277 (cos_upward_test_data): Likewise.
8278 (cosh_test_data): Likewise.
8279 (cosh_tonearest_test_data): Likewise.
8280 (cosh_towardzero_test_data): Likewise.
8281 (cosh_downward_test_data): Likewise.
8282 (cosh_upward_test_data): Likewise.
8283 (cpow_test_data): Likewise.
8284 (cproj_test_data): Likewise.
8285 (creal_test_data): Likewise.
8286 (csin_test_data): Likewise.
8287 (csinh_test_data): Likewise.
8288 (csqrt_test_data): Likewise.
8289 (ctan_test_data): Likewise.
8290 (ctan_tonearest_test_data): Likewise.
8291 (ctan_towardzero_test_data): Likewise.
8292 (ctan_downward_test_data): Likewise.
8293 (ctan_upward_test_data): Likewise.
8294 (ctanh_test_data): Likewise.
8295 (ctanh_tonearest_test_data): Likewise.
8296 (ctanh_towardzero_test_data): Likewise.
8297 (ctanh_downward_test_data): Likewise.
8298 (ctanh_upward_test_data): Likewise.
8299 (erf_test_data): Likewise.
8300 (erfc_test_data): Likewise.
8301 (exp_test_data): Likewise.
8302 (exp_tonearest_test_data): Likewise.
8303 (exp_towardzero_test_data): Likewise.
8304 (exp_downward_test_data): Likewise.
8305 (exp_upward_test_data): Likewise.
8306 (exp10_test_data): Likewise.
8307 (exp2_test_data): Likewise.
8308 (expm1_test_data): Likewise.
8309 (fabs_test_data): Likewise.
8310 (fdim_test_data): Likewise.
8311 (finite_test_data): Likewise.
8312 (floor_test_data): Likewise.
8313 (fma_test_data): Likewise.
8314 (fma_towardzero_test_data): Likewise.
8315 (fma_downward_test_data): Likewise.
8316 (fma_upward_test_data): Likewise.
8317 (fmax_test_data): Likewise.
8318 (fmin_test_data): Likewise.
8319 (fmod_test_data): Likewise.
8320 (fpclassify_test_data): Likewise.
8321 (frexp_test_data): Likewise.
8322 (gamma_test_data): Likewise.
8323 (hypot_test_data): Likewise.
8324 (ilogb_test_data): Likewise.
8325 (isfinite_test_data): Likewise.
8326 (isgreater_test_data): Likewise.
8327 (isgreaterequal_test_data): Likewise.
8328 (isinf_test_data): Likewise.
8329 (isless_test_data): Likewise.
8330 (islessequal_test_data): Likewise.
8331 (islessgreater_test_data): Likewise.
8332 (isnan_test_data): Likewise.
8333 (isnormal_test_data): Likewise.
8334 (issignaling_test_data): Likewise.
8335 (isunordered_test_data): Likewise.
8336 (j0_test_data): Likewise.
8337 (j1_test_data): Likewise.
8338 (jn_test_data): Likewise.
8339 (ldexp_test_data): Likewise.
8340 (lgamma_test_data): Likewise.
8341 (lrint_test_data): Likewise.
8342 (lrint_tonearest_test_data): Likewise.
8343 (lrint_towardzero_test_data): Likewise.
8344 (lrint_downward_test_data): Likewise.
8345 (lrint_upward_test_data): Likewise.
8346 (llrint_test_data): Likewise.
8347 (llrint_tonearest_test_data): Likewise.
8348 (llrint_towardzero_test_data): Likewise.
8349 (llrint_downward_test_data): Likewise.
8350 (llrint_upward_test_data): Likewise.
8351 (log_test_data): Likewise.
8352 (log10_test_data): Likewise.
8353 (log1p_test_data): Likewise.
8354 (log2_test_data): Likewise.
8355 (logb_test_data): Likewise.
8356 (logb_downward_test_data): Likewise.
8357 (lround_test_data): Likewise.
8358 (llround_test_data): Likewise.
8359 (modf_test_data): Likewise.
8360 (nearbyint_test_data): Likewise.
8361 (nextafter_test_data): Likewise.
8362 (nexttoward_test_data): Likewise.
8363 (pow_test_data): Likewise.
8364 (pow_tonearest_test_data): Likewise.
8365 (pow_towardzero_test_data): Likewise.
8366 (pow_downward_test_data): Likewise.
8367 (pow_upward_test_data): Likewise.
8368 (remainder_test_data): Likewise.
8369 (remainder_tonearest_test_data): Likewise.
8370 (remainder_towardzero_test_data): Likewise.
8371 (remainder_downward_test_data): Likewise.
8372 (remainder_upward_test_data): Likewise.
8373 (remquo_test_data): Likewise.
8374 (rint_test_data): Likewise.
8375 (rint_tonearest_test_data): Likewise.
8376 (rint_towardzero_test_data): Likewise.
8377 (rint_downward_test_data): Likewise.
8378 (rint_upward_test_data): Likewise.
8379 (round_test_data): Likewise.
8380 (scalb_test_data): Likewise.
8381 (scalbn_test_data): Likewise.
8382 (scalbln_test_data): Likewise.
8383 (signbit_test_data): Likewise.
8384 (sin_test_data): Likewise.
8385 (sin_tonearest_test_data): Likewise.
8386 (sin_towardzero_test_data): Likewise.
8387 (sin_downward_test_data): Likewise.
8388 (sin_upward_test_data): Likewise.
8389 (sincos_test_data): Likewise.
8390 (sinh_test_data): Likewise.
8391 (sinh_tonearest_test_data): Likewise.
8392 (sinh_towardzero_test_data): Likewise.
8393 (sinh_downward_test_data): Likewise.
8394 (sinh_upward_test_data): Likewise.
8395 (sqrt_test_data): Likewise.
8396 (tan_test_data): Likewise.
8397 (tan_tonearest_test_data): Likewise.
8398 (tan_towardzero_test_data): Likewise.
8399 (tan_downward_test_data): Likewise.
8400 (tan_upward_test_data): Likewise.
8401 (tanh_test_data): Likewise.
8402 (tgamma_test_data): Likewise.
8403 (trunc_test_data): Likewise.
8404 (y0_test_data): Likewise.
8405 (y1_test_data): Likewise.
8406 (yn_test_data): Likewise.
8407 (significand_test_data): Likewise.
8408
b679a606
JM
8409 * math/gen-libm-test.pl (@functions): Remove variable.
8410 (generate_testfile): Don't handle START and END lines.
8411 * math/libm-test.inc (START): New macro.
8412 (END): Likewise.
8413 (END_COMPLEX): Likewise.
8414 (acos_test): Use END macro without arguments.
8415 (acos_test_tonearest): Likewise.
8416 (acos_test_towardzero): Likewise.
8417 (acos_test_downward): Likewise.
8418 (acos_test_upward): Likewise.
8419 (acosh_test): Likewise.
8420 (asin_test): Likewise.
8421 (asin_test_tonearest): Likewise.
8422 (asin_test_towardzero): Likewise.
8423 (asin_test_downward): Likewise.
8424 (asin_test_upward): Likewise.
8425 (asinh_test): Likewise.
8426 (atan_test): Likewise.
8427 (atanh_test): Likewise.
8428 (atan2_test): Likewise.
8429 (cabs_test): Likewise.
8430 (cacos_test): Use END_COMPLEX macro without arguments.
8431 (cacosh_test): Likewise.
8432 (carg_test): Use END macro without arguments.
8433 (casin_test): Use END_COMPLEX macro without arguments.
8434 (casinh_test): Likewise.
8435 (catan_test): Likewise.
8436 (catanh_test): Likewise.
8437 (cbrt_test): Use END macro without arguments.
8438 (ccos_test): Use END_COMPLEX macro without arguments.
8439 (ccosh_test): Likewise.
8440 (ceil_test): Use END macro without arguments.
8441 (cexp_test): Use END_COMPLEX macro without arguments.
8442 (cimag_test): Use END macro without arguments.
8443 (clog_test): Use END_COMPLEX macro without arguments.
8444 (clog10_test): Likewise.
8445 (conj_test): Likewise.
8446 (copysign_test): Use END macro without arguments.
8447 (cos_test): Likewise.
8448 (cos_test_tonearest): Likewise.
8449 (cos_test_towardzero): Likewise.
8450 (cos_test_downward): Likewise.
8451 (cos_test_upward): Likewise.
8452 (cosh_test): Likewise.
8453 (cosh_test_tonearest): Likewise.
8454 (cosh_test_towardzero): Likewise.
8455 (cosh_test_downward): Likewise.
8456 (cosh_test_upward): Likewise.
8457 (cpow_test): Use END_COMPLEX macro without arguments.
8458 (cproj_test): Likewise.
8459 (creal_test): Use END macro without arguments.
8460 (csin_test): Use END_COMPLEX macro without arguments.
8461 (csinh_test): Likewise.
8462 (csqrt_test): Likewise.
8463 (ctan_test): Likewise.
8464 (ctan_test_tonearest): Likewise.
8465 (ctan_test_towardzero): Likewise.
8466 (ctan_test_downward): Likewise.
8467 (ctan_test_upward): Likewise.
8468 (ctanh_test): Likewise.
8469 (ctanh_test_tonearest): Likewise.
8470 (ctanh_test_towardzero): Likewise.
8471 (ctanh_test_downward): Likewise.
8472 (ctanh_test_upward): Likewise.
8473 (erf_test): Use END macro without arguments.
8474 (erfc_test): Likewise.
8475 (exp_test): Likewise.
8476 (exp_test_tonearest): Likewise.
8477 (exp_test_towardzero): Likewise.
8478 (exp_test_downward): Likewise.
8479 (exp_test_upward): Likewise.
8480 (exp10_test): Likewise.
8481 (exp2_test): Likewise.
8482 (expm1_test): Likewise.
8483 (fabs_test): Likewise.
8484 (fdim_test): Likewise.
8485 (finite_test): Likewise.
8486 (floor_test): Likewise.
8487 (fma_test): Likewise.
8488 (fma_test_towardzero): Likewise.
8489 (fma_test_downward): Likewise.
8490 (fma_test_upward): Likewise.
8491 (fmax_test): Likewise.
8492 (fmin_test): Likewise.
8493 (fmod_test): Likewise.
8494 (fpclassify_test): Likewise.
8495 (frexp_test): Likewise.
8496 (gamma_test): Likewise.
8497 (hypot_test): Likewise.
8498 (ilogb_test): Likewise.
8499 (isfinite_test): Likewise.
8500 (isgreater_test): Likewise.
8501 (isgreaterequal_test): Likewise.
8502 (isinf_test): Likewise.
8503 (isless_test): Likewise.
8504 (islessequal_test): Likewise.
8505 (islessgreater_test): Likewise.
8506 (isnan_test): Likewise.
8507 (isnormal_test): Likewise.
8508 (issignaling_test): Likewise.
8509 (isunordered_test): Likewise.
8510 (j0_test): Likewise.
8511 (j1_test): Likewise.
8512 (jn_test): Likewise.
8513 (ldexp_test): Likewise.
8514 (lgamma_test): Likewise.
8515 (lrint_test): Likewise.
8516 (lrint_test_tonearest): Likewise.
8517 (lrint_test_towardzero): Likewise.
8518 (lrint_test_downward): Likewise.
8519 (lrint_test_upward): Likewise.
8520 (llrint_test): Likewise.
8521 (llrint_test_tonearest): Likewise.
8522 (llrint_test_towardzero): Likewise.
8523 (llrint_test_downward): Likewise.
8524 (llrint_test_upward): Likewise.
8525 (log_test): Likewise.
8526 (log10_test): Likewise.
8527 (log1p_test): Likewise.
8528 (log2_test): Likewise.
8529 (logb_test): Likewise.
8530 (logb_test_downward): Likewise.
8531 (lround_test): Likewise.
8532 (llround_test): Likewise.
8533 (modf_test): Likewise.
8534 (nearbyint_test): Likewise.
8535 (nextafter_test): Likewise.
8536 (nexttoward_test): Likewise.
8537 (pow_test): Likewise.
8538 (pow_test_tonearest): Likewise.
8539 (pow_test_towardzero): Likewise.
8540 (pow_test_downward): Likewise.
8541 (pow_test_upward): Likewise.
8542 (remainder_test): Likewise.
8543 (remainder_test_tonearest): Likewise.
8544 (remainder_test_towardzero): Likewise.
8545 (remainder_test_downward): Likewise.
8546 (remainder_test_upward): Likewise.
8547 (remquo_test): Likewise.
8548 (rint_test): Likewise.
8549 (rint_test_tonearest): Likewise.
8550 (rint_test_towardzero): Likewise.
8551 (rint_test_downward): Likewise.
8552 (rint_test_upward): Likewise.
8553 (round_test): Likewise.
8554 (scalb_test): Likewise.
8555 (scalbn_test): Likewise.
8556 (scalbln_test): Likewise.
8557 (signbit_test): Likewise.
8558 (sin_test): Likewise.
8559 (sin_test_tonearest): Likewise.
8560 (sin_test_towardzero): Likewise.
8561 (sin_test_downward): Likewise.
8562 (sin_test_upward): Likewise.
8563 (sincos_test): Likewise.
8564 (sinh_test): Likewise.
8565 (sinh_test_tonearest): Likewise.
8566 (sinh_test_towardzero): Likewise.
8567 (sinh_test_downward): Likewise.
8568 (sinh_test_upward): Likewise.
8569 (sqrt_test): Likewise.
8570 (tan_test): Likewise.
8571 (tan_test_tonearest): Likewise.
8572 (tan_test_towardzero): Likewise.
8573 (tan_test_downward): Likewise.
8574 (tan_test_upward): Likewise.
8575 (tanh_test): Likewise.
8576 (tgamma_test): Likewise.
8577 (trunc_test): Likewise.
8578 (y0_test): Likewise.
8579 (y1_test): Likewise.
8580 (yn_test): Likewise.
8581 (significand_test): Likewise.
8582
bae143d2
OB
85832013-05-24 Ondřej Bílka <neleai@seznam.cz>
8584
8585 [BZ #15381]
8586 * libio/genops.c (_IO_no_init): Initialize wide struct info.
8587
9323d39b
EM
85882013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
8589
d4ea44a0 8590 [BZ #14894]
9323d39b
EM
8591 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
8592 __ppc_mdoio and __ppc_mdoom.
8593 * manual/platform.texi: Document new functions __ppc_yield,
8594 __ppc_mdoio and __ppc_mdoom.
8595
13e23af7
CD
85962013-05-22 Carlos O'Donell <carlos@redhat.com>
8597
8598 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
8599 (main): Mention "tls" pseudo-hwcap is legacy.
8600 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
8601
351fe550
JM
86022013-05-22 Joseph Myers <joseph@codesourcery.com>
8603
8604 * math/gen-libm-test.pl (parse_args): Output only string of
8605 arguments as text for test name, not full call or descriptions of
8606 tests for extra outputs.
8607 (generate_testfile): Do not pass function name to parse_args.
8608 Generate this_func variable from START.
8609 * math/libm-test.inc (struct test_f_f_data): Rename test_name
8610 field to arg_str.
8611 (struct test_ff_f_data): Likewise.
8612 (test_ff_f_data_nexttoward): Likewise.
8613 (struct test_fi_f_data): Likewise.
8614 (struct test_fl_f_data): Likewise.
8615 (struct test_if_f_data): Likewise.
8616 (struct test_fff_f_data): Likewise.
8617 (struct test_c_f_data): Likewise.
8618 (struct test_f_f1_data): Likewise. Remove field extra_name.
8619 (struct test_fF_f1_data): Likewise.
8620 (struct test_ffI_f1_data): Likewise.
8621 (struct test_c_c_data): Rename test_name field to arg_str.
8622 (struct test_cc_c_data): Likewise.
8623 (struct test_f_i_data): Likewise.
8624 (struct test_ff_i_data): Likewise.
8625 (struct test_f_l_data): Likewise.
8626 (struct test_f_L_data): Likewise.
8627 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
8628 and extra2_name.
8629 (COMMON_TEST_SETUP): New macro.
8630 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
8631 (COMMON_TEST_CLEANUP): Likewise.
8632 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
8633 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
8634 macros.
8635 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
8636 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
8637 macros.
8638 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
8639 (RUN_TEST_fff_f): Take argument string. Call new setup and
8640 cleanup macros.
8641 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
8642 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
8643 macros.
8644 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
8645 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
8646 macros.
8647 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8648 (RUN_TEST_fF_f1): Take argument string. Call new setup and
8649 cleanup macros.
8650 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8651 (RUN_TEST_fI_f1): Take argument string. Call new setup and
8652 cleanup macros.
8653 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8654 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
8655 cleanup macros.
8656 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8657 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
8658 macros.
8659 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
8660 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
8661 macros.
8662 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
8663 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
8664 macros.
8665 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
8666 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
8667 cleanup macros.
8668 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
8669 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
8670 cleanup macros.
8671 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
8672 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
8673 macros.
8674 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
8675 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
8676 cleanup macros.
8677 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
8678 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
8679 macros.
8680 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
8681 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
8682 macros.
8683 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
8684 (RUN_TEST_fFF_11): Take argument string. Call new setup and
8685 cleanup macros.
8686 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
8687
85118d4d
EBM
86882013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8689
8690 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
8691 to _sifields.sigfault.
8692 (si_addr_lsb): Define new macro.
8693 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8694 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8695 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
8696
7a44c18f
CD
86972013-05-03 Carlos O'Donell <carlos at redhat.com>
8698
8699 [BZ #15441]
8700 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
8701 returns -1.
8702 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
8703 null return -1.
8704 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
8705 loading the domain.
8706
b50a7181
JM
87072013-05-22 Joseph Myers <joseph@codesourcery.com>
8708
8709 * math/gen-libm-test.pl (parse_args): Do not include expected
8710 result in test name.
8711 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
8712 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8713 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8714 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8715 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8716 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8717
051063c8
SP
87182013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8719
3ce9e010
SP
8720 * benchtests/Makefile: Sort function entries.
8721
051063c8
SP
8722 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
8723 tanh, asinh, acosh, atanh.
8724 * benchtests/acos-inputs: New file.
8725 * benchtests/acosh-inputs: New file.
8726 * benchtests/asin-inputs: New file.
8727 * benchtests/asinh-inputs: New file.
8728 * benchtests/atanh-inputs: New file.
8729 * benchtests/cosh-inputs: New file.
8730 * benchtests/log-inputs: New file.
8731 * benchtests/sinh-inputs: New file.
8732 * benchtests/tanh-inputs: New file.
8733
47c22455
DL
87342013-05-21 Dmitry V. Levin <ldv@altlinux.org>
8735
8736 [BZ #15339]
8737 * posix/tst-getaddrinfo4.c: New test.
8738 * posix/Makefile (tests): Add it.
8739
3d04f5db
SP
87402013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8741
8742 [BZ #15339]
8743 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
8744 when no services were used.
8745 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
8746 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
8747
d5dd6189
AS
87482013-05-21 Andreas Schwab <schwab@suse.de>
8749
8750 [BZ #15014]
8751 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
8752 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
8753 successful.
8754 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
8755 redundant variable declarations and reallocation of buffer when
8756 parsing as IPv6 address. Always set NSS status when called from
8757 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
8758 buffer too small. Correct computation of needed size.
8759 * nss/Makefile (tests): Add test-digits-dots.
8760 * nss/test-digits-dots.c: New test.
8761
fef94eab
SP
87622013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8763
8764 * benchtests/Makefile: Remove instructions for adding
8765 benchmark tests.
8766 * benchtests/README: New file to explain how to execute and
8767 enhance the benchmark tests.
8768
e39adf43
AS
87692013-05-21 Andreas Schwab <schwab@suse.de>
8770
8771 [BZ #15493]
8772 * setjmp/Makefile (tests): Add tst-sigsetjmp.
8773 * setjmp/tst-sigsetjmp.c: New test.
8774
b2b671b6
OB
87752013-05-20 Ondřej Bílka <neleai@seznam.cz>
8776
8777 * sysdeps/x86_64/memset.S (memset): New implementation.
8778 (__bzero): Likewise.
8779 (__memset_tail): New function.
8780
2d48b41c
OB
87812013-05-20 Ondřej Bílka <neleai@seznam.cz>
8782
8783 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
8784 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
8785 __memcpy_sse2_unaligned ifunc selection.
8786 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8787 Add memcpy-sse2-unaligned.S.
8788 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8789 Add: __memcpy_sse2_unaligned.
8790
f16cc3eb
JM
87912013-05-19 Joseph Myers <joseph@codesourcery.com>
8792
3e694268
JM
8793 [BZ #15490]
8794 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8795 math_force_eval before restoring floating-point envrionment.
8796 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
8797 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
8798 Likewise.
8799 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
8800 <math_private.h>.
8801 (__nearbyintl): Use math_force_eval before restoring
8802 floating-point environment.
8803 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
8804
db62a907
JM
8805 * math/gen-libm-test.pl (special_functions): Remove.
8806 (parse_args): Don't handle TEST_extra. Handle functions with no
8807 return value.
8808 * math/libm-test.inc (struct test_sincos_data): Replace with
8809 struct test_fFF_11_data.
8810 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
8811 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
8812 (sincos_test_data): Change element type to struct
8813 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
8814 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
8815 RUN_TEST_LOOP_sincos.
8816 * math/README.libm-test: Don't mention special handling of
8817 individual functions.
8818 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
8819 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8820 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8821 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8822 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8823 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8824
f16cc3eb
JM
8825 * math/gen-libm-test.pl (get_variable): Remove function.
8826 (parse_args): Don't show pointer parameters to call in test
8827 names. Use "extra output N" in test names for extra outputs
8828 rather than naming variables.
8829
3779b5b6
JM
88302013-05-18 Joseph Myers <joseph@codesourcery.com>
8831
2ee094ff
JM
8832 [BZ #15488]
8833 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
8834 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
8835 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
8836 double tests.
8837 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
8838 disable.
8839 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
8840 check_long_double.
8841
3779b5b6
JM
8842 * math/gen-libm-test.pl (@tests): Remove variable.
8843 ($count): Likewise.
8844 (new_test): Remove function.
8845 (show_exceptions): New function.
8846 (special_functions): Use show_exceptions instead of new_test.
8847 (parse_args): Likewise.
8848 (generate_testfile): Pass only function name in generated call to
8849 print_max_error or print_complex_max_error.
8850 (get_ulps): Do not handle complex tests specially.
8851 (output_test): Rename to ...
8852 (get_all_ulps_for_test): ... this. Return a string rather than
8853 printing to a file. Require ulps to be present.
8854 (output_ulps): Generate arrays rather than #defines.
8855 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
8856 (struct ulp_data): New type.
8857 (BUILD_COMPLEX_ULP): Remove macro.
8858 (compare_ulp_data): New function.
8859 (find_ulps): Likewise.
8860 (find_test_ulps): Likewise.
8861 (find_function_ulps): Likewise.
8862 (find_complex_function_ulps): Likewise.
8863 (print_max_error): Determine allowed ulps using
8864 find_function_ulps.
8865 (print_complex_max_error): Determine allowed ulps using
8866 find_complex_function_ulps.
8867 (check_float_internal): Determine max ulps using find_test_ulps.
8868 (check_float): Do not take max_ulp parameter. Update call to
8869 check_float_internal.
8870 (check_complex): Likewise.
8871 (check_int): Do not take max_ulp parameter.
8872 (check_long): Likewise.
8873 (check_bool): Likewise.
8874 (check_longlong): Likewise.
8875 (struct test_f_f_data): Remove max_ulp field.
8876 (struct test_ff_f_data): Likewise.
8877 (struct test_ff_f_data_nexttoward): Likewise.
8878 (struct test_fi_f_data): Likewise.
8879 (struct test_fl_f_data): Likewise.
8880 (struct test_if_f_data): Likewise.
8881 (struct test_fff_f_data): Likewise.
8882 (struct test_c_f_data): Likewise.
8883 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
8884 (struct test_fF_f1_data): Likewise.
8885 (struct test_ffI_f1_data): Likewise.
8886 (struct test_c_c_data): Remove max_ulp field.
8887 (struct test_cc_c_data): Likewise.
8888 (struct test_f_i_data): Likewise.
8889 (struct test_ff_i_data): Likewise.
8890 (struct test_f_l_data): Likewise.
8891 (struct test_f_L_data): Likewise.
8892 (struct test_sincos_data): Likewise.
8893 (RUN_TEST_f_f): Do not handle ulps.
8894 (RUN_TEST_LOOP_f_f): Likewise.
8895 (RUN_TEST_2_f): Likewise.
8896 (RUN_TEST_LOOP_2_f): Likewise.
8897 (RUN_TEST_fff_f): Likewise.
8898 (RUN_TEST_LOOP_fff_f): Likewise.
8899 (RUN_TEST_c_f): Likewise.
8900 (RUN_TEST_LOOP_c_f): Likewise.
8901 (RUN_TEST_f_f1): Likewise.
8902 (RUN_TEST_LOOP_f_f1): Likewise.
8903 (RUN_TEST_fF_f1): Likewise.
8904 (RUN_TEST_LOOP_fF_f1): Likewise.
8905 (RUN_TEST_fI_f1): Likewise.
8906 (RUN_TEST_LOOP_fI_f1): Likewise.
8907 (RUN_TEST_ffI_f1): Likewise.
8908 (RUN_TEST_LOOP_ffI_f1): Likewise.
8909 (RUN_TEST_c_c): Likewise.
8910 (RUN_TEST_LOOP_c_c): Likewise.
8911 (RUN_TEST_cc_c): Likewise.
8912 (RUN_TEST_LOOP_cc_c): Likewise.
8913 (RUN_TEST_f_i): Likewise.
8914 (RUN_TEST_LOOP_f_i): Likewise.
8915 (RUN_TEST_f_i_tg): Likewise.
8916 (RUN_TEST_LOOP_f_i_tg): Likewise.
8917 (RUN_TEST_ff_i_tg): Likewise.
8918 (RUN_TEST_LOOP_ff_i_tg): Likewise.
8919 (RUN_TEST_f_b): Likewise.
8920 (RUN_TEST_LOOP_f_b): Likewise.
8921 (RUN_TEST_f_b_tg): Likewise.
8922 (RUN_TEST_LOOP_f_b_tg): Likewise.
8923 (RUN_TEST_f_l): Likewise.
8924 (RUN_TEST_LOOP_f_l): Likewise.
8925 (RUN_TEST_f_L): Likewise.
8926 (RUN_TEST_LOOP_f_L): Likewise.
8927 (RUN_TEST_sincos): Likewise.
8928 (RUN_TEST_LOOP_sincos): Likewise.
8929
8269107f
JM
89302013-05-17 Joseph Myers <joseph@codesourcery.com>
8931
bb38759d
JM
8932 [BZ #15480]
8933 [BZ #15485]
8934 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
8935 main case of finite arguments, set rounding mode to FE_TONEAREST
8936 and discard exceptions.
8937 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
8938 exceptions.
8939 (remainder_tonearest_test_data): New variable.
8940 (remainder_test_tonearest): New function.
8941 (remainder_towardzero_test_data): New variable.
8942 (remainder_test_towardzero): New function.
8943 (remainder_downward_test_data): New variable.
8944 (remainder_test_downward): New function.
8945 (remainder_upward_test_data): New variable.
8946 (remainder_test_upward): New function.
8947 (main): Call the new test functions.
8948
a00bdcf0
JM
8949 * math/libm-test.inc (struct test_f_f1_data): Remove field
8950 extra_init.
8951 (struct test_fF_f1_data): Likewise.
8952 (struct test_ffI_f1_data): Likewise.
8953 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
8954 based on value of EXTRA_EXPECTED.
8955 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8956 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
8957 EXTRA_VAR based on value of EXTRA_EXPECTED.
8958 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8959 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
8960 EXTRA_VAR based on value of EXTRA_EXPECTED.
8961 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8962 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
8963 EXTRA_VAR based on value of EXTRA_EXPECTED.
8964 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8965 * math/gen-libm-test.pl (parse_args): Don't output initializers
8966 for extra output values.
8967
de407f79
JM
8968 * math/libm-test.inc (check_int): Expect result to be exactly
8969 equal to expected value and do not handle ulps.
8970 (check_long): Likewise.
8971 (check_longlong): Likewise.
8972
8269107f
JM
8973 * math/libm-test.inc (ceil_test_data): Test for "inexact"
8974 exceptions.
8975 (cimag_test_data): Likewise.
8976 (conj_test_data): Likewise.
8977 (copysign_test_data): Likewise.
8978 (cproj_test_data): Likewise.
8979 (creal_test_data): Likewise.
8980 (fabs_test_data): Likewise.
8981 (fdim_test_data): Likewise.
8982 (finite_test_data): Likewise.
8983 (floor_test_data): Likewise.
8984 (fmax_test_data): Likewise.
8985 (fmin_test_data): Likewise.
8986 (fmod_test_data): Likewise.
8987 (fpclassify_test_data): Likewise.
8988 (frexp_test_data): Likewise.
8989 (ilogb_test_data): Likewise.
8990 (isfinite_test_data): Likewise.
8991 (isgreater_test_data): Likewise.
8992 (isgreaterequal_test_data): Likewise.
8993 (isinf_test_data): Likewise.
8994 (isless_test_data): Likewise.
8995 (islessequal_test_data): Likewise.
8996 (islessgreater_test_data): Likewise.
8997 (isnan_test_data): Likewise.
8998 (isnormal_test_data): Likewise.
8999 (issignaling_test_data): Likewise.
9000 (isunordered_test_data): Likewise.
9001 (ldexp_test_data): Likewise.
9002 (lrint_test_data): Likewise.
9003 (lrint_test_data) [TEST_FLOAT]: Disable one test.
9004 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
9005 (lrint_tonearest_test_data): Test for "inexact" exceptions.
9006 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
9007 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
9008 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
9009 test input.
9010 (lrint_towardzero_test_data): Test for "inexact" exceptions.
9011 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
9012 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
9013 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
9014 that test input.
9015 (lrint_downward_test_data): Test for "inexact" exceptions.
9016 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
9017 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
9018 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
9019 test input.
9020 (lrint_upward_test_data): Test for "inexact" exceptions.
9021 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
9022 test input.
9023 (llrint_test_data): Test for "inexact" exceptions.
9024 (llrint_test_data) [TEST_FLOAT]: Disable one test.
9025 (llrint_tonearest_test_data): Test for "inexact" exceptions.
9026 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
9027 (llrint_towardzero_test_data): Test for "inexact" exceptions.
9028 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
9029 (llrint_downward_test_data): Test for "inexact" exceptions.
9030 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
9031 (llrint_upward_test_data): Test for "inexact" exceptions.
9032 (logb_test_data): Likewise.
9033 (logb_downward_test_data): Likewise.
9034 (nextafter_test_data): Likewise.
9035 (nexttoward_test_data): Likewise.
9036 (remainder_test_data): Likewise.
9037 (remquo_test_data): Likewise.
9038 (scalbn_test_data): Likewise.
9039 (scalbln_test_data): Likewise.
9040 (signbit_test_data): Likewise.
9041 (sqrt_test_data): Likewise.
9042 (significand_test_data): Likewise.
9043
48a18de1
SP
90442013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9045
9046 [BZ #15424]
9047 * benchtests/bench-modf.c (struct args): Mark arg0 as
9048 volatile.
9049 * scripts/bench.pl: Mark members of struct args as volatile.
9050
13d3b41a
AZ
90512013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9052
68191c1d 9053 [BZ # 15497]
13d3b41a
AZ
9054 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
9055 negative infinity on POWER6 or lower.
9056 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
9057
2848b105
MR
90582013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
9059
9060 [BZ #15442]
9061 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
9062 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
9063 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
9064 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
9065 (_FP_SETQNAN): New macro.
9066 (_FP_SETQNAN_SEMIRAW): Likewise.
9067 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
9068 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
9069 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
9070 (FP_EXTEND): Use _FP_FRAC_SNANP.
9071 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
9072 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
9073 into account.
9074 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
9075 New macro.
9076 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
9077 Likewise.
9078
323e5cb7
JM
90792013-05-16 Joseph Myers <joseph@codesourcery.com>
9080
c58b274f
JM
9081 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
9082 with DIVIDE_BY_ZERO_EXCEPTION.
9083 (gamma_test_data): Likewise.
9084 (lgamma_test_data): Likewise.
9085 (log_test_data): Likewise.
9086 (log10_test_data): Likewise.
9087 (log2_test_data): Likewise.
9088 (tgamma_test_data): Likewise.
9089
0ab34904
JM
9090 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
9091 (acos_test_tonearest): Likewise.
9092 (acos_test_towardzero): Likewise.
9093 (acos_test_downward): Likewise.
9094 (acos_test_upward): Likewise.
9095 (acosh_test): Likewise.
9096 (asin_test): Likewise.
9097 (asin_test_tonearest): Likewise.
9098 (asin_test_towardzero): Likewise.
9099 (asin_test_downward): Likewise.
9100 (asin_test_upward): Likewise.
9101 (asinh_test): Likewise.
9102 (atan_test): Likewise.
9103 (atanh_test): Likewise.
9104 (atan2_test): Likewise.
9105 (cabs_test): Likewise.
9106 (cacos_test): Likewise.
9107 (cacosh_test): Likewise.
9108 (casin_test): Likewise.
9109 (casinh_test): Likewise.
9110 (catan_test): Likewise.
9111 (catanh_test): Likewise.
9112 (cbrt_test): Likewise.
9113 (ccos_test): Likewise.
9114 (ccosh_test): Likewise.
9115 (cexp_test): Likewise.
9116 (clog_test): Likewise.
9117 (clog10_test): Likewise.
9118 (cos_test): Likewise.
9119 (cos_test_tonearest): Likewise.
9120 (cos_test_towardzero): Likewise.
9121 (cos_test_downward): Likewise.
9122 (cos_test_upward): Likewise.
9123 (cosh_test): Likewise.
9124 (cosh_test_tonearest): Likewise.
9125 (cosh_test_towardzero): Likewise.
9126 (cosh_test_downward): Likewise.
9127 (cosh_test_upward): Likewise.
9128 (cpow_test): Likewise.
9129 (csin_test): Likewise.
9130 (csinh_test): Likewise.
9131 (csqrt_test): Likewise.
9132 (ctan_test): Likewise.
9133 (ctan_test_tonearest): Likewise.
9134 (ctan_test_towardzero): Likewise.
9135 (ctan_test_downward): Likewise.
9136 (ctan_test_upward): Likewise.
9137 (ctanh_test): Likewise.
9138 (ctanh_test_tonearest): Likewise.
9139 (ctanh_test_towardzero): Likewise.
9140 (ctanh_test_downward): Likewise.
9141 (ctanh_test_upward): Likewise.
9142 (erf_test): Likewise.
9143 (erfc_test): Likewise.
9144 (exp_test): Likewise.
9145 (exp_test_tonearest): Likewise.
9146 (exp_test_towardzero): Likewise.
9147 (exp_test_downward): Likewise.
9148 (exp_test_upward): Likewise.
9149 (exp10_test): Likewise.
9150 (exp2_test): Likewise.
9151 (expm1_test): Likewise.
9152 (fmod_test): Likewise.
9153 (gamma_test): Likewise.
9154 (hypot_test): Likewise.
9155 (j0_test): Likewise.
9156 (j1_test): Likewise.
9157 (jn_test): Likewise.
9158 (lgamma_test): Likewise.
9159 (log_test): Likewise.
9160 (log10_test): Likewise.
9161 (log1p_test): Likewise.
9162 (log2_test): Likewise.
9163 (logb_test_downward): Likewise.
9164 (pow_test): Likewise.
9165 (pow_test_tonearest): Likewise.
9166 (pow_test_towardzero): Likewise.
9167 (pow_test_downward): Likewise.
9168 (pow_test_upward): Likewise.
9169 (remainder_test): Likewise.
9170 (remquo_test): Likewise.
9171 (sin_test): Likewise.
9172 (sin_test_tonearest): Likewise.
9173 (sin_test_towardzero): Likewise.
9174 (sin_test_downward): Likewise.
9175 (sin_test_upward): Likewise.
9176 (sincos_test): Likewise.
9177 (sinh_test): Likewise.
9178 (sinh_test_tonearest): Likewise.
9179 (sinh_test_towardzero): Likewise.
9180 (sinh_test_downward): Likewise.
9181 (sinh_test_upward): Likewise.
9182 (sqrt_test): Likewise.
9183 (tan_test): Likewise.
9184 (tan_test_tonearest): Likewise.
9185 (tan_test_towardzero): Likewise.
9186 (tan_test_downward): Likewise.
9187 (tan_test_upward): Likewise.
9188 (tanh_test): Likewise.
9189 (tgamma_test): Likewise.
9190 (y0_test): Likewise.
9191 (y1_test): Likewise.
9192 (yn_test): Likewise.
9193
323e5cb7
JM
9194 * math/gen-libm-test.pl (adjust_arg): Remove function.
9195 (special_function): Remove argument $in_func. Only handle
9196 generating output for tables of tests, not inside functions.
9197 (parse_args): Likewise.
9198 (generate_testfile): Remove variable $in_func. Update call to
9199 parse_args.
9200 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
9201 (MINUS_ZERO_INIT): Rename macro to minus_zero.
9202 (PLUS_INFTY_INIT): Rename macro to plus_infty.
9203 (MINUS_INFTY_INIT): Rename macro to minus_infty.
9204 (QNAN_VALUE_INIT): Rename macro to qnan_value.
9205 (MAX_VALUE_INIT): Rename macro to max_value.
9206 (MIN_VALUE_INIT): Rename macro to min_value.
9207 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
9208 (plus_zero): Remove variable.
9209 (minus_zero): Likewise.
9210 (plus_infty): Likewise.
9211 (minus_infty): Likewise.
9212 (qnan_value): Likewise.
9213 (max_value): Likewise.
9214 (min_value): Likewise.
9215 (min_subnorm_value): Likewise.
9216
e054f494
RA
92172013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9218
9219 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
9220 uint64_t or uint32_t usage.
9221 * crypt/sha256-block.c: Likewise.
9222 * crypt/sha256-crypt.c: Likewise.
9223 * crypt/sha256.c: Likewise.
9224 * crypt/sha512-block.c: Likewise.
9225 * crypt/sha512-crypt.c: Likewise.
9226 * crypt/sha512.c: Likewise.
9227 * debug/backtrace-tst.c: Likewise.
9228 * debug/pcprofiledump.c: Likewise.
9229 * elf/cache.c: Likewise.
9230 * elf/dl-cache.c: Likewise.
9231 * elf/dl-misc.c: Likewise.
9232 * elf/dl-profile.c: Likewise.
9233 * elf/dl-support.c: Likewise.
9234 * elf/ldconfig.c: Likewise.
9235 * elf/sprof.c: Likewise.
9236 * iconv/dummy-repertoire.c: Likewise.
9237 * iconv/iconv_charmap.c: Likewise.
9238 * iconv/skeleton.c: Likewise.
9239 * iconvdata/8bit-generic.c: Likewise.
9240 * iconvdata/cp737.h: Likewise.
9241 * iconvdata/cp775.h: Likewise.
9242 * iconvdata/ibm1008.h: Likewise.
9243 * iconvdata/ibm1025.h: Likewise.
9244 * iconvdata/ibm1046.h: Likewise.
9245 * iconvdata/ibm1097.h: Likewise.
9246 * iconvdata/ibm1112.h: Likewise.
9247 * iconvdata/ibm1122.h: Likewise.
9248 * iconvdata/ibm1123.h: Likewise.
9249 * iconvdata/ibm1124.h: Likewise.
9250 * iconvdata/ibm1129.h: Likewise.
9251 * iconvdata/ibm1130.h: Likewise.
9252 * iconvdata/ibm1132.h: Likewise.
9253 * iconvdata/ibm1133.h: Likewise.
9254 * iconvdata/ibm1137.h: Likewise.
9255 * iconvdata/ibm1140.h: Likewise.
9256 * iconvdata/ibm1141.h: Likewise.
9257 * iconvdata/ibm1142.h: Likewise.
9258 * iconvdata/ibm1143.h: Likewise.
9259 * iconvdata/ibm1144.h: Likewise.
9260 * iconvdata/ibm1145.h: Likewise.
9261 * iconvdata/ibm1146.h: Likewise.
9262 * iconvdata/ibm1147.h: Likewise.
9263 * iconvdata/ibm1148.h: Likewise.
9264 * iconvdata/ibm1149.h: Likewise.
9265 * iconvdata/ibm1153.h: Likewise.
9266 * iconvdata/ibm1154.h: Likewise.
9267 * iconvdata/ibm1155.h: Likewise.
9268 * iconvdata/ibm1156.h: Likewise.
9269 * iconvdata/ibm1157.h: Likewise.
9270 * iconvdata/ibm1158.h: Likewise.
9271 * iconvdata/ibm1160.h: Likewise.
9272 * iconvdata/ibm1161.h: Likewise.
9273 * iconvdata/ibm1162.h: Likewise.
9274 * iconvdata/ibm1163.h: Likewise.
9275 * iconvdata/ibm1164.h: Likewise.
9276 * iconvdata/ibm1166.h: Likewise.
9277 * iconvdata/ibm1167.h: Likewise.
9278 * iconvdata/ibm12712.h: Likewise.
9279 * iconvdata/ibm1390.h: Likewise.
9280 * iconvdata/ibm1399.h: Likewise.
9281 * iconvdata/ibm16804.h: Likewise.
9282 * iconvdata/ibm4517.h: Likewise.
9283 * iconvdata/ibm4899.h: Likewise.
9284 * iconvdata/ibm4909.h: Likewise.
9285 * iconvdata/ibm4971.h: Likewise.
9286 * iconvdata/ibm5347.h: Likewise.
9287 * iconvdata/ibm803.h: Likewise.
9288 * iconvdata/ibm856.h: Likewise.
9289 * iconvdata/ibm901.h: Likewise.
9290 * iconvdata/ibm902.h: Likewise.
9291 * iconvdata/ibm9030.h: Likewise.
9292 * iconvdata/ibm9066.h: Likewise.
9293 * iconvdata/ibm921.h: Likewise.
9294 * iconvdata/ibm922.h: Likewise.
9295 * iconvdata/ibm9448.h: Likewise.
9296 * iconvdata/isiri-3342.h: Likewise.
9297 * iconvdata/jis0201.h: Likewise.
9298 * include/link.h: Likewise.
9299 * include/netdb.h: Likewise.
9300 * inet/check_native.c: Likewise.
9301 * inet/check_pf.c: Likewise.
9302 * inet/getipv4sourcefilter.c: Likewise.
9303 * inet/getnameinfo.c: Likewise.
9304 * inet/getsourcefilter.c: Likewise.
9305 * inet/htonl.c: Likewise.
9306 * inet/setipv4sourcefilter.c: Likewise.
9307 * inet/setsourcefilter.c: Likewise.
9308 * inet/test-inet6_opt.c: Likewise.
9309 * inet/tst-network.c: Likewise.
9310 * locale/C-collate.c: Likewise.
9311 * locale/C-ctype.c: Likewise.
9312 * locale/C-time.c: Likewise.
9313 * locale/C-translit.h: Likewise.
9314 * locale/loadarchive.c: Likewise.
9315 * locale/programs/3level.h: Likewise.
9316 * locale/programs/charmap.c: Likewise.
9317 * locale/programs/charmap.h: Likewise.
9318 * locale/programs/ld-address.c: Likewise.
9319 * locale/programs/ld-collate.c: Likewise.
9320 * locale/programs/ld-ctype.c: Likewise.
9321 * locale/programs/ld-identification.c: Likewise.
9322 * locale/programs/ld-measurement.c: Likewise.
9323 * locale/programs/ld-messages.c: Likewise.
9324 * locale/programs/ld-monetary.c: Likewise.
9325 * locale/programs/ld-name.c: Likewise.
9326 * locale/programs/ld-numeric.c: Likewise.
9327 * locale/programs/ld-paper.c: Likewise.
9328 * locale/programs/ld-telephone.c: Likewise.
9329 * locale/programs/ld-time.c: Likewise.
9330 * locale/programs/linereader.c: Likewise.
9331 * locale/programs/locale.c: Likewise.
9332 * locale/programs/locarchive.c: Likewise.
9333 * locale/programs/locfile.h: Likewise.
9334 * locale/programs/repertoire.c: Likewise.
9335 * locale/programs/simple-hash.c: Likewise.
9336 * locale/programs/simple-hash.h: Likewise.
9337 * malloc/memusage.c: Likewise.
9338 * malloc/memusagestat.c: Likewise.
9339 * nis/nis_defaults.c: Likewise.
9340 * nis/nis_hash.c: Likewise.
9341 * nis/nis_print.c: Likewise.
9342 * nis/nis_xdr.c: Likewise.
9343 * nscd/connections.c: Likewise.
9344 * nscd/hstcache.c: Likewise.
9345 * nscd/nscd_gethst_r.c: Likewise.
9346 * nscd/nscd_getserv_r.c: Likewise.
9347 * nscd/nscd_helper.c: Likewise.
9348 * nscd/servicescache.c: Likewise.
9349 * nss/makedb.c: Likewise.
9350 * nss/nss_db/db-XXX.c: Likewise.
9351 * nss/nss_db/db-initgroups.c: Likewise.
9352 * nss/nss_db/db-netgrp.c: Likewise.
9353 * nss/nss_files/files-network.c: Likewise.
9354 * nss/nss_files/files-parse.c: Likewise.
9355 * posix/bug-regex5.c: Likewise.
9356 * posix/fnmatch_loop.c: Likewise.
9357 * posix/regcomp.c: Likewise.
9358 * posix/regexec.c: Likewise.
9359 * posix/tst-rfc3484-2.c: Likewise.
9360 * posix/tst-rfc3484-3.c: Likewise.
9361 * posix/tst-rfc3484.c: Likewise.
9362 * resolv/nss_dns/dns-canon.c: Likewise.
9363 * resolv/nss_dns/dns-network.c: Likewise.
9364 * resolv/res_init.c: Likewise.
9365 * resolv/res_mkquery.c: Likewise.
9366 * resolv/tst-aton.c: Likewise.
9367 * stdlib/cxa_atexit.c: Likewise.
9368 * stdlib/cxa_finalize.c: Likewise.
9369 * stdlib/gen-fpioconst.c: Likewise.
9370 * stdlib/strtol_l.c: Likewise.
9371 * string/tst-endian.c: Likewise.
9372 * sunrpc/auth_des.c: Likewise.
9373 * sunrpc/clnt_udp.c: Likewise.
9374 * sunrpc/rtime.c: Likewise.
9375 * sunrpc/svcauth_des.c: Likewise.
9376 * sunrpc/xdr.c: Likewise.
9377 * sunrpc/xdr_intXX_t.c: Likewise.
9378 * sunrpc/xdr_rec.c: Likewise.
9379 * sysdeps/generic/ldconfig.h: Likewise.
9380 * sysdeps/generic/ldsodefs.h: Likewise.
9381 * sysdeps/generic/memusage.h: Likewise.
9382 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
9383 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
9384 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
9385 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9386 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9387 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9388 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
9389 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
9390 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9391 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9392 * sysdeps/posix/getaddrinfo.c: Likewise.
9393 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9394 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9395 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9396 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9397 * sysdeps/powerpc/test-gettimebase.c: Likewise.
9398 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9399 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
9400 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
9401 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
9402 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
9403 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9404 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9405 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
9406 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
9407 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
9408 * sysdeps/x86_64/dl-tls.h: Likewise.
9409 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
9410 * time/alt_digit.c: Likewise.
9411 * time/era.c: Likewise.
9412 * wcsmbs/tst-c16c32-1.c: Likewise.
9413
8c75f674
JM
94142013-05-16 Joseph Myers <joseph@codesourcery.com>
9415
9416 * math/libm-test.inc (struct test_sincos_data): New type.
9417 (RUN_TEST_LOOP_sincos): New macro.
9418 (sincos_test_data): New variable.
9419 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
9420
e6e49e59
RH
94212013-05-16 Richard Henderson <rth@redhat.com>
9422
9423 * math/atest-exp2.c (LIMB64): New macro.
9424 (CONSTSZ): New macro.
9425 (mp_exp1, mp_exp_m1, mp_log2): New variables.
9426 (hexdig): Move ...
9427 (print_mpn_fp): ... to function scope.
9428 (read_mpn_hex): Remove.
9429 (get_log2): Remove.
9430 (exp2_mpn): Use mp_log2.
9431 (main): Use mp_exp1.
9432
15c7c18d
JM
94332013-05-16 Joseph Myers <joseph@codesourcery.com>
9434
105a07df
JM
9435 * math/libm-test.inc: Remove comment about not testing "inexact"
9436 exceptions.
9437 (INEXACT_EXCEPTION): New macro.
9438 (NO_INEXACT_EXCEPTION): Likewise.
9439 (INVALID_EXCEPTION_OK): Update value.
9440 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9441 (OVERFLOW_EXCEPTION_OK): Likewise.
9442 (UNDERFLOW_EXCEPTION_OK): Likewise.
9443 (IGNORE_ZERO_INF_SIGN): Likewise.
9444 (ERRNO_UNCHANGED): Likewise.
9445 (ERRNO_EDOM): Likewise.
9446 (ERRNO_ERANGE): Likewise.
9447 (test_exceptions): Handle testing "inexact" exceptions.
9448 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
9449 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
9450 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
9451 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
9452 INEXACT_EXCEPTION.
9453 (rint_towardzero_test_data): Likewise.
9454 (rint_downward_test_data): Likewise.
9455 (rint_upward_test_data): Likewise.
9456
e9eee333
JM
9457 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
9458 with OVERFLOW_EXCEPTION.
9459 (exp10_test_data): Likewise.
9460 (exp2_test_data): Likewise.
9461 (expm1_test_data): Likewise.
9462 (lgamma_test_data): Likewise.
9463 (pow_test_data): Likewise.
9464 (tgamma_test_data): Likewise.
9465 (yn_test_data): Remove duplicate test of overflow.
9466
1c38ff73
JM
9467 * math/libm-test.inc (struct test_cc_c_data): New type.
9468 (RUN_TEST_LOOP_cc_c): New macro.
9469 (cpow_test_data): New variable.
9470 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
9471
15c7c18d
JM
9472 * math/libm-test.inc (struct test_f_L_data): New type.
9473 (RUN_TEST_LOOP_f_L): New macro.
9474 (llrint_test_data): New variable.
9475 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
9476 (llrint_tonearest_test_data): New variable.
9477 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
9478 (llrint_towardzero_test_data): New variable.
9479 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
9480 (llrint_downward_test_data): New variable.
9481 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
9482 (llrint_upward_test_data): New variable.
9483 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
9484 (llround_test_data): New variable.
9485 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
9486
f137ff13
PC
94872013-05-13 Peter Collingbourne <pcc@google.com>
9488
9489 * math/atest-exp2.c (get_log2): Remove const attribute.
9490
3608cb24
JM
94912013-05-15 Joseph Myers <joseph@codesourcery.com>
9492
9493 * math/libm-test.inc (struct test_f_l_data): New type.
9494 (RUN_TEST_LOOP_f_l): New macro.
9495 (lrint_test_data): New variable.
9496 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
9497 (lrint_tonearest_test_data): New variable.
9498 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
9499 (lrint_towardzero_test_data): New variable.
9500 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
9501 (lrint_downward_test_data): New variable.
9502 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
9503 (lrint_upward_test_data): New variable.
9504 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
9505 (lround_test_data): New variable.
9506 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
9507
39b1f617
PC
95082013-05-15 Peter Collingbourne <pcc@google.com>
9509
1deff3dc
PC
9510 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
9511 (EXTRACT_WORDS64) Use where appropriate.
9512 (INSERT_WORDS64) Likewise.
9513
791f3ba0
PC
9514 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
9515 constraints with x constraints.
9516 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
9517
39b1f617
PC
9518 * malloc/obstack.c (_obstack_compat): Add initializer.
9519
12fba011
EM
95202013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
9521
9522 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
9523 si_trapno and add si_addr_lsb to _sifields.sigfault.
9524 (si_trapno): Remove macro.
9525 (si_addr_lsb): Define new macro.
9526 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
9527
d369f531
JM
95282013-05-15 Joseph Myers <joseph@codesourcery.com>
9529
b861c6c4
JM
9530 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
9531 instead of TEST_f_l.
9532 (llrint_test_tonearest): Likewise.
9533 (llrint_test_towardzero): Likewise.
9534 (llrint_test_downward): Likewise.
9535 (llrint_test_upward): Likewise.
9536 (llround_test): Likewise.
9537
7abeee12
JM
9538 * math/libm-test.inc (struct test_f_i_data): Add comment.
9539 (RUN_TEST_LOOP_f_b): New macro.
9540 (RUN_TEST_LOOP_f_b_tg): Likewise.
9541 (finite_test_data): New variable.
9542 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
9543 (isfinite_test_data): New variable.
9544 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9545 (isinf_test_data): New variable.
9546 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9547 (isnan_test_data): New variable.
9548 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9549 (isnormal_test_data): New variable.
9550 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9551 (issignaling_test_data): New variable.
9552 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9553 (signbit_test_data): New variable.
9554 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9555
cbe8c4d3
JM
9556 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
9557 with INVALID_EXCEPTION.
9558 (acosh_test_data): Likewise.
9559 (asin_test_data): Likewise.
9560 (atanh_test_data): Likewise.
9561 (fmod_test_data): Likewise.
9562 (log_test_data): Likewise.
9563 (log10_test_data): Likewise.
9564 (log2_test_data): Likewise.
9565 (pow_test_data): Likewise.
9566 (sqrt_test_data): Likewise.
9567 (y0_test_data): Likewise.
9568 (y1_test_data): Likewise.
9569 (yn_test_data): Likewise.
9570
5575c0e5
JM
9571 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
9572 function contents.
9573
d369f531
JM
9574 * math/libm-test.inc (struct test_ff_i_data): New type.
9575 (RUN_TEST_LOOP_ff_i_tg): New macro.
9576 (isgreater_test_data): New variable.
9577 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9578 (isgreaterequal_test_data): New variable.
9579 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9580 (isless_test_data): New variable.
9581 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9582 (islessequal_test_data): New variable.
9583 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9584 (islessgreater_test_data): New variable.
9585 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9586 (isunordered_test_data): New variable.
9587 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9588
781fd748
DM
95892013-05-14 David S. Miller <davem@davemloft.net>
9590
9591 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9592
87aa21df
JM
95932013-05-14 Joseph Myers <joseph@codesourcery.com>
9594
5e908270
JM
9595 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
9596
f71172e5
JM
9597 * math/libm-test.inc (struct test_fF_f1_data): Change type of
9598 extra_test to int.
9599 (struct test_f_i_data): Change type of max_ulp to int.
9600
8cfa635a
JM
9601 * math/libm-test.inc (test_ffI_f1_data): New type.
9602 (RUN_TEST_LOOP_ffI_f1): New macro.
9603 (remquo_test_data): New variable.
9604 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
9605
2bcb36b2
JM
9606 * setjmp/tst-setjmp-fp.c: New file.
9607 * setjmp/Makefile (tests): Add tst-setjmp-fp.
9608 (link-libm): New variable.
9609 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
9610
acbd839a
JM
9611 * math/libm-test.inc (struct test_f_i_data): New type.
9612 (RUN_TEST_LOOP_f_i): New macro.
9613 (RUN_TEST_LOOP_f_i_tg): Likewise.
9614 (fpclassify_test_data): New variable.
9615 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
9616 (ilogb_test_data): New variable.
9617 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
9618
e414d745
JM
9619 * math/libm-test.inc (scalbln_test): Correct function name in END
9620 call.
9621
d9c2a0fd
JM
9622 * math/libm-test.inc (struct test_f_f1_data): Add comment.
9623 (RUN_TEST_LOOP_fI_f1): New macro.
9624 (frexp_test_data): New variable.
9625 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
9626
9dc9095d
JM
9627 * math/libm-test.inc (struct test_fF_f1_data): New type.
9628 (RUN_TEST_LOOP_fF_f1): New macro.
9629 (modf_test_data): New variable.
9630 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
9631
87aa21df
JM
9632 * math/libm-test.inc (struct test_f_f1_data): New type.
9633 (RUN_TEST_LOOP_f_f1): New macro.
9634 (gamma_test_data): New variable.
9635 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9636 (lgamma_test_data): New variable.
9637 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9638
141af660
CD
96392013-05-13 Carlos O'Donell <carlos@redhat.com>
9640
9641 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
9642 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
9643 (main): Comment "tls" pseudo-hwcap.
9644
6d33265c
JM
96452013-05-13 Joseph Myers <joseph@codesourcery.com>
9646
68fc074c
JM
9647 * math/libm-test.inc (struct test_fl_f_data): New type.
9648 (RUN_TEST_LOOP_fl_f): New variable.
9649 (scalbln_test_data): New variable.
9650 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
9651
243216e1
JM
9652 * math/libm-test.inc (struct test_fi_f_data): New type.
9653 (RUN_TEST_LOOP_fi_f): New macro.
9654 (ldexp_test_data): New variable.
9655 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
9656 (scalbn_test_data): New variable.
9657 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
9658
6a1992e2
JM
9659 * math/libm-test.inc (struct test_c_f_data): New type.
9660 (RUN_TEST_LOOP_c_f): New macro.
9661 (cabs_test_data): New variable.
9662 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
9663 (carg_test_data): New variable.
9664 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
9665 (cimag_test_data): New variable.
9666 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
9667 (creal_test_data): New variable.
9668 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
9669
0e400df5
JM
9670 * math/libm-test.inc (struct test_if_f_data): New type.
9671 (RUN_TEST_LOOP_if_f): New macro.
9672 (jn_test_data): New variable.
9673 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
9674 (yn_test_data): New variable.
9675 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
9676
6d33265c
JM
9677 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
9678
f98ece5f
AZ
96792013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9680
9681 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
9682 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
9683
0f7d347b
SP
96842013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
9685
43fe811b
SP
9686 * benchtests/Makefile (CPPFLAGS-nonlib): Add
9687 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
9688 (bench-deps): Add bench-timing.h.
9689 * benchtests-bench-skeleton.c: Include bench-timing.h.
9690 (main): Use TIMING_* macros instead of clock_gettime.
9691 * benchtests/bench-timing.h: New file.
9692
0f7d347b
SP
9693 [BZ #14582]
9694 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
9695 Renamed from _LIB_VERSION.
9696 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
9697
601a3a5f
JM
96982013-05-12 Joseph Myers <joseph@codesourcery.com>
9699
4f184d30
JM
9700 * math/libm-test.inc (struct test_fff_f_data): New type.
9701 (RUN_TEST_LOOP_fff_f): New macro.
9702 (fma_test_data): New variable.
9703 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
9704 (fma_towardzero_test_data): New variable.
9705 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
9706 (fma_downward_test_data): New variable.
9707 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
9708 (fma_upward_test_data): New variable.
9709 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
9710
08198877
JM
9711 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
9712 (struct test_c_c_data): New type.
9713 (RUN_TEST_LOOP_c_c): New macro.
9714 (cacos_test_data): New variable.
9715 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
9716 (cacosh_test_data): New variable.
9717 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
9718 (casin_test_data): New variable.
9719 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
9720 (casinh_test_data): New variable.
9721 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
9722 (catan_test_data): New variable.
9723 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
9724 (catanh_test_data): New variable.
9725 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
9726 (ccos_test_data): New variable.
9727 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
9728 (ccosh_test_data): New variable.
9729 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
9730 (cexp_test_data): New variable.
9731 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
9732 (clog_test_data): New variable.
9733 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
9734 (clog10_test_data): New variable.
9735 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
9736 (conj_test_data): New variable.
9737 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
9738 (cproj_test_data): New variable.
9739 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
9740 (csin_test_data): New variable.
9741 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
9742 (csinh_test_data): New variable.
9743 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
9744 (csqrt_test_data): New variable.
9745 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
9746 (ctan_test_data): New variable.
9747 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
9748 (ctan_tonearest_test_data): New variable.
9749 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9750 (ctan_towardzero_test_data): New variable.
9751 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9752 (ctan_downward_test_data): New variable.
9753 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9754 (ctan_upward_test_data): New variable.
9755 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9756 (ctanh_test_data): New variable.
9757 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
9758 (ctanh_tonearest_test_data): New variable.
9759 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9760 (ctanh_towardzero_test_data): New variable.
9761 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9762 (ctanh_downward_test_data): New variable.
9763 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9764 (ctanh_upward_test_data): New variable.
9765 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9766 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
9767 of BUILD_COMPLEX.
9768
601a3a5f
JM
9769 * math/libm-test.inc (struct test_ff_f_data): New type.
9770 (struct test_ff_f_data_nexttoward): Likewise.
9771 (RUN_TEST_LOOP_2_f): New macro.
9772 (RUN_TEST_LOOP_ff_f): Likewise.
9773 (atan2_test_data): New variable.
9774 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
9775 (copysign_test_data): New variable.
9776 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
9777 (fdim_test_data): New variable.
9778 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
9779 (fmax_test_data): New variable.
9780 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
9781 (fmin_test_data): New variable.
9782 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
9783 (fmod_test_data): New variable.
9784 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
9785 (hypot_test_data): New variable.
9786 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
9787 (nextafter_test_data): New variable.
9788 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
9789 (nexttoward_test_data): New variable.
9790 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
9791 (pow_test_data): New variable.
9792 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
9793 (pow_tonearest_test_data): New variable.
9794 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
9795 (pow_towardzero_test_data): New variable.
9796 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
9797 (pow_downward_test_data): New variable.
9798 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
9799 (pow_upward_test_data): New variable.
9800 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
9801 (remainder_test_data): New variable.
9802 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
9803 (scalb_test_data): New variable.
9804 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
9805 * sysdeps/i386/fpu/libm-test-ulps: Update.
9806
74c57478
JM
98072013-05-11 Joseph Myers <joseph@codesourcery.com>
9808
8329e4da
JM
9809 * math/libm-test.inc (fma_test): Use max_value instead of local
9810 variable fltmax.
9811 (nextafter_test): Likewise.
9812
74c57478
JM
9813 * math/libm-test.inc (acos_towardzero_test_data): New variable.
9814 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9815 (acos_downward_test_data): New variable.
9816 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9817 (acos_upward_test_data): New variable.
9818 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9819 (acosh_test_data): New variable.
9820 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
9821 (asin_test_data): New variable.
9822 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
9823 (asin_tonearest_test_data): New variable.
9824 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9825 (asin_towardzero_test_data): New variable.
9826 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9827 (asin_downward_test_data): New variable.
9828 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9829 (asin_upward_test_data): New variable.
9830 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9831 (asinh_test_data): New variable.
9832 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
9833 (atan_test_data): New variable.
9834 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
9835 (atanh_test_data): New variable.
9836 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
9837 (cbrt_test_data): New variable.
9838 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
9839 (ceil_test_data): New variable.
9840 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
9841 (cos_test_data): New variable.
9842 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
9843 (cos_tonearest_test_data): New variable.
9844 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9845 (cos_towardzero_test_data): New variable.
9846 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9847 (cos_downward_test_data): New variable.
9848 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9849 (cos_upward_test_data): New variable.
9850 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9851 (cosh_test_data): New variable.
9852 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
9853 (cosh_tonearest_test_data): New variable.
9854 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9855 (cosh_towardzero_test_data): New variable.
9856 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9857 (cosh_downward_test_data): New variable.
9858 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9859 (cosh_upward_test_data): New variable.
9860 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9861 (erf_test_data): New variable.
9862 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
9863 (erfc_test_data): New variable.
9864 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
9865 (exp_test_data): New variable.
9866 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
9867 (exp_tonearest_test_data): New variable.
9868 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9869 (exp_towardzero_test_data): New variable.
9870 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9871 (exp_downward_test_data): New variable.
9872 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9873 (exp_upward_test_data): New variable.
9874 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9875 (exp10_test_data): New variable.
9876 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
9877 (exp2_test_data): New variable.
9878 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
9879 (expm1_test_data): New variable.
9880 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
9881 (fabs_test_data): New variable.
9882 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
9883 (floor_test_data): New variable.
9884 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
9885 (j0_test_data): New variable.
9886 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
9887 (j1_test_data): New variable.
9888 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
9889 (log_test_data): New variable.
9890 (log_test): Run tests with RUN_TEST_LOOP_f_f.
9891 (log10_test_data): New variable.
9892 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
9893 (log1p_test_data): New variable.
9894 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
9895 (log2_test_data): New variable.
9896 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
9897 (logb_test_data): New variable.
9898 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
9899 (logb_downward_test_data): New variable.
9900 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9901 (nearbyint_test_data): New variable.
9902 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
9903 (rint_test_data): New variable.
9904 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
9905 (rint_tonearest_test_data): New variable.
9906 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9907 (rint_towardzero_test_data): New variable.
9908 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9909 (rint_downward_test_data): New variable.
9910 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9911 (rint_upward_test_data): New variable.
9912 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9913 (round_test_data): New variable.
9914 (round_test): Run tests with RUN_TEST_LOOP_f_f.
9915 (sin_test_data): New variable.
9916 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
9917 (sin_tonearest_test_data): New variable.
9918 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9919 (sin_towardzero_test_data): New variable.
9920 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9921 (sin_downward_test_data): New variable.
9922 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9923 (sin_upward_test_data): New variable.
9924 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9925 (sinh_test_data): New variable.
9926 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
9927 (sinh_tonearest_test_data): New variable.
9928 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9929 (sinh_towardzero_test_data): New variable.
9930 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9931 (sinh_downward_test_data): New variable.
9932 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9933 (sinh_upward_test_data): New variable.
9934 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9935 (sqrt_test_data): New variable.
9936 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
9937 (tan_test_data): New variable.
9938 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
9939 (tan_tonearest_test_data): New variable.
9940 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9941 (tan_towardzero_test_data): New variable.
9942 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9943 (tan_downward_test_data): New variable.
9944 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9945 (tan_upward_test_data): New variable.
9946 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9947 (tanh_test_data): New variable.
9948 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
9949 (tgamma_test_data): New variable.
9950 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
9951 (trunc_test_data): New variable.
9952 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
9953 (y0_test_data): New variable.
9954 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
9955 (y1_test_data): New variable.
9956 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
9957 (significand_test_data): New variable.
9958 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
9959
7187d844
CG
99602013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
9961
9962 [BZ #12387]
9963 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
9964
f63fae73
PT
99652013-05-10 Pino Toscano <toscano.pino@tiscali.it>
9966
9967 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
9968
8a67a4b3
AJ
99692013-05-10 Andreas Jaeger <aj@suse.de>
9970
9971 [BZ #15448]
9972 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
9973 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
9974
51df539d
JM
99752013-05-10 Joseph Myers <joseph@codesourcery.com>
9976
9977 * math/gen-libm-test.pl (adjust_arg): New function.
9978 (special_functions): Handle generating output in both functions
9979 and arrays.
9980 (parse_args): Likewise.
9981 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
9982 $in_func argument to parse_args.
9983 * math/libm-test.inc (struct test_f_f_data): New type.
9984 (IF_ROUND_INIT_): New macro.
9985 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
9986 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
9987 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
9988 (IF_ROUND_INIT_FE_UPWARD): Likewise.
9989 (ROUND_RESTORE_): Likewise.
9990 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
9991 (ROUND_RESTORE_FE_TONEAREST): Likewise.
9992 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
9993 (ROUND_RESTORE_FE_UPWARD): Likewise.
9994 (RUN_TEST_LOOP_f_f): New macro.
9995 (acos_test_data): New variable.
9996 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
9997 (acos_tonearest_test_data): New variable.
9998 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9999
5c637fe5
SP
100002013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10001
10002 * benchtests/bench-skeleton.c (startup): Fix coding style.
10003
ab2b9461
JM
100042013-05-10 Joseph Myers <joseph@codesourcery.com>
10005
10006 [BZ #6809]
10007 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
10008 negative infinity argument.
10009 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
10010 negative infinity argument.
10011 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
10012 negative infinity argument.
10013 * math/libm-test.inc (tgamma_test): Expect errno to be set for
10014 domain errors.
10015
4c0fe6fe
FW
100162013-05-10 Florian Weimer <fweimer@redhat.com>
10017
10018 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
10019 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
10020 * iconv/iconv_prog.c (main): Likewise.
10021 * locale/programs/charmap-dir.c (charmap_readdir)
10022 (fopen_uncompressed): Likewise.
10023 * locale/programs/locfile.c (siblings_uncached)
10024 (write_locale_data): Use lstat64 instead of lstat.
10025 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
10026 stat.
10027
a3375d29
AJ
100282013-05-10 Andreas Jaeger <aj@suse.de>
10029
10030 [BZ #15395]
10031 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
10032 localization.
10033 Include <locale.h>.
10034
36129722
CD
100352013-05-09 Carlos O'Donell <carlos@redhat.com>
10036
10037 * elf/dl-close.c (_dl_close_worker): Add comments.
10038
faa7f811
JM
100392013-05-09 Joseph Myers <joseph@codesourcery.com>
10040
ed41ffef
JM
10041 [BZ #15359]
10042 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
10043 high part of pi/2.
10044 (__ieee754_rem_pio2l): Update comments.
10045
d0213cd0
JM
10046 [BZ #15429]
10047 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
10048 high part of pi/2.
10049 (__ieee754_rem_pio2l): Update comments.
10050
0d3e777a
JM
10051 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
10052 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
10053
24f56066
JM
10054 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
10055 M_PI_4l.
10056
faa7f811
JM
10057 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
10058 (M_PI_34_LOG10El): Likewise.
10059 (M_PI2_LOG10El): Likewise.
10060 (M_PI4_LOG10El): Likewise.
10061 (M_PI_LOG10El): Likewise.
10062
e9a5e0fd
AZ
100632013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10064
10065 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10066
d8cd06db
JM
100672013-05-08 Joseph Myers <joseph@codesourcery.com>
10068
a0d9f9d7
JM
10069 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
10070 (MINUS_ZERO_INIT): Likewise.
10071 (PLUS_INFTY_INIT): Likewise.
10072 (MINUS_INFTY_INIT): Likewise.
10073 (QNAN_VALUE_INIT): Likewise.
10074 (MAX_VALUE_INIT): Likewise.
10075 (MIN_VALUE_INIT): Likewise.
10076 (MIN_SUBNORM_VALUE_INIT): Likewise.
10077 (plus_zero): Initialize with PLUS_ZERO_INIT.
10078 (minus_zero): Initialize with MINUS_ZERO_INIT.
10079 (plus_infty): Initialize with PLUS_INFTY_INIT.
10080 (minus_infty): Initialize with MINUS_INFTY_INIT.
10081 (qnan_value): Initialize with QNAN_VALUE_INIT.
10082 (max_value): Initialize with MAX_VALUE_INIT.
10083 (min_value): Initialize with MIN_VALUE_INIT.
10084 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
10085
ae08db3b
JM
10086 * math/libm-test.inc (RUN_TEST_if_f): New macro.
10087 (jn_test): Use TEST_if_f instead of TEST_ff_f.
10088 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
10089 (yn_test): Use TEST_if_f instead of TEST_ff_f.
10090
f44bf14a
JM
10091 * math/libm-test.inc (RUN_TEST_f_f): New macro.
10092 (RUN_TEST_2_f): Likewise.
10093 (RUN_TEST_ff_f): Likewise.
10094 (RUN_TEST_fi_f): Likewise.
10095 (RUN_TEST_fl_f): Likewise.
10096 (RUN_TEST_fff_f): Likewise.
10097 (RUN_TEST_c_f): Likewise.
10098 (RUN_TEST_f_f1): Likewise.
10099 (RUN_TEST_fF_f1): Likewise.
10100 (RUN_TEST_fI_f1): Likewise.
10101 (RUN_TEST_ffI_f1): Likewise.
10102 (RUN_TEST_c_c): Likewise.
10103 (RUN_TEST_cc_c): Likewise.
10104 (RUN_TEST_f_i): Likewise.
10105 (RUN_TEST_f_i_tg): Likewise.
10106 (RUN_TEST_ff_i_tg): Likewise.
10107 (RUN_TEST_f_b): Likewise.
10108 (RUN_TEST_f_b_tg): Likewise.
10109 (RUN_TEST_f_l): Likewise.
10110 (RUN_TEST_f_L): Likewise.
10111 (RUN_TEST_sincos): Likewise.
10112 * math/gen-libm-test.pl (new_test): Take new argument to indicate
10113 whether to show exceptions. Do not include ");\n" in return
10114 value.
10115 (special_functions): Output call to RUN_TEST_sincos instead of
10116 check_float calls. Update calls to new_test.
10117 (parse_args): Output call to single RUN_TEST_* macro instead of
10118 check_* calls and other assignments. Update calls to new_test.
10119
d8cd06db
JM
10120 [BZ #2546]
10121 [BZ #2560]
10122 [BZ #5159]
10123 [BZ #15426]
10124 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
10125 input to result for tgamma overflow.
10126 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
10127 (gamma_coeff): New variable.
10128 (NCOEFF): New macro.
10129 (gamma_positive): New function.
10130 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
10131 underflow here. Use gamma_positive instead of exp (lgamma) for
10132 other arguments.
10133 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
10134 (gamma_coeff): New variable.
10135 (NCOEFF): New macro.
10136 (gammaf_positive): New function.
10137 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
10138 underflow here. Use gamma_positive instead of exp (lgamma) for
10139 other arguments.
10140 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
10141 (gamma_coeff): New variable.
10142 (NCOEFF): New macro.
10143 (gammal_positive): New function.
10144 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
10145 underflow here. Use gamma_positive instead of exp (lgamma) for
10146 other arguments.
10147 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
10148 (gamma_coeff): New variable.
10149 (NCOEFF): New macro.
10150 (gammal_positive): New function.
10151 (__ieee754_gammal_r): Handle positive infinity, overflow and
10152 underflow here. Handle NaN the same as positive infinity. Remove
10153 check x < 0xffffffff for negative integers. Use gamma_positive
10154 instead of exp (lgamma) for other arguments.
10155 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
10156 (gamma_coeff): New variable.
10157 (NCOEFF): New macro.
10158 (gammal_positive): New function.
10159 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
10160 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
10161 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
10162 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
10163 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
10164 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
10165 * sysdeps/generic/math_private.h (__gamma_productf): New
10166 prototype.
10167 (__gamma_product): Likewise.
10168 (__gamma_productl): Likewise.
10169 * math/Makefile (libm-calls): Add gamma_product.
10170 * math/libm-test.inc (tgamma_test): Add more tests.
10171 * sysdeps/i386/fpu/libm-test-ulps: Update.
10172 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10173
bb7cf681
OB
101742013-05-08 Ondřej Bílka <neleai@seznam.cz>
10175
10176 * benchtests/bench-skeleton.c (main): Preheat CPU.
10177
ba853947
AJ
101782013-05-07 Aurelien Jarno <aurelien@aurel32.net>
10179
10180 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
10181
8347c74c
RM
101822013-05-07 Roland McGrath <roland@hack.frob.com>
10183
10184 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
10185 and _dl_skip_args_internal.
10186
e8dd4791
CD
101872013-05-07 Carlos O'Donell <carlos@redhat.com>
10188
10189 * manual/message.texi (Message Translation): Talk about users.
10190 Message to key mapping impacts design.
10191
c7405830
RM
101922013-05-06 Roland McGrath <roland@hack.frob.com>
10193
a9173057
RM
10194 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
10195
976e2f03
RM
10196 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
10197
9723ffc5
RM
10198 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
10199 * sysdeps/wordsize-64/glob64.c: ... here.
10200
962e6658
RM
10201 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
10202 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
10203 New macros.
10204
ee586a6d
RM
10205 * debug/getlogin_r_chk.c: Moved to ...
10206 * login/getlogin_r_chk.c: ... here.
10207 * debug/Makefile (routines): Move getlogin_r_chk to ...
10208 * login/Makefile (routines): ... here.
10209 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
10210 * login/Versions (libc: GLIBC_2.4): ... here.
10211
355f9165
RM
10212 * io/poll.c (__poll): Renamed from poll.
10213 Add libc_hidden_def.
10214 (poll): Define as weak alias.
10215
bd9ffde6
RM
10216 * debug/ptsname_r_chk.c: Moved to ...
10217 * login/ptsname_r_chk.c: ... here.
10218 * debug/Makefile (routines): Move ptsname_r_chk to ...
10219 * login/Makefile (routines): ... here.
10220 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
10221 * login/Versions (libc: GLIBC_2.4): ... here.
10222
8fb16a04
RM
10223 * posix/getlogin.c: Moved to ...
10224 * login/getlogin.c: ... here.
10225 * posix/getlogin_r.c: Moved to ...
10226 * login/getlogin_r.c: ... here.
10227 * posix/getlogin_r.c: Moved to ...
10228 * login/getlogin_r.c: ... here.
10229 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
10230 * login/Makefile (routines): ... here.
10231 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
10232 * login/Versions (libc: GLIBC_2.0): ... here.
10233
b99b892f
RM
10234 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
10235 (setrlimit): Define as weak alias.
10236
c7405830
RM
10237 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
10238 Call __ names for open, ftruncate, and close.
10239 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
10240 (truncate): Define as weak alias.
10241
5bf96de5
JM
102422013-05-06 Joseph Myers <joseph@codesourcery.com>
10243
9ea3513c
JM
10244 * math/gen-libm-test.pl (parse_args): Initialize x before each
10245 test of frexp, modf and remquo.
10246
5bf96de5
JM
10247 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
10248 test signgam value.
10249
16e616a7
AZ
102502013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10251
10252 [BZ #15418]
10253 [BZ #15419]
10254 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
10255 internal tests.
10256 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10257
d5e82754
RM
102582013-05-06 Roland McGrath <roland@hack.frob.com>
10259
10260 * elf/dl-writev.h: New file.
10261 * elf/dl-misc.c: Include it.
10262 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
10263 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
10264
a7548d41
JM
102652013-05-04 Joseph Myers <joseph@codesourcery.com>
10266
b7dab1e4
JM
10267 * math/libm-test.inc (noXFails): Remove variable.
10268 (noXPasses): Likewise.
10269 (BUILD_COMPLEX_INT): Remove macro.
10270 (print_screen): Remove xfail argument.
10271 (print_screen_max_error): Likewise.
10272 (update_stats): Likewise.
10273 (print_max_error): Likewise. Update calls to other affected
10274 functions.
10275 (print_complex_max_error): Likewise.
10276 (test_single_exception): Update calls to print_screen.
10277 (test_single_errno): Likewise.
10278 (check_float_internal): Remove xfail argument. Update calls to
10279 other affected functions.
10280 (check_float): Likewise.
10281 (check_complex): Likewise.
10282 (check_int): Likewise.
10283 (check_long): Likewise.
10284 (check_bool): Likewise.
10285 (check_longlong): Likewise.
10286 (main): Don't print noXFails and noXPasses.
10287 * math/gen-libm-test.pl (top level): Don't mention expected
10288 failure handling in comment.
10289 (new_test): Don't handle expected failures.
10290 (parse_args): Don't mention expected failure handling in comment.
10291 (generate_testfile): Don't handle expected failures.
10292 (parse_ulps): Likewise.
10293 (print_ulps_file): Likewise.
10294 (get_failure): Remove function.
10295 (output_test): Don't handle expected failures.
10296 * make/README.libm-test: Don't mention expected failure handling.
10297
a7548d41
JM
10298 * math/libm-test.inc (plus_zero): Make const. Add initializer.
10299 (minus_zero): Likewise.
10300 (plus_infty): Likewise.
10301 (minus_infty): Likewise.
10302 (qnan_value): Likewise.
10303 (max_value): Likewise.
10304 (min_value): Likewise.
10305 (min_subnorm_value): Likewise.
10306 (initialize): Do not initialize those variables dynamically.
10307
60bfd54c
RM
103082013-05-03 Roland McGrath <roland@hack.frob.com>
10309
cc0e6ed8
RM
10310 * io/open.c (__open_2): Moved to ...
10311 * io/open_2.c: ... this new file.
10312 * io/open64.c (__open64_2): Moved to ...
10313 * io/open64_2.c: ... this new file.
10314 * io/openat.c (__openat_2): Moved to ...
10315 * io/openat_2.c: ... this new file.
10316 * io/openat64.c (__openat64_2): Moved to ...
10317 * io/openat64_2.c: ... this new file.
10318 * io/Makefile (routines): Add them.
10319 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
10320 * sysdeps/unix/sysv/linux/open_2.c: File removed.
10321 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
10322 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
10323 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
10324 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
10325 (__openat64): Add hidden_ver.
10326 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
10327 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
10328
60bfd54c
RM
10329 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
10330 Separately conditionalize setting of GLRO(dl_sysinfo) so
10331 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
10332 as well, but the actual setting is only under [NEED_DL_SYSINFO].
10333
83e7640f
AZ
103342013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10335
10336 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
10337 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
10338 definition.
10339 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
10340 * sysdeps/unix/sysv/linux/powerpc/init-first.c
10341 (_libc_vdso_platform_setup): Add __vdso_time initialization.
10342 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
10343 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
10344
d5dc2af3
JM
103452013-05-03 Joseph Myers <joseph@codesourcery.com>
10346
c31a5b1e
JM
10347 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
10348 test signgam value.
10349
d5dc2af3
JM
10350 * math/libm-test.inc (hypot_test): Do not use
10351 IGNORE_ZERO_INF_SIGN.
10352
164fd39d
AJ
103532013-05-03 Andreas Jaeger <aj@suse.de>
10354
10355 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
10356 Linux 3.9.
10357 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
10358 (PF_MAX): Adjust for VSOCK change.
10359
8237f48c
AZ
103602013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10361
10362 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10363
9df02941
CD
103642013-05-02 Carlos O'Donell <carlos@redhat.com>
10365
10366 [BZ #15264]
10367 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
10368 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
10369 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
10370
d422395e
DM
103712013-05-02 David S. Miller <davem@davemloft.net>
10372
10373 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10374
a07c5731
OB
103752013-05-01 Ondřej Bílka <neleai@seznam.cz>
10376
10377 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
10378
1324e37f
RM
103792013-05-01 Roland McGrath <roland@hack.frob.com>
10380
10381 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
10382
0695940b
RS
103832013-05-01 Richard Smith <richard@metafoo.co.uk>
10384
bb5f27ad 10385 [BZ #14952]
0695940b
RS
10386 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
10387 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
10388 Use __attribute__ ((__gnu_inline__)).
10389 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
10390 Don't use __attribute__ ((__gnu_inline__)).
10391
10de07f5
JM
103922013-05-01 Joseph Myers <joseph@codesourcery.com>
10393
10394 [BZ #15423]
10395 * math/s_catan.c (__catan): Handle small real or imaginary part of
10396 input specially to avoid spurious underflow.
10397 * math/s_catanf.c (__catanf): Likewise.
10398 * math/s_catanh.c (__catanh): Likewise.
10399 * math/s_catanhf.c (__catanhf): Likewise.
10400 * math/s_catanhl.c (__catanhl): Likewise.
10401 * math/s_catanl.c (__catanl): Likewise.
10402 * math/libm-test.inc (catan_test): Add more tests.
10403 (catanh_test): Likewise.
10404 * sysdeps/i386/fpu/libm-test-ulps: Update.
10405 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10406
cb4d5414
AZ
104072013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10408
10409 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10410
caf84319
JM
104112013-04-30 Joseph Myers <joseph@codesourcery.com>
10412
10413 [BZ #15416]
10414 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
10415 accurately for denominator in atan2.
10416 * math/s_catanf.c (__catanf): Likewise.
10417 * math/s_catanh.c (__catanh): Likewise.
10418 * math/s_catanhf.c (__catanhf): Likewise.
10419 * math/s_catanhl.c (__catanhl): Likewise.
10420 * math/s_catanl.c (__catanl): Likewise.
10421 * math/libm-test.inc (catan_test): Add more tests.
10422 (catanh_test): Likewise.
10423 * sysdeps/i386/fpu/libm-test-ulps: Update.
10424 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10425
d569c6ee
SP
104262013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10427
6dbe713d
SP
10428 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
10429
f0ee064b
SP
10430 * benchtests/Makefile (bench): Remove slow benchmarks.
10431 * benchtests/atan-inputs: Add slow benchmark inputs.
10432 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
10433 (BENCH_FUNC): Accept variant offset.
10434 (VARIANT): Define.
10435 * benchtests/bench-skeleton.c (main): Run benchmark for each
10436 variant.
10437 * benchtests/cos-inputs: Add slow benchmark inputs.
10438 * benchtests/exp-inputs: Likewise.
10439 * benchtests/pow-inputs: Likewise.
10440 * benchtests/sin-inputs: Likewise.
10441 * benchtests/slowatan-inputs: Remove.
10442 * benchtests/slowatan.c: Remove.
10443 * benchtests/slowcos-inputs: Remove.
10444 * benchtests/slowcos.c: Remove.
10445 * benchtests/slowexp-inputs: Remove.
10446 * benchtests/slowexp.c: Remove.
10447 * benchtests/slowpow-inputs: Remove.
10448 * benchtests/slowpow.c: Remove.
10449 * benchtests/slowsin-inputs: Remove.
10450 * benchtests/slowsin.c: Remove.
10451 * benchtests/slowtan-inputs: Remove.
10452 * benchtests/slowtan.c: Remove.
10453 * benchtests/tan-inputs: Add slow benchmark inputs.
10454 * scripts/bench.pl: Parse comments and directives.
10455
d569c6ee
SP
10456 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
10457 in CPPFLAGS.
10458 ($(objpfx)bench-%.c): Remove *-ITER.
10459 * benchtests/bench-modf.c: Remove definition of ITER.
10460 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
10461 (main): Loop for DURATION seconds instead of fixed number of
10462 iterations.
10463 * scripts/bench.pl: Don't expect iterations in parameters.
10464
a6a242fe
RM
104652013-04-29 Roland McGrath <roland@hack.frob.com>
10466
10467 * io/fchdir.c (__fchdir): Renamed from fchdir.
10468 (fchdir): Define as weak alias.
10469
f2da7793
JM
104702013-04-29 Joseph Myers <joseph@codesourcery.com>
10471
10472 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
10473 (ERRNO_EDOM): Likewise.
10474 (ERRNO_ERANGE): Likewise.
10475 (noErrnoTests): New variable.
10476 (init_max_error): Set errno to 0.
10477 (test_single_errno): New function.
10478 (test_errno): Likewise.
10479 (check_float_internal): Call test_errno. Set errno to 0.
10480 (check_complex): Refer to errno tests in comment.
10481 (check_int): Call test_errno. Set errno to 0.
10482 (check_long): Likewise.
10483 (check_bool): Likewise.
10484 (check_longlong): Likewise.
10485 (cos_test): Use ERRNO_* flags for errno tests instead of
10486 check_int.
10487 (expm1_test): Likewise.
10488 (fmod_test): Likewise.
10489 (ilogb_test): Likewise.
10490 (lgamma_test): Likewise.
10491 (pow_test): Likewise.
10492 (remainder_test): Likewise.
10493 (sin_test): Likewise.
10494 (tan_test): Likewise.
10495 (yn_test): Likewise.
10496 (initialize): Set errno to 0.
10497 (main): Print number of errno tests.
10498 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
10499
b1a36ceb
AJ
105002013-04-29 Andreas Jaeger <aj@suse.de>
10501
c3ed8088
AJ
10502 [BZ #15084]
10503 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
10504 and RES_USEVC.
10505
f1a24198
AJ
10506 [BZ #15085]
10507 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
10508 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
10509 unimplemented.
10510
9ce3b2cb
AJ
10511 [BZ #15380]
10512 * stdlib/random.c (__initstate): Return NULL if
10513 __initstate fails.
10514
f1a24198 10515 [BZ #15086]
b1a36ceb
AJ
10516 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
10517 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
10518 RES_SNGLKUPREOP.
10519
7e7b6f36
AZ
105202013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10521
10522 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10523
4d14f449
JM
105242013-04-29 Joseph Myers <joseph@codesourcery.com>
10525
10526 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
10527 of individual tests.
10528 (casin_test): Likewise.
10529 (casinh_test): Likewise.
10530
5b4217d7
JM
105312013-04-27 Joseph Myers <joseph@codesourcery.com>
10532
10533 [BZ #15409]
10534 * math/s_catan.c (__catan): Handle arguments with large real or
10535 imaginary part separately without squaring.
10536 * math/s_catanf.c (__catanf): Likewise.
10537 * math/s_catanh.c (__catanh): Likewise.
10538 * math/s_catanhf.c (__catanhf): Likewise.
10539 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10540 and redefine.
10541 (__catanhl): Handle arguments with large real or imaginary part
10542 separately without squaring.
10543 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10544 and redefine.
10545 (__catanl): Handle arguments with large real or imaginary part
10546 separately without squaring.
10547 * math/libm-test.inc (catan_test): Add more tests.
10548 (catanh_test): Likewise.
10549 * sysdeps/i386/fpu/libm-test-ulps: Update.
10550 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10551
4220c3ef
AJ
105522013-04-27 Andreas Jaeger <aj@suse.de>
10553
10554 [BZ #15007]
10555 * stdlib/stdlib.h: Update guards for qecvt.
10556 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
10557 <stdlib.h>.
10558
4721b2d1
AM
105592013-04-27 Allan McRae <allan@archlinux.org>
10560
10561 * sysdeps/i386/fpu/libm-test-ulps: Update.
10562
f0302940
JM
105632013-04-26 Joseph Myers <joseph@codesourcery.com>
10564
9457fd95
JM
10565 [BZ #15406]
10566 * math/s_catan.c: Include <float.h>.
10567 (__catan): Ensure underflow exception occurs for underflowed
10568 result.
10569 * math/s_catanf.c: Include <float.h>.
10570 (__catanf): Ensure underflow exception occurs for underflowed
10571 result.
10572 * math/s_catanh.c: Include <float.h>.
10573 (__catanh): Ensure underflow exception occurs for underflowed
10574 result.
10575 * math/s_catanhf.c: Include <float.h>.
10576 (__catanhf): Ensure underflow exception occurs for underflowed
10577 result.
10578 * math/s_catanhl.c: Include <float.h>.
10579 (__catanhl): Ensure underflow exception occurs for underflowed
10580 result.
10581 * math/s_catanl.c: Include <float.h>.
10582 (__catanl): Ensure underflow exception occurs for underflowed
10583 result.
10584 * math/libm-test.inc (catan_test): Add more tests.
10585 (catanh_test): Likewise.
10586
f0302940
JM
10587 [BZ #15405]
10588 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
10589 underflowed result.
10590 * math/s_ccoshf.c (__ccoshf): Likewise.
10591 * math/s_ccoshl.c (__ccoshl): Likewise.
10592 * math/s_csin.c (__csin): Likewise.
10593 * math/s_csinf.c (__csinf): Likewise.
10594 * math/s_csinh.c (__csinh): Likewise.
10595 * math/s_csinhf.c (__csinhf): Likewise.
10596 * math/s_csinhl.c (__csinhl): Likewise.
10597 * math/s_csinl.c (__csinl): Likewise.
10598 * math/libm-test.inc (ccos_test): Add more tests.
10599 (ccosh_test): Likewise.
10600 (csin_test): Likewise.
10601 (csinh_test): Likewise.
10602
aa630f59
AZ
106032013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10604
10605 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
10606 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
10607 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
10608 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
10609 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
10610 powerpc/power5+/fpu folders.
10611 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
10612
10613
1b835983
MT
106142013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
10615
10616 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10617
73709b26
JM
106182013-04-25 Joseph Myers <joseph@codesourcery.com>
10619
10620 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
10621 additions to variable.
10622 [$(config-machine) = x86_64] (modules-names): Likewise.
10623 ($(objpfx)tst-audit3): Remove dependency.
10624 ($(objpfx)tst-audit3.out): Likewise.
10625 ($(objpfx)tst-audit4): Likewise.
10626 ($(objpfx)tst-audit4.out): Likewise.
10627 ($(objpfx)tst-audit5): Likewise.
10628 ($(objpfx)tst-audit5.out): Likewise.
10629 ($(objpfx)tst-audit6): Likewise.
10630 ($(objpfx)tst-audit6.out): Likewise.
10631 ($(objpfx)tst-audit7): Likewise.
10632 ($(objpfx)tst-audit7.out): Likewise.
10633 (tst-audit3-ENV): Remove variable.
10634 (tst-audit4-ENV): Likewise.
10635 (tst-audit5-ENV): Likewise.
10636 (tst-audit6-ENV): Likewise.
10637 (tst-audit7-ENV): Likewise.
10638 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
10639 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
10640 addition to variable.
10641 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
10642 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
10643 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
10644 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
10645 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
10646 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
10647 tst-audit3, tst-audit4 and tst-audit5.
10648 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
10649 tst-audit6 and tst-audit7.
10650 [$(subdir) = elf] (modules-names): Add audit modules for those
10651 tests.
10652 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
10653 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
10654 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
10655 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
10656 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
10657 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
10658 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
10659 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
10660 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
10661 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
10662 [$(subdir) = elf] (tst-audit3-ENV): New variable.
10663 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
10664 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
10665 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
10666 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
10667 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
10668 Likewise.
10669 [$(subdir) = elf && $(config-cflags-avx) = yes]
10670 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
10671 [$(subdir) = elf && $(config-cflags-avx) = yes]
10672 (CFLAGS-tst-auditmod4a.c): Likewise.
10673 [$(subdir) = elf && $(config-cflags-avx) = yes]
10674 (CFLAGS-tst-auditmod4b.c): Likewise.
10675 [$(subdir) = elf && $(config-cflags-avx) = yes]
10676 (CFLAGS-tst-auditmod6b.c): Likewise.
10677 [$(subdir) = elf && $(config-cflags-avx) = yes]
10678 (CFLAGS-tst-auditmod6c.c): Likewise.
10679 [$(subdir) = elf && $(config-cflags-avx) = yes]
10680 (CFLAGS-tst-auditmod7b.c): Likewise.
10681 * elf/tst-audit3.c: Move to ...
10682 * sysdeps/x86_64/tst-audit3.c: ... here.
10683 * elf/tst-audit4.c: Move to ...
10684 * sysdeps/x86_64/tst-audit4.c: ... here.
10685 * elf/tst-audit5.c: Move to ...
10686 * sysdeps/x86_64/tst-audit5.c: ... here.
10687 * elf/tst-audit6.c: Move to ...
10688 * sysdeps/x86_64/tst-audit6.c: ... here.
10689 * elf/tst-audit7.c: Move to ...
10690 * sysdeps/x86_64/tst-audit7.c: ... here.
10691 * elf/tst-auditmod3a.c: Move to ...
10692 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
10693 * elf/tst-auditmod3b.c: Move to ...
10694 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
10695 * elf/tst-auditmod4a.c: Move to ...
10696 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
10697 * elf/tst-auditmod4b.c: Move to ...
10698 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
10699 * elf/tst-auditmod5a.c: Move to ...
10700 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
10701 * elf/tst-auditmod5b.c: Move to ...
10702 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
10703 * elf/tst-auditmod6a.c: Move to ...
10704 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
10705 * elf/tst-auditmod6b.c: Move to ...
10706 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
10707 * elf/tst-auditmod6c.c: Move to ...
10708 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
10709 * elf/tst-auditmod7a.c: Move to ...
10710 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
10711 * elf/tst-auditmod7b.c: Move to ...
10712 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
10713
1ef74943
PP
107142013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
10715
10716 [BZ #15366]
10717 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
10718 define unconditionally.
10719 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
10720 define unconditionally.
10721 (INT8_C, INT16_C, etc.): Likewise.
10722
93fd48c5
MR
107232013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
10724
ae9552cf
MR
10725 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
10726 __ehdr_start with hidden visibility.
10727
93fd48c5
MR
10728 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
10729
418601aa
CD
107302013-04-24 Carlos O'Donell <carlos@redhat.com>
10731
10732 * math/libm-test.inc (cos_test): Use accurate hex constants.
10733 (sincost_test): Likewise.
10734
2f38fbfe
JM
107352013-04-24 Joseph Myers <joseph@codesourcery.com>
10736
5e221800
JM
10737 * math/libm-test.inc (catan_test): Add more tests.
10738 (catanh_test): Likewise.
10739
77f143fd
JM
10740 * math/s_catanf.c (__catanf): Use suffixed floating-point
10741 constants.
10742 * math/s_catanhf.c (__catanhf): Likewise.
10743 * math/s_catanhl.c (__catanhl): Likewise.
10744 * math/s_catanl.c (__catanl): Likewise.
10745
2f38fbfe
JM
10746 [BZ #15394]
10747 * math/s_catan.c (__catan): Calculate imaginary part of result
10748 with log1p not log unless computing log of number close to 0.
10749 * math/s_catanf.c (__catanf): Likewise.
10750 * math/s_catanl.c (__catanl): Likewise.
10751 * math/s_catanh.c (__catanh): Calculate real part of result with
10752 log1p not log unless computing log of number close to 0.
10753 * math/s_catanhf.c (__catanhf): Likewise.
10754 * math/s_catanhl.c (__catanhl): Likewise.
10755 * math/libm-test.inc (catan_test): Add more tests.
10756 (catanh_test): Likewise.
10757 * sysdeps/i386/fpu/libm-test-ulps: Update.
10758 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10759
45d69176
SP
107602013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10761
10762 * benchtests/Makefile: Mention files in which fast and slow
10763 paths of math functions are implemented.
10764
87f51853
RM
107652013-04-23 Roland McGrath <roland@hack.frob.com>
10766
10767 * sysdeps/posix/timespec_get.c: New file.
10768
3c026539
AZ
107692013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10770
10771 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
10772 POWER.
10773 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
10774 for POWER.
10775 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
10776 powerpc/power5/fpu folders.
10777 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
10778 * benchtests/Makefile: Add modf testcase.
10779 * benchtests/bench-modf.c: New file: Benchmark test for mo
10780
ff491d14
SP
107812013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10782
10783 [BZ #14888]
10784 * time/Makefile (tests): Add tst-strptime-whitespace.
10785 * time/strptime_l.c (get_number): Use ISSPACE.
10786 (__strptime_internal): Likewise.
10787 * time/tst-strptime-whitespace.c: New test case.
10788
7ed3f4e8
AS
107892013-04-23 Andreas Schwab <schwab@linux-m68k.org>
10790
10791 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
10792 member.
10793 (_nss_files_init): Set it here.
10794
5c95f7b6
HC
107952013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
10796
10797 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
10798 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
10799 unsigned.
10800
d34c9158
JBG
108012013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
10802
10803 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
10804
2169712d
SP
108052013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10806
10807 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
10808 size just once.
10809
29c5de99
DM
108102013-04-21 David S. Miller <davem@davemloft.net>
10811
10812 * po/ru.po: Update Russion translation from translation project.
10813
ccdad15d
AC
108142013-04-17 Adam Conrad <adconrad@0c3.net>
10815
10816 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
10817 and setfsgid.
10818
0f122b8d
CD
108192013-04-17 Carlos O'Donell <carlos@redhat.com>
10820
5c5b07da 10821 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 10822 * configure: Regenerate.
5c5b07da 10823 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
10824 Add example to error message.
10825 * sysdeps/i386/configure: Regenerate.
10826
037714dd
SP
108272013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10828
10829 * benchtests/Makefile (bench): Add cos, tan, slowcos and
10830 slowtan.
10831 * benchtests/cos-inputs: New file.
10832 * benchtests/slowcos-inputs: New file.
10833 * benchtests/slowcos.c: New file.
10834 * benchtests/slowtan-inputs: New file.
10835 * benchtests/slowtan.c: New file.
10836 * benchtests/tan-inputs: New file.
10837
e913141d
RM
108382013-04-16 Roland McGrath <roland@hack.frob.com>
10839
10840 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
10841 considered kosher.
10842
a2964074
SP
108432013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10844
4856bcd2
SP
10845 * benchtests/Makefile: Include cppflags-iterator.mk to add
10846 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
10847
a2964074
SP
10848 * Makefile.in (bench-clean): New target.
10849 * benchtests/Makefile (bench-clean): Likewise.
10850
9fbf9aca
DH
108512013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
10852
10853 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
10854
207d1e2a
TS
108552013-04-15 Thomas Schwinge <thomas@codesourcery.com>
10856
10857 * stdio-common/tstdiomisc.c: Fix coding-style violation.
10858
306dfba9
AS
108592013-04-15 Andreas Schwab <schwab@suse.de>
10860
10861 * nscd/grpcache.c (cache_addgr): Properly check for short write.
10862 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10863 * nscd/pwdcache.c (cache_addpw): Likewise.
10864 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
10865 more than recsize.
10866
206a6699
SP
108672013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10868
10869 * benchtests/Makefile (bench): Write all output to
10870 bench-out.tmp together.
10871
0582f6b3
AS
108722013-04-15 Andreas Schwab <schwab@suse.de>
10873
10874 * nscd/nscd.c (main): Don't fork again after closing files.
10875
acb4325f
SP
108762013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10877
5cb26d0a
SP
10878 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
10879
acb4325f
SP
10880 * benchtests/Rules (bench-deps): Collect dependencies into a
10881 single variable. Add Makefile to dependencies.
10882 ($(objpfx)bench-%.c): Depend on bench-deps.
10883
47792506
RM
108842013-04-12 Roland McGrath <roland@hack.frob.com>
10885 Xavier Roche <roche+kml2@exalead.com>
10886
10887 [BZ #15361]
10888 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
10889 just that it's a file descriptor.
10890 * manual/llio.texi (Synchronizing AIO Operations): Update description
10891 for EBADF error from aio_fsync.
10892
8fc1bee5
SP
108932013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10894
10895 * Rules (bench): Move target definition...
10896 * benchtests/Makefile: ... here.
10897
aba5e333
CD
108982013-04-11 Carlos O'Donell <carlos@redhat.com>
10899
10900 * math/libm-test.inc (cos_test): Fix PI/2 test.
10901 (sincos_test): Likewise.
10902 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
10903 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
10904
273cdee8
AS
109052013-04-11 Andreas Schwab <schwab@suse.de>
10906
6ecec3b6
AS
10907 [BZ #13988]
10908 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
10909 accept exponent character only when digits were seen.
10910 * stdio-common/Makefile (tests): Add bug26.
10911 * stdio-common/bug26.c: New file.
10912
273cdee8
AS
10913 [BZ #14293]
10914 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
10915 non-freeable.
10916
8da491f5
SP
109172013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10918
01dc6df9
SP
10919 * Makeconfig (rtld-prefix): Define built linker prefix.
10920 * Rules (run-bench): Use it.
10921 * math/Makefile (run-regen-ulps): Likewise.
10922
8da491f5
SP
10923 * Rules (bench): Remove eval.
10924
abe7f530
SP
109252013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10926 Roland McGrath <roland@hack.frob.com>
10927 Ondrej Bilka <neleai@seznam.cz>
10928
10929 [BZ #15346]
10930 * time/getdate.c: Include ctype.h and alloca.h.
10931 (__getdate_r): Trim leading and trailing spaces of input.
10932 * time/tst-getdate.c (tests): Add tests with leading and
10933 trailing spaces.
10934
61c23e62
RM
109352013-04-08 Roland McGrath <roland@hack.frob.com>
10936
10937 [BZ #14280]
10938 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
10939 when computing value.
10940
7208a313
CD
109412013-04-06 Carlos O'Donell <carlos@redhat.com>
10942
085b2d41
CD
10943 * math/README.libm-test (How can I generate "libm-test-ulps"?):
10944 Use testrun.sh to run libm tests.
10945
7208a313
CD
10946 [BZ #15309]
10947 * elf/dl-open.c (dl_open_worker): memset all of seen array.
10948
872c0acd
MM
109492013-04-06 Marko Myllynen <myllynen@redhat.com>
10950
10951 [BZ #15264]
10952 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
10953
26510bdd
CD
109542013-04-06 Carlos O'Donell <carlos@redhat.com>
10955
10956 * Makefile.in (regen-ulps): New target.
10957 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
10958 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
10959 [ifneq (no,$(PERL)] (regen-ulps): New target.
10960 [ifeq (no,$(PERL)] (regen-ulps): New target.
10961 * math/libm-test.inc (ulps_file_name): Define.
10962 (output_dir): New variable.
10963 (options): Add "output-dir" option.
10964 (parse_opt): Handle 'o' case.
10965 (main): If output_dir is non-NULL use it as a prefix
10966 otherwise use "".
10967 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
10968
a01f19c8
CD
109692013-04-06 Carlos O'Donell <carlos@redhat.com>
10970
10971 [BZ #10060, #10062]
10972 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
10973 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
10974 fail configure if __sync_val_compare_and_swap is not inlined.
10975 * sysdeps/i386/configure: Regenerate.
10976 * configure.in: Build for i686 when configured for i386.
10977 * configure: Regenerate.
10978 * README: Remove i386 reference.
10979
b7a329a5
CD
109802013-04-06 Carlos O'Donell <carlos@redhat.com>
10981
10982 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
10983 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10984
bf0f50df
TS
109852013-04-05 Thomas Schwinge <thomas@codesourcery.com>
10986
ee091edf
TS
10987 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
10988 (lmsnanval): New variables.
10989 (F): Add conversion tests.
10990 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
10991 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
10992
a8b792d6
TS
10993 * stdio-common/tstdiomisc.c (F): Properly collect individual
10994 tests' results.
10995
a1cbf437
TS
10996 [BZ #14686, #15336]
10997 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
10998 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
10999 Instead, use input NaN values or generate a qNaN by arithmetic
11000 operation. Also fix bugs to comply with the standard.
11001 * math/libm-test.inc (remainder_test): Add more tests.
11002
8b43a0c9
TS
11003 [BZ #15335, #15342]
11004 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
11005 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
11006 input NaN values or generate a qNaN by arithmetic operation.
11007
d91da4ce
TS
11008 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
11009 unreachable code.
11010
bf0f50df
TS
11011 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
11012 definitions.
11013
05e166c8
JM
110142013-04-03 Joseph Myers <joseph@codesourcery.com>
11015
11016 [BZ #14478]
11017 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
11018 underflowed result.
11019 * math/s_cexpf.c (__cexpf): Likewise.
11020 * math/s_cexpl.c (__cexpl): Likewise.
11021 * math/libm-test.inc (cexp_test): Add more tests.
11022
1cef1b19
AS
110232013-04-03 Andreas Schwab <schwab@suse.de>
11024
11025 [BZ #15330]
11026 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
11027 order arrays from heap if bigger than alloca cutoff.
11028
74d87055
TS
110292013-04-03 Thomas Schwinge <thomas@codesourcery.com>
11030
11031 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
11032 (SNAN_TESTS_double): Refer to GCC PR56831.
11033 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
11034 GCC PR56828.
11035
d755bba4
SP
110362013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
11037
90d5d5bb
SP
11038 * Rules (bench): Move bench.out after the run is complete.
11039
73e0cd5d
SP
11040 * Rules (bench): Echo currently running benchmark.
11041
64aabd4b
SP
11042 * benchtests/Makefile (bench): Add atan and slowatan.
11043 * benchtests/atan-inputs: New file.
11044 * benchtests/slowatan-inputs: New file.
11045 * benchtests/slowatan.c: New file.
11046
c871eccd
SP
11047 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
11048 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
11049 its value.
11050
d755bba4
SP
11051 [BZ #15305]
11052 * sysdeps/unix/sysv/linux/kernel-features.h
11053 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
11054 __ASSUME_XFS_RESTRICTED_CHOWN.
11055 * sysdeps/unix/sysv/linux/pathconf.c
11056 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
11057 Save and restore errno.
11058
52ce4860
JM
110592013-04-02 Joseph Myers <joseph@codesourcery.com>
11060
11061 [BZ #15327]
11062 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
11063 arguments using __kernel_casinh.
11064 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
11065 arguments using __kernel_casinhf.
11066 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
11067 arguments using __kernel_casinhl.
11068 * math/libm-test.inc (cacosh_test): Add more tests.
11069 * sysdeps/i386/fpu/libm-test-ulps: Update.
11070 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11071
81f311c2
SP
110722013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11073
e7906a47
SP
11074 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
11075 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
11076
92e3664b
SP
11077 * bench/Makefile (bench): Add sin and slowsin.
11078 * benchtests/sin-inputs: New file.
11079 * benchtests/slowsin-inputs: New file.
11080 * benchtests/slowsin.c: New file.
11081
81f311c2
SP
11082 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
11083 (bench): Add slowexp and slowpow.
11084 (exp-ITER): Increase iterations.
11085 (pow-ITER): Likewise.
11086 * benchtests/exp-inputs: Change input.
11087 * benchtests/pow-inputs: Likewise.
11088 * benchtests/slowexp-inputs: New file.
11089 * benchtests/slowexp.c: New file.
11090 * benchtests/slowpow-inputs: New file.
11091 * benchtests/slowpow.c: New file.
11092
ab0f1aa9
AZ
110932013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11094
11095 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
11096 instructions.
11097 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
11098 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
11099 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
11100 * benchtests/Makefile: Add rint benchtest.
11101 * benchtests/rint-inputs: Input for rint benchtest.
11102
57267616
TS
111032013-04-02 Thomas Schwinge <thomas@codesourcery.com>
11104
11105 * Versions.def (libm): Add GLIBC_2.18.
11106 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
11107 hidden libm prototypes.
11108 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
11109 * math/Makefile (libm-calls): Add s_issignaling.
11110 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
11111 __issignalingf, __issignalingl. Adjust all libm.abilist files.
11112 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
11113 declaration.
11114 * math/math.h [__USE_GNU] (issignaling): New macro.
11115 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
11116 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
11117 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
11118 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
11119 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
11120 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
11121 * manual/arith.texi (issignaling): New section.
11122 * manual/libm-err-tab.pl (@all_functions): Update comment.
11123 * math/gen-libm-test.pl (parse_args): Apply special handling for
11124 issignaling.
11125 * math/libm-test.inc (print_float, issignaling_test): New
11126 functions.
11127 (check_float_internal): Add issignaling checks.
11128 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
11129 default definition.
11130 * sysdeps/powerpc/math-tests.h: New file.
11131 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
11132 tests.
11133 * math/test-snan.c (TEST_FUNC): Likewise.
11134
6142896d
DM
111352013-03-30 David S. Miller <davem@davemloft.net>
11136
11137 * po/de.po: Update from translation team.
11138
ccc8cadf
JM
111392013-03-30 Joseph Myers <joseph@codesourcery.com>
11140
11141 [BZ #10357]
11142 * math/k_casinh.c (__kernel_casinh): Handle arguments with
11143 imaginary part less than 1.0 and real part less than 0.5
11144 specially.
11145 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11146 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11147 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
11148 (cacos_test): Add more tests.
11149 (casin_test): Likewise.
11150 (casinh_test): Likewise.
11151 * sysdeps/i386/fpu/libm-test-ulps: Update.
11152 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11153
0f6a8d4b
SP
111542013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11155
0d1029de
SP
11156 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
11157 ONE with its value.
11158
c2d94018
SP
11159 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
11160 (__pow_mp): Replace ONE and MONE with their values.
11161 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11162 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
11163 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11164 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
11165 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11166 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11167
27ec37f1
SP
11168 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
11169
a64d7e0e
SP
11170 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
11171 (__pow_mp): Replace ZERO and MZERO with their values.
11172 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
11173 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11174 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11175 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11176 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11177 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
11178 (__sqr): Likewise.
11179
d26dd3eb
SP
11180 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
11181
0f6a8d4b
SP
11182 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
11183
e57b0c61
RM
111842013-03-28 Roland McGrath <roland@hack.frob.com>
11185
11186 * include/stdlib.h [!SHARED] (__call_tls_dtors):
11187 Declare with __attribute__ ((weak)).
11188 * stdlib/exit.c (__libc_atexit) [!SHARED]:
11189 Call __call_tls_dtors only if it's not NULL.
11190
356b3480
RM
111912013-03-28 Roland McGrath <roland@hack.frob.com>
11192
288f7d79
RM
11193 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
11194 didn't do it already, then set _dl_phdr and _dl_phnum based on the
11195 magic __ehdr_start linker symbol if it's defined.
11196 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
11197 them up here if it was already done.
11198
dc0a0263
RM
11199 * elf/dl-support.c (_dl_phdr): Make pointer to const.
11200 (_dl_aux_init): Use const in cast when setting it.
11201 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
11202 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
11203 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
11204
3d3436ae
RM
11205 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
11206 Declare them here.
11207 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
11208 * csu/libc-tls.c: Nor here.
11209 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
11210
356b3480
RM
11211 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
11212 (__libc_message): Never call vsyslog.
11213
b0f1246a
AM
112142013-03-28 Alan Modra <amodra@gmail.com>
11215
11216 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
11217 Define as empty.
11218 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
11219 Likewise.
11220
fbbe2b9a
AZ
112212013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11222
11223 [BZ #15214]
11224 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
11225 underflow.
11226 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11227
1728ab37
SP
112282013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11229
7a86be6e
SP
11230 [BZ #15304]
11231 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
11232 Don't add gid passed as argument.
11233
1728ab37
SP
11234 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
11235
3a7182a1
JM
112362013-03-27 Joseph Myers <joseph@codesourcery.com>
11237
11238 [BZ #15307]
11239 * math/k_casinh.c (__kernel_casinh): Handle arguments with
11240 imaginary part between 1.0 and 1.5 and real part less than 0.5
11241 specially.
11242 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11243 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11244 * math/libm-test.inc (cacos_test): Add more tests.
11245 (casin_test): Likewise.
11246 (casinh_test): Likewise.
11247 * sysdeps/i386/fpu/libm-test-ulps: Update.
11248 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11249
6f2e90e7
SP
112502013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11251
5739f705
SP
11252 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
11253 constants.
11254 (norm): Likewise.
11255 (denorm): Likewise.
11256 (__dbl_mp): Likewise.
11257 (add_magnitudes): Likewise.
11258 (sub_magnitudes): Likewise.
11259 (__add): Likewise.
11260 (__sub): Likewise.
11261 (__mul): Likewise.
11262 (__sqr): Likewise.
11263 (__inv): Likewise.
11264 (__dvd): Likewise.
11265
e375e83d
SP
11266 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
11267 commented code.
11268 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
11269 (__dubcos): Likewise.
11270 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
11271 (__ieee754_acos): Likewise.
11272 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
11273 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
11274 (__exp1): Likewise.
11275 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11276 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
11277 (log1): Likewise.
11278 (my_log2): Likewise.
11279 (checkint): Likewise.
11280 * sysdeps/ieee754/dbl-64/e_remainder.c
11281 (__ieee754_remainder): Likewise.
11282 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11283 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
11284 (bsloww): Likewise.
11285 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11286
6f2e90e7
SP
11287 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11288 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
11289 MANTISSA_STORE_T to store computations on mantissa. Use
11290 macros for rounding and division.
11291 (denorm): Likewise.
11292 (__dbl_mp): Likewise.
11293 (add_magnitudes): Likewise.
11294 (sub_magnitudes): Likewise.
11295 (__mul): Likewise.
11296 (__sqr): Likewise.
11297 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
11298 powers of two in terms of TWOPOW macro.
11299 (mp_no): Make type of mantissa as MANTISSA_T.
11300 [!RADIXI]: Define RADIXI.
11301 [!TWO52]: Define TWO52.
11302 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11303
fce14d4e
AZ
113042013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11305
11306 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
11307 llroundl symbol when building for PPC32.
11308
9ad027fb
MW
113092013-03-24 Mark H Weaver <mhw@netris.org>
11310
11311 * manual/arith.texi (Normalization Functions): Fix prototypes for
11312 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
11313
e42a38dd
AZ
113142013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11315
11316 [BZ #13889]
11317 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
11318 high value to check if expl overflow.
11319 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
11320 to check for underflow and overflow.
11321 * math/libm-test.inc: Add exp test.
11322
2e0fb521
DL
113232013-03-21 Dmitry V. Levin <ldv@altlinux.org>
11324
11325 [BZ #11120]
11326 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
11327 with NOT_IN_libc.
11328
b5784d95
AZ
113292013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11330
11331 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
11332 symbol.
11333
5aa4a1a1
TS
113342013-03-21 Thomas Schwinge <thomas@codesourcery.com>
11335
bdef0be7
TS
11336 * math/gen-libm-test.pl (parse_args, special_functions): Properly
11337 wrap blocks consisting of several statements.
11338
5aa4a1a1
TS
11339 * sysdeps/generic/math-tests.h: New file.
11340 * sysdeps/i386/fpu/math-tests.h: Likewise.
11341 * math/test-snan.c: Include it.
11342 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
11343
98c48fe5
JM
113442013-03-21 Joseph Myers <joseph@codesourcery.com>
11345
11346 [BZ #15285]
11347 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
11348 (__ieee754_j0l): Do not improve calculations using cos of twice
11349 input for inputs above LDBL_MAX / 2.0L.
11350 (__ieee754_y0l): Likewise.
11351 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
11352 (__ieee754_j1l): Do not improve calculations using cos of twice
11353 input for inputs above LDBL_MAX / 2.0L.
11354 (__ieee754_y1l): Likewise.
11355 * math/libm-test.inc (j0_test): Add another test.
11356 (j1_test): Likewise.
11357 (y0_test): Likewise.
11358 (y1_test): Likewise.
11359 * sysdeps/i386/fpu/libm-test-ulps: Update.
11360
3775a8bc
SP
113612013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11362
11363 * Rules ($(objpfx)bench-%.c): Include code from a C source
11364 file.
11365
0a1b2ae6
JM
113662013-03-21 Joseph Myers <joseph@codesourcery.com>
11367
11368 [BZ #15287]
11369 * math/k_casinh.c (__kernel_casinh): Handle arguments with
11370 imaginary part 1.0 and real part less than 0.5 specially.
11371 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11372 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11373 * math/libm-test.inc (cacos_test): Add more tests.
11374 (casin_test): Likewise.
11375 (casinh_test): Likewise.
11376 * sysdeps/i386/fpu/libm-test-ulps: Update.
11377 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11378
b33d4ce4
SP
113792013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11380
11381 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
11382 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
11383
bef0b507
JM
113842013-03-20 Joseph Myers <joseph@codesourcery.com>
11385
11386 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
11387 * config.make.in (config-cflags-sse4): Remove variable.
11388 (config-cflags-avx): Likewise.
11389 (config-cflags-sse2avx): Likewise.
11390 (config-cflags-novzeroupper): Likewise.
11391 (config-asflags-i686): Likewise.
11392 (have-mfma4): Likewise.
11393 (have-as-vis3): Likewise.
11394 (MIG): Likewise.
11395 * configure.in (MIG): Do not AC_SUBST.
11396 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
11397 (libc_cv_cc_sse4): Do not AC_SUBST.
11398 (libc_cv_cc_avx): Likewise.
11399 (libc_cv_cc_sse2avx): Likewise.
11400 (libc_cv_cc_novzeroupper): Likewise.
11401 (libc_cv_cc_fma4): Likewise.
11402 (libc_cv_as_i686): Likewise.
11403 (libc_cv_sparc_as_vis3): Likewise.
11404 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
11405 LIBC_CONFIG_VAR.
11406 (config-asflags-i686): Likewise.
11407 (config-cflags-avx): Likewise.
11408 (config-cflags-sse2avx): Likewise.
11409 (have-mfma4): Likewise.
11410 (config-cflags-novzeroupper): Likewise.
11411 * sysdeps/mach/configure.in (MIG): Likewise.
11412 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
11413 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
11414 LIBC_CONFIG_VAR.
11415 (config-cflags-avx): Likewise.
11416 (config-cflags-sse2avx): Likewise.
11417 (have-mfma4): Likewise.
11418 (config-cflags-novzeroupper): Likewise.
11419 * configure: Regenerated.
11420 * sysdeps/i386/configure: Likewise.
11421 * sysdeps/mach/configure: Likewise.
11422 * sysdeps/sparc/configure: Likewise.
11423 * sysdeps/x86_64/configure: Likewise.
11424
912cc4b3
RM
114252013-03-20 Roland McGrath <roland@hack.frob.com>
11426
11427 [BZ #14812]
11428 * locale/programs/localedef.c (options): Put N_ translation marker
11429 on argument names, not just descriptions.
11430
04eed2b0
MS
114312013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11432
11433 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
11434
a065ceff
OB
114352013-03-20 Ondřej Bílka <neleai@seznam.cz>
11436
9bb2a810 11437 [BZ #14176]
a065ceff
OB
11438 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
11439
a600e5ce
RM
114402013-03-19 Roland McGrath <roland@hack.frob.com>
11441
11442 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
11443 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
11444 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
11445 [!BEFORE_ABORT] (before_abort): New function.
11446 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
11447 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
11448 (writev_for_fatal): New function.
11449 (WRITEV_FOR_FATAL): New macro; call that.
11450 (backtrace_and_maps): New function.
11451 (BEFORE_ABORT): New macro; call that.
11452 (struct str_list): Type removed.
11453 (__libc_message, __libc_fatal): Functions removed.
11454 Include <sysdeps/posix/libc_fatal.c> instead.
11455
6b18bea6
JM
114562013-03-19 Joseph Myers <joseph@codesourcery.com>
11457
11458 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
11459 constants.
11460 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
11461 double constants.
11462
aaa8cb4b
AS
114632013-03-19 Andreas Schwab <schwab@suse.de>
11464
44673770
AS
11465 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
11466 * sysdeps/gnu/configure: Regenerate.
11467
aaa8cb4b
AS
11468 * configure.in: Substitute libc_cv_rtlddir.
11469 * configure: Regenerate.
11470 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
11471 * Makeconfig (rtlddir, inst_rtlddir): New variables.
11472 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
11473 * elf/Makefile (install-others, CFLAGS-interp.c)
11474 (ldso_install, common-ldd-rewrite): Likewise.
11475 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
11476 $(inst_slibdir)/$(rtld-installed-name).
11477 * scripts/rellns-sh: Add -p option.
11478 * Makerules (make-shlib-link): Use rellns-sh to get relative name
11479 for source.
11480
d3cfc668
SP
114812013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11482
11483 * manual/nptl.texi: Renamed to ...
11484 * manual/threads.texi: ... this.
11485 * manual/Makefile (chapters): Update.
11486
0e2b9cdd
RM
114872013-03-18 Roland McGrath <roland@hack.frob.com>
11488
11489 [BZ #14812]
11490 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
11491 on argument names, not just descriptions.
0e2b9cdd
RM
11492 * malloc/memusagestat.c (options): Likewise.
11493 * nss/getent.c (options): Likewise.
63270c24
RM
11494
114952013-03-18 Benno Schulenberg <bensberg@justemail.net>
11496
11497 [BZ #14812]
11498 * iconv/iconv_prog.c (options): Put N_ translation marker
11499 on argument names, not just descriptions.
11500 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 11501
b2e1393c
OB
115022013-03-18 Ondrej Bilka <neleai@seznam.cz>
11503
11504 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
11505 implementation which is faster on all x86_64 architectures.
11506 Tested on AMD, Intel Nehalem, SNB, IVB.
11507 * sysdeps/x86_64/strnlen.S: Likewise.
11508
11509 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
11510 Remove all multiarch strlen and strnlen versions.
11511 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11512 Remove strlen and strnlen related parts.
11513
11514 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
11515 Inline strlen part.
11516 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
11517
11518 * sysdeps/x86_64/multiarch/strlen.S: Remove.
11519 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
11520 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
11521 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
11522 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
11523 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
11524
ec4ff04d
CD
115252013-03-17 Carlos O'Donell <carlos@redhat.com>
11526
11527 * manual/memory.texi (Malloc Tunable Parameters):
11528 Sort parameters alphabetically. Add comments for missing entries.
11529
cd18e90a
DM
115302013-03-17 David S. Miller <davem@davemloft.net>
11531
11532 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11533
2a185d32
JM
115342013-03-16 Joseph Myers <joseph@codesourcery.com>
11535
d2f9799e
JM
11536 [BZ #15283]
11537 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
11538 for arguments at most half maximum finite value.
11539 * math/libm-test.inc (j0_test): Add more tests.
11540 (j1_test): Likewise.
11541 (y0_test): Likewise.
11542 (y1_test): Likewise.
11543 * sysdeps/i386/fpu/libm-test-ulps: Update.
11544 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11545
2a185d32
JM
11546 [BZ #14155]
11547 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
11548 1 / x and functions P and Q for arguments above 0x1p256L.
11549 (__ieee754_y0l): Likewise.
11550 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
11551 (__ieee754_y1l): Likewise.
11552 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
11553 (j1_test): Likewise.
11554 (y0_test): Likewise.
11555 (y1_test): Likewise.
11556
6cbec759
TS
115572013-03-16 Thomas Schwinge <thomas@codesourcery.com>
11558
11559 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
11560 variable.
11561
bc16e260
RM
115622013-03-15 Roland McGrath <roland@hack.frob.com>
11563
aefc9b8c
RM
11564 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
11565 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
11566 zero since it's initialized to EXEC_PAGESIZE.
11567
bc16e260
RM
11568 * sysdeps/unix/sysv/linux/ldsodefs.h
11569 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
11570 * sysdeps/generic/ldsodefs.h: ... here.
11571
a57da955
TS
115722013-03-15 Thomas Schwinge <thomas@codesourcery.com>
11573
af00a34d
TS
11574 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
11575
495ded2c
TS
11576 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
11577 math/test-snan.c.
11578 * math/test-snan.c: Renamed from
11579 sysdeps/powerpc/fpu/test-powerpc-snan.c.
11580 * math/Makefile (tests): Add test-snan.
11581 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
11582 test-powerpc-snan.
11583
777b0332
TS
11584 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
11585 SUFFIX. Initialize qNaN_var with __builtin_nan family of
11586 functions.
11587 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
11588 __builtin_nan family of functions.
11589 * math/libm-test.inc (initialize): Initialize qnan_value with
11590 __builtin_nan family of functions.
11591 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
11592 Remove variables.
11593 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
11594 Remove functions.
11595 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
11596 storage class. Initialize qNaN_var and sNaN_var with
11597 __builtin_nan and __builtin_nans families of functions,
11598 respectively.
11599
64d063b8
TS
11600 * math/libm-test.inc (acosh_test): Also test with qNaN input.
11601 (sqrt_test): Remove duplicate test with qNaN input.
11602 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
11603 (round_test, signbit_test, significand_test): Note missing +/-Inf
11604 as well as qNaN tests.
11605
67e971f1
TS
11606 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
11607 qNaN_var. Fix a few strings, too.
11608 * math/libm-test.inc (nan_value): Rename to qnan_value.
11609 * math/gen-libm-test.pl (%beautify): Adjust to that.
11610 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
11611 * math/test-misc.c (main): Likewise.
11612 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
11613 to __qnan_bytes, and __qnan_union, respectively.
11614 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
11615 Likewise.
11616 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
11617 and lqnanval, respectively.
11618 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
11619 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
11620 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
11621 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
11622
64487e12
TS
11623 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
11624 * math/test-misc.c (main) [__x86_64__]: Enable test for long
11625 doubles.
11626
e015e27b
TS
11627 * math/test-misc.c (main): Fix copy'n'pastos.
11628 * misc/tst-efgcvt.c (special): Likewise.
11629
a57da955
TS
11630 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
11631 Remove declarations.
11632
1e380345
SP
116332013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11634
11635 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
11636 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
11637 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
11638 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
11639
ef26eece
AZ
116402013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11641
11642 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
11643 macro to return vdso values correctly in IFUNC implementations.
11644 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11645 Optimization by using IFUNC.
11646
8cfdb7e0
SP
116472013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11648 Richard Henderson <rth@redhat.com>
11649 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11650
11651 * Makefile.in (bench): New target.
11652 * NEWS: Mention the benchmark framework.
11653 * Rules (bench): Likewise.
11654 (binaries-bench): Generate binaries for functions to
11655 benchmark.
11656 * benchtests/Makefile: New makefile for benchmark tests.
11657 * benchtests/bench-skeleton.c: New skeleton file for benchmark
11658 programs.
11659 * benchtests/exp-inputs: New input file for EXP function.
11660 * benchtests/pow-inputs: New input file for POW function.
11661 * scripts/bench.pl: New script to generate source files for
11662 benchmark programs.
11663
bcda9880
SP
116642013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11665
d22ca8cd
SP
11666 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11667 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
11668 computations on mantissa. Use macros for rounding and
11669 division.
11670 (denorm): Likewise.
11671 (__dbl_mp): Likewise.
11672 (add_magnitudes): Likewise.
11673 (sub_magnitudes): Likewise.
11674 (__mul): Likewise.
11675 (__sqr): Likewise.
11676 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
11677 powers of two in terms of TWOPOW macro.
11678 (mp_no): Make type of mantissa as MANTISSA_T.
11679 [!RADIXI]: Define RADIXI.
11680 [!TWO52]: Define TWO52.
11681 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11682
bcda9880
SP
11683 * manual/nptl.texi (cindex): Modify threads to pthreads.
11684
06d5adfb
JM
116852013-03-15 Joseph Myers <joseph@codesourcery.com>
11686
11687 * sysdeps/x86_64/preconfigure: Regenerated.
11688
41c7328e
JM
116892013-03-14 Joseph Myers <joseph@codesourcery.com>
11690
11691 [BZ #14155]
11692 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
11693 0x1p28 and above.
11694 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
11695 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
11696 0x1p28 and above.
11697 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
11698 * math/libm-test.inc (j0_test): Do not allow one spurious
11699 underflow exception.
11700 (y1_test): Likewise.
11701
e25cfa60
SP
117022013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11703
0409959c
SP
11704 * manual/Makefile (chapters): Add nptl.
11705 * manual/debug.texi (Debugging Support): Add link to Threads
11706 chapter.
11707 * manual/nptl.texi: New file.
11708
e25cfa60
SP
11709 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
11710
58a1335e
PB
117112013-03-14 Petr Baudis <pasky@ucw.cz>
11712
11713 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
11714 for non-NULL pointer before the memory validity test. Pointed
11715 out by Holger Brunck <holger.brunck@keymile.com>.
11716
9dc7c64f
AS
117172013-03-13 Andreas Schwab <schwab@suse.de>
11718
11719 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
11720 instead of .os.
11721
54206aa6
JM
117222013-03-13 Joseph Myers <joseph@codesourcery.com>
11723
11724 * timezone/zic.c: Update from tzcode 2013b.
11725
e98cdb38
CD
117262013-03-12 Carlos O'Donell <carlos@redhat.com>
11727
11728 * manual/install.texi (Configuring and compiling):
11729 Mention i686 and i586.
11730 * INSTALL: Regenerate.
11731
9967e003
RM
117322013-03-12 Roland McGrath <roland@hack.frob.com>
11733
11734 * sysdeps/init_array/elf-init.c: New file.
11735 * csu/elf-init.c
11736 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
11737 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
11738
11739 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
11740 __gmon_start__ as global, but as static with a .preinit_array pointer.
11741 * sysdeps/init_array/gmon-start.c: New file. Use that.
11742 * sysdeps/init_array/crti.S: New file, empty except for comments.
11743 * sysdeps/init_array/crtn.S: Likewise.
11744
e6b5a293 117452013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
11746
11747 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
11748 definining bcopy.
80f844c9
OB
11749 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11750 Remove Prefer_SSE_for_memop.
11751 * sysdeps/x86_64/multiarch/init-arch.h: Remove
11752 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
11753 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
11754 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
11755 memset-x86-64.
80f844c9 11756 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 11757 Remove bzero, memset ifunc support.
80f844c9
OB
11758 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
11759 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
11760 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11761 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11762
fb6b0fcb
AS
117632013-03-11 Andreas Schwab <schwab@suse.de>
11764
11765 [BZ #15234]
11766 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
11767 by SHLIB_COMPAT.
11768 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
11769 (GLIBC_2.16): Remove pthread_atfork.
11770
3e6bd4b1
PP
117712013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
11772
11773 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
11774 (ptestcases.h): Likewise.
11775
222d7f00
RM
117762013-03-08 Roland McGrath <roland@hack.frob.com>
11777
11778 * Makeconfig ($(common-objpfx)config.status): Depend on
11779 sysdeps/*/preconfigure{,.in} too.
11780
1ba4f030
JM
117812013-03-08 Joseph Myers <joseph@codesourcery.com>
11782
a222d91a
JM
11783 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
11784 (__free_hook): Use void * instead of __malloc_ptr_t.
11785 (__malloc_hook): Likewise.
11786 (__realloc_hook): Likewise.
11787 (__memalign_hook): Likewise.
11788 (__after_morecore_hook): Likewise.
11789 * malloc/arena.c (save_malloc_hook): Likewise.
11790 (save_free_hook): Likewise.
11791 * malloc/hooks.c (malloc_hook_ini): Likewise.
11792 (realloc_hook_ini): Likewise.
11793 (memalign_hook_ini): Likewise.
11794 * malloc/malloc.c (malloc_hook_ini): Likewise.
11795 (realloc_hook_ini): Likewise.
11796 (memalign_hook_ini): Likewise.
11797 (__free_hook): Likewise.
11798 (__malloc_hook): Likewise.
11799 (__realloc_hook): Likewise.
11800 (__memalign_hook): Likewise.
11801 (__libc_malloc): Likewise.
11802 (__libc_free): Likewise.
11803 (__libc_realloc): Likewise.
11804 (__libc_memalign): Likewise.
11805 (__libc_valloc): Likewise.
11806 (__libc_pvalloc): Likewise.
11807 (__libc_calloc): Likewise.
11808 (__posix_memalign): Likewise.
11809 * malloc/morecore.c (__sbrk): Likewise.
11810 (__default_morecore): Likewise.
11811
5cc45e10
JM
11812 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
11813
dd54b864
JM
11814 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
11815 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
11816 __malloc_ptrdiff_t.
11817
1ba4f030
JM
11818 * malloc/malloc.h (__malloc_size_t): Remove macro.
11819 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
11820 __malloc_size_t.
11821 (old_memalign_hook): Likewise.
11822 (old_realloc_hook): Likewise.
11823 (struct hdr): Likewise.
11824 (flood): Likewise.
11825 (mallochook): Likewise.
11826 (memalignhook): Likewise.
11827 (reallochook): Likewise.
11828 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
11829 (tr_old_realloc_hook): Likewise.
11830 (tr_old_memalign_hook): Likewise.
11831 (tr_mallochook): Likewise.
11832 (tr_reallochook): Likewise.
11833 (tr_memalignhook): Likewise.
11834
edf66e57
AZ
118352013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11836
11837 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
11838 default_ldbl_pack and using as default implementation.
11839 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
11840 implementation.
11841 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
11842 redundant definition.
11843 (ldbl_insert_mantissa): Likewise.
11844 (ldbl_canonicalize): Likewise.
11845 (ldbl_nearbyint): Likewise.
11846 (ldbl_pack): Rename to ldbl_pack_ppc.
11847 (ldbl_unpack): Rename to ldbl_unpack_ppc.
11848 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
11849 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
11850
6d9145d8
SP
118512013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11852
11853 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
11854 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
11855 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
11856 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
11857 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
11858 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
11859 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
11860 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
11861
4dd4e157
AJ
118622013-03-07 Andreas Jaeger <aj@suse.de>
11863
11864 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11865 bits/mman-linux.h.
11866
adbb8027
SP
118672013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
11868
ce544b5b
SP
11869 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
11870 Include mpa.h and declare __MPEXP.
11871 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
11872 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11873 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11874 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
11875 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11876 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11877 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
11878
4cc149fd
SP
11879 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
11880 (__slowpow): Use long double EXPL and LOGL functions to
11881 compute POW.
11882 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11883 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11884 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
11885 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11886 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11887 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
11888
e6ebd4a7
SP
11889 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
11890 intermediate variable to calculate exponent.
11891 (__sqr): Likewise.
11892 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
11893 Likewise.
11894 (__sqr): Likewise.
11895
82a9811d
SP
11896 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
11897 [!NO__SQR]: Define __sqr.
11898 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
11899 and NO__SQR. Remove all code except __mul and __sqr. Include
11900 sysdeps/ieee754/dbl-64/mpa.c.
11901 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11902
adbb8027
SP
11903 [BZ #12723]
11904 * posix/Makefile (tests): Add tst-pathconf.
11905 * posix/tst-pathconf.c: New test case.
11906 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
11907 _PC_PIPE_BUF.
11908 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
11909
39120df9
PF
119102013-03-06 Patsy Franklin <pfrankli@redhat.com>
11911
11912 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
11913
67525cb8
AJ
119142013-03-06 Andreas Jaeger <aj@suse.de>
11915
664a9ce4
AJ
11916 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
11917 definition via __MAP_ANONYMOUS.
11918
8e39047d
AJ
11919 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
11920 it's not part of Linux headers.
11921
67525cb8
AJ
11922 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
11923 (MAP_HUGE_MASK): Define.
11924
11925 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11926 Define.
11927 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11928 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11929 Define.
11930 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11931 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11932 Define.
11933 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11934 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
11935 Define.
11936 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11937
11938 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
11939 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
11940 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
11941 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
11942 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
11943 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
11944
11945 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
11946 Handle f2fs.
11947
11948 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11949 Handle f2fs and efivarfs.
11950
11951 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
11952 f2fs.
11953
11954 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
11955 (EFIVARFS_MAGIC): Add.
11956 (F2FS_LINK_MAX): Add.
11957
e1b42695
PP
119582013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11959
11960 * stdio-common/vfprintf.c: Replace __builtin_expect with
11961 __glibc_unlikely.
11962
2d67d91a
JM
119632013-03-06 Joseph Myers <joseph@codesourcery.com>
11964
11965 [BZ #13550]
11966 * sysdeps/generic/bp-sym.h: Remove file.
11967 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
11968 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
11969 <bp-sym.h> and <bp-asm.h>.
11970 (__longjmp): Don't use BP_SYM.
11971 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
11972 and <bp-asm.h>.
11973 (memcpy): Don't use BP_SYM.
11974 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
11975 <bp-sym.h> and <bp-asm.h>.
11976 (memcpy): Don't use BP_SYM.
11977 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
11978 <bp-asm.h>.
11979 (memcpy): Don't use BP_SYM.
11980 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
11981 <bp-asm.h>.
11982 (memset): Don't use BP_SYM.
11983 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11984 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11985 (__bzero): Don't use BP_SYM.
11986 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11987 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11988 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
11989 <bp-sym.h> and <bp-asm.h>.
11990 (memcmp): Don't use BP_SYM. Remove comment about bounded
11991 pointers.
11992 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
11993 <bp-sym.h> and <bp-asm.h>.
11994 (memcpy): Don't use BP_SYM.
11995 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
11996 <bp-sym.h> and <bp-asm.h>.
11997 (memset): Don't use BP_SYM.
11998 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11999 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12000 (__bzero): Don't use BP_SYM.
12001 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12002 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12003 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
12004 <bp-sym.h> and <bp-asm.h>.
12005 (strncmp): Don't use BP_SYM. Remove comment about bounded
12006 pointers.
12007 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
12008 <bp-sym.h> and <bp-asm.h>.
12009 (memcpy): Don't use BP_SYM.
12010 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
12011 <bp-sym.h> and <bp-asm.h>.
12012 (memset): Don't use BP_SYM.
12013 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12014 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12015 (__bzero): Don't use BP_SYM.
12016 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12017 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12018 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
12019 <bp-sym.h> and <bp-asm.h>.
12020 (__memchr): Don't use BP_SYM.
12021 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
12022 <bp-sym.h> and <bp-asm.h>.
12023 (memcmp): Don't use BP_SYM. Remove comment about bounded
12024 pointers.
12025 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
12026 <bp-sym.h> and <bp-asm.h>.
12027 (memcpy): Don't use BP_SYM.
12028 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
12029 <bp-sym.h> and <bp-asm.h>.
12030 (__mempcpy): Don't use BP_SYM.
12031 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
12032 <bp-sym.h> and <bp-asm.h>.
12033 (__memrchr): Don't use BP_SYM.
12034 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
12035 <bp-sym.h> and <bp-asm.h>.
12036 (memset): Don't use BP_SYM.
12037 (__bzero): Likewise.
12038 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
12039 <bp-sym.h> and <bp-asm.h>.
12040 (__rawmemchr): Don't use BP_SYM.
12041 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
12042 <bp-sym.h> and <bp-asm.h>.
12043 (__STRCMP): Don't use BP_SYM.
12044 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
12045 <bp-sym.h> and <bp-asm.h>.
12046 (strchr): Don't use BP_SYM.
12047 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
12048 <bp-sym.h> and <bp-asm.h>.
12049 (__strchrnul): Don't use BP_SYM.
12050 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
12051 <bp-sym.h> and <bp-asm.h>.
12052 (strlen): Don't use BP_SYM.
12053 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
12054 <bp-sym.h> and <bp-asm.h>.
12055 (strncmp): Don't use BP_SYM. Remove comment about bounded
12056 pointers.
12057 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
12058 <bp-sym.h> and <bp-asm.h>.
12059 (__strnlen): Don't use BP_SYM.
12060 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
12061 <bp-sym.h> and <bp-asm.h>.
12062 (__GI__setjmp): Don't use BP_SYM.
12063 (_setjmp): Likewise.
12064 (__sigsetjmp): Likewise.
12065 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
12066 (L(start_addresses)): Don't use BP_SYM.
12067 (_start): Likewise.
12068 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
12069 <bp-asm.h>.
12070 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
12071 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
12072 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12073 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12074 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
12075 <bp-asm.h>.
12076 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
12077 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
12078 about bounded pointers.
12079 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12080 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12081 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
12082 <bp-asm.h>.
12083 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
12084 about bounded pointers. Remove GKM FIXME comments.
12085 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12086 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
12087 <bp-asm.h>.
12088 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
12089 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
12090 Remove GKM FIXME comments.
12091 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12092 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12093 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
12094 <bp-asm.h>.
12095 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
12096 about bounded pointers. Remove GKM FIXME comment.
12097 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
12098 and <bp-asm.h>.
12099 (strncmp): Don't use BP_SYM. Remove comment about bounded
12100 pointers.
12101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
12102 <bp-sym.h> and <bp-asm.h>.
12103 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
12104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
12105 <bp-sym.h> and <bp-asm.h>.
12106 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
12107 comment.
12108
cdcf361f
PP
121092013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12110
12111 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
12112 call free(NULL).
12113
3c4a2b15
DM
121142013-03-05 David S. Miller <davem@davemloft.net>
12115
12116 * po/es.po: Update from translation team.
12117
cdcf361f 121182013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
12119
12120 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
12121 <bits/mman-linux.h>.
12122 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12123 is fine.
12124 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
12125 <bits/mman-linux.h> to end of file.
12126 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12127 is fine.
12128 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
12129 <bits/mman-linux.h> to end of file.
12130 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12131 is fine.
12132 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
12133 <bits/mman-linux.h> to end of file.
12134
12135 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
12136 (MCL_CURRENT, MCL_FUTURE): Define here.
12137
5f67c04f
AK
121382013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12139
8a4473cc 12140 [BZ #15232]
5f67c04f
AK
12141 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
12142 attribute_hidden.
12143 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
12144
c3e94a95
AK
121452013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12146
12147 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
12148 fourth parameter needed for rt_sigprocmask syscall.
12149 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
12150 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12151 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
12152 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12153 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12154 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
12155
cfb6382a
JM
121562013-03-04 Joseph Myers <joseph@codesourcery.com>
12157
12158 [BZ #13550]
12159 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
12160 comment about bounded pointers.
12161 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
12162 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
12163
539d8e01
AJ
121642013-03-04 Andreas Jaeger <aj@suse.de>
12165
12166 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
12167 common definitions.
12168
12169 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
12170 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
12171 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
12172 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12173 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
12174 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12175
2e167a70 121762013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
12177
12178 [BZ #15055]
12179 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
12180 __ieee754_sqrl instead of __sqrl.
12181
68508633
JM
121822013-03-01 Joseph Myers <joseph@codesourcery.com>
12183
12184 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
12185 * sysdeps/powerpc/fpu_control.h: ... here.
12186 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
12187 * sysdeps/powerpc/bits/fenvinline.h: ... here.
12188 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
12189 * sysdeps/powerpc/bits/mathinline.h: ... here.
12190
7775448e
RM
121912013-03-01 Roland McGrath <roland@hack.frob.com>
12192
12193 * elf/dl-hwcaps.c (_dl_important_hwcaps):
12194 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
12195 to just [NEED_DL_SYSINFO_DSO].
12196 * elf/dl-support.c: Likewise.
12197 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
12198 * elf/rtld.c (dl_main): Likewise.
12199 * elf/setup-vdso.h (setup_vdso): Likewise.
12200 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
12201 * sysdeps/unix/sysv/linux/dl-sysdep.c
12202 (_dl_discover_osversion): Likewise.
12203
4e9b5995
CD
122042013-03-01 Carlos O'Donell <carlos@redhat.com>
12205
12206 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
12207 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
12208
e23872c8
SP
122092013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
12210
e5c74c63
SP
12211 * NEWS: Mention libm performance improvements and non-x86 PI
12212 futex support.
12213
e23872c8
SP
12214 * csu/libc-start.c (__pthread_initialize_minimal): Change
12215 function arguments.
12216 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
12217
b5510883
JM
122182013-02-28 Joseph Myers <joseph@codesourcery.com>
12219
12220 [BZ #13550]
12221 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
12222 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
12223 <bp-sym.h> and <bp-asm.h>.
12224 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12225 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
12226 and <bp-asm.h>.
12227 (memcpy): Don't use BP_SYM.
12228 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
12229 <bp-asm.h>.
12230 (__mpn_add_n): Don't use BP_SYM.
12231 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
12232 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
12233 and <bp-asm.h>.
12234 (__mpn_addmul_1): Don't use BP_SYM.
12235 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12236 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
12237 <bp-sym.h>.
12238 (_setjmp): Don't use BP_SYM.
12239 (__novmx_setjmp): Likewise.
12240 (__GI__setjmp): Likewise.
12241 (__vmx_setjmp): Likewise.
12242 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
12243 <bp-sym.h>.
12244 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
12245 (__bzero): Don't use BP_SYM.
12246 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12247 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12248 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
12249 <bp-sym.h> and <bp-asm.h>.
12250 (memcpy): Don't use BP_SYM.
12251 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
12252 <bp-sym.h> and <bp-asm.h>.
12253 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12254 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
12255 <bp-sym.h> and <bp-asm.h>.
12256 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12257 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
12258 <bp-asm.h>.
12259 (__mpn_lshift): Don't use BP_SYM.
12260 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12261 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
12262 <bp-asm.h>.
12263 (memset): Don't use BP_SYM.
12264 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12265 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12266 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
12267 <bp-asm.h>.
12268 (__mpn_mul_1): Don't use BP_SYM.
12269 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12270 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
12271 <bp-sym.h> and <bp-asm.h>.
12272 (memcmp): Don't use BP_SYM.
12273 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
12274 <bp-sym.h> and <bp-asm.h>.
12275 (memcpy): Don't use BP_SYM.
12276 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
12277 <bp-sym.h> and <bp-asm.h>.
12278 (memset): Don't use BP_SYM.
12279 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
12280 <bp-sym.h> and <bp-asm.h>.
12281 (strncmp): Don't use BP_SYM.
12282 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
12283 <bp-sym.h> and <bp-asm.h>.
12284 (memcpy): Don't use BP_SYM.
12285 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
12286 <bp-sym.h> and <bp-asm.h>.
12287 (memset): Don't use BP_SYM.
12288 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
12289 <bp-sym.h> and <bp-asm.h>.
12290 (__memchr): Don't use BP_SYM.
12291 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
12292 <bp-sym.h> and <bp-asm.h>.
12293 (memcmp): Don't use BP_SYM.
12294 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
12295 <bp-sym.h> and <bp-asm.h>.
12296 (memcpy): Don't use BP_SYM.
12297 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
12298 <bp-sym.h> and <bp-asm.h>.
12299 (__mempcpy): Don't use BP_SYM.
12300 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
12301 <bp-sym.h> and <bp-asm.h>.
12302 (__memrchr): Don't use BP_SYM.
12303 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
12304 <bp-sym.h> and <bp-asm.h>.
12305 (memset): Don't use BP_SYM.
12306 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
12307 <bp-sym.h> and <bp-asm.h>.
12308 (__rawmemchr): Don't use BP_SYM.
12309 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
12310 <bp-sym.h> and <bp-asm.h>.
12311 (__STRCMP): Don't use BP_SYM.
12312 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
12313 <bp-sym.h> and <bp-asm.h>.
12314 (strchr): Don't use BP_SYM.
12315 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
12316 <bp-sym.h> and <bp-asm.h>.
12317 (__strchrnul): Don't use BP_SYM.
12318 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
12319 <bp-sym.h> and <bp-asm.h>.
12320 (strlen): Don't use BP_SYM.
12321 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
12322 <bp-sym.h> and <bp-asm.h>.
12323 (strncmp): Don't use BP_SYM.
12324 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
12325 <bp-sym.h> and <bp-asm.h>.
12326 (__strnlen): Don't use BP_SYM.
12327 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
12328 <bp-asm.h>.
12329 (__mpn_rshift): Don't use BP_SYM.
12330 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12331 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
12332 <bp-sym.h> and <bp-asm.h>.
12333 (__sigsetjmp): Don't use BP_SYM.
12334 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
12335 (L(start_addresses)): Don't use BP_SYM.
12336 (_start): Likewise.
12337 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
12338 <bp-asm.h>.
12339 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
12340 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12341 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12342 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
12343 <bp-asm.h>.
12344 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
12345 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12346 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12347 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
12348 <bp-asm.h>.
12349 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
12350 comments.
12351 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12352 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
12353 <bp-asm.h>.
12354 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
12355 FIXME comments.
12356 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12357 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12358 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
12359 <bp-asm.h>.
12360 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
12361 comment.
12362 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
12363 and <bp-asm.h>.
12364 (strncmp): Don't use BP_SYM,
12365 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
12366 <bp-asm.h>.
12367 (__mpn_sub_n): Don't use BP_SYM.
12368 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12369 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
12370 and <bp-asm.h>.
12371 (__mpn_submul_1): Don't use BP_SYM.
12372 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
12374 <bp-sym.h> and <bp-asm.h>.
12375 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
12376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
12377 <bp-sym.h> and <bp-asm.h>.
12378 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
12379 comment.
12380
8d19fe64
SP
123812013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12382
12383 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
12384 Use ZK to minimize writes to Z.
12385 (sub_magnitudes): Simplify code a bit.
12386 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
12387 Use ZK to minimize writes to Z.
12388 (sub_magnitudes): Simplify code a bit.
12389
85bd816a
RM
123902013-02-27 Roland McGrath <roland@hack.frob.com>
12391
12392 * csu/gmon-start.c: Add special exception to license text.
12393
b5977bf2
RH
123942013-02-27 Richard Henderson <rth@redhat.com>
12395
12396 * scripts/config.guess: Update from config.git.
12397 * scripts/config.sub: Likewise.
12398
11d6e2f2
SP
123992013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12400
09c14ed2
SP
12401 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
12402
a688864e
SP
12403 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
12404
6295157a
SP
12405 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
12406
b8de2202
SP
12407 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
12408
11d6e2f2
SP
12409 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
12410
7e80ddb8
RM
124112013-02-26 Roland McGrath <roland@hack.frob.com>
12412
12413 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
12414 [$(build-shared = yes].
7e80ddb8 12415
7da6d9ed
SP
124162013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12417
45f05884
SP
12418 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
12419 (__mul): Reduce iterations for calculating mantissa.
12420
2236d359
SP
12421 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
12422 MPTWO.
12423 (__mpranred): Likewise.
12424
7da6d9ed
SP
12425 [BZ #15160]
12426 * malloc/memusagestat.c (main): Draw graphs for heap and stack
12427 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
12428
b7688c42
PE
124292013-02-26 Paul Eggert <eggert@cs.ucla.edu>
12430
12431 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
12432 Define __attribute__.
12433
53a5c423
SP
124342013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12435
12436 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
12437 unused.
12438 * posix/regex_internal.h (__attribute): Remove.
12439 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
12440 (re_string_context_at): Likewise.
12441 (bitset_not): Use __attribute__ and mark function as possibly
12442 unused.
12443 (bitset_merge): Likewise.
12444 (bitset_mask): Likewise.
12445 (re_string_char_size_at): Likewise.
12446 (re_string_wchar_at): Likewise.
12447 (re_string_elem_size_at): Likewise.
12448
60f5a8b5
SP
124492013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12450
2a983a2e
SP
12451 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
12452 code.
12453 (cc32): Likewise.
12454
e69804d1
SP
12455 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
12456 (__acr): Likewise.
12457 (__cpy): Likewise.
12458 (norm): Likewise.
12459 (denorm): Likewise.
12460 (__dbl_mp): Likewise.
12461 (add_magnitudes): Likewise.
12462 (sub_magnitudes): Likewise.
12463 (__mul): Likewise.
12464 (__inv): Likewise.
12465
2f22a1e8
SP
12466 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
12467 style.
12468
8930ddc7
SP
12469 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
12470 style.
12471
dc60cb11
SP
12472 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
12473 code.
12474
60f5a8b5
SP
12475 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
12476 up changes with default code.
12477 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
12478 Likewise.
12479
b4d1fd33
AM
124802013-02-24 Allan McRae <allan@archlinux.org>
12481
faf6f8bc
AM
12482 * manual/socket.texi (The Internet Namespace): Order menu items
12483 to match that in the file.
12484
b4d1fd33
AM
12485 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
12486 node listing of the info page menu.
12487
2366713d
JM
124882013-02-21 Joseph Myers <joseph@codesourcery.com>
12489
12490 [BZ #13550]
12491 * sysdeps/i386/bp-asm.h: Remove file.
12492 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12493 (PARMS): Do not use macros from bp-asm.h.
12494 (S1): Likewise.
12495 (S2): Likewise.
12496 (SIZE): Likewise.
12497 (__mpn_add_n): Do not use BP_SYM
12498 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
12499 "bp-asm.h".
12500 (PARMS): Do not use macros from bp-asm.h.
12501 (S1): Likewise.
12502 (SIZE): Likewise.
12503 (__mpn_addmul_1): Do not use BP_SYM
12504 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
12505 "bp-asm.h".
12506 (PARMS): Do not use macros from bp-asm.h.
12507 (SIGMSK): Likewise.
12508 (_setjmp): Likewise. Do not use BP_SYM.
12509 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
12510 "bp-asm.h".
12511 (PARMS): Do not use macros from bp-asm.h.
12512 (SIGMSK): Likewise.
12513 (setjmp): Likewise. Do not use BP_SYM.
12514 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
12515 "bp-asm.h".
12516 (PARMS): Do not use macros from bp-asm.h.
12517 (__frexp): Do not use BP_SYM.
12518 (frexp): Likewise.
12519 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
12520 "bp-asm.h".
12521 (PARMS): Do not use macros from bp-asm.h.
12522 (__frexpf): Do not use BP_SYM.
12523 (frexpf): Likewise.
12524 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
12525 "bp-asm.h".
12526 (PARMS): Do not use macros from bp-asm.h.
12527 (__frexpl): Do not use BP_SYM.
12528 (frexpl): Likewise.
12529 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
12530 "bp-asm.h".
12531 (PARMS): Do not use macros from bp-asm.h.
12532 (__remquo): Do not use BP_SYM.
12533 (remquo): Likewise.
12534 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
12535 "bp-asm.h".
12536 (PARMS): Do not use macros from bp-asm.h.
12537 (__remquof): Do not use BP_SYM.
12538 (remquof): Likewise.
12539 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
12540 "bp-asm.h".
12541 (PARMS): Do not use macros from bp-asm.h.
12542 (__remquol): Do not use BP_SYM.
12543 (remquol): Likewise.
12544 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
12545 "bp-asm.h".
12546 (PARMS): Do not use macros from bp-asm.h.
12547 (DEST): Likewise.
12548 (SRC): Likewise.
12549 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
12550 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
12551 "bp-asm.h".
12552 (PARMS): Do not use macros from bp-asm.h.
12553 (strlen): Do not use BP_SYM.
12554 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
12555 "bp-asm.h".
12556 (PARMS): Do not use macros from bp-asm.h.
12557 (S1): Likewise.
12558 (S2): Likewise.
12559 (SIZE): Likewise.
12560 (__mpn_add_n): Do not use BP_SYM.
12561 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
12562 "bp-asm.h".
12563 (PARMS): Do not use macros from bp-asm.h.
12564 (S1): Likewise.
12565 (SIZE): Likewise.
12566 (__mpn_addmul_1): Do not use BP_SYM.
12567 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
12568 weak_alias.
12569 (bzero): Likewise.
12570 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
12571 "bp-asm.h".
12572 (PARMS): Do not use macros from bp-asm.h.
12573 (S): Likewise.
12574 (SIZE): Likewise.
12575 (__mpn_lshift): Do not use BP_SYM.
12576 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
12577 "bp-asm.h".
12578 (PARMS): Do not use macros from bp-asm.h.
12579 (DEST): Likewise.
12580 (SRC): Likewise.
12581 (LEN): Likewise.
12582 (memcpy): Likewise. Do not use BP_SYM.
12583 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
12584 libc_hidden_def and weak_alias.
12585 (mempcpy): Do not use BP_SYM in weak_alias.
12586 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
12587 "bp-asm.h".
12588 (PARMS): Do not use macros from bp-asm.h.
12589 (DEST): Likewise.
12590 (LEN): Likewise.
12591 [!BZERO_P] (CHR): Likewise.
12592 (memset): Likewise. Do not use BP_SYM.
12593 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
12594 "bp-asm.h".
12595 (PARMS): Do not use macros from bp-asm.h.
12596 (S1): Likewise.
12597 (SIZE): Likewise.
12598 (__mpn_mul_1): Do not use BP_SYM.
12599 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
12600 "bp-asm.h".
12601 (PARMS): Do not use macros from bp-asm.h.
12602 (S): Likewise.
12603 (SIZE): Likewise.
12604 (__mpn_rshift): Do not use BP_SYM.
12605 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
12606 "bp-asm.h".
12607 (PARMS): Do not use macros from bp-asm.h.
12608 (STR): Likewise.
12609 (CHR): Likewise.
12610 (strchr): Likewise. Do not use BP_SYM.
12611 (index): Do not use BP_SYM in weak_alias.
12612 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
12613 "bp-asm.h".
12614 (PARMS): Do not use macros from bp-asm.h.
12615 (DEST): Likewise.
12616 (SRC): Likewise.
12617 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
12618 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
12619 "bp-asm.h".
12620 (PARMS): Do not use macros from bp-asm.h.
12621 (strlen): Do not use BP_SYM.
12622 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
12623 "bp-asm.h".
12624 (PARMS): Do not use macros from bp-asm.h.
12625 (S1): Likewise.
12626 (S2): Likewise.
12627 (SIZE): Likewise.
12628 (__mpn_sub_n): Do not use BP_SYM.
12629 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
12630 "bp-asm.h".
12631 (PARMS): Do not use macros from bp-asm.h.
12632 (S1): Likewise.
12633 (SIZE): Likewise.
12634 (__mpn_submul_1): Do not use BP_SYM.
12635 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
12636 "bp-asm.h".
12637 (PARMS): Do not use macros from bp-asm.h.
12638 (S1): Likewise.
12639 (S2): Likewise.
12640 (SIZE): Likewise.
12641 (__mpn_add_n): Do not use BP_SYM.
12642 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
12643 weak_alias.
12644 (bzero): Likewise.
12645 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
12646 "bp-asm.h".
12647 (PARMS): Do not use macros from bp-asm.h.
12648 (BLK2): Likewise.
12649 (LEN): Likewise.
12650 (memcmp): Do not use BP_SYM.
12651 (bcmp): Do not use BP_SYM in weak_alias.
12652 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
12653 "bp-asm.h".
12654 (PARMS): Do not use macros from bp-asm.h.
12655 (DEST): Likewise.
12656 (SRC): Likewise.
12657 (LEN): Likewise.
12658 (memcpy): Likewise. Do not use BP_SYM.
12659 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
12660 "bp-asm.h".
12661 (PARMS): Do not use macros from bp-asm.h.
12662 (DEST): Likewise.
12663 (SRC): Likewise.
12664 (LEN): Likewise.
12665 (memmove): Likewise. Do not use BP_SYM.
12666 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
12667 "bp-asm.h".
12668 (PARMS): Do not use macros from bp-asm.h.
12669 (DEST): Likewise.
12670 (SRC): Likewise.
12671 (LEN): Likewise.
12672 (__mempcpy): Likewise. Do not use BP_SYM.
12673 (mempcpy): Do not use BP_SYM in weak_alias.
12674 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
12675 "bp-asm.h".
12676 (PARMS): Do not use macros from bp-asm.h.
12677 (DEST): Likewise.
12678 (LEN): Likewise.
12679 [!BZERO_P] (CHR): Likewise.
12680 (memset): Likewise. Do not use BP_SYM.
12681 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
12682 "bp-asm.h".
12683 (PARMS): Do not use macros from bp-asm.h.
12684 (STR2): Likewise.
12685 (strcmp): Do not use BP_SYM.
12686 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
12687 "bp-asm.h".
12688 (PARMS): Do not use macros from bp-asm.h.
12689 (STR): Likewise.
12690 (DELIM): Likewise.
12691 [USE_AS_STRTOK_R] (SAVE): Likewise.
12692 (FUNCTION): Likewise. Do not use BP_SYM.
12693 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
12694 aliases.
12695 (strtok_r): Likewise.
12696 (__GI___strtok_r): Likewise.
12697 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12698 (PARMS): Do not use macros from bp-asm.h.
12699 (S): Likewise.
12700 (SIZE): Likewise.
12701 (__mpn_lshift): Do not use BP_SYM.
12702 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12703 (PARMS): Do not use macros from bp-asm.h.
12704 (STR): Likewise.
12705 (CHR): Likewise.
12706 (__memchr): Do not use BP_SYM.
12707 (memchr): Do not use BP_SYM in weak_alias.
12708 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12709 (PARMS): Do not use macros from bp-asm.h.
12710 (BLK2): Likewise.
12711 (LEN): Likewise.
12712 (memcmp): Do not use BP_SYM.
12713 (bcmp): Do not use BP_SYM in weak_alias.
12714 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
12715 (PARMS): Do not use macros from bp-asm.h.
12716 (S1): Likewise.
12717 (SIZE): Likewise.
12718 (__mpn_mul_1): Do not use BP_SYM.
12719 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
12720 "bp-asm.h".
12721 (PARMS): Do not use macros from bp-asm.h.
12722 (STR): Likewise.
12723 (CHR): Likewise.
12724 (__rawmemchr): Do not use BP_SYM.
12725 (rawmemchr): Do not use BP_SYM in weak_alias.
12726 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12727 (PARMS): Do not use macros from bp-asm.h.
12728 (S): Likewise.
12729 (SIZE): Likewise.
12730 (__mpn_rshift): Do not use BP_SYM.
12731 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12732 (PARMS): Do not use macros from bp-asm.h.
12733 (SIGMSK): Likewise.
12734 (__sigsetjmp): Likewise. Do not use BP_SYM.
12735 * sysdeps/i386/start.S: Do not include "bp-sym.h".
12736 (_start): Do not use BP_SYM.
12737 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
12738 (PARMS): Do not use macros from bp-asm.h.
12739 (DEST): Likewise.
12740 (SRC): Likewise.
12741 (__stpcpy): Likewise. Do not use BP_SYM.
12742 (stpcpy): Do not use BP_SYM in weak_alias.
12743 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
12744 "bp-asm.h".
12745 (PARMS): Do not use macros from bp-asm.h.
12746 (DEST): Likewise.
12747 (SRC): Likewise.
12748 (LEN): Likewise.
12749 (__stpncpy): Likewise. Do not use BP_SYM.
12750 (stpncpy): Do not use BP_SYM in weak_alias.
12751 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12752 (PARMS): Do not use macros from bp-asm.h.
12753 (STR): Likewise.
12754 (CHR): Likewise.
12755 (strchr): Likewise. Do not use BP_SYM.
12756 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
12757 "bp-asm.h".
12758 (PARMS): Do not use macros from bp-asm.h.
12759 (STR): Likewise.
12760 (CHR): Likewise.
12761 (__strchrnul): Likewise. Do not use BP_SYM.
12762 (strchrnul): Do not use BP_SYM in weak_alias.
12763 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
12764 "bp-asm.h".
12765 (PARMS): Do not use macros from bp-asm.h.
12766 (STOP): Likewise.
12767 (strcspn): Do not use BP_SYM.
12768 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
12769 "bp-asm.h".
12770 (PARMS): Do not use macros from bp-asm.h.
12771 (STR): Likewise.
12772 (STOP): Likewise.
12773 (strpbrk): Likewise. Do not use BP_SYM.
12774 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
12775 "bp-asm.h".
12776 (PARMS): Do not use macros from bp-asm.h.
12777 (STR): Likewise.
12778 (CHR): Likewise.
12779 (strrchr): Likewise. Do not use BP_SYM.
12780 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
12781 (PARMS): Do not use macros from bp-asm.h.
12782 (SKIP): Likewise.
12783 (strspn): Do not use BP_SYM.
12784 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
12785 (PARMS): Do not use macros from bp-asm.h.
12786 (STR): Likewise.
12787 (DELIM): Likewise.
12788 (SAVE): Likewise.
12789 (FUNCTION): Likewise. Do not use BP_SYM.
12790 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
12791 aliases.
12792 (strtok_r): Likewise.
12793 (__GI___strtok_r): Likewise.
12794 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12795 (PARMS): Do not use macros from bp-asm.h.
12796 (S1): Likewise.
12797 (S2): Likewise.
12798 (SIZE): Likewise.
12799 (__mpn_sub_n): Do not use BP_SYM.
12800 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
12801 "bp-asm.h".
12802 (PARMS): Do not use macros from bp-asm.h.
12803 (S1): Likewise.
12804 (SIZE): Likewise.
12805 (__mpn_submul_1): Do not use BP_SYM.
12806 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
12807 <bp-sym.h>.
12808 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
12809 and <bp-asm.h>.
12810 (PARMS): Do not use macros from bp-asm.h.
12811 (FLAGS): Likewise.
12812 (PTID): Likewise.
12813 (TLS): Likewise.
12814 (CTID): Likewise.
12815 (__clone): Do not use BP_SYM.
12816 (clone): Do not use BP_SYM in weak_alias.
12817 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
12818 and <bp-asm.h>.
12819 (PARMS): Do not use macros from bp-asm.h.
12820 (LEN): Likewise.
12821 (__mmap64): Do not use BP_SYM.
12822 (mmap64): Do not use BP_SYM in weak_alias.
12823 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
12824 <bp-sym.h> and <bp-asm.h>.
12825 (PARMS): Do not use macros from bp-asm.h.
12826 (__posix_fadvise64_l64): Do not use BP_SYM.
12827 * sysdeps/unix/sysv/linux/i386/semtimedop.S
12828 (PARMS): Do not use macros from bp-asm.h.
12829 (NSOPS): Likewise.
12830 (semtimedop): Do not use BP_SYM.
12831 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
12832 and <bp-asm.h>.
12833
582a3cff
AM
128342013-02-21 Allan McRae <allan@archlinux.org>
12835
12836 * manual/message.texi (Charset conversion in gettext):
12837 Move @end statement to beginning of line.
12838
bab8a695
SP
128392013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12840
80945231
SP
12841 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
12842 static.
12843 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
12844 Likewise.
12845
bab8a695
SP
12846 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
12847 (denorm): Likewise.
12848 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
12849 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
12850
e21d7aa7
AK
128512013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12852
12853 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
12854 tail-call to the resolved function if pltexit isn't needed.
12855
4c7a4263
SP
128562013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12857
12858 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
12859 or Y being zero as being unlikely.
12860 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
12861 Likewise.
12862
41f49342
CD
128632013-02-20 Carlos O'Donell <carlos@redhat.com>
12864
12865 * manual/nss.texi (System Databases and Name Service Switch):
12866 Remove frobnicate @pxref.
12867
50022a93
TS
128682013-02-20 Thomas Schwinge <thomas@codesourcery.com>
12869
12870 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12871 __attribute__ ((unused)) to __attribute__ ((__unused__)).
12872
08cbd996
PM
128732013-02-20 Petr Machata <pmachata@redhat.com>
12874
12875 * elf/elf.h (R_ARM_TARGET1): New macro.
12876 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
12877 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
12878 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
12879 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
12880 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
12881 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
12882 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
12883 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
12884 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
12885 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
12886 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
12887 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
12888 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
12889 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
12890 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
12891 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
12892 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
12893 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
12894 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
12895 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
12896 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
12897 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
12898 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
12899 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
12900 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
12901 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
12902 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
12903 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
12904 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
12905 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
12906 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
12907 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
12908 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
12909 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
12910 (R_ARM_THM_GOT_BREL12): Likewise.
12911 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
12912 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
12913 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
12914 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
12915 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
12916 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
12917 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
12918 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
12919 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
12920
c7b275d6
TS
129212013-02-20 Thomas Schwinge <thomas@codesourcery.com>
12922
12923 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12924 __attribute_used__ to __attribute__ ((unused)).
12925
20cd7fb3
SP
129262013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12927
12928 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
12929 powerpc mpa.c.
12930 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
12931 comment formatting.
12932 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
12933
92945b52
JM
129342013-02-19 Joseph Myers <joseph@codesourcery.com>
12935
12936 [BZ #13550]
12937 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
12938 Remove macro.
12939 (ENTER): Remove both macro definitions.
12940 (LEAVE): Likewise.
12941 (CHECK_BOUNDS_LOW): Likewise.
12942 (CHECK_BOUNDS_HIGH): Likewise.
12943 (CHECK_BOUNDS_BOTH): Likewise.
12944 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
12945 (RETURN_BOUNDED_POINTER): Likewise.
12946 (RETURN_NULL_BOUNDED_POINTER): Likewise.
12947 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
12948 (POP_ERRNO_LOCATION_RETURN): Likewise.
12949 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
12950 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12951 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
12952 macros.
12953 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12954 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
12955 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
12956 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
12957 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
12958 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
12959 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
12960 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
12961 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
12962 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
12963 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
12964 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
12965 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12966 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
12967 removed macros.
12968 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12969 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
12970 macros.
12971 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12972 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
12973 * sysdeps/i386/i586/memset.S (memset): Likewise.
12974 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
12975 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12976 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
12977 macros.
12978 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12979 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
12980 Change uses of L(2) to L(out).
12981 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
12982 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
12983 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
12984 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12985 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
12986 removed macros.
12987 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12988 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
12989 macros.
12990 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12991 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
12992 (RETURN): Do not use macro LEAVE.
12993 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
12994 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
12995 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
12996 * sysdeps/i386/i686/memset.S (memset): Likewise.
12997 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
12998 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
12999 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
13000 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
13001 Likewise.
13002 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13003 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
13004 L(1_2) and L(1_3) into L(1).
13005 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
13006 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
13007 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13008 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
13009 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
13010 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
13011 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
13012 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13013 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
13014 macros.
13015 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
13016 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13017 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
13018 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
13019 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
13020 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13021 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
13022 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
13023 * sysdeps/i386/strcspn.S (strcspn): Likewise.
13024 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
13025 * sysdeps/i386/strrchr.S (strrchr): Likewise.
13026 * sysdeps/i386/strspn.S (strspn): Likewise.
13027 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
13028 conditional code.
13029 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13030 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
13031 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
13032 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
13033 L(1_3) into L(1_1).
13034 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
13035 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13036 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
13037 macros.
13038 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13039
2389741a
JJ
130402013-02-19 Jakub Jelinek <jakub@redhat.com>
13041
13042 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
13043 macro.
13044
2016b3cd
SP
130452013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13046
e4f22324
SP
13047 * math/atest-exp.c (exp_mpn): Remove ROUND.
13048 * math/atest-exp2.c (exp_mpn): Likewise.
13049 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
13050
2016b3cd
SP
13051 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
13052 * stdlib/tst-tls-atexit-lib.c: Likewise.
13053 * stdlib/tst-tls-atexit.c: Likewise.
13054
4be9b544
MF
130552013-02-18 Mike Frysinger <vapier@gentoo.org>
13056
13057 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
13058 and __attribute_alloc_size__.
13059
2f62b9ee
MF
130602013-02-18 Mike Frysinger <vapier@gentoo.org>
13061
13062 * include/programs/xmalloc.h: Change __attribute_alloc_size to
13063 __attribute_alloc_size__.
13064 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
13065 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
13066
6ff444c4
MF
130672013-02-18 Mike Frysinger <vapier@gentoo.org>
13068
13069 * include/programs/xmalloc.h: New file.
13070 * catgets/gencat.c: Include it.
13071 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
13072 * elf/pldd.c: Likewise.
13073 * iconv/iconv_charmap.c: Likewise.
13074 * iconv/iconvconfig.c: Likewise.
13075 * iconv/strtab.c: Likewise.
13076 * locale/programs/locale.c: Likewise.
13077 * locale/programs/localedef.h: Likewise.
13078 * locale/programs/simple-hash.c: Likewise.
13079 * nscd/nscd.h: Likewise.
13080 * nss/makedb.c: Likewise.
13081 * sysdeps/generic/ldconfig.h: Likewise.
13082
be179c8a
SP
130832013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13084
ba384f6e
SP
13085 * Versions.def: Add GLIBC_2.18.
13086 * include/link.h (struct link_map): New member l_tls_dtor_count.
13087 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
13088 (__call_tls_dtors): Likewise.
13089 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
13090 __cxa_thread_atexit_impl.
13091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13092 Likewise.
13093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13094 Likewise.
13095 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
13096 Likewise.
13097 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
13098 Likewise.
13099 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
13100 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
13101 Likewise.
13102 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
13103 Likewise.
13104 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
13105 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
13106 Likewise.
13107 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
13108 (tests): Add test case tst-tls-atexit.
13109 (modules-names): Add shared library for tst-tls-atexit.
85891aca 13110 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
13111 (GLIBC_PRIVATE): Add __call_tls_dtors.
13112 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
13113 for libstdc++.
13114 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
13115 * stdlib/tst-tls-atexit.c: New test case.
13116 * stdlib/tst-tls-atexit-lib.c: New test case.
13117
ffaa74cf 13118 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 13119
be179c8a
SP
13120 * elf/Versions (ld): Add _dl_find_dso_for_object.
13121 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
13122 * elf/dl-open.c (_dl_find_dso_for_object): New function.
13123 (dl_open_worker): Use _dl_find_dso_for_object.
13124 * elf/dl-sym.c (do_sym): Likewise.
13125 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
13126
f78b5caa
AK
131272013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13128
13129 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
13130 Syntactic changes only.
13131 (_dl_runtime_profile): Do a tail-call to the resolved function.
13132
29691210
JM
131332013-02-17 Joseph Myers <joseph@codesourcery.com>
13134
13135 [BZ #13550]
13136 * sysdeps/x86_64/bp-asm.h: Remove file.
13137 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
13138 <bp-sym.h> and <bp-asm.h>.
13139 (__clone): Do not use BP_SYM.
13140 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
13141 <bp-sym.h> and <bp-asm.h>.
13142 * sysdeps/unix/x86_64/sysdep.S: Likewise.
13143 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
13144 "bp-asm.h".
13145 (_setjmp): Do not use BP_SYM.
13146 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
13147 "bp-asm.h".
13148 (setjmp): Do not use BP_SYM.
13149 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
13150 libc_hidden_def.
13151 (mempcpy): Do not use BP_SYM in weak_alias.
13152 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
13153 "bp-asm.h".
13154 (strchr): Do not use BP_SYM.
13155 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
13156 "bp-asm.h".
13157 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
13158 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
13159 (_start): Do not use BP_SYM.
13160 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
13161 "bp-asm.h".
13162 (strcat): Do not use BP_SYM.
13163 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
13164 "bp-asm.h".
13165 (STRCMP): Do not use BP_SYM.
13166 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
13167 "bp-asm.h".
13168 (STRCPY): Do not use BP_SYM.
13169 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
13170 "bp-asm.h".
13171 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
13172 "bp-asm.h".
13173 (FUNCTION): Do not use BP_SYM.
13174 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
13175 weak_alias.
13176 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
13177
f238fd19
AJ
131782013-02-17 Andreas Jaeger <aj@suse.de>
13179
13180 * time/Versions: Sort entries.
13181 * string/Versions: Likewise.
13182 * resolv/Versions: Likewise.
13183 * posix/Versions: Likewise.
13184 * iconv/Versions: Likewise.
13185 * elf/Versions: Likewise.
13186 * wcsmbs/Versions: Likewise.
13187
bd07f23c 131882013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 13189
22af19f9
SP
13190 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
13191 loop termination condition.
13192
4709fe76
SP
13193 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
13194 variable to calculate EZ.
13195 (__sqr): Likewise.
2d0e0f29
SP
13196
13197 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
13198 the lower precision input.
13199
daaa7713
JM
132002013-02-15 Joseph Myers <joseph@codesourcery.com>
13201
13202 [BZ #13550]
13203 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
13204 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
13205 (run-via-rtld-prefix): Do not handle %-bp tests.
13206 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
13207 (all-object-suffixes): Remove .ob.
13208 (bppfx): Remove variable.
13209 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
13210 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
13211 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
13212 [$(build-bounded) = yes] (libtype.ob): Likewise.
13213 * Makerules (elide-routines.ob): Remove variable.
13214 (do-tests-clean): Do not handle *-bp.out.
13215 (common-mostlyclean): Do not handle *-bp and *-bp.out.
13216 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
13217 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
13218 (tests): Do not include $(tests-bp.out).
13219 (xtests): Do not include $(xtests-bp.out).
13220 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
13221 [$(build-bounded) = yes] ($(addprefix
13222 $(objpfx),$(binaries-bounded))): Remove rule.
13223 ($(objpfx)%-bp.out): Remove rule.
13224 * config.make.in (build-bounded): Remove variable.
13225 * crypt/Makefile [$(build-bounded) = yes]
13226 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
13227 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
13228 append to variable.
13229 [$(build-bounded) = yes] (install-lib): Likewise.
13230 [$(build-bounded) = yes] (generated): Likewise.
13231 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
13232 Remove rule.
13233 * intl/Makefile [$(build-bounded) = yes]
13234 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
13235 * math/Makefile [$(build-bounded) = yes]
13236 ($(tests:%=$(objpfx)%-bp): Likewise.
13237 * misc/Makefile [$(build-bounded) = yes]
13238 ($(objpfx)tst-tsearch-bp): Likewise.
13239 * nptl/Makeconfig (bounded-thread-library): Remove variable.
13240 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
13241 Remove dependency.
13242 * string/Makefile (o-objects.ob): Remove variable.
13243 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
13244 (CFLAGS-.ob): Remove variable.
13245 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
13246 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
13247 both definitions of variable.
13248 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
13249 (ASFLAGS-.ob): Remove variable.
13250
e97ed6dd
JM
132512013-02-14 Joseph Myers <joseph@codesourcery.com>
13252
2bdd4ca6
JM
13253 [BZ #13550]
13254 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
13255 Remove __BOUNDED_POINTERS__ from condition.
13256 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
13257 * string/bits/string2.h [!__NO_STRING_INLINES &&
13258 !__BOUNDED_POINTERS__]: Likewise.
13259 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
13260 Likewise.
13261 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
13262 Remove conditional code.
13263 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
13264 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
13265 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
13266 condition.
13267
e97ed6dd
JM
13268 [BZ #13550]
13269 * csu/libc-start.c: Do not include <bp-sym.h>.
13270 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
13271 * elf/dl-open.c: Do not include <bp-sym.h>.
13272 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
13273 * math/fegetenv.c: Do not include <bp-sym.h>.
13274 (fegetenv): Do not use BP_SYM in versioned symbols.
13275 * nptl/sysdeps/pthread/bits/libc-lockP.h
13276 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
13277 <bp-sym.h>.
13278 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13279 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
13280 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13281 (__pthread_mutex_destroy): Likewise.
13282 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13283 (__pthread_mutex_lock): Likewise.
13284 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13285 (__pthread_mutex_trylock): Likewise.
13286 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13287 (__pthread_mutex_unlock): Likewise.
13288 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13289 (__pthread_mutexattr_init): Likewise.
13290 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13291 (__pthread_mutexattr_destroy): Likewise.
13292 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13293 (__pthread_mutexattr_settype): Likewise.
13294 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13295 (__pthread_rwlock_init): Likewise.
13296 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13297 (__pthread_rwlock_destroy): Likewise.
13298 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13299 (__pthread_rwlock_rdlock): Likewise.
13300 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13301 (__pthread_rwlock_tryrdlock): Likewise.
13302 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13303 (__pthread_rwlock_wrlock): Likewise.
13304 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13305 (__pthread_rwlock_trywrlock): Likewise.
13306 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13307 (__pthread_rwlock_unlock): Likewise.
13308 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13309 (__pthread_key_create): Likewise.
13310 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13311 (__pthread_setspecific): Likewise.
13312 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13313 (__pthread_getspecific): Likewise.
13314 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
13315 Likewise.
13316 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13317 (_pthread_cleanup_push_defer): Likewise.
13318 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13319 (_pthread_cleanup_pop_restore): Likewise.
13320 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13321 (pthread_setcancelstate): Likewise.
13322 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
13323 <bp-sym.h>.
13324 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
13325 (memchr): Do not use BP_SYM in weak_alias.
13326 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
13327 (fegetenv): Do not use BP_SYM in versioned symbols.
13328 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
13329 (fesetenv): Do not use BP_SYM in versioned symbols.
13330 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
13331 (feupdateenv): Do not use BP_SYM in versioned symbols.
13332 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
13333 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
13334 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
13335 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
13336 (open64): Do not use BP_SYM in weak_alias.
13337 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
13338 (fegetenv): Do not use BP_SYM in versioned symbols.
13339 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
13340 (fesetenv): Do not use BP_SYM in versioned symbols.
13341 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
13342 (feupdateenv): Do not use BP_SYM in versioned symbols.
13343 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
13344 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
13345 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
13346 (feraiseexcept): Do not use BP_SYM in versioned symbols.
13347 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
13348 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
13349 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
13350 <bp-sym.h>.
13351 (__libc_start_main): Do not use BP_SYM.
13352
d6752ccd
SP
133532013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13354
cb57ce60
SP
13355 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
13356 redundant return line.
13357 (norm): Likewise.
13358 (denorm): Likewise.
13359 (dbl_mp): Likewise.
13360 (sub_magnitudes): Likewise.
13361 (__add): Likewise.
13362 (__sub): Likewise.
13363 (__mul): Likewise.
13364 (__inv): Likewise.
13365 (__dvd): Likewise.
13366 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
13367 (norm): Likewise.
13368 (denorm): Likewise.
13369 (dbl_mp): Likewise.
13370 (sub_magnitudes): Likewise.
13371 (__add): Likewise.
13372 (__sub): Likewise.
13373 (__mul): Likewise.
13374 (__inv): Likewise.
13375 (__dvd): Likewise.
13376
f414520d
SP
13377 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
13378 instead of __mul.
13379 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
13380 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
13381 (cc32): Likewise.
13382
d6752ccd
SP
13383 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
13384 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
13385 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
13386 of __mul for squares.
13387 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
13388 function
13389 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
13390 Likewise.
13391 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
13392 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13393
70d9946a
JM
133942013-02-13 Joseph Myers <joseph@codesourcery.com>
13395
13396 [BZ #13550]
13397 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
13398 code.
13399 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
13400 prototype or function definition. Rename ubp_* variables and
13401 parameters. Remove argv definitions conditional on
13402 [__BOUNDED_POINTERS__].
13403 * debug/backtrace.c (__backtrace): Do not use __unbounded.
13404 * elf/dl-runtime.c (_dl_fixup): Likewise.
13405 * include/set-hooks.h (RUN_HOOK): Likewise.
13406 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
13407 definition.
13408 * string/strcpy.c (strcpy): Do not use __unbounded.
13409 * sysdeps/generic/frame.h (struct layout): Likewise.
13410 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
13411 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
13412 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
13413 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
13414 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
13415 (__backtrace): Likewise.
13416 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
13417 use __ptrvalue.
13418 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
13419 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13420 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
13421 Likewise.
13422 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
13423 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
13424 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
13425 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13426 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
13427 Do not use __unbounded.
13428 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
13429 Rename __unboundedrlimits parameter to rlimits in prototype.
13430 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
13431 Do not use __unbounded.
13432 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
13433 not use __ptrvalue.
13434 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13435 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
13436 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13437 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
13438 __ptrvalue or __unbounded.
13439 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
13440 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
13441 use __unbounded.
13442 (__new_msgctl): Do not use __ptrvalue.
13443 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
13444 __unbounded.
13445 (__libc_msgrcv): Do not use __ptrvalue.
13446 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
13447 startup_info): Do not use __unbounded.
13448 (__libc_start_main): Likewise. Rename ubp_* variables and
13449 parameters. Remove argv definitions conditional on
13450 [__BOUNDED_POINTERS__].
13451 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
13452 __ptrvalue.
13453 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
13454 use __unbounded.
13455 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
13456 or __ptrvalue.
13457 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
13458 use __unbounded.
13459 (__new_shmctl): Do not use __ptrvalue.
13460 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
13461 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
13462 Likewise.
13463 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
13464 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
13465 (__libc_sigaction): Likewise.
13466 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
13467 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
13468 Likewise.
13469 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13470
cc7834d6
OB
134712013-02-13 Ondřej Bílka <neleai@seznam.cz>
13472
ffb1ec7b 13473 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
13474
13475 * string/mempcpy.c: Implement by calling memcpy.
13476
bdf02814
SP
134772013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13478
c2af38aa
SP
13479 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
13480
4e92d59e
SP
13481 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
13482 evaluation.
13483
909279a5
SP
13484 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
13485 values in the mantissa.
13486
bdf02814
SP
13487 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
13488 minimize writes to Z.
13489 (sub_magnitudes): Simplify code a bit.
13490
cd525923
RM
134912013-02-12 Roland McGrath <roland@hack.frob.com>
13492
13493 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
13494 from the message. The linker prefixes all warnings with that already.
13495
7e2f0d2d
AS
134962013-02-12 Andreas Schwab <schwab@suse.de>
13497
a445af0b
AS
13498 [BZ #15078]
13499 * posix/regexec.c (extend_buffers): Add parameter min_len.
13500 (check_matching): Pass minimum needed length.
13501 (clean_state_log_if_needed): Likewise.
13502 (get_subexp): Likewise.
13503 * posix/Makefile (tests): Add bug-regex34.
13504 (bug-regex34-ENV): Define.
13505 * posix/bug-regex34.c: New file.
13506
7e2f0d2d
AS
13507 [BZ #11561]
13508 * posix/regcomp.c (parse_bracket_exp): When looking up collating
13509 elements compare against the byte sequence of it, not its name.
13510 * posix/Makefile (tests): Add bug-regex35.
13511 (bug-regex35-ENV): Define.
13512 * posix/bug-regex35.c: New file.
13513
a175b684
TV
135142013-02-11 Tom de Vries <tom@codesourcery.com>
13515
13516 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
13517 comment.
13518 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
13519 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
13520 (CHECK_EOL): Add undef.
13521
310998fe 135222013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
13523
13524 * bits/stdlib-bsearch.h: New file.
13525 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 13526 * stdlib/stdlib.h: Likewise.
41eda41d 13527
8ded91fb
RM
135282013-02-11 Roland McGrath <roland@hack.frob.com>
13529
13530 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
13531 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
13532 declaration.
13533 * manual/search.texi (Array Search Function): Add missing const in
13534 lfind prototype.
13535 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
13536 declaration to use rlim_t.
13537 (Basic Scheduling Functions): Remove erroneous const from
13538 sched_getparam prototype. Remove erroneous * from
13539 sched_get_priority_max and sched_get_priority_min prototypes.
13540 (Resource Usage): Fix summary @comment on vtimes to refer to
13541 sys/vtimes.h rather than vtimes.h.
13542 Add missing *s in vtimes prototype.
13543 (Limits on Resources): Fix ulimit prototype to return long int.
13544 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
13545 prototypes to use long int rather than double.
13546 (BSD Random): Fix initstate and setstate to use char *, not void *.
13547 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
13548 prototype to make second argument 'struct aiocb64 *const[]'.
13549 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
13550 (Status of AIO Operations): Remove erroneous const in aio_return and
13551 aio_return64 prototypes.
13552 (Synchronizing I/O): Fix sync prototype to return void.
13553 * manual/startup.texi (Suboptions): Remove an erroneous const in
13554 getsubopt prototype.
13555 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
13556 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
13557 use size_t rather than int.
13558 (Scanning All Users): Likewise for getpwent_r.
13559 (Setting Groups): Add missing const to setgroups prototype.
13560 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
13561 * manual/socket.texi (Host Names): Fix gethostbyaddr and
13562 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
13563 'const void *' rather than 'const char *'.
13564 (Host Address Functions): Likewise for inet_ntop.
13565 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
13566 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
13567 ssize_t for return value.
13568 (Sending Data): Likewise for send, sendto, sendmsg.
13569 (Socket Option Functions): Add a missing const in setsockopt prototype.
13570 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
13571 use wchar_t for the argument.
13572 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
13573 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
13574 take no arguments.
13575 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
13576 double/float/long double for second argument.
13577 Fix return types of significand, significandf, significandl.
13578 * manual/filesys.texi (Setting Permissions): Use mode_t for second
13579 argument in fchmod prototype.
13580 (File Owner): Use uid_t and gid_t in fchown prototype.
13581 (File Times): Add const to utimes, futimes, and lutimes prototypes.
13582 (Making Special Files): Use mode_t and dev_t in mknod prototype.
13583 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
13584 use 'const struct dirent **' as argument types to CMP function pointer
13585 argument.
13586 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
13587 (File Times): Fix summary magic @comment for struct utimbuf and utime
13588 to refer to utime.h, not time.h.
13589 * manual/string.texi (Argz Functions): Add missing const in
13590 argz_extract and argz_next prototypes.
13591 (Finding Tokens in a String): Likewise for basename.
13592 (String/Array Comparison): Fix typo in wcscasecmp prototype.
13593 (Copying and Concatenation): Fix typo in wmemmove prototype.
13594 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
13595 (Signal Stack): Remove erroneous const in sigstack prototype.
13596 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
13597 prototype.
13598 (Simple Calendar Time): Likewise for stime.
13599 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
13600 prototype.
13601 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
13602 say sys/sysctl.h instead.
13603 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
13604 and vsyslog prototypes.
13605
fe77fe6d
TV
136062013-02-11 Tom de Vries <tom@codesourcery.com>
13607
13608 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
13609 Remove.
13610
3a09b620
RM
136112013-02-11 Roland McGrath <roland@hack.frob.com>
13612
13613 * misc/sys/mman.h: Fix typo in mremap comment.
13614
550a0b89
RM
136152013-02-08 Roland McGrath <roland@hack.frob.com>
13616
13617 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
13618 the '\0' terminator.
13619
a2da1673
JM
136202013-02-08 Joseph Myers <joseph@codesourcery.com>
13621
13622 [BZ #13550]
13623 * debug/segfault.c: Don't include <bp-checks.h>.
13624 * sysdeps/generic/bp-checks.h: Remove file.
13625 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
13626 (__GETDENTS): Don't use CHECK_N.
13627 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
13628 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
13629 (__getgroups): Don't use CHECK_N.
13630 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
13631 (setgroups): Don't use CHECK_N.
13632 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
13633 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
13634 (__libc_msgrcv): Don't use CHECK_N.
13635 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
13636 (__libc_msgsnd): Don't use CHECK_N.
13637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
13638 <bp-checks.h>.
13639 (__libc_pread): Don't use CHECK_N.
13640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
13641 include <bp-checks.h>.
13642 (__libc_pread64): Don't use CHECK_N.
13643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
13644 include <bp-checks.h>.
13645 (__libc_pwrite): Don't use CHECK_N.
13646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
13647 include <bp-checks.h>.
13648 (__libc_pwrite64): Don't use CHECK_N.
13649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
13650 <bp-checks.h>.
13651 (__libc_pread): Don't use CHECK_N.
13652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
13653 include <bp-checks.h>.
13654 (__libc_pread64): Don't use CHECK_N.
13655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
13656 include <bp-checks.h>.
13657 (__libc_pwrite): Don't use CHECK_N.
13658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
13659 include <bp-checks.h>.
13660 (__libc_pwrite64): Don't use CHECK_N.
13661 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
13662 (do_pread): Don't use CHECK_N.
13663 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
13664 (do_pread64): Don't use CHECK_N.
13665 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
13666 (do_pwrite): Don't use CHECK_N.
13667 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
13668 (do_pwrite64): Don't use CHECK_N.
13669 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
13670 (__libc_readv): Don't use CHECK_N.
13671 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
13672 (semop): Don't use CHECK_N.
13673 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
13674 <bp-checks.h>.
13675 (semtimedop): Don't use CHECK_N.
13676 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
13677 (__libc_pread): Don't use CHECK_N.
13678 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
13679 <bp-checks.h>.
13680 (__libc_pread64): Don't use CHECK_N.
13681 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
13682 <bp-checks.h>.
13683 (__libc_pwrite): Don't use CHECK_N.
13684 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
13685 <bp-checks.h>.
13686 (__libc_pwrite64): Don't use CHECK_N.
13687 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
13688 <bp-checks.h>.
13689 (__libc_msgrcv): Don't use CHECK_N.
13690 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
13691 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
13692 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
13693 (__libc_writev): Don't use CHECK_N.
13694
b84660a8
RM
136952013-02-08 Roland McGrath <roland@hack.frob.com>
13696
7f3e75f8
RM
13697 * string/strcpy.c: Removed unused variable.
13698
b84660a8
RM
13699 * Makeconfig (+sysdep-includes): Define with := rather than =.
13700 Use an existing include/ subdir of each sysdeps dir before it.
13701
471514d3
CD
137022013-02-08 Carlos O'Donell <carlos@redhat.com>
13703
13704 * nscd/connection.c (register_traced_file): Comment function.
13705 [HAVE_INOTIFY] (union __inev): Define.
13706 [HAVE_INOTIFY] (inotify_check_files): New function.
13707 [HAVE_INOTIFY] (clear_db_cache): Likewise.
13708 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
13709 clear_db_cache.
13710 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
13711
b2d3c3be
CD
137122013-02-08 Carlos O'Donell <carlos@redhat.com>
13713
13714 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
13715 loaded if not already and that a failure is permanent.
13716
b39949d2
CD
137172013-02-08 Carlos O'Donell <carlos@redhat.com>
13718
ddacd1db 13719 [BZ #15006]
b39949d2
CD
13720 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
13721 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
13722
b2c9eff4
JM
137232013-02-08 Joseph Myers <joseph@codesourcery.com>
13724
f3aae3f3
JM
13725 [BZ #13550]
13726 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
13727 (CHECK_1_NULL_OK): Likewise.
13728 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
13729 (__fxstat): Do not use CHECK_1.
13730 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
13731 <bp-checks.h>.
13732 (___fxstat64): Do not use CHECK_1.
13733 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
13734 <bp-checks.h>.
13735 (__fxstatat): Do not use CHECK_1.
13736 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
13737 <bp-checks.h>.
13738 (__fxstatat64): Do not use CHECK_1.
13739 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
13740 <bp-checks.h>.
13741 (__fxstat): Do not use CHECK_1.
13742 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
13743 <bp-checks.h>.
13744 (__fxstatat): Do not use CHECK_1.
13745 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
13746 <bp-checks.h>.
13747 (__getresgid): Do not use CHECK_1.
13748 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
13749 <bp-checks.h>.
13750 (__getresuid): Do not use CHECK_1.
13751 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
13752 <bp-checks.h>.
13753 (__lxstat): Do not use CHECK_1.
13754 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
13755 <bp-checks.h>.
13756 (__old_msgctl): Do not use CHECK_1.
13757 (__new_msgctl): Likewise.
13758 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
13759 <bp-checks.h>.
13760 (__new_setrlimit): Do not use CHECK_1.
13761 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
13762 <bp-checks.h>.
13763 (__old_shmctl): Do not use CHECK_1.
13764 (__new_shmctl): Likewise.
13765 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
13766 <bp-checks.h>.
13767 (__xstat): Do not use CHECK_1.
13768 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
13769 (__lxstat): Do not use CHECK_1.
13770 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
13771 <bp-checks.h>.
13772 (___lxstat64): Do not use CHECK_1.
13773 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
13774 (__old_msgctl): Do not use CHECK_1.
13775 (__new_msgctl): Likewise.
13776 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
13777 <bp-checks.h>.
13778 (__gettimeofday): Do not use CHECK_1.
13779 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
13780 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
13781 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
13782 <bp-checks.h>.
13783 (__gettimeofday): Do not use CHECK_1.
13784 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
13785 (__old_shmctl): Do not use CHECK_1_NULL_OK.
13786 (__new_shmctl): Do not use CHECK_1.
13787 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
13788 <bp-checks.h>.
13789 (do_sigtimedwait): Do not use CHECK_1.
13790 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
13791 <bp-checks.h>.
13792 (do_sigwaitinfo): Do not use CHECK_1.
13793 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
13794 <bp-checks.h>.
13795 (msgctl): Do not use CHECK_1.
13796 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
13797 <bp-checks.h>.
13798 (shmctl): Do not use CHECK_1.
13799 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
13800 (ustat): Do not use CHECK_1.
13801 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
13802 <bp-checks.h>.
13803 (__fxstat): Do not use CHECK_1.
13804 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
13805 <bp-checks.h>.
13806 (__fxstatat): Do not use CHECK_1.
13807 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
13808 <bp-checks.h>.
13809 (__lxstat): Do not use CHECK_1.
13810 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
13811 <bp-checks.h>.
13812 (__xstat): Do not use CHECK_1.
13813 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
13814 (__xstat): Do not use CHECK_1.
13815 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
13816 (___xstat64): Do not use CHECK_1.
13817
b2c9eff4
JM
13818 [BZ #13550]
13819 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
13820 definitions.
13821 (CHECK_BOUNDS_HIGH): Likewise.
13822 * string/strcpy.c: Do not include <bp-checks.h>.
13823 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
13824
f1d70dad
RM
138252013-02-07 Roland McGrath <roland@hack.frob.com>
13826
13827 * nscd/nscd-client.h (__nscd_drop_map_ref):
13828 Add __attribute__ ((unused)).
13829 * nis/nss-nisplus.h (niserr2nss): Likewise.
13830
13831 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
13832 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
13833
13834 * csu/libc-tls.c (init_static_tls, init_slotinfo):
13835 Remove inline keyword.
13836 * include/rounding-mode.h (round_away): Likewise.
13837 * libio/wfileops.c (adjust_wide_data): Likewise.
13838 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
13839 (__m128i_strloadu_tolower): Likewise.
13840 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
13841 (__m128i_strloadu_tolower): Likewise.
13842 * time/mktime.c (ydhms_diff): Likewise.
13843 * locale/elem-hash.h (elem_hash): Likewise.
13844 * locale/setlocale.c (setdata): Likewise.
13845 * posix/regex_internal.h (re_string_char_size_at): Likewise.
13846 (re_string_wchar_at): Likewise.
13847 (bitset_not, bitset_merge, bitset_mask): Likewise.
13848 [!(__GNUC__ > 3)] (inline): Remove macro.
13849 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
13850 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
13851 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
13852 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
13853 * string/memcmp.c (memcmp_bytes): Likewise.
13854 * locale/programs/locarchive.c (compute_hashval): Likewise.
13855 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
13856 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
13857 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
13858 * nss/getent.c (print_rpc, print_protocols): Likewise.
13859 (print_passwd, print_group, print_aliases): Likewise.
13860 * nis/nss-nisplus.h (niserr2nss): Likewise.
13861 * nscd/connections.c (restart_p): Likewise.
13862 Change return type to bool.
13863
eab55bfb
RM
138642013-02-05 Roland McGrath <roland@hack.frob.com>
13865
7bd642f5
RM
13866 * Makeconfig (all-Depend-files): Add existing
13867 $(sorted-subdirs:=/Depend) files.
13868 (all-subdirs): Remove nss.
13869 * sysdeps/unix/inet/Subdirs: Add it here instead.
13870 * hesiod/Depend: New file.
13871
573c29b2
RM
13872 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
13873 instead of calling alloca.
13874
b2e25af0
RM
13875 * io/lseek.c (__lseek): Rename to __libc_lseek.
13876 Define __lseek as an alias.
13877
eab55bfb
RM
13878 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
13879
9a0d1941
CD
138802013-02-04 Carlos O'Donell <carlos@redhat.com>
13881
13882 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
13883 else clause and remove check for non-standard endianness.
13884
b83bbec4
DM
138852013-02-04 David S. Miller <davem@davemloft.net>
13886
13887 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13888
6277fdab
JM
138892013-02-04 Joseph Myers <joseph@codesourcery.com>
13890
13891 [BZ #13550]
13892 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
13893 (__ubp_memchr): Remove prototype.
13894 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
13895 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13896 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
13897 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13898 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
13899 Remove alias.
13900 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
13901 (__ubp_memchr): Likewise.
13902 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
13903 (__ubp_memchr): Likewise.
13904 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
13905 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
13906 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
13907 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
13908 CHECK_STRING.
13909 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13910 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
13911 (__getcwd): Do not use CHECK_STRING.
13912 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
13913 <bp-checks.h>.
13914 (__real_chown): Do not use CHECK_STRING.
13915 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
13916 <bp-checks.h>.
13917 (fchownat): Do not use CHECK_STRING.
13918 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
13919 CHECK_STRING.
13920 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
13921 <bp-checks.h>.
13922 (__lchown): Do not use CHECK_STRING.
13923 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13924 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13925 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13926 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
13927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
13928 include <bp-checks.h>.
13929 (truncate64): Do not use CHECK_STRING.
13930 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
13931 <bp-checks.h>.
13932 (__real_chown): Do not use CHECK_STRING.
13933 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
13934 <bp-checks.h>.
13935 (__lchown): Do not use CHECK_STRING.
13936 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
13937 <bp-checks.h>.
13938 (__chown): Do not use CHECK_STRING.
13939 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
13940 <bp-checks.h>.
13941 (truncate64): Do not use CHECK_STRING.
13942 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
13943 Likewise.
13944 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
13945 (__xmknod): Do not use CHECK_STRING.
13946 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
13947 <bp-checks.h>.
13948 (__xmknodat): Do not use CHECK_STRING.
13949 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13950 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
13951
903ae060
AS
139522013-02-04 Andreas Schwab <schwab@suse.de>
13953
13954 [BZ #14142]
13955 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
13956 * include/netdb.h: Likewise for h_errno.
13957 * elf/tst-stackguard1.c: Include <tls.h>.
13958
542f9466
JK
139592013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13960
13961 * elf/link.h (struct link_map): Extend the l_addr comment.
13962 * include/link.h (struct link_map): Likewise.
13963
e782a927
JM
139642013-02-01 Joseph Myers <joseph@codesourcery.com>
13965
13966 [BZ #13550]
13967 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
13968 (BOUNDED_1): Remove macro.
13969 * debug/backtrace.c: Don't include <bp-checks.h>.
13970 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
13971 (__backtrace): Likewise.
13972 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
13973 <bp-checks.h>.
13974 (__backtrace): Don't use BOUNDED_1.
13975 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
13976 <bp-checks.h>.
13977 (__backtrace): Don't use BOUNDED_1.
13978 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
13979 (__backtrace): Don't use BOUNDED_1.
13980 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
13981 (shmat): Don't use BOUNDED_N.
13982
8cf28c5e
JM
139832013-01-31 Joseph Myers <joseph@codesourcery.com>
13984
3a7ac8a0
JM
13985 [BZ #13550]
13986 * sysdeps/generic/bp-start.h: Remove file.
13987 * csu/libc-start.c: Don't include <bp-start.h>.
13988 (LIBC_START_MAIN): Set up __environ directly instead of using
13989 INIT_ARGV_and_ENVIRON.
13990 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
13991 <bp-start.h>.
13992
f3499f95
JM
13993 [BZ #13550]
13994 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
13995 definitions.
13996 (CHECK_FCNTL): Likewise.
13997 (CHECK_N_PAGES): Likewise.
13998
32a45bea
JM
13999 [BZ #13550]
14000 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
14001 definitions.
14002 (CHECK_SIGSET_NULL_OK): Likewise.
14003 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
14004 <bp-checks.h>.
14005 (sigpending): Don't use CHECK_SIGSET.
14006 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
14007 <bp-checks.h>.
14008 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14009 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
14010 <bp-checks.h>.
14011 (do_sigsuspend): Don't use CHECK_SIGSET.
14012 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
14013 use CHECK_SIGSET.
14014 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
14015 (do_sigwait): Don't use CHECK_SIGSET.
14016 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
14017 use CHECK_SIGSET.
14018 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
14019 include <bp-checks.h>.
14020 (sigpending): Don't use CHECK_SIGSET.
14021 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
14022 include <bp-checks.h>.
14023 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14024 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
14025 <bp-checks.h>.
14026 (sigpending): Don't use CHECK_SIGSET.
14027 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
14028 <bp-checks.h>.
14029 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14030
2e8a5c8c
JM
14031 [BZ #13550]
14032 * sysdeps/generic/bp-semctl.h: Remove file.
14033 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
14034 <bp-checks.h> and <bp-semctl.h>.
14035 (__old_semctl): Don't use CHECK_SEMCTL.
14036 (__new_semctl): Likewise.
14037 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
14038 and <bp-semctl.h>.
14039 (__old_semctl): Don't use CHECK_SEMCTL.
14040 (__new_semctl): Likewise.
14041 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
14042 <bp-checks.h> and <bp-semctl.h>.
14043 (__old_semctl): Don't use CHECK_SEMCTL.
14044 (__new_semctl): Likewise.
14045 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
14046 <bp-checks.h> and <bp-semctl.h>.
14047 (semctl): Don't use CHECK_SEMCTL.
14048
c2d54929
JM
14049 [BZ #13550]
14050 * Makerules (elide-bp-thunks): Remove variable.
14051 (elide-routines.oS): Don't use $(elide-bp-thunks).
14052 (elide-routines.os): Likewise.
14053 (elide-routines.o): Likewise.
14054 (elide-routines.op): Likewise.
14055 (elide-routines.og): Likewise.
14056 (objects): Don't use $(bp-thunks).
14057 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
14058 include.
14059 (common-generated): Do not add s-proto-bp.d.
14060 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
14061 (int): Likewise.
14062 (typ): Likewise.
14063 Do not generate makefile rules for bounded-pointer thunks.
14064 * sysdeps/generic/bp-thunks.h: Remove file.
14065 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
14066 * sysdeps/unix/s-proto-bp.S: Likewise.
14067
8cf28c5e
JM
14068 [BZ #15062]
14069 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
14070 parts of result separately when argument is not close to line from
14071 -i to i and one part of argument is small.
14072 * math/k_casinhf.c (__kernel_casinhf): Likewise.
14073 * math/k_casinhl.c (__kernel_casinhl): Likewise.
14074 * math/libm-test.inc (cacos_test): Add more tests.
14075 (casin_test): Likewise.
14076 (casinh_test): Likewise.
14077 * sysdeps/i386/fpu/libm-test-ulps: Update.
14078 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14079
c4e33b8d
DM
140802013-01-31 David S. Miller <davem@davemloft.net>
14081
14082 * po/de.po: Update from translation team.
14083
3b60b421
MK
140842013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
14085
14086 * time/tzfile.c: Include stdint.h for SIZE_MAX.
14087
bb931195
TS
140882013-01-25 Thomas Schwinge <thomas@codesourcery.com>
14089
b5a5da23
TS
14090 * configure.in (_AC_PROG_CC_C89): New definition.
14091 * configure: Regenerate.
14092
bb931195
TS
14093 * configure.in (AC_PROG_CPP): New definition.
14094 * configure: Regenerate.
14095
8c53a12c
JM
140962013-01-23 Joseph Myers <joseph@codesourcery.com>
14097
14098 * debug/tst-backtrace.h: New file.
14099 * debug/tst-backtrace2.c: Include tst-backtrace.h.
14100 (ret): Remove variable.
14101 (x): Likewise.
14102 (FAIL): Remove macro.
14103 (NO_INLINE): Likewise.
14104 (fn1): Use match function instead of strstr.
14105 * debug/tst-backtrace3.c: Include tst-backtrace.h.
14106 (ret): Remove variable.
14107 (x): Likewise.
14108 (FAIL): Remove macro.
14109 (NO_INLINE): Likewise.
14110 (fn): Use match function instead of strstr.
14111 * debug/tst-backtrace4.c: Include tst-backtrace.h.
14112 (ret): Remove variable.
14113 (x): Likewise.
14114 (FAIL): Remove macro.
14115 (NO_INLINE): Likewise.
14116 (handle_signal): Use match function instead of strstr.
14117 * debug/tst-backtrace5.c: Include tst-backtrace.h.
14118 (ret): Remove variable.
14119 (x): Likewise.
14120 (FAIL): Remove macro.
14121 (NO_INLINE): Likewise.
14122 (handle_signal): Use match function instead of strstr.
14123
4858fa2a
RM
141242013-01-23 Roland McGrath <roland@hack.frob.com>
14125
14126 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
14127
bae8e7f5
DM
141282013-01-23 David S. Miller <davem@davemloft.net>
14129
14130 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
14131 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
14132 argument of CAS if possible.
14133 * sysdeps/sparc/sparc64/bits/atomic.h
14134 (__arch_compare_and_exchange_val_32_acq): Likewise.
14135 (__arch_compare_and_exchange_val_64_acq): Likewise.
14136
9cbbc4ae
PT
141372013-01-23 Pino Toscano <toscano.pino@tiscali.it>
14138
14139 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
14140 * sysdeps/posix/ulimit.c: ... this.
92a601b8 14141 Include <limits.h>.
67b3f58c 14142 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 14143
5655a0b5
AC
141442013-01-23 Adam Conrad <adconrad@0c3.net>
14145
14146 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
14147 (LDFLAGS-tst-array5): Likewise.
14148
052aff95
JM
141492013-01-23 Joseph Myers <joseph@codesourcery.com>
14150
14151 [BZ #15036]
14152 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
14153 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
14154 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
14155 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
14156
7c1e01aa
DM
141572013-01-21 David S. Miller <davem@davemloft.net>
14158
14159 * sysdeps/sparc/backtrace.c: New file.
14160 * sysdeps/sparc/sparc32/backtrace.h: New file.
14161 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
14162 * sysdeps/sparc/sparc64/backtrace.h: New file.
14163 * sysdeps/sparc/sparc64/backtrace.c: Delete.
14164 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
14165 -funwind-tables.
14166
ab087e0a
AS
141672013-01-21 Andreas Schwab <schwab@suse.de>
14168
14169 [BZ #15020]
14170 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
14171 closed its stdout.
14172
ed689c2f
AS
141732013-01-20 Andreas Schwab <schwab@linux-m68k.org>
14174
14175 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
14176 "mpa2.h".
14177 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14178
31d470ac
JM
141792013-01-18 Joseph Myers <joseph@codesourcery.com>
14180 Mark Mitchell <mark@codesourcery.com>
14181 Tom de Vries <tom@codesourcery.com>
14182 Paul Pluzhnikov <ppluzhnikov@google.com>
14183
14184 * debug/tst-backtrace2.c: New file.
14185 * debug/tst-backtrace3.c: Likewise.
14186 * debug/tst-backtrace4.c: Likewise.
14187 * debug/tst-backtrace5.c: Likewise.
14188 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
14189 (CFLAGS-tst-backtrace3.c): Likewise.
14190 (CFLAGS-tst-backtrace4.c): Likewise.
14191 (CFLAGS-tst-backtrace5.c): Likewise.
14192 (LDFLAGS-tst-backtrace2): Likewise.
14193 (LDFLAGS-tst-backtrace3): Likewise.
14194 (LDFLAGS-tst-backtrace4): Likewise.
14195 (LDFLAGS-tst-backtrace5): Likewise.
14196 (tests): Add new tests tst-backtrace2, tst-backtrace3,
14197 tst-backtrace4 and tst-backtrace5.
14198
90567f30 141992013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
14200 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14201
14202 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
14203 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
14204 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
14205 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
14206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14207 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
14208 "+r" and remove output regs list as redundant. Add explicit inline
14209 asm to specify register of return val to work around compiler codegen
14210 bug. Remove (int) cast on return value. Add return type parameter to
14211 use in macro so that this macro does not truncate return value for
14212 64-bit values.
14213 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
14214 pass to INTERNAL_VSYSCALL_NCS.
14215 (INLINE_VSYSCALL): Add 'long int' as return type to
14216 INTERNAL_VSYSCALL_NCS macro invocation.
14217 (INTERNAL_VSYSCALL): Add 'long int' as return type to
14218 INTERNAL_VSYSCALL_NCS macro invocation.
14219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14220
d3b9ea61
SP
142212013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14222
0b57daeb
SP
14223 [BZ #14496]
14224 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
14225 Fix application of SIMD FP exception mask.
14226
caa99d06
SP
14227 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
14228 mp_no from a power of two.
14229 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
14230 __mpexp_twomm1. Use __pow_mp.
14231
d3b9ea61
SP
14232 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
14233 multiplication.
14234
1dbaee3c
DM
142352013-01-17 David S. Miller <davem@davemloft.net>
14236
14237 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14238
728d7b43
JM
142392013-01-17 Joseph Myers <joseph@codesourcery.com>
14240
14241 [BZ #15023]
14242 * include/complex.h: Condition contents on [!_COMPLEX_H].
14243 (__kernel_casinhf): New prototype.
14244 (__kernel_casinh): Likewise.
14245 (__kernel_casinhl): Likewise.
14246 * math/Makefile (libm_calls): Add k_casinh.
14247 * math/k_casinh.c: New file.
14248 * math/k_casinhf.c: Likewise.
14249 * math/k_casinhl.c: Likewise.
14250 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
14251 finite nonzero arguments.
14252 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
14253 finite nonzero arguments.
14254 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
14255 finite nonzero arguments.
14256 * math/s_casinh.c: Do not include <float.h>.
14257 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
14258 * math/s_casinhf.c: Do not include <float.h>.
14259 (__casinhf): Move code for finite nonzero arguments to
14260 k_casinhf.c.
14261 * math/s_casinhl.c: Do not include <float.h>.
14262 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
14263 redefine.
14264 (__casinhl): Move code for finite nonzero arguments to
14265 k_casinhl.c.
14266 * math/libm-test.inc (cacos_test): Add more tests.
14267 * sysdeps/i386/fpu/libm-test-ulps: Update.
14268 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14269
2a26ef3a
PT
142702013-01-17 Pino Toscano <toscano.pino@tiscali.it>
14271
14272 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
14273 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
14274 [!HAVE_MREMAP]: Remove [defined linux] case.
14275 * malloc/arena.c: Do not include <malloc-sysdep.h>.
14276
a897655d
SP
142772013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14278
14279 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
14280
881ebe89 142812013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
14282
14283 * elf/elf.h (R_386_SIZE32): New relocation.
14284 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
14285 R_386_SIZE32.
14286 (elf_machine_rela): Likewise.
14287 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
14288 R_X86_64_SIZE64 and R_X86_64_SIZE32.
14289
59981e9b
JM
142902013-01-17 Joseph Myers <joseph@codesourcery.com>
14291
14292 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
14293 (FP_FAST_FMA): Do not define.
14294 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
14295 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
14296 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
14297 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
14298 !_SOFT_FLOAT]: Likewise.
14299 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
14300 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
14301 value.
14302 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
14303 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
14304 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
14305 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
14306 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
14307 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
14308 file.
14309
cfa8054f
AS
143102013-01-16 Andreas Schwab <schwab@suse.de>
14311
14312 [BZ #14327]
14313 * include/stdlib.h (__mktemp): Add declaration.
14314 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
14315 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
14316
dd930cc5
SP
143172013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14318
881ebe89
SP
14319 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
14320 definitions.
14321 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
14322 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
14323 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
14324 definitions here.
14325 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
14326 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
14327 definitions.
14328 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
14329 and ONE.
14330 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
14331 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
14332 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
14333 definitions.
14334 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
14335 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
14336 definitions.
14337 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 14338
dd930cc5
SP
14339 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
14340
c19a9f89
DM
143412013-01-15 David S. Miller <davem@davemloft.net>
14342
1aa61767
DM
14343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14344 trunc{,f} to libm-sysdep_routes.
14345 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
14347 file.
14348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
14349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
14350 file.
14351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
14352 file.
14353 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
14354 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
14355 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
14356 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
14357 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
14358 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
14359 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
14360 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
14361
c42d5e98
DM
14362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14363 nearbyint{,f} to libm-sysdep_routes.
14364 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
14366 New file.
14367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
14368 file.
14369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
14370 New file.
14371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
14372 file.
14373 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
14374 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
14375 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
14376 file.
14377 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
14378 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
14379 file.
14380 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
14381 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
14382 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
14383
c19a9f89
DM
14384 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
14385 libc_feholdexcept and libc_fesetenv.
14386
357679d2
MF
143872013-01-15 Mike Frysinger <vapier@gentoo.org>
14388
14389 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
14390
65a82e3d
DM
143912013-01-14 David S. Miller <davem@davemloft.net>
14392
8b954ab9
DM
14393 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
14394 (SPARC_ASM_VIS2_IFUNC): Likewise.
14395 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
14396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
14397 use of 'siam' instruction.
14398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
14399 Likewise.
14400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
14401 Likewise.
14402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
14403 Likewise.
14404 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
14405 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
14406 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
14407 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
14408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
14409 file.
14410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
14411 file.
14412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
14413 file.
14414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
14415 file.
14416 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
14417 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
14418 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
14419 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
14420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
14421 new VIS2 routines.
14422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
14423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
14425 Likewise.
14426 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
14427 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
14428 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
14429 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
14430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
14431 routines to libm-sysdep_routines.
14432 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14433
65a82e3d
DM
14434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14435 fdim/fdimf to libm-sysdep_routines.
14436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
14437 file.
14438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
14439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
14440 file.
14441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
14442 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
14443 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
14444 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
14445 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
14446 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
14447 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
14448
e34ab705
SP
144492013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
14450
2a91b573
SP
14451 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
14452 to optimize copies.
14453
1066a534
SP
14454 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
14455 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14456 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14457
e34ab705
SP
14458 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
14459 local variable MPTWO.
14460 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
14461 Likewise.
14462
aba5e596
MF
144632013-01-13 Mike Frysinger <vapier@gentoo.org>
14464
14465 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
14466 GLOB_NOESCAPE.
14467
e557e9e5
MF
144682013-01-13 Mike Frysinger <vapier@gentoo.org>
14469
14470 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
14471
0428cec9
MF
144722013-01-13 Mike Frysinger <vapier@gentoo.org>
14473
14474 * manual/pattern.texi (glob_t): Document gl_flags.
14475 (glob64_t): Likewise.
14476
8794a964
DM
144772013-01-11 David S. Miller <davem@davemloft.net>
14478
66438c3f
RM
14479 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
14480 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
14481 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
14482 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
14483 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
14484 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
14485 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
14486 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
14487 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
14488 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
14489 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
14490 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
14491 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
14492
4ae4244d
DM
14493 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14494 sparc V9 rather than using V8 code.
14495 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14496 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14497
8794a964
DM
14498 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
14499 Move to...
14500 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
14501 Here.
14502
6270516e
RM
145032013-01-11 Roland McGrath <roland@hack.frob.com>
14504
14505 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
14506 not in the main loop.
14507 * configure: Regenerated.
14508
6a57d931
JM
145092013-01-11 Joseph Myers <joseph@codesourcery.com>
14510
14511 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
14512 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
14513 to just #else.
14514 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
14515 [!__GLIBC_HAVE_LONG_LONG] case.
14516 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
14517 condition to just #else.
14518 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
14519 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
14520 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
14521 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
14522 unconditional.
14523 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
14524 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14525 #elif condition to just #else.
14526 * sysdeps/unix/sysv/linux/sys/sysmacros.h
14527 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
14528 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14529 #elif condition to just #else.
14530
0e8529e9
SE
145312013-01-11 Steve Ellcey <sellcey@mips.com>
14532
14533 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
14534 (EF_MIPS_ARCH_64): Fix value.
14535 (EF_MIPS_ARCH_32R2): New.
14536 (EF_MIPS_ARCH_64R2): New.
14537
740b3dbe
L
145382013-01-11 H.J. Lu <hongjiu.lu@intel.com>
14539
14540 * Makeconfig (+link-pie-before-libc): New.
14541 (+link-pie-after-libc): Likewise.
14542 (+link-pie-tests): Likewise.
14543 (+link-pie): Rewritten.
14544 (link-before-libc): Remove $(config-LDFLAGS).
14545 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
14546 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
14547 (config-LDFLAGS): Renamed to ...
14548 (rtld-LDFLAGS): This.
14549 (rtld-tests-LDFLAGS): New macro.
14550 (link-libc-rpath-link): Likewise.
14551 (link-libc-tests-rpath-link): Likewise.
14552 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
14553 (link-libc): Prepand $(link-libc-rpath-link).
14554 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
14555 (test-program-prefix): New macro.
14556 (test-via-rtld-prefix): Likewise.
14557 (test-program-cmd): Likewise.
14558 (host-test-program-cmd): Likewise.
14559 * Makefile ($(common-objpfx)testrun.sh): Replace
14560 $(run-program-prefix) with $(test-program-prefix).
14561 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
14562 $(rtld-LDFLAGS).
14563 ($(common-objpfx)shlib.lds): Likewise.
14564 (build-module-helper): Likewise.
14565 ($(common-objpfx)format.lds): Likewise.
14566 * Rules (binaries-pie-tests): New.
14567 (binaries-pie-notests): Likewise.
14568 (binaries-pie): Rewritten.
14569 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
14570 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
14571 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
14572 (make-test-out): Replace $(host-built-program-cmd) with
14573 $(host-test-program-cmd).
14574 * config.make.in (build-hardcoded-path-in-tests): New variable.
14575 * configure.in (--enable-hardcoded-path-in-tests): New configure
14576 option.
14577 (hardcoded_path_in_tests): New AC_SUBST.
14578 * configure: Regenerated.
14579 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
14580 $(built-program-cmd) with $(test-program-cmd).
14581 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
14582 (test_program_cmd): This.
14583 * elf/Makefile ($(objpfx)order.out): Run test with
14584 $(test-program-prefix).
14585 ($(objpfx)order2.out): Likewise.
14586 ($(objpfx)tst-initorder.out): Likewise.
14587 ($(objpfx)tst-initorder2.out): Likewise.
14588 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
14589 $(test-program-cmd).
14590 ($(objpfx)tst-array1-static.out): Likewise.
14591 ($(objpfx)tst-array2.out): Likewise.
14592 ($(objpfx)tst-array3.out): Likewise.
14593 ($(objpfx)tst-array4.out): Likewise.
14594 ($(objpfx)tst-array5.out): Likewise.
14595 ($(objpfx)tst-array5-static.out): Likewise.
14596 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
14597 $(test-program-cmd).
14598 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
14599 $(run-program-prefix) with $(test-program-prefix).
14600 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
14601 (test_program_prefix): This.
14602 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
14603 $(run-program-prefix) with $(test-program-prefix).
14604 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
14605 (test_program_prefix): This.
14606 * iconvdata/tst-tables.sh: Likewise.
14607 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
14608 $(run-program-prefix) with $(test-program-prefix).
14609 ($(objpfx)tst-translit.out): Likewise.
14610 ($(objpfx)tst-gettext2.out): Likewise.
14611 ($(objpfx)tst-gettext4.out): Likewise.
14612 ($(objpfx)tst-gettext6.out): Likewise.
14613 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
14614 (test_program_prefix): This.
14615 * intl/tst-gettext2.sh: Likewise.
14616 * intl/tst-gettext4.sh Likewise.
14617 * intl/tst-gettext6.sh: Likewise.
14618 * intl/tst-translit.sh: Likewise.
14619 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
14620 with $(test-program-cmd).
14621 * libio/Makefile ($(objpfx)test-freopen.out): Replace
14622 $(run-program-prefix) with $(test-program-prefix).
14623 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
14624 (test_program_prefix): This.
14625 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
14626 $(run-program-prefix) with $(test-program-prefix).
14627 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
14628 (test_program_prefix): This.
14629 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
14630 * posix/Makefile ($(objpfx)globtest.out): Replace
14631 $(run-via-rtld-prefix) and $(test-wrapper) with
14632 $(test-program-prefix) and $(test-via-rtld-prefix).
14633 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
14634 $(test-program-prefix).
14635 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
14636 $(host-test-program-cmd).
14637 (tst-spawn-ARGS): Likewise.
14638 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
14639 $(test-program-prefix).
14640 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
14641 (test_via_rtld_prefix): This.
14642 (test_wrapper): Renamed to ...
14643 (test_program_prefix): This.
14644 (run_program_prefix): Replaced by test_program_prefix.
14645 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
14646 (test_program_prefix): This.
14647 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
14648 with $(host-test-program-cmd).
14649 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
14650 $(run-program-prefix) with $(test-program-prefix).
14651 ($(objpfx)tst-printf.out): Likewise.
14652 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
14653 $(test-program-cmd).
14654 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
14655 (test_program_prefix): This.
14656 * stdio-common/tst-unbputc.sh: Likewise.
14657 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
14658 $(run-program-prefix) with $(test-program-prefix).
14659 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
14660 (test_program_prefix): This.
14661 * string/Makefile ($(objpfx)tst-svc.out): Replace
14662 $(built-program-cmd) with $(test-program-cmd).
14663
c6fe55cf
AJ
146642013-01-11 Andreas Jaeger <aj@suse.de>
14665
14666 [BZ #15003]
14667 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
14668 value. Sync with Linux 3.7.
14669
9e6919c8
DM
146702013-01-10 David S. Miller <davem@davemloft.net>
14671
14672 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
14673 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14674 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14675
1c9f1a02
RM
146762013-01-10 Roland McGrath <roland@hack.frob.com>
14677
14678 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
14679 never set.
14680 * configure: Regenerated.
14681
b9de2dde
DM
146822013-01-10 David S. Miller <davem@davemloft.net>
14683
14684 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14685 sparc V9 rather than using V8 code.
14686 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14687 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14688
e7f68ef4
RM
146892013-01-10 Roland McGrath <roland@hack.frob.com>
14690
14691 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
14692 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
14693 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
14694 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
14695 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
14696 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
14697 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
14698 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
14699 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
14700 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
14701 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
14702 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
14703 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
14704 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
14705 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
14706 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
14707 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
14708 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
14709 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
14710 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
14711 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
14712 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
14713 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
14714 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
14715 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
14716 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
14717 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
14718
5a47cc9c
DM
147192013-01-10 David S. Miller <davem@davemloft.net>
14720
14721 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14722
4cf8f209
L
147232013-01-10 H.J. Lu <hongjiu.lu@intel.com>
14724
14725 * posix/Makefile (tests-static): New variable.
14726 (tests): Add $(tests-static).
14727 (tst-exec-static-ARGS): New variable.
14728 (tst-spawn-static-ARGS): Likewise.
14729 * posix/tst-exec-static.c: New file.
14730 * posix/tst-spawn-static.c: Likewise.
14731 * posix/tst-exec.c: Support run directly.
14732 * posix/tst-spawn.c: Likewise.
14733
fed0faa1
JM
147342013-01-10 Joseph Myers <joseph@codesourcery.com>
14735
828beb13
JM
14736 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
14737 long.
14738 * math/bits/mathcalls.h (llrint): Likewise.
14739 (llround): Likewise.
14740 * stdlib/stdlib.h (struct drand48_data): Likewise.
14741 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
14742 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
14743 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
14744 Likewise.
14745 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
14746 Likewise.
14747 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
14748 (elf_greg_t): Likewise.
14749 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
14750 (__jmp_buf): Likewise.
14751 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
14752 definitions.
14753 (llrint): Likewise, for all definitions.
14754 (llrintl): Likewise.
14755
fed0faa1
JM
14756 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
14757 Remove [__GNUC__] condition.
14758 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
14759 condition to just [__USE_ISOC99].
14760 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
14761
1a20cb20
L
147622013-01-10 H.J. Lu <hongjiu.lu@intel.com>
14763
14764 [BZ #14200]
14765 * sysdeps/unix/sysv/linux/x86/bits/environments.h
14766 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
14767 defined.
14768 (_POSIX_V6_ILP32_OFF32): Likewise.
14769 (_XBS5_ILP32_OFF32): Likewise.
14770 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
14771 (__ILP32_OFFBIG_LDFLAGS): Likewise.
14772
751b85f7
SP
147732013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14774
7490eb81
SP
14775 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
14776
751b85f7
SP
14777 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
14778 doubles __mpexp_twomm1. Adjust usage.
14779 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
14780 Remove.
14781
988197f0
AS
147822013-01-10 Andreas Schwab <schwab@suse.de>
14783
14784 [BZ #14964]
14785 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
14786 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
14787
e83d7298
DM
147882013-01-09 David S. Miller <davem@davemloft.net>
14789
034ed64b 14790 [BZ #15003]
e83d7298
DM
14791 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
14792 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
14793 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
14794 TCP_FASTOPEN): Define.
14795 (tcp_repair_opt): New structure.
14796 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
14797 enum values.
14798 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
14799 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
14800 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
14801 (tcp_cookie_transactions): New structure.
14802
d5e0b9bd
AB
148032013-01-09 Anton Blanchard <anton@samba.org>
14804
14805 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
14806 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
14807 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
14808 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
14809
0c07e3ea
JM
148102013-01-09 Joseph Myers <joseph@codesourcery.com>
14811
14812 * include/features.h (__USE_ANSI): Remove.
14813
232f7002
RM
148142013-01-09 Roland McGrath <roland@hack.frob.com>
14815
ad98e30c
RM
14816 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
14817
232f7002
RM
14818 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
14819
950c99ca
SP
148202013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
14821
b5792741
SP
14822 * sysdeps/s390/fpu/libm-test-ulps: Update.
14823
47cf2278
SP
14824 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14825
950c99ca
SP
14826 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
14827 (__acr): Likewise.
14828 (__cpy): Likewise.
14829 (norm): Likewise.
14830 (denorm): Likewise.
14831 (__mp_dbl): Likewise.
14832 (__dbl_mp): Likewise.
14833 (add_magnitudes): Likewise.
14834 (sub_magnitudes): Likewise.
14835 (__add): Likewise.
14836 (__sub): Likewise.
14837 (__mul): Likewise.
14838 (__inv): Likewise.
14839 (__dvd): Likewise.
14840 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
14841 (__acr): Likewise.
14842 (__cpy): Likewise.
14843 (norm): Likewise.
14844 (denorm): Likewise.
14845 (__mp_dbl): Likewise.
14846 (__dbl_mp): Likewise.
14847 (add_magnitudes): Likewise.
14848 (sub_magnitudes): Likewise.
14849 (__add): Likewise.
14850 (__sub): Likewise.
14851 (__mul): Likewise.
14852 (__inv): Likewise.
14853 (__dvd): Likewise.
14854 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
14855 (__acr): Likewise.
14856 (__cpy): Likewise.
14857 (norm): Likewise.
14858 (denorm): Likewise.
14859 (__mp_dbl): Likewise.
14860 (__dbl_mp): Likewise.
14861 (add_magnitudes): Likewise.
14862 (sub_magnitudes): Likewise.
14863 (__add): Likewise.
14864 (__sub): Likewise.
14865 (__mul): Likewise.
14866 (__inv): Likewise.
14867 (__dvd): Likewise.
14868
eede9df9
JM
148692013-01-08 Joseph Myers <joseph@codesourcery.com>
14870
14871 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
14872 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
14873 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
14874 2 && __USE_EXTERN_INLINES]: Likewise.
14875
c40ea3d9
AJ
148762013-01-08 Andreas Jaeger <aj@suse.de>
14877
14878 [BZ# 14985]
14879 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
14880 Remove.
14881 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14882 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14883
2ccdea26
AB
148842013-01-07 Anton Blanchard <anton@samba.org>
14885
14886 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
14887 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
14888 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
14889 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
14890 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
14891 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14892 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
14893 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14894 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14895 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14896 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14897 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14898 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14899 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14900 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14901 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14902 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14903 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14904 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14905 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
14906 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14907 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
14908 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14909 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14910 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
14911 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
14912 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14913 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
14914 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
14915 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14916 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14917 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14918 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14919 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14920 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14921 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14922 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14923 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
14924 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
14925 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
14926 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
14927 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14928 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14929
a9708fed
JM
149302013-01-07 Joseph Myers <joseph@codesourcery.com>
14931
375607b9
JM
14932 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
14933 (__MALLOC_PMT): Likewise.
14934 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
14935 [__GNUC__], only on [_LIBC].
14936 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14937 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
14938 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14939 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
14940 forward declaration.
14941 (realloc_hook_ini): Likewise.
14942 (memalign_hook_ini): Likewise.
14943 (__libc_memalign): Do not use __MALLOC_PMT in variable
14944 declaration.
14945 (__libc_valloc): Likewise.
14946 (__libc_pvalloc): Likewise.
14947 (__libc_calloc): Likewise.
14948 (__posix_memalign): Likewise.
14949
a9708fed
JM
14950 [BZ #14996]
14951 * math/s_casinh.c: Include <float.h>.
14952 (__casinh): Do not do computation with squaring and square root
14953 for large arguments.
14954 * math/s_casinhf.c: Include <float.h>.
14955 (__casinhf): Do not do computation with squaring and square root
14956 for large arguments.
14957 * math/s_casinhl.c: Include <float.h>.
14958 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
14959 (__casinhl): Do not do computation with squaring and square root
14960 for large arguments.
14961 * math/libm-test.inc (casin_test): Add more tests.
14962 (casinh_test): Likewise.
14963 * sysdeps/i386/fpu/libm-test-ulps: Update.
14964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14965
afec409a
L
149662013-01-04 H.J. Lu <hongjiu.lu@intel.com>
14967
14968 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
14969 (__x86_64_raw_data_cache_size): Likewise.
14970 (__x86_64_data_cache_size_half): Likewise.
14971 (__x86_64_raw_data_cache_size_half): Likewise.
14972 (__x86_64_shared_cache_size): Likewise.
14973 (__x86_64_raw_shared_cache_size): Likewise.
14974 (__x86_64_shared_cache_size_half): Likewise.
14975 (__x86_64_raw_shared_cache_size_half): Likewise.
14976 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
14977 to ...
14978 (__x86_data_cache_size): This.
14979 (__x86_64_raw_data_cache_size): Renamed to ...
14980 (__x86_raw_data_cache_size): This.
14981 (__x86_64_data_cache_size_half): Renamed to ...
14982 (__x86_data_cache_size_half): This.
14983 (__x86_64_raw_data_cache_size_half): Renamed to ...
14984 (__x86_raw_data_cache_size_half): This.
14985 (__x86_64_shared_cache_size): Renamed to ...
14986 (__x86_shared_cache_size): This.
14987 (__x86_64_raw_shared_cache_size): Renamed to ...
14988 (__x86_raw_shared_cache_size): This.
14989 (__x86_64_shared_cache_size_half): Renamed to ...
14990 (__x86_shared_cache_size_half): This.
14991 (__x86_64_raw_shared_cache_size_half): Renamed to ...
14992 (__x86_raw_shared_cache_size_half): This.
14993 * sysdeps/x86_64/memcpy.S: Updated.
14994 * sysdeps/x86_64/memset.S: Likewise.
14995 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
14996 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14997 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14998
0b3986d0
DM
149992013-01-04 David S. Miller <davem@davemloft.net>
15000
15001 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15002
e47686e9
AS
150032013-01-04 Andreas Schwab <schwab@linux-m68k.org>
15004
d643bac1
AS
15005 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
15006 1 to avoid redefinition warning.
15007 (__USE_GNU): Don't define.
15008 (init_signaling_nan): Protoize.
15009
e47686e9
AS
15010 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15011
b18decba
SP
150122013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15013
fffb407f
SP
15014 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
15015 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
15016 (__cpymn): Likewise.
15017 (norm): Remove commented code.
15018 (denorm): Likewise.
15019 (__mp_dbl): Likewise.
15020 (__inv): Likewise.
15021 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
15022 (__cpymn): Likewise.
15023 (norm): Remove commented code.
15024 (denorm): Likewise.
15025 (__mp_dbl): Likewise.
15026 (__inv): Likewise.
15027
b18decba
SP
15028 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
15029 mp_no value for 1.0 and 2.0.
15030 (norm): Use RADIXI instead of radixi.d.
15031 (denorm): Likewise.
15032 (__mul): Use 0.0 instead of zero.d.
15033 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
15034 mp_no value for 1.0 and 2.0.
15035 (norm): Use RADIXI instead of radixi.d.
15036 (denorm): Likewise.
15037 (__mul): Use 0.0 instead of zero.d.
15038
cdc1c96f
JM
150392013-01-04 Joseph Myers <joseph@codesourcery.com>
15040
15041 [BZ #14994]
15042 * math/s_casinh.c (__casinh): Reduce finite argument to first
15043 quadrant then set signs of results at the end.
15044 * math/s_casinhf.c (__casinhf): Likewise.
15045 * math/s_casinhl.c (__casinhl): Likewise.
15046 * math/libm-test.inc (casin_test): Add more tests.
15047 (casinh_test): Likewise.
15048 * sysdeps/i386/fpu/libm-test-ulps: Update.
15049 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15050
302913e1
SP
150512013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15052
6420d207
SP
15053 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
15054
a9e48ab4
SP
15055 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
15056
b7837264
SP
15057 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
15058 declarations.
15059 (denorm): Likewise.
15060 (__mp_dbl): Likewise.
15061 (__inv): Likewise.
15062
f8af25d2
SP
15063 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
15064 and adjust the header comment.
15065
302913e1
SP
15066 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
15067 variable name from declaration.
15068
5d7dd1ca
L
150692013-01-03 H.J. Lu <hongjiu.lu@intel.com>
15070
15071 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15072 Initialize COMMON_CPUID_INDEX_7 element.
15073 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
15074 (CPUID_RTM): Likewise.
15075 (HAS_RTM): Likewise.
15076 (COMMON_CPUID_INDEX_7): New enum.
15077
2f5f40f4
AS
150782013-01-03 Andreas Schwab <schwab@linux-m68k.org>
15079
15080 [BZ #14981]
15081 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
15082 size is zero, record memory as freed.
15083
4056f4a0
AJ
150842013-01-03 Andreas Jaeger <aj@suse.de>
15085
15086 * po/ia.po: Add new Interlingua translation.
15087
ab15736f 150882012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
15089
15090 * locale/programs/localedef.c: Fix description of '--posix' flag.
15091
568035b7
JM
150922013-01-02 Joseph Myers <joseph@codesourcery.com>
15093
e6898b8d
JM
15094 * NEWS: Update dates in second copyright notice.
15095 * README: Update copyright dates in example.
15096 * manual/libc.texinfo: Update copyright dates.
15097 * scripts/test-installation.pl: Update copyright date in --version
15098 output.
15099
0e2f9562
JM
15100 * hurd/ctty-input.c: Fix copyright notice formatting.
15101 * hurd/ctty-output.c: Likewise.
15102 * hurd/dtable.c: Likewise.
15103 * hurd/hurd-raise.c: Likewise.
15104 * hurd/hurdprio.c: Likewise.
15105 * hurd/msgportdemux.c: Likewise.
15106 * misc/sys/file.h: Likewise.
15107 * misc/sys/ioctl.h: Likewise.
15108 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
15109 * sysdeps/mach/hurd/chdir.c: Likewise.
15110 * sysdeps/mach/hurd/fchdir.c: Likewise.
15111 * sysdeps/mach/hurd/rename.c: Likewise.
15112 * sysdeps/mach/hurd/rmdir.c: Likewise.
15113 * sysdeps/mach/hurd/seekdir.c: Likewise.
15114 * sysdeps/mach/hurd/setsid.c: Likewise.
15115 * sysdeps/posix/wait3.c: Likewise.
15116
568035b7
JM
15117 * All files with FSF copyright notices: Update copyright dates
15118 using scripts/update-copyrights.
15119 * intl/plural.c: Regenerated.
15120 * locale/programs/charmap-kw.h: Likewise.
15121 * locale/programs/locfile-kw.h: Likewise.
15122
da08f647
SP
151232013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15124
0f5477af
SP
15125 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
15126 four values.
15127
44e0d4c2
SP
15128 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
15129 calculation loop and add branch prediction.
15130
4d55b4e5
SP
15131 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
15132 check access beyond bounds of m1np.
15133
da08f647
SP
15134 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
15135 MPTWO.
15136 (__inv): Remove local variable MPTWO to use the global
15137 constant.
15138 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
15139 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
15140 variable MPTWO.
15141 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
15142 MP3HALFS static const.
15143
8e051029
DM
151442013-01-01 David S. Miller <davem@davemloft.net>
15145
15146 * po/ca.po: Update from translation team.
15147
f4cf5f2d
JM
151482013-01-01 Joseph Myers <joseph@codesourcery.com>
15149
15150 * scripts/update-copyrights: New file.
15151 * Makeconfig: Reformat copyright notice.
15152 * ctype/ctype.h: Likewise.
15153 * debug/swprintf_chk.c: Likewise.
15154 * elf/dl-cache.c: Likewise.
15155 * elf/dl-debug.c: Likewise.
15156 * elf/dl-object.c: Likewise.
15157 * grp/initgroups.c: Likewise.
15158 * hurd/Makefile: Likewise.
15159 * hurd/hurd/signal.h: Likewise.
15160 * hurd/hurdfault.c: Likewise.
15161 * hurd/hurdioctl.c: Likewise.
15162 * hurd/hurdlookup.c: Likewise.
15163 * hurd/intr-msg.c: Likewise.
15164 * iconv/gconv_open.c: Likewise.
15165 * libio/swprintf.c: Likewise.
15166 * locale/lc-ctype.c: Likewise.
15167 * locale/nl_langinfo.c: Likewise.
15168 * mach/Machrules: Likewise.
15169 * mach/Makefile: Likewise.
15170 * malloc/obstack.h: Likewise.
15171 * manual/Makefile: Likewise.
15172 * manual/tsort.awk: Likewise.
15173 * misc/bits/stab.def: Likewise.
15174 * nis/nis_print_group_entry.c: Likewise.
15175 * nis/nis_table.c: Likewise.
15176 * nis/nss_compat/compat-pwd.c: Likewise.
15177 * nis/nss_compat/compat-spwd.c: Likewise.
15178 * po/Makefile: Likewise.
15179 * posix/fnmatch.c: Likewise.
15180 * posix/regex.h: Likewise.
15181 * resolv/Makefile: Likewise.
15182 * resolv/nss_dns/dns-network.c: Likewise.
15183 * resolv/res_hconf.c: Likewise.
15184 * scripts/gen-sorted.awk: Likewise.
15185 * soft-fp/soft-fp.h: Likewise.
15186 * stdio-common/printf.h: Likewise.
15187 * stdlib/monetary.h: Likewise.
15188 * stdlib/random.c: Likewise.
15189 * stdlib/random_r.c: Likewise.
15190 * sysdeps/generic/Makefile: Likewise.
15191 * sysdeps/gnu/Makefile: Likewise.
15192 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
15193 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15194 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15195 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15196 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15197 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15198 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15199 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15200 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15201 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15202 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15203 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15204 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
15205 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
15206 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
15207 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
15208 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15209 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15210 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15211 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15212 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
15213 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
15214 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15215 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
15216 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
15217 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
15218 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
15219 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
15220 * sysdeps/mach/hurd/errnos.awk: Likewise.
15221 * sysdeps/mach/hurd/fork.c: Likewise.
15222 * sysdeps/mach/hurd/getcwd.c: Likewise.
15223 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
15224 * sysdeps/mach/hurd/mmap.c: Likewise.
15225 * sysdeps/mach/hurd/utimes.c: Likewise.
15226 * sysdeps/mach/hurd/xmknod.c: Likewise.
15227 * sysdeps/posix/profil.c: Likewise.
15228 * sysdeps/posix/readdir_r.c: Likewise.
15229 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15230 * sysdeps/powerpc/bits/setjmp.h: Likewise.
15231 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
15232 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
15233 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
15234 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
15235 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
15236 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15237 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15238 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
15239 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
15240 * sysdeps/pthread/lio_listio.c: Likewise.
15241 * sysdeps/sparc/dl-procinfo.h: Likewise.
15242 * sysdeps/unix/i386/sysdep.S: Likewise.
15243 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
15244 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
15245 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
15246 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
15247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15248 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
15249 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
15250 * sysdeps/unix/sysv/linux/speed.c: Likewise.
15251 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
15252 * sysdeps/wordsize-32/divdi3.c: Likewise.
15253 * time/sys/time.h: Likewise.
15254 * wcsmbs/Makefile: Likewise.
15255
0549fbba
DM
152562013-01-01 David S. Miller <davem@davemloft.net>
15257
a141f1a7
DM
15258 * po/fr.po: Update from translation team.
15259
0549fbba
DM
15260 * catgets/gencat.c: Update copyright year.
15261 * csu/version.c: Likewise.
15262 * debug/catchsegv.sh: Likewise.
15263 * debug/pcprofiledump.c: Likewise.
15264 * debug/xtrace.sh: Likewise.
15265 * elf/ldconfig.c: Likewise.
15266 * elf/ldd.bash.in: Likewise.
15267 * elf/pldd.c: Likewise.
15268 * elf/sotruss.ksh: Likewise.
15269 * elf/sprof.c: Likewise.
15270 * iconv/iconv_prog.c: Likewise.
15271 * iconv/iconvconfig.c: Likewise.
15272 * locale/programs/locale.c: Likewise.
15273 * locale/programs/localedef.c: Likewise.
15274 * login/programs/pt_chown.c: Likewise.
15275 * malloc/memusage.sh: Likewise.
15276 * malloc/memusagestat.c: Likewise.
15277 * malloc/mtrace.pl: Likewise.
15278 * nscd/nscd.c: Likewise.
15279 * nss/getent.c: Likewise.
15280 * nss/makedb.c: Likewise.
15281 * posix/getconf.c: Likewise.
15282
18ea052c
SP
152832012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
15284
15285 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
15286 numbers.
15287
9c89fca6
MF
152882012-12-30 Mike Frysinger <vapier@gentoo.org>
15289
15290 * math/bits/mathcalls.h (modf): Use __nonnull.
15291
085ec079
SP
152922012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15293
15294 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
15295 (split): Use macro CN instead of the bare value.
15296 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
15297 could be used.
15298 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
15299 instead of the bare value.
15300 (power1): Likewise.
15301
6d9f97e1
SP
153022012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15303
d63f73be
SP
15304 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
15305 __ATAN_TWOM.
15306 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15307
6d9f97e1
SP
15308 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
15309 their values.
15310 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
15311 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15312 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
15313 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
15314
4c4febf5
AJ
153152012-12-28 Andreas Jaeger <aj@suse.de>
15316
af5843ef
AJ
15317 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
15318 values are from Linux 3.7.
15319
4c4febf5
AJ
15320 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
15321 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
15322
99136f82
SP
153232012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15324
2f216c3c 15325 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
15326 TRUE case.
15327
99136f82
SP
15328 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
15329 (norm): Likewise.
15330 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
15331 variables with preprocessor constants.
15332 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15333 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
15334 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
15335
7fffbdff
BH
153362012-12-27 Bruno Haible <bruno@clisp.org>
15337
15338 [BZ #14317]
15339 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
15340 only if needed.
15341
b76eb5f0
SP
153422012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15343
31a7fe5c
SP
15344 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
15345 and use variable directly.
15346 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
15347
b76eb5f0
SP
15348 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
15349 MPONE.
15350 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
15351 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
15352 variable MPONE.
15353 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15354 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15355 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
15356 include directive. Remove local variable MPONE.
15357 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
15358 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
15359 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
15360
2c8bfe7d
DM
153612012-12-25 David S. Miller <davem@davemloft.net>
15362
15363 * version.h (RELEASE): Set to "development".
15364 (VERSION): Set to "2.17.90".
15365 * NEWS: Add 2.18 section.
15366
147d03b0
DM
153672012-12-21 David S. Miller <davem@davemloft.net>
15368
15369 * po/hr.po: Update from translation team.
15370
a8ebb2b9
AK
153712012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15372
15373 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
15374
95b4f1b6
SE
153752012-12-19 Steve Ellcey <sellcey@mips.com>
15376
b2d94007 15377 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 15378
cedb2a90
MS
153792012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15380
15381 * manual/contrib.texi (Contributors): Spelling correction.
15382
bbf527d6
DM
153832012-12-15 David S. Miller <davem@davemloft.net>
15384
15385 * po/ru.po: Update from translation team.
15386
bc38c906
DM
153872012-12-13 David S. Miller <davem@davemloft.net>
15388
85429b1a
DM
15389 * NEWS: Mention IFUNC testsuite enhancements.
15390
d283e353
DM
15391 * po/pl.po: Update from translation team.
15392 * po/bg.po: Likewise.
15393
bc38c906
DM
15394 * manual/contrib.texi (Contributors): Update entries for Hongjiu
15395 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
15396
a181b0d7
DM
153972012-12-11 David S. Miller <davem@davemloft.net>
15398
4641d57e
DM
15399 * po/sv.po: Update from translation team.
15400
f7bc6495
DM
15401 * po/vi.po: Update from translation team.
15402
6fc9048f
DM
15403 * po/cs.po: Update from translation team.
15404
a181b0d7
DM
15405 * po/de.po: Update from translation team.
15406 * po/eo.po: Likewise.
15407 * po/nl.po: Likewise.
15408
f70bfe80
SP
154092012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15410
3c8b4190
SP
15411 [BZ #14246]
15412 * manual/argp.texi (Argp Helper Functions): Move node to follow
15413 Argp Parsing State.
15414
f70bfe80
SP
15415 [BZ #14872]
15416 * manual/conf.texi (Limits on File System Capacity): Mention if
15417 terminating null is included in the max size.
15418
188f0adf
AJ
154192012-12-10 Andreas Jaeger <aj@suse.de>
15420
15421 * po/cs.po: Update from translation team.
15422
56e7d3ad
SP
154232012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15424
15425 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
15426 void pointer and cast to uintptr_t.
15427 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
15428 path.
15429 * sysdeps/s390/s390-64/memcpy.S: Likewise.
15430 * sysdeps/s390/s390-64/memset.S: Likewise.
15431
76f2d2ea 154322012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
15433
15434 [BZ #14833]
15435 * menual/message.texi (Message Translation): Fix typos.
15436 (Helper programs for gettext): Likewise.
15437
67cbf9a2
AS
154382012-12-07 Andreas Schwab <schwab@linux-m68k.org>
15439
15440 [BZ #14898]
15441 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
15442 Change to -1.
15443
682d0e9a
DM
154442012-12-07 David S. Miller <davem@davemloft.net>
15445
15446 * po/libc.pot: Update.
15447
573cd484
RH
154482012-12-07 Richard Henderson <rth@redhat.com>
15449
7e9da188 15450 [BZ #10114]
573cd484
RH
15451 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
15452 normal/normal case to before the switch.
15453 (_FP_DIV): Likewise.
15454
e933a943
MF
154552012-12-06 Carlos O'Donell <carlos@systemhalted.org>
15456 Mike Frysinger <vapier@gentoo.org>
15457
15458 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
15459 check for __NR_fadvise64_64.
15460
82123268
CM
154612012-12-06 Chris Metcalf <cmetcalf@tilera.com>
15462
15463 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
15464 0, not just to plain "0" as a statement.
15465 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
15466 with cw.
15467
d9814526
JM
154682012-12-06 Joseph Myers <joseph@codesourcery.com>
15469
15470 * NEWS: Use sourceware.org in Bugzilla URL.
15471
7728c574
SP
154722012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15473
f16946dd
SP
15474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
15475 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15476
5704bbcb
SP
15477 * stdio-common/tst-put-error.c (do_test): Add newline to the
15478 padded test to ensure flush.
15479
17aa0516
JL
154802012-12-05 Jeff Law <law@redhat.com>
15481
15482 * sunrpc/etc.rpc (fedfs_admin): Add entry.
15483
363313b5
JM
154842012-12-05 Joseph Myers <joseph@codesourcery.com>
15485
effbd42a
JM
15486 * README: Don't refer to ports add-on as distributed separately.
15487 Mention AArch64 in list of systems supported in the ports add-on.
15488
87600365
JM
15489 * LICENSES: Add more non-FSF copyright and license notices.
15490
a0d7066a
JM
15491 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
15492 ((unused)).
15493
66ca5a5b
JM
15494 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
15495
363313b5
JM
15496 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
15497 10000 as width of padded output.
15498
b37984ad
JM
154992012-12-04 Joseph Myers <joseph@codesourcery.com>
15500
9003570a
JM
15501 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
15502
b37984ad
JM
15503 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
15504 variable LX with __attribute__ ((unused)).
15505 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15506 Likewise.
15507 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15508 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15509 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
15510 with __attribute__ ((unused)).
15511
c8df52ec
DM
155122012-12-04 David S. Miller <davem@abraco.davemloft.net>
15513
15514 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
15515
b3b099af
JM
155162012-12-04 Joseph Myers <joseph@codesourcery.com>
15517
c33aa6e3
JM
15518 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
15519 (CFLAGS-nldbl-acos.c): New variable.
15520 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
15521 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
15522 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
15523 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
15524 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
15525 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
15526 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
15527 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
15528 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
15529 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
15530 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
15531 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
15532 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
15533 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
15534 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
15535 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
15536 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
15537 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
15538 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
15539 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
15540 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
15541 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
15542 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
15543 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
15544 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
15545 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
15546 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
15547 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
15548 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
15549 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
15550 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
15551 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
15552 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
15553 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
15554 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
15555 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
15556 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
15557 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
15558 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
15559 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
15560 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
15561 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
15562 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
15563 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
15564 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
15565 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
15566 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
15567 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
15568 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
15569 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
15570 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
15571 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
15572 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
15573 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
15574 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
15575 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
15576 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
15577 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
15578 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
15579 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
15580 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
15581 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
15582 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
15583 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
15584 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
15585 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
15586 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
15587 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
15588 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
15589 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
15590 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
15591 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
15592 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
15593 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
15594 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
15595 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
15596 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
15597 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
15598 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
15599 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
15600 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
15601 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
15602 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
15603 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
15604 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
15605 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
15606 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
15607 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
15608 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
15609 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
15610 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
15611 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
15612 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
15613 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
15614 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
15615 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
15616 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
15617
20f0018d
JM
15618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15619 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15620
b3b099af
JM
15621 [BZ #14914]
15622 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
15623 whole low double instead of just low 47 bits when splitting values
15624 into two parts.
15625
029264d1
AM
156262012-12-03 Allan McRae <allan@archlinux.org>
15627
15628 * manual/stdio.texi (Predefined Printf Handlers): Remove
15629 @hsep and @vsep usage.
15630
c9d6789e
MF
156312012-12-03 Mike Frysinger <vapier@gentoo.org>
15632
15633 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
15634 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
15635
4b7634a5
JL
156362012-12-03 Jeff Law <law@redhat.com>
15637
15638 * time/sys/time.h (settimeofday): Do not mark TV argument
15639 as __nonnull.
15640
eb6cbd24
MF
156412012-12-01 Mike Frysinger <vapier@gentoo.org>
15642
15643 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
15644 when currently writing and seek to current position when not.
15645 * libio/Makefile (tests): Remove bug-fclose1.
15646 * libio/bug-fclose1.c: Delete.
15647
f638872a
JM
156482012-12-01 Joseph Myers <joseph@codesourcery.com>
15649
15650 * manual/arith.texi (feenableexcept): Fix typo.
15651 (fedisableexcept): Likewise.
15652
48085d14
RM
156532012-11-30 Roland McGrath <roland@hack.frob.com>
15654
15655 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
15656 second, differently-typed declaration, rather than a cast.
15657
1a538b9f
SP
156582012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15659
15660 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
15661 * include/rpc/svc.h: ... here.
15662
d07f2ff1 156632012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
15664
15665 [BZ #13013]
15666 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
15667 depending n and resplen2 to catch cases where answer
15668 equals answerp2.
15669
c93ec1f0
CD
156702012-11-29 Carlos O'Donell <carlos@systemhalted.org>
15671
15672 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
15673 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
15674
37db69de
MF
156752012-11-29 Mike Frysinger <vapier@gentoo.org>
15676
15677 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
15678
e10c4e4f
RM
156792012-11-29 Roland McGrath <roland@hack.frob.com>
15680
15681 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
15682
2af1b328
JL
156832012-11-28 Jeff Law <law@redhat.com>
15684
15685 [BZ #13761]
15686 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
15687 dataset_temporary. Track alloca usage into alloca_used.
15688 If dataset is large allocate and release it via malloc/free.
15689
111db5b1
FW
156902012-06-04 Florian Weimer <fweimer@redhat.com>
15691
f06cc227 15692 [BZ #14197]
111db5b1
FW
15693 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
15694
dd694abd
DM
156952012-11-28 David S. Miller <davem@davemloft.net>
15696
15697 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15698
9984dd01
JM
156992012-11-28 Joseph Myers <joseph@codesourcery.com>
15700
15701 [BZ #14803]
15702 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
15703 of pi/2 rounded to nearest to 64 bits.
15704 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
15705 nearest to 64 bits.
15706 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
15707 bits.
15708
14bc93a9
JL
157092012-11-28 Jeff Law <law@redhat.com>
15710 Martin Osvald <mosvald@redhat.com>
15711
15712 [BZ #14889]
15713 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
15714 * sunrpc/svc.c: Include time.h.
15715 (__svc_accept_failed): New function.
15716 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
15717 any reason other than EINTR, call __svc_accept_failed.
15718 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
15719 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
15720
e3c6aa3a
AS
157212012-11-28 Andreas Schwab <schwab@suse.de>
15722
15723 * scripts/abilist.awk: Also handle indirect functions in .opd
15724 section.
15725
1bead169
JM
157262012-11-28 Joseph Myers <joseph@codesourcery.com>
15727
15728 [BZ #13881]
15729 * sysdeps/x86/fpu/powl_helper.c: New file.
15730 * sysdeps/x86/fpu/Makefile: Likewise.
15731 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
15732 (p3): New object.
15733 (__ieee754_powl): Use __powl_helper for finite arguments except
15734 integer exponents below 8.
15735 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
15736 (p3): New object.
15737 (__ieee754_powl): Use __powl_helper for finite arguments except
15738 integer exponents below 8.
15739 * math/libm-test.inc (pow_test): Add more tests and enable some
15740 previously disabled tests.
15741 * sysdeps/i386/fpu/libm-test-ulps: Update.
15742 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15743
0817d63d
SP
157442012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15745 Carlos O'Donell <carlos_odonell@mentor.com>
15746
15747 * nss/makedb.c (is_prime): Assert that input is odd and greater
15748 than 4. Note that fact in a comment too.
15749 (next_prime): Add 4 to input.
15750
de2fd463
SP
157512012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15752
15753 [BZ #11741]
15754 * libio/Makefile (tests): Add test case tst-fwrite-error.
15755 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
15756 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
15757 * libio/tst-fwrite-error.c: New test case.
15758
c515fb51
L
157592012-11-26 H.J. Lu <hongjiu.lu@intel.com>
15760
15761 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
15762 before casting to void *.
15763 * include/libc-internal.h (__pointer_type): New macro.
15764 (__integer_if_pointer_type_sub): Likewise.
15765 (__integer_if_pointer_type): Likewise.
15766 (cast_to_integer): Likewise.
15767 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
15768 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
15769 before casting to atomic64_t.
15770 (atomic_exchange_acq): Likewise.
15771 (__arch_exchange_and_add_body): Likewise.
15772 (__arch_add_body): Likewise.
15773 (atomic_add_negative): Likewise.
15774 (atomic_add_zero): Likewise.
15775
4cf77aa9
JM
157762012-11-26 Joseph Myers <joseph@codesourcery.com>
15777
15778 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
15779 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
15780 (add_fdes): Likewise.
15781 (linear_search_fdes): Likewise.
15782 (binary_search_unencoded_fdes): Likewise.
15783
d260b3b4
AS
157842012-11-26 Andreas Schwab <schwab@linux-m68k.org>
15785
15786 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
15787
67060746
AC
157882012-11-24 Adam Conrad <adconrad@0c3.net>
15789
15790 * configure.in: Autodetect C++ header directories.
15791 * configure: Regenerated.
15792
800938a1
MF
157932012-11-23 Mike Frysinger <vapier@gentoo.org>
15794
15795 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
15796
4e6e34e6
AS
157972012-11-23 Andreas Schwab <schwab@linux-m68k.org>
15798
15799 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15800
7c7feb47
JM
158012012-11-22 Joseph Myers <joseph@codesourcery.com>
15802
7184dcdf
JM
15803 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
15804 LDBL_MANT_DIG == 106]: Disable some tests.
15805 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15806 Likewise.
15807 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15808 Likewise.
15809
0a42601f
JM
15810 [BZ #14871]
15811 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
15812 input for small inputs. Return +/- pi/2 for large inputs.
15813 * math/libm-test.inc (atan_test): Add more tests.
15814
79c9b9fe
JM
15815 * sysdeps/generic/unwind-dw2-fde-glibc.c
15816 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
15817 __attribute__ ((unused)).
15818
c60d3bf2
JM
15819 [BZ #14645]
15820 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
15821 x * y if x and y are nonzero and z is zero.
15822
ef1e0867
JM
15823 [BZ #14811]
15824 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
15825 nonzero exponents with absolute value below 0x1p-117 to +/-
15826 0x1p-117.
15827
1468ded3
JM
15828 [BZ #14869]
15829 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
15830 up arguments below 2**-450, not just those below 2**-500.
15831 * math/libm-test.inc (hypot_test): Add another test.
15832
8e27e3cc
JM
15833 [BZ #14868]
15834 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
15835 Return a+b for ratio over 2**120, not 2**60.
15836 * math/libm-test.inc (hypot_test): Add another test.
15837
c9c0279b
JM
15838 * math/libm-test.inc (clog_test): Use
15839 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
15840 (clog10_test): Likewise.
15841
7c7feb47
JM
15842 [BZ #6778]
15843 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
15844
fff1530e
AS
158452012-11-22 Andreas Schwab <schwab@suse.de>
15846
15847 * sysdeps/i386/fpu/libm-test-ulps: Update.
15848
94558d30
PT
158492012-11-22 Pino Toscano <toscano.pino@tiscali.it>
15850
15851 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
15852 printf output with newline.
15853
7e1be741
L
158542012-11-21 H.J. Lu <hongjiu.lu@intel.com>
15855
6bfea974
L
15856 [BZ #14865]
15857 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
15858 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
15859 -z nodlopen, -z initfirst and -z execstack support.
15860 * configure: Regenerated.
15861
7e1be741
L
15862 * elf/elf.h (DF_1_NODIRECT): New macro.
15863 (DF_1_IGNMULDEF): Likewise.
15864 (DF_1_NOKSYMS): Likewise.
15865 (DF_1_NOHDR): Likewise.
15866 (DF_1_EDITED): Likewise.
15867 (DF_1_NORELOC): Likewise.
15868 (DF_1_SYMINTPOSE): Likewise.
15869 (DF_1_GLOBAUDIT): Likewise.
15870 (DF_1_SINGLETON): Likewise.
15871 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
15872 DT_1_SUPPORTED_MASK bits.
15873 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
15874
105ce2ce
CD
158752012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
15876
15877 * sysdeps/unix/make-syscalls.sh: Document prefixes.
15878
123be9de
TS
158792012-11-20 Thomas Schwinge <thomas@codesourcery.com>
15880
d072f3f7
TS
15881 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
15882 macro.
15883
123be9de
TS
15884 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
15885 (sendmmsg): Move declarations...
15886 * socket/sys/socket.h: ... here.
15887 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
15888 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
15889 include it from...
15890 * socket/recvmmsg.c: ... this new file.
15891 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
15892 (sendmmsg): Rename to __sendmmsg, create weak alias and make
15893 definition of __sendmmsg hidden.
15894 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
15895 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
15896 Move ENOSYS stub into and include it from...
15897 * socket/sendmmsg.c: ... this new file.
15898 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
15899 (sysdep_routines): Move recvmmsg and sendmmsg...
15900 * socket/Makefile (routines): ... here.
15901 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
15902 (GLIBC_PRIVATE): Add __sendmmsg.
15903 * include/sys/socket.h (__sendmmsg): Add declarations.
15904 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
15905 sendmmsg.
15906
cf9a5d18
JM
159072012-11-20 Joseph Myers <joseph@codesourcery.com>
15908
15909 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
15910 variable I1 with __attribute__ ((unused)).
15911 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
15912
ecd4caf9
JM
159132012-11-19 Joseph Myers <joseph@codesourcery.com>
15914
be14d48f
JM
15915 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
15916 DUMMY variables with __attribute__ ((unused)).
15917
ecd4caf9
JM
15918 * bits/byteswap.h: Include <bits/types.h>.
15919 (__bswap_64): Use __uint64_t instead of unsigned long long int.
15920
986cab95
PT
159212012-11-19 Pino Toscano <toscano.pino@tiscali.it>
15922
15923 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
15924 string_t. Do not manually set errno.
15925 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
15926 length with __strnlen. Make sure to both set errno and return it on
15927 failure.
15928
6d33cc9d
DM
159292012-11-19 David S. Miller <davem@davemloft.net>
15930
15931 With help from Joseph Myers.
15932 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
15933 very large arguments properly.
15934 * math/libm-test.inc (atan_test): New tests.
15935 (atan2_test): New tests.
15936 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15937 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15938
ee663277
JM
159392012-11-19 Joseph Myers <joseph@codesourcery.com>
15940
877f2d8e
JM
15941 [BZ #14856]
15942 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
15943 Define to 3.
15944
116fc08a
JM
15945 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
15946 [POSIX] (EADDRNOTAVAIL): Likewise.
15947 [POSIX] (EAFNOSUPPORT): Likewise.
15948 [POSIX] (EALREADY): Likewise.
15949 [POSIX] (ECONNABORTED): Likewise.
15950 [POSIX] (ECONNREFUSED): Likewise.
15951 [POSIX] (ECONNRESET): Likewise.
15952 [POSIX] (EDESTADDRREQ): Likewise.
15953 [POSIX] (EDQUOT): Likewise.
15954 [POSIX] (EHOSTUNREACH): Likewise.
15955 [POSIX] (EIDRM): Likewise.
15956 [POSIX] (EISCONN): Likewise.
15957 [POSIX] (ELOOP): Likewise.
15958 [POSIX] (EMULTIHOP): Likewise.
15959 [POSIX] (ENETDOWN): Likewise.
15960 [POSIX] (ENETUNREACH): Likewise.
15961 [POSIX] (ENOBUFS): Likewise.
15962 [POSIX] (ENODATA): Likewise.
15963 [POSIX] (ENOLINK): Likewise.
15964 [POSIX] (ENOMSG): Likewise.
15965 [POSIX] (ENOPROTOOPT): Likewise.
15966 [POSIX] (ENOSR): Likewise.
15967 [POSIX] (ENOSTR): Likewise.
15968 [POSIX] (ENOTCONN): Likewise.
15969 [POSIX] (ENOTSOCK): Likewise.
15970 [POSIX] (EOPNOTSUPP): Likewise.
15971 [POSIX] (EOVERFLOW): Likewise.
15972 [POSIX] (EPROTO): Likewise.
15973 [POSIX] (EPROTONOSUPPORT): Likewise.
15974 [POSIX] (EPROTOTYPE): Likewise.
15975 [POSIX] (ESTALE): Likewise.
15976 [POSIX] (ETIME): Likewise.
15977 [POSIX] (ETXTBSY): Likewise.
15978 [POSIX] (EWOULDBLOCK): Likewise.
15979 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
15980 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
15981 [POSIX] (SEEK_CUR): Likewise.
15982 [POSIX] (SEEK_END): Likewise.
15983 [POSIX || UNIX98] (mode_t): Do not require.
15984 [POSIX] (off_t): Likewise.
15985 [POSIX] (pid_t): Likewise.
15986 [POSIX] (sys/stat.h): Do not allow header.
15987 [POSIX] (unistd.h): Likewise.
15988 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
15989 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
15990 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
15991 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
15992 require.
15993 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
15994 sigevent): Specify elements.
15995 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
15996 entry.
15997 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
15998 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
15999
a483863f
JM
16000 * conform/data/cpio.h-data [POSIX]: Disable whole file.
16001 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
16002 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
16003 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
16004 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
16005 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
16006 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
16007 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
16008 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
16009 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
16010 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
16011 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
16012 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
16013 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
16014 Likewise.
16015 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
16016 Likewise.
16017 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
16018 Likewise.
16019 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
16020 Likewise.
16021 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
16022 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
16023 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
16024 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
16025 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
16026 Specify lower bound on value.
16027 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
16028 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
16029 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
16030 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
16031 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
16032 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
16033 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
16034 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
16035 value.
16036 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
16037 as optional.
16038 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
16039 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
16040 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
16041 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
16042 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
16043 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
16044 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
16045 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
16046 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
16047 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
16048 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
16049 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
16050 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
16051 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
16052 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
16053 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
16054 entry.
16055 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
16056 optional.
16057 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
16058 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
16059 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
16060 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
16061 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
16062 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
16063 Likewise.
16064 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
16065 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
16066 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
16067 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
16068 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
16069 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
16070 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
16071 as optional.
16072 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
16073 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
16074 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
16075 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
16076 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
16077 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
16078 specify as optional.
16079 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
16080 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
16081 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
16082 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
16083 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
16084 [XPG3] (NL_LANGMAX): Likewise.
16085 [POSIX || XPG3] (NL_MSGMAX): Likewise.
16086 [POSIX || XPG3] (NL_NMAX): Likewise.
16087 [POSIX || XPG3] (NL_SETMAX): Likewise.
16088 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
16089 [XPG3] (NZERO): Likewise.
16090 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
16091 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
16092 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
16093 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
16094 (REG_ERANGE): Expect.
16095 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
16096 optional-constant.
16097 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
16098 Use (void) in prototype.
16099 [POSIX] (*_t): Allow.
16100 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
16101 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
16102 (WRDE_BADVAL): Expect.
16103
5ba924e3
JM
16104 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
16105 expect.
16106 [XPG3 || XPG4] (O_RSYNC): Likewise.
16107 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
16108 Likewise.
16109 [XPG3 || XPG4] (pthread_sigmask): Likewise.
16110 [XPG3 || XPG4] (sigqueue): Likewise.
16111 [XPG3 || XPG4] (sigtimedwait): Likewise.
16112 [XPG3 || XPG4] (sigwaitinfo): Likewise.
16113 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
16114 [XPG3 || XPG4] (vsnprintf): Likewise.
16115 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
16116 Likewise.
16117 [XPG3 || XPG4] (blksize_t): Likewise.
16118 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
16119 Likewise.
16120 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
16121 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
16122 [XPG3 || XPG4] (struct itimerspec): Likewise.
16123 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
16124 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
16125 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
16126 [XPG3 || XPG4] (clockid_t): Likewise.
16127 [XPG3 || XPG4] (timer_t): Likewise.
16128 [XPG3 || XPG4] (clock_getres): Likewise.
16129 [XPG3 || XPG4] (clock_gettime): Likewise.
16130 [XPG3 || XPG4] (clock_settime): Likewise.
16131 [XPG3 || XPG4] (nanosleep): Likewise.
16132 [XPG3 || XPG4] (timer_create): Likewise.
16133 [XPG3 || XPG4] (timer_delete): Likewise.
16134 [XPG3 || XPG4] (timer_gettime): Likewise.
16135 [XPG3 || XPG4] (timer_getoverrun): Likewise.
16136 [XPG3 || XPG4] (timer_settime): Likewise.
16137 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
16138 [XPG3 || XPG4] (getlogin_r): Likewise.
16139 [XPG3 || XPG4] (pread): Likewise.
16140 [XPG3 || XPG4] (pthread_atfork): Likewise.
16141 [XPG3 || XPG4] (pwrite): Likewise.
16142
ee663277
JM
16143 [BZ #14835]
16144 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
16145 <bits/siginfo.h>.
16146
942caa16
PT
161472012-11-19 Pino Toscano <toscano.pino@tiscali.it>
16148
e19af380
PT
16149 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
16150 finalizing MALLSTREAM.
16151
942caa16
PT
16152 * sysdeps/mach/hurd/syncfs.c: New file.
16153
cfde9b46
SP
161542012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16155
16156 [BZ #14719]
16157 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
16158 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
16159 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
16160 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
16161 (_nss_dns_gethostbyname4_r): Likewise.
16162 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
16163 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
16164
f6da27e5
PH
161652012-11-19 Peng Haitao <penght@cn.fujitsu.com>
16166
16167 [BZ #13763]
16168 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
16169
6665d4a2
SM
161702012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
16171
1f51ee92
SM
16172 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
16173 * elf/cache.c (print_entry): Print ",AArch64" for
16174 FLAG_AARCH64_LIB64
16175
6665d4a2
SM
16176 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
16177 * elf/cache.c (print_entry): Print ",hard-float" for
16178 FLAG_ARM_LIBHF.
16179
05b227bd
DM
161802012-11-18 David S. Miller <davem@davemloft.net>
16181
16182 With help from Joseph Myers.
16183 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
16184 cutoff to 2**-13.
16185 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
16186 cutoff to 2**-25.
16187 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
16188 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
16189 small.
16190 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
16191 * math/libm-test.inc (y0_test): New tests.
16192 (y1_test): New tests.
16193 * sysdeps/i386/fpu/libm-test-ulps: Update.
16194 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16195 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16196
786b0b67
AS
161972012-11-18 Andreas Schwab <schwab@linux-m68k.org>
16198
16199 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
16200 64-bit targets.
16201 * configure: Regenerated.
16202
8e18b86d
DM
162032012-11-17 David S. Miller <davem@davemloft.net>
16204
16205 [BZ #14811]
16206 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
16207 nonzero exponents with absolute value below 0x1p-128 to +/-
16208 0x1p-128.
16209
531f1ae0
JM
162102012-11-17 Joseph Myers <joseph@codesourcery.com>
16211
12df29e2
JM
16212 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
16213
150dc1a0
JM
16214 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
16215
531f1ae0
JM
16216 * posix/getconf-speclist.c: New file.
16217 * posix/posix-envs.def: Likewise.
16218 * posix/confstr.c (START_ENV_GROUP): New macro.
16219 (END_ENV_GROUP): Likewise.
16220 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
16221 (KNOWN_PRESENT_ENV_STRING): Likewise.
16222 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
16223 (UNKNOWN_ENVIRONMENT): Likewise.
16224 (confstr): Include posix-envs.def instead of handling
16225 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
16226 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
16227 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
16228 (END_ENV_GROUP): Likewise.
16229 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
16230 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
16231 (UNKNOWN_ENVIRONMENT): Likewise.
16232 (__sysconf): Include posix-envs.def instead of handling associated
16233 cases directly here.
16234 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
16235 preprocessing getconf-speclist.c rather than running getconf or
16236 generating empty file.
16237
a93f9cbc
PT
162382012-11-16 Pino Toscano <toscano.pino@tiscali.it>
16239
16240 * scripts/check-local-headers.sh: Ignore 'mach' headers.
16241
d64d9f87
AL
162422012-11-16 Andrej Lajovic <natrij@gmail.com>
16243
16244 [BZ #14672]
16245 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
16246
447885eb
DM
162472012-11-16 David S. Miller <davem@davemloft.net>
16248
16249 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
16250 smaller than LDBL_EPSILON/2.0L, just return xm1.
16251
bcbf9830
L
162522012-11-16 H.J. Lu <hongjiu.lu@intel.com>
16253
16254 * elf/tst-array1.c (init): Set constructor priority to 1000.
16255 (fini): Set destructor priority to 1000.
16256 * elf/tst-array2dep.c: Likewise.
16257
2b766585
SP
162582012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16259
16260 [BZ #11741]
16261 * libio/fileops.c (_IO_new_file_write): Correctly return error.
16262 (_IO_new_file_xsputn): Also return EOF if none of the input
16263 data was written when overflow failed.
16264 * libio/iopadn.c (_IO_padn): Likewise.
16265 * libio/iowpadn.c (_IO_wpadn): Likewise.
16266 * stdio-common/tst-put-error.c: Add copyright notice.
16267 (do_test): Add case for printing padded string.
16268 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
16269 _IO_padn returned error.
16270 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
16271 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
16272 return EOF.
16273
b1848fde
SP
162742012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16275
16276 * libio/libioP.h: Add comment note that the references to C++
16277 bits are now obsolete.
16278
2fd89785
MS
162792012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16280
16281 * math/libm-test.inc (check_complex): Use asprintf.
16282
e3ea5409
JM
162832012-11-14 Joseph Myers <joseph@codesourcery.com>
16284
16285 * debug/pcprofiledump.c (print_version): Update copyright year.
16286 * malloc/memusagestat.c (print_version): Likewise.
16287
2e64d265
L
162882012-11-14 H.J. Lu <hongjiu.lu@intel.com>
16289
16290 [BZ #14831]
16291 * elf/Makefile (tests): Add tst-audit8.
16292 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
16293 ($(objpfx)tst-audit8.out): New target.
16294 (tst-audit8-ENV): New variable.
16295 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
16296 audit if l_reloc_result is NULL.
16297 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
16298 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
16299 * elf/tst-audit8.c: New file.
16300
c485e4d2
MS
163012012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16302
16303 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
16304 * misc/Makefile (CFLAGS-select.c): Define.
16305 * posix/Makefile (CFLAGS-pause.c): Define.
16306
3a0d900a
DM
163072012-11-13 David S. Miller <davem@davemloft.net>
16308
16309 * crypt/Makefile: Move test targets after toplevel Rules
16310 inclusion. Grab any necessary sysdep routines when linking.
16311 * crypt/md5.c (md5_process_block): Remove define, we will always
16312 name it __md5_process_block.
16313 (md5_finish_ctx): Update md5_process_block call.
16314 (md5_stream): Likewise.
16315 (md5_process_bytes): Likewise.
16316 (md5_process_block): Rename to __md5_process_block and move to ...
16317 * crypt/md5-block.c: ... here.
16318 * crypt/sha256.c (sha256_process_block): Move to ...
16319 * crypt/sha256-block.c: ... here.
16320 * crypt/sha512.c (sha512_process_block): Move to ...
16321 * crypt/sha512-block.c: ... here.
16322 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
16323 path.
16324 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
16325 * sysdeps/sparc/sparc64/multiarch/Makefile
16326 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
16327 crypt subdir.
16328 (localedef-aux): Add md5 crypto assembler when in locale subdir.
16329 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
16330 multiarch changes.
16331 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
16332 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
16333 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
16334 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
16335 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
16336 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
16337 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
16338 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
16339 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
16340 file.
16341 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
16342 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
16343 file.
16344 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
16345
8ca89318
JM
163462012-11-13 Joseph Myers <joseph@codesourcery.com>
16347
e27d476a
JM
16348 * timezone/tzselect.ksh: Update from tzcode git revision
16349 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
16350 * timezone/zdump.c: Likewise.
16351 * timezone/zic.c: Likewise.
16352 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
16353 in TZVERSION setting, not $(PKGVERSION).
16354 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
16355 REPORT_BUGS_TO settings.
16356
8ca89318
JM
16357 [BZ #14838]
16358 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
16359 macro.
16360
47594329
MS
163612012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16362
16363 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
16364 detection to immediately after _FP_ROUND().
16365 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
16366 bits are 0.
16367
640ac3f1
DM
163682012-11-11 David S. Miller <davem@davemloft.net>
16369
16370 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
16371 inttypes.h
16372 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
16373 __close rather than their public counterparts.
16374
3d2577bb
JM
163752012-11-10 Joseph Myers <joseph@codesourcery.com>
16376
16377 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
16378 file.
16379 [UNIX98] (sem_timedwait): Do not expect.
16380 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
16381 [XPG4 || UNIX98] (sockatmark): Do not expect.
16382 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
16383 (clock_getcpuclockid): Do not expect.
16384 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
16385 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
16386 Do not expect.
16387 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
16388 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
16389 [UNIX98] (vwscanf): Likewise.
16390 [UNIX98] (vswscanf): Likewise.
16391
fb1ae1ee
JM
163922012-11-09 Joseph Myers <joseph@codesourcery.com>
16393
9ec6f8bd
JM
16394 * timezone/version.h: Remove file.
16395 * timezone/README: Do not refer to version.h.
16396 * timezone/Makefile ($(objpfx)zic.o): New dependency on
16397 $(objpfx)version.h.
16398 ($(objpfx)zdump.o): Likewise.
c3f81911 16399 ($(objpfx)version.h): New target.
9ec6f8bd 16400
0aa8f8a1
JM
16401 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
16402 2012i.
16403 * timezone/README: Don't mention modification to tzselect.ksh.
16404 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
16405 work on unmodified tzselect.ksh. Substitute version numbers in
16406 tzselect.ksh.
16407
4e87147f
JM
16408 * Makefile (format-me): Remove.
16409 (INSTALL): Adjust indentation. Use commands directly instead of
16410 using $(format-me).
16411
8b748aed
JM
16412 * aclocal.m4 (ACX_PKGVERSION): New macro.
16413 (ACX_BUGURL): Likewise.
16414 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
16415 (PKGVERSION): New AC_DEFINE_UNQUOTED.
16416 (REPORT_BUGS_TO): Likewise.
16417 * configure: Regenerated.
16418 * config.h.in (PKGVERSION): New macro.
16419 (REPORT_BUGS_TO): Likewise.
16420 * config.make.in (PKGVERSION): New variable.
16421 (PKGVERSION_TEXI): Likewise.
16422 (REPORT_BUGS_TO): Likewise.
16423 (REPORT_BUGS_TEXI): Likewise.
16424 * Makefile (format-me): Use -I$(common-objpfx)manual.
16425 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
16426 ($(common-objpfx)manual/%): New target.
16427 (manual/%): Remove target.
16428 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
16429 (print_version): Use PKGVERSION.
16430 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
16431 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
16432 and REPORT_BUGS_TO.
16433 ($(objpfx)xtrace): Likewise.
16434 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
16435 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
16436 (print_version): Use PKGVERSION.
16437 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
16438 (do_version): Use PKGVERSION.
16439 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
16440 REPORT_BUGS_TO.
16441 (common-ldd-rewrite): Likewise.
16442 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
16443 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
16444 (print_version): Use PKGVERSION.
16445 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
16446 * elf/pldd.c (argp_program_bug_address): Remove variable.
16447 (more_help): New function.
16448 (argp): Use more_help.
16449 (print_version): Use PKGVERSION.
16450 * elf/sln.c (main): Use PKGVERSION.
16451 (usage): Use REPORT_BUGS_TO.
16452 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
16453 (top level): Use PKGVERSION.
16454 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
16455 (print_version): Use PKGVERSION.
16456 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
16457 (print_version): Use PKGVERSION.
16458 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
16459 (print_version): Use PKGVERSION.
16460 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
16461 (print_version): Use PKGVERSION.
16462 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
16463 (print_version): Use PKGVERSION.
16464 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
16465 (print_version): Use PKGVERSION.
16466 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
16467 and BUGURL.
16468 ($(objpfx)memusage): Likewise.
16469 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
16470 (do_version): Use PKGVERSION.
16471 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
16472 (print_version): Use PKGVERSION.
16473 * malloc/mtrace.pl ($PACKAGE): Remove variable.
16474 ($PKGVERSION): New variable.
16475 ($REPORT_BUGS_TO): Likewise.
16476 (usage): Use $REPORT_BUGS_TO.
16477 (top level): Use $PKGVERSION.
16478 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
16479 ($(objpfx)pkgvers.texi): New rule.
16480 ($(objpfx)stamp-pkgvers): Likewise.
16481 * manual/install.texi: Include pkgvers.texi.
16482 (--with-pkgversion): Document new configure option.
16483 (--with-bugurl): Likewise.
16484 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
16485 than necessarily for this particular distribution. Use
16486 REPORT_BUGS_TO for where to report bugs.
16487 * INSTALL: Regenerated.
16488 * manual/libc.texinfo: Include pkgvers.texi.
16489 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
16490 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
16491 (print_version): Use PKGVERSION.
16492 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
16493 (print_version): Use PKGVERSION.
16494 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
16495 (print_version): Use PKGVERSION.
16496 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
16497 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
16498 macro.
16499 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
16500 (print_version): Use PKGVERSION.
16501 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
16502 (print_version): Use PKGVERSION.
16503 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
16504 and PKGVERSION.
16505
92e4b6a9
JM
16506 * timezone/checktab.awk: Update from tzcode 2012i.
16507 * timezone/ialloc.c: Likewise.
16508 * timezone/private.h: Likewise.
16509 * timezone/scheck.c: Likewise.
16510 * timezone/tzfile.h: Likewise.
16511 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
16512 (TZVERSION): Hardcode tzcode version number.
16513 * timezone/zdump.c: Update from tzcode 2012i.
16514 * timezone/zic.c: Likewise.
16515 * timezone/version.h: New file.
16516 * timezone/README: Describe version.h. Update upstream location.
16517
9bde902c
JM
16518 [BZ #14824]
16519 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
16520 (mktemp): Enable declaration.
16521 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
16522 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
16523 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
16524 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
16525 Likewise.
16526 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
16527 Likewise.
16528 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
16529 Likewise.
16530 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
16531 Likewise.
16532 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
16533 Likewise.
16534 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
16535 Likewise.
16536
fb1ae1ee
JM
16537 [BZ #14821]
16538 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
16539 offset in buffer as u_int32_t not u_long. Consistently use memcpy
16540 for copies of such integer values.
16541 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16542 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16543
2c1adbcb
AJ
165442012-11-09 Andreas Jaeger <aj@suse.de>
16545
16546 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
16547 definitions and declarations that are provided by
16548 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
16549
d0f8457e
AK
165502012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16551
3a235abb 16552 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
16553 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
16554 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
16555 definition.
16556
57241e26
MS
165572012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16558
16559 * elf/elf.h: Update comment before AArch64 relocations.
16560
60e8270d
DM
165612012-11-07 David S. Miller <davem@davemloft.net>
16562
16563 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
16564 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
16565 (__start_context): Declare.
16566 (__makecontext_ret): Delete.
16567 (__makecontext): Hook up __start_context instead of
16568 __makecontext_ret.
16569 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
16570 (sysdep_routines): Add __start_context when in stdlib.
16571
0fbb0fbc
JM
165722012-11-07 Joseph Myers <joseph@codesourcery.com>
16573
16574 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
16575 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
16576 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
16577 hardcoded "nm".
16578 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
16579 (READELF): New variable. Use it instead of hardcoded "readelf".
16580
eb48db7e
L
165812012-11-07 H.J. Lu <hongjiu.lu@intel.com>
16582
16583 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
16584 * sysdeps/x86/Makefile: Here.
16585 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
16586 * sysdeps/x86/tst-xmmymm.sh: This.
16587
05bcf62a
JM
165882012-11-07 Joseph Myers <joseph@codesourcery.com>
16589
c4b6cf53
JM
16590 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
16591 expectations.
16592 [UNIX98] (pthread_barrier_t): Do not expect.
16593 [UNIX98] (pthread_barrierattr_t): Likewise.
16594 [UNIX98] (pthread_spinlock_t): Likewise.
16595 [UNIX98] (pthread_barrier_destroy): Likewise.
16596 [UNIX98] (pthread_barrier_init): Likewise.
16597 [UNIX98] (pthread_barrier_wait): Likewise.
16598 [UNIX98] (pthread_barrierattr_destroy): Likewise.
16599 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
16600 [UNIX98] (pthread_barrierattr_init): Likewise.
16601 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
16602 [UNIX98] (pthread_getcpuclockid): Likewise.
16603 [UNIX98] (pthread_mutex_timedlock): Likewise.
16604 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
16605 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
16606 [UNIX98] (pthread_sigmask): Likewise.
16607 [UNIX98] (pthread_spin_destroy): Likewise.
16608 [UNIX98] (pthread_spin_init): Likewise.
16609 [UNIX98] (pthread_spin_lock): Likewise.
16610 [UNIX98] (pthread_spin_trylock): Likewise.
16611 [UNIX98] (pthread_spin_unlock): Likewise.
16612 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
16613 Do not expect.
16614 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
16615 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
16616 [XPG3 || XPG4] (pthread_cond_t): Likewise.
16617 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
16618 [XPG3 || XPG4] (pthread_key_t): Likewise.
16619 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
16620 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
16621 [XPG3 || XPG4] (pthread_once_t): Likewise.
16622 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
16623 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
16624 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
16625 [XPG3 || XPG4] (pthread_t): Likewise.
16626
cbe6e120
JM
16627 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
16628 not expect.
16629 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
16630
1b126443
JM
16631 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
16632 Change function return type to int.
16633
b961a573
JM
16634 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
16635 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
16636 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
16637 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
16638 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
16639 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
16640 [!POSIX] (posix_madvise): Likewise.
16641 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
16642 && !UNIX98].
16643 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
16644 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
16645 (mode_t): Likewise.
16646 (posix_mem_offset): Likewise.
16647 (posix_typed_mem_get_info): Likewise.
16648 (posix_typed_mem_open): Likewise.
16649
9e188909
JM
16650 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
16651 Change condition to [XOPEN2K8].
16652
05bcf62a
JM
16653 * conform/conformtest.pl: Preprocess allow-header data with -x c
16654 instead of from stdin.
16655 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
16656 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
16657 [C99-based standards] (cerfc): Likewise.
16658 [C99-based standards] (cexp2): Likewise.
16659 [C99-based standards] (cexpm1): Likewise.
16660 [C99-based standards] (clog10): Likewise.
16661 [C99-based standards] (clog1p): Likewise.
16662 [C99-based standards] (clog2): Likewise.
16663 [C99-based standards] (clgamma): Likewise.
16664 [C99-based standards] (ctgamma): Likewise.
16665 [C99-based standards] (cerff): Likewise.
16666 [C99-based standards] (cerfcf): Likewise.
16667 [C99-based standards] (cexp2f): Likewise.
16668 [C99-based standards] (cexpm1f): Likewise.
16669 [C99-based standards] (clog10f): Likewise.
16670 [C99-based standards] (clog1pf): Likewise.
16671 [C99-based standards] (clog2f): Likewise.
16672 [C99-based standards] (clgammaf): Likewise.
16673 [C99-based standards] (ctgammaf): Likewise.
16674 [C99-based standards] (cerfl): Likewise.
16675 [C99-based standards] (cerfcl): Likewise.
16676 [C99-based standards] (cexp2l): Likewise.
16677 [C99-based standards] (cexpm1l): Likewise.
16678 [C99-based standards] (clog10l): Likewise.
16679 [C99-based standards] (clog1pl): Likewise.
16680 [C99-based standards] (clog2l): Likewise.
16681 [C99-based standards] (clgammal): Likewise.
16682 [C99-based standards] (ctgammal): Likewise.
16683 * conform/data/inttypes.h-data [C99-based standards]: Include
16684 stdint.h-data. Remove all expectations for stdint.h contents.
16685 [C99-based standards] (PRI*): Do not allow.
16686 [C99-based standards] (SCN*): Likewise.
16687 [C99-based standards] (*_t): Likewise.
16688 [C99-based-standards] (PRId8): Expect macro.
16689 [C99-based-standards] (PRIi8): Likewise.
16690 [C99-based-standards] (PRIo8): Likewise.
16691 [C99-based-standards] (PRIu8): Likewise.
16692 [C99-based-standards] (PRIx8): Likewise.
16693 [C99-based-standards] (PRIX8): Likewise.
16694 [C99-based-standards] (SCNd8): Likewise.
16695 [C99-based-standards] (SCNi8): Likewise.
16696 [C99-based-standards] (SCNo8): Likewise.
16697 [C99-based-standards] (SCNu8): Likewise.
16698 [C99-based-standards] (SCNx8): Likewise.
16699 [C99-based-standards] (PRIdLEAST8): Likewise.
16700 [C99-based-standards] (PRIiLEAST8): Likewise.
16701 [C99-based-standards] (PRIoLEAST8): Likewise.
16702 [C99-based-standards] (PRIuLEAST8): Likewise.
16703 [C99-based-standards] (PRIxLEAST8): Likewise.
16704 [C99-based-standards] (PRIXLEAST8): Likewise.
16705 [C99-based-standards] (SCNdLEAST8): Likewise.
16706 [C99-based-standards] (SCNiLEAST8): Likewise.
16707 [C99-based-standards] (SCNoLEAST8): Likewise.
16708 [C99-based-standards] (SCNuLEAST8): Likewise.
16709 [C99-based-standards] (SCNxLEAST8): Likewise.
16710 [C99-based-standards] (PRIdFAST8): Likewise.
16711 [C99-based-standards] (PRIiFAST8): Likewise.
16712 [C99-based-standards] (PRIoFAST8): Likewise.
16713 [C99-based-standards] (PRIuFAST8): Likewise.
16714 [C99-based-standards] (PRIxFAST8): Likewise.
16715 [C99-based-standards] (PRIXFAST8): Likewise.
16716 [C99-based-standards] (SCNdFAST8): Likewise.
16717 [C99-based-standards] (SCNiFAST8): Likewise.
16718 [C99-based-standards] (SCNoFAST8): Likewise.
16719 [C99-based-standards] (SCNuFAST8): Likewise.
16720 [C99-based-standards] (SCNxFAST8): Likewise.
16721 [C99-based-standards] (PRId16): Likewise.
16722 [C99-based-standards] (PRIi16): Likewise.
16723 [C99-based-standards] (PRIo16): Likewise.
16724 [C99-based-standards] (PRIu16): Likewise.
16725 [C99-based-standards] (PRIx16): Likewise.
16726 [C99-based-standards] (PRIX16): Likewise.
16727 [C99-based-standards] (SCNd16): Likewise.
16728 [C99-based-standards] (SCNi16): Likewise.
16729 [C99-based-standards] (SCNo16): Likewise.
16730 [C99-based-standards] (SCNu16): Likewise.
16731 [C99-based-standards] (SCNx16): Likewise.
16732 [C99-based-standards] (PRIdLEAST16): Likewise.
16733 [C99-based-standards] (PRIiLEAST16): Likewise.
16734 [C99-based-standards] (PRIoLEAST16): Likewise.
16735 [C99-based-standards] (PRIuLEAST16): Likewise.
16736 [C99-based-standards] (PRIxLEAST16): Likewise.
16737 [C99-based-standards] (PRIXLEAST16): Likewise.
16738 [C99-based-standards] (SCNdLEAST16): Likewise.
16739 [C99-based-standards] (SCNiLEAST16): Likewise.
16740 [C99-based-standards] (SCNoLEAST16): Likewise.
16741 [C99-based-standards] (SCNuLEAST16): Likewise.
16742 [C99-based-standards] (SCNxLEAST16): Likewise.
16743 [C99-based-standards] (PRIdFAST16): Likewise.
16744 [C99-based-standards] (PRIiFAST16): Likewise.
16745 [C99-based-standards] (PRIoFAST16): Likewise.
16746 [C99-based-standards] (PRIuFAST16): Likewise.
16747 [C99-based-standards] (PRIxFAST16): Likewise.
16748 [C99-based-standards] (PRIXFAST16): Likewise.
16749 [C99-based-standards] (SCNdFAST16): Likewise.
16750 [C99-based-standards] (SCNiFAST16): Likewise.
16751 [C99-based-standards] (SCNoFAST16): Likewise.
16752 [C99-based-standards] (SCNuFAST16): Likewise.
16753 [C99-based-standards] (SCNxFAST16): Likewise.
16754 [C99-based-standards] (PRId32): Likewise.
16755 [C99-based-standards] (PRIi32): Likewise.
16756 [C99-based-standards] (PRIo32): Likewise.
16757 [C99-based-standards] (PRIu32): Likewise.
16758 [C99-based-standards] (PRIx32): Likewise.
16759 [C99-based-standards] (PRIX32): Likewise.
16760 [C99-based-standards] (SCNd32): Likewise.
16761 [C99-based-standards] (SCNi32): Likewise.
16762 [C99-based-standards] (SCNo32): Likewise.
16763 [C99-based-standards] (SCNu32): Likewise.
16764 [C99-based-standards] (SCNx32): Likewise.
16765 [C99-based-standards] (PRIdLEAST32): Likewise.
16766 [C99-based-standards] (PRIiLEAST32): Likewise.
16767 [C99-based-standards] (PRIoLEAST32): Likewise.
16768 [C99-based-standards] (PRIuLEAST32): Likewise.
16769 [C99-based-standards] (PRIxLEAST32): Likewise.
16770 [C99-based-standards] (PRIXLEAST32): Likewise.
16771 [C99-based-standards] (SCNdLEAST32): Likewise.
16772 [C99-based-standards] (SCNiLEAST32): Likewise.
16773 [C99-based-standards] (SCNoLEAST32): Likewise.
16774 [C99-based-standards] (SCNuLEAST32): Likewise.
16775 [C99-based-standards] (SCNxLEAST32): Likewise.
16776 [C99-based-standards] (PRIdFAST32): Likewise.
16777 [C99-based-standards] (PRIiFAST32): Likewise.
16778 [C99-based-standards] (PRIoFAST32): Likewise.
16779 [C99-based-standards] (PRIuFAST32): Likewise.
16780 [C99-based-standards] (PRIxFAST32): Likewise.
16781 [C99-based-standards] (PRIXFAST32): Likewise.
16782 [C99-based-standards] (SCNdFAST32): Likewise.
16783 [C99-based-standards] (SCNiFAST32): Likewise.
16784 [C99-based-standards] (SCNoFAST32): Likewise.
16785 [C99-based-standards] (SCNuFAST32): Likewise.
16786 [C99-based-standards] (SCNxFAST32): Likewise.
16787 [C99-based-standards] (PRId64): Likewise.
16788 [C99-based-standards] (PRIi64): Likewise.
16789 [C99-based-standards] (PRIo64): Likewise.
16790 [C99-based-standards] (PRIu64): Likewise.
16791 [C99-based-standards] (PRIx64): Likewise.
16792 [C99-based-standards] (PRIX64): Likewise.
16793 [C99-based-standards] (SCNd64): Likewise.
16794 [C99-based-standards] (SCNi64): Likewise.
16795 [C99-based-standards] (SCNo64): Likewise.
16796 [C99-based-standards] (SCNu64): Likewise.
16797 [C99-based-standards] (SCNx64): Likewise.
16798 [C99-based-standards] (PRIdLEAST64): Likewise.
16799 [C99-based-standards] (PRIiLEAST64): Likewise.
16800 [C99-based-standards] (PRIoLEAST64): Likewise.
16801 [C99-based-standards] (PRIuLEAST64): Likewise.
16802 [C99-based-standards] (PRIxLEAST64): Likewise.
16803 [C99-based-standards] (PRIXLEAST64): Likewise.
16804 [C99-based-standards] (SCNdLEAST64): Likewise.
16805 [C99-based-standards] (SCNiLEAST64): Likewise.
16806 [C99-based-standards] (SCNoLEAST64): Likewise.
16807 [C99-based-standards] (SCNuLEAST64): Likewise.
16808 [C99-based-standards] (SCNxLEAST64): Likewise.
16809 [C99-based-standards] (PRIdFAST64): Likewise.
16810 [C99-based-standards] (PRIiFAST64): Likewise.
16811 [C99-based-standards] (PRIoFAST64): Likewise.
16812 [C99-based-standards] (PRIuFAST64): Likewise.
16813 [C99-based-standards] (PRIxFAST64): Likewise.
16814 [C99-based-standards] (PRIXFAST64): Likewise.
16815 [C99-based-standards] (SCNdFAST64): Likewise.
16816 [C99-based-standards] (SCNiFAST64): Likewise.
16817 [C99-based-standards] (SCNoFAST64): Likewise.
16818 [C99-based-standards] (SCNuFAST64): Likewise.
16819 [C99-based-standards] (SCNxFAST64): Likewise.
16820 [C99-based-standards] (PRIdMAX): Likewise.
16821 [C99-based-standards] (PRIiMAX): Likewise.
16822 [C99-based-standards] (PRIoMAX): Likewise.
16823 [C99-based-standards] (PRIuMAX): Likewise.
16824 [C99-based-standards] (PRIxMAX): Likewise.
16825 [C99-based-standards] (PRIXMAX): Likewise.
16826 [C99-based-standards] (SCNdMAX): Likewise.
16827 [C99-based-standards] (SCNiMAX): Likewise.
16828 [C99-based-standards] (SCNoMAX): Likewise.
16829 [C99-based-standards] (SCNuMAX): Likewise.
16830 [C99-based-standards] (SCNxMAX): Likewise.
16831 [C99-based-standards] (PRIdPTR): Likewise.
16832 [C99-based-standards] (PRIiPTR): Likewise.
16833 [C99-based-standards] (PRIoPTR): Likewise.
16834 [C99-based-standards] (PRIuPTR): Likewise.
16835 [C99-based-standards] (PRIxPTR): Likewise.
16836 [C99-based-standards] (PRIXPTR): Likewise.
16837 [C99-based-standards] (SCNdPTR): Likewise.
16838 [C99-based-standards] (SCNiPTR): Likewise.
16839 [C99-based-standards] (SCNoPTR): Likewise.
16840 [C99-based-standards] (SCNuPTR): Likewise.
16841 [C99-based-standards] (SCNxPTR): Likewise.
16842 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
16843 allow.
16844 * conform/data/stdint.h-data: Update comments to clarify
16845 requirements.
16846 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
16847 type.
16848 [C99-based standards] (INT8_MAX): Likewise.
16849 [C99-based standards] (INT16_MIN): Likewise.
16850 [C99-based standards] (INT16_MAX): Likewise.
16851 [C99-based standards] (INT32_MIN): Likewise.
16852 [C99-based standards] (INT32_MAX): Likewise.
16853 [C99-based standards] (INT64_MIN): Likewise.
16854 [C99-based standards] (INT64_MAX): Likewise.
16855 [C99-based standards] (UINT8_MAX): Likewise.
16856 [C99-based standards] (UINT16_MAX): Likewise.
16857 [C99-based standards] (UINT32_MAX): Likewise.
16858 [C99-based standards] (UINT64_MAX): Likewise.
16859 [C99-based standards] (INT_LEAST8_MIN): Likewise.
16860 [C99-based standards] (INT_LEAST8_MAX): Likewise.
16861 [C99-based standards] (INT_LEAST16_MIN): Likewise.
16862 [C99-based standards] (INT_LEAST16_MAX): Likewise.
16863 [C99-based standards] (INT_LEAST32_MIN): Likewise.
16864 [C99-based standards] (INT_LEAST32_MAX): Likewise.
16865 [C99-based standards] (INT_LEAST64_MIN): Likewise.
16866 [C99-based standards] (INT_LEAST64_MAX): Likewise.
16867 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
16868 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
16869 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
16870 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
16871 [C99-based standards] (INT_FAST8_MIN): Likewise.
16872 [C99-based standards] (INT_FAST8_MAX): Likewise.
16873 [C99-based standards] (INT_FAST16_MIN): Likewise.
16874 [C99-based standards] (INT_FAST16_MAX): Likewise.
16875 [C99-based standards] (INT_FAST32_MIN): Likewise.
16876 [C99-based standards] (INT_FAST32_MAX): Likewise.
16877 [C99-based standards] (INT_FAST64_MIN): Likewise.
16878 [C99-based standards] (INT_FAST64_MAX): Likewise.
16879 [C99-based standards] (UINT_FAST8_MAX): Likewise.
16880 [C99-based standards] (UINT_FAST16_MAX): Likewise.
16881 [C99-based standards] (UINT_FAST32_MAX): Likewise.
16882 [C99-based standards] (UINT_FAST64_MAX): Likewise.
16883 [C99-based standards] (INTPTR_MIN): Likewise.
16884 [C99-based standards] (INTPTR_MAX): Likewise.
16885 [C99-based standards] (UINTPTR_MAX): Likewise.
16886 [C99-based standards] (INTMAX_MIN): Likewise.
16887 [C99-based standards] (INTMAX_MAX): Likewise.
16888 [C99-based standards] (UINTMAX_MAX): Likewise.
16889 [C99-based standards] (PTRDIFF_MIN): Likewise.
16890 [C99-based standards] (PTRDIFF_MAX): Likewise.
16891 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
16892 [C99-based standards] (SIZE_MAX): Likewise.
16893 [C99-based standards] (WCHAR_MAX): Likewise.
16894 [C99-based standards] (WINT_MAX): Likewise.
16895 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
16896 constraint on value.
16897 [C99-based standards] (WCHAR_MIN): Likewise.
16898 [C99-based standards] (WINT_MIN): Likewise.
16899 [C99-based standards] (*_t): Allow.
16900 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
16901 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
16902 Include math.h-data and complex.h-data. Remove all expectations
16903 of math.h and complex.h contents.
16904 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
16905 at end of line.
16906 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
16907 (struct tm): Expect tag.
16908 [C99-based-standards] (wcstof): Expect function.
16909 [C99-based-standards] (wcstold): Likewise.
16910 [C99-based-standards] (wcstoll): Likewise.
16911 [C99-based-standards] (wcstoull): Likewise.
16912 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
16913 macro-int-constant. Specify type.
16914 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
16915 constraint on value.
16916 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16917 Specify type.
16918 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
16919 Specify value.
16920 [ISO C standards]: Do not allow headers.
16921 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
16922 wcs[abcdefghijklmnopqrstuvwxyz]*.
16923 [ISO C standards] (*_t): Do not allow.
16924 * conform/data/wctype.h-data [C99-based standards] (iswblank):
16925 Expect function.
16926 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
16927 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16928 Specify type.
16929 [ISO C standards]: Do not allow headers.
16930 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
16931 is[abcdefghijklmnopqrstuvwxyz]*.
16932 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
16933 to[abcdefghijklmnopqrstuvwxyz]*.
16934 [ISO C standards] (*_t): Do not allow.
16935 * conform/data/stdalign.h-data: New file.
16936 * conform/data/stdbool.h-data: Likewise.
16937 * conform/data/stdnoreturn.h-data: Likewise.
16938
7514feb8
RM
169392012-11-07 Roland McGrath <roland@hack.frob.com>
16940
16941 [BZ #14815]
16942 * manual/filesys.texi (Directory Entries): Typo fix.
16943 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
16944
19b2ecfc
MS
169452012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16946
16947 * elf/elf.h (EM_AARCH64): New macro.
16948 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
16949 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
16950 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
16951 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
16952 (R_AARCH64_TLSDESC): Likewise.
16953 (NT_ARM_TLS): Likewise.
16954 (NT_ARM_HW_BREAK): Likewise.
16955 (NT_ARM_HW_WATCH): Likewise.
16956
60e235ee
JM
169572012-11-07 Joseph Myers <joseph@codesourcery.com>
16958
16959 [BZ #14811]
16960 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
16961 (__ieee754_powl): Saturate nonzero exponents with absolute value
16962 below 0x1p-79 to +/- 0x1p-79.
16963 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
16964 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
16965 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
16966 nonzero exponents with absolute value below 0x1p-32 to +/-
16967 0x1p-32.
16968 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
16969 (__ieee754_powl): Saturate nonzero exponents with absolute value
16970 below 0x1p-79 to +/- 0x1p-79.
16971 * math/libm-test.inc (pow_test): Add more tests.
16972
0ab234b7
AK
169732012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16974
16975 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
16976 _dl_s390_cap_flags with kernel. Increase string length.
16977 (_dl_s390_platforms): Add z196 and zEC12.
16978
45832f74
JM
169792012-11-07 Joseph Myers <joseph@codesourcery.com>
16980
16981 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
16982 Change XOPEN21K to XOPEN2K.
16983
19218757
MK
169842012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
16985
16986 * string/memmove.c: Use memcpy when possible.
16987
c5f45721
AJ
169882012-11-06 Andreas Jaeger <aj@suse.de>
16989
16990 * po/eo.po: Update from translation team.
16991
82477c28
JM
169922012-11-06 Joseph Myers <joseph@codesourcery.com>
16993
16994 [BZ #14793]
16995 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
16996 exponent and small x and y exponents, scale x or y up. Increase
16997 by 2 the exponent used in scaling up.
16998 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16999 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17000 * math/libm-test.inc (fma_test): Add more tests.
17001 (fma_test_towardzero): Likewise.
17002 (fma_test_downward): Likewise.
17003 (fma_test_upward): Likewise.
17004
99252c8c
JM
170052012-11-05 Joseph Myers <joseph@codesourcery.com>
17006
acfa885f
JM
17007 [BZ #14805]
17008 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
17009 fenv_t *.
17010
99252c8c
JM
17011 [BZ #14801]
17012 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
17013 namespace for names of struct fields.
17014 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
17015 fenv_t fields.
17016 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
17017 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
17018
d6d98dea
ST
170192012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
17020
17021 [BZ #3665]
17022 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
17023
e10bb107
TS
170242012-11-04 Thomas Schwinge <thomas@codesourcery.com>
17025
17026 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
17027 PTR_DEMANGLE.
17028
17029 [BZ #5246]
17030 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
17031 PTR_DEMANGLE.
17032
a0c2940d
JM
170332012-11-04 Joseph Myers <joseph@codesourcery.com>
17034
17035 [BZ #14797]
17036 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
17037 definitely overflow as x * y not x * y + z.
17038 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17039 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17040 * math/libm-test.inc (fma_test): Add more tests.
17041 (fma_test_towardzero): Likewise.
17042 (fma_test_downward): Likewise.
17043 (fma_test_upward): Likewise.
17044
b830319d
TS
170452012-11-04 Thomas Schwinge <thomas@codesourcery.com>
17046
17047 [BZ #157]
17048
17049 * include/stub-tag.h: Remove file.
17050 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
17051 '#include' of it.
17052 * manual/maint.texi (Porting): Don't reference it.
17053 * Makerules ($(objpfx)stubs): Likewise.
17054 * dirent/closedir.c: Don't include <stub-tag.h>.
17055 * dirent/dirfd.c: Likewise.
17056 * dirent/fdopendir.c: Likewise.
17057 * dirent/getdents.c: Likewise.
17058 * dirent/getdents64.c: Likewise.
17059 * dirent/opendir.c: Likewise.
17060 * dirent/readdir.c: Likewise.
17061 * dirent/readdir64.c: Likewise.
17062 * dirent/readdir64_r.c: Likewise.
17063 * dirent/readdir_r.c: Likewise.
17064 * dirent/rewinddir.c: Likewise.
17065 * dirent/seekdir.c: Likewise.
17066 * dirent/telldir.c: Likewise.
17067 * gmon/profil.c: Likewise.
17068 * grp/setgroups.c: Likewise.
17069 * inet/if_index.c: Likewise.
17070 * io/access.c: Likewise.
17071 * io/chdir.c: Likewise.
17072 * io/chmod.c: Likewise.
17073 * io/chown.c: Likewise.
17074 * io/close.c: Likewise.
17075 * io/dup.c: Likewise.
17076 * io/dup2.c: Likewise.
17077 * io/dup3.c: Likewise.
17078 * io/euidaccess.c: Likewise.
17079 * io/faccessat.c: Likewise.
17080 * io/fchdir.c: Likewise.
17081 * io/fchmod.c: Likewise.
17082 * io/fchmodat.c: Likewise.
17083 * io/fchown.c: Likewise.
17084 * io/fchownat.c: Likewise.
17085 * io/fcntl.c: Likewise.
17086 * io/flock.c: Likewise.
17087 * io/fstatfs.c: Likewise.
17088 * io/fstatfs64.c: Likewise.
17089 * io/fstatvfs.c: Likewise.
17090 * io/fstatvfs64.c: Likewise.
17091 * io/futimens.c: Likewise.
17092 * io/fxstat.c: Likewise.
17093 * io/fxstat64.c: Likewise.
17094 * io/fxstatat.c: Likewise.
17095 * io/fxstatat64.c: Likewise.
17096 * io/getcwd.c: Likewise.
17097 * io/isatty.c: Likewise.
17098 * io/lchmod.c: Likewise.
17099 * io/lchown.c: Likewise.
17100 * io/link.c: Likewise.
17101 * io/linkat.c: Likewise.
17102 * io/lseek.c: Likewise.
17103 * io/lseek64.c: Likewise.
17104 * io/lxstat64.c: Likewise.
17105 * io/mkdir.c: Likewise.
17106 * io/mkdirat.c: Likewise.
17107 * io/mkfifo.c: Likewise.
17108 * io/mkfifoat.c: Likewise.
17109 * io/open.c: Likewise.
17110 * io/open64.c: Likewise.
17111 * io/openat.c: Likewise.
17112 * io/openat64.c: Likewise.
17113 * io/pipe.c: Likewise.
17114 * io/pipe2.c: Likewise.
17115 * io/poll.c: Likewise.
17116 * io/posix_fadvise.c: Likewise.
17117 * io/posix_fadvise64.c: Likewise.
17118 * io/posix_fallocate.c: Likewise.
17119 * io/posix_fallocate64.c: Likewise.
17120 * io/read.c: Likewise.
17121 * io/readlink.c: Likewise.
17122 * io/readlinkat.c: Likewise.
17123 * io/rmdir.c: Likewise.
17124 * io/sendfile.c: Likewise.
17125 * io/sendfile64.c: Likewise.
17126 * io/statfs.c: Likewise.
17127 * io/statfs64.c: Likewise.
17128 * io/statvfs.c: Likewise.
17129 * io/statvfs64.c: Likewise.
17130 * io/symlink.c: Likewise.
17131 * io/symlinkat.c: Likewise.
17132 * io/ttyname.c: Likewise.
17133 * io/ttyname_r.c: Likewise.
17134 * io/umask.c: Likewise.
17135 * io/unlink.c: Likewise.
17136 * io/unlinkat.c: Likewise.
17137 * io/utime.c: Likewise.
17138 * io/utimensat.c: Likewise.
17139 * io/write.c: Likewise.
17140 * io/xmknod.c: Likewise.
17141 * io/xmknodat.c: Likewise.
17142 * io/xstat.c: Likewise.
17143 * io/xstat64.c: Likewise.
17144 * login/getpt.c: Likewise.
17145 * login/grantpt.c: Likewise.
17146 * login/unlockpt.c: Likewise.
17147 * math/e_acoshl.c: Likewise.
17148 * math/e_acosl.c: Likewise.
17149 * math/e_asinl.c: Likewise.
17150 * math/e_atan2l.c: Likewise.
17151 * math/e_atanhl.c: Likewise.
17152 * math/e_coshl.c: Likewise.
17153 * math/e_expl.c: Likewise.
17154 * math/e_fmodl.c: Likewise.
17155 * math/e_gammal_r.c: Likewise.
17156 * math/e_hypotl.c: Likewise.
17157 * math/e_j0l.c: Likewise.
17158 * math/e_j1l.c: Likewise.
17159 * math/e_jnl.c: Likewise.
17160 * math/e_lgammal_r.c: Likewise.
17161 * math/e_log10l.c: Likewise.
17162 * math/e_log2l.c: Likewise.
17163 * math/e_logl.c: Likewise.
17164 * math/e_powl.c: Likewise.
17165 * math/e_rem_pio2l.c: Likewise.
17166 * math/e_sinhl.c: Likewise.
17167 * math/e_sqrtl.c: Likewise.
17168 * math/fclrexcpt.c: Likewise.
17169 * math/fedisblxcpt.c: Likewise.
17170 * math/feenablxcpt.c: Likewise.
17171 * math/fegetenv.c: Likewise.
17172 * math/fegetexcept.c: Likewise.
17173 * math/fegetround.c: Likewise.
17174 * math/feholdexcpt.c: Likewise.
17175 * math/fesetenv.c: Likewise.
17176 * math/fesetround.c: Likewise.
17177 * math/feupdateenv.c: Likewise.
17178 * math/fgetexcptflg.c: Likewise.
17179 * math/fraiseexcpt.c: Likewise.
17180 * math/fsetexcptflg.c: Likewise.
17181 * math/ftestexcept.c: Likewise.
17182 * math/k_cosl.c: Likewise.
17183 * math/k_rem_pio2l.c: Likewise.
17184 * math/k_sinl.c: Likewise.
17185 * math/k_tanl.c: Likewise.
17186 * math/s_asinhl.c: Likewise.
17187 * math/s_atanl.c: Likewise.
17188 * math/s_cbrtl.c: Likewise.
17189 * math/s_erfl.c: Likewise.
17190 * math/s_expm1l.c: Likewise.
17191 * math/s_log1pl.c: Likewise.
17192 * math/s_tanhl.c: Likewise.
17193 * misc/acct.c: Likewise.
17194 * misc/brk.c: Likewise.
17195 * misc/chflags.c: Likewise.
17196 * misc/chroot.c: Likewise.
17197 * misc/fchflags.c: Likewise.
17198 * misc/fgetxattr.c: Likewise.
17199 * misc/flistxattr.c: Likewise.
17200 * misc/fremovexattr.c: Likewise.
17201 * misc/fsetxattr.c: Likewise.
17202 * misc/fsync.c: Likewise.
17203 * misc/ftruncate.c: Likewise.
17204 * misc/futimes.c: Likewise.
17205 * misc/futimesat.c: Likewise.
17206 * misc/getdomain.c: Likewise.
17207 * misc/getdtsz.c: Likewise.
17208 * misc/gethostid.c: Likewise.
17209 * misc/gethostname.c: Likewise.
17210 * misc/getloadavg.c: Likewise.
17211 * misc/getpagesize.c: Likewise.
17212 * misc/getsysstats.c: Likewise.
17213 * misc/getxattr.c: Likewise.
17214 * misc/gtty.c: Likewise.
17215 * misc/ioctl.c: Likewise.
17216 * misc/lgetxattr.c: Likewise.
17217 * misc/listxattr.c: Likewise.
17218 * misc/llistxattr.c: Likewise.
17219 * misc/lremovexattr.c: Likewise.
17220 * misc/lsetxattr.c: Likewise.
17221 * misc/lutimes.c: Likewise.
17222 * misc/madvise.c: Likewise.
17223 * misc/mincore.c: Likewise.
17224 * misc/mlock.c: Likewise.
17225 * misc/mlockall.c: Likewise.
17226 * misc/mmap.c: Likewise.
17227 * misc/mprotect.c: Likewise.
17228 * misc/msync.c: Likewise.
17229 * misc/munlock.c: Likewise.
17230 * misc/munlockall.c: Likewise.
17231 * misc/munmap.c: Likewise.
17232 * misc/preadv.c: Likewise.
17233 * misc/preadv64.c: Likewise.
17234 * misc/ptrace.c: Likewise.
17235 * misc/pwritev.c: Likewise.
17236 * misc/pwritev64.c: Likewise.
17237 * misc/readv.c: Likewise.
17238 * misc/reboot.c: Likewise.
17239 * misc/remap_file_pages.c: Likewise.
17240 * misc/removexattr.c: Likewise.
17241 * misc/revoke.c: Likewise.
17242 * misc/select.c: Likewise.
17243 * misc/setdomain.c: Likewise.
17244 * misc/setegid.c: Likewise.
17245 * misc/seteuid.c: Likewise.
17246 * misc/sethostid.c: Likewise.
17247 * misc/sethostname.c: Likewise.
17248 * misc/setregid.c: Likewise.
17249 * misc/setreuid.c: Likewise.
17250 * misc/setxattr.c: Likewise.
17251 * misc/sstk.c: Likewise.
17252 * misc/stty.c: Likewise.
17253 * misc/swapoff.c: Likewise.
17254 * misc/swapon.c: Likewise.
17255 * misc/sync.c: Likewise.
17256 * misc/syncfs.c: Likewise.
17257 * misc/syscall.c: Likewise.
17258 * misc/truncate.c: Likewise.
17259 * misc/ualarm.c: Likewise.
17260 * misc/usleep.c: Likewise.
17261 * misc/ustat.c: Likewise.
17262 * misc/utimes.c: Likewise.
17263 * misc/vhangup.c: Likewise.
17264 * misc/writev.c: Likewise.
17265 * posix/_exit.c: Likewise.
17266 * posix/alarm.c: Likewise.
17267 * posix/execve.c: Likewise.
17268 * posix/fexecve.c: Likewise.
17269 * posix/fork.c: Likewise.
17270 * posix/fpathconf.c: Likewise.
17271 * posix/getaddrinfo.c: Likewise.
17272 * posix/getegid.c: Likewise.
17273 * posix/geteuid.c: Likewise.
17274 * posix/getgid.c: Likewise.
17275 * posix/getgroups.c: Likewise.
17276 * posix/getlogin.c: Likewise.
17277 * posix/getlogin_r.c: Likewise.
17278 * posix/getpgid.c: Likewise.
17279 * posix/getpid.c: Likewise.
17280 * posix/getppid.c: Likewise.
17281 * posix/getresgid.c: Likewise.
17282 * posix/getresuid.c: Likewise.
17283 * posix/getsid.c: Likewise.
17284 * posix/getuid.c: Likewise.
17285 * posix/glob64.c: Likewise.
17286 * posix/nanosleep.c: Likewise.
17287 * posix/pathconf.c: Likewise.
17288 * posix/pause.c: Likewise.
17289 * posix/posix_madvise.c: Likewise.
17290 * posix/pread.c: Likewise.
17291 * posix/pread64.c: Likewise.
17292 * posix/pwrite.c: Likewise.
17293 * posix/pwrite64.c: Likewise.
17294 * posix/sched_getaffinity.c: Likewise.
17295 * posix/sched_getp.c: Likewise.
17296 * posix/sched_gets.c: Likewise.
17297 * posix/sched_primax.c: Likewise.
17298 * posix/sched_primin.c: Likewise.
17299 * posix/sched_rr_gi.c: Likewise.
17300 * posix/sched_setaffinity.c: Likewise.
17301 * posix/sched_setp.c: Likewise.
17302 * posix/sched_sets.c: Likewise.
17303 * posix/sched_yield.c: Likewise.
17304 * posix/setgid.c: Likewise.
17305 * posix/setlogin.c: Likewise.
17306 * posix/setpgid.c: Likewise.
17307 * posix/setresgid.c: Likewise.
17308 * posix/setresuid.c: Likewise.
17309 * posix/setsid.c: Likewise.
17310 * posix/setuid.c: Likewise.
17311 * posix/sleep.c: Likewise.
17312 * posix/spawni.c: Likewise.
17313 * posix/sysconf.c: Likewise.
17314 * posix/times.c: Likewise.
17315 * posix/wait.c: Likewise.
17316 * posix/wait3.c: Likewise.
17317 * posix/wait4.c: Likewise.
17318 * posix/waitpid.c: Likewise.
17319 * resolv/gai_sigqueue.c: Likewise.
17320 * resource/getpriority.c: Likewise.
17321 * resource/getrlimit.c: Likewise.
17322 * resource/getrusage.c: Likewise.
17323 * resource/nice.c: Likewise.
17324 * resource/setpriority.c: Likewise.
17325 * resource/setrlimit.c: Likewise.
17326 * resource/ulimit.c: Likewise.
17327 * rt/aio_cancel.c: Likewise.
17328 * rt/aio_fsync.c: Likewise.
17329 * rt/aio_read.c: Likewise.
17330 * rt/aio_sigqueue.c: Likewise.
17331 * rt/aio_suspend.c: Likewise.
17332 * rt/aio_write.c: Likewise.
17333 * rt/clock_getres.c: Likewise.
17334 * rt/clock_gettime.c: Likewise.
17335 * rt/clock_nanosleep.c: Likewise.
17336 * rt/clock_settime.c: Likewise.
17337 * rt/lio_listio.c: Likewise.
17338 * rt/mq_close.c: Likewise.
17339 * rt/mq_getattr.c: Likewise.
17340 * rt/mq_notify.c: Likewise.
17341 * rt/mq_open.c: Likewise.
17342 * rt/mq_receive.c: Likewise.
17343 * rt/mq_send.c: Likewise.
17344 * rt/mq_setattr.c: Likewise.
17345 * rt/mq_timedreceive.c: Likewise.
17346 * rt/mq_timedsend.c: Likewise.
17347 * rt/mq_unlink.c: Likewise.
17348 * rt/shm_open.c: Likewise.
17349 * rt/shm_unlink.c: Likewise.
17350 * rt/timer_create.c: Likewise.
17351 * rt/timer_delete.c: Likewise.
17352 * rt/timer_getoverr.c: Likewise.
17353 * rt/timer_gettime.c: Likewise.
17354 * rt/timer_settime.c: Likewise.
17355 * setjmp/__longjmp.c: Likewise.
17356 * setjmp/setjmp.c: Likewise.
17357 * signal/kill.c: Likewise.
17358 * signal/killpg.c: Likewise.
17359 * signal/raise.c: Likewise.
17360 * signal/sigaction.c: Likewise.
17361 * signal/sigaltstack.c: Likewise.
17362 * signal/sigblock.c: Likewise.
17363 * signal/sigignore.c: Likewise.
17364 * signal/sigintr.c: Likewise.
17365 * signal/signal.c: Likewise.
17366 * signal/sigpause.c: Likewise.
17367 * signal/sigpending.c: Likewise.
17368 * signal/sigqueue.c: Likewise.
17369 * signal/sigreturn.c: Likewise.
17370 * signal/sigset.c: Likewise.
17371 * signal/sigsetmask.c: Likewise.
17372 * signal/sigstack.c: Likewise.
17373 * signal/sigsuspend.c: Likewise.
17374 * signal/sigtimedwait.c: Likewise.
17375 * signal/sigvec.c: Likewise.
17376 * signal/sigwait.c: Likewise.
17377 * signal/sigwaitinfo.c: Likewise.
17378 * signal/sysv_signal.c: Likewise.
17379 * socket/accept.c: Likewise.
17380 * socket/accept4.c: Likewise.
17381 * socket/bind.c: Likewise.
17382 * socket/connect.c: Likewise.
17383 * socket/getpeername.c: Likewise.
17384 * socket/getsockname.c: Likewise.
17385 * socket/getsockopt.c: Likewise.
17386 * socket/isfdtype.c: Likewise.
17387 * socket/listen.c: Likewise.
17388 * socket/recv.c: Likewise.
17389 * socket/recvfrom.c: Likewise.
17390 * socket/recvmsg.c: Likewise.
17391 * socket/send.c: Likewise.
17392 * socket/sendmsg.c: Likewise.
17393 * socket/sendto.c: Likewise.
17394 * socket/setsockopt.c: Likewise.
17395 * socket/shutdown.c: Likewise.
17396 * socket/sockatmark.c: Likewise.
17397 * socket/socket.c: Likewise.
17398 * socket/socketpair.c: Likewise.
17399 * stdio-common/ctermid.c: Likewise.
17400 * stdio-common/cuserid.c: Likewise.
17401 * stdio-common/remove.c: Likewise.
17402 * stdio-common/rename.c: Likewise.
17403 * stdio-common/renameat.c: Likewise.
17404 * stdio-common/tempname.c: Likewise.
17405 * stdlib/getcontext.c: Likewise.
17406 * stdlib/makecontext.c: Likewise.
17407 * stdlib/setcontext.c: Likewise.
17408 * stdlib/swapcontext.c: Likewise.
17409 * stdlib/system.c: Likewise.
17410 * streams/fattach.c: Likewise.
17411 * streams/fdetach.c: Likewise.
17412 * streams/getmsg.c: Likewise.
17413 * streams/getpmsg.c: Likewise.
17414 * streams/putmsg.c: Likewise.
17415 * streams/putpmsg.c: Likewise.
17416 * sysdeps/unix/bsd/getpt.c: Likewise.
17417 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
17418 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
17419 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
17421 Likewise.
17422 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
17423 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
17424 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
17425 * sysvipc/msgctl.c: Likewise.
17426 * sysvipc/msgget.c: Likewise.
17427 * sysvipc/msgrcv.c: Likewise.
17428 * sysvipc/msgsnd.c: Likewise.
17429 * sysvipc/semctl.c: Likewise.
17430 * sysvipc/semget.c: Likewise.
17431 * sysvipc/semop.c: Likewise.
17432 * sysvipc/semtimedop.c: Likewise.
17433 * sysvipc/shmat.c: Likewise.
17434 * sysvipc/shmctl.c: Likewise.
17435 * sysvipc/shmdt.c: Likewise.
17436 * sysvipc/shmget.c: Likewise.
17437 * termios/tcdrain.c: Likewise.
17438 * termios/tcflow.c: Likewise.
17439 * termios/tcflush.c: Likewise.
17440 * termios/tcgetattr.c: Likewise.
17441 * termios/tcgetpgrp.c: Likewise.
17442 * termios/tcsendbrk.c: Likewise.
17443 * termios/tcsetattr.c: Likewise.
17444 * termios/tcsetpgrp.c: Likewise.
17445 * time/adjtime.c: Likewise.
17446 * time/clock.c: Likewise.
17447 * time/getitimer.c: Likewise.
17448 * time/gettimeofday.c: Likewise.
17449 * time/setitimer.c: Likewise.
17450 * time/settimeofday.c: Likewise.
17451 * time/stime.c: Likewise.
17452 * time/time.c: Likewise.
17453
174542012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 17455
a20492cf
PT
17456 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
17457 /usr/old/bin.
17458
72e182e3
PT
17459 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
17460 instead of spaces.
17461 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
17462
fbeafede
JM
174632012-11-03 Joseph Myers <joseph@codesourcery.com>
17464
5b5b04d6
JM
17465 [BZ #14796]
17466 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
17467 FE_TONEAREST before applying Dekker multiplication and Knuth
17468 addition. Clear inexact exceptions and check for exact zero
17469 results afterwards.
17470 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17471 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17472 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17473 * math/libm-test.inc (fma_test): Add more tests.
17474 (fma_test_towardzero): Likewise.
17475 (fma_test_downward): Likewise.
17476 (fma_test_upward): Likewise.
17477 * sysdeps/generic/math_private.h (default_libc_fesetround): New
17478 function.
17479 (libc_fesetround): New macro.
17480 (libc_fesetroundf): Likewise.
17481 (libc_fesetroundl): Likewise.
17482 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
17483 function.
17484 (libc_fesetround_387): Likewise.
17485 (libc_fesetroundf): New macro.
17486 (libc_fesetround): Likewise.
17487 (libc_fesetroundl): Likewise.
17488 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
17489 function.
17490 (libc_fesetroundf): New macro.
17491 (libc_fesetround): Likewise.
17492 (libc_fesetroundl): Likewise.
17493 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
17494 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
17495 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
17496 libm_hidden_ver.
17497 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
17498 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
17499 libm_hidden_def.
17500 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
17501 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
17502 libm_hidden_ver.
17503 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
17504 libm_hidden_def.
17505
fbeafede
JM
17506 [BZ #3439]
17507 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
17508 integer constant usable in #if and use that to give value to enum
17509 constant.
17510 (FE_DIVBYZERO): Likewise.
17511 (FE_UNDERFLOW): Likewise.
17512 (FE_OVERFLOW): Likewise.
17513 (FE_INVALID): Likewise.
17514 (FE_INVALID_SNAN): Likewise.
17515 (FE_INVALID_ISI): Likewise.
17516 (FE_INVALID_IDI): Likewise.
17517 (FE_INVALID_ZDZ): Likewise.
17518 (FE_INVALID_IMZ): Likewise.
17519 (FE_INVALID_COMPARE): Likewise.
17520 (FE_INVALID_SOFTWARE): Likewise.
17521 (FE_INVALID_SQRT): Likewise.
17522 (FE_INVALID_INTEGER_CONVERSION): Likewise.
17523 (FE_TONEAREST): Likewise.
17524 (FE_TOWARDZERO): Likewise.
17525 (FE_UPWARD): Likewise.
17526 (FE_DOWNWARD): Likewise.
17527 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
17528 (FE_DIVBYZERO): Likewise.
17529 (FE_OVERFLOW): Likewise.
17530 (FE_UNDERFLOW): Likewise.
17531 (FE_INEXACT): Likewise.
17532 (FE_TONEAREST): Likewise.
17533 (FE_DOWNWARD): Likewise.
17534 (FE_UPWARD): Likewise.
17535 (FE_TOWARDZERO): Likewise.
17536 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
17537 (FE_UNDERFLOW): Likewise.
17538 (FE_OVERFLOW): Likewise.
17539 (FE_DIVBYZERO): Likewise.
17540 (FE_INVALID): Likewise.
17541 (FE_TONEAREST): Likewise.
17542 (FE_TOWARDZERO): Likewise.
17543 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
17544 (FE_OVERFLOW): Likewise.
17545 (FE_UNDERFLOW): Likewise.
17546 (FE_DIVBYZERO): Likewise.
17547 (FE_INEXACT): Likewise.
17548 (FE_TONEAREST): Likewise.
17549 (FE_TOWARDZERO): Likewise.
17550 (FE_UPWARD): Likewise.
17551 (FE_DOWNWARD): Likewise.
17552 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
17553 (FE_DIVBYZERO): Likewise.
17554 (FE_OVERFLOW): Likewise.
17555 (FE_UNDERFLOW): Likewise.
17556 (FE_INEXACT): Likewise.
17557 (FE_TONEAREST): Likewise.
17558 (FE_DOWNWARD): Likewise.
17559 (FE_UPWARD): Likewise.
17560 (FE_TOWARDZERO): Likewise.
17561
105ca950
CM
175622012-11-02 Chris Metcalf <cmetcalf@tilera.com>
17563
17564 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
17565
a542b389
AS
175662012-11-03 Andreas Schwab <schwab@linux-m68k.org>
17567
17568 * scripts/cross-test-ssh.sh (command): Use newlines to separate
17569 commands. Quote $PWD.
17570 (blacklist_exports): Don't use remove_newlines. Replace "declare
17571 -x" by "export".
17572 (remove_newlines): Remove.
17573
f62c8abc
L
175742012-11-02 H.J. Lu <hongjiu.lu@intel.com>
17575
17576 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
17577 * stdlib/stdlib.h (atof): Moved to ...
17578 * include/bits/stdlib-float.h: Here. New file.
17579 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
17580 * stdlib/bits/stdlib-float.h: New file.
17581 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
17582 -mno-sse -mno-mmx.
17583 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
17584 <xmmintrin.h>.
17585
0155d5b2
JM
175862012-11-02 Joseph Myers <joseph@codesourcery.com>
17587
a68d0680
JM
17588 * conform/conformtest.pl (@headers): Add fenv.h.
17589 * conform/data/fenv.h-data: New file.
17590 * include/fenv.h [_ISOMAC]: Disable all contents of file except
17591 include of <math/fenv.h>.
17592
caf7f573
JM
17593 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
17594 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
17595 && !UNIX98]. Enables tests for XOPEN2K8.
17596 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
17597 POSIX2008]: Likewise.
17598
6c073ad6
JM
17599 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
17600 (struct rusage): Do not expect type or its members.
17601
0155d5b2
JM
17602 [BZ #3439]
17603 * math/math.h (FP_NAN): Define macro to integer constant usable in
17604 #if and use that to give value to enum constant.
17605 (FP_INFINITE): Likewise.
17606 (FP_ZERO): Likewise.
17607 (FP_SUBNORMAL): Likewise.
17608 (FP_NORMAL): Likewise.
17609
b5dcacb4
AS
176102012-11-02 Andreas Schwab <schwab@linux-m68k.org>
17611
17612 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
17613 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
17614 arguments.
17615
f7934be8
RM
176162012-11-02 Roland McGrath <roland@hack.frob.com>
17617
17618 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
17619 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
17620 autoconf-time if not.
17621 * configure.in: Remove AC_PREREQ.
17622
d7d08bde
TMQMF
176232012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17624
17625 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
17626 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
17627 of the internal implementation.
17628
dcdae19a
JM
176292012-11-02 Joseph Myers <joseph@codesourcery.com>
17630
17631 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
17632 except include of <misc/sys/syslog.h>.
17633
d6cffd3e
AS
176342012-11-01 Andreas Schwab <schwab@linux-m68k.org>
17635
17636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
17637 function returns with a NULL context exit with zero.
17638
b3563932
TMQMF
176392012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17640
17641 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
17642
b288a93d
L
176432012-11-01 H.J. Lu <hongjiu.lu@intel.com>
17644
17645 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
17646 (run_program_cmd): This.
17647 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
17648 (tst_langinfo): New variable. Use it.
17649
a2421a68
SAS
176502012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
17651
17652 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
17653 floating point opcodes.
17654
6f796e1b
TS
176552012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17656
7402596b
TS
17657 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
17658 variable.
17659
d0d4f868
TS
17660 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
17661
6f796e1b
TS
17662 * sysdeps/mach/hurd/powerpc: Remove directory.
17663 * sysdeps/mach/powerpc: Likewise.
17664
4da224a2
AS
176652012-11-01 Andreas Schwab <schwab@linux-m68k.org>
17666
17667 * scripts/check-local-headers.sh: Ignore c++ headers.
17668
341dd673
TS
176692012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17670
17671 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
17672 __libc_cleanup_region_start argument.
17673
473611b2
JM
176742012-11-01 Joseph Myers <joseph@codesourcery.com>
17675
17676 [BZ #14784]
17677 [BZ #14785]
17678 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
17679 x * y using scaling, not as x * y + z.
17680 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17681 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17682 * math/libm-test.inc (fma_test): Add more tests.
17683 (fma_test_towardzero): Likewise.
17684 (fma_test_downward): Likewise.
17685 (fma_test_upward): Likewise.
17686
4078da3d
TS
176872012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17688
17689 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
17690
903252aa
JM
176912012-10-31 Joseph Myers <joseph@codesourcery.com>
17692
17693 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
17694 New variable.
17695
cbc818d0
TS
176962012-10-31 Thomas Schwinge <thomas@codesourcery.com>
17697
17698 * rt/tst-shm.c (worker): Correct checking for mmap failure.
17699
5a03cb1e
AS
177002012-10-31 Andreas Schwab <schwab@linux-m68k.org>
17701
17702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17703 Fix sort order.
17704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17705 Likewise.
17706
90aff2ff
TMQMF
177072012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17708
17709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17710 Fix the order of the list for glibc 2.17.
17711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17712 Likewise.
17713
1818fcb7
AS
177142012-10-31 Andreas Schwab <schwab@linux-m68k.org>
17715
17716 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17717
ef82f4da
JM
177182012-10-31 Joseph Myers <joseph@codesourcery.com>
17719
16a0e2ec
JM
17720 [BZ #14610]
17721 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
17722 for low part of x being zero before using __atanl (y).
17723 * math/libm-test.inc (atan2_test): Add another test.
17724
0eb69512
JM
17725 * manual/install.texi (Configuring and compiling): Document
17726 general use of test-wrapper and test-wrapper-env.
17727 * INSTALL: Regenerated.
17728
ef82f4da
JM
17729 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
17730 (__fma): Do not extract and scale down low bits on after-rounding
17731 systems when result rounded to normal precision would have normal
17732 exponent.
17733 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
17734 (__fmal): Do not extract and scale down low bits on after-rounding
17735 systems when result rounded to normal precision would have normal
17736 exponent.
17737 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
17738 (__fmal): Do not extract and scale down low bits on after-rounding
17739 systems when result rounded to normal precision would have normal
17740 exponent.
17741 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
17742 macro.
17743 (fma_test): Add more tests.
17744 (fma_test_towardzero): Likewise.
17745 (fma_test_downward): Likewise.
17746 (fma_test_upward): Likewise.
17747
954ef0d9
L
177482012-10-30 H.J. Lu <hongjiu.lu@intel.com>
17749
17750 * sysdeps/i386/tininess.h: Renamed to ...
17751 * sysdeps/x86/tininess.h: This.
17752 * sysdeps/x86_64/tininess.h: Removed.
17753
df61ffb2
JM
177542012-10-30 Joseph Myers <joseph@codesourcery.com>
17755
17756 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
17757 input. Use $(build-program-cmd).
17758 ($(objpfx)tst-array1-static.out): Likewise.
17759 ($(objpfx)tst-array2.out): Likewise.
17760 ($(objpfx)tst-array3.out): Likewise.
17761 ($(objpfx)tst-array4.out): Likewise.
17762 ($(objpfx)tst-array5.out): Likewise.
17763 ($(objpfx)tst-array5-static.out): Likewise.
17764
01767843
CM
177652012-10-30 Chris Metcalf <cmetcalf@tilera.com>
17766
47cc1490
CM
17767 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
17768 if defined.
17769
01767843
CM
17770 * nss/nsswitch.h (nss_interface_function): Provide new
17771 macro for use with NSS functions.
17772 * grp/initgroups.c: Use new macro.
17773 * nss/getXXbyYY.c: Likewise.
17774 * nss/getXXbyYY_r.c: Likewise.
17775 * nss/getXXent.c: Likewise.
17776 * nss/getXXent_r.c: Likewise.
17777 * sysdeps/posix/getaddrinfo.c: Likewise.
17778
8321aa97
AJ
177792012-10-30 Andreas Jaeger <aj@suse.de>
17780
17781 * po/ru.po: Update Russion translation from translation project.
17782
2a27fd6d
JM
177832012-10-30 Joseph Myers <joseph@codesourcery.com>
17784
8627a232
JM
17785 [BZ #14152]
17786 [BZ #14783]
17787 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
17788 result and shift together with sticky bit instead of replicating
17789 round-to-nearest rounding.
17790 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17791 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17792 * math/libm-test.inc (fma_test): Add more tests. Do not permit
17793 missing underflow exceptions.
17794 (fma_test_towardzero): Add more tests.
17795 (fma_test_downward): Likewise.
17796 (fma_test_upward): Likewise.
17797
2a27fd6d
JM
17798 [BZ #14047]
17799 * sysdeps/generic/tininess.h: New file.
17800 * sysdeps/i386/tininess.h: Likewise.
17801 * sysdeps/sh/tininess.h: Likewise.
17802 * sysdeps/x86_64/tininess.h: Likewise.
17803 * stdlib/tst-strtod-underflow.c: Likewise.
17804 * stdlib/tst-tininess.c: Likewise.
17805 * stdlib/strtod_l.c: Include <tininess.h>.
17806 (round_and_return): Do not set errno for exact underflow cases.
17807 Force an underflow exception when setting errno for underflow.
17808 Determine underflow based on rounding to normal precision if
17809 TININESS_AFTER_ROUNDING.
17810 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
17811 ERANGE for exact underflow cases.
17812 * stdlib/Makefile (tests): Add tst-tininess and
17813 tst-strtod-underflow.
17814 ($(objpfx)tst-tininess): Use $(link-libm).
17815 ($(objpfx)tst-strtod-underflow): Likewise.
17816
e7170363
AJ
178172012-10-30 Andreas Jaeger <aj@suse.de>
17818
e5088dc6
AJ
17819 [BZ#14767]
17820 * elf/Makefile (tests): Remove conditional for have-initfini-array
17821 since this is now always required and the variable does not exist
17822 anymore.
17823 (tests-static): Likewise.
17824 (modules-names): Likewise.
17825
e7170363 17826 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
17827
17828 * elf/tst-array1.c (fini_array): Make writeable so that it can be
17829 merged with constructor/destructor.
17830 (init_array): Likewise.
17831 * elf/tst-array2dep.c (fini_array): Likewise.
17832 (init_array): Likewise.
17833
60457d8a
MF
178342012-10-29 Mike Frysinger <vapier@gentoo.org>
17835
17836 * manual/message.texi: Delete @cartouche tags.
17837
8bece752
PT
178382012-10-29 Pino Toscano <toscano.pino@tiscali.it>
17839
94ce799f
PT
17840 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
17841 EOPNOTSUPP.
17842 * sysdeps/mach/hurd/fsync.c: Likewise.
17843
8bece752
PT
17844 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
17845 [_POSIX_REALTIME_SIGNALS]: Change condition to
17846 [_POSIX_REALTIME_SIGNALS > 0].
17847
86ebe6b1
AJ
178482012-10-27 Andreas Jaeger <aj@suse.de>
17849
17850 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
17851 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
17852 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
17853 [__WORDSIZE != 64]: Likewise.
17854
54399c08
L
178552012-10-26 H.J. Lu <hongjiu.lu@intel.com>
17856
17857 * iconvdata/tst-table.sh: Remove ${SHELL}.
17858 * iconvdata/tst-tables.sh: Likewise.
17859
e2211bed
DM
178602012-10-25 David S. Miller <davem@davemloft.net>
17861
17862 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17863 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
17864 of strtoull.
17865
f303f97c
DM
17866 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
17867 ifunc-impl-list.c
17868 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17869 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
17870 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
17871 file.
17872
1e9d84cd
RM
178732012-10-25 Roland McGrath <roland@hack.frob.com>
17874
17875 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17876 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
17877 __getdirentries.
17878
df381762
JM
178792012-10-25 Joseph Myers <joseph@codesourcery.com>
17880 Jim Blandy <jimb@codesourcery.com>
17881
17882 * scripts/cross-test-ssh.sh: New file.
17883 * manual/install.texi (Configuring and compiling): Document use of
17884 cross-test-ssh.sh.
17885 * INSTALL: Regenerated.
17886
bff64913
PT
178872012-10-25 Pino Toscano <toscano.pino@tiscali.it>
17888
17889 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
17890 EOPNOTSUPP.
17891
25fe8932
JM
178922012-10-25 Joseph Myers <joseph@codesourcery.com>
17893
17894 * Makeconfig (run-program-prefix): Fix comment.
17895
cc1290d0
JM
178962012-10-24 Joseph Myers <joseph@codesourcery.com>
17897 Jim Blandy <jimb@codesourcery.com>
17898
17899 * Makeconfig (test-wrapper): New variable,
17900 (test-wrapper-env): Likewise.
17901 [$(cross-compiling) = yes && $(test-wrapper) != ""]
17902 (run-built-tests): Define to yes.
17903 (run-program-prefix): Use $(test-wrapper).
17904 (built-program-cmd): Likewise.
17905 * Rules (make-test-out): Use $(test-wrapper-env) and
17906 $(host-built-program-cmd).
17907 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
17908 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
17909 tst-pathopt.sh.
17910 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
17911 $(test-wrapper-env) to tst-rtld-load-self.sh.
17912 ($(objpfx)order2.out): Use $(test-wrapper).
17913 ($(objpfx)tst-initorder.out): Likewise.
17914 ($(objpfx)tst-initorder2.out): Likewise.
17915 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
17916 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
17917 (test_wrapper_env): New variable. Use it to run ld.so.
17918 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
17919 Use it to run ld.so.
17920 (test_wrapper_env): Likewise.
17921 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
17922 $(test-wrapper) to run-iconv-test.sh.
17923 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
17924 (ICONV): Use $test_wrapper.
17925 * posix/Makefile ($(objpfx)globtest.out): Pass
17926 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
17927 globtest.sh, not $(run-program-prefix).
17928 * posix/globtest.sh (run_via_rtld_prefix): New variable.
17929 (test_wrapper): Likewise.
17930 (test_wrapper_env): Likewise. Use it to run globtest with HOME
17931 set together with run_via_rtld_prefix.
17932 (run_program_prefix): Define in terms of test_wrapper and
17933 run_via_rtld_prefix.
17934
6e6249d0
RM
179352012-10-24 Roland McGrath <roland@hack.frob.com>
17936
17937 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
17938 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
17939 Targets removed.
17940
17941 [BZ #14743]
17942 * include/time.h: Remove librt_hidden_proto (clock_gettime).
17943 Declare __clock_getres, __clock_gettime, __clock_settime,
17944 __clock_nanosleep, and __clock_getcpuclockid.
17945 * rt/clock_gettime.c: Define __clock_gettime as an alias.
17946 Remove librt_hidden_def (clock_gettime).
17947 * sysdeps/unix/clock_gettime.c: Likewise.
17948 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
17949 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
17950 * rt/clock_getres.c: Define __clock_getres as an alias.
17951 * sysdeps/posix/clock_getres.c: Likewise.
17952 * rt/clock_settime.c: Define __clock_settime as an alias.
17953 * sysdeps/unix/clock_settime.c: Likewise.
17954 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
17955 * sysdeps/unix/clock_nanosleep.c: Likewise.
17956 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
17957 * rt/clock-compat.c: New file.
17958 * rt/Makefile (librt-routines): Add clock-compat and move
17959 $(clock-routines) to ...
17960 (routines): ... here, new variable.
17961 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
17962 Don't add get_clockfreq here.
17963 * rt/Versions (libc: GLIBC_2.17): New version set.
17964 Add clock_* symbols here.
17965 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
17966 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
17967 (GLIBC_2.17): Add clock_* symbols.
17968 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
17969 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
17970 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17972 Likewise.
17973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17974 Likewise.
17975 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17976 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
17977 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
17978 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
17979 * NEWS: Mention the move.
17980
17981 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
17982 Use __open, __read, __close rather than their public counterparts.
17983 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17984 (__get_clockfreq_via_cpuinfo): Likewise.
17985 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
17986 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
17987
17988 * config.h.in (HAVE_IFUNC): New #undef.
17989 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
17990 was successful.
17991 * configure: Regenerated.
17992
0cae3f4b
MF
179932012-10-24 Mike Frysinger <vapier@gentoo.org>
17994
17995 * configure.in: Move READELF check to start of file.
17996 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
17997 libc_cv_asm_gnu_indirect_function in the process.
17998 * configure: Regenerated.
17999
8175a253
MF
180002012-10-24 Mike Frysinger <vapier@gentoo.org>
18001
18002 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
18003 send the output to /dev/null.
18004 (libc_cv_cc_with_libunwind): Likewise.
18005 (libc_cv_as_noexecstack): Likewise.
18006 * configure: Regenerate.
18007
0708a7d1
JM
180082012-10-24 Joseph Myers <joseph@codesourcery.com>
18009
10b40d85
JM
18010 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
18011
0708a7d1
JM
18012 * posix/globtest.sh (TMPDIR): Do not set.
18013 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
18014 (testout): Likewise.
18015
9fddec1a
AJ
180162012-10-24 Andreas Jaeger <aj@suse.de>
18017
3a8db22f
AJ
18018 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
18019 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
18020 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
18021 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
18022 posix_fadvise64, posix_fallocate64.
18023
9fddec1a
AJ
18024 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
18025 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
18026 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
18027 Likewise.
18028 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
18029 Likewise.
18030 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
18031
18032 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
18033 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
18034 <bits/fcntl-linux.h>.
18035 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
18036
18037 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
18038 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
18039 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
18040 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
18041 [__WORDSIZE != 64]: Likewise.
18042
ebfd1bbd
JM
180432012-10-23 Joseph Myers <joseph@codesourcery.com>
18044
03ac099f
JM
18045 * Makeconfig (run-built-tests): New variable.
18046 * Rules [$(cross-compiling) = yes]: Change condition to
18047 [$(run-built-tests) = no].
18048 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
18049 to [$(run-built-tests) = yes].
18050 * elf/Makefile [$(cross-compiling) = no]: Likewise
18051 * grp/Makefile [$(cross-compiling) = no]: Likewise.
18052 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
18053 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
18054 * intl/Makefile [$(cross-compiling) = no]: Likewise.
18055 * io/Makefile [$(cross-compiling) = no]: Likewise.
18056 * libio/Makefile [$(cross-compiling) = no]: Likewise.
18057 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
18058 * misc/Makefile [$(cross-compiling) = no]: Likewise.
18059 * posix/Makefile [$(cross-compiling) = no]: Likewise.
18060 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
18061 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
18062 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
18063 * string/Makefile [$(cross-compiling) = no]: Likewise.
18064
ebfd1bbd
JM
18065 * posix/Makefile ($(objpfx)globtest.out): Pass
18066 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
18067 $(rtld-installed-name).
18068 * posix/globtest.sh (elf_objpfx): Remove variable.
18069 (rtld_installed_name): Likewise.
18070 (library_path): Likewise.
18071 (run_program_prefix): New variable. Use for running globtest
18072 binary.
18073
166bca24
JB
180742012-10-23 Jim Blandy <jimb@codesourcery.com>
18075 Joseph Myers <joseph@codesourcery.com>
18076
18077 * Makeconfig (host-built-program-cmd): New variable.
18078 * elf/Makefile (tst-stackguard1-ARGS): Use
18079 $(host-built-program-cmd).
18080 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
18081 (tst-spawn-ARGS): Likewise.
18082 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
18083
88866099
JM
180842012-10-23 Joseph Myers <joseph@codesourcery.com>
18085 Jim Blandy <jimb@codesourcery.com>
18086
18087 * Makeconfig (run-via-rtld-prefix): New variable.
18088 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
18089 (built-program-cmd): Likewise.
18090
b4b4c296
AJ
180912012-10-22 Andreas Jaeger <aj@suse.de>
18092
18093 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
18094 __O_RSYNC if it exists, otherwise to O_SYNC.
18095
6fb54a22
JB
180962012-10-22 Jim Blandy <jimb@codesourcery.com>
18097 Joseph Myers <joseph@codesourcery.com>
18098
18099 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
18100 /dev/null.
18101 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
18102 from /dev/null
18103 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
18104 /dev/null.
18105
481b90b9
AJ
181062012-10-22 Andreas Jaeger <aj@suse.de>
18107
2a0e2669
AJ
18108 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
18109 Define always.
18110 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
18111
76e38f9a
AJ
18112 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18113 bits/fcntl-linux.h.
18114
7cd37b43
AJ
18115 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
18116 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
18117
481b90b9
AJ
18118 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
18119 to __O_LARGEFILE.
18120 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
18121 to __O_LARGEFILE.
18122
aba75984
JB
181232012-10-21 Jim Blandy <jimb@codesourcery.com>
18124 Joseph Myers <joseph@codesourcery.com>
18125
18126 * config.make.in (NM): New variable.
18127
88d4247f
AJ
181282012-10-21 Andreas Jaeger <aj@suse.de>
18129
18130 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
18131 definitions and declarations that are provided by
18132 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
18133
f2eed205
L
181342012-10-20 H.J. Lu <hongjiu.lu@intel.com>
18135
18136 [BZ #14683]
18137 * elf/Makefile (tests-static): Add tst-leaks1-static.
18138 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
18139 ($(objpfx)tst-leaks1-static): New rule.
18140 ($(objpfx)tst-leaks1-static-mem): Likewise.
18141 (tst-leaks1-static-ENV): New macro.
18142 * elf/dl-open.c (dl_open_worker): Check the main application
18143 only if SHARED is defined.
18144 * elf/tst-leaks1-static.c: New file.
18145
335e6931
AJ
181462012-10-20 Andreas Jaeger <aj@suse.de>
18147
18148 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
18149 generic values for Linux.
18150 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
18151 and declarations that are provided by <bits/fcntl-linux.h> and
18152 include <bits/fcntl-linux.h>.
18153 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18154 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18155
ac5c94d3
RM
181562012-10-20 Roland McGrath <roland@hack.frob.com>
18157
18158 * io/fcntl.h: Move include of <bits/types.h> to the top and
18159 include it unconditionally.
18160
de54b33a
L
181612012-10-20 H.J. Lu <hongjiu.lu@intel.com>
18162
228cfb01
L
18163 * wcsmbs/Makefile (tests-ifunc): New variable.
18164 (tests): Add $(tests-ifunc).
18165 * wcsmbs/test-wcschr-ifunc.c: New file.
18166 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
18167 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
18168 * wcsmbs/test-wcslen-ifunc.c: Likewise.
18169 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
18170 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
18171
69f07e5f
L
18172 * string/Makefile (tests-ifunc): New variable.
18173 (tests): Add $(tests-ifunc).
18174 * string/test-memccpy.c (TEST_NAME): New macro.
18175 * string/test-memchr.c (TEST_NAME): Likewise.
18176 * string/test-memcmp.c (TEST_NAME): Likewise.
18177 * string/test-memcpy.c (TEST_NAME): Likewise.
18178 * string/test-memmem.c (TEST_NAME): Likewise.
18179 * string/test-memmove.c (TEST_NAME): Likewise.
18180 * string/test-memset.c (TEST_NAME): Likewise.
18181 * string/test-rawmemchr.c (TEST_NAME): Likewise.
18182 * string/test-stpcpy.c (TEST_NAME): Likewise.
18183 * string/test-stpncpy.c (TEST_NAME): Likewise.
18184 * string/test-strcasecmp.c (TEST_NAME): Likewise.
18185 * string/test-strcasestr.c (TEST_NAME): Likewise.
18186 * string/test-strcat.c (TEST_NAME): Likewise.
18187 * string/test-strchr.c (TEST_NAME): Likewise.
18188 * string/test-strcmp.c(TEST_NAME): Likewise.
18189 * string/test-strcpy.c (TEST_NAME): Likewise.
18190 * string/test-strcspn.c (TEST_NAME): Likewise.
18191 * string/test-strlen.c (TEST_NAME): Likewise.
18192 * string/test-strncasecmp.c (TEST_NAME): Likewise.
18193 * string/test-strncmp.c (TEST_NAME): Likewise.
18194 * string/test-strncpy.c (TEST_NAME): Likewise.
18195 * string/test-strnlen.c (TEST_NAME): Likewise.
18196 * string/test-strpbrk.c (TEST_NAME): Likewise.
18197 * string/test-strrchr.c (TEST_NAME): Likewise.
18198 * string/test-strspn.c (TEST_NAME): Likewise.
18199 * string/test-strstr.c (TEST_NAME): Likewise.
18200 * string/test-bcopy-ifunc.c: New file.
18201 * string/test-bzero-ifunc.c: Likewise.
18202 * string/test-memccpy-ifunc.c: Likewise.
18203 * string/test-memchr-ifunc.c: Likewise.
18204 * string/test-memcmp-ifunc.c: Likewise.
18205 * string/test-memcpy-ifunc.c: Likewise.
18206 * string/test-memmem-ifunc.c: Likewise.
18207 * string/test-memmove-ifunc.c: Likewise.
18208 * string/test-mempcpy-ifunc.c: Likewise.
18209 * string/test-memset-ifunc.c: Likewise.
18210 * string/test-rawmemchr-ifunc.c: Likewise.
18211 * string/test-stpcpy-ifunc.c: Likewise.
18212 * string/test-stpncpy-ifunc.c: Likewise.
18213 * string/test-strcasecmp-ifunc.c: Likewise.
18214 * string/test-strcasestr-ifunc.c: Likewise.
18215 * string/test-strcat-ifunc.c: Likewise.
18216 * string/test-strchr-ifunc.c: Likewise.
18217 * string/test-strchrnul-ifunc.c: Likewise.
18218 * string/test-strcmp-ifunc.c: Likewise.
18219 * string/test-strcpy-ifunc.c: Likewise.
18220 * string/test-strcspn-ifunc.c: Likewise.
18221 * string/test-strlen-ifunc.c: Likewise.
18222 * string/test-strncasecmp-ifunc.c: Likewise.
18223 * string/test-strncat-ifunc.c: Likewise.
18224 * string/test-strncmp-ifunc.c: Likewise.
18225 * string/test-strncpy-ifunc.c: Likewise.
18226 * string/test-strnlen-ifunc.c: Likewise.
18227 * string/test-strpbrk-ifunc.c: Likewise.
18228 * string/test-strrchr-ifunc.c: Likewise.
18229 * string/test-strspn-ifunc.c: Likewise.
18230 * string/test-strstr-ifunc.c: Likewise.
18231
de54b33a
L
18232 * debug/Makefile (tests-ifunc): New variable.
18233 (tests): Add $(tests-ifunc).
18234 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
18235 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
18236 * debug/test-stpcpy_chk-ifunc.c: New file.
18237 * debug/test-strcpy_chk-ifunc.c: Likewise.
18238
88481c16
SP
182392012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18240
18241 [BZ #13601]
18242 * elf/dl-load.c (open_verify): Retry read if the entire ELF
18243 header is not read in.
18244
135948bd
JM
182452012-10-19 Joseph Myers <joseph@codesourcery.com>
18246
89f1c388
JM
18247 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
18248 script to $(SHELL) as $<. Pass $(common-objpfx) to script
18249 directly. Pass built executable to script as
18250 $(built-program-cmd).
18251 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
18252 $testprogram without using LD_LIBRARY_PATH and $ldso.
18253
e40a0d21
JM
18254 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
18255 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
18256 $(rtld-installed-name).
18257 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
18258 (rtld_installed_name): Likewise.
18259 (library_path): Likewise.
18260 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
18261 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
18262 $(run-program-prefix) to tst-tables.sh.
18263 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
18264 it to run tst-table-from and tst-table-to.
18265 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
18266 Pass it to tst-table.sh.
18267 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
18268 $(run-program-prefix) to tst-gettext.sh.
18269 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
18270 tst-translit.sh.
18271 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
18272 tst-gettext2.sh.
18273 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
18274 to run tst-gettext.
18275 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
18276 to run tst-gettext2.
18277 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
18278 to run tst-translit.
18279 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
18280 $(run-program-prefix) to tst-mtrace.sh.
18281 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
18282 to run tst-mtrace.
18283 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
18284 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
18285 $(rtld-installed-name).
18286 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
18287 (rtld_installed_name): Likewise.
18288 (run_program_prefix): New variable. Use it to run wordexp-test.
18289
728e272a
JM
18290 * Makeconfig (ARCH): Remove all definitions.
18291 (machine): Likewise.
18292 [ARCH]: Remove conditional code.
18293 [!objdir]: Give error.
18294 [!objdir] (objpfx): Remove.
18295 [!objdir] (common-objpfx): Likewise.
18296 [!objdir] (common-objdir): Likewise.
18297 * configure.in (config_makefile): Remove. Hardcode Makefile in
18298 AC_CONFIG_FILES call.
18299 * configure: Regenerated.
18300
d528cdcf
JM
18301 [BZ #13888]
18302 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
18303 or TMPDIR.
18304 (testout): Likewise.
18305
135948bd
JM
18306 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
18307 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
18308 $(rtld-installed-name).
18309 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
18310 (rtld_installed_name): Likwise.
18311 (runit): Remove function.
18312 (run_getconf): New variable, Use it for running getconf binary.
18313
38c78296
L
183142012-10-18 H.J. Lu <hongjiu.lu@intel.com>
18315
18316 [BZ #14716]
18317 * string/test-memmem.c (check_result): New function.
18318 (do_one_test): Use it.
18319 (check1): New function.
18320 (test_main): Use it.
18321
d077f65f
MT
183222012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
18323
18324 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
18325
ced52c71
JM
183262012-10-18 Joseph Myers <joseph@codesourcery.com>
18327
18328 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
18329 (_G_LSEEK64): Likewise.
18330 (_G_MMAP64): Likewise.
18331 (_G_FSTAT64): Likewise.
18332 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
18333 (_G_LSEEK64): Likewise.
18334 (_G_MMAP64): Likewise.
18335 (_G_FSTAT64): Likewise.
18336 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
18337 unconditional. Call __mmap64 directly.
18338 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
18339 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
18340 __lseek64 directly.
18341 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
18342 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
18343 __mmap64 directly.
18344 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
18345 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
18346 __lseek64 directly.
18347 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
18348 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
18349 __lseek64 directly.
18350 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
18351 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
18352 __lseek64 directly.
18353 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
18354 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
18355 __fxstat64 directly.
18356 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
18357 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
18358 unconditional.
18359 (freopen64) [!_G_OPEN64]: Remove conditional code.
18360 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
18361 unconditional.
18362 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
18363 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
18364 unconditional.
18365 (ftello64) [!_G_LSEEK64]: Remove conditional code.
18366 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
18367 unconditional.
18368 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
18369 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
18370 unconditional.
18371 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
18372 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
18373 unconditional.
18374 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
18375 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
18376 unconditional.
18377 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
18378 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
18379 unconditional.
18380 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
18381
b741de23
SP
183822012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18383
18384 [BZ #12140]
18385 * manual/memory.texi (Malloc Tunable Parameters): Add note
18386 about free list pointers overwriting some perturb bytes.
18387 Wording suggested by Roland McGrath.
18388
f9b9d9c9
JM
183892012-10-17 Joseph Myers <joseph@codesourcery.com>
18390
18391 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
18392 (lgamma_test): Likewise.
18393 (tgamma_test): Likewise.
18394
172a631a
FW
183952012-10-16 Florian Weimer <fweimer@redhat.com>
18396
18397 [BZ #14700]
18398 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
18399 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
18400
e9f37252
MK
184012012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
18402
18403 * NEWS: Mention BZ #14716.
18404 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
18405 when removing AVAILABLE1_USES_J macro.
18406
d394eb74
L
184072012-10-12 H.J. Lu <hongjiu.lu@intel.com>
18408
18409 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
18410 (__bswap_64): __uint64_t for unsigned 64-bit int.
18411
ca38dc17
AS
184122012-10-12 Andreas Schwab <schwab@linux-m68k.org>
18413
18414 * include/string.h (memmem): Declare libc hidden alias.
18415 * string/memmem.c (memmem): Define libc hidden alias.
18416 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
18417 __read, __close instead of open, read, close.
18418
9a387d1f
L
184192012-10-11 H.J. Lu <hongjiu.lu@intel.com>
18420
ac49ecaf
L
18421 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
18422 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
18423 global and hidden.
18424 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
18425 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
18426 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
18427 Likewise.
18428 (__rawmemchr_sse2): Likewise.
18429 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
18430 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
18431 (__strchr_sse2): Likewise.
18432 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
18433 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
18434 (__strcasecmp_sse2): Likewise.
18435 (__strncasecmp_sse2): Likewise.
18436 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
18437 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
18438 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
18439 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
18440 (__strrchr_sse2): Likewise.
18441 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
18442 ifunc-impl-list.c.
18443 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
18444 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
18445 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
18446 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18447 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
18448 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
18449 * sysdeps/x86_64/multiarch/memset.S: Likewise.
18450 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18451 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
18452 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
18453 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
18454 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
18455 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
18456 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
18457 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
18458 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18459 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
18460 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
18461 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
18462 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
18463 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
18464 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
18465 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
18466 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
18467 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
18468 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18469 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
18470 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
18471 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
18472 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
18473
b090e8ea
L
18474 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
18475 global and hidden.
18476 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
18477 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
18478 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
18479 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
18480 Likewise.
18481 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
18482 Likewise.
18483 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
18484 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
18485 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
18486 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
18487 ifunc-impl-list.c.
18488 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18489 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18490 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18491 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18492 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18493 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18494 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18495 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18496 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18497 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18498 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18499 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18500 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18501 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
18502 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
18503 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18504 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
18505 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
18506 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18507 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18508 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18509 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18510 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18511 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18512 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18513 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
18514 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
18515 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
18516 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
18517 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18518 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
18519 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18520 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18521 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
18522 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18523 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18524 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18525 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18526 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18527 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18528 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
18529
11dd4af6
L
18530 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
18531 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
18532 * include/ifunc-impl-list.h: New file.
18533 * misc/ifunc-impl-list.c: Likewise.
18534 * misc/Makefile (routines): Add ifunc-impl-list.
18535 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
18536 * string/test-string.h: Include <ifunc-impl-list.h>.
18537 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
18538 impl_array): New variables.
18539 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
18540 are defined.
18541 (test_init): Call __libc_ifunc_impl_list to initialize
18542 func_list if TEST_IFUNC and TEST_NAME are defined.
18543
9a387d1f
L
18544 * string/Makefile (strop-tests): Add bcopy and bzero.
18545 * string/test-bcopy.c: New file.
18546 * string/test-bzero.c: Likewise.
18547 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
18548 defined.
18549 * string/test-memset.c: Support bzero test if TEST_BZERO is
18550 defined.
18551 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
18552 __libc_memmove.
18553 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
18554 __libc_memset.
18555 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
18556 of memset.
18557
472371b9
JM
185582012-10-10 Joseph Myers <joseph@codesourcery.com>
18559
1e4a9536
JM
18560 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
18561 * configure: Regenerated.
18562
d173d12e
JM
18563 * Makeconfig (+link-static-before-libc): Don't include
18564 $(link-static-libc).
18565
472371b9
JM
18566 * libio/libio.h (_IO_pos_t): Remove.
18567
89a3ad0b
AO
185682012-10-10 Alexandre Oliva <aoliva@redhat.com>
18569
18570 * NEWS: Add note about FIPS mode. Wording suggested by Roland
18571 McGrath.
18572
e7451425
AO
185732012-10-10 Alexandre Oliva <aoliva@redhat.com>
18574
18575 * crypt/crypt-entry.c: Include fips-private.h.
18576 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
18577 * crypt/md5c-test.c (main): Tolerate disabled MD5.
18578 * sysdeps/unix/sysv/linux/fips-private.h: New file.
18579 * sysdeps/generic/fips-private.h: New file, dummy fallback.
18580
4ba74a35
AO
185812012-10-10 Alexandre Oliva <aoliva@redhat.com>
18582
18583 * crypt/crypt-private.h: Include stdbool.h.
18584 (_ufc_setup_salt_r): Return bool.
18585 * crypt/crypt-entry.c: Include errno.h.
18586 (__crypt_r): Return NULL with EINVAL for bad salt.
18587 * crypt/crypt_util.c (bad_for_salt): New.
18588 (_ufc_setup_salt_r): Check that salt is long enough and within
18589 the specified alphabet.
18590 * crypt/badsalttest.c: New file.
18591 * crypt/Makefile (tests): Add it.
18592 ($(objpfx)badsalttest): New.
18593
f96f1242
MK
185942012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
18595
18596 * NEWS: Add entry for BZ #14602.
18597
0e8e0c1c
JM
185982012-10-09 Joseph Myers <joseph@codesourcery.com>
18599
18600 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
18601 type-generic.
18602 * math/libm-test.inc: Update comment listing what functions and
18603 macros are tested.
18604 (isgreater_test): New function.
18605 (isgreaterequal_test): Likewise.
18606 (isless_test): Likewise.
18607 (islessequal_test): Likewise.
18608 (islessgreater_test): Likewise.
18609 (isunordered_test): Likewise.
18610 (main): Call the new functions.
18611
273edc5e
RM
186122012-10-09 Roland McGrath <roland@hack.frob.com>
18613
b8493de0
RM
18614 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
18615 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
18616 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
18617 * sysdeps/i386/configure: Regenerated.
18618 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
18619 * sysdeps/mach/configure: Regenerated.
18620 * sysdeps/mach/hurd/configure: Regenerated.
18621 * sysdeps/powerpc/configure: Regenerated.
18622 * sysdeps/powerpc/powerpc32/configure: Regenerated.
18623 * sysdeps/powerpc/powerpc64/configure: Regenerated.
18624 * sysdeps/s390/s390-32/configure: Regenerated.
18625 * sysdeps/s390/s390-64/configure: Regenerated.
18626 * sysdeps/sh/configure: Regenerated.
18627 * sysdeps/sparc/configure: Regenerated.
18628 * sysdeps/unix/sysv/linux/configure: Regenerated.
18629 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
18630 * sysdeps/x86_64/configure: Regenerated.
18631
273edc5e
RM
18632 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
18633 defined. Don't check if MAP is NULL.
18634
c8450f70
JM
186352012-10-09 Joseph Myers <joseph@codesourcery.com>
18636
18637 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
18638 (_G_stat64): Likewise.
18639 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
18640 (_G_stat64): Likewise.
18641 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
18642 instead of struct _G_stat64.
18643 * libio/fileops.c (mmap_remap_check): Likewise.
18644 (decide_maybe_mmap): Likewise.
18645 (_IO_new_file_seekoff): Likewise.
18646 (_IO_file_stat): Likewise.
18647 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
18648 _G_off64_t.
18649 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
18650 instead of struct _G_stat64.
18651 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18652
57e605ba
MK
186532012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
18654
18655 [BZ #14602]
18656 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18657 Replace with ...
18658 (CHECK_EOL): New macro.
18659 (two_way_short_needle): Check beginning of haystack for EOL. Use
18660 CHECK_EOL.
18661 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18662 Replace with CHECK_EOL.
18663 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18664 Replace with CHECK_EOL.
18665
ef1bb361
JM
186662012-10-08 Joseph Myers <joseph@codesourcery.com>
18667
18668 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
18669 type-generic.
18670 * math/libm-test.inc: Update comment listing what functions and
18671 macros are tested.
18672 (finite_test): New function.
18673 (isinf_test): Likewise.
18674 (isnan_test): Likewise.
18675 (fpclassify_test): Test subnormal input.
18676 (isfinite_test): Likewise.
18677 (isnormal_test): Likewise.
18678 (main): Call the new functions.
18679
55f11534
JN
186802012-10-08 Jonathan Nieder <jrnieder@gmail.com>
18681
18682 [BZ #14660]
18683 * Makerules (%.dynsym): Force C locale when running
18684 $(OBJDUMP) --dynamic-syms.
18685
1ab29350
AS
186862012-10-08 Andreas Schwab <schwab@linux-m68k.org>
18687
18688 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
18689 <stdint.h>.
18690
f1ecb7ef
DM
186912012-10-06 David S. Miller <davem@davemloft.net>
18692
18693 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
18694 upper 32-bits of the length value in %o2 since we use branch-on-register
18695 tests which consider the entire 64-bit register.
18696
5d41d91a
L
186972012-10-06 H.J. Lu <hongjiu.lu@intel.com>
18698
18699 * string/test-strstr.c (check2): Add a test for page boundary.
18700
3baddb72
DM
187012012-10-05 David S. Miller <davem@davemloft.net>
18702
18703 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
18704 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
18705 file.
18706 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18707 sysdep_routines.
18708 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18709 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
18710 and bzero when HWCAP_SPARC_CRYPTO is present.
18711
9cee5585
L
187122012-10-05 H.J. Lu <hongjiu.lu@intel.com>
18713
d7e0dab9
L
18714 [BZ #14602]
18715 * string/test-strstr.c (check2): New function.
18716 (test_main): Call check2.
18717
03759f47
L
18718 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
18719 and bug-strchr1.
18720 * string/bug-strcasestr1.c (do_test): Moved to ...
18721 * string/test-strcasestr.c (check1): Here. New function.
18722 (do_one_test): Break out result checking code into ...
18723 (check_result): This. New function.
18724 (do_one_test): Call check_result.
18725 (test_main): Call check1.
18726 * string/bug-strchr1.c (do_test): Moved to ...
18727 * string/test-strchr.c (check1): Here. New function.
18728 (do_one_test): Break out result checking code into ...
18729 (check_result): This. New function.
18730 (do_one_test): Call check_result.
18731 (test_main): Call check1.
18732 * string/bug-strstr1.c (main): Moved to ...
046f153e 18733 * string/test-strstr.c (check1): Here. New function.
03759f47
L
18734 (do_one_test): Break out result checking code into ...
18735 (check_result): This. New function.
18736 (do_one_test): Call check_result.
18737 (test_main): Call check1.
18738 * string/bug-strcasestr1.c: Removed.
18739 * string/bug-strchr1.c: Likewise.
18740 * string/bug-strstr1.c: Likewise.
18741
53cea63e
L
18742 * elf/Makefile (dl-routines): Add hwcaps.
18743 * elf/dl-support.c (_dl_important_hwcaps): Removed.
18744 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
18745 (_dl_important_hwcaps): Moved to ...
18746 * elf/dl-hwcaps.c: Here. New file.
18747 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
18748
9cee5585 18749 [BZ #14557]
bb859b06
L
18750 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
18751 if IS_IN_rtld isn't defined.
18752
9cee5585
L
18753 * elf/dl-support.c (_dl_sysinfo_map): New.
18754 Include "get-dynamic-info.h" and "setup-vdso.h".
18755 (_dl_non_dynamic_init): Call setup_vdso.
18756 * elf/dynamic-link.h: Don't include <assert.h>.
18757 (elf_get_dynamic_info): Moved to ...
18758 * elf/get-dynamic-info.h: Here. New file.
18759 * elf/dynamic-link.h: Include "get-dynamic-info.h".
18760 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
18761 * elf/setup-vdso.h: Here. New file.
18762 * elf/rtld.c: Include "setup-vdso.h".
18763 (dl_main): Call setup_vdso.
18764
23c31b76
JM
187652012-10-05 Joseph Myers <joseph@codesourcery.com>
18766
28234b07
JM
18767 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
18768 creal in comment listing functions tested. List finite, isinf,
18769 isnan, isless, islessequal, isgreater, isgreaterequal,
18770 islessgreater, isunordered, lgamma_r and pow10 as functions and
18771 macros not tested. Mention which functions not tested are aliases
18772 for other functions. Fix typo. Note that signs of NaNs are not
18773 tested.
18774
23c31b76
JM
18775 * scripts/config.guess: Update from config.git.
18776 * scripts/config.sub: Likewise.
18777
9043e228
RM
187782012-10-04 Roland McGrath <roland@hack.frob.com>
18779
18780 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
18781 * misc/madvise.c (madvise): Renamed to __madvise.
18782 Make madvise a weak alias.
18783 * include/sys/mman.h: Declare __madvise.
18784 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
18785 * sysdeps/unix/syscalls.list
18786 (madvise): Make __madvise the strong name, and madvise a weak alias.
18787 * sysdeps/unix/sysv/linux/syscalls.list
18788 (madvise, mmap): Remove redundant entries.
18789 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
18790 * malloc/malloc.c (mtrim): Likewise.
18791 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
18792
f57f8055
RM
187932012-10-03 Roland McGrath <roland@hack.frob.com>
18794
18795 * sysdeps/mach/hurd/dl-cache.c: File removed.
18796 * config.h.in (USE_LDCONFIG): New #undef.
18797 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
18798 * configure: Regenerated.
18799 * elf/Makefile (dl-routines): Add dl-cache only under
18800 [$(use-ldconfig) = yes].
18801 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
18802 cache on [USE_LDCONFIG].
18803 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
18804 [USE_LDCONFIG].
18805 * elf/rtld.c (dl_main): Likewise.
18806
5bb0c10a
PT
188072012-10-03 Pino Toscano <toscano.pino@tiscali.it>
18808
18809 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
18810 _SC_LEVEL4_CACHE_LINESIZE.
18811
010188c6
RM
188122012-10-03 Roland McGrath <roland@hack.frob.com>
18813
18814 * sysdeps/unix/bsd/confstr.h: File removed.
18815
b6c5ec07
AO
188162012-10-02 Alexandre Oliva <aoliva@redhat.com>
18817
18818 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
18819 sys/sdt-config.h.
18820
408223d4
RM
188212012-10-02 Roland McGrath <roland@hack.frob.com>
18822
18823 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
18824 Make 'mapoff' field ElfW(Off) rather than off_t.
18825
bb9510dc
DL
188262012-10-02 Dmitry V. Levin <ldv@altlinux.org>
18827
fc997c6e
DL
18828 * nscd/Makefile: Remove nscd-cflags and all its users.
18829 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
18830 (CFLAGS-nonlib): Add compiler flags for nscd modules.
18831
bb9510dc
DL
18832 [BZ #10631]
18833 * malloc.c (malloc_printerr): Clarify error message.
18834
05699367
L
188352012-10-02 H.J. Lu <hongjiu.lu@intel.com>
18836
18837 [BZ #14648]
18838 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18839 Set bit_FMA_Usable if FMA is supported.
18840 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
18841 macro.
18842 (bit_FMA4_Usable): Updated.
18843 (index_FMA_Usable): New macro.
18844 (CPUID_FMA): Likewise
18845 (HAS_FMA): Defined with bit_FMA_Usable.
18846
51367701
RM
188472012-10-01 Roland McGrath <roland@hack.frob.com>
18848
18849 * bits/types.h (__swblk_t): Type removed.
18850 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
18851 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
18852 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18853 (__SWBLK_T_TYPE): Likewise.
18854 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18855 (__SWBLK_T_TYPE): Likewise.
18856 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18857 (__SWBLK_T_TYPE): Likewise.
18858 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18859 (__SWBLK_T_TYPE): Likewise.
18860
4d57bf63 188612012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 18862 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
18863
18864 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
18865 (xdr_mapname): Use YPMAXMAP as maxsize.
18866 (xdr_peername): Use YPMAXPEER as maxsize.
18867 (xdr_keydat): Use YPAXRECORD as maxsize.
18868 (xdr_valdat): Use YPMAXRECORD as maxsize.
18869
93c65d43
RM
188702012-10-01 Roland McGrath <roland@hack.frob.com>
18871
497a03d6
RM
18872 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
18873
93c65d43
RM
18874 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
18875 * csu/init-first.c: ... here.
18876 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
18877 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
18878 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
18879 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
18880 * sysdeps/i386/init-first.c: File removed.
18881 * sysdeps/sh/init-first.c: File removed.
18882
bec749fd
JM
188832012-10-01 Joseph Myers <joseph@codesourcery.com>
18884
18885 [BZ #14645]
18886 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
18887 if x * y might underflow to zero and z is zero.
18888 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18889 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18890 * math/libm-test.inc (min_subnorm_value): New variable.
18891 (fma_test): Add more tests.
18892 (fma_test_towardzero): Likewise.
18893 (fma_test_downward): Likewise
18894 (fma_test_upward): Likewise.
18895 (initialize): Set min_subnorm_value.
18896
8ec5b013
JM
188972012-09-29 Joseph Myers <joseph@codesourcery.com>
18898
18899 [BZ #14638]
18900 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
18901 0 + 0.
18902 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
18903 mode for addition resulting in exact zero.
18904 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
18905 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
18906 exact 0 + 0.
18907 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18908 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18909 * math/libm-test.inc (fma_test): Add more tests.
18910 (fma_test_towardzero): New function.
18911 (fma_test_downward): Likewise.
18912 (fma_test_upward): Likewise.
18913 (main): Call the new functions.
18914
b1fa802e
DM
189152012-09-28 David S. Miller <davem@davemloft.net>
18916
18917 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
18918
d3b9fd9e
RM
189192012-09-28 Roland McGrath <roland@hack.frob.com>
18920
ea4d37b3
RM
18921 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
18922 instead of SIGALRM.
18923
ac51c949
RM
18924 * sysdeps/gnu/_G_config.h: Moved to ...
18925 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
18926 * sysdeps/mach/hurd/_G_config.h: Moved to ...
18927 * sysdeps/generic/_G_config.h: ... here.
18928
28c195f7
RM
18929 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
18930
848917f9
RM
18931 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
18932
6bacf05b
RM
18933 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
18934 Conditionalize target on [libnss_test1.so-version].
18935
91363dbb
RM
18936 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
18937
cc87f7d8
RM
18938 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
18939 (elfobjdir): Move out of conditionals.
18940
b1c608fe
RM
18941 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
18942 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
18943 (__nss_lookup_function): Conditionalize label remove_from_tree on
18944 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 18945
1d9a6d96
DM
189462012-09-28 David S. Miller <davem@davemloft.net>
18947
18948 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
18949 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
18950 file.
18951 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18952 sysdep_routines.
18953 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18954 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
18955 when HWCAP_SPARC_CRYPTO is present.
18956
72581615
PT
189572012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18958
18959 * io/tst-mknodat.c: Create a FIFO instead of a socket.
18960
715a900c
JL
189612012-09-28 Andreas Schwab <schwab@linux-m68k.org>
18962
18963 [BZ #6530]
18964 * stdio-common/vfprintf.c (process_string_arg): Revert
18965 2000-07-22 change.
18966
189672011-09-28 Jonathan Nieder <jrnieder@gmail.com>
18968
18969 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
18970 for testcase.
18971 * stdio-common/tst-sprintf.c: Include <locale.h>
18972 (main): Test sprintf's handling of incomplete multibyte
18973 characters.
18974
9bac1d86
L
189752012-09-28 H.J. Lu <hongjiu.lu@intel.com>
18976
18977 * elf/dl-runtime.c (VERSYMIDX): Removed.
18978 * elf/dl-version.c (VERSYMIDX): Likewise.
18979 * elf/do-rel.h (VERSYMIDX): Likewise.
18980 (VALIDX): Likewise.
18981 * elf/dynamic-link.h (VERSYMIDX): Likewise.
18982 * elf/rtld.c (VALIDX): Likewise.
18983 (ADDRIDX): Likewise.
9bac1d86
L
18984 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
18985 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
18986 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
18987 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
18988 (VALIDX): Likewise.
18989 (ADDRIDX): Likewise.
9bac1d86 18990
b31606c0
PT
189912012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18992
18993 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
18994
11541177
JL
189952012-09-28 Dmitry V. Levin <ldv@altlinux.org>
18996
18997 [BZ #11438]
18998 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
18999 to global scope.
19000 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
19001 addresses are in the same scope as 192.0.2/24.
19002 * posix/gai.conf: Document new scope table defaults.
19003
adb26fae
SP
190042012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19005
19006 [BZ #5298]
19007 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
19008 for ftell. Compute offsets from write pointers instead.
19009 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
19010
4573c6b0
SP
190112012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19012
19013 [BZ #14543]
19014 * libio/Makefile (tests): New test case tst-fseek.
19015 * libio/tst-fseek.c: New test case to verify that fseek/ftell
19016 combination works in wide mode.
19017 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
19018 state when the external buffer state changes.
19019
aa9bbfe6
DM
190202012-09-27 David S. Miller <davem@davemloft.net>
19021
19022 [BZ #14376]
19023 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
19024 pass reloc->r_addend in as the 'high' argument to
19025 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
19026
784421e7
DM
19027 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19028
c39bc8b8
PT
190292012-09-28 Pino Toscano <toscano.pino@tiscali.it>
19030
19031 * rt/tst-aio2.c: Include <pthread.h>.
19032 * rt/tst-aio3.c: Likewise.
19033
1ccc2399
SE
190342012-09-27 Steve Ellcey <sellcey@mips.com>
19035
19036 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
19037
31ed4153
L
190382012-09-27 H.J. Lu <hongjiu.lu@intel.com>
19039
25f5f885
L
19040 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
19041 contents on [SHARED].
31ed4153 19042
b7bfe116
MP
190432012-09-26 Marek Polacek <polacek@redhat.com>
19044
19045 [BZ #14530]
19046 [BZ #13741]
19047 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
19048 for C++ and GCC <4.3 as well as for non GCC compilers.
19049
43c4edba
MT
190502012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
19051
19052 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19053
6a1bf82f
RM
190542012-09-25 Roland McGrath <roland@hack.frob.com>
19055
19056 * Makefile.in (all, install): Declare with .PHONY.
19057 Reported by Michael Hope <michael.hope@linaro.org>.
19058
8ad11b9a
TMQMF
190592012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19060
19061 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
19062 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
19063 system header.
19064 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
19065 Likewise.
19066 (sydep_routines): Add the new and the internal functions.
19067 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
19068 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
19069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
19070 (GLIBC_2.17): Add the new function.
19071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
19072 (GLIBC_2.17): Likewise.
19073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
19074 (GLIBC_2.17): Likewise.
19075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
19076 (GLIBC_2.17): Likewise.
19077 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
19078
7e2fca8d
AM
190792012-09-25 Alan Modra <amodra@gmail.com>
19080
19081 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
19082 Add release barrier before setting once_control to say
19083 initialisation is done. Add hints on lwarx. Use macro in
19084 place of isync.
19085 (clear_once_control): Add release barrier.
19086
b87c4b24
JM
190872012-09-25 Joseph Myers <joseph@codesourcery.com>
19088
d032e0d2
JM
19089 [BZ #13629]
19090 * math/s_clog.c (__clog): Handle more values close to |z| = 1
19091 specially.
19092 * math/s_clog10.c (__clog10): Likewise.
19093 * math/s_clog10f.c (__clog10f): Likewise.
19094 * math/s_clog10l.c (__clog10l): Likewise.
19095 * math/s_clogf.c (__clogf): Likewise.
19096 * math/s_clogl.c (__clogl): Likewise.
19097 * math/Makefile (libm-calls): Add x2y2m1.
19098 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
19099 (__x2y2m1): Likewise.
19100 (__x2y2m1l): Likewise.
19101 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
19102 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
19103 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
19104 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
19105 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
19106 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
19107 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
19108 * sysdeps/i386/fpu/libm-test-ulps: Update.
19109 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19110
b87c4b24
JM
19111 [BZ #14621]
19112 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
19113 int as type of variable DEPTH.
19114 (glob): Use size_t instead of int as type of variables NEWCOUNT
19115 and OLD_PATHC.
19116
6d3bf199
LD
191172012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19118
22bf5c17
LD
19119 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19120 Add s_sincosf-sse2.
19121 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
19122 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
19123 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
19124 macros for using routine as __sincosf_ia32.
19125 Use macro for function declaration and weak_alias.
19126 * sysdeps/i386/fpu/libm-test-ulps: Update.
19127
19128 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
19129 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19130
19131 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
19132 subnormal argument.
19133 * math/s_cexpf.c (__cexpf): Likewise.
19134 * math/s_csinf.c (__csinf): Likewise.
19135 * math/s_csinhf.c (__csinhf): Likewise.
19136 * math/s_ctanf.c (__ctanf): Likewise.
19137 * math/s_ctanhf.c (__ctanhf): Likewise.
19138 * math/s_ccosh.c (__ccoshf): Likewise.
19139 * math/s_cexp.c (__cexpl): Likewise.
19140 * math/s_csin.c (__csin): Likewise.
19141 * math/s_csinh.c (__csinh): Likewise.
19142 * math/s_ctan.c (__ctan): Likewise.
19143 * math/s_ctanh.c (ctanh): Likewise.
19144 * math/s_ccoshl.c (__ccoshl): Likewise.
19145 * math/s_cexpl.c (__cexpl): Likewise.
19146 * math/s_csinl.c (__csinl): Likewise.
19147 * math/s_csinhl.c (__csinhl): Likewise.
19148 * math/s_ctanl.c (__ctanl): Likewise.
19149 * math/s_ctanhl.c (__ctanhl): Likewise.
19150
203e5603
JM
191512012-09-25 Joseph Myers <joseph@codesourcery.com>
19152
19153 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
19154 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
19155 (_IO_off_t): Define to __off_t, not _G_off_t.
19156 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
19157 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
19158 (_IO_wint_t): Define to wint_t, not _G_wint_t.
19159 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
19160 type of __dummy and __dummy2 fields.
19161 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
19162 (_G_ssize_t): Likewise.
19163 (_G_off_t): Likewise.
19164 (_G_pid_t): Likewise.
19165 (_G_uid_t): Likewise.
19166 (_G_wchar_t): Likewise.
19167 (_G_wint_t): Likewise.
19168 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
19169 (_G_ssize_t): Likewise.
19170 (_G_off_t): Likewise.
19171 (_G_pid_t): Likewise.
19172 (_G_uid_t): Likewise.
19173 (_G_wchar_t): Likewise.
19174 (_G_wint_t): Likewise.
19175 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
19176 (_G_ssize_t): Likewise.
19177 (_G_off_t): Likewise.
19178 (_G_pid_t): Likewise.
19179 (_G_uid_t): Likewise.
19180 (_G_wchar_t): Likewise.
19181 (_G_wint_t): Likewise.
19182
9fab36eb
SP
191832012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19184
19185 * malloc/arena.c: Include malloc-sysdep.h.
19186 (shrink_heap): Use check_may_shrink_heap to decide if madvise
19187 is sufficient to shrink the heap or an unmap is needed.
19188 * sysdeps/generic/malloc-sysdep.h: New file. Define
19189 new function check_may_shrink_heap.
19190 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
19191 new function check_may_shrink_heap.
19192
2b4f00d1
SP
191932012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19194
19195 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
19196 comments.
19197
9a9028b1
DL
191982012-09-24 Dmitry V. Levin <ldv@altlinux.org>
19199
57c69bef
DL
19200 * catgets/test-gencat.sh: Add "set -e".
19201 * elf/tst-pathopt.sh: Likewise.
19202 * grp/tst_fgetgrent.sh: Likewise.
19203 * iconvdata/run-iconv-test.sh: Likewise.
19204 * intl/tst-gettext.sh: Likewise.
19205 * intl/tst-gettext2.sh: Likewise.
19206 * intl/tst-gettext4.sh: Likewise.
19207 * intl/tst-gettext6.sh: Likewise.
19208 * intl/tst-translit.sh: Likewise.
19209 * io/ftwtest-sh: Likewise.
19210 * libio/test-freopen.sh: Likewise.
19211 * malloc/tst-mtrace.sh: Likewise.
19212 * posix/globtest.sh: Likewise.
19213 * posix/tst-getconf.sh: Likewise.
19214 * posix/wordexp-tst.sh: Likewise.
19215 * stdio-common/tst-printf.sh: Likewise.
19216 * stdio-common/tst-unbputc.sh: Likewise.
19217 * stdlib/tst-fmtmsg.sh: Likewise.
19218 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
19219 * catgets/Makefile: Do not specify -e option when running
19220 testsuite shell scripts.
19221 * elf/Makefile: Likewise.
19222 * grp/Makefile: Likewise.
19223 * iconvdata/Makefile: Likewise.
19224 * intl/Makefile: Likewise.
19225 * io/Makefile: Likewise.
19226 * libio/Makefile: Likewise.
19227 * malloc/Makefile: Likewise.
19228 * posix/Makefile: Likewise.
19229 * stdio-common/Makefile: Likewise.
19230 * stdlib/Makefile: Likewise.
19231 * sysdeps/x86_64/Makefile: Likewise.
19232
9a9028b1
DL
19233 * io/ftwtest-sh: Add copyright header.
19234 * posix/globtest.sh: Likewise.
19235 * posix/tst-getconf.sh: Likewise.
19236 * posix/wordexp-tst.sh: Likewise.
19237 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
19238
ced6f16e
L
192392012-09-24 H.J. Lu <hongjiu.lu@intel.com>
19240
94b32c39
L
19241 [BZ #13679]
19242 * Makeconfig (+link): Defined as $(+link-static) if
19243 $(build-shared) isn't yes.
19244 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
19245 isn't yes.
19246 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
19247
189e935b
L
19248 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
19249
ced6f16e
L
19250 [BZ #14562]
19251 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
19252 new chunk size with MALLOC_ALIGN_MASK.
19253
a9f8e53a
JM
192542012-09-24 Joseph Myers <joseph@codesourcery.com>
19255
19256 [BZ #5044]
19257 * stdio-common/printf_fphex.c: Include <stdbool.h> and
19258 <rounding-mode.h>.
19259 (__printf_fphex): Determine rounding using get_rounding_mode and
19260 round_away.
19261 * stdio-common/tst-printf-round.c (struct hex_test): New
19262 structure.
19263 (hex_tests): New variable.
19264 (test_hex_in_one_mode): New function.
19265 (do_test): Also run tests for hex float output.
19266
43153109
JM
192672012-09-21 Joseph Myers <joseph@codesourcery.com>
19268
19269 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
19270 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
19271 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
19272 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
19273 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
19274 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
19275 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
19276 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
19277
8a26625d
JM
192782012-09-20 Joseph Myers <joseph@codesourcery.com>
19279
19280 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
19281 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
19282 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
19283 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
19284
f3fd569c
DL
192852012-09-19 Dmitry V. Levin <ldv@altlinux.org>
19286
19287 [BZ #14579]
19288 * elf/rtld.c (dl_main): Limit the check for self loading to normal
19289 mode only.
19290 * elf/tst-rtld-load-self.sh: New test.
19291 * elf/Makefile: Run it.
19292
63bbedd4
JM
192932012-09-18 Joseph Myers <joseph@codesourcery.com>
19294
19295 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
19296 (tst-writev-ENV): Remove.
19297 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
19298
626f8b6a
CM
192992012-09-17 Chris Metcalf <cmetcalf@tilera.com>
19300
19301 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
19302
b7aaa4d6
JM
193032012-09-17 Joseph Myers <joseph@codesourcery.com>
19304
19305 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
19306 unconditional.
19307 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
19308 Likewise.
19309 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
19310 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
19311 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
19312 Likewise.
19313
65513990
L
193142012-09-14 H.J. Lu <hongjiu.lu@intel.com>
19315
19316 [BZ #14587]
19317 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
19318 * config.make.in (have-cpp-asm-debuginfo): Removed.
19319 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
19320 * configure: Regenerated.
19321
784761be
JM
193222012-09-14 Joseph Myers <joseph@codesourcery.com>
19323
19324 [BZ #5044]
19325 * stdio-common/printf_fp.c: Include <stdbool.h> and
19326 <rounding-mode.h>.
19327 (___printf_fp): Determine rounding using get_rounding_mode and
19328 round_away.
19329 * stdio-common/tst-printf-round.c: New file.
19330 * stdio-common/Makefile (tests): Add tst-printf-round.
19331 (link-libm): New variable.
19332 ($(objpfx)tst-printf-round): Depend in $(link-libm).
19333
9503345f
L
193342012-09-13 H.J. Lu <hongjiu.lu@intel.com>
19335
19336 [BZ #14576]
19337 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
19338 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
19339 Likewise.
19340 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
19341 Likewise.
19342
ad35fc00
JM
193432012-09-13 Joseph Myers <joseph@codesourcery.com>
19344
19345 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
19346 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19347 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19348 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19349
6c9b0f68
JM
193502012-09-12 Joseph Myers <joseph@codesourcery.com>
19351
19352 [BZ #14518]
19353 * include/rounding-mode.h: New file.
19354 * sysdeps/generic/get-rounding-mode.h: Likewise.
19355 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
19356 * stdlib/strtod_l.c: Include <rounding-mode.h>.
19357 (MAX_VALUE): New macro.
19358 (MIN_VALUE): Likewise.
19359 (overflow_value): New function.
19360 (underflow_value): Likewise.
19361 (round_and_return): Use overflow_value and underflow_value to
19362 determine return values in overflow and underflow cases. Use
19363 round_away to determine rounding depending on rounding mode.
19364 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
19365 determine return values in overflow and underflow cases.
19366 * stdlib/tst-strtod-round.c: Include <fenv.h>.
19367 (struct test_results): New structure.
19368 (struct test): Use struct test_results to store expected results
19369 for all rounding modes.
19370 (TEST): Include expected results for all rounding modes.
19371 (test_in_one_mode): New function.
19372 (do_test): Use test_in_one_mode to compute and check results.
19373 Check results for all rounding modes.
19374 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
19375 $(link-libm).
19376
19fcedd5
AM
193772012-12-09 Allan McRae <allan@archlinux.org>
19378
1e9d84cd 19379 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 19380
8bbfd2f1
JM
193812012-09-11 Joseph Myers <joseph@codesourcery.com>
19382
19383 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
19384 (_G_int32_t): Likewise.
19385 (_G_uint16_t): Likewise.
19386 (_G_uint32_t): Likewise.
19387 (_G_HAVE_BOOL): Likewise.
19388 (_G_HAVE_ATEXIT): Likewise.
19389 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19390 (_G_HAVE_IO_FILE_OPEN): Likewise.
19391 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
19392 (_G_int32_t): Likewise.
19393 (_G_uint16_t): Likewise.
19394 (_G_uint32_t): Likewise.
19395 (_G_HAVE_BOOL): Likewise.
19396 (_G_HAVE_ATEXIT): Likewise.
19397 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19398 (_G_HAVE_IO_FILE_OPEN): Likewise.
19399 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
19400 (_G_int32_t): Likewise.
19401 (_G_uint16_t): Likewise.
19402 (_G_uint32_t): Likewise.
19403 (_G_HAVE_BOOL): Likewise.
19404 (_G_HAVE_ATEXIT): Likewise.
19405 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19406 (_G_HAVE_IO_FILE_OPEN): Likewise.
19407
b1dc5912
L
194082012-09-11 H.J. Lu <hongjiu.lu@intel.com>
19409
19410 * csu/libc-tls.c: Update copyright years.
19411
0e886ef9
JM
194122012-09-10 Joseph Myers <joseph@codesourcery.com>
19413
28361c5e
JM
19414 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
19415 [!_G_USING_THUNKS]: Remove conditional code.
19416 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
19417 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
19418
0e886ef9
JM
19419 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
19420 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
19421 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19422 (_G_VTABLE_LABEL_PREFIX): Likewise.
19423 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19424 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19425 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19426 (_G_VTABLE_LABEL_PREFIX): Likewise.
19427 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19428 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19429 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19430 (_G_VTABLE_LABEL_PREFIX): Likewise.
19431 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19432
bcba7aa2
L
194332012-09-10 H.J. Lu <hongjiu.lu@intel.com>
19434
19435 * libio/Makefile: Include ../Makeconfig before tests.
19436 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
19437 only if $(build-shared) is yes.
19438
06585ee8
L
19439 * iconv/gconv_db.c: Update copyright years.
19440
80ccd52c
LD
194412012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19442
19443 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
19444 unwind info if defined PIC. Fix special cases description.
19445 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
19446
19447 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
19448 DP_HI_MASK entry.
19449 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
19450
691bc9c1
L
194512012-09-07 H.J. Lu <hongjiu.lu@intel.com>
19452
3d9b46b3
L
19453 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
19454
de2139a9
L
19455 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
19456 is NULL.
19457
5ca78dd0
L
19458 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
19459 (LDLIBS-tst-chk4): This.
19460 (LDFLAGS-tst-chk5): Renamed to ...
19461 (LDLIBS-tst-chk5): This.
19462 (LDFLAGS-tst-chk6): Renamed to ...
19463 (LDLIBS-tst-chk6): This.
19464 (LDFLAGS-tst-lfschk4): Renamed to ...
19465 (LDLIBS-tst-lfschk4): This.
19466 (LDFLAGS-tst-lfschk5): Renamed to ...
19467 (LDLIBS-tst-lfschk5): This.
19468 (LDFLAGS-tst-lfschk6): Renamed to ...
19469 (LDLIBS-tst-lfschk6): This.
19470
691bc9c1
L
19471 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
19472 on $(common-objpfx)soversions.mk.
19473
65cafb1c
JM
194742012-09-07 Joseph Myers <joseph@codesourcery.com>
19475
19476 [BZ #10014]
19477 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
19478 example host name.
19479
c78ab094
SP
194802012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
19481
19482 * malloc/arena.c (arena_get_retry): New function that gets
19483 another arena for the caller to try its request on.
19484 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
19485 current arena cannot fulfill the request.
19486 (__libc_memalign): Likewise.
19487 (__libc_memalign): Likewise.
19488 (__libc_pvalloc): Likewise.
19489 (__libc_calloc): Likewise.
19490
01f49f59
JT
194912012-09-05 John Tobey <john.tobey@gmail.com>
19492
19493 [BZ #13542]
19494 * manual/arith.texi (Operations on Complex): Fix description
19495 of carg branch cut.
19496
4c23fed5
JM
194972012-09-06 Joseph Myers <joseph@codesourcery.com>
19498
1d3c8572
JM
19499 [BZ #10014]
19500 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
19501 host name.
19502
4c23fed5
JM
19503 [BZ #10038]
19504 * manual/memory.texi (Memory): Make order of menu items match
19505 order of sections.
19506
04570aaa
L
195072012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19508
19509 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
19510 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
19511 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
19512
b80af2f4
L
195132012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19514
19515 * csu/libc-tls.c (static_dtv): Renamed to ...
19516 (_dl_static_dtv): This. Make it global.
19517 (_dl_initial_dtv): Removed.
19518 (__libc_setup_tls): Updated.
19519 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
19520 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
19521 DL_INITIAL_DTV.
19522
2abe9f15
PM
195232012-09-06 Petr Machata <pmachata@redhat.com>
19524
19525 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
19526 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
19527 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
19528 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
19529
0948c3af
L
195302012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19531
19532 [BZ #14545]
19533 * csu/libc-tls.c (_dl_initial_dtv): New variable.
19534 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
19535 freeing dtv[-1].
19536
a5055ad1
L
195372012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19538
19539 [BZ #14544]
19540 * Makeconfig (link-static-before-libc): Replace $(+prector)
19541 with $(+prectorT).
19542 (link-static-after-libc): Replace $(+postctor) with
19543 $(+postctorT).
19544 (link-bounded): Replace $(+prector)/$(+postctor) with
19545 $(+prectorT)/$(+postctorT).
19546 (+prectorT): New macro.
19547 (+postctorT): Likewise.
19548
ed8c2ecd
JM
195492012-09-06 Joseph Myers <joseph@codesourcery.com>
19550
19551 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
19552 (round_str): Handle values above the maximum for IBM long double
19553 as inexact.
19554 * stdlib/tst-strtod-round.c (tests): Regenerated.
19555
14c996c8
AK
195562012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19557
19558 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
19559 assembler flag.
19560 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
19561 zarch_nohighgprs around the zarch optimized routines.
19562 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
19563 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
19564 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
19565 for zarch.
19566
430d6ce6
DM
195672012-09-05 David S. Miller <davem@davemloft.net>
19568
19569 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19570
ff04dda4
DM
19571 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
19572 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
19573 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
19574 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19575 entries.
19576
24d4e01b
AO
195772012-09-05 Alexandre Oliva <aoliva@redhat.com>
19578
19579 * malloc/arena.c: Fold copyright years.
19580 * malloc/mcheck.c, malloc/memusage.c: Likewise.
19581
61d58174
AO
195822012-09-05 Alexandre Oliva <aoliva@redhat.com>
19583
19584 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
19585
20196a5e
AO
195862012-09-05 Alexandre Oliva <aoliva@redhat.com>
19587
19588 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
19589
5c447383
AO
195902012-09-05 Alexandre Oliva <aoliva@redhat.com>
19591
19592 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
19593 change internal state upon failure.
19594
fad64255
AO
195952012-09-05 Alexandre Oliva <aoliva@redhat.com>
19596
19597 * malloc/mcheck.c (mcheck_check_all): Fix typo.
19598 * malloc/memusage.c (mmap): Likewise.
19599 (mmap64, mremap): Likewise. Adjust name in comment.
19600
1ffb8c90
SP
196012012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19602
19603 * libio/fileops.c: Fix typos in comments.
19604 * libio/oldfileops.c: Likewise.
19605 * libio/wfileops.c: Likewise.
19606
6ef9cc37
SP
196072012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19608
19609 [BZ #1349]
19610 * malloc/Makefile (tests): Add tst-malloc-usable test case.
19611 (tst-malloc-usable-ENV): Set environment for test case.
19612 * malloc/hooks.c (malloc_check_get_size): New function to get
19613 requested size.
19614 * malloc/malloc.c (musable): Use malloc_check_get_size.
19615 * malloc/tst-malloc-usable.c: New test case.
19616
4d038ae3
AS
196172012-09-05 Andreas Schwab <schwab@linux-m68k.org>
19618
19619 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
19620
c4e85184
AM
196212012-09-05 Allan McRae <allan@archlinux.org>
19622
b9dafc56 19623 [BZ #13966]
c4e85184
AM
19624 * configure.in (CXX_SYSINCLUDES): Use compiler output to
19625 determine header location.
19626 * configure: Regenerated.
19627
e1343020
AS
196282012-09-05 Andreas Schwab <schwab@linux-m68k.org>
19629
19630 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
19631 float format.
19632 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
19633 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
19634 format.
e1343020
AS
19635 (test): Regenerate.
19636
0a9f1987
DM
196372012-09-04 David S. Miller <davem@davemloft.net>
19638
19639 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
19640 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
19641 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
19642
29237804
FW
196432012-09-04 Florian Weimer <fweimer@redhat.com>
19644
19645 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
19646 failures.
19647
edb3cb88
FW
19648 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
19649
60160d83
JM
196502012-09-04 Joseph Myers <joseph@codesourcery.com>
19651
19652 [BZ #9914]
19653 * libio/iogetdelim.c: Include <limits.h>.
19654 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
19655 + len + 1 would overflow.
19656
bcd6c8dc
AJ
196572012-09-03 Andreas Jaeger <aj@suse.de>
19658
19659 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19660 * sysdeps/i386/fpu/libm-test-ulps: Update.
19661
4ffffbd2
LD
196622012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19663
19664 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19665 Add s_sinf-sse2, s_conf-sse2.
19666
19667 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
19668 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
19669 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
19670 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
19671
19672 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
19673 for using routine as __sinf_ia32.
19674 Use macro for function declaration and weak_alias.
19675 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
19676 for using routine as __cosf_ia32.
19677 Use macro for function declaration and weak_alias.
19678
19679 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
19680 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
19681
19682 * sysdeps/x86_64/fpu/s_sinf.S: New file.
19683 * sysdeps/x86_64/fpu/s_cosf.S: New file.
19684 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19685
19686 * math/libm-test.inc (cos_test): Add more test cases.
19687 (sin_test): Likewise.
19688 (sincos_test): Likewise.
19689
511fa286
AK
196902012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19691
19692 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
19693 (IFUNC_RESOLVE): Make pointers to the specialized implementations
19694 hidden.
19695 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19696
5f30cfec
L
196972012-09-02 H.J. Lu <hongjiu.lu@intel.com>
19698
19699 [BZ #14538]
19700 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
19701 first element of the GOT.
19702 (elf_machine_load_address): Return the difference between
19703 the runtime address of _DYNAMIC and elf_machine_dynamic ().
19704
0786794f
AM
197052012-09-01 Allan McRae <allan@archlinux.org>
19706
5f30cfec
L
19707 [BZ #13412]
19708 * configure.in (AWK): Require gawk version 3.0 or later.
19709 * configure: Regenerated.
0786794f 19710
26889eac
JM
197112012-09-01 Joseph Myers <joseph@codesourcery.com>
19712
19713 * sysdeps/unix/sysv/linux/kernel-features.h
19714 (__ASSUME_POSIX_CPU_TIMERS): Remove.
19715 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19716 [__NR_clock_getres]: Make code unconditional.
19717 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
19718 (clock_getcpuclockid): Remove code left unreachable by removal of
19719 conditionals.
19720 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
19721 code unconditional.
19722 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19723 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19724 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
19725 Make code unconditional.
19726 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19727 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19728 * sysdeps/unix/sysv/linux/clock_settime.c
19729 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
19730 conditional code.
19731 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
19732 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19733
d22e28b0
L
197342012-08-29 H.J. Lu <hongjiu.lu@intel.com>
19735
19736 [BZ #14476]
19737 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
19738 scripts/test-installation.pl.
19739
19740 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
19741 and $ld_so_version if it is set.
19742
050af9c4
SP
197432012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19744
19745 [BZ #14516]
19746 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
19747 failure if reading from procfs failed.
19748 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
19749
ad845c0b
JM
197502012-08-27 Joseph Myers <joseph@codesourcery.com>
19751
19752 * sysdeps/unix/sysv/linux/kernel-features.h
19753 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
19754 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19755 Remove conditional code.
19756 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19757 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
19758 Remove conditional code.
19759 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19760 * sysdeps/unix/sysv/linux/i386/fxstat.c
19761 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19762 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19763 * sysdeps/unix/sysv/linux/i386/fxstatat.c
19764 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19765 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19766 * sysdeps/unix/sysv/linux/i386/lxstat.c
19767 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19768 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19769 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
19770 Remove conditional code.
19771 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19772 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19773 Remove conditional code.
19774 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19775 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
19776 <kernel-features.h>.
19777 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
19778 Remove.
19779 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
19780 Remove conditional code.
19781 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19782 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
19783 Remove conditional.
19784
5dbf56af
MF
197852012-08-27 Mike Frysinger <vapier@gentoo.org>
19786
19787 [BZ #5400]
19788 * NEWS: Add fixed bug number.
19789
d6e70f43
JM
197902012-08-27 Joseph Myers <joseph@codesourcery.com>
19791
7efb4737
JM
19792 [BZ #14519]
19793 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
19794 underflowing exponent in case of negative sign.
19795 * stdlib/tst-strtod-round-data: Add more tests.
19796 * stdlib/tst-strtod-round.c (tests): Regenerated.
19797
af92131a
JM
19798 [BZ #3479]
19799 * stdlib/strtod_l.c (NDIG): Remove.
19800 (HEXNDIG): Likewise.
19801 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
19802 smallest representable value.
19803 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
19804 lie within an exact representation of 1/2 ulp of the result.
19805 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
19806 unconditionally.
19807 (TENS_P9_IDX): Define unconditionally.
19808 (TENS_P9_SIZE): Likewise.
19809 (TENS_P10_IDX): Likewise.
19810 (TENS_P10_SIZE): Likewise.
19811 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
19812 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
19813 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
19814 entries for 10^2^13 and 10^2^14.
19815 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
19816 (TENS_P13_IDX): Define.
19817 (TENS_P13_SIZE): Likewise.
19818 (TENS_P14_IDX): Likewise.
19819 (TENS_P14_SIZE): Likewise.
19820 (_fpioconst_pow10): Change array size to
19821 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
19822 unconditional.
19823 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
19824 1024]: Add entries for 10^2^13 and 10^2^14.
19825 [LAST_POW10 > _LAST_POW10]: Remove #error.
19826 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
19827 (_fpioconst_pow10): Change array size to
19828 FPIOCONST_POW10_ARRAY_SIZE.
19829 * stdlib/gen-fpioconst.c: New file.
19830 * stdlib/gen-tst-strtod-round.c: Likewise.
19831 * stdlib/tst-strtod-round-data: Likewise.
19832 * stdlib/tst-strtod-round.c: Likewise.
19833 * stdlib/Makefile (tests): Add tst-strtod-round.
19834
d6e70f43
JM
19835 [BZ #14459]
19836 * stdlib/strtod_l.c: Include <stdint.h>.
19837 (NDEBUG): Do not define.
19838 (round_and_return): Change EXPONENT parameter to type intmax_t.
19839 Rearrange calculations to avoid internal overflow possibilities.
19840 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
19841 Rearrange calculations to avoid internal overflow possibilities.
19842 Assert that number fits inside MPNSIZE limbs.
19843 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
19844 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
19845 calculations and add assertions to avoid internal overflow
19846 possibilities. Add casts to avoid signed/unsigned operations.
19847 * stdlib/tst-strtod-overflow.c: New file.
19848 * stdlib/Makefile (tests): Add tst-strtod-overflow.
19849
1f529f7d
MP
198502012-08-25 Marek Polacek <polacek@redhat.com>
19851
19852 * time/time.h: Fix some typos in comments.
19853
59a629f1
RM
198542012-08-23 Roland McGrath <roland@hack.frob.com>
19855
19856 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
19857 * posix/tst-rfc3484-2.c: Likewise.
19858 * posix/tst-rfc3484-3.c: Likewise.
19859
d3bafbc9
SM
198602012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
19861
19862 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
19863 (EF_ARM_ABI_FLOAT_HARD): Likewise.
19864
4efcc022
JM
198652012-08-23 Joseph Myers <joseph@codesourcery.com>
19866
19867 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
19868 #include of fxstatat64.c.
19869
3cc3ef96
RM
198702012-08-22 Roland McGrath <roland@hack.frob.com>
19871
f04e2132
RM
19872 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
19873 * shadow/getspent_r.c: Likewise.
19874 * shadow/getspnam.c: Likewise.
19875 * shadow/getspnam_r.c: Likewise.
19876 * gshadow/getsgent.c: Likewise.
19877 * gshadow/getsgent_r.c: Likewise.
19878 * gshadow/getsgnam.c: Likewise.
19879 * gshadow/getsgnam_r.c: Likewise.
19880 * inet/getnetbyad.c: Likewise.
19881 * inet/getnetbyad_r.c: Likewise.
19882 * inet/getnetbynm.c: Likewise.
19883 * inet/getnetbynm_r.c: Likewise.
19884 * inet/getnetent.c: Likewise.
19885 * inet/getnetent_r.c: Likewise.
19886 * inet/getproto.c: Likewise.
19887 * inet/getproto_r.c: Likewise.
19888 * inet/getprtent.c: Likewise.
19889 * inet/getprtent_r.c: Likewise.
19890 * inet/getprtname.c: Likewise.
19891 * inet/getprtname_r.c: Likewise.
19892 * inet/getrpcbyname.c: Likewise.
19893 * inet/getrpcbyname_r.c: Likewise.
19894 * inet/getrpcbynumber.c: Likewise.
19895 * inet/getrpcbynumber_r.c: Likewise.
19896 * inet/getrpcent.c: Likewise.
19897 * inet/getrpcent_r.c: Likewise.
19898 * inet/getaliasent.c: Likewise.
19899 * inet/getaliasent_r.c: Likewise.
19900 * inet/getaliasname.c: Likewise.
19901 * inet/getaliasname_r.c: Likewise.
19902 * nscd/getgrgid_r.c: Likewise.
19903 * nscd/getgrnam_r.c: Likewise.
19904 * nscd/gethstbyad_r.c: Likewise.
19905 * nscd/gethstbynm3_r.c: Likewise.
19906 * nscd/getpwnam_r.c: Likewise.
19907 * nscd/getpwuid_r.c: Likewise.
19908 * nscd/getsrvbynm_r.c: Likewise.
19909 * nscd/getsrvbypt_r.c: Likewise.
19910 * nscd/gai.c: Likewise.
19911
c53d909c
RM
19912 * configure.in (build_nscd): New substituted variable, set
19913 by --disable-build-nscd and defaults to $use_nscd.
19914 * configure: Regenerated.
19915 * config.make.in (build-nscd): New substituted variable.
19916 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
19917 Change conditional to require [$(build-nscd) = yes] as well.
19918 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
19919
3cc3ef96
RM
19920 [BZ# 13696]
19921 * configure.in (use_nscd): New substituted variable, set by
19922 --disable-nscd. If enabled, define USE_NSCD.
19923 * configure: Regenerated.
19924 * config.h.in: Add USE_NSCD.
19925 * config.make.in (use-nscd): New substituted variable.
19926 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
19927 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
19928 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
19929 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
19930 (CFLAGS-getgrnam_r.c): Likewise.
19931 (CFLAGS-initgroups.c): Likewise.
19932 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
19933 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
19934 Variables removed.
19935 * inet/getnetgrent_r.c
19936 (nscd_setnetgrent): New function, broken out of ...
19937 (setnetgrent): ... here. Call it.
19938 (innetgr): Conditionalize nscd bits on [USE_NSCD].
19939 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
19940 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
19941 * nscd/Makefile (routines, aux): Move definitions after include of
19942 Makeconfig. Conditionalize on [$(use-nscd) != no].
19943 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
19944 Conditionalize on [USE_NSCD].
19945 (is_nscd, nscd_init_cb): Likewise.
19946 (nss_load_library): Conditionalize init callback on [USE_NSCD].
19947 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
19948 * nss/nss_db/db-init.c: Likewise.
19949 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
19950 [USE_NSCD].
19951 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
19952 (make_request): Use it.
19953 (cache_valid_p): New function.
19954 (__check_pf): Use it.
19955 * NEWS: Add item for --disable-nscd.
19956
07e51550
DL
199572012-08-22 Dmitry V. Levin <ldv@altlinux.org>
19958
19959 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
19960 to support sed >= 4.2.1-20-ga9bf076.
19961 * configure: Regenerated.
19962
35a5b08b
RM
199632012-08-22 Roland McGrath <roland@hack.frob.com>
19964
19965 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
19966 Conditionalize whole body on [IREL].
19967
8479f23a
JL
199682012-08-22 Jeff Law <law@redhat.com>
19969
19970 [BZ #14505]
19971 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
19972 if the family is PF_UNSPEC.
19973
48da0b21
MF
199742012-08-22 Mike Frysinger <vapier@gentoo.org>
19975
19976 * Makerules (lib-version): Rename from V.
19977 (install-lib-nosubdir): Change V to lib-version.
19978
15d0da8c
WS
199792012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
19980
19981 [BZ #14252]
19982 * powerpc32/power6/wcschr.c: New file.
19983 * powerpc32/power6/wcscpy.c: New file.
19984 * powerpc32/power6/wcsrchr.c: New file.
19985 * powerpc64/power6/wcschr.c: New file.
19986 * powerpc64/power6/wcscpy.c: New file.
19987 * powerpc64/power6/wcsrchr.c: New file.
19988
bcca0895
MK
199892012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
19990
19991 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
19992 (two_way_short_needle): Use it.
5a4aaa33
RM
19993 * string/strstr.c (AVAILABLE1_USES_J): Define.
19994 * string/strcasestr.c: Likewise.
99677e57
MK
19995
19996 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
19997 array references.
19998 * string/strcasestr.c (TOLOWER): Make side-effect safe.
19999
400726de
MK
20000 [BZ #11607]
20001 * NEWS: Add an entry.
20002 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
20003 define their defaults.
20004 (two_way_short_needle): Detect end-of-string on-the-fly.
20005 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
20006 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
20007 * string/bug-strcasestr1.c: New test.
20008 * string/Makefile: Run it.
20009
20a71f2c
MK
200102012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
20011
20012 [BZ #11607]
20013 * string/str-two-way.h (two_way_short_needle): Optimize matching of
20014 the first character.
20015
21ad0558
RM
200162012-08-21 Roland McGrath <roland@hack.frob.com>
20017
20018 * csu/elf-init.c (__libc_csu_irel): Function removed.
20019 * csu/libc-start.c (apply_irel): New function.
20020 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
20021
0e1d9911
JM
200222012-08-21 Joseph Myers <joseph@codesourcery.com>
20023
20024 * sysdeps/unix/sysv/linux/kernel-features.h
20025 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
20026 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
20027 <kernel-features.h>.
20028 [__NR_fadvise64_64]: Make code unconditional.
20029 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
20030 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
20031 !__NR_fadvise64_64)]: Likewise.
20032 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
20033 !__NR_fadvise64_64))]: Likewise.
20034 [__NR_fadvise64]: Make code unconditional.
20035 [!__NR_fadvise64]: Remove conditional code.
20036 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
20037 <kernel-features.h>.
20038 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20039 unconditional.
20040 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20041 conditional code.
20042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
20043 not include <kernel-features.h>.
20044 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20045 unconditional.
20046 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20047 conditional code.
20048 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
20049 include <kernel-features.h>.
20050 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20051 unconditional.
20052 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20053 conditional code.
20054
14a50c9d
WS
200552012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
20056
20057 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
20058 slight instruction rearrangements per scrollpipe analysis.
20059 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
20060
c0f4faf0
RM
200612012-08-20 Roland McGrath <roland@hack.frob.com>
20062
696da859
RM
20063 * manual/syslog.texi (syslog; vsyslog, closelog):
20064 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
20065 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
20066
c0f4faf0
RM
20067 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
20068 DSOCAPS to match condition on defining it.
20069
348363b2
JM
200702012-08-20 Joseph Myers <joseph@codesourcery.com>
20071
a35cbf28
JM
20072 * sysdeps/unix/sysv/linux/kernel-features.h
20073 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
20074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
20075 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20076 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
20078 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20079 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
20081 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20082 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20083
445f7ecd
JM
20084 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
20085 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
20086
348363b2
JM
20087 * sysdeps/unix/sysv/linux/kernel-features.h
20088 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
20089 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
20090 unconditional.
20091 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20092 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
20093 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
20094 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20095 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
20096 Make code unconditional.
20097 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20098 (__mmap64) [!__NR_mmap2]: Likewise.
20099 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
20100 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
20101 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20102 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
20103 [__NR_mmap2]: Make code unconditional.
20104 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20105 (__mmap64) [!__NR_mmap2]: Likewise.
20106
bc5bc0e5
AK
201072012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20108
20109 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
20110
88d506de
AJ
201112012-08-18 Andreas Jaeger <aj@suse.de>
20112
20113 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
20114
493387d2
MF
201152012-08-18 Mike Frysinger <vapier@gentoo.org>
20116
20117 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
20118 * include/unistd.h (__have_sock_cloexec): Likewise.
20119 (__have_pipe2): Likewise.
20120 (__have_dup3): Likewise.
20121
a277af22
MF
201222012-08-18 Mike Frysinger <vapier@gentoo.org>
20123
20124 [BZ #9685]
20125 * include/unistd.h (__have_pipe2): Change define into an extern int.
20126 (__have_dup3): Likewise.
20127 * socket/have_sock_cloexec.c: Include fcntl.h.
20128 (__have_pipe2): New variable.
20129 (__have_dup3): Likewise.
20130
fdab8fd3
MF
201312012-08-17 Mike Frysinger <vapier@gentoo.org>
20132
20133 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
20134
31035e80
MP
201352012-08-17 Marek Polacek <polacek@redhat.com>
20136
20137 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
20138 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
20139
3bd9e993
RM
201402012-08-17 Roland McGrath <roland@hack.frob.com>
20141
c91c505f
RM
20142 * configure.in: Add AC_SUBST for sysheaders.
20143 * configure: Regenerated.
20144 * config.make.in (sysheaders): New substituted variable.
20145
7c6f9d53
RM
20146 * sysdeps/unix/mkfifo.c: Moved ...
20147 * sysdeps/posix/mkfifo.c: ... here.
20148 * sysdeps/unix/mkfifoat.c: Moved ...
20149 * sysdeps/posix/mkfifoat.c: ... here.
20150
20151 * sysdeps/unix/utime.c: Moved ...
20152 * sysdeps/posix/utime.c: ... here.
20153
20154 * sysdeps/unix/time.c: Moved ...
20155 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
20156 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
20157 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
20158
20159 * sysdeps/unix/nice.c: Moved ...
20160 * sysdeps/posix/nice.c: ... here.
20161
20162 * sysdeps/unix/alarm.c: Moved ...
20163 * sysdeps/posix/alarm.c: ... here.
20164
3bd9e993
RM
20165 * intl/Makefile ($(codeset_mo)): Depend on the input file.
20166
d1f09384
JL
201672012-08-17 Jeff Law <law@redhat.com>
20168
20169 * intl/Makefile (codeset_mo): New variable.
20170 ($(codeset_mo)): New target.
20171 (tst-codeset.out): Depend on that. Remove explicit rule.
20172 (tst-gettext3.out, tst-gettext5.out): Likewise.
20173 (LOCPATH-ENV, tst-codeset-ENV): New variables.
20174 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
20175 * intl/tst-codeset.sh: Remove.
20176 * intl/tst-gettext3.sh: Likewise.
20177 * intl/tst-gettext5.sh: Likewise.
20178
2ae1ae5c
RM
201792012-08-17 Roland McGrath <roland@hack.frob.com>
20180
c31fdb83
RM
20181 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
20182 * sysdeps/unix/syscalls.list: ... here.
20183
a0844057
RM
20184 * sysdeps/posix/getaddrinfo.c
20185 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
20186 (gaiconf_init, gaiconf_reload): Use them.
20187 [!_STATBUF_ST_NSEC]
20188 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
20189 Define using time_t rather than struct timespec.
20190
750c1f2a
RM
20191 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
20192 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
20193 Macros removed.
20194 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
20195 [!NO_THREADS].
20196 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
20197 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
20198 Likewise.
20199
2ae1ae5c
RM
20200 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
20201 __libc_cleanup_push argument.
20202
e66a42f5
RM
20203 * bits/param.h: New file.
20204 * misc/sys/param.h: New file.
20205 * include/sys/param.h: New file.
20206 * misc/Makefile (headers): Add bits/param.h.
20207 * sysdeps/generic/sys/param.h: File removed.
20208 * sysdeps/unix/sysv/linux/bits/param.h: New file.
20209 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
20210 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 20211 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 20212
b7c08a66
RM
20213 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
20214 last change.
20215
b2e1c562
RM
20216 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
20217 [_IO_MTSAFE_IO].
20218 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
20219 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
20220 New macros.
20221
c75ccd4c
RM
20222 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
20223 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
20224 rather than -D_IO_MTSAFE_IO conditionally.
20225 * stdio-common/Makefile (CPPFLAGS): Likewise.
20226 * wcsmbs/Makefile (CPPFLAGS): Likewise.
20227 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
20228 Use $(libio-mtsafe).
20229 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
20230 of -D_IO_MTSAFE_IO.
20231 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
20232 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
20233 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
20234 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
20235 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
20236 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
20237 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
20238 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
20239 (CFLAGS-fread_u_chk.c): Likewise.
20240 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
20241 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
20242 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
20243 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
20244 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
20245 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
20246 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
20247 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
20248 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
20249
20250 * libio/Makefile: Test [$(libc-reentrant) = yes]
20251 instead of [$(filter %REENTRANT, $(defines)) nonempty].
20252
20253 * Makeconfig
20254 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
20255 * sysdeps/pthread/configure: File removed.
20256 * sysdeps/pthread/Makeconfig: New file.
20257 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
20258 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
20259
d9195db8
GB
202602012-08-16 Gary Benson <gbenson@redhat.com>
20261
20262 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
20263 unmapping the first object in a namespace.
20264
86466cd9
RM
202652012-08-16 Roland McGrath <roland@hack.frob.com>
20266
20267 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
20268 (__internal_setnetgrent): ... this. Add internal_function to
20269 definition. Add libc_hidden_def.
20270 (setnetgrent): Update caller.
20271 (internal_endnetgrent): Renamed to ...
20272 (__internal_endnetgrent): ... this. Add internal_function to
20273 definition. Add libc_hidden_def.
20274 (endnetgrent): Update caller.
20275 (internal_getnetgrent_r): Renamed to ...
20276 (__internal_getnetgrent_r): ... this. Add internal_function to
20277 definition. Add libc_hidden_def.
20278 (__getnetgrent_r): Update caller.
20279 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
20280
c3c8283c
JM
202812012-08-16 Joseph Myers <joseph@codesourcery.com>
20282
20283 * stdlib/longlong.h: Update from GCC.
20284
db1ee0a8
RM
202852012-08-16 Roland McGrath <roland@hack.frob.com>
20286
20287 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
20288 on _QL, which is set by umul_ppmm but never used.
20289 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
20290 variables, which are set by GMP macros but never used.
20291 * stdio-common/_itowa.c (_itowa): Likewise.
20292 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
20293 * stdlib/mod_1.c (mpn_mod_1): Likewise.
20294
30f69637
CD
202952012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
20296
20297 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
20298 struct La_sh_regs is not constant.
20299 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
20300 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
20301 and struct La_sparc64_regs are not constant.
20302
93a78ac4
JM
203032012-08-16 Joseph Myers <joseph@codesourcery.com>
20304
20305 * sysdeps/unix/sysv/linux/kernel-features.h
20306 (__ASSUME_POSIX_TIMERS): Remove.
20307 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
20308 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20309 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
20310 Make code unconditional.
20311 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20312 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
20313 Make code unconditional.
20314 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20315 * sysdeps/unix/sysv/linux/clock_nanosleep.c
20316 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
20317 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20318 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
20319 Make code unconditional.
20320 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20321 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
20322 (__libc_missing_posix_timers): Remove.
20323
dd924cd7
RM
203242012-08-15 Roland McGrath <roland@hack.frob.com>
20325
4b4f2771
RM
20326 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
20327 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
20328
601c888b
RM
20329 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
20330
176790a7
RM
20331 * elf/dl-sym.c: Include <stdlib.h>.
20332
329bc018
RM
20333 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
20334 constants, which avoids warnings in 32-bit builds.
20335
e04e272d
RM
20336 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
20337 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
20338
952bf94a
RM
20339 * misc/lseek.c: File moved to ...
20340 * io/lseek.c: ... here.
20341
7c99b50a
RM
20342 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
20343
dd924cd7
RM
20344 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
20345 shifting LEN more than 31 bits at once.
20346
b3f479a8
LD
203472012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20348
20349 [BZ #14195]
8c4ae0d4
RM
20350 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
20351 segmentation fault for a case of two empty input strings.
b3f479a8
LD
20352 * string/test-strncasecmp.c (check1): Renamed to...
20353 (bz12205): ...this.
20354 (bz14195): Add new testcase for two empty input strings and N > 0.
20355 (test_main): Call new testcase, adapt for renamed function.
20356
9c55864e
AJ
203572012-08-15 Andreas Jaeger <aj@suse.de>
20358
20359 [BZ #14090]
20360 * crypt/md5test2.c: New test, based on test supplied by Serge
20361 Belyshev <belyshev@depni.sinp.msu.ru>.
20362 * crypt/Makefile (xtests): Add md5test-giant..
20363 * crypt/Makefile ($(objpfx)md5test-giant): Add.
20364
02dcb6c5
PE
203652012-08-15 Paul Eggert <eggert@cs.ucla.edu>
20366
20367 [BZ #14090]
20368 * crypt/md5.c (md5_process_block): Don't assume the buffer
20369 length is less than 2**32.
20370 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
20371 length is less than 2**64.
20372
a3f95dcc
RM
203732012-08-15 Roland McGrath <roland@hack.frob.com>
20374
be75d758
RM
20375 * string/str-two-way.h: Include <sys/param.h>.
20376 (MAX): Macro removed.
20377
7312ca90
RM
20378 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
20379 Move #define and #undef of memmove to just before and after
20380 including <string.h>.
20381
9a0a5486
RM
20382 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
20383 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
20384 and after including <string.h>. Move declarations of
20385 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
20386 to before #include "string/memmove.c".
20387
67cc348d
RM
20388 * include/dirent.h: Declare __getdirentries.
20389
a3f95dcc
RM
20390 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
20391 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
20392
ca98e171
MF
203932012-08-14 Mike Frysinger <vapier@gentoo.org>
20394
20395 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
20396 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
20397 * sysdeps/i386/configure: Regenerated.
20398 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
20399 STABS_CURRENT_FILE, and STABS_FUN.
20400 (END): Remove call to STABS_FUN_END.
20401 (STABS_CURRENT_FILE1): Delete.
20402 (STABS_CURRENT_FILE): Likewise.
20403 (STABS_FUN): Likewise.
20404 (STABS_FUN_END): Likewise.
20405 (STABS_FUN2): Likewise.
20406 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
20407 * sysdeps/x86_64/configure: Regenerated.
20408
5908bf46
RM
204092012-08-14 Roland McGrath <roland@hack.frob.com>
20410
20411 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 20412 * elf/dl-lookup.c: Likewise.
5908bf46 20413
f2c05b9e
JM
204142012-08-14 Joseph Myers <joseph@codesourcery.com>
20415
20416 * sysdeps/unix/sysv/linux/kernel-features.h
20417 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
20418 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
20419 unconditionally.
20420 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
20421 unconditionally.
20422 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
20423 condition on __ASSUME_CLONE_THREAD_FLAGS.
20424
e11f5155
AJ
204252012-08-14 Andreas Jaeger <aj@suse.de>
20426
20427 * sysdeps/i386/fpu/libm-test-ulps: Update.
20428
51a9ba86
MK
204292012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
20430
2fdd4f78
AJ
20431 * include/atomic.h (atomic_exchange_and_add): Split into ...
20432 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
20433 New atomic macros.
51a9ba86 20434
ba6cba9e
MT
204352012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
20436
20437 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20438
42443a47
JL
204392012-08-13 Jeff Law <law@redhat.com>
20440
20441 * manual/stdio.texi (snprintf): Clarify handling of the trailing
20442 null byte in the output string.
20443
121dce05
JM
204442012-08-10 Joseph Myers <joseph@codesourcery.com>
20445
20446 * sysdeps/unix/sysv/linux/kernel-features.h
20447 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
20448 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
20449 (__ASSUME_ARG_MAX_STACK_BASED): Define.
20450 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
20451 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
20452 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
20453 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
20454
bf51f568
JL
204552012-08-09 Jeff Law <law@redhat.com>
20456
20457 [BZ #13939]
20458 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
20459 When avoid_arena is set, don't retry in the that arena. Pick the
20460 next one, whatever it might be.
20461 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
20462 (arena_lock): Pass in new parameter to arena_get2.
20463 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
20464 arena_get2.
20465 (__libc_malloc): Unify retrying after main arena failure with
20466 __libc_memalign version.
20467 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
20468
f85fa270
L
204692012-08-09 H.J. Lu <hongjiu.lu@intel.com>
20470
20471 [BZ #14166]
20472 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
20473 to __redirect_strstr.
20474 (__strstr_sse42): Use typeof __redirect_strstr.
20475 (__strstr_ia32): Likewise.
20476 (__libc_strstr): New prototype.
20477 (strstr): Renamed to ...
20478 (__libc_strstr): This.
20479 (strstr): New strong alias of __libc_strstr.
20480 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
20481 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
20482 __redirect_time.
20483 Include <time.h>.
20484 (__libc_time): New prototype.
20485 (time_ifunc): Replace time with __libc_time.
20486 (time): New strong alias and hidden definition of __libc_time.
20487 (__GI_time): Remove strong alias.
20488 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
20489 Include <stddef.h>.
20490 (memmove): Redefined to __redirect_memmove.
20491 (__memmove_sse2): Use typeof __redirect_memmove.
20492 (__memmove_ssse3): Likewise.
20493 (__memmove_ssse3_back): Likewise.
20494 (__libc_memmove): New prototype.
20495 (memmove): Renamed to ...
20496 (__libc_memmove): This.
20497 (memmove): New strong alias of __libc_memmove.
20498
33b4a91e
MS
204992012-08-08 Mark Salter <msalter@redhat.com>
20500
20501 * elf/elf.h
20502 (R_MN10300_TLS_GD): Define.
20503 (R_MN10300_TLS_LD): Likewise.
20504 (R_MN10300_TLS_LDO): Likewise.
20505 (R_MN10300_TLS_GOTIE): Likewise.
20506 (R_MN10300_TLS_IE): Likewise.
20507 (R_MN10300_TLS_LE): Likewise.
20508 (R_MN10300_TLS_DTPMOD): Likewise.
20509 (R_MN10300_TLS_DTPOFF): Likewise.
20510 (R_MN10300_TLS_TPOFF): Likewise.
20511 (R_MN10300_SYM_DIFF): Likewise.
20512 (R_MN10300_ALIGN): Likewise.
20513 (R_MN10300_NUM): Update.
20514
b36137f1
JM
205152012-08-08 Joseph Myers <joseph@codesourcery.com>
20516
20517 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
20518 Remove.
20519
cdd915fd
RM
205202012-08-08 Roland McGrath <roland@hack.frob.com>
20521
a2433aac
RM
20522 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
20523
cdd915fd
RM
20524 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
20525 sysdeps/unix -> sysdeps/posix move.
20526 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
20527
bf9b740a
AM
205282012-08-07 Allan McRae <allan@archlinux.org>
20529
20530 [BZ #14303]
20531 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
20532 (SUNOS_CPP): Likewise.
20533 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
20534 not found.
20535 (open_input): Call CPP using execvp.
20536
93df14ee
JM
205372012-08-07 Joseph Myers <joseph@codesourcery.com>
20538
20539 * sysdeps/unix/sysv/linux/kernel-features.h
20540 (__ASSUME_PROT_GROWSUPDOWN): Remove.
20541 (__ASSUME_NO_CLONE_DETACHED): Likewise.
20542 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20543 (__ASSUME_WAITID_SYSCALL): Likewise.
20544 * sysdeps/unix/sysv/linux/dl-execstack.c
20545 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
20546 code unconditional.
20547 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
20548 conditional code.
20549 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
20550 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
20551 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
20552 code.
20553 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
20554 unconditional.
20555 [__ASSUME_WAITID_SYSCALL]: Likewise.
20556 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
20557
d34689de
RM
205582012-08-07 Roland McGrath <roland@hack.frob.com>
20559
a281decc
RM
20560 * sysdeps/unix/closedir.c: Renamed to ...
20561 * sysdeps/posix/closedir.c: ... here.
20562 * sysdeps/unix/dirfd.c: Renamed to ...
20563 * sysdeps/posix/dirfd.c: ... here.
20564 * sysdeps/unix/dirstream.h: Renamed to ...
20565 * sysdeps/posix/dirstream.h: ... here.
20566 * sysdeps/unix/fdopendir.c: Renamed to ...
20567 * sysdeps/posix/fdopendir.c: ... here.
20568 * sysdeps/unix/opendir.c: Renamed to ...
20569 * sysdeps/posix/opendir.c: ... here.
20570 * sysdeps/unix/readdir.c: Renamed to ...
20571 * sysdeps/posix/readdir.c: ... here.
20572 * sysdeps/unix/readdir_r.c: Renamed to ...
20573 * sysdeps/posix/readdir_r.c: ... here.
20574 * sysdeps/unix/rewinddir.c: Renamed to ...
20575 * sysdeps/posix/rewinddir.c: ... here.
20576 * sysdeps/unix/seekdir.c: Renamed to ...
20577 * sysdeps/posix/seekdir.c: ... here.
20578 * sysdeps/unix/telldir.c: Renamed to ...
20579 * sysdeps/posix/telldir.c: ... here.
20580 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
20581 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
20582 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
20583 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
20584
22895b47
RM
20585 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
20586 * bits/fcntl.h: ... here.
20587
707a53b6
RM
20588 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
20589 not 0.
20590 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
20591 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
20592 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
20593 (struct flock): Move l_start, l_len to the beginning.
20594 Use __pid_t for l_pid.
20595 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
20596 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
20597 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
20598 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
20599 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
20600 [__USE_LARGEFILE64] (struct flock64): New type.
20601 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
20602
f0bd3e25
RM
20603 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
20604 * bits/dirent.h: ... here.
20605
d34689de
RM
20606 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
20607 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
20608
6dad2c06
JM
206092012-08-07 Joseph Myers <joseph@codesourcery.com>
20610
20611 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20612 Change from 2.6.0 to 2.6.16.
20613 * sysdeps/unix/sysv/linux/configure: Regenerated.
20614 * sysdeps/unix/sysv/linux/kernel-features.h
20615 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
20616 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
20617 version.
20618 (__ASSUME_UTIMES): Likewise.
20619 (__ASSUME_CLONE_STOPPED): Remove.
20620 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
20621 architectures, not kernel version.
20622 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
20623 (__ASSUME_NO_CLONE_DETACHED): Likewise.
20624 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20625 (__ASSUME_WAITID_SYSCALL): Likewise.
20626 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
20627 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
20628 * README: State 2.6.16 as minimum Linux kernel version. Do not
20629 refer to older versions.
20630
03af9520
RM
206312012-08-06 Roland McGrath <roland@hack.frob.com>
20632
8e49df1d
RM
20633 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
20634 Define alphasort64 as an alias.
20635 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
20636 Define versionsort64 as an alias.
20637 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
20638 Define scandir64 as an alias.
20639 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
20640 Define scandirat64 as an alias.
20641 * dirent/alphasort64.c (alphasort64):
20642 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
20643 * dirent/versionsort64.c: Likewise.
20644 * dirent/scandir64.c: Likewise.
20645 * dirent/scandirat64.c: Likewise.
20646 * sysdeps/wordsize-64/alphasort.c: File removed.
20647 * sysdeps/wordsize-64/alphasort64.c: File removed.
20648 * sysdeps/wordsize-64/scandir.c: File removed.
20649 * sysdeps/wordsize-64/scandir64.c: File removed.
20650 * sysdeps/wordsize-64/scandirat.c: File removed.
20651 * sysdeps/wordsize-64/scandirat64.c: File removed.
20652 * sysdeps/wordsize-64/versionsort.c: File removed.
20653 * sysdeps/wordsize-64/versionsort64.c: File removed.
20654 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
20655 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
20656 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
20657 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
20658 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
20659 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
20660 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
20661 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
20662
20663 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
20664 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20665 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
20666 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20667 [defined __arch64__ || defined __sparcv9]
20668 (__INO_T_MATCHES_INO64_T): New macro.
20669 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20670 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
20671 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
20672 * sysdeps/unix/sysv/linux/bits/dirent.h
20673 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
20674 (_DIRENT_MATCHES_DIRENT64): New macro.
20675
03af9520
RM
20676 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
20677 Define lockf64 as an alias.
20678 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
20679 Define fseeko64 as an alias.
20680 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
20681 Define ftello64 as an alias.
20682 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
20683 Define _IO_fgetpos64 and fgetpos64 as aliases.
20684 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
20685 Define _IO_fsetpos64 and fsetpos64 as aliases.
20686 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
20687 Conditionalize body on this.
20688 * libio/fseeko64.c: Likewise.
20689 * libio/ftello64.c: Likewise.
20690 * libio/iofgetpos64.c: Likewise.
20691 * libio/iofsetpos64.c: Likewise.
20692 * sysdeps/wordsize-64/lockf.c: File removed.
20693 * sysdeps/wordsize-64/lockf64.c: File removed.
20694 * sysdeps/wordsize-64/fseeko.c: File removed.
20695 * sysdeps/wordsize-64/fseeko64.c: File removed.
20696 * sysdeps/wordsize-64/ftello.c: File removed.
20697 * sysdeps/wordsize-64/ftello64.c: File removed.
20698 * sysdeps/wordsize-64/iofgetpos.c: File removed.
20699 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
20700 * sysdeps/wordsize-64/iofsetpos.c: File removed.
20701 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
20702 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
20703 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
20704 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
20705 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
20706 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
20707 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
20708 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
20709 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
20710 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
20711 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
20712
20713 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20714 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20715 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
20716 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20717 [defined __arch64__ || defined __sparcv9]
20718 (__OFF_T_MATCHES_OFF64_T): New macro.
20719 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20720 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20721 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20722 (__OFF_T_MATCHES_OFF64_T): New macro.
20723
c5757acd
L
207242012-08-06 H.J. Lu <hongjiu.lu@intel.com>
20725
20726 * stdlib/secure-getenv.c (__secure_getenv): Replace
20727 GLIBC_2_16 with GLIBC_2_17.
20728
3a31811e
L
207292012-08-06 H.J. Lu <hongjiu.lu@intel.com>
20730
20731 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
20732 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20733
faa2bccb
DM
207342012-08-03 David S. Miller <davem@davemloft.net>
20735
20736 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20737
85fe1997
JM
207382012-08-03 Joseph Myers <joseph@codesourcery.com>
20739
20740 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
20741 Remove.
20742 (__ASSUME_CORRECT_SI_PID): Likewise.
20743 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
20744 (__ASSUME_TMPFS_NAME): Likewise.
20745 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
20746 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
20747 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
20748 (HAVE_AUX_SECURE): Make definition unconditional.
20749 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
20750 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
20751
4f75b7a0
RM
207522012-08-03 Roland McGrath <roland@hack.frob.com>
20753
20754 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
20755 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
20756 * sysdeps/mach/hurd/eloop-threshold.h: New file.
20757 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
20758 __eloop_threshold instead of SYMLOOP_MAX.
20759
20760 * sysdeps/generic/eloop-threshold.h: New file.
20761 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
20762 of MAXSYMLINKS.
20763 * elf/chroot_canon.c (chroot_canon): Likewise.
20764
7aab07e4
JM
207652012-08-03 Joseph Myers <joseph@codesourcery.com>
20766
20767 [BZ #13717]
20768 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20769 Change to 2.6.0 everywhere.
20770 * sysdeps/unix/sysv/linux/configure: Regenerated.
20771 * sysdeps/unix/sysv/linux/kernel-features.h
20772 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
20773 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
20774 kernel versions.
20775 (__ASSUME_POSIX_TIMERS): Define unconditionally.
20776 (__ASSUME_FUTEX_REQUEUE): Remove.
20777 (__ASSUME_STATFS64): Define unconditionally.
20778 (__ASSUME_AT_SECURE): Likewise.
20779 (__ASSUME_CORRECT_SI_PID): Likewise.
20780 (__ASSUME_TGKILL): Define without depending on kernel version for
20781 i386.
20782 (__ASSUME_UTIMES): Likewise.
20783 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
20784 kernel version.
20785 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
20786 (__ASSUME_TMPFS_NAME): Likewise.
20787 * README: Update reference to Linux kernel versions.
20788
b67e9372
MP
207892012-08-02 Marek Polacek <polacek@redhat.com>
20790
1f529f7d 20791 [BZ# 14150]
b67e9372
MP
20792 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
20793 libc_cv_asm_type_prefix with %.
20794 * configure: Regenerated.
d2441631
RM
20795 * include/libc-symbols.h: Remove comment about
20796 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
20797 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
20798 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
20799 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
20800 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
20801 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20802 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
20803 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
20804 * elf/tst-unique2mod1.c: Likewise.
20805 * elf/tst-unique1mod2.c: Likewise.
20806 * elf/tst-unique1mod1.c: Likewise.
20807 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
20808 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
20809 Replace ASM_TYPE_DIRECTIVE with .type.
20810 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20811 * sysdeps/i386/sysdep.h: Likewise.
20812 * sysdeps/x86_64/sysdep.h: Likewise.
20813 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
20814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
20815 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 20816 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
20817 * sysdeps/powerpc/powerpc32/sysdep.h:
20818 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
20819 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
20820 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20821 * sysdeps/i386/fpu/e_powf.S: Likewise.
20822 * sysdeps/i386/fpu/e_expl.S: Likewise.
20823 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20824 * sysdeps/i386/fpu/e_acosh.S: Likewise.
20825 * sysdeps/i386/fpu/e_pow.S: Likewise.
20826 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20827 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20828 * sysdeps/i386/fpu/s_expm1.S: Likewise.
20829 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20830 * sysdeps/i386/fpu/e_log2.S: Likewise.
20831 * sysdeps/i386/fpu/e_log2l.S: Likewise.
20832 * sysdeps/i386/fpu/e_scalb.S: Likewise.
20833 * sysdeps/i386/fpu/e_powl.S: Likewise.
20834 * sysdeps/i386/fpu/e_log10f.S: Likewise.
20835 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20836 * sysdeps/i386/fpu/e_logl.S: Likewise.
20837 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20838 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20839 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20840 * sysdeps/i386/fpu/e_log2f.S: Likewise.
20841 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20842 * sysdeps/i386/fpu/e_log.S: Likewise.
20843 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20844 * sysdeps/i386/fpu/e_logf.S: Likewise.
20845 * sysdeps/i386/fpu/e_log10l.S: Likewise.
20846 * sysdeps/i386/fpu/e_atanh.S: Likewise.
20847 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20848 * sysdeps/i386/fpu/e_log10.S: Likewise.
20849 * sysdeps/i386/fpu/s_frexp.S: Likewise.
20850 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20851 * sysdeps/i386/fpu/s_asinh.S: Likewise.
20852 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20853 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20854 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
20855 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20856 * sysdeps/i386/i686/strtok.S: Likewise.
20857 * sysdeps/i386/i386-mcount.S: Likewise.
20858 * sysdeps/i386/strtok.S: Likewise.
20859 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
20860 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20861 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20862 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20863 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
20864 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20865 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20866 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20867 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20868 * sysdeps/x86_64/_mcount.S: Likewise.
20869 * sysdeps/x86_64/strtok.S: Likewise.
20870 * sysdeps/sh/_mcount.S: Likewise.
20871
2747bf9a
RM
208722012-08-01 Roland McGrath <roland@hack.frob.com>
20873
20874 * libio/iofopen.c: Include <fcntl.h>.
20875 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
20876 (_IO_fopen64, fopen64): Define as aliases.
20877 * libio/iofopen64.c: Include <fcntl.h>.
20878 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
20879 Conditionalize body on this.
20880 * sysdeps/wordsize-64/iofopen.c: File removed.
20881 * sysdeps/wordsize-64/iofopen64.c: File removed.
20882
3fb791b8
MP
208832012-08-01 Marek Polacek <polacek@redhat.com>
20884
20885 * libc/Makeconfig: Use elf in place of binfmt-subdir.
20886 Use dlfcn directly instead of a variable.
20887 (binfmt-subdir): Do not define.
20888 (dlfcn): Likewise.
20889
a9f1039f
JM
208902012-08-01 Joseph Myers <joseph@codesourcery.com>
20891
23bddc06
JM
20892 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
20893 Remove all definitions.
20894 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
20895 <kernel-features.h>.
20896 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20897 (miss_F_GETOWN_EX): Remove all definitions.
20898 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
20899 macro definition.
20900 [!__ASSUME_FCNTL64]: Remove conditional code.
20901 [__ASSUME_FCNTL64]: Make code unconditional.
20902 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
20903 <kernel-features.h>.
20904 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20905 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
20906 (lockf64) [__NR_fcntl64]: Make code unconditional.
20907 (lockf64) [__ASSUME_FCNTL64]: Likewise.
20908
a9f1039f
JM
20909 * sysdeps/unix/sysv/linux/kernel-features.h
20910 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
20911 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
20912 Make code unconditional.
20913 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20914 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
20916 [__NR_vfork]: Make code unconditional.
20917 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20918 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
20920 [__NR_vfork]: Make code unconditional.
20921 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20922 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20923
09c0ee5f
RM
209242012-08-01 Roland McGrath <roland@hack.frob.com>
20925
48aec5b9
RM
20926 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
20927 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
20928
cd97c966
RM
20929 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20930 Define mkstemp64 as an alias.
3f55550c
RM
20931 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20932 Define mkstemps64 as an alias.
cd97c966
RM
20933 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20934 Define mkostemp64 as an alias.
b8625cfc
RM
20935 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20936 Define mkostemps64 as an alias.
cd97c966
RM
20937 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
20938 Conditionalize body on this.
20939 * misc/mkostemp64.c: Likewise.
b8625cfc 20940 * misc/mkostemps64.c: Likewise.
3f55550c 20941 * misc/mkstemps64.c: Likewise.
cd97c966
RM
20942 * sysdeps/wordsize-64/mkstemp64.c: File removed.
20943 * sysdeps/wordsize-64/mkostemp64.c: File removed.
20944 * sysdeps/wordsize-64/mkostemp.c: File removed.
20945 * sysdeps/wordsize-64/mkstemp.c: File removed.
20946 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
20947 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
20948 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
20949 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
20950
09c0ee5f
RM
20951 [BZ #14138]
20952 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
20953 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
20954 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
20955 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
20956
20957 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
20958 compat_symbol macros from <shlib-compat.h> rather than the underlying
20959 default_symbol_version and symbol_version macros, so that DEFAULT
20960 lines in shlib-versions are respected.
20961 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
20962
7e66ee51
FW
209632012-08-01 Florian Weimer <fweimer@redhat.com>
20964
20965 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
20966 Declare with warn_unused_result.
20967 (setgid, setregid, setegid, setresgid): Likewise.
20968 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
20969 Likewise.
20970 * WUR-REPORT: Remove set*id functions.
20971
d2a54255
PT
209722012-07-31 Pino Toscano <toscano.pino@tiscali.it>
20973
20974 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
20975
7ecdb005
RM
209762012-07-31 Roland McGrath <roland@hack.frob.com>
20977
b4180a5e 20978 [BZ #10191]
789bd351
RM
20979 * include/sys/socket.h (__libc_accept, __libc_accept4):
20980 Add attribute_hidden.
20981 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
20982
40ce302d
RM
20983 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
20984 use of PTR_MANGLE.
20985 * inet/getnetgrent_r.c (setup): Likewise.
20986
7ecdb005
RM
20987 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
20988
e2eabb2c
DM
209892012-07-31 David S. Miller <davem@davemloft.net>
20990
20991 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20992
d0419dbf
JM
209932012-07-31 Joseph Myers <joseph@codesourcery.com>
20994
20995 [BZ #13629]
20996 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
20997 value between 1.0 and 2.0 and smaller part has absolute value less
20998 than 1.0.
20999 * math/s_clog10.c (__clog10): Likewise.
21000 * math/s_clog10f.c (__clog10f): Likewise.
21001 * math/s_clog10l.c (__clog10l): Likewise.
21002 * math/s_clogf.c (__clogf): Likewise.
21003 * math/s_clogl.c (__clogl): Likewise.
21004 * math/libm-test.inc (clog_test): Add more tests.
21005 (clog10_test): Likewise.
21006 * sysdeps/i386/fpu/libm-test-ulps: Update.
21007 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21008
2bc13872
FW
210092012-07-31 Florian Weimer <fweimer@redhat.com>
21010
21011 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
21012 Exit with zero in case no suitable GID is found, and write a
21013 message to standard error.
21014
bea9b193
RM
210152012-07-30 Roland McGrath <roland@hack.frob.com>
21016
21017 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
21018 rather than to 1.
21019 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
21020 (MAXPATHLEN): Removed.
21021 (NOGROUP, NODEV): New macros.
21022 (setbit, clrbit, isset, isclr): New macros.
21023 (howmany, roundup, powerof2): New macros.
21024 (DEV_BSIZE): New macro.
21025
21026 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
21027 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
21028
21029 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
21030 definition on [!__NO_LONG_DOUBLE_MATH].
21031
21032 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
21033 PTR_MANGLE and PTR_DEMANGLE.
21034
21035 * socket/accept4.c (accept4): Rename to __libc_accept4.
21036 Define accept4 as a weak alias.
21037
21038 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
21039 on [_DIRENT_HAVE_D_TYPE].
21040 * io/ftw.c (ftw_dir): Likewise.
21041
21042 * io/xmknod.c (__xmknod): Don't check PATH for being null.
21043
21044 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
21045
21046 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
21047 Use the BSD numbers rather than the arbitrary ones we had.
21048 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
21049 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
21050 (SIGXCPU, SIGXFSZ): New macros.
21051 (_NSIG): Now 32.
21052
21053 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
21054 initializer on [_LIBC_REENTRANT].
21055
21056 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
21057 definitions inside [_POSIX_MAPPED_FILES].
21058
21059 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
21060
21061 * dirent/opendir.c: Include <fcntl.h>.
21062
21063 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
21064 (__libc_getspecific): Likewise.
21065 (__libc_key_create): Likewise.
21066
21067 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
21068 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
21069 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
21070 (tmpfile64): Define as alias.
21071 * sysdeps/wordsize-64/tmpfile.c: File removed.
21072 * sysdeps/wordsize-64/tmpfile64.c: File removed.
21073 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
21074 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
21075
21076 * stdio-common/vfscanf.c: Include <stdbool.h>.
21077 * nss/makedb.c: Likewise.
21078 * stdio-common/_i18n_number.h: Likewise.
21079 * argp/argp-help.c: Likewise.
21080 * posix/wordexp.c: Likewise.
21081 * sysdeps/posix/spawni.c: Likewise.
21082 * nss/nss_files/files-initgroups.c: Likewise.
21083 * stdio-common/reg-modifier.c: Include <stdlib.h>.
21084 * nss/nss_files/files-initgroups.c: Likewise.
21085 * nss/nss_db/db-netgrp.c: Likewise.
21086 * nss/nss_db/db-initgroups.c: Likewise.
21087 * io/fchmodat.c: Include <sys/stat.h>.
21088
21089 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
21090 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
21091
21092 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
21093 [HAVE_MMAP].
21094
21095 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
21096 Add multiple inclusion protection.
21097
e5abc686
DM
210982012-07-27 David S. Miller <davem@davemloft.net>
21099
21100 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21101
815e6fa3
GB
211022012-07-27 Gary Benson <gbenson@redhat.com>
21103
21104 [BZ #14298]
21105 * elf/rtld.c: Include <stap-probe.h>.
21106 (dl_main): Added static probes "init_start" and "init_complete".
21107 * elf/dl-load.c: Include <stap-probe.h>.
21108 (lose): Take new parameter "nsid".
21109 Added static probe "map_failed".
21110 (_dl_map_object_from_fd): Pass namespace id to lose.
21111 Added static probe "map_start".
21112 (open_verify): Pass namespace id to lose.
21113 * elf/dl-open.c: Include <stap-probe.h>.
21114 (dl_open_worker) Added static probes "map_complete", "reloc_start"
21115 and "reloc_complete".
21116 * elf/dl-close.c: Include <stap-probe.h>.
21117 (_dl_close_worker): Added static probes "unmap_start" and
21118 "unmap_complete".
21119 * elf/rtld-debugger-interface.txt: New file documenting the above.
21120
9f98c16c
RM
211212012-07-26 Roland McGrath <roland@hack.frob.com>
21122
21123 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
21124 rather than a string variable.
21125 * sunrpc/rpc_main.c (h_output): Likewise.
21126 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
21127
f3c22df3
PT
211282012-07-26 Pino Toscano <toscano.pino@tiscali.it>
21129
21130 * inet/check_native.c: New file.
21131
3129cfc6
JM
211322012-07-26 Joseph Myers <joseph@codesourcery.com>
21133
da865e95
JM
21134 [BZ #13629]
21135 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
21136 if larger part has absolute value 1.0.
21137 * math/s_clog10.c (__clog10): Likewise.
21138 * math/s_clog10f.c (__clog10f): Likewise.
21139 * math/s_clog10l.c (__clog10l): Likewise.
21140 * math/s_clogf.c (__clogf): Likewise.
21141 * math/s_clogl.c (__clogl): Likewise.
21142 * math/libm-test.inc (clog_test): Add more tests.
21143 (clog10_test): Likewise.
21144 * sysdeps/i386/fpu/libm-test-ulps: Update.
21145 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21146
3129cfc6
JM
21147 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
21148 (pltexit): Likewise.
21149 (La_regs): Likewise.
21150 (La_retval): Likewise.
21151 (int_retval): Likewise.
21152 Update #error for removed macros to refer only to definitions in
21153 tst-audit.h.
21154 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
21155 macro.
21156 (pltexit): Likewise.
21157 (La_regs): Likewise.
21158 (La_retval): Likewise.
21159 (int_retval): Likewise.
21160 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
21161 macro.
21162 (pltexit): Likewise.
21163 (La_regs): Likewise.
21164 (La_retval): Likewise.
21165 (int_retval): Likewise.
21166 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
21167 macro.
21168 (pltexit): Likewise.
21169 (La_regs): Likewise.
21170 (La_retval): Likewise.
21171 (int_retval): Likewise.
21172 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
21173 macro.
21174 (pltexit): Likewise.
21175 (La_regs): Likewise.
21176 (La_retval): Likewise.
21177 (int_retval): Likewise.
21178 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
21179 macro.
21180 (pltexit): Likewise.
21181 (La_regs): Likewise.
21182 (La_retval): Likewise.
21183 (int_retval): Likewise.
21184 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
21185 macro.
21186 (pltexit): Likewise.
21187 (La_regs): Likewise.
21188 (La_retval): Likewise.
21189 (int_retval): Likewise.
21190 * sysdeps/generic/tst-audit.h: Update comment to refer only to
21191 macro definitions in tst-audit.h.
21192 * sysdeps/i386/tst-audit.h: New file.
21193 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
21194 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
21195 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
21196 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
21197 * sysdeps/sh/tst-audit.h: Likewise.
21198 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
21199 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
21200 * sysdeps/x86_64/tst-audit.h: Likewise.
21201
bfc07087
AJ
212022012-07-26 Andreas Jaeger <aj@suse.de>
21203
b1b2aaf8
AJ
21204 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
21205 ptrace.
21206
21207 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
21208 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
21209 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
21210 PTRACE_O_MASK.
21211 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
21212 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
21213 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
21214
bfc07087
AJ
21215 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
21216 value.
21217
21218 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
21219 _sigsys.
21220 (si_call_addr, si_syscall, si_arch): Define new macro.
21221 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
21222 _sigsys.
21223 (si_call_addr, si_syscall, si_arch): Define new marcro.
21224 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
21225 _sigsys.
21226 (si_call_addr, si_syscall, si_arch): Define new macro.
21227 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
21228 _sigsys.
21229 (si_call_addr, si_syscall, si_arch): Define new macro.
21230
89b4b02f
JM
212312012-07-25 Joseph Myers <joseph@codesourcery.com>
21232
21233 [BZ #13717]
21234 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21235 Change to 2.4.21 where previously 2.4.1.
21236 * sysdeps/unix/sysv/linux/configure: Regenerated.
21237 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
21238 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
21239 Linux kernel version.
21240 (__ASSUME_STD_AUXV): Remove.
21241 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
21242 kernel version.
21243 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
21244 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
21245 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
21246 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
21247 (__ASSUME_NETLINK_SUPPORT): Likewise.
21248 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
21249 (__no_netlink_support): Remove conditional definition.
21250 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
21251 Remove.
21252 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
21253 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
21254 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
21255 (if_nameindex_ioctl): Remove.
21256 (if_nameindex_netlink): Do not handle __no_netlink_support.
21257 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
21258 code.
21259 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
21260 Remove conditional code.
21261 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
21262 code.
21263 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
21264 unconditional.
21265 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
21266 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
21267 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
21268 Remove.
21269 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
21270 [!__ASSUME_STD_AUXV]: Remove conditional code.
21271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
21272 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
21273 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
21274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
21275 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
21276 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
21277 code.
21278 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
21279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21280 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
21281 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
21282 conditional code.
21283 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
21284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
21285 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
21286 code.
21287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21288 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
21289 conditional code.
21290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
21291 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21292 code unconditional.
21293 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21294 conditional code.
21295 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21296 unconditional.
21297 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21298 conditional code.
21299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21300 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21301 unconditional.
21302 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21303 conditional code.
21304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
21305 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21306 code unconditional.
21307 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21308 conditional code.
21309 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21310 unconditional.
21311 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21312 conditional code.
21313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
21314 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21315 code unconditional.
21316 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21317 conditional code.
21318 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21319 unconditional.
21320 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21321 conditional code.
21322
842a39cd
AS
213232012-07-25 Andreas Schwab <schwab@linux-m68k.org>
21324
21325 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
21326 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
21327 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
21328 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
21329 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
21330 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
21331 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
21332 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
21333 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
21334 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
21335 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
21336 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
21337 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
21338 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
21339 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
21340 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
21341 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
21342 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
21343 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
21344 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
21345 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
21346 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
21347 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
21348
84b3fd84
FW
213492012-07-25 Florian Weimer <fweimer@redhat.com>
21350
21351 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
21352 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
21353 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
21354 Introduce __libc_secure_getenv.
0c7936d5
FW
21355 * stdlib/Versions (2.17): Add secure_getenv
21356 (GLIBC_PRIVATE): Add __libc_secure_getenv.
21357 * stdlib/secure-getenv.c: Rename __secure_getenv to
21358 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
21359 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
21360 * stdlib/tst-secure-getenv.c: New.
21361 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
21362 * manual/startup.texi (Environment Access): Document
21363 secure_getenv.
84b3fd84
FW
21364 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
21365 __libc_secure_getenv.
21366 * inet/ruserpass.c (ruserpass): Likewise.
21367 * malloc/mtrace.c (mtrace): Likewise.
21368 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 21369 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
21370 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
21371 * sysdeps/posix/tempname.c: Likewise. Evaluate
21372 HAVE_SECURE_GETENV.
21373 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 21374 __secure_getenv to __libc_secure_getenv.
84b3fd84 21375 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
21376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21377 Likewise.
21378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21379 Likewise.
21380 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
21381 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
21382 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21383 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
21384 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
21385 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21386 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 21387
56e49b71
JM
213882012-07-25 Joseph Myers <joseph@codesourcery.com>
21389
21390 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
21391 (struct La_i86_retval): Likewise.
21392 (struct La_x86_64_regs): Likewise.
21393 (struct La_x86_64_retval): Likewise.
21394 (struct La_x32_regs): Likewise.
21395 (struct La_x32_retval): Likewise.
21396 (struct La_ppc32_regs): Likewise.
21397 (struct La_ppc32_retval): Likewise.
21398 (struct La_ppc64_regs): Likewise.
21399 (struct La_ppc64_retval): Likewise.
21400 (struct La_sh_regs): Likewise.
21401 (struct La_sh_retval): Likewise.
21402 (struct La_s390_32_regs): Likewise.
21403 (struct La_s390_32_retval): Likewise.
21404 (struct La_s390_64_regs): Likewise.
21405 (struct La_s390_64_retval): Likewise.
21406 (struct La_sparc32_regs): Likewise.
21407 (struct La_sparc32_retval): Likewise.
21408 (struct La_sparc64_regs): Likewise.
21409 (struct La_sparc64_retval): Likewise.
21410 (struct audit_ifaces): Remove architecture-specific pltenter and
21411 pltexit members.
21412 * sysdeps/i386/ldsodefs.h: New file.
21413 * sysdeps/powerpc/ldsodefs.h: Likewise.
21414 * sysdeps/s390/ldsodefs.h: Likewise.
21415 * sysdeps/sh/ldsodefs.h: Likewise.
21416 * sysdeps/sparc/ldsodefs.h: Likewise.
21417 * sysdeps/x86_64/ldsodefs.h: Likewise.
21418
354691b7
MP
214192012-07-25 Marek Polacek <polacek@redhat.com>
21420
21421 [BZ #6808]
21422 * math/libm-test.inc (yn_test): Add another test.
21423 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
21424 to ERANGE when the result is +-Inf.
21425 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
21426 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
21427 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
21428 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
21429
bf9e2071
JM
214302012-07-24 Joseph Myers <joseph@codesourcery.com>
21431
21432 * conform/data/time.h-data (NULL): Use macro-constant. Require
21433 equal to 0.
21434 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
21435 clock_t.
21436 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
21437
57633811
TS
214382012-07-23 Thomas Schwinge <thomas@codesourcery.com>
21439
21440 * configure.in <sysdeps resolving>: Correct printing
21441 Implies_before.
21442 * configure: Regenerate.
21443
c23c33b0
TS
214442012-07-22 Thomas Schwinge <thomas@codesourcery.com>
21445
21446 * math/w_ilogb.c: Include <limits.h>.
21447 * math/w_ilogbl.c: Likewise.
21448
b5982523
JM
214492012-07-20 Joseph Myers <joseph@codesourcery.com>
21450
21451 * manual/lang.texi (__va_copy): Document primarily as ISO C99
21452 va_copy. Document allowing for unavailable va_copy only as
21453 pre-C99 compatibility.
21454 * manual/string.texi (Copying and Concatenation): Use va_copy
21455 instead of __va_copy in concat example.
21456
ac4ea442
PT
214572012-07-20 Pino Toscano <toscano.pino@tiscali.it>
21458
21459 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
21460 (__sendto): Use create_address_port. Initialize APORT and deallocate
21461 it if not null.
21462
f98eafbd
PT
21463 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
21464 with O_NOLINK passed to __file_name_lookup.
21465
898c7aab
PT
21466 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
21467 with O_NOLINK passed to __file_name_lookup.
21468
0ced335a
PT
21469 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
21470 negative N or less than NGIDS.
21471
b3404dbd
PT
21472 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
21473 type to string_t. Set ERANGE as errno and return it if NAME is not big
21474 enough. Use memcpy instead of strncpy.
21475
0f48659e
JM
214762012-07-20 Joseph Myers <joseph@codesourcery.com>
21477
21478 * elf/Makefile (check-data): Remove.
21479 (localplt.data): New vpath directive.
21480 ($(objpfx)check-localplt.out): Use localplt.data from vpath
21481 instead of $(check-data).
21482 * scripts/data/localplt-generic.data: Move to ...
21483 * sysdeps/generic/localplt.data: ... here.
21484 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
21485 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
21486 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
21487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
21488 ... here.
21489 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
21490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
21491 ... here.
21492 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
21493 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
21494 ... here.
21495 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
21496 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
21497 ... here.
21498 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
21499 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
21500 ... here.
21501 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
21502 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
21503 ... here.
21504
d37cbdaa
AZ
215052012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21506
21507 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
21508 PPC32 and PPC64 files.
21509 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
21510 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
21511
46f85fc2
AK
215122012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21513
21514 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
21515 __makecontext_ret to ...
21516 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
21517 ... here and call exit if uc_link is NULL. New file.
21518 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
21519 __makecontext_ret.S.
21520 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
21521 __makecontext_ret to ...
21522 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
21523 ... here and call exit if uc_link is NULL. New file.
21524 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
21525 __makecontext_ret.S.
21526
08f43f9b
AK
215272012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21528
21529 * elf/elf.h (R_390_IRELATIVE): New definition.
21530 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
21531 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
21532 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
21533 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
21534 (elf_machine_lazy_rel): Likewise.
21535 * sysdeps/s390/dl-irel.h: New file.
21536 * sysdeps/s390/s390-64/memcpy.S: New asm code.
21537 * sysdeps/s390/s390-64/memset.S: New asm code.
21538 * sysdeps/s390/s390-64/memcmp.S: New asm code.
21539 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
21540 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
21541 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
21542 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
21543 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
21544 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
21545 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
21546 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
21547 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
21548 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
21549 * sysdeps/s390/s390-32/memcpy.S: New asm code.
21550 * sysdeps/s390/s390-32/memset.S: New asm code.
21551 * sysdeps/s390/s390-32/memcmp.S: New asm code.
21552
3b05db33
MP
215532012-07-17 Marek Polacek <polacek@redhat.com>
21554
21555 [BZ #14349]
21556 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
21557 * sysdeps/s390/s390-64/configure.in: Likewise.
21558 * sysdeps/sparc/configure.in: Likewise.
21559 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
21560 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
21561 * sysdeps/i386/configure.in: Likewise.
21562 * sysdeps/x86_64/configure.in: Likewise.
21563 * sysdeps/sh/configure.in: Likewise.
21564 * sysdeps/s390/s390-32/configure: Regenerated.
21565 * sysdeps/s390/s390-64/configure: Likewise.
21566 * sysdeps/x86_64/configure: Likewise.
21567 * sysdeps/sh/configure: Likewise.
21568 * sysdeps/powerpc/powerpc64/configure: Likewise.
21569 * sysdeps/powerpc/powerpc32/configure: Likewise.
21570 * sysdeps/sparc/configure: Likwise.
21571 * sysdeps/i386/configure: Likewise.
21572
a66877c6
MP
21573 * elf/dl-open.c: Comment fixes.
21574
cfc82fd8
JM
215752012-07-17 Joseph Myers <joseph@codesourcery.com>
21576
bd29910a
JM
21577 * Makefile [CXX] (check-data): Remove.
21578 [CXX] (c++-types.data): New vpath directive.
21579 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
21580 vpath. Do not allow for C++ type data being missing.
21581 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
21582 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
21583 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
21584 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
21585 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
21586 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
21587 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
21588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
21589 ... here.
21590 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
21591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
21592 ... here.
21593 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
21594 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
21595 ... here.
21596 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
21597 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
21598 ... here.
21599 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
21600 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
21601 ... here.
21602 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
21603 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
21604 ... here.
21605 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
21606 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
21607 ... here.
21608 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
21609 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
21610
cfc82fd8
JM
21611 * elf/tls-macros.h (TLS_LE): Move architecture-specific
21612 definitions to architecture-specific files.
21613 (TLS_IE): Likewise.
21614 (TLS_LD): Likewise.
21615 (TLS_GD): Likewise.
21616 * sysdeps/i386/tls-macros.h: New file.
21617 * sysdeps/powerpc/tls-macros.h: Likewise.
21618 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
21619 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
21620 * sysdeps/sh/tls-macros.h: Likewise.
21621 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
21622 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
21623 * sysdeps/x86_64/tls-macros.h: Likewise.
21624
f7db3170
TS
216252012-07-17 Thomas Schwinge <thomas@codesourcery.com>
21626
07cbfc23
TS
21627 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
21628 zero value for regular exit case.
21629
f7db3170
TS
21630 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
21631 (__start_context): Preserve zero value for regular exit case.
21632
dc97c227
TS
216332012-07-17 Thomas Schwinge <thomas@codesourcery.com>
21634 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21635
21636 * manual/setjmp.texi (setcontext): Clarify normal process
21637 termination when uc_link is the null pointer.
21638 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
21639 exit call.
21640
d0cd7d02
AS
216412012-07-16 Andreas Schwab <schwab@linux-m68k.org>
21642
21643 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
21644 preprocessor. Test for each exception mask separately.
21645
dd318934
AJ
216462012-07-16 Andreas Jaeger <aj@suse.de>
21647
21648 * po/ru.po: Update from translation team.
21649
8048311a
JM
216502012-07-15 Joseph Myers <joseph@codesourcery.com>
21651
21652 * conform/data/string.h-data (NULL): Use macro-constant. Require
21653 equal to 0.
21654 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
21655 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
21656 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
21657 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
21658 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21659
b637d46e
AJ
216602012-07-13 Andreas Jaeger <aj@suse.de>
21661
21662 * po/fr.po: Update from translation team.
21663
541428fe
MP
216642012-07-12 Marek Polacek <polacek@redhat.com>
21665
21666 [BZ #14173]
21667 * math/libm-test.inc (yn_test): Add test for BZ #14173.
21668 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
21669 loop condition.
21670
ec332e94
JM
216712012-07-12 Joseph Myers <joseph@codesourcery.com>
21672
21673 [BZ #13717]
21674 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21675 Change to 2.4.1 where previously 2.4.0.
21676 * sysdeps/unix/sysv/linux/configure: Regenerated.
21677 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
21678 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
21679 version.
21680 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
21681 (__ASSUME_AT_CLKTCK): Remove.
21682 (__ASSUME_AT_PAGESIZE): Likewise.
21683 (__ASSUME_AT_XID): Likewise.
21684 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
21685 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
21686 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
21687 unconditionally.
21688 (HAVE_AUX_PAGESIZE): Likewise.
21689 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
21690 [__ASSUME_AT_CLKTCK]: Make code unconditional.
21691 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
21692
7b6e99be
JB
216932012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
21694
21695 [BZ #14307]
21696 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
21697 the temporary buffer used to invoke __gethostbyname2_r,
21698 __gethostbyaddr_r and gethostbyname4_r to make room for struct
21699 host_data / struct gaih_addrtuple.
21700 * resolv/nss_dns/dns-host.c (global scope): Move definition of
21701 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
21702 header file nss/nsswitch.h.
21703 * nss/nsswitch.h (global scope): Add definition of implementation
21704 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
21705 resolv/nss_dns/dns-host.c).
21706
608404eb
AJ
217072012-07-11 Andreas Jaeger <aj@suse.de>
21708
21709 * po/fr.po: Update from translation team.
21710
71220aca
AJ
21711 * po/sv.po: Update from translation team
21712 * po/fr.po: Another update from translation team.
21713
28cfe843
AZ
217142012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21715
21716 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
21717 for subnormals or multiply small sinh result by itself.
21718 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21719 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21720
6b90f981
DM
217212012-07-11 David S. Miller <davem@davemloft.net>
21722
21723 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21724
c6825772
AS
217252012-07-10 Andreas Schwab <schwab@linux-m68k.org>
21726
21727 [BZ #14347]
21728 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
21729 (INTERNAL_MARK): Shift it here.
21730
7b8e0d49
MP
217312012-07-10 Marek Polacek <polacek@redhat.com>
21732
21733 [BZ #14151]
21734 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
21735 libc_cv_asm_global_directive with .globl.
21736 * configure: Regenerated.
21737 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
21738 with .globl.
21739 * sysdeps/i386/configure: Regenerated.
21740 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
21741 with .globl.
21742 * sysdeps/x86_64/configure: Regenerated.
21743 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
21744 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
21745 * elf/tst-unique2mod2.c: Likewise.
21746 * elf/tst-unique2mod1.c: Likewise.
21747 * elf/tst-unique1mod2.c: Likewise.
21748 * elf/tst-unique1mod1.c: Likewise.
21749 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21750 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
21751 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21752 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21753 * sysdeps/mach/sysdep.h: Likewise.
21754 * sysdeps/i386/sysdep.h: Likewise.
21755 * sysdeps/i386/i386-mcount.S: Likewise.
21756 * sysdeps/x86_64/_mcount.S: Likewise.
21757 * sysdeps/x86_64/sysdep.h: Likewise.
21758 * sysdeps/sh/_mcount.S: Likewise.
21759 * sysdeps/sh/sysdep.h: Likewise.
21760 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
21761 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
21762 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
21763 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21764 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
21765 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
21766 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
21767 * locale/localeinfo.h: Likewise.
21768 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
21769 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
21770
6c55cda3
RM
217712012-07-09 Roland McGrath <roland@hack.frob.com>
21772
21773 [BZ #14336]
21774 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
21775 system".
21776 * manual/message.texi (The Uniforum approach): Likewise.
21777 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
21778 (glibc iconv Implementation): Likewise.
21779
638a572e
JM
217802012-07-09 Joseph Myers <joseph@codesourcery.com>
21781
21782 [BZ #14337]
21783 * math/s_clog.c (__clog): Avoid scaling a value down where that
21784 could result in underflow.
21785 * math/s_clog10.c (__clog10): Likewise.
21786 * math/s_clog10f.c (__clog10f): Likewise.
21787 * math/s_clog10l.c (__clog10l): Likewise.
21788 * math/s_clogf.c (__clogf): Likewise.
21789 * math/s_clogl.c (__clogl): Likewise.
21790 * math/libm-test.inc (clog_test): Add more tests.
21791 (clog10_test): Likewise.
21792 * sysdeps/i386/fpu/libm-test-ulps: Update.
21793 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21794
261f4859
AS
217952012-07-06 Andreas Schwab <schwab@linux-m68k.org>
21796
0abaf3e4
AS
21797 [BZ #14283]
21798 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
21799 by 7 not 8 to examine high bit of fractional part.
21800
261f4859
AS
21801 [BZ #14042]
21802 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
21803 for call to __mcount_internal.
21804 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
21805 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
21806 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
21807
f17ac40d
JM
218082012-07-06 Joseph Myers <joseph@codesourcery.com>
21809
9ad63c23
JM
21810 [BZ #14154]
21811 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
21812 approximation for values within 0x1p-13f of an odd multiple of
21813 pi/4.
21814 * math/libm-test.inc (tan_test): Do not allow spurious underflow
21815 exception. Add more tests.
21816 * sysdeps/i386/fpu/libm-test-ulps: Update.
21817
f17ac40d
JM
21818 [BZ #6778]
21819 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
21820 inputs and return -1 for them. Do not check for +Inf in case not
21821 reachable for +Inf.
21822 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
21823 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
21824 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21825 and return -1 for them. Do not check for +Inf in case not
21826 reachable for +Inf.
21827 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
21828 define.
21829 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21830 and return -1 for them. Do not check for +Inf in case not
21831 reachable for +Inf.
21832 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
21833 spurious underflow.
21834 * sysdeps/i386/fpu/libm-test-ulps: Update.
21835 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21836
fb21f89b
MF
218372012-07-06 Mike Frysinger <vapier@gentoo.org>
21838
21839 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
21840
cdfe2c5e
JM
218412012-07-05 Joseph Myers <joseph@codesourcery.com>
21842
21843 [BZ #14157]
21844 [BZ #14331]
21845 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
21846 could result in spurious underflow. Scale down values above
21847 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
21848 * math/s_csqrtf.c (__csqrtf): Likewise.
21849 * math/s_csqrtl.c (__csqrtl): Likewise.
21850 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
21851 spurious underflow.
21852 * sysdeps/i386/fpu/libm-test-ulps: Update.
21853 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21854
70d35b67
AS
218552012-07-04 Andreas Schwab <schwab@linux-m68k.org>
21856
704bc459
AS
21857 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
21858 xopen-msg.sed.
21859 * catgets/xopen-msg.awk: New file.
21860 * catgets/xopen-msg.sed: Removed.
21861
70d35b67
AS
21862 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
21863 po2text.sed.
21864 * intl/po2test.awk: New file.
21865 * intl/po2test.sed: Removed.
21866
ca61cf32
JM
218672012-07-04 Joseph Myers <joseph@codesourcery.com>
21868
21869 [BZ #14328]
21870 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
21871 or multiply small sinh result by itself.
21872 * math/s_ctanf.c (__ctanf): Likewise.
21873 * math/s_ctanh.c (__ctanh): Likewise.
21874 * math/s_ctanhf.c (__ctanhf): Likewise.
21875 * math/s_ctanhl.c (__ctanhl): Likewise.
21876 * math/s_ctanl.c (__ctanl): Likewise.
21877 * math/libm-test.inc (ctan_test_tonearest): New function.
21878 (ctan_test_towardzero): Likewise.
21879 (ctan_test_downward): Likewise.
21880 (ctan_test_upward): Likewise.
21881 (ctanh_test_tonearest): Likewise.
21882 (ctanh_test_towardzero): Likewise.
21883 (ctanh_test_downward): Likewise.
21884 (ctanh_test_upward): Likewise.
21885 (main): Call these new functions.
21886 * sysdeps/i386/fpu/libm-test-ulps: Update.
21887 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21888
ca48a46a
MF
218892012-07-03 Mike Frysinger <vapier@gentoo.org>
21890
21891 * .gitignore: Delete /ports entry.
21892
9d63d37d
AJ
218932012-07-03 Andreas Jaeger <aj@suse.de>
21894
21895 * po/bg.po: Update from translation team.
21896 * po/cs.po: Likewise.
21897 * po/de.po: Likewise.
21898 * po/hr.po: Likewise.
21899 * po/nl.pl: Likewise.
21900 * po/pl.po: Likewise.
21901 * po/vi.po: Likewise.
21902
370ca3d2
JM
219032012-07-03 Joseph Myers <joseph@codesourcery.com>
21904
95f5a9a8
JM
21905 * Makeconfig [!+link] (+link-before-libc): New variable.
21906 [!+link] (+link-after-libc): Likewise.
21907 [!+link] (+link-tests): Likewise.
21908 [!+link] (+link): Define in terms of $(+link-before-libc) and
21909 $(+link-after-libc).
21910 [!+link-static] (+link-static-before-libc): New variable.
21911 [!+link-static] (+link-static-after-libc): Likewise.
21912 [!+link-static] (+link-static-tests): Likewise.
21913 [!+link-static] (+link-static): Define in terms of
21914 $(+link-static-before-libc) and $(+link-static-after-libc).
21915 [build-shared] (link-libc-before-gnulib): New variable.
21916 [build-shared] (link-libc-tests): Likewise.
21917 [build-shared] (link-libc): Define in terms of
21918 $(link-libc-before-gnulib).
21919 [!build-shared] (link-libc-tests): New variable.
21920 (link-libc-static-tests): New variable.
21921 [!gnulib] (gnulib-arch): New variable.
21922 [!gnulib] (gnulib-tests): Likewise.
21923 [!gnulib] (static-gnulib-arch): Likewise.
21924 [!gnulib] (static-gnulib-tests): Likewise.
21925 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
21926 Define with "=" instead of ":=".
21927 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
21928 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
21929 * Rules (binaries-all-notests): New variable.
21930 (binaries-all-tests): Likewise.
21931 (binaries-static-notests): Likewise.
21932 (binaries-static-tests): Likewise.
21933 (binaries-all): Define using $(binaries-all-notests) and
21934 $(binaries-all-tests).
21935 (binaries-static): Define using $(binaries-static-notests) and
21936 $(binaries-static-tests).
21937 (binaries-shared-tests): New variable.
21938 (binaries-shared-notests): Likewise.
21939 (binaries-shared): Remove variable.
21940 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
21941 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
21942 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
21943 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
21944 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
21945 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
21946 * elf/Makefile (sln-modules): New variable.
21947 (extra-objs): Add $(sln-modules:=.o).
21948 (ldconfig-modules): Add static-stubs.
21949 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
21950 * elf/static-stubs.c: New file.
21951
7a845b2c
JM
21952 [BZ #14283]
21953 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
21954 by 7 not 8 to examine high bit of fractional part. Use volatile
21955 variables when splitting into final array of floats if
21956 __FLT_EVAL_METHOD__ != 0.
21957 * math/libm-test.inc (cos_test): Add another test.
21958 (sin_test): Likewise.
21959 * sysdeps/i386/fpu/libm-test-ulps: Update.
21960
e2283f38
JM
21961 [BZ #14273]
21962 * math/libm-test.inc (cosh_test): Add more tests.
21963
370ca3d2
JM
21964 * version.h (RELEASE): Set to "development".
21965 (VERSION): Set to "2.16.90".
21966
ee9247c3
CD
219672012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
21968
21969 * NEWS: Update copyright. Remove last-updated date.
21970 Mention math library bug fixes and timezone data changes.
21971 * README: Mention GNU/Hurd, x32, and HPPA support status.
21972
4648c381
TS
219732012-06-28 Thomas Schwinge <thomas@codesourcery.com>
21974
21975 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
21976
aac78a43
AJ
219772012-06-27 Andreas Jaeger <aj@suse.de>
21978
21979 * manual/contrib.texi (Contributors): Add Samuel Thibault.
21980
ed3dbfad
AJ
219812012-06-25 Andreas Jaeger <aj@suse.de>
21982
21983 * sysdeps/s390/fpu/libm-test-ulps: Update.
21984
4d0ee855
AS
219852012-06-23 Andreas Schwab <schwab@linux-m68k.org>
21986 Thomas Schwinge <thomas@codesourcery.com>
21987
21988 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
21989 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
21990 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
21991 fanotify_mark.
21992
af1bce34
TS
219932012-06-23 Thomas Schwinge <thomas@codesourcery.com>
21994
a9fa33ba
TS
21995 * sysdeps/mach/start.c: Remove file.
21996 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
21997 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
21998 * sysdeps/sh/init-first.c: Likewise.
21999
58f902b8
TS
22000 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
22001 registers for frame unwinding purposes, add CFI directives.
22002 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
22003 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
22004 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
22005 Likewise.
22006
1518f58b
TS
22007 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
22008 __fortify_fail returning.
22009 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
22010
db9b5059
TS
22011 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
22012 sysdeps/sh/____longjmp_chk.S.
22013 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
22014 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
22015 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
22016 (gen-as-const-headers): Append sigaltstack-offsets.sym.
22017
967705fe
TS
22018 * sysdeps/sh/abort-instr.h: New file.
22019 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
22020 process in case exit returns.
22021
a9def8c4
TS
22022 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
22023 initialize the GOT register before use.
22024
2a649725
TS
22025 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
22026 calculation of ARGC > 4.
22027
af1bce34
TS
22028 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
22029 meaningful names to some local labels.
22030
d230f50a
KK
220312012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22032 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22033
22034 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
22035 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
22036 (__arch_compare_and_exchange_val_16_acq): Likewise.
22037 (__arch_compare_and_exchange_val_32_acq): Likewise.
22038 (atomic_exchange_and_add): Fix gUSA sequence.
22039 (atomic_add): Likewise.
22040 (atomic_add_negative): Likewise.
22041 (atomic_add_zero): Likewise.
22042 (atomic_bit_test_set): Likewise.
22043
0479b305
AS
220442012-06-22 Andreas Schwab <schwab@redhat.com>
22045
22046 [BZ #13579]
22047 * include/link.h (struct link_map): Add l_free_initfini.
22048 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
22049 l_initfini.
22050 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
22051 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
22052 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
22053 set.
22054
0e3933b9
CD
220552012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
22056
22057 * configure.in: Use AC_LANG_SOURCE.
22058 * configure: Regenerate.
22059
4248b1b1
RM
220602012-06-22 Roland McGrath <roland@hack.frob.com>
22061
22062 * configure.in (libc_cv_localstatedir): New substituted variable.
22063 * configure: Regenerated.
22064 * config.make.in (localstatedir): New variable, substituted from
22065 libc_cv_localstatedir.
22066 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
22067 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
22068 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
22069 * sysdeps/gnu/configure: Regenerated.
22070
006dd861
JL
220712012-06-21 Jeff Law <law@redhat.com>
22072
22073 [BZ #14277]
22074 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
22075 free. Simplify list management for _LIBC case.
22076
79662d42
JM
220772012-06-21 Joseph Myers <joseph@codesourcery.com>
22078
b7abb4bf
JM
22079 [BZ #14273]
22080 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
22081 Clear sign bit of 64-bit integer value before comparing against
22082 overflow value.
22083
79662d42
JM
22084 * sysdeps/mach/configure: Regenerated.
22085
1f150908
L
220862012-06-21 H.J. Lu <hongjiu.lu@intel.com>
22087
22088 [BZ #14278]
22089 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
22090
28363bbf
JL
220912012-06-21 Jeff Law <law@redhat.com>
22092
22093 [BZ #13882]
22094 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
22095 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 22096 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
22097 * elf/dl-open.c (dl_open_worker): Likewise.
22098
09615db4
CD
220992012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
22100
22101 * scripts/list-sources.sh: Scan PORTS for translations.
22102 * po/libc.pot: Regenerated.
22103
2174c6dd
AJ
221042012-06-21 Andreas Jaeger <aj@suse.de>
22105
22106 [BZ #12194]
22107 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
22108 warning.
22109 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
22110 * bits/byteswap-16.h (__bswap_16): Likewise.
22111 * bits/byteswap.h (__bswap_constant_16): Likewise.
22112
3ee947b1
L
221132012-06-18 H.J. Lu <hongjiu.lu@intel.com>
22114
22115 [BZ #14117]
a2f34833
L
22116 * sysdeps/i386/fpu_control.h: Removed.
22117 * sysdeps/x86_64/fpu_control.h: Moved to ...
22118 * sysdeps/x86/fpu_control.h: Here.
22119
3ee947b1
L
22120 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
22121 (_FPU_SETCW): Likewise.
22122
ed1825f8
L
221232012-06-15 H.J. Lu <hongjiu.lu@intel.com>
22124
25f1282a
L
22125 [BZ #14117]
22126 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
22127 * sysdeps/x86/fpu/bits/mathinline.h: This.
22128 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
22129
ed1825f8
L
22130 [BZ #14050]
22131 [BZ #14117]
22132 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
22133 functions if __x86_64__ is defined.
22134
36d54b74
CLT
221352012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
22136
22137 * string/endian.h: Add !__ASSEMBLER__ condition for including
22138 conversion interfaces.
22139
10285c21
JM
221402012-06-15 Joseph Myers <joseph@codesourcery.com>
22141
22142 [BZ #14241]
22143 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
22144 of ABS(x) in calculating zero to negative powers other than odd
22145 integers.
22146 * math/libm-test.inc (pow_test): Add more tests.
22147
06c5abbd
AJ
221482012-06-15 Andreas Jaeger <aj@suse.de>
22149
22150 * manual/contrib.texi (Contributors): Update entry of Liubov
22151 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
22152 Machado Filho.
22153
a3aeac40
CH
221542012-06-15 Cyril Hrubis <metan@ucw.cz>
22155
22156 * string/string.h: Add __wur to GNU version of strerror_r.
22157
49bdf4c1
L
221582012-06-14 H.J. Lu <hongjiu.lu@intel.com>
22159
22160 [BZ #14229]
22161 * string/Makefile (tests): Add tst-strtok_r.
22162 * string/tst-strtok_r.c: New file.
22163 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
22164 RAX_LP/RDX_LP on SAVE_PTR.
22165
834f9b8d
RM
221662012-06-14 Roland McGrath <roland@hack.frob.com>
22167
22168 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
22169
75fa1921
JM
221702012-06-14 Joseph Myers <joseph@codesourcery.com>
22171
22172 * libm_test.inc (csqrt_test): Allow more spurious underflow
22173 exceptions.
22174 (j0_test): Likewise.
22175 (j1_test): Likewise.
22176 (y0_test): Likewise.
22177 (y1_test): Likewise.
22178
771766df
CD
221792012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
22180
22181 * po/Makefile (libc.pot): Use UTF-8 charset.
22182
ceb9e56b
PP
221832012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
22184
22185 [BZ #14210]
22186 Suppress sign-conversion warning from FD_SET.
22187 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
22188 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
22189 not unsigned long int.
22190 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
22191
ddb28975
L
221922012-06-12 H.J. Lu <hongjiu.lu@intel.com>
22193
22194 [BZ #14050]
22195 [BZ #14117]
22196 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
22197 __extern_always_inline instead of __extern_inline.
22198 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
22199 (__signbit): Likewise.
22200 (__signbitl): Support C++ namespace.
22201 (lrintf): New inline function.
22202 (lrint): Likewise.
22203 (llrintf): Likewise.
22204 (llrint): Likewise.
22205 (fmaxf): Likewise.
22206 (fmax): Likewise.
22207 (fminf): Likewise.
22208 (fmin): Likewise.
22209 (rint): Likewise.
22210 (rintf): Likewise.
22211 (ceil): Likewise.
22212 (ceilf): Likewise.
22213 (floor): Likewise.
22214 (floorf): Likewise.
22215 (nearbyint): Likewise.
22216 (nearbyintf): Likewise.
22217
d7b4fb26
TS
222182012-06-12 Thomas Schwinge <thomas@codesourcery.com>
22219
22220 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
22221 non-default versions.
22222
eb55f5c2
RM
222232012-06-11 Roland McGrath <roland@hack.frob.com>
22224
22225 [BZ #14218]
22226 * manual/argp.texi (Argp): Reword argp_parse description slightly.
22227
366af02c
TS
222282012-06-09 Thomas Schwinge <thomas@codesourcery.com>
22229
99ff6e5c
TS
22230 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
22231 (FE_UPWARD, FE_DOWNWARD): Don't define.
22232 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
22233 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22234
366af02c
TS
22235 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
22236 reading it.
22237 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22238 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22239
793ea851
KK
222402012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22241
22242 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
22243 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
22244 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
22245 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
22246
a728a38f
L
222472012-06-06 H.J. Lu <hongjiu.lu@intel.com>
22248
22249 [BZ #14117]
c08010c7
L
22250 * sysdeps/i386/fpu/bits/fenv.h: Removed.
22251 * sysdeps/i386/fpu/Implies: New file.
22252 * sysdeps/x86_64/fpu/Implies: Likewise.
22253 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
22254 * sysdeps/x86/fpu/bits/fenv.h: This.
22255
a728a38f
L
22256 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
22257 __SSE_MATH__.
22258
6e230d11
SP
222592012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
22260
22261 [BZ #14134]
22262 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
22263 character 0xffff that matches the last element of the
22264 conversion table.
22265
1b671feb
AZ
222662012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22267
22268 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
22269 fmodl commit.
22270
6043738b
AZ
222712012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22272
22273 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
22274 values higher than 25.6283.
22275
34ae0b32
AZ
222762012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22277
22278 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
22279 subnormal exponent extraction and add some __builtin_expect.
22280 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
22281 Fix for subnormal mantissa calculation.
22282
1214ec8f
MF
222832012-06-04 Mike Frysinger <vapier@gentoo.org>
22284
22285 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
22286 cpu2 is -1 and errno is not ENOSYS.
22287
f3d1f93c
L
222882012-06-04 H.J. Lu <hongjiu.lu@intel.com>
22289
22290 [BZ #14117]
0e4a3cd7
L
22291 * sysdeps/i386/i486/bits/string.h: Renamed to ...
22292 * sysdeps/x86/bits/string.h: This.
22293 * sysdeps/x86_64/bits/string.h: Removed.
22294
6704c645
L
22295 * sysdeps/i386/i486/bits/string.h: Define inline functions only
22296 if not compiling for x86-64, but compiling for >= i486.
22297
48495318
L
22298 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
22299 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
22300
14adcbfc
L
22301 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
22302 New macro from Linux kernel 3.4.0.
22303 (FP_XSTATE_MAGIC2): Likewise.
22304 (FP_XSTATE_MAGIC2_SIZE): Likewise.
22305 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
22306 (struct _fpx_sw_bytes): New struct.
22307 (struct _xsave_hdr): Likewise.
22308 (struct _ymmh_state): Likewise.
22309 (struct _xstate): Likewise.
22310
68e408ab
L
22311 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
22312 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
22313 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
22314 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
22315 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
22316 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
22317
f3d1f93c
L
22318 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
22319 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
22320 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
22321 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
22322 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
22323 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
22324
d9dc34cd
TMQMF
223252012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22326
22327 [BZ #13743]
22328 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
22329 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
22330 (sysdep_headers): Include sys/platform/ppc.h.
22331 * sysdeps/powerpc/test-gettimebase.c: Test for
22332 __ppc_get_timebase() to catch future ISA opcode/insn changes.
22333 * manual/Makefile (appendices): Include platform.texi.
22334 * manual/contrib.texi (Contributors): Update @node pointers.
22335 * manual/maint.texi (Maintenance): Likewise.
22336 (Platform): New node.
22337 * manual/platform.texi: New file. Document the new features.
22338
4af3879c
SP
223392012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22340 Jakub Jelinek <jakub@redhat.com>
22341
22342 [BZ #14188]
22343 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
22344 where __builtin_expect is unavailable.
22345
2fd6ff13
DM
223462012-06-03 David S. Miller <davem@davemloft.net>
22347
22348 * stdlib/longlong.h: Updated from GCC.
22349
173f7220
AS
223502012-06-02 Andreas Schwab <schwab@linux-m68k.org>
22351
22352 [BZ #14042]
22353 * sysdeps/powerpc/powerpc32/mcount.c: New file.
22354 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
22355 __mcount_internal.
22356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
22357 (GLIBC_2.16): Likewise.
22358
f34a1c6f
L
223592012-06-01 H.J. Lu <hongjiu.lu@intel.com>
22360
22361 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
22362
88a4576f
JM
223632012-06-01 Joseph Myers <joseph@codesourcery.com>
22364
ea32bcdd
JM
22365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
22366 (default-abi): New variable.
22367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
22368 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
22369 variable.
22370 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
22371 Likewise.
22372 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
22373 Likewise.
22374 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
22375 Likewise.
22376
88a4576f
JM
22377 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
22378 definition. Document in comment.
22379
402fe938
DM
223802012-06-01 David S. Miller <davem@davemloft.net>
22381
22382 * stdlib/longlong.h: Updated from GCC.
22383
3553723f
L
223842012-06-01 H.J. Lu <hongjiu.lu@intel.com>
22385
22386 [BZ #14117]
3bd872c4
L
22387 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
22388 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
22389 sys/debugreg.h sys/io.h here.
22390 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
22391 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
22392 sys/io.h.
22393 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
22394 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
22395 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
22396 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
22397 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
22398 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
22399
3553723f
L
22400 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
22401 Define only if __x86_64__ is defined.
22402
4842e4fe
JM
224032012-06-01 Joseph Myers <joseph@codesourcery.com>
22404
c5bfe3d5
JM
22405 [BZ #14048]
22406 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
22407 Use int64_t for variable i.
22408 * math/libm-test.inc (fmod_test): Add more tests.
22409
4842e4fe
JM
22410 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
22411 z computation is not scheduled after fetestexcept.
22412 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
22413 Use math_force_eval instead of asm to ensure calculation scheduled
22414 before exception test.
22415 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
22416 Ensure a1 + u.d computation is not scheduled after fetestexcept.
22417
efb73488
AJ
224182012-06-01 Aurelien Jarno <aurelien@aurel32.net>
22419
22420 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
22421 computation is not scheduled after fetestexcept.
22422
29bcce7c
L
224232012-06-01 H.J. Lu <hongjiu.lu@intel.com>
22424
22425 [BZ #14117]
22426 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
22427 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
22428
73a68f94
AZ
224292012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22430
22431 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
22432 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22433
67b6df78
L
224342012-05-31 H.J. Lu <hongjiu.lu@intel.com>
22435
edf2933a 22436 [BZ #14117]
ebc64a18
L
22437 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
22438 <bits/wordsize.h>.
22439 (__WCHAR_MIN): Support __WORDSIZE == 64.
22440 (__WCHAR_MAX): Likewise.
22441
edf2933a
L
22442 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
22443 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
22444
57c6cf40
L
22445 [BZ #14183]
22446 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
22447 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
22448
67b6df78 22449 [BZ #14117]
8eb6281e
L
22450 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
22451 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
22452
aac639f4
L
22453 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
22454 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
22455
67b6df78
L
22456 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
22457 Defined to 1 if __x86_64__ isn't defined.
22458 (_STAT_VER_LINUX_OLD): New.
22459 (st_atime): Remove duplicate.
22460 (st_mtime): Likewise.
22461 (st_ctime): Likewise.
22462
1c2cfe81
DM
224632012-05-31 David S. Miller <davem@davemloft.net>
22464
22465 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
22466 entries.
22467
5be8418c
AS
224682012-06-01 Andreas Schwab <schwab@linux-m68k.org>
22469
e7725326
AS
22470 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
22471 gen-libm-test.pl.
22472
5be8418c
AS
22473 [BZ #14132]
22474 * elf/dl-reloc.c: Include <_itoa.h>.
22475 (_dl_reloc_bad_type): Remove use of INTUSE.
22476 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
22477 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
22478 * stdio-common/psiginfo.c (psiginfo): Likewise.
22479 * stdio-common/psignal.c (psignal): Likewise.
22480 * string/strsignal.c (strsignal): Likewise.
22481 * include/signal.h (_sys_siglist): Declare hidden proto.
22482 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
22483 INTVARDEF with libc_hidden_data_def.
22484 * stdio-common/itoa-udigits.c: Likewise.
22485 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
22486 (_itoa_lower_digits_internal): Remove declaration.
22487 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
22488 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
22489 (_sys_sigabbrev_internal): Remove aliases.
22490 (_sys_siglist): Define hidden alias.
22491
507352f1
MT
224922012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
22493
22494 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22495 bits/sysctl.h.
22496
42bbb1c3
L
224972012-05-31 H.J. Lu <hongjiu.lu@intel.com>
22498
22499 [BZ #14117]
6bd784b6
L
22500 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
22501 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
22502
8bca20f0
L
22503 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
22504 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
22505 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
22506 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
22507 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
22508 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
22509
f9e890a9
L
22510 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
22511 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
22512 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
22513
471101a1
L
22514 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
22515 with __addr.
22516 (insw): Likewise.
22517 (insl): Likewise.
22518 (outsb): Likewise.
22519 (outsw): Likewise.
22520 (outsl): Likewise.
22521
6451c862
L
22522 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
22523 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
22524 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
22525
a254b8c9
L
22526 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
22527 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
22528 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
22529 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
22530 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
22531 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
22532
b8dfdd92
L
22533 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
22534 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
22535
578cd270
L
22536 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
22537 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
22538
de662f5f
L
22539 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
22540 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
22541 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
22542
25653439
L
22543 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
22544 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
22545 to ...
22546 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
22547
6bad24a0
L
22548 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
22549 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
22550 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
22551
42bbb1c3
L
22552 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
22553 for x86-64.
22554 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
22555
2d10d547
JM
225562012-05-31 Joseph Myers <joseph@codesourcery.com>
22557
22558 * math/math.h (M_El): Use two more decimal places.
22559 (M_LOG2El): Likewise.
22560 (M_LOG10El): Likewise.
22561 (M_LN2l): Likewise.
22562 (M_LN10l): Likewise.
22563 (M_PIl): Likewise.
22564 (M_PI_2l): Likewise.
22565 (M_PI_4l): Likewise.
22566 (M_1_PIl): Likewise.
22567 (M_2_PIl): Likewise.
22568 (M_2_SQRTPIl): Likewise.
22569 (M_SQRT2l): Likewise.
22570 (M_SQRT1_2l): Likewise.
22571
f230c29b
DM
225722012-05-31 David S. Miller <davem@davemloft.net>
22573
22574 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
22575 values between float registers.
22576 * sysdeps/sparc/sparc64/memset.S: Likewise.
22577 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22578
fed806c3
MF
225792012-05-31 Mike Frysinger <vapier@gentoo.org>
22580
22581 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
22582 -D_FORTIFY_SOURCE=1.
22583 (CPPFLAGS-tst-longjmp_chk.c): Define.
22584 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
22585 (CPPFLAGS-tst-longjmp_chk2.c): Define.
22586 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
22587 CFLAGS-tst-wchar-h.c.
22588
30917259
MP
225892012-05-31 Marek Polacek <polacek@redhat.com>
22590
22591 [BZ #14132]
22592 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
22593 __endmntent_internal): Remove declaration.
22594 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
22595 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
22596 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
22597
1c58d5dc
DM
225982012-05-30 David S. Miller <davem@davemloft.net>
22599
22600 * sysdeps/sparc/sparc32/soft-fp/q_util.c
22601 (___Q_simulate_exceptions): Use real FP ops rather than writing
22602 into the %fsr.
22603 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
22604 Likewise.
22605
7dc00e0d
L
226062012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22607
22608 [BZ #14117]
0bd53985
L
22609 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
22610 * sysdeps/x86/bits/xtitypes.h: This.
22611
3a257e66
L
22612 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
22613 * sysdeps/x86/bits/wordsize.h: This.
22614
62f62904
L
22615 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
22616 * sysdeps/x86/bits/huge_vall.h: This.
22617
404fe9d9
L
22618 * sysdeps/i386/bits/select.h: Removed.
22619 * sysdeps/x86_64/bits/select.h: Renamed to ...
22620 * sysdeps/x86/bits/select.h: This.
22621
d48d0446
L
22622 * sysdeps/i386/bits/setjmp.h: Removed.
22623 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
22624 * sysdeps/x86/bits/setjmp.h: This.
22625
7dc00e0d
L
22626 * sysdeps/i386/bits/mathdef.h: Removed.
22627 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
22628 * sysdeps/x86/bits/mathdef.h: This.
22629
03277f8f
AS
226302012-05-30 Andreas Schwab <schwab@linux-m68k.org>
22631
22632 [BZ #14132]
22633 * include/sys/socket.h (__connect_internal)
22634 (__libc_sa_len_internal): Remove declaration.
22635 (__connect, __libc_sa_len): Declare hidden_proto.
22636 (SA_LEN): Remove use of INTUSE.
22637 * socket/connect.c: Add libc_hidden_def.
22638 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
22639 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
22640 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
22641 alias.
22642 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
22643 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
22644 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
22645 of adding _internal alias.
22646
13764867
L
226472012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22648
22649 [BZ #14117]
6bd97696
L
22650 * sysdeps/i386/bits/link.h: Removed.
22651 * sysdeps/i386/bits/linkmap.h: Likewise.
22652 * sysdeps/x86_64/bits/link.h: Renamed to ...
22653 * sysdeps/x86/bits/link.h: This.
22654 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
22655 * sysdeps/x86/bits/linkmap.h: This.
22656
f726f0bb
L
22657 * sysdeps/i386/bits/endian.h: Removed.
22658 * sysdeps/x86_64/bits/endian.h: Renamed to ...
22659 * sysdeps/x86/bits/endian.h: This.
22660
13764867
L
22661 * sysdeps/i386/bits/byteswap.h: Removed.
22662 * sysdeps/i386/bits/byteswap-16.h: Likewise.
22663 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
22664 * sysdeps/x86/bits/byteswap.h: This.
22665 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
22666 * sysdeps/x86/bits/byteswap-16.h: This.
22667 * sysdeps/i386/Implies: Add x86.
22668 * sysdeps/x86_64/Implies: Likewise.
22669
ae251b0b
DM
226702012-05-30 David S. Miller <davem@davemloft.net>
22671
22672 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
22673 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
22674 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
22675 (FP_TRAPPING_EXCEPTIONS): Define.
22676 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
22677 (FP_TRAPPING_EXCEPTIONS): Define.
22678 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
22679 subnormals only when inexact has been signalled or underflow
22680 exceptions are enabled.
22681 (_FP_PACK_CANONICAL): Likewise.
22682
d5c90867
L
226832012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22684
22685 [BZ #14183]
22686 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
22687 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
22688
63f1549e
RH
226892012-05-30 Richard Henderson <rth@twiddle.net>
22690
8d8f2279
RH
22691 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
22692 with #ifndef NOT_IN_libc.
22693
63f1549e
RH
22694 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
22695 marked to avoid plt entry.
22696
0ab0291b
L
226972012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22698
22699 [BZ #14112]
22700 * Makeconfig (default-abi): New macro.
22701 (abi-includes): Likewise.
22702 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
22703 $(abi-$(default-abi)-lib-soname) for soname if defined.
22704 ($(common-objpfx)gnu/lib-names.stmp): Generate from
22705 abi-variants.
22706 * Makefile (installed-stubs): Likewise.
22707 * include/stubs-biarch.h: Removed.
22708 * scripts/lib-names.awk: Only handle one library at a time.
22709 * scripts/soversions.awk: Remove WORDSIZE support.
22710 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
22711 entries.
22712 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
22713 Removed.
22714 (syscall-list-default-condition): Likewise.
22715 (syscall-list-default-condition): Likewise.
22716 (syscall-list-includes): Likewise.
22717 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
22718 syscall-list-* with abi-*. Handle undefined abi-variants.
22719 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
22720 * sysdeps/unix/sysv/linux/i386/Implies: New file.
22721 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
22722 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
22723 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
22724 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
22725 Removed.
22726 (syscall-list-32-options): Likewise.
22727 (syscall-list-32-condition): Likewise.
22728 (syscall-list-64-options): Likewise.
22729 (syscall-list-64-condition): Likewise.
22730 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
22731 macro.
22732 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
22733 Renamed to ...
22734 (abi-*): This.
22735 (abi-64-ld-soname): New macro.
22736 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
22737 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
22738 Renamed to ...
22739 (abi-*): This.
22740 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
22741 * sysdeps/x86_64/x32/shlib-versions: Likewise.
22742
4da0431d
JM
227432012-05-30 Joseph Myers <joseph@codesourcery.com>
22744
3a85279c
JM
22745 * sysdeps/unix/sysv/linux/kernel-features.h
22746 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
22747 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
22748 include <kernel-features.h>.
22749 [!__NR_ftruncate64]: Remove conditional code.
22750 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22751 [__NR_ftruncate64]: Make code unconditional.
22752 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22753 * sysdeps/unix/sysv/linux/truncate64.c: Do not
22754 include <kernel-features.h>.
22755 [!__NR_ftruncate64]: Remove conditional code.
22756 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22757 [__NR_ftruncate64]: Make code unconditional.
22758 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
22760 include <kernel-features.h>.
22761 [!__NR_ftruncate64]: Remove conditional code.
22762 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22763 [__NR_ftruncate64]: Make code unconditional.
22764 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22766 include <kernel-features.h>.
22767 [!__NR_ftruncate64]: Remove conditional code.
22768 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22769 [__NR_ftruncate64]: Make code unconditional.
22770 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22771
4da0431d
JM
22772 * configure.in (libc_cv_fpie): Weaken to a compile test using
22773 LIBC_TRY_CC_OPTION.
22774 * configure: Regenerated.
22775
11ef492c
AK
227762012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22777
22778 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
22779 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
22780 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
22781 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22782 Refreshed.
22783 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
22784 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
22785 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
22786 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
22787 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
22788 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22789 Refreshed.
22790
d66ef399
DM
227912012-05-27 David S. Miller <davem@davemloft.net>
22792
22793 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
22794 (___Q_zero): New.
22795 (__Q_simulate_exceptions): Return void. Change to simulate
22796 exceptions by writing into the %fsr.
22797 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
22798 (__Qp_handle_exceptions): Likewise.
22799 (numbers): Delete.
22800 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
22801 __Qp_handle_exceptions.
22802 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
22803 __Qp_handle_exceptions.
22804 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22805 as unused and give dummy FP_RND_NEAREST initializer.
22806 (FP_INHIBIT_RESULTS): Define.
22807 (___Q_simulate_exceptions): Update declaration.
22808 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
22809 formatting.
22810 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22811 as unused and give dummy FP_RND_NEAREST initializer.
22812 (__Qp_handle_exceptions): Update declaration.
22813 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
22814 formatting.
22815
04fb54b5
TS
228162012-05-27 Thomas Schwinge <thomas@codesourcery.com>
22817
22818 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
22819 the temporary FPU control word.
22820 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
22821 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
22822 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
22823 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22824 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22825 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
22826 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
22827 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22828 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22829 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
22830 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22831
3f99608f
KK
228322012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22833
22834 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
22835 fields.
22836
65a4de4e
CLT
228372012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
22838
22839 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
22840 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
22841 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
22842 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
22843 Likewise.
22844 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
22845 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
22846 Likewise.
22847
15749d40
UD
228482012-05-27 Ulrich Drepper <drepper@gmail.com>
22849
22850 * po/h.po: Update from translation team.
22851
25dbcb27
AS
228522012-05-26 Andreas Schwab <schwab@linux-m68k.org>
22853
3d3f8e55
AS
22854 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
22855
25dbcb27
AS
22856 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
22857 handling of denormals.
22858 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22859 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
22860 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
22861 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
22862 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22863 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
22864 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
22865 Likewise.
22866
7ad47a80 228672012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
22868
22869 [BZ #14152]
22870 * math/libm-test.inc (fma_test): Don't always expect underflow
22871 exception.
22872
9c6ea9fa
SP
228732012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22874
22875 [BZ #12416]
22876 * elf/tst-execstack.c: Include stackinfo.h.
22877 (do_test): Adjust test case to ensure that pthread_getattr_np
22878 behaviour remains the same after marking stack executable.
22879
a8239222
JM
228802012-05-25 Joseph Myers <joseph@codesourcery.com>
22881
22882 * sysdeps/unix/sysv/linux/kernel-features.h
22883 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
22884 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
22885 kernel-features.h.
22886 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22887 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22888 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
22889 kernel-features.h.
22890 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22891 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22892
918b5606
L
228932012-05-25 H.J. Lu <hongjiu.lu@intel.com>
22894
22895 * configure.in: Define the default includes to being none.
22896 * configure: Regenerated.
22897
3a097cc7
RM
228982012-05-25 Roland McGrath <roland@hack.frob.com>
22899
8422c9a5
RM
22900 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
22901 * sysdeps/x86_64/setjmp.S: Likewise.
22902 * sysdeps/i386/bsd-setjmp.S: Likewise.
22903 * sysdeps/i386/bsd-_setjmp.S: Likewise.
22904 * sysdeps/i386/setjmp.S: Likewise.
22905 * sysdeps/i386/__longjmp.S: Likewise.
22906 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
22907 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
22908
3a097cc7
RM
22909 * include/stap-probe.h: New file.
22910 * configure.in: Handle --enable-systemtap.
22911 * configure: Regenerated.
22912 * config.h.in (USE_STAP_PROBE): New #undef.
22913 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
22914 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
22915 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
22916
21708942
JM
229172012-05-25 Joseph Myers <joseph@codesourcery.com>
22918
22919 [BZ #13717]
22920 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
22921 to 2.4.0 where earlier.
22922 * sysdeps/unix/sysv/linux/configure: Regenerated.
22923 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
22924 <kernel-features.h>.
22925 [__ASSUME_32BITUIDS]: Make code unconditional.
22926 [!__ASSUME_32BITUIDS]: Remove conditional code.
22927 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
22928 <kernel-features.h>.
22929 [__ASSUME_32BITUIDS]: Make code unconditional.
22930 [!__ASSUME_32BITUIDS]: Remove conditional code.
22931 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
22932 [__ASSUME_32BITUIDS]: Make code unconditional.
22933 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
22934 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
22935 <kernel-features.h>.
22936 [__ASSUME_32BITUIDS]: Make code unconditional.
22937 [!__ASSUME_32BITUIDS]: Remove conditional code.
22938 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
22939 <kernel-features.h>.
22940 [__ASSUME_32BITUIDS]: Make code unconditional.
22941 [!__ASSUME_32BITUIDS]: Remove conditional code.
22942 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
22943 <kernel-features.h>.
22944 [__ASSUME_32BITUIDS]: Make code unconditional.
22945 [!__ASSUME_32BITUIDS]: Remove conditional code.
22946 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
22947 <kernel-features.h>.
22948 [__ASSUME_32BITUIDS]: Make code unconditional.
22949 [!__ASSUME_32BITUIDS]: Remove conditional code.
22950 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
22951 <kernel-features.h>.
22952 [__ASSUME_32BITUIDS]: Make code unconditional.
22953 [!__ASSUME_32BITUIDS]: Remove conditional code.
22954 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
22955 <kernel-features.h>.
22956 [__ASSUME_32BITUIDS]: Make code unconditional.
22957 [!__ASSUME_32BITUIDS]: Remove conditional code.
22958 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
22959 <kernel-features.h>.
22960 [__ASSUME_32BITUIDS]: Make code unconditional.
22961 [!__ASSUME_32BITUIDS]: Remove conditional code.
22962 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
22963 <kernel-features.h>.
22964 [__ASSUME_32BITUIDS]: Make code unconditional.
22965 [!__ASSUME_32BITUIDS]: Remove conditional code.
22966 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
22967 <kernel-features.h>.
22968 [__ASSUME_32BITUIDS]: Make code unconditional.
22969 [!__ASSUME_32BITUIDS]: Remove conditional code.
22970 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
22971 <kernel-features.h>.
22972 [__ASSUME_32BITUIDS]: Make code unconditional.
22973 [!__ASSUME_32BITUIDS]: Remove conditional code.
22974 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
22975 <kernel-features.h>.
22976 [__NR_setresgid] (__setresgid): Do not declare.
22977 [__ASSUME_32BITUIDS]: Make code unconditional.
22978 [!__ASSUME_32BITUIDS]: Remove conditional code.
22979 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
22980 <kernel-features.h>.
22981 [__NR_setresuid] (__setresuid): Do not declare.
22982 [__ASSUME_32BITUIDS]: Make code unconditional.
22983 [!__ASSUME_32BITUIDS]: Remove conditional code.
22984 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
22985 <kernel-features.h>.
22986 [__ASSUME_32BITUIDS]: Make code unconditional.
22987 [!__ASSUME_32BITUIDS]: Remove conditional code.
22988 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
22989 <kernel-features.h>.
22990 [__ASSUME_32BITUIDS]: Make code unconditional.
22991 [!__ASSUME_32BITUIDS]: Remove conditional code.
22992 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
22993 <kernel-features.h>.
22994 [__ASSUME_32BITUIDS]: Make code unconditional.
22995 [!__ASSUME_32BITUIDS]: Remove conditional code.
22996 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
22997 <kernel-features.h>.
22998 [__ASSUME_32BITUIDS]: Make code unconditional.
22999 [!__ASSUME_32BITUIDS]: Remove conditional code.
23000 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
23001 <kernel-features.h>.
23002 [__ASSUME_32BITUIDS]: Make code unconditional.
23003 [!__ASSUME_32BITUIDS]: Remove conditional code.
23004 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
23005 <kernel-features.h>.
23006 [__ASSUME_32BITUIDS]: Make code unconditional.
23007 [!__ASSUME_32BITUIDS]: Remove conditional code.
23008 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
23009 <kernel-features.h>.
23010 [__ASSUME_32BITUIDS]: Make code unconditional.
23011 [!__ASSUME_32BITUIDS]: Remove conditional code.
23012 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
23013 <kernel-features.h>.
23014 [__ASSUME_32BITUIDS]: Make code unconditional.
23015 [!__ASSUME_32BITUIDS]: Remove conditional code.
23016 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
23017 <kernel-features.h>.
23018 [__ASSUME_32BITUIDS]: Make code unconditional.
23019 [!__ASSUME_32BITUIDS]: Remove conditional code.
23020 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
23021 <kernel-features.h>.
23022 [__ASSUME_32BITUIDS]: Make code unconditional.
23023 [!__ASSUME_32BITUIDS]: Remove conditional code.
23024 * sysdeps/unix/sysv/linux/kernel-features.h
23025 (__ASSUME_SETRESUID_SYSCALL): Remove.
23026 (__ASSUME_SETRESGID_SYSCALL): Likewise.
23027 (__ASSUME_32BITUIDS): Likewise.
23028 (__ASSUME_LDT_WORKS): Likewise.
23029 (__ASSUME_O_DIRECTORY): Likewise.
23030 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
23031 architecture but not kernel version.
23032 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
23033 (__ASSUME_MMAP2_SYSCALL): Likewise.
23034 (__ASSUME_STAT64_SYSCALL): Likewise.
23035 (__ASSUME_IPC64): Likewise.
23036 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
23037 <kernel-features.h>.
23038 [__ASSUME_32BITUIDS]: Make code unconditional.
23039 [!__ASSUME_32BITUIDS]: Remove conditional code.
23040 * sysdeps/unix/sysv/linux/opendir.c: Do not include
23041 <kernel-features.h>.
23042 [__ASSUME_O_DIRECTORY]: Make code unconditional.
23043 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
23044 132096]: Remove conditional code.
23045 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
23046 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
23047 <kernel-features.h>.
23048 [__ASSUME_32BITUIDS]: Make code unconditional.
23049 [!__ASSUME_32BITUIDS]: Remove conditional code.
23050 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
23051 <kernel-features.h>.
23052 [__ASSUME_32BITUIDS]: Make code unconditional.
23053 [!__ASSUME_32BITUIDS]: Remove conditional code.
23054 * sysdeps/unix/sysv/linux/setegid.c: Do not include
23055 <kernel-features.h>.
23056 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
23057 unconditional.
23058 (__setresgid): Do not declare.
23059 [__ASSUME_32BITUIDS]: Make code unconditional.
23060 [!__ASSUME_32BITUIDS]: Remove conditional code.
23061 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
23062 <kernel-features.h>.
23063 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
23064 unconditional.
23065 (__setresuid): Do not declare.
23066 [__ASSUME_32BITUIDS]: Make code unconditional.
23067 [!__ASSUME_32BITUIDS]: Remove conditional code.
23068 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
23069 <kernel-features.h>.
23070 [__ASSUME_32BITUIDS]: Make code unconditional.
23071 [!__ASSUME_32BITUIDS]: Remove conditional code.
23072 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
23073 <kernel-features.h>.
23074 [__ASSUME_32BITUIDS]: Make code unconditional.
23075 [!__ASSUME_32BITUIDS]: Remove conditional code.
23076
a386f1cc
RH
230772012-05-25 Richard Henderson <rth@twiddle.net>
23078
23079 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
23080 dl_hwcap to ifunc resolver.
23081 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
23082 elf_ifunc_invoke.
23083 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
23084 dl_hwcap to ifunc resolver.
23085 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
23086
b6550497
JM
230872012-05-24 Joseph Myers <joseph@codesourcery.com>
23088
23089 [BZ #14153]
23090 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
23091 for |x| <= 2**-26, not 2**-57.
23092 * math/libm-test.inc (acos_test): Do not allow spurious underflow
23093 exception.
23094
b0bc23a1
JL
230952012-05-24 Jeff Law <law@redhat.com>
23096
23097 * stdio-common/Makefile (tests): Add bug25.
23098 * stdio-common/bug25.c: New test.
23099
347c92e9
L
231002012-05-24 H.J. Lu <hongjiu.lu@intel.com>
23101
23102 [BZ #13576]
23103 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
23104 multiple of MALLOC_ALIGNMENT in size.
23105 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
23106
6bcc8b3f
JM
231072012-05-24 Joseph Myers <joseph@codesourcery.com>
23108
23109 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
23110 Require >= 256.
23111 (FILENAME_MAX): Use macro-int-constant.
23112 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
23113 (_IOFBF): Use macro-int-constant.
23114 (_IOLBF): Likewise.
23115 (_IONBF): Likewise.
23116 (SEEK_CUR): Likewise.
23117 (SEEK_END): Likewise.
23118 (SEEK_SET): Likewise.
23119 (TMP_MAX): Likewise.
23120 (EOF): Use macro-int-constant. Require < 0.
23121 (NULL): Use macro-constant. Require == 0.
23122 (stdin): Require type to be FILE *.
23123 (stdout): Likewise.
23124 (stderr): Likewise.
23125 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
23126 macro-int-constant.
23127 (EXIT_SUCCESS): Likewise.
23128 (NULL): Use macro-constant. Require == 0.
23129 (RAND_MAX): Use macro-int-constant.
23130 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
23131 [C99-based standards] (strtof): Require function.
23132 [C99-based standards] (strtold): Likewise.
23133 [C99-based standards] (strtoll): Likewise.
23134 [C99-based standards] (strtoull): Likewise.
23135 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
23136 [ISO || ISO99 || ISO11] (limits.h): Likewise.
23137 [ISO || ISO99 || ISO11] (math.h): Likewise.
23138 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
23139 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
23140 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23141
d18ea0c5
AS
231422012-05-24 Andreas Schwab <schwab@linux-m68k.org>
23143
23144 [BZ #14132]
56d25bb8
AS
23145 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
23146 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
23147 * intl/dgettext.c (DCGETTEXT): Likewise.
23148 * intl/gettext.c (DCGETTEXT): Likewise.
23149 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
23150 * posix/regex_internal.h (gettext): Likewise.
23151 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
23152 Remove declaration.
23153 * include/argz.h (__argz_count_internal)
23154 (__argz_stringify_internal): Remove declaration.
23155 (__argz_count, __argz_stringify): Declare hidden proto.
23156 * intl/dcgettext.c: Remove use of INTDEF.
23157 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
23158 * string/argz-stringify.c: Likewise.
23159 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
23160 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
23161 Declare hidden proto.
d18ea0c5
AS
23162 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
23163 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
23164 Declare hidden proto.
23165 * include/stdio.h (__asprintf_internal): Don't declare.
23166 (__asprintf): Don't define as macro. Declare hidden proto.
23167 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
23168 (__fsetlocking): Declare hidden proto.
23169 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
23170 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
23171 hidden proto.
23172 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
23173 (_IO_setlinebuf): Remove use of INTUSE.
23174 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
23175 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
23176 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
23177 Remove declaration.
23178 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
23179 (_IO_do_flush): Remove use of INTUSE.
23180 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
23181 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
23182 (_IO_adjust_column, _IO_least_wmarker)
23183 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
23184 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
23185 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
23186 (_IO_default_doallocate, _IO_wdefault_doallocate)
23187 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
23188 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
23189 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
23190 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
23191 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
23192 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
23193 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
23194 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
23195 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
23196 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
23197 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
23198 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
23199 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
23200 proto.
23201 (_IO_flush_all_internal, _IO_adjust_column_internal)
23202 (_IO_default_uflow_internal, _IO_default_finish_internal)
23203 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
23204 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
23205 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
23206 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
23207 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
23208 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
23209 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
23210 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
23211 (_IO_file_close_internal, _IO_file_close_it_internal)
23212 (_IO_file_underflow_internal, _IO_file_overflow_internal)
23213 (_IO_file_init_internal, _IO_file_attach_internal)
23214 (_IO_file_fopen_internal, _IO_file_read_internal)
23215 (_IO_file_sync_internal, _IO_file_seek_internal)
23216 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
23217 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
23218 (_IO_str_underflow_internal, _IO_str_overflow_internal)
23219 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
23220 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
23221 (_IO_list_all_internal, _IO_link_in_internal)
23222 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
23223 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
23224 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
23225 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
23226 (_IO_do_write_internal, _IO_padn_internal)
23227 (_IO_getline_info_internal, _IO_getline_internal)
23228 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
23229 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
23230 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
23231 (_IO_vfscanf_internal, _IO_vfprintf_internal)
23232 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
23233 (_IO_init_internal, _IO_un_link_internal): Don't declare.
23234 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
23235 with libc_hidden_ver, remove use of INTUSE.
23236 * libio/genops.c: Likewise.
23237 * libio/freopen.c: Likewise.
23238 * libio/freopen64.c: Likewise.
23239 * libio/iofclose.c: Likewise.
23240 * libio/iofdopen.c: Likewise.
23241 * libio/iofflush.c: Likewise.
23242 * libio/iofflush_u.c: Likewise.
23243 * libio/iofgets.c: Likewise.
23244 * libio/iofgets_u.c: Likewise.
23245 * libio/iofopen.c: Likewise.
23246 * libio/iofopncook.c: Likewise.
23247 * libio/iofread.c: Likewise.
23248 * libio/iofread_u.c: Likewise.
23249 * libio/ioftell.c: Likewise.
23250 * libio/iofwrite.c: Likewise.
23251 * libio/iogetline.c: Likewise.
23252 * libio/iogets.c: Likewise.
23253 * libio/iogetwline.c: Likewise.
23254 * libio/iopadn.c: Likewise.
23255 * libio/iopopen.c: Likewise.
23256 * libio/ioseekoff.c: Likewise.
23257 * libio/ioseekpos.c: Likewise.
23258 * libio/iosetbuffer.c: Likewise.
23259 * libio/iosetvbuf.c: Likewise.
23260 * libio/ioungetc.c: Likewise.
23261 * libio/ioungetwc.c: Likewise.
23262 * libio/iovdprintf.c: Likewise.
23263 * libio/iovsprintf.c: Likewise.
23264 * libio/iovsscanf.c: Likewise.
23265 * libio/memstream.c: Likewise.
23266 * libio/obprintf.c: Likewise.
23267 * libio/oldfileops.c: Likewise.
23268 * libio/oldiofclose.c: Likewise.
23269 * libio/oldiofdopen.c: Likewise.
23270 * libio/oldiofopen.c: Likewise.
23271 * libio/oldiopopen.c: Likewise.
23272 * libio/oldstdfiles.c: Likewise.
23273 * libio/putc.c: Likewise.
23274 * libio/setbuf.c: Likewise.
23275 * libio/setlinebuf.c: Likewise.
23276 * libio/stdfiles.c: Likewise.
23277 * libio/strops.c: Likewise.
23278 * libio/vasprintf.c: Likewise.
23279 * libio/vscanf.c: Likewise.
23280 * libio/vsnprintf.c: Likewise.
23281 * libio/vswprintf.c: Likewise.
23282 * libio/wfiledoalloc.c: Likewise.
23283 * libio/wfileops.c: Likewise.
23284 * libio/wgenops.c: Likewise.
23285 * libio/wmemstream.c: Likewise.
23286 * libio/wstrops.c: Likewise.
23287 * libio/__fpurge.c: Likewise.
23288 * libio/__fsetlocking.c: Likewise.
23289 * assert/assert.c: Likewise.
23290 * debug/fgets_chk.c: Likewise.
23291 * debug/fgets_u_chk.c: Likewise.
23292 * debug/fread_chk.c: Likewise.
23293 * debug/fread_u_chk.c: Likewise.
23294 * debug/gets_chk.c: Likewise.
23295 * debug/obprintf_chk.c: Likewise.
23296 * debug/vasprintf_chk.c: Likewise.
23297 * debug/vdprintf_chk.c: Likewise.
23298 * debug/vsnprintf_chk.c: Likewise.
23299 * debug/vsprintf_chk.c: Likewise.
23300 * malloc/mtrace.c: Likewise.
23301 * misc/error.c: Likewise.
23302 * misc/syslog.c: Likewise.
23303 * stdio-common/asprintf.c: Likewise.
23304 * stdio-common/fxprintf.c: Likewise.
23305 * stdio-common/getw.c: Likewise.
23306 * stdio-common/isoc99_fscanf.c: Likewise.
23307 * stdio-common/isoc99_scanf.c: Likewise.
23308 * stdio-common/isoc99_vfscanf.c: Likewise.
23309 * stdio-common/isoc99_vscanf.c: Likewise.
23310 * stdio-common/isoc99_vsscanf.c: Likewise.
23311 * stdio-common/printf-prs.c: Likewise.
23312 * stdio-common/printf_fp.c: Likewise.
23313 * stdio-common/printf_fphex.c: Likewise.
23314 * stdio-common/printf_size.c: Likewise.
23315 * stdio-common/putw.c: Likewise.
23316 * stdio-common/scanf.c: Likewise.
23317 * stdio-common/sprintf.c: Likewise.
23318 * stdio-common/tmpfile.c: Likewise.
23319 * stdio-common/vfprintf.c: Likewise.
23320 * stdio-common/vfscanf.c: Likewise.
23321 * stdlib/strfmon_l.c: Likewise.
23322 * sunrpc/openchild.c: Likewise.
23323 * sunrpc/xdr_stdio.c: Likewise.
23324 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
23325 * sysdeps/mach/hurd/tmpfile.c: Likewise.
23326
d6c33fda
RM
233272012-05-24 Roland McGrath <roland@hack.frob.com>
23328
c1487492
RM
23329 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23330
23331 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
23332 in the third column, to generate for the shared library an IFUNC
23333 that uses _dl_vdso_vsym.
23334 * Makerules (COMPILE.c, compile-stdin.c): New variables.
23335 * Makeconfig (object-suffixes-noshared): New variable.
23336
23337 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
23338 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
23339 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
23340 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
23341
d6c33fda
RM
23342 [BZ #14132]
23343 * include/sys/time.h (__gettimeofday): Remove macro.
23344 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
23345 * time/gettimeofday.c (__gettimeofday): Remove #undef.
23346 Remove INTDEF.
23347 (__gettimeofday): Add libc_hidden_def.
23348 (gettimeofday): Add libc_hidden_weak.
23349 * sysdeps/mach/gettimeofday.c: Likewise.
23350 * sysdeps/posix/gettimeofday.c: Likewise.
23351 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
23352 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
23353 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
23354 (__gettimeofday_internal): Remove strong_alias.
23355 (__gettimeofday): Add libc_hidden_def.
23356 (gettimeofday): Add libc_hidden_weak.
23357 * sysdeps/unix/syscalls.list (gettimeofday):
23358 Remove __gettimeofday_internal alias.
23359
b5a2bbe6
L
233602012-05-24 Daniel Jacobowitz <drow@false.org>
23361 H.J. Lu <hongjiu.lu@intel.com>
23362
23363 [BZ #12495]
23364 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
23365 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
23366 (largebin_index_32_big): New.
23367 (largebin_index): Use it for 16-byte alignment.
23368 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
23369 correction with front_misalign.
23370
cfba4fda
L
233712012-05-24 H.J. Lu <hongjiu.lu@intel.com>
23372
7f907421
L
23373 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
23374 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
23375 Likewise.
23376 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
23377 Likewise.
23378 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
23379 Likewise.
23380 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
23381 Likewise.
23382 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
23383 Likewise.
23384 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
23385 Likewise.
23386 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
23387 Likewise.
23388 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
23389 Likewise.
23390 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
23391 Likewise.
23392 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
23393 Likewise.
23394 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
23395 Likewise.
23396 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
23397 Likewise.
23398
cfba4fda
L
23399 * scripts/data/c++-types-x32-linux-gnu.data: New file.
23400 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
23401
80bad0cc
JM
234022012-05-24 Joseph Myers <joseph@codesourcery.com>
23403
7a25eb06
JM
23404 [BZ #10846]
23405 [BZ #14036]
23406 * math/libm-test.inc (exp_test): Add test from bug 14036.
23407 (pow_test): Add test from bug 10846.
23408
795405f9
JM
23409 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
23410 and other flags.
23411 (special_function): Do not include flags in test name.
23412 (parse_args): Likewise.
23413 * sysdeps/i386/fpu/libm-test-ulps: Update.
23414 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23415 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23416 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23417 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23418
80bad0cc
JM
23419 * math/gen-libm-test.pl (%beautify): Add entries for underflow
23420 exceptions.
23421 * math/libm-test.inc ("Philosophy"): Update comment about
23422 exception testing.
23423 (UNDERFLOW_EXCEPTION): New macro.
23424 (UNDERFLOW_EXCEPTION_OK): Likewise.
23425 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
23426 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
23427 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
23428 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
23429 (INVALID_EXCEPTION_OK): Update value.
23430 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23431 (OVERFLOW_EXCEPTION_OK): Likewise.
23432 (IGNORE_ZERO_INF_SIGN): Likewise.
23433 (test_exceptions): Handle underflow exceptions.
23434 (acos_test): Update for underflow exception expectations.
23435 (cexp_test): Likewise.
23436 (clog_test): Likewise.
23437 (clog10_test): Likewise.
23438 (csqrt_test): Likewise.
23439 (ctan_test): Likewise.
23440 (ctanh_test): Likewise.
23441 (exp_test): Likewise.
23442 (exp10_test): Likewise.
23443 (exp2_test): Likewise.
23444 (expm1_test): Likewise.
23445 (fma_test): Likewise.
23446 (j0_test): Likewise.
23447 (jn_test): Likewise.
23448 (nexttoward_test): Likewise.
23449 (pow_test): Likewise.
23450 (scalbn_test): Likewise.
23451 (scalbln_test): Likewise.
23452 (tan_test): Likewise.
23453 (y1_test): Likewise.
23454 * sysdeps/i386/fpu/libm-test-ulps: Update.
23455 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23456
9e0e3d0b
DM
234572012-05-23 David S. Miller <davem@davemloft.net>
23458
23459 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
23460 (__libc_sigaction): Remove unused local variables.
23461
ccd0a08f
L
234622012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23463
23464 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
23465
62bdf9a6
PE
234662012-05-23 Paul Eggert <eggert@cs.ucla.edu>
23467
f8591f80
PE
23468 mktime: avoid signed integer overflow
23469 * time/mktime.c (__mktime_internal): Do not mishandle the case
23470 where diff == INT_MIN.
23471
94c7d826
PE
23472 mktime: simplify computation of average
23473 * time/mktime.c (ranged_convert): Use new time_t_avg function
23474 instead of rolling our own (probably-slower) code.
23475
ce73d683
PE
23476 mktime: do not assume signed right shift propagates sign bit
23477 * time/mktime.c (isdst_differ): New static function.
23478 (__mktime_internal): No need to normalize tm_isdst now.
23479 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
23480 tm_isdst values.
23481
72a22e59
PE
23482 mktime: merge another wrapv change from gnulib
23483 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
23484 from some compilers.
23485
68605433
PE
23486 mktime: remove incorrect attempt at unusual arithmetics
23487 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
23488 The code didn't really work on such machines anyway.
23489 (TYPE_MINIMUM): Assume two's complement.
23490 (twos_complement_arithmetic): Verify that long_int and time_t
23491 are two's complement (or unsigned, in the latter case).
23492
03cf7fe3
PE
23493 mktime: check signed shifts on long_int and time_t, too
23494 * time/mktime.c (SHR): Check that shifts work as desired
23495 on the types long_int and time_t too, as SHR is used on
23496 such types.
23497
f04dfbc2
PE
23498 mktime: do not assume 'long' is wide enough
23499 * time/mktime.c (verify): Move decl up.
23500 (long_int): New type.
23501 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
23502 to remove assumption in the code that 'long' is wide enough to
23503 store year values. This assumption is not true on x32 and on
23504 some non-glibc platforms.
23505
62bdf9a6
PE
23506 mktime: merge wrapv change from gnulib
23507 * time/mktime.c (WRAPV): New macro.
23508 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
23509 (guess_time_tm, __mktime_internal): Do not assume that signed
23510 integer overflow wraps around; modern compilers generate code
23511 where this assumption is no longer valid.
23512
5e292e4f
L
235132012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23514
23515 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23516 Replace "jmp L(pseudo_end)" with "ret".
23517 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
23518 Likewise.
23519
8caf8c87
AJ
235202012-05-23 Andreas Jaeger <aj@suse.de>
23521
23522 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
23523 * sysdeps/unix/sysv/linux/poll.c: Remove file.
23524
1a09dc56
AJ
235252012-05-23 Andreas Jaeger <aj@suse.de>
23526 Maximilian Attems <max@stro.at>
23527
23528 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
23529 New macros.
23530
1c87aba0
L
235312012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23532
23533 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
23534 code so that pseudo_end is just ret and the stack pointer is
23535 correct also for static library in error case.
23536
40e45bd5
JM
235372012-05-23 Joseph Myers <joseph@codesourcery.com>
23538
c2670533
JM
23539 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
23540 move to syscalls.list.
23541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
23542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
23543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
23544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
23545
40e45bd5
JM
23546 * manual/install.texi (Running make install): Do not mention Linux
23547 kernel version for which pt_chown is not needed.
23548 (Linux): Do not mention problems with nscd with 2.0 kernels.
23549 * INSTALL: Regenerated.
23550
be08eda5
AJ
235512012-05-23 Andreas Jaeger <aj@suse.de>
23552
23553 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
23554 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
23555 macro.
23556 * sysdeps/unix/sysv/linux/s390/bits/mman.h
23557 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23558 * sysdeps/unix/sysv/linux/sh/bits/mman.h
23559 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23560 * sysdeps/unix/sysv/linux/i386/bits/mman.h
23561 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23562 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
23563 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23564 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
23565 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23566 * sysdeps/unix/sysv/linux/bits/in.h
23567 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
23568
a6a056bb
RM
235692012-05-22 Roland McGrath <roland@hack.frob.com>
23570
23571 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
23572 (PREPARE_VERSION): Just use assert instead, it will be elided
23573 under [NDEBUG] anyway.
23574
c9009328
L
235752012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23576
23577 * sysdeps/unix/sysv/linux/Makefile: Include
23578 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 23579 (sysdep_routines): Remove sysctl.
c9009328
L
23580 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
23581 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
23582 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
23583 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
23584 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
23585
73338355
AJ
235862012-05-22 Andreas Jaeger <aj@suse.de>
23587
23588 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
23589 that pseudo_end is just ret and the stack pointer is correct also
23590 for static library in error case.
23591
d44638b0
PP
235922012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
23593
23594 [BZ #14122]
23595 * nss/nsswitch.c (defconfig_entries): New variable.
23596 (__nss_database_lookup): Don't leak defconfig entries.
23597 (nss_parse_service_list): Don't leak on error paths.
23598 (free_database_entries): New function.
23599 (free_defconfig): New function.
23600 (free_mem): Move common code to free_database_entries.
23601
31a39bd8
L
236022012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23603
da0331a8
L
23604 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
23605 Add arch_prctl.
23606 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
23607
31a39bd8
L
23608 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23609 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
23610 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
23611 New macro.
23612 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
23613 (INTERNAL_SYSCALL_TYPES): Likewise.
23614 (LOAD_ARGS_TYPES_[1-6]): Likewise.
23615 (LOAD_REGS_TYPES_[1-6]): Likewise.
23616 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
23617 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
23618
45470df3
AZ
236192012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23620
23621 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
23622 copysignl for GLIBC_2_0.
23623 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
23624 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
23625 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
23626 logbl for GLIBC_2_0.
23627 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
23628 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
23629
98a61bcb
L
236302012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23631
a4f6e481
L
23632 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
23633 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23634
f63d5db6
L
23635 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23636 Use "neg %eax".
23637
98a61bcb
L
23638 * time/mktime.c: Update copyright years.
23639
95770f14
PE
236402012-05-22 Paul Eggert <eggert@cs.ucla.edu>
23641
6226efbd
PE
23642 mktime: merge comment-quoting-style change from gnulib
23643 * time/mktime.c: Quote 'like this' in comments.
23644 The GNU coding standards suggest that we no longer quote `like this',
23645 as "`" and "'" are typically rendered asymmetrically nowadays.
23646 The typical gnulib style is to quote 'like this' when quoting
23647 code, and "like this" when quoting English.
23648
b99e4f78
PE
23649 * time/mktime.c (compile-command): Add "-I.".
23650
643e01e6
PE
23651 mktime: merge mktime-internal.h change from gnulib
23652 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
23653
2554247d
PE
23654 mktime: merge time_r change from gnulib
23655 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
23656
826dd0ab
PE
23657 mktime: merge DEBUG change from gnulib
23658 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
23659 case system <time.h> has a #define.
23660
bd83aabe
PE
23661 mktime: merge <sys/types.h> change from gnulib
23662 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
23663 since <time.t> is now guaranteed to define time_t.
23664
95770f14
PE
23665 mktime: merge HAVE_CONFIG_H change from gnulib
23666 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
23667
5e1a27a9
L
236682012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23669
0e44a77e
L
23670 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23671 Use "neg %eax".
23672
5e1a27a9
L
23673 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
23674 __rlim_t cast.
23675 (struct rusage): Use anonymous union to pad each field to
23676 __syscall_slong_t.
23677
46259bec
DM
236782012-05-21 David S. Miller <davem@davemloft.net>
23679
23680 * Makefules (o-iterator): Remove .s cases.
23681 (compile-command.s): Delete.
23682 (COMPILE.s): Delete.
23683 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
23684
59f0c22e
JM
236852012-05-21 Joseph Myers <joseph@codesourcery.com>
23686
23687 * configure.in (libc_cv_predef_stack_protector): Only consider
23688 "foobar" and "__stack_chk_fail" lines in libc_undefs.
23689 * configure: Regenerated.
23690
20c07380
L
236912012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23692
bbb3154b
L
23693 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23694 New macro. Use R*LP on int and pointer.
23695 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
23696 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
23697 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
23698 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
23699
20c07380
L
23700 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
23701 [__WORDSIZE_TIME64_COMPAT32] instead of
23702 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
23703 (struct utmp): Likewise.
23704 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
23705 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
23706 Renamed to ...
23707 (__WORDSIZE_TIME64_COMPAT32): This.
23708 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
23709 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
23710 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
23711 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
23712 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
23713 (__WORDSIZE_TIME64_COMPAT32): New macro.
23714
d8d1017e
AJ
237152012-05-21 Andreas Jaeger <aj@suse.de>
23716
23717 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
23718 only if [SHARED]. Add prototype for __wcschr_ia32.
23719
6c7fb145
RM
237202012-05-21 Roland McGrath <roland@hack.frob.com>
23721
23722 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
23723 of %rbp unmolested in the jmp_buf while mangling the low bits.
23724 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
23725 unmolested high bits of %rbp while demangling the low bits.
23726 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
23727
66274218
AJ
237282012-05-21 Andreas Jaeger <aj@suse.de>
23729
07c58f8f
AJ
23730 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
23731 * sunrpc/svc_simple.c: Use it for registerrpc.
23732 * sunrpc/xcrypt.c: Use it for passwd2des.
23733
66274218
AJ
23734 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
23735
61f65140
L
237362012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23737
23738 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
23739 Don't define if [__SYSCALL_WORDSIZE != 32].
23740 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
23741 New macro.
23742
5fefb436
AJ
237432012-05-21 Bruno Haible <bruno@clisp.org>
23744 Andreas Jaeger <aj@suse.de>
23745
23746 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
23747 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
23748 inptr and inend for must_buffer_ch.
23749 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
23750 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
23751 * stdio-common/Makefile (tests): Remove bug15.
23752 (bug15-ENV): Remove macro.
23753 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
23754 anymore.
23755
d8e272ab
AJ
237562012-05-19 Andreas Jaeger <aj@suse.de>
23757 Roland McGrath <roland@hack.frob.com>
23758
23759 * manual/contrib.texi: Completely rewritten. It contains now an
23760 alphabetical list of contributors and their contributions.
23761
4a56a162
RH
237622012-05-21 Richard Henderson <rth@twiddle.net>
23763
23764 * misc/getauxval.c (__getauxval): Use unsigned long int.
23765 * misc/sys/auxv.h: Include <sys/cdefs.h>.
23766 (getauxval): Use unsigned long int.
23767
d024d23c
L
237682012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23769
23770 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23771
cbc00a03
RM
237722012-05-21 Roland McGrath <roland@hack.frob.com>
23773
23774 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
23775 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
23776 __alignof__ (long double).
23777
478143fa
AZ
237782012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23779
23780 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23781
c7683a6d
RH
237822012-05-20 Richard Henderson <rth@twiddle.net>
23783
23784 * misc/getauxval.c: New file.
23785 * misc/sys/auxv.h: New file.
23786 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
23787 (routines): Add getauxval.
23788 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
23789 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
23790 * elf/dl-sysdep.c (_dl_auxv): Remove.
23791 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
23792 * elf/dl-support.c (_dl_auxv): New variable.
23793 (_dl_aux_init): Initialize it.
23794 * manual/startup.texi (Auxiliary Vector): New node.
23795 * sysdeps/generic/bits/hwcap.h: New file.
23796 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
23797 * sysdeps/powerpc/sysdep.h: ... here. Include it.
23798 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
23799 * sysdeps/sparc/sysdep.h: ... here. Include it.
23800 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
23801 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
23802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23803 Update.
c7683a6d
RH
23804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
23805 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
23806 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
23807 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
23808 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23809 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23810 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
23811 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
23812
a6f1845d
AZ
238132012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23814
23815 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23816
cbcbe830
DM
238172012-05-19 David S. Miller <davem@davemloft.net>
23818
23819 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23820
e0b16cc2
JM
238212012-05-19 Joseph Myers <joseph@codesourcery.com>
23822
23823 [BZ #14123]
23824 * math/s_ccosh.c: Include <float.h>
23825 (__ccosh): Avoid internal overflow calculating sinh and cosh
23826 values before multiplying by sin and cos values.
23827 * math/s_ccoshf.c: Likewise.
23828 * math/s_ccoshl.c: Likewise.
23829 * math/s_csin.c: Likewise.
23830 * math/s_csinf.c: Likewise.
23831 * math/s_csinl.c: Likewise.
23832 * math/s_csinh.c: Likewise.
23833 * math/s_csinhf.c: Likewise.
23834 * math/s_csinhl.c: Likewise.
23835 * math/libm-test.inc (ccos_test): Add more tests.
23836 (ccosh_test): Likewise.
23837 (csin_test): Likewise.
23838 (csinh_test): Likewise.
23839 * sysdeps/i386/fpu/libm-test-ulps: Update.
23840 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23841
6ad13e08
L
238422012-05-19 H.J. Lu <hongjiu.lu@intel.com>
23843
f66f0ce8
L
23844 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
23845 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
23846
6ad13e08
L
23847 * sysdeps/x86_64/x32/_itoa.h: Add comment.
23848
b1d072a7
JM
238492012-05-19 Joseph Myers <joseph@codesourcery.com>
23850
23851 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
23852 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
23853 * sysdeps/powerpc/soft-fp/Versions: Likewise.
23854 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
23855 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
23856 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
23857 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
23858 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
23859 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
23860 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
23861 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
23862 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
23863 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
23864 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
23865 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
23866 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
23867 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
23868 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
23869 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
23870 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
23871 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
23872 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
23873 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
23874 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
23875 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
23876 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
23877 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
23878 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
23879 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
23880 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
23881 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
23882
9eae47cb
AJ
238832012-05-18 Andreas Jaeger <aj@suse.de>
23884
23885 * csu/.gitignore: Delete.
23886
bb07f69f
L
238872012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23888
23889 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
23890 (timex): Use __syscall_slong_t.
23891
e6bdb741
AJ
238922012-05-18 Andreas Jaeger <aj@suse.de>
23893 Carlos O'Donell <carlos_odonell@mentor.com>
23894
23895 * manual/install.texi (Configuring and compiling): Update
23896 description about files modified in the source directory.
d6c33fda 23897 * INSTALL: Regenerated.
e6bdb741 23898
1b74487e
L
238992012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23900
23901 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
23902 value. Use "or" to set return value to -1.
23903 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
23904 negate return value.
23905
a88b64b9
TMQMF
239062012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23907
23908 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
23909 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
23910 failure if the compiler has Graphite support disabled.
23911 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
23912 Likewise.
23913 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
23914 CFLAGS-memmove.c): Likewise.
23915 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
23916 Likewise.
23917
3707636e
L
239182012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23919
610b8622
L
23920 * sysdeps/x86_64/x32/_itoa.h: New file.
23921
7cd195df
L
23922 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
23923 getdents system call only if kernel and user dirents have the
23924 same d_ino and d_off.
23925
94b07d20
L
23926 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
23927 LLONG_MAX != LONG_MAX.
23928 (_itoa_word): Use _ITOA_WORD_TYPE on value.
23929 (_fitoa_word): Likewise.
23930
18298070
L
23931 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
23932 years.
23933 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
23934 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
23935 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
23936
553c7ea4
L
23937 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
23938 include <bits/wordsize.h>. Check __x86_64__ instead of
23939 __WORDSIZE.
23940 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
23941 if __x86_64__ is defined. Use anonymous union on fpstate.
23942
3707636e
L
23943 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
23944 anonymous union.
23945
b53ef01a
AS
239462012-05-18 Andreas Schwab <schwab@linux-m68k.org>
23947
37fb1dc0
AS
23948 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
23949 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
23950 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
23951 Refer to _rtld_local_ro instead of _rtld_global_ro.
23952 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
23953 Likewise.
23954 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
23955 Likewise.
23956 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
23957 Likewise.
23958 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
23959 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
23960 of _rtld_global, and rtld_progname instead of _dl_argv[0].
23961
b53ef01a
AS
23962 * sysdeps/powerpc/powerpc32/dl-machine.c
23963 (__elf_machine_runtime_setup) [PROF]: Don't reference
23964 _dl_prof_resolve.
23965
7a185db2
AJ
239662012-05-18 Andreas Jaeger <aj@suse.de>
23967
23968 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
23969 function only available for GCCs before 3.4 since GCC 3.4
23970 introduced a builtin.
23971 (lrint): Likewise.
23972 (llrintf): Likewise.
23973 (llrint): Likewise.
23974 (fmaxf): Likewise.
23975 (fmax): Likewise.
23976 (fminf): Likewise.
23977 (fmin): Likewise.
23978 (rint): Likewise.
23979 (rintf): Likewise.
23980 (nearbyint): Likewise.
23981 (nearbyintf): Likewise.
23982 (ceil): Likewise.
23983 (ceilf): Likewise.
23984 (floor): Likewise.
23985 (floorf): Likewise.
23986
3e5aef87
L
239872012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23988
428bd707
L
23989 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
23990 on both fields and cast pointer to __syscall_ulong_t.
23991
3e5aef87
L
23992 * bits/types.h (__fsword_t): New type.
23993 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
23994 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
23995 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23996 (__FSWORD_T_TYPE): Likewise.
23997 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23998 (__FSWORD_T_TYPE): Likewise.
23999 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24000 (__FSWORD_T_TYPE): Likewise.
24001 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
24002 (__FSWORD_T_TYPE): Likewise.
24003 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
24004 __SWORD_TYPE with __fsword_t.
24005 (statfs64): Likewise.
24006
1ba7c3dc
DM
240072012-05-17 David S. Miller <davem@davemloft.net>
24008
24009 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
24010
59910343
AJ
240112012-05-17 Andreas Jaeger <aj@suse.de>
24012
24013 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
24014 warning.
24015
2e4c1e9e
L
240162012-05-17 H.J. Lu <hongjiu.lu@intel.com>
24017
24018 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
24019
de7f5ce7
AJ
240202012-05-17 Andreas Jaeger <aj@suse.de>
24021
24022 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
24023 when it is used.
24024
286abc3d
CM
240252012-05-17 Chris Metcalf <cmetcalf@tilera.com>
24026
24027 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
24028
477cc68e
L
240292012-05-17 H.J. Lu <hongjiu.lu@intel.com>
24030
24031 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
24032 * sysdeps/x86_64/tst-mallocalign1.c: New file.
24033
1a0994f5
CD
240342012-05-17 Andreas Jaeger <aj@suse.de>
24035 Carlos O'Donell <carlos_odonell@mentor.com>
24036
24037 [BZ #14059]
24038 * sysdeps/x86_64/multiarch/init-arch.h
24039 (bit_YMM_Usable): Rename to...
24040 (bit_AVX_Usable): ... this.
24041 (bit_FMA4_Usable): New macro.
24042 (bit_XMM_state): New macro.
24043 (bit_YMM_state): New macro.
24044 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
24045 [__ASSEMBLER__] (index_AVX_Usable): ... this.
24046 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
24047 (CPUID_OSXSAVE): New macro.
24048 (CPUID_AVX): New macro.
24049 (CPUID_FMA4): New macro.
24050 (index_YMM_Usable): Rename to...
24051 (index_AVX_Usable): ... this.
24052 (HAS_AVX): Use HAS_ARCH_FEATURE.
24053 (HAS_FMA4): Likewise.
24054 (HAS_YMM_USABLE): Remove.
24055 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24056 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
24057 are present.
24058 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
24059 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
24060 * sysdeps/x86_64/multiarch/Makefile: Likewise.
24061 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
24062 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
24063
0af797de
CM
240642012-05-17 Chris Metcalf <cmetcalf@tilera.com>
24065
24066 * math/libm-test.c: Support platforms without multiple rounding modes.
24067 * math/bug-nextafter.c: Support platforms without FP exceptions.
24068 * math/bug-nexttoward.c: Likewise.
24069 * math/test-fenv.c: Likewise.
24070 * math/test-misc.c: Likewise.
24071 * stdlib/bug-getcontext.c: Likewise.
24072
e39745ff
AJ
240732012-05-17 Andreas Jaeger <aj@suse.de>
24074
24075 * manual/examples/search.c (critter_cmp): Change signature to
24076 avoid warnings.
24077 * manual/string.texi (Collation Functions): Likewise.
24078
48970aba
L
240792012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24080
24081 * bits/types.h: Fold copyright years.
24082 * bits/typesizes.h: Likewise.
24083 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
24084 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
24085 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
24086 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
24087 * time/time.h: Likewise.
24088
bedee953
PP
240892012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
24090
24091 [BZ #208]
24092 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
24093 in instead of returning them. Return void.
24094 (__libc_mallinfo): Accumulate over all arenas.
24095 (__malloc_stats): Adjust for change in int_mallinfo interface.
24096
61653dfb
RM
240972012-05-16 Roland McGrath <roland@hack.frob.com>
24098
30b99d79
RM
24099 [BZ #10375]
24100 * configure.in (NM): Add AC_CHECK_TOOL for it.
24101 (libc_extra_cflags): New substituted variable.
24102 Check for -fstack-protector being used implicitly.
24103 * configure: Regenerated.
24104 * config.make.in (config-extra-cflags): New variable,
24105 gets @libc_extra_cflags@.
24106 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
24107
61653dfb
RM
24108 [BZ #10375]
24109 * configure.in: Check for _FORTIFY_SOURCE being predefined.
24110 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
24111 * configure: Regenerated.
24112 * config.make.in (CPPUNDEFS): New substituted variable.
24113 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
24114 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
24115 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
24116
661768bb
L
241172012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24118
24119 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
24120 (mq_attr): Use __syscall_slong_t.
24121
d4261567
L
241222012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24123
24124 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
24125 Check __x86_64__ instead of __WORDSIZE.
24126 (_STAT_VER_LINUX): Likewise.
24127 (stat): Check __x86_64__ instead of __WORDSIZE. Use
24128 __syscall_ulong_t and __syscall_slong_t.
24129 (stat64): Likewise.
24130
cf3ff365
L
241312012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24132
24133 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
24134
76cf3e4d
L
241352012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24136
24137 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
24138
a637753a
L
241392012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24140
24141 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
24142 __syscall_ulong_t.
24143
d5e05119
L
24144 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
24145 include <bits/wordsize.h>. Check __x86_64__ instead of
24146 __WORDSIZE.
24147 (greg_t): Use "__extension__ long long int" if __x86_64__ is
24148 defined.
24149 (mcontext_t): Replace "unsigned long" with "unsigned long long".
24150
f62ee380
L
24151 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
24152 include <bits/wordsize.h>. Check __x86_64__ instead of
24153 __WORDSIZE.
24154 (user_regs_struct): Use "__extension__ unsigned long long"
24155 instead of "unsigned long" if __x86_64__ is defined.
24156 (user): Likewise. Pad after pointer field if __ILP32__ is
24157 defined.
24158
4e124ced
JM
241592012-05-16 Joseph Myers <joseph@codesourcery.com>
24160
6a3951a0
JM
24161 * configure.in (makeinfo): Require version 4.5 or later. Allow
24162 versions 5 to 9.
24163 * configure: Regenerated.
24164 * manual/install.texi (texinfo): Increase version requirement to
24165 4.5 or later.
24166 * INSTALL: Regenerated.
24167
4e124ced
JM
24168 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
24169
953ca31a
L
241702012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24171
24172 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
24173
617aca05
L
24174 * sysdeps/x86_64/x32/ffs.c: New file.
24175
5762f7ae
L
24176 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
24177 __syscall_ulong_t.
24178 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
24179 defined. Use __syscall_ulong_t.
24180 (shminfo): Use __syscall_ulong_t.
24181 (shm_info): Likewise.
24182
a26b6856
L
24183 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
24184 __syscall_ulong_t.
24185
cb2b9ef7
L
24186 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
24187 <bits/wordsize.h>.
24188 (msgqnum_t): Use __syscall_ulong_t.
24189 (msglen_t): Likewise.
24190 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
24191 __syscall_ulong_t.
24192
34683bb0
L
24193 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
24194 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
24195
84a68786
L
24196 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
24197
48baa5f1
L
24198 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
24199 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
24200
180be88b
L
24201 * sysvipc/sys/msg.h (msgbuf): Replace long int with
24202 __syscall_slong_t.
24203
5e90c8ad
L
24204 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
24205 include <bits/wordsize.h>. Check __x86_64__ instead of
24206 __WORDSIZE.
24207
23dfb58b
L
24208 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
24209 "unsigned long long int" if __x86_64__ is defined.
24210 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
24211
ce5d54b0
L
24212 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
24213 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
24214 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
24215
13dc9eac
L
24216 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
24217 <stdint.h>.
24218 (GET_PC): Cast to uintptr_t first.
24219 (GET_FRAME): Likewise.
24220 (GET_STACK): Likewise.
24221
a7895d15
L
24222 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
24223 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
24224 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
24225 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
24226 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
24227 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
24228 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
24229 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
24230 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
24231 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
24232 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
24233 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
24234 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
24235 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
24236 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
24237 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
24238 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
24239 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
24240 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
24241 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
24242 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
24243 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
24244 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
24245 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
24246 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
24247 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
24248 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
24249 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
24250 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
24251
656416c9
AS
242522012-05-16 Andreas Schwab <schwab@linux-m68k.org>
24253
5bd66283
AS
24254 * Makerules (+depfiles): Also collect depfiles from .oS in
24255 $(extra-objs).
24256 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
24257 .oS, $(libnldbl-routines)).
24258
656416c9
AS
24259 * Makerules (native-compile-mkdep-flags): Define.
24260 * sunrpc/Makefile (extra-objs): Add $(addprefix
24261 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
24262 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
24263 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
24264 calling $(make-target-directory).
24265
a46f2169
L
242662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24267
24268 * bits/types.h (__snseconds_t): Removed.
24269 * time/time.h (struct timespec): Replace __snseconds_t with
24270 __syscall_slong_t.
24271 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
24272 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
24273 Likewise.
24274 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24275 (__SNSECONDS_T_TYPE): Likewise.
24276 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24277 (__SNSECONDS_T_TYPE): Likewise.
24278 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24279 (__SNSECONDS_T_TYPE): Likewise.
24280
6af6528b
L
242812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24282
24283 * sysdeps/mach/hurd/bits/typesizes.h
24284 (__SYSCALL_SLONG_TYPE): New macro.
24285 (__SYSCALL_ULONG_TYPE): Likewise.
24286
de986b56
L
242872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24288
24289 * bits/types.h (__syscall_slong_t): New type.
24290 (__syscall_ulong_t): Likewise.
24291
24292 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
24293 (__SYSCALL_ULONG_TYPE): Likewise.
24294 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24295 (__SYSCALL_SLONG_TYPE): Likewise.
24296 (__SYSCALL_ULONG_TYPE): Likewise.
24297 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24298 (__SYSCALL_SLONG_TYPE): Likewise.
24299 (__SYSCALL_ULONG_TYPE): Likewise.
24300 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24301 (__SYSCALL_SLONG_TYPE): Likewise.
24302 (__SYSCALL_ULONG_TYPE): Likewise.
24303
85736dc7
L
243042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24305
24306 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
24307 Add sigaltstack-offsets.sym.
24308 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
24309 <sigaltstack-offsets.h>.
24310 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
24311 longjmp_msg pointer.
24312 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
24313 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
24314 signal stack.
24315 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
24316
cc03b296
JM
243172012-05-15 Joseph Myers <joseph@codesourcery.com>
24318
a9538892
JM
24319 * elf/stackguard-macros.h: Remove file.
24320 * sysdeps/generic/stackguard-macros.h: New file.
24321 * sysdeps/i386/stackguard-macros.h: Likewise.
24322 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
24323 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
24324 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
24325 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
24326 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
24327 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
24328 * sysdeps/x86_64/stackguard-macros.h: Likewise.
24329 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
24330 <elf/stackguard-macros.h>.
24331
cc03b296
JM
24332 [BZ #14109]
24333 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
24334 __aligned__ in attribute.
24335 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
24336 (gregset_t): Likewise.
24337
93171016
L
243382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24339
24340 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
24341 * sysdeps/x86_64/64/Implies-after: Here. New file.
24342 * sysdeps/x86_64/x32/Implies-after: New file.
24343
d86813a0
L
243442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24345
24346 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
24347 and access return value for _dl_profile_fixup. Use R10_LP to
24348 load frame size.
24349
2953ec75
L
243502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24351
24352 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
24353
3b550e9e
L
243542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24355
24356 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
24357 * sysdeps/x86_64/x32/sysdep.h: New file.
24358
eda41706
L
243592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24360
24361 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
24362 * sysdeps/x86_64/setjmp.S: Likewise.
24363
9ea01d93
AZ
243642012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24365
24366 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
24367 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
24368 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
24369 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
24370 remove unused global constant.
24371
02a91938
CM
243722012-05-15 Chris Metcalf <cmetcalf@tilera.com>
24373
24374 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
24375 include of <not-cancel.h>.
24376
6540185f
RM
243772012-05-15 Roland McGrath <roland@hack.frob.com>
24378
24379 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
24380
509072a0
AJ
243812012-05-15 Jeff Law <law@redhat.com>
24382 Andreas Jaeger <aj@suse.de>
24383
24384 [BZ #13594]
24385 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
24386 out from...
24387 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
24388 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
24389 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
24390 code changing __hst_map_handle.map.
24391
ba75122d
RM
243922012-05-15 Roland McGrath <roland@hack.frob.com>
24393
24394 * configure.in (sysnames): Look for Implies-before and Implies-after
24395 files.
24396 * configure: Regenerated.
24397
890d8bd8
L
243982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24399
24400 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
24401 8-byte data alignment with LP_SIZE alignment.
24402
f6ee6623
L
244032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24404
24405 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
24406 into R10_LP.
24407
ea2626f6
L
244082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24409
24410 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
24411
085f715e
L
244122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24413
24414 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
24415 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
24416 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
24417 Likewise.
24418 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
24419
be8498fc
L
244202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24421
24422 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
24423 (stackinfo_sub_sp): Likewise.
24424
70bc83b9
L
244252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24426
24427 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
24428 RAX_LP.
24429
9bc0b730
L
244302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24431
24432 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
24433 into R*_LP.
24434
6d2850e7
L
244352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24436
24437 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
24438 sizes into R*_LP.
24439
3cb84561
L
244402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24441
24442 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
24443
54e2ed81
L
244442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24445
24446 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
24447 into R11_LP and load __x86_64_shared_cache_size_half into
24448 R8_LP.
24449
8a17f349
L
244502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24451
24452 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
24453 R8_LP.
24454
777b1eea
AZ
244552012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24456
24457 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
24458 logb for POWER7.
24459 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
24460 logbf for POWER7.
24461 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
24462 logbl for POWER7.
24463 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
24464 powerpc32/power7/fpu/s_logb.c via #include.
24465 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
24466 powerpc32/power7/fpu/s_logbf.c via #include.
24467 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
24468 powerpc32/power7/fpu/s_logbl.c via #include.
24469
d20d4ac2
JM
244702012-05-15 Joseph Myers <joseph@codesourcery.com>
24471
24472 * README.libm: Remove file.
24473
6cdef1ab
L
244742012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24475
24476 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
24477 count for x32. Use R*_LP and omit operand-size suffix.
24478
0b254d8f
L
244792012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24480
24481 * shlib-versions: Move x86_64-.*-linux.* entries to ...
24482 * sysdeps/x86_64/64/shlib-versions: Here. New file.
24483 * sysdeps/x86_64/x32/shlib-versions: New file.
24484
ceb809dc
RM
244852012-05-14 Roland McGrath <roland@hack.frob.com>
24486
24487 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
24488 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
24489 Use _dl_fatal_printf instead.
24490
37f1abd4
JM
244912012-05-14 Joseph Myers <joseph@codesourcery.com>
24492
24493 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
24494 set if not set by the user. Do not allow for being unset.
24495 * sysdeps/unix/sysv/linux/configure: Regenerated.
24496
11de3a33
L
244972012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24498
24499 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
24500 the `q' suffix from lea and replace .quad with ASM_ADDR.
24501
e02f153a
L
245022012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24503
24504 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
24505 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
24506 instead of $17.
24507 (PTR_DEMANGLE): Likewise.
24508
520ae0fd
L
245092012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24510
24511 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
24512 (LP_OP): Likewise.
24513 (ASM_ADDR): Likewise.
24514 (RAX_LP): Likewise.
24515 (RBP_LP): Likewise.
24516 (RBX_LP): Likewise.
24517 (RCX_LP): Likewise.
24518 (RDI_LP): Likewise.
24519 (RSI_LP): Likewise.
24520 (RSP_LP): Likewise.
24521 (R8_LP): Likewise.
24522 (R9_LP): Likewise.
24523 (R10_LP): Likewise.
24524 (R10_LP): Likewise.
24525 (R11_LP): Likewise.
24526 (R12_LP): Likewise.
24527 (R13_LP): Likewise.
24528 (R14_LP): Likewise.
24529 (R15_LP): Likewise.
24530
b985be81
L
245312012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24532
24533 * sysdeps/x86_64/x32/dl-machine.h: New file.
24534
6a4888ff
AJ
245352012-05-14 Andreas Jaeger <aj@suse.de>
24536
24537 * manual/Makefile (subdir): Remove export of subdir.
24538 (all): Remove target.
24539 (.PHONY): Remove all from list.
24540 (mkinstalldirs): Remove.
24541 (.PHONY): Remove installdirs from list.
24542 ($(inst_infodir)/libc.info): Use make-target-directory.
24543 (installdirs): Remove.
24544 (subdir_%): Remove.
24545 (glibc-targets): Remove.
24546 (lib): Remove.
24547 (stubs): Remove.
24548 ($(objpfx)stubs ../po/manual.pot): Remove.
24549 ($(objpfx)stamp%): Remove.
24550 (make-target-directory): Remove.
24551 (subdir_install): Remove.
24552 (routines): Remove.
24553 (aux): Remove.
24554 (sources): Remove.
24555 (objects): Remove.
24556 (headers): Remove.
24557
24558 [BZ #13750]
24559 * manual/.gitignore: Remove, it's not needed anymore.
24560 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
24561 all files in it.
24562 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
24563 directory.
24564 (texis): Renamed to $(objpfx)texis.
24565 (texis-path): New, contains path to generated files.
24566 (chapters.%): Use texis-path for complete path, add extra argument
24567 libc-texinfo.sh.
24568 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
24569 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
24570 (summary,texi, stamp-summary): Use complete path of
24571 files. Generate files in build dir.
24572 (dir-add.texi): Build in build dir.
24573 (libm-err.texi,stamp-libm-err): Likewise.
24574 (version.texi, stamp-version): Likewise.
24575 (.%c.texi): Likewise.
24576 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
24577 (mostlyclean): Remove target.
24578 (realclean): Remove target.
24579 (generated): Add new variable with contents from mostlyclean and
24580 realclean, remove entries duplicated in common-mostlyclean, add
24581 stamp-libm-err and stamp-version.
24582 (generated-dirs): Add libc directory.
24583 ($(inst_infodir)/libc.info): Install files from build dir.
24584
24585 * manual/install.texi (Configuring and compiling): Adjust since
24586 the info files are not part of the tar ball anymore.
24587
7ac77294
AJ
245882012-05-14 Andreas Jaeger <aj@suse.de>
24589
24590 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
24591 variable.
24592
ffb7875d
JM
245932012-05-14 Joseph Myers <joseph@codesourcery.com>
24594
24595 [BZ #13717]
24596 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
24597 to 2.2.0 where earlier.
24598 * sysdeps/unix/sysv/linux/configure: Regenerated.
24599 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
24600 Remove conditional code.
24601 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
24602 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
24603 Remove conditional code.
24604 [!__NR_lchown]: Likewise.
24605 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24606 [__NR_lchown]: Likewise.
24607 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
24608 comment referencing __ASSUME_LCHOWN_SYSCALL.
24609 * sysdeps/unix/sysv/linux/i386/sigaction.c
24610 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24611 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24612 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
24613 Remove conditional code.
24614 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
24615 (__protocol_available): Remove #if 0 code.
24616 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
24617 conditional code.
24618 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
24619 * sysdeps/unix/sysv/linux/kernel-features.h
24620 (__ASSUME_GETCWD_SYSCALL): Don't define.
24621 (__ASSUME_REALTIME_SIGNALS): Likewise.
24622 (__ASSUME_PREAD_SYSCALL): Likewise.
24623 (__ASSUME_PWRITE_SYSCALL): Likewise.
24624 (__ASSUME_POLL_SYSCALL): Likewise.
24625 (__ASSUME_LCHOWN_SYSCALL): Likewise.
24626 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
24627 non-SPARC.
24628 (__ASSUME_SIOCGIFNAME): Don't define.
24629 (__ASSUME_MSG_NOSIGNAL): Likewise.
24630 (__ASSUME_SENDFILE): Define unconditionally.
24631 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
24632 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
24633 conditional code.
24634 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
24635 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
24636 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24637 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24638 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
24639 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24640 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
24642 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24643 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
24645 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24646 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
24648 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24649 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
24651 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24652 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
24654 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24655 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
24657 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24658 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
24660 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24661 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
24663 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24664 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24665 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
24666 Remove conditional code.
24667 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24668 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24669 Remove conditional code.
24670 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24671 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
24672 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
24673 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24674 Remove conditional code.
24675 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24676 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
24677 Remove conditional code.
24678 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24679 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
24680 Remove conditional code.
24681 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24682 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24683 Remove conditional code.
24684 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24685 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24686 Remove conditional code.
24687 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24688 * sysdeps/unix/sysv/linux/sh/pwrite64.c
24689 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24690 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24691 * sysdeps/unix/sysv/linux/sigaction.c
24692 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24693 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24694 * sysdeps/unix/sysv/linux/sigpending.c
24695 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24696 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24697 * sysdeps/unix/sysv/linux/sigprocmask.c
24698 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24699 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24700 * sysdeps/unix/sysv/linux/sigsuspend.c
24701 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24702 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24703 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
24704 (__libc_missing_rt_sigs): Remove.
24705 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
24706 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
24707 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
24708 Remove conditional code.
24709 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
24710 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
24711 return 1.
24712 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
24713 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
24714 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
24715 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
24716
1bfb7291
AJ
247172012-05-14 Andreas Jaeger <aj@suse.de>
24718
caae5a81
AJ
24719 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
24720 it's not used in glibc.
24721 (__coshm1): Likewise.
24722 (__acosh1p): Likewise.
24723 (__sgn): Likewise.
24724
1bfb7291
AJ
24725 * manual/string.texi (Copying and Concatenation): Add missing
24726 variable in concat example.
24727 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
24728
c044d724
L
247292012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24730
144c5467 24731 [BZ #14103]
c044d724
L
24732 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
24733 __builtin_clzl with __builtin_clzll.
24734
2523c62b
L
247352012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24736
24737 [BZ #14104]
24738 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
24739 libc_freeres_ptr.
24740
d7bb4c42
LD
247412012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24742
24743 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
24744 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
24745 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
24746 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
24747
9dc4e1fb
MF
247482012-05-14 Mike Frysinger <vapier@gentoo.org>
24749
24750 * NEWS: Update ia64 info.
24751
c7df0112
AS
247522012-05-12 Andreas Schwab <schwab@linux-m68k.org>
24753
24754 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
24755 used as bcopy.
24756
dc70356c
TS
247572012-05-12 Thomas Schwinge <thomas@codesourcery.com>
24758
24759 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
24760 * sysdeps/unix/syscalls.list (dup3): Likewise.
24761 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
24762 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
24763
9fb1a21f
L
247642012-05-11 H.J. Lu <hongjiu.lu@intel.com>
24765
24766 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
24767 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
24768
4822a2a5
L
247692012-05-11 H.J. Lu <hongjiu.lu@intel.com>
24770
24771 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
24772 thread pointer.
24773 (TLS_IE): Use mov/add instead of movq/addq to load thread
24774 pointer.
24775 (TLS_GD_PREFIX): New.
24776 (TLS_GD): Use it.
24777
842b81d6
DM
247782012-05-11 David S. Miller <davem@davemloft.net>
24779
24780 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
24781 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
24782 (_FPU_SETCW): Likewise.
24783
1cf463cd
L
247842012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24785
24786 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
24787 is 32-byte aligned.
24788
60cc4a18
AS
247892012-05-11 Andreas Schwab <schwab@linux-m68k.org>
24790
24791 [BZ #11837]
24792 * iconvdata/gb18030.c: Update tables.
24793 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
24794 characters specially.
24795 (BODY for TO_LOOP): Add encoding of missing ranges.
24796
febb44a4
TS
247972012-05-11 Thomas Schwinge <thomas@codesourcery.com>
24798
24799 [BZ #13673]
24800 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
24801 * sysdeps/mach/hurd/dup3.c: Likewise.
24802 * sysdeps/mach/hurd/readlinkat.c: Likewise.
24803 * sysdeps/powerpc/memmove.c:: Likewise.
24804
0a10fb9e
L
248052012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24806
24807 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
24808 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
24809
df8a552f
L
248102012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24811
24812 * elf/elf.h (R_X86_64_RELATIVE64): New.
24813 (R_X86_64_NUM): Updated.
24814 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24815 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
24816 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
24817 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
24818 tst-quad1pie tst-quad2pie
24819 (modules-names): Add tst-quadmod1 tst-quadmod2.
24820 ($(objpfx)tst-quad1): New dependency.
24821 ($(objpfx)tst-quad2): Likewise.
24822 ($(objpfx)tst-quad1pie): Likewise.
24823 ($(objpfx)tst-quad2pie): Likewise.
24824 * sysdeps/x86_64/tst-quad1.c: New file.
24825 * sysdeps/x86_64/tst-quad1pie.c: New file.
24826 * sysdeps/x86_64/tst-quad2.c: Likewise.
24827 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
24828 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
24829 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
24830 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
24831 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
24832
f34d6f84
ST
248332012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24834
f42d41d1
ST
24835 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
24836 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
24837 * streams/stropts.h (t_scalar_t): Define type.
24838
3c3571fc
ST
24839 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
24840 (_PATH_PRESERVE): Set to "/var/lib".
24841 (_PATH_RWHODIR): Set to "/var/spool/rwho".
24842
61f06bd3
ST
24843 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
24844 instead of int.
24845
918d4d71
ST
24846 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
24847 if __dir_mkfile succeeded.
24848
f34d6f84
ST
24849 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
24850 checking for _hurd_dtablesize. Unlock it right after having
24851 finished _hurd_dtable allocation.
24852
10589b4a
TS
248532012-05-10 Thomas Schwinge <thomas@schwinge.name>
24854
674cdbc7
TS
24855 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
24856 * sysdeps/mach/hurd/configure: Regenerated.
24857 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
24858 special-casing to...
24859 * sysdeps/gnu/configure.in: ... this new file.
24860 * sysdeps/unix/sysv/linux/configure: Regenerated.
24861 * sysdeps/gnu/configure: New generated file.
24862
8e41b99f
TS
24863 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
24864 for Linux: use nsec instead of usec, as well as:
24865 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
24866 members of type struct timespec.
24867 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
24868 New macros.
24869 (struct stat64): Likewise.
24870 (_STATBUF_ST_NSEC): New macro.
24871 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
24872
10589b4a
TS
24873 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
24874 __strtoul_internal rather than strtoul.
24875
63643c85
PT
248762012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24877
24878 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
24879 and reject them.
24880
3faebe6a
ST
248812012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24882
24883 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
24884 which preserves existing values.
24885 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
24886
c6474b07
PT
248872012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24888
24889 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
24890 TIMEOUT values. Return EINVAL for NFDS values either negative or
24891 greater than FD_SETSIZE.
24892
1043890b
ST
248932012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24894
24895 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
24896 allocated, call __vm_protect to finish enabling the existing space, and
24897 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
24898 allocate the remainder.
24899
37ed8b9b
PT
249002012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24901
24902 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
24903 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
24904
db653660
ST
249052012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24906
37ed8b9b
PT
24907 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
24908 sysdeps/mach/hurd/readlink.c.
b29d4053 24909
db653660
ST
24910 * posix/tst-sysconf.c (posix_options): Only use
24911 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
24912 _POSIX_SYNCHRONIZED_IO when they are defined
24913 * sysdeps/mach/hurd/bits/posix_opt.h:
24914 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
24915 (_XOPEN_REALTIME): Undefine macro.
24916 (_XOPEN_REALTIME_THREADS): Undefine macro.
24917 (_XOPEN_SHM): Undefine macro.
24918 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
24919 macro to -1.
24920 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
24921 macro to -1.
24922 (_POSIX_ASYNC_IO): Undefine macro.
24923 (_POSIX_PRIORITIZED_IO): Undefine macro.
24924 (_POSIX_SPIN_LOCKS): Define macro to -1.
24925
ee16e894
ST
24926 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
24927 SA_NODEFER, SA_RESETHAND.
24928 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
24929 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
24930 F_DUPFD_CLOEXEC.
24931
6103ae3b
TS
249322012-05-10 Thomas Schwinge <thomas@schwinge.name>
24933
24934 * elf/Makefile (pldd-modules): Define unconditionally.
24935
80b4e5f3
TS
249362012-05-10 Thomas Schwinge <thomas@schwinge.name>
24937
24938 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
24939
edadcbd6
ST
249402012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24941
24942 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
24943 Return ENOENT when name is empty.
24944 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
24945
80694780
TS
249462012-05-10 Thomas Schwinge <thomas@schwinge.name>
24947
1792c087
TS
24948 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
24949
80694780
TS
24950 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
24951
6b645f0d
ST
249522012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24953
80694780
TS
24954 Fix mlock in all cases except non-readable pages.
24955 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
24956 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 24957
6b645f0d
ST
24958 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
24959 (__mkdir): When path is `/', just fail with EEXIST.
24960 * sysdeps/mach/hurd/mkdirat.c: Likewise.
24961
e468f8a3
TS
249622012-05-10 Thomas Schwinge <thomas@schwinge.name>
24963
24964 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
24965 <sys/uio.h> (for writev).
24966 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
24967 and <sys/param.h> (for MIN).
24968
a4186cff
PT
249692012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24970
24971 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
24972 REQUESTED_TIME. Properly set the remaining time and return EINTR
24973 if interrupted.
24974
510bbf14
TS
249752012-05-10 Thomas Schwinge <thomas@schwinge.name>
24976
24977 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
24978 Depend on against $(link-rpcuserlibs).
24979
5d5722e8
ST
249802012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24981
a4186cff
PT
24982 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
24983 (__libc_stack_end): Do not use attribute_relro.
24984 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
24985 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 24986 to libthread-provided value.
a4186cff
PT
24987 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
24988 attribute_relro.
5d5722e8 24989
37233df9
TS
249902012-05-10 Thomas Schwinge <thomas@schwinge.name>
24991
be971a2b
TS
24992 [BZ #3748]
24993 * bits/libc-lock.h (__libc_once_get): New macro.
24994 * sysdeps/mach/bits/libc-lock.h: Likewise.
24995 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
24996 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
24997 instead of using implementation details.
24998
37233df9
TS
24999 * libio/fileops.c: Unconditionally include <kernel-features.h>.
25000 * libio/freopen.c: Likewise.
25001 * libio/freopen64.c: Likewise.
25002 * misc/syslog.c: Likewise.
25003 * nscd/connections.c: Likewise.
25004 * nscd/netgroupcache.c: Likewise.
25005 * sysdeps/posix/getcwd.c: Likewise.
25006
38de94a5
RM
250072012-05-10 Roland McGrath <roland@hack.frob.com>
25008
25009 * math/w_ilogbf.c: Add #include <limits.h>.
25010
67530489
ST
250112012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25012
a4186cff 25013 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
25014 path instead of returning without unlocking.
25015
67530489
ST
25016 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
25017 immediate-write ioctls.
25018 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
25019
5aa3a74a
TS
250202012-05-10 Thomas Schwinge <thomas@schwinge.name>
25021
18bad2ae
TS
25022 * sysdeps/mach/hurd/i386/init-first.c (init): Use
25023 __builtin_frame_address instead of making assumptions about the
25024 location of the return address relative to DATA. Force early load of
25025 the return address.
25026 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
25027 __builtin_frame_address.
25028
5aa3a74a
TS
25029 dup3 for GNU Hurd.
25030 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
25031 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
25032 implement dup3 and do some further code clean-ups.
25033 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
25034 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
25035
ecd0de9a
ST
250362012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25037
cd9fa985
ST
25038 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
25039
a4186cff
PT
25040 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
25041 HURD_CRITICAL_END around holding _hurd_dtable_lock.
25042 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
25043 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
25044 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
25045 d->port.lock.
802ca5a5 25046
a4186cff
PT
25047 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
25048 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
25049 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 25050
bcf55240
TS
250512012-05-10 Thomas Schwinge <thomas@schwinge.name>
25052
6960eb42
TS
25053 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
25054 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
25055 definitions.
25056
eb43375f
TS
25057 accept4 for GNU Hurd.
25058 * include/sys/socket.h (__libc_accept4): New prototype.
25059 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
25060 to implement __libc_accept4.
25061 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
25062 __libc_accept4.
25063 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
25064
bcf55240
TS
25065 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
25066 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
25067 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
25068 signal-defines.sym.
25069
6178c55b
ST
250702012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25071
a4186cff 25072 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 25073
6f080c2f
TS
250742012-05-10 Thomas Schwinge <thomas@schwinge.name>
25075
25076 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
25077 assertion on O_CLOEXEC flag.
25078 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
25079 * hurd/intern-fd.c: Likewise.
25080 * hurd/port2fd.c: Likewise.
25081
bcfe3a54
ST
250822012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25083
25084 [BZ #3906]
25085 * bits/in.h (IPV6_PKTINFO): Define new macro.
25086 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
25087
89c9aa49
AZ
250882012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25089
25090 [BZ #13954]
25091 [BZ #13955]
25092 [BZ #13956]
25093 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
25094 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
25095 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
25096 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
25097 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25098 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
25099 * math/libm-test.inc (logb_test) : Additional logb tests.
25100
021db4be
AJ
251012012-05-09 Andreas Schwab <schwab@linux-m68k.org>
25102 Andreas Jaeger <aj@suse.de>
25103
25104 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
25105 * configure: Regenerated.
25106 * config.h.in (LINK_OBSOLETE_RPC): New macro.
25107 * config.make.in (link-obsolete-rpc): New substituted variable.
25108 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
25109 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
25110 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
25111 (shared-only-routines): Don't set it under [link-obsolete-rpc],
25112 so that libc.a contains the symbols.
25113 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
25114 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
25115 * sunrpc/auth_none.c: Likewise.
25116 * sunrpc/auth_unix.c: Likewise.
25117 * sunrpc/authdes_prot.c: Likewise.
25118 * sunrpc/authuxprot.c: Likewise.
25119 * sunrpc/clnt_gen.c: Likewise.
25120 * sunrpc/clnt_perr.c: Likewise.
25121 * sunrpc/clnt_raw.c: Likewise.
25122 * sunrpc/clnt_simp.c: Likewise.
25123 * sunrpc/clnt_tcp.c: Likewise.
25124 * sunrpc/clnt_udp.c: Likewise.
25125 * sunrpc/clnt_unix.c: Likewise.
25126 * sunrpc/des_crypt.c: Likewise.
25127 * sunrpc/des_soft.c: Likewise.
25128 * sunrpc/get_myaddr.c: Likewise.
25129 * sunrpc/key_call.c: Likewise.
25130 * sunrpc/key_prot.c: Likewise.
25131 * sunrpc/netname.c: Likewise.
25132 * sunrpc/pm_getmaps.c: Likewise.
25133 * sunrpc/pm_getport.c: Likewise.
25134 * sunrpc/pmap_clnt.c: Likewise.
25135 * sunrpc/pmap_prot.c: Likewise.
25136 * sunrpc/pmap_prot2.c: Likewise.
25137 * sunrpc/pmap_rmt.c: Likewise.
25138 * sunrpc/publickey.c: Likewise.
25139 * sunrpc/rpc_cmsg.c: Likewise.
25140 * sunrpc/rpc_common.c: Likewise.
25141 * sunrpc/rpc_dtable.c: Likewise.
25142 * sunrpc/rpc_prot.c: Likewise.
25143 * sunrpc/rpc_thread.c: Likewise.
25144 * sunrpc/rtime.c: Likewise.
25145 * sunrpc/svc.c: Likewise.
25146 * sunrpc/svc_auth.c: Likewise.
25147 * sunrpc/svc_raw.c: Likewise.
25148 * sunrpc/svc_run.c: Likewise.
25149 * sunrpc/svc_tcp.c: Likewise.
25150 * sunrpc/svc_udp.c: Likewise.
25151 * sunrpc/svc_unix.c: Likewise.
25152 * sunrpc/svcauth_des.c: Likewise.
25153 * sunrpc/xcrypt.c: Likewise.
25154 * sunrpc/xdr.c: Likewise.
25155 * sunrpc/xdr_array.c: Likewise.
25156 * sunrpc/xdr_float.c: Likewise.
25157 * sunrpc/xdr_intXX_t.c: Likewise.
25158 * sunrpc/xdr_mem.c: Likewise.
25159 * sunrpc/xdr_rec.c: Likewise.
25160 * sunrpc/xdr_ref.c: Likewise.
25161 * sunrpc/xdr_sizeof.c: Likewise.
25162 * sunrpc/xdr_stdio.c: Likewise.
25163
b5c086a2
RM
251642012-05-10 Roland McGrath <roland@hack.frob.com>
25165
25166 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
25167 change. Update copyright years.
25168
6d74dd09
JM
251692012-05-10 Joseph Myers <joseph@codesourcery.com>
25170
25171 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
25172
28e72501
MK
251732012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
25174 Joseph Myers <joseph@codesourcery.com>
25175 Paul Pluzhnikov <ppluzhnikov@google.com>
25176
25177 [BZ #14012]
25178 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
25179 requiring rpcgen.
25180 [cross-compiling] (extra-libs): Likewise.
25181 [cross-compiling] (extra-libs-others): Likewise.
25182 [cross-compiling] (librpcsvc-routines): Likewise.
25183 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
25184 [cross-compiling] (omit-deps): Likewise.
25185 (sunrpc-CPPFLAGS): New variable.
25186 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
25187 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
25188 (cross-rpcgen-objs): New variable.
25189 (extra-objs): Append $(cross-rpcgen-objs).
25190 ($(cross-rpcgen-objs)): New rule.
25191 ($(objpfx)cross-rpcgen): Likewise.
25192 (rpcgen-cmd): Define to use $(built-program-file). Expand
25193 comment.
25194 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
25195 ($(objpfx)x%.stmp): Likewise.
25196 * sunrpc/proto.h [IS_IN_build] (_): Define.
25197 [IS_IN_build] (_libc_intl_domainname): Likewise.
25198
c8c59454
L
251992012-05-10 H.J. Lu <hongjiu.lu@intel.com>
25200
25201 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
25202 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
25203 and R_X86_64_TPOFF64.
25204
6f27cd16
JM
252052012-05-10 Joseph Myers <joseph@codesourcery.com>
25206
25207 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
25208 sysdeps/unix/sysv/syscalls.list.
25209 (stime): Likewise.
25210 (utime): Likewise.
25211 * sysdeps/unix/sysv/syscalls.list: Remove file.
25212
02467e1c
PE
252132012-05-10 Paul Eggert <eggert@cs.ucla.edu>
25214
25215 [BZ #3440]
25216 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
25217 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
25218 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
25219 (__LC_IDENTIFICATION): Make these macros useful in #if
25220 expressions, as required by C99.
25221
da392631
AS
252222012-05-10 Andreas Schwab <schwab@linux-m68k.org>
25223
25224 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
25225 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
25226 after this.
25227
8115f29b
L
252282012-05-09 H.J. Lu <hongjiu.lu@intel.com>
25229
25230 * stdlib/longlong.h: Updated from GCC.
25231
bdd74070
AJ
252322012-05-09 Andreas Jaeger <aj@suse.de>
25233
edfe0dbe
AJ
25234 * nscd/nscd.c (run_modes): Make named enum, reorder so that
25235 default is first entry.
25236 (run_mode): Set type.
25237 (main): Remove informal message about syslog.
25238 (options): Fix typo.
25239
bcfe3a54
ST
25240 [BZ #14053]
25241 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 25242 to asm.
bcfe3a54
ST
25243 (lrint): Likewise.
25244 (llrintf): Likewise.
25245 (llrint): Likewise.
25246 (rint): Likewise.
25247 (rintf): Likewise.
25248 (nearbyint): Likewise.
25249 (nearbyintf): Likewise.
bdd74070 25250
91d8d69e
AJ
252512012-05-09 Andreas Jaeger <aj@suse.de>
25252 Pedro Alves <palves@redhat.com>
25253
25254 * nscd/nscd.c (run_mode): Use enum.
25255 (main): Cleanup coding style issue.
25256
bb90b80b
AJ
252572012-05-09 Alexandre Oliva <aoliva@redhat.com>
25258 Andreas Jaeger <aj@suse.de>
25259
bcfe3a54
ST
25260 * nscd/nscd.c (go_background): Replaced with...
25261 (run_mode): ... this.
bb90b80b 25262 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
25263 (options): Add -F --foreground.
25264 (main): Implement it.
25265 (parse_opt): Parse it.
bb90b80b 25266
1a4b75a1
AJ
252672012-05-09 Andreas Jaeger <aj@suse.de>
25268
25269 [BZ #14083]
25270 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
25271 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
25272 -Wconversion warning.
25273 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
25274 Likewise.
25275
b1cc2472
JM
252762012-05-09 Joseph Myers <joseph@codesourcery.com>
25277
25278 * conform/data/locale.h-data (NULL): Use macro-constant. Require
25279 == 0.
25280 (LC_ALL): Use macro-int-constant.
25281 (LC_COLLATE): Likewise.
25282 (LC_CTYPE): Likewise.
25283 (LC_MESSAGES): Likewise.
25284 (LC_MONETARY): Likewise.
25285 (LC_NUMERIC): Likewise.
25286 (LC_TIME): Likewise.
25287 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
25288 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
25289 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25290 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
25291 Specify type.
25292 [C99-based standards] (float_t): Expect type.
25293 [C99-based standards] (double_t): Expect type.
25294 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
25295 type.
25296 [C99-based standards] (HUGE_VALL): Likewise.
25297 [C99-based standards] (INFINITY): Likewise.
25298 [C99-based standards] (NAN): Likewise.
25299 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
25300 [C99-based standards] (FP_NAN): Likewise.
25301 [C99-based standards] (FP_NORMAL): Likewise.
25302 [C99-based standards] (FP_SUBNORMAL): Likewise.
25303 [C99-based standards] (FP_ZERO): Likewise.
25304 [C99-based standards] (FP_FAST_FMA): Use
25305 optional-macro-int-constant. Specify type. Require == 1.
25306 [C99-based standards] (FP_FAST_FMAF): Likewise.
25307 [C99-based standards] (FP_FAST_FMAL): Likewise.
25308 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
25309 [C99-based standards] (FP_ILOGBNAN): Likewise.
25310 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
25311 Specify type.
25312 [C99-based standards] (MATH_ERREXCEPT): Likewise.
25313 [C99-based standards] (math_errhandling): Specify type.
25314 [ISO99 || ISO11] (signgam): Do not allow.
25315 [non-C99-based standards] (copysignf): Do not allow.
25316 [non-C99-based standards] (exp2f): Likewise.
25317 [non-C99-based standards] (log2f): Likewise.
25318 [non-C99-based standards] (modff): Allow.
25319 [non-C99-based standards] (erff): Do not allow.
25320 [non-C99-based standards] (erfcf): Likewise.
25321 [non-C99-based standards] (gammaf): Likewise.
25322 [non-C99-based standards] (hypotf): Likewise.
25323 [non-C99-based standards] (j0f): Likewise.
25324 [non-C99-based standards] (j1f): Likewise.
25325 [non-C99-based standards] (jnf): Likewise.
25326 [non-C99-based standards] (lgammaf): Likewise.
25327 [non-C99-based standards] (tgammaf): Likewise.
25328 [non-C99-based standards] (y0f): Likewise.
25329 [non-C99-based standards] (y1f): Likewise.
25330 [non-C99-based standards] (ynf): Likewise.
25331 [non-C99-based standards] (isnanf): Likewise.
25332 [non-C99-based standards] (acoshf): Likewise.
25333 [non-C99-based standards] (asinhf): Likewise.
25334 [non-C99-based standards] (atanhf): Likewise.
25335 [non-C99-based standards] (cbrtf): Likewise.
25336 [non-C99-based standards] (expm1f): Likewise.
25337 [non-C99-based standards] (ilogbf): Likewise.
25338 [non-C99-based standards] (log1pf): Likewise.
25339 [non-C99-based standards] (logbf): Likewise.
25340 [non-C99-based standards] (nextafterf): Likewise.
25341 [non-C99-based standards] (remainderf): Likewise.
25342 [non-C99-based standards] (rintf): Likewise.
25343 [non-C99-based standards] (scalbf): Likewise.
25344 [non-C99-based standards] (copysignl): Likewise.
25345 [non-C99-based standards] (exp2l): Likewise.
25346 [non-C99-based standards] (log2l): Likewise.
25347 [non-C99-based standards] (modfl): Allow.
25348 [non-C99-based standards] (erfl): Do not allow.
25349 [non-C99-based standards] (erfcl): Likewise.
25350 [non-C99-based standards] (gammal): Likewise.
25351 [non-C99-based standards] (hypotl): Likewise.
25352 [non-C99-based standards] (j0l): Likewise.
25353 [non-C99-based standards] (j1l): Likewise.
25354 [non-C99-based standards] (jnl): Likewise.
25355 [non-C99-based standards] (lgammal): Likewise.
25356 [non-C99-based standards] (tgammal): Likewise.
25357 [non-C99-based standards] (y0l): Likewise.
25358 [non-C99-based standards] (y1l): Likewise.
25359 [non-C99-based standards] (ynl): Likewise.
25360 [non-C99-based standards] (isnanl): Likewise.
25361 [non-C99-based standards] (acoshl): Likewise.
25362 [non-C99-based standards] (asinhl): Likewise.
25363 [non-C99-based standards] (atanhl): Likewise.
25364 [non-C99-based standards] (cbrtl): Likewise.
25365 [non-C99-based standards] (expm1l): Likewise.
25366 [non-C99-based standards] (ilogbl): Likewise.
25367 [non-C99-based standards] (log1pl): Likewise.
25368 [non-C99-based standards] (logbl): Likewise.
25369 [non-C99-based standards] (nextafterl): Likewise.
25370 [non-C99-based standards] (remainderl): Likewise.
25371 [non-C99-based standards] (rintl): Likewise.
25372 [non-C99-based standards] (scalbl): Likewise.
25373 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25374 [non-C99-based standards] (FP_*): Do not allow.
25375 [C99-based standards] (FP_*): Change to
25376 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
25377 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25378 allow.
25379 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
25380 (SIG_ERR): Likewise.
25381 [X/Open-based standards] (SIG_HOLD): Likewise.
25382 (SIG_IGN): Likewise.
25383 (SIGABRT): Use macro-int-constant. Specify type. Require
25384 positive value.
25385 (SIGFPE): Likewise.
25386 (SIGILL): Likewise.
25387 (SIGINT): Likewise.
25388 (SIGSEGV): Likewise.
25389 (SIGTER): Likewise.
25390 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
25391 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
25392 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
25393 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
25394 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
25395 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
25396 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
25397 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
25398 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
25399 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
25400 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
25401 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
25402 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
25403 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
25404 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
25405 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
25406 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
25407 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
25408 [X/Open-based standards] (SIGTRAP): Likewise.
25409 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
25410 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
25411 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
25412 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
25413 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25414 allow.
25415
b9f1922d
IW
254162012-05-08 Ian Wienand <ianw@vmware.com>
25417
25418 [BZ #14080]
25419 * time/tzset.c (__tzset_parse_tz): Update default rules for
25420 daylight time changes in the Energy Policy Act of 2005.
25421
1db86e88
AJ
254222012-05-09 Andreas Jaeger <aj@suse.de>
25423
25424 [BZ #13983]
25425 * elf/ldconfig.c (parse_conf): Change string to make clear that
25426 ldconfig only issued a warning if ld.so.conf does not exist.
25427
dee4a4e3
DM
254282012-05-08 David S. Miller <davem@davemloft.net>
25429
ee0db190
DM
25430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
25431 movxtod instead of popping the value on the stack.
25432
dee4a4e3
DM
25433 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25434
6a43ec98
CD
254352012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
25436
25437 * config.h.in: Add HAVE_ARM_PCS_VFP.
25438
05c2c961
RMG
254392012-05-08 Roland Mc Grath <roland@hack.frob.com>
25440
bcfe3a54
ST
25441 [BZ #13979]
25442 * include/features.h: Warn if user requests __FORTIFY_SOURCE
25443 checking but the checks are disabled for any reason.
05c2c961 25444
4b30f61a
L
254452012-05-08 H.J. Lu <hongjiu.lu@intel.com>
25446
25447 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
25448 and ELF64_R_TYPE with ELFW(R_TYPE).
25449
eee2bc67
JM
254502012-05-08 Joseph Myers <joseph@codesourcery.com>
25451
7ea5391a
JM
25452 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
25453 (ulimit): Likewise.
25454
eee2bc67
JM
25455 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
25456 (settimeofday): Likewise.
25457
abb66a67
MF
254582012-05-08 Mike Frysinger <vapier@gentoo.org>
25459
25460 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
25461 a struct th_u2 inside the union, and move tu_block/tu_code into
25462 a new th_u3 union of tu_block/tu_code inside of that. Move
25463 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
25464 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
25465 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
25466 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
25467 (th_stuff): Change to th_u1.tu_stuff.
25468 (th_data): Define.
25469 (th_msg): Change to th_u1.th_u2.tu_data.
25470
7f18b530
DM
254712012-05-07 David S. Miller <davem@davemloft.net>
25472
05760585
DM
25473 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25474
7f18b530
DM
25475 [BZ #14074]
25476 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
25477 (SETUP_PIC_REG): Use it.
25478 (SETUP_PIC_REG_LEAF): Use it.
25479
495fd99f
JM
254802012-05-07 Joseph Myers <joseph@codesourcery.com>
25481
25482 [BZ #13885]
25483 [BZ #13923]
25484 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25485 USE_AS_EXPM1L.
25486 (EXPL_FINITE): Likewise.
25487 (FLDLOG): Likewise.
25488 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25489 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25490 e_expl.S.
25491 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25492 USE_AS_EXPM1L.
25493 (EXPL_FINITE): Likewise.
25494 (FLDLOG): Likewise.
25495 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25496 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25497 e_expl.S.
25498 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
25499 test of -max_value argument for long double.
25500 * sysdeps/i386/fpu/libm-test-ulps: Update.
25501 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25502
6693d694
DM
255032012-05-06 David S. Miller <davem@davemloft.net>
25504
25505 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
25506 quad soft-float symbols whose references which are compiler
25507 generated.
25508 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
25509
6c23e11c
JM
255102012-05-06 Joseph Myers <joseph@codesourcery.com>
25511
d8b82cad
JM
25512 [BZ #13884]
25513 [BZ #13914]
25514 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25515 USE_AS_EXP10L.
25516 (EXPL_FINITE): Likewise.
25517 (FLDLOG): Likewise.
25518 (c0): Likewise.
25519 (c1): Likewise.
25520 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
25521 Adjust comments for base varying.
25522 (__expl_finite): Change alias to EXPL_FINITE.
25523 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
25524 e_expl.S.
25525 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
25526 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
25527 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
25528 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
25529 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25530 USE_AS_EXP10L.
25531 (EXPL_FINITE): Likewise.
25532 (FLDLOG): Likewise.
25533 (c0): Likewise.
25534 (c1): Likewise.
25535 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
25536 Adjust comments for base varying.
25537 (__expl_finite): Change alias to EXPL_FINITE.
25538 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
25539 tests for bugs.
25540 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25541
6c23e11c
JM
25542 [BZ #14064]
25543 * math/libm-test.inc (check_float_internal): Correct ulp
25544 calculation for subnormal expected results.
25545
29ba805c
AJ
255462012-05-06 Andreas Jaeger <aj@suse.de>
25547
25548 * Makeconfig (+math-flags): New, set to -frounding-math.
25549 (+cflags): Add +math-flags so that all of glibc gets compiled with
25550 it.
25551
25552 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
25553
7b17aeda
JM
255542012-05-05 Joseph Myers <joseph@codesourcery.com>
25555
5779f134
JM
25556 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
25557 Disable one test.
25558
41498f4d
JM
25559 [BZ #13787]
25560 [BZ #13922]
25561 [BZ #14036]
25562 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
25563 (__ieee754_expl): Allow for and saturate large arguments.
25564 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
25565 (u_threshold): Likewise.
25566 (__exp): Call __ieee754_exp before checking for overflow and
25567 underflow.
25568 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
25569 (u_threshold): Likewise.
25570 (__expf): Call __ieee754_expf before checking for overflow and
25571 underflow.
25572 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
25573 (u_threshold): Likewise.
25574 (__expl): Call __ieee754_expl before checking for overflow and
25575 underflow.
25576 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
25577 (__ieee754_expl): Allow for and saturate large arguments.
25578 * math/libm-test.inc (exp_test): Add another test. Do not allow
25579 missing overflow exception on overflow.
25580 (expm1_test): Do not allow missing overflow exception on overflow.
25581
6698b8bf
JM
25582 * sysdeps/i386/fpu/e_expl.c: Move to ...
25583 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
25584 rather than using inline asm.
25585 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
25586 * sysdeps/x86_64/fpu/e_expl.S: Copy from
25587 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
25588
7b17aeda
JM
25589 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
25590 (nice): Likewise.
25591 (poll): Likewise.
25592 (signal): Likewise.
25593 (time): Likewise.
25594 (times): Likewise.
25595
f7c85819
JM
255962012-05-04 Joseph Myers <joseph@codesourcery.com>
25597
25598 * sysdeps/unix/syscalls.list (adjtime): Add entry from
25599 sysdeps/unix/common/syscalls.list.
25600 (fchmod): Likewise.
25601 (fchown): Likewise.
25602 (ftruncate): Likewise.
25603 (getrusage): Likewise.
25604 (gettimeofday): Likewise.
25605 (setpgid): Likewise.
25606 (setregid): Likewise.
25607 (setreuid): Likewise.
25608 (sigaction): Likewise.
25609 (truncate): Likewise.
25610 (vhangup): Likewise.
25611 * sysdeps/unix/common/syscalls.list: Remove file.
25612 * sysdeps/unix/bsd/Implies: Don't include unix/common.
25613 * sysdeps/unix/sysv/linux/Implies: Likewise.
25614
336270d0
L
256152012-05-04 H.J. Lu <hongjiu.lu@intel.com>
25616
25617 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
25618 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
25619 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
25620 Moved to ...
25621 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
25622 Here.
25623 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
25624 to ...
25625 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
25626 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
25627 to ...
25628 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
25629 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
25630 to ...
25631 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
25632 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
25633 to ...
25634 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
25635 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
25636 to ...
25637 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
25638 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
25639 to ...
25640 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
25641 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
25642 to ...
25643 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25644 Here.
25645 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
25646 to ...
25647 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
25648 Here.
25649 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
25650 to ...
25651 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
25652 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
25653 Moved to ...
25654 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
25655 Here.
25656 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
25657 to ...
25658 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
25659
d128e450
JM
256602012-05-04 Joseph Myers <joseph@codesourcery.com>
25661
fa8ee516
JM
25662 * sysdeps/unix/common/bits/dirent.h: Remove file.
25663 * sysdeps/unix/common/bits/fcntl.h: Likewise.
25664
d128e450
JM
25665 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
25666 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
25667 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
25668 * sysdeps/unix/bsd/isatty.c: Likewise.
25669 * sysdeps/unix/bsd/tcdrain.c: Likewise.
25670 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
25671 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
25672
ff8faaf0 256732012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 25674
62881be4 25675 [BZ #13563]
31dc8730
AZ
25676 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
25677 long double comparison inaccuracies.
25678 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
25679 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25680
6fef930c
AS
256812012-05-04 Andreas Schwab <schwab@linux-m68k.org>
25682
25683 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
25684 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
25685
8f203e6c
JM
256862012-05-04 Joseph Myers <joseph@codesourcery.com>
25687
25688 [BZ #14049]
25689 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
25690 nonzero digits before rounding a hex value.
25691 * stdlib/tst-strtod.c (tests): Add another test.
25692
5197d9c2
AK
256932012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25694
25695 * sysdeps/s390/fpu/libm-test-ulps: Update.
25696
f0c1dedf
AJ
256972012-05-03 Andreas Jaeger <aj@suse.de>
25698
25699 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
25700 does not get optimized out.
25701 (malloc_opt_barrier): New.
25702
a65ef2ae 257032012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 25704 Roland McGrath <roland@hack.frob.com>
a65ef2ae 25705
2b942cb7 25706 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 25707 intermediate file deletion.
2b942cb7 25708 (generated): Add .symlist files.
a65ef2ae 25709
54b71e02
JM
257102012-05-03 Joseph Myers <joseph@codesourcery.com>
25711
25712 [BZ #13775]
25713 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
25714 Redirect under this condition.
25715 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25716 [__USE_GNU] (__dprintf_chk): Not under this condition.
25717 [__USE_GNU] (__vdprintf_chk): Likewise.
25718 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
25719 under this condition.
25720 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25721 [__USE_XOPEN2K8] (dprintf): Define under this condition.
25722 [__USE_XOPEN2K8] (vdprintf): Likewise.
25723 [__USE_GNU] (__dprintf_chk): Not under this condition.
25724 [__USE_GNU] (__vdprintf_chk): Likewise.
25725 [__USE_GNU] (dprintf): Likewise.
25726 [__USE_GNU] (vdprintf): Likewise.
25727
d3dfcc41
RM
257282012-05-03 Roland McGrath <roland@hack.frob.com>
25729
25730 * elf/Makefile (common-generated): Set this instead of generated for
25731 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
25732 $(all-built-dso)-derived lists.
25733
7ac30cc5
AJ
257342012-05-03 Andreas Jaeger <aj@suse.de>
25735
0c51e550
AJ
25736 * sysdeps/i386/fpu/libm-test-ulps: Update.
25737
7ac30cc5
AJ
25738 * FAQ: Removed.
25739 * FAQ.in: Likewise.
25740 * scripts/gen-FAQ.pl: Likewise.
25741 * manual/install.texi (Installation): Point to online location of
25742 FAQ.
25743 * Makefile (files-for-dist): Remove FAQ.
25744 (FAQ): Remove.
25745
d4c2917f
AM
257462012-05-02 Allan McRae <allan@archlinux.org>
25747
25748 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
25749 (LDFLAGS-reldepmod5.so): Likewise.
25750 (LDFLAGS-reldep6mod1.so): Likewise.
25751 (LDFLAGS-reldep6mod4.so): Likewise.
25752 (LDFLAGS-reldep8mod3.so): Likewise.
25753 (LDFLAGS-unload4mod1.so): Likewise.
25754 (LDFLAGS-unload4mod2.so): Likewise.
25755 (LDFLAGS-tst-initorder): Likewise.
25756 (LDFLAGS-tst-initordera2.so): Likewise.
25757 (LDFLAGS-tst-initordera3.so): Likewise.
25758 (LDFLAGS-tst-initordera4.so): Likewise.
25759 (LDFLAGS-tst-initorderb2.so): Likewise.
25760 (LDFLAGS-noload): Likewise.
25761 (LDFLAGS-next): Likewise.
25762 (LDFLAGS-order2mod1.so): Likewise.
25763 (LDFLAGS-order2mod2.so): Likewise.
25764 (LDFLAGS-tst-initorder2): Likewise.
25765 (LDFLAGS-tst-initorder2a.so): Likewise.
25766 (LDFLAGS-tst-initorder2b.so): Likewise.
25767 (LDFLAGS-tst-initorder2c.so): Likewise.
25768 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
25769
d77f993f
DM
257702012-05-02 David S. Miller <davem@davemloft.net>
25771
25772 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25773
171a70b4
PP
257742012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
25775
25776 [BZ #14055]
25777 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
25778
0be196ad
AJ
257792012-05-02 Andreas Jaeger <aj@suse.de>
25780
25781 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
25782 since we manipulate rounding mode.
25783 (CPPFLAGS-test-idouble.c): Likewise.
25784 (CPPFLAGS-test-ifloat.c): Likewise.
25785 (CFLAGS-test-ldouble.c): Likewise.
25786 (CFLAGS-test-double.c): Likewise.
25787 (CFLAGS-test-float.c): Likewise.
25788 (CFLAGS-test-misc.c): Likewise.
25789 (CFLAGS-test-test-fenv.c): Likewise.
25790
4f9d04aa
AZ
257912012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25792
2b942cb7
RM
25793 [BZ #2550]
25794 [BZ #2570]
25795 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
25796 comparisons to determine direction to adjust input.
4f9d04aa 25797
82a79e7d
RM
257982012-05-01 Roland McGrath <roland@hack.frob.com>
25799
f5a01ca9
RM
25800 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
25801 output to the target.
25802
90fe4186
RM
25803 * scripts/localplt.awk: New file.
25804 * elf/Makefile ($(objpfx)check-localplt): Target removed.
25805 (check-localplt-CFLAGS): Variable removed.
25806 ($(all-built-dso:=.jmprel)): New static pattern rule.
25807 (generated): Add those targets.
25808 (localplt-built-dso): New variable.
25809 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
25810
25811 * elf/check-localplt.c: File removed.
25812
82397ed6
RM
25813 * scripts/check-execstack.awk: New file.
25814 * elf/Makefile ($(objpfx)check-execstack): Target removed.
25815 (check-execstack-CFLAGS): Variable removed.
25816 ($(objpfx)check-execstack.h): Target removed.
25817 ($(objpfx)execstack-default): New target.
25818 (generated): Add that instead of check-execstack.h.
25819 ($(all-built-dso:=.phdr)): New static pattern rule.
25820 (generated): Add those targets.
25821 * elf/check-execstack.c: File removed.
25822
82a79e7d
RM
25823 * scripts/check-textrel.awk: New file.
25824 * elf/Makefile ($(objpfx)check-textrel): Target removed.
25825 (check-textrel-CFLAGS): Variable removed.
25826 (all-built-dso): Use := to define.o
25827 ($(all-built-dso:=.dyn)): New static pattern rule.
25828 (generated): Add those targets.
25829 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
25830 * config.make.in (READELF): New substituted variable.
25831 * elf/check-textrel.c: File removed.
25832
62fde54f 258332012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 25834
615605c9
JM
25835 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25836 allow.
25837 * conform/data/ctype.h-data [C99-based standards] (isblank):
25838 Expect function.
25839 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
25840 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
25841 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25842 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
25843 Specify type. Require positive value.
25844 (EILSEQ): Likewise.
25845 (ERANGE): Likewise.
25846 [ISO || POSIX] (EILSEQ): Do not expect.
25847 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
25848 Specify type. Require positive value.
25849 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
25850 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
25851 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
25852 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
25853 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
25854 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
25855 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
25856 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
25857 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
25858 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
25859 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
25860 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
25861 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
25862 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
25863 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
25864 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
25865 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
25866 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
25867 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
25868 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
25869 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
25870 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
25871 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
25872 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
25873 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
25874 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
25875 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
25876 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
25877 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
25878 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
25879 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
25880 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
25881 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
25882 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
25883 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
25884 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
25885 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
25886 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
25887 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
25888 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
25889 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
25890 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
25891 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
25892 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
25893 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
25894 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
25895 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
25896 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
25897 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
25898 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
25899 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
25900 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
25901 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
25902 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
25903 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
25904 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
25905 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
25906 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
25907 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
25908 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
25909 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
25910 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
25911 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
25912 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
25913 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
25914 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
25915 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
25916 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
25917 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
25918 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
25919 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
25920 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
25921 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
25922 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
25923 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
25924 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
25925 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
25926 Require >= 2.
25927 (FLT_ROUNDS): Expect as macro, not constant.
25928 (FLT_MANT_DIG): Use macro-int-constant.
25929 (DBL_MANT_DIG): Likewise.
25930 (LDBL_MANT_DIG): Likewise.
25931 (FLT_DIG): Likewise.
25932 (DBL_DIG): Likewise.
25933 (LDBL_DIG): Likewise.
25934 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
25935 (DBL_MIN_EXP): Likewise.
25936 (LDBL_MIN_EXP): Likewise.
25937 (FLT_MAX_EXP): Use macro-int-constant.
25938 (DBL_MAX_EXP): Likewise.
25939 (LDBL_MAX_EXP): Likewise.
25940 (FLT_MAX_10_EXP): Likewise.
25941 (DBL_MAX_10_EXP): Likewise.
25942 (LDBL_MAX_10_EXP): Likewise.
25943 (FLT_MAX): Use macro-constant.
25944 (DBL_MAX): Likewise.
25945 (LDBL_MAX): Likewise.
25946 (FLT_EPSILON): Use macro-constant. Give upper bound.
25947 (DBL_EPSILON): Likewise.
25948 (LDBL_EPSILON): Likewise.
25949 (FLT_MIN): Likewise.
25950 (DBL_MIN): Likewise.
25951 (LDBL_MIN): Likewise.
25952 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
25953 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
25954 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
25955 [ISO11] (FLT_HAS_SUBNORM): Likewise.
25956 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
25957 [ISO11] (DBL_DECIMAL_DIG): Likewise.
25958 [ISO11] (FLT_DECIMAL_DIG): Likewise.
25959 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
25960 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
25961 [ISO11] (FLT_TRUE_MIN): Likewise.
25962 [ISO11] (LDBL_TRUE_MIN): Likewise.
25963 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25964 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
25965 (SCHAR_MIN): Use macro-int-constant. Specify type.
25966 (SCHAR_MAX): Likewise.
25967 (UCHAR_MAX): Likewise.
25968 (CHAR_MIN): Likewise.
25969 (CHAR_MAX): Likewise.
25970 (MB_LEN_MAX): Use macro-int-constant.
25971 (SHRT_MIN): Use macro-int-constant. Specify type.
25972 (SHRT_MAX): Likewise.
25973 (USHRT_MAX): Likewise.
25974 (INT_MAX): Likewise.
25975 (INT_MIN): Use macro-int-constant. Specify type. Make upper
25976 bound negative.
25977 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
25978 bound with "U".
25979 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
25980 bound with "L".
25981 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
25982 bound negative. Suffix upper bound with "L".
25983 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
25984 bound with "UL".
25985 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
25986 Specify type.
25987 [C99-based standards] (LLONG_MAX): Likewise.
25988 [C99-based standards] (ULLONG_MAX): Likewise.
25989 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
25990 == 0.
25991 [ISO11] (max_align_t): Require type.
25992 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25993
c9140a62
JM
25994 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
25995 from $CFLAGS, without defining away __attribute__ calls.
25996 (checknamespace): Use $CFLAGS_namespace.
25997
9af0bf29
JM
25998 * conform/conformtest.pl (@keywords): Only include C99 keywords
25999 for standards based on C99 or C11.
26000
343222a2
JM
26001 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
26002 Disable tests.
26003 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
26004 UNIX98]: Likewise.
26005
661f8cf0
JM
26006 * conform/conformtest.pl: Handle "macro-int-constant" and test for
26007 usability of symbols in #if.
26008
ee74b9cb
JM
26009 * conform/conformtest.pl: If macro or constant types start
26010 "promoted:", expect the symbol to be of the following type
26011 promoted by the integer promotions.
62fde54f 26012
aafc49b3
JM
26013 * conform/conformtest.pl: Parse all "constant" and "macro" lines
26014 in one place. Also handle "macro-constant".
26015
fefdf574
JM
26016 * conform/conformtest.pl: Only accept expected macro values with
26017 "==". Parse all "macro" lines in one place.
26018 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
26019
f2d922fe
JM
26020 * conform/conformtest.pl: Handle braced types on "constant" lines
26021 instead of handling "typed-constant".
26022 * conform/data/signal.h-data: Use "constant" instead of
26023 "typed-constant".
26024
d22956c9
JM
26025 * conform/conformtest.pl: Handle "optional-" at start of lines in
26026 one place rather than duplicating several cases. Handle each
26027 format of "macro" line with initial "optional-".
26028
028e2e38
JM
26029 * conform/conformtest.pl: Only accept expected constant or
26030 optional-constant values with "==". Parse all "constant" lines in
26031 one place. Parse all "optional-constant" lines in one place.
26032 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
26033 * conform/data/fmtmsg.h-data: Likewise.
26034 * conform/data/netinet/in.h-data: Likewise.
26035 * conform/data/tar.h-data: Likewise.
26036 * conform/data/limits.h-data: Use "==" form on "constant" and
26037 "optional-constant" lines.
26038
1b8f2850
JM
26039 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
26040 Use -std=c99 for XOPEN2K.
26041 (@knownproblems): Remove.
26042 (newtoken): Don't check %isknown.
26043
a05a144b
JM
26044 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
26045 Do not expect macro.
26046 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
26047 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
26048 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
26049 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
26050 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
26051 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
26052 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
26053 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
26054 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
26055 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
26056 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
26057 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
26058 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
26059 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
26060 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
26061 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
26062 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
26063 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
26064 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
26065 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
26066 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
26067 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
26068 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
26069 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
26070 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
26071 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
26072 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
26073 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
26074 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
26075 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
26076 [XPG3] (acosh): Likewise.
26077 [XPG3] (asinh): Likewise.
26078 [XPG3] (atanh): Likewise.
26079 [XPG3] (cbrt): Likewise.
26080 [XPG3] (expm1): Likewise.
26081 [XPG3] (ilogb): Likewise.
26082 [XPG3] (log1p): Likewise.
26083 [XPG3] (logb): Likewise.
26084 [XPG3] (nextafter): Likewise.
26085 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
26086 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
26087 [XPG3] (remainder): Likewise.
26088 [XPG3] (rint): Likewise.
26089 [XPG3 || XPG4 || UNIX98] (round): Likewise.
26090 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
26091 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
26092 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
26093 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
26094 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
26095 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
26096 [UNIX98 || XOPEN2K] (scalb): Expect.
26097 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
26098 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
26099 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
26100 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
26101 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
26102 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
26103 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
26104 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
26105 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
26106 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
26107 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
26108 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
26109 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
26110 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
26111 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
26112 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
26113 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
26114 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
26115 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
26116 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
26117 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
26118 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
26119 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
26120 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
26121 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
26122 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
26123 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
26124 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
26125 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
26126 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
26127 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
26128 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
26129 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
26130 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
26131 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
26132 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
26133 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
26134 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
26135 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
26136 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
26137 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
26138 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
26139 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
26140 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
26141 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
26142 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
26143 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
26144 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
26145 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
26146 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
26147 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
26148 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
26149 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
26150 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
26151 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
26152 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
26153 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
26154 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
26155 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
26156 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
26157 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
26158 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
26159 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
26160 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
26161 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
26162 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
26163 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
26164 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
26165 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
26166 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
26167 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
26168 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
26169 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
26170 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
26171 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
26172 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
26173 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
26174 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
26175 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
26176 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
26177 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
26178 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
26179 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
26180 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
26181 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
26182 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
26183 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
26184 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
26185 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
26186 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
26187 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
26188 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
26189 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
26190 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
26191 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
26192 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
26193 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
26194 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
26195 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
26196 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
26197 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
26198 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
26199 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
26200 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
26201 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
26202 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
26203 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
26204 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
26205 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
26206 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
26207 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
26208 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
26209 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
26210 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
26211 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
26212 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
26213 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
26214 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
26215 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
26216 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
26217 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
26218 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
26219 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
26220 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
26221 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
26222 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
26223 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
26224 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
26225 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
26226 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
26227 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
26228 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
26229 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
26230 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
26231 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
26232 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
26233 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
26234
73c5ebe3
JM
26235 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
26236 _XOPEN_SOURCE_EXTENDED for XPG4.
26237
39c33b6c
JM
26238 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
26239
62fde54f
JM
26240 * Makeconfig (localtime): Remove variable.
26241 (inst_localtime-file): Likewise.
26242
0741d64c
AS
262432012-05-01 Andreas Schwab <schwab@linux-m68k.org>
26244
26245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
26246 Update.
26247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26248 Update.
26249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
26250 Update.
26251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
26252 Update.
26253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
26254 Update.
26255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
26256 Update.
26257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26258 Update.
26259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
26260 Update.
26261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26262 Update.
26263
7cb029ee
JM
262642012-05-01 Joseph Myers <joseph@codesourcery.com>
26265
26266 [BZ #2550]
26267 [BZ #2570]
26268 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
26269 comparisons to determine direction to adjust input.
26270 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
26271 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
26272 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
26273 Likewise.
26274 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
26275 Likewise.
26276 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
26277 Likewise.
26278 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
26279 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
26280 Likewise.
26281 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
26282 Likewise.
26283 * math/libm-test.inc (nexttoward_test): Add more tests.
26284
412bd966
AS
262852012-05-01 Andreas Schwab <schwab@linux-m68k.org>
26286
26287 [BZ #14040]
26288 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
26289 in version GLIBC_2.1, not GLIBC_2.0.
26290 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
26291 Likewise.
26292
9568c0c2
JM
262932012-04-30 Joseph Myers <joseph@codesourcery.com>
26294
adfbc8ac
JM
26295 [BZ #13942]
26296 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
26297 (1 - x) * (1 + x).
26298 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
26299 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
26300 * math/libm-test.inc (acos_test): Add more tests.
26301 (asin_test): Likewise.
26302 * sysdeps/i386/fpu/libm-test-ulps: Update.
26303 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26304
5ba3cc69
JM
26305 [BZ #14034]
26306 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
26307 of square root.
26308 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
26309 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
26310 * math/libm-test.inc (acos_test_tonearest): New function.
26311 (acos_test_towardzero): Likewise.
26312 (acos_test_downward): Likewise.
26313 (acos_test_upward): Likewise.
26314 (asin_test_tonearest): Likewise.
26315 (asin_test_towardzero): Likewise.
26316 (asin_test_downward): Likewise.
26317 (asin_test_upward): Likewise.
26318 (main): Call the new functions.
26319 * sysdeps/i386/fpu/libm-test-ulps: Update.
26320 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26321
9568c0c2
JM
26322 [BZ #13884]
26323 [BZ #13924]
26324 * math/e_exp10.c: Include <float.h>.
26325 (__ieee754_exp10): Handle underflow here rather than multiplying
26326 large negative argument by M_LN10.
26327 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
26328 of __ieee754_expf.
26329 * math/e_exp10l.c: Include <float.h>.
26330 (__ieee754_exp10l): Handle underflow here rather than multiplying
26331 large negative argument by M_LN10l.
26332 * math/libm-test.inc (exp10_test): Add another test. Do not allow
26333 spurious overflow exception on underflow.
26334
5ac3ea17
MP
263352012-04-29 Marek Polacek <polacek@redhat.com>
26336
26337 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
26338 (__fortify_function): New macro.
26339 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
26340 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
26341 __extern_always_inline.
26342 * libio/bits/stdio2.h: Likewise.
26343 * libio/bits/stdio.h: Likewise.
26344 * string/string.h: Likewise.
26345 * string/bits/string3.h: Likewise.
26346 * include/stdio.h: Likewise.
26347 * stdlib/bits/stdlib.h: Likewise.
26348 * stdlib/stdlib.h: Likewise.
26349 * rt/bits/mqueue2.h: Likewise.
26350 * rt/mqueue.h: Likewise.
26351 * posix/bits/unistd.h: Likewise.
26352 * posix/unistd.h: Likewise.
26353 * io/bits/poll2.h: Likewise.
26354 * io/bits/fcntl2.h: Likewise.
26355 * io/fcntl.h: Likewise.
26356 * io/sys/poll.h: Likewise.
26357 * misc/bits/syslog.h: Likewise.
26358 * misc/bits/syslog-ldbl.h: Likewise.
26359 * misc/sys/syslog.h: Likewise.
26360 * socket/bits/socket2.h: Likewise.
26361 * socket/sys/socket.h: Likewise.
26362 * debug/tst-chk1.c: Likewise.
26363 * wcsmbs/bits/wchar2.h: Likewise.
26364 * wcsmbs/bits/wchar-ldbl.h: Likewise.
26365 * wcsmbs/wchar.h: Likewise.
26366
ecf0ebfb
AJ
263672012-04-29 Andreas Jaeger <aj@suse.de>
26368
26369 * Makerules (tests): Remove enable-check-abi protection.
26370 (check-abi-warn): Remove.
26371 (check-abi-%): Remove check-abi-warn usage.
26372
26373 * configure.in: Remove check-abi configure option.
26374 * configure: Regenerated.
26375 * config.make.in (enable-check-abi): Remove.
26376
6d5c57fa
AS
263772012-04-28 Andreas Schwab <schwab@linux-m68k.org>
26378
24c5d07e 26379 [BZ #14033]
ded5180a
AS
26380 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
26381 double functions to double *_finite functions.
26382
7e0d315d
AS
26383 [BZ #13941]
26384 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
26385 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
26386 LDBL_MIN_EXP.
26387 * stdio-common/Makefile (tests): Add tst-sprintf3.
26388 * stdio-common/tst-sprintf3.c: New file.
26389
6d5c57fa
AS
26390 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
26391 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
26392
0749ff8b
JM
263932012-04-28 Joseph Myers <joseph@codesourcery.com>
26394
26395 * conform/conformtest.pl: Remove duplicate typed-constant
26396 handling.
26397
8dbd5d7b
DM
263982012-04-28 David S. Miller <davem@davemloft.net>
26399
26400 * Makerules (%.abilist): Add vpath on sysdep_dirs.
26401 (check-abi-%): Remove AWK script prerequisite and explicit
26402 abilist directory.
26403 (check-abi): Rewrite to just diff the symlist with the abilist.
26404 (config-tls, config-abi-config): Delete, no longer used.
26405 (update-abi-%): Remove AWK script and explicit abilist directory.
26406 (update-abi): Rewrite to simply compare and conditionally copy the
26407 symlist and the sysdep abilist file. Remove update-abi-config
26408 checks.
26409 * abilist/ld.abilist: Remove.
26410 * abilist/libBrokenLocale.abilist: Remove.
26411 * abilist/libanl.abilist: Remove.
26412 * abilist/libcrypt.abilist: Remove.
26413 * abilist/libdl.abilist: Remove.
26414 * abilist/librt.abilist: Remove.
26415 * abilist/libthread_db.abilist: Remove.
26416 * abilist/libutil.abilist: Remove.
26417 * scripts/extract-abilist.awk: Remove.
26418 * scripts/merge-abilist.awk: Remove.
26419 * sysdeps/generic/libcidn.abilist: New file.
26420 * sysdeps/generic/libnss_compat.abilist: New file.
26421 * sysdeps/generic/libnss_db.abilist: New file.
26422 * sysdeps/generic/libnss_dns.abilist: New file.
26423 * sysdeps/generic/libnss_files.abilist: New file.
26424 * sysdeps/generic/libnss_hesiod.abilist: New file.
26425 * sysdeps/generic/libnss_nis.abilist: New file.
26426 * sysdeps/generic/libnss_nisplus.abilist: New file.
26427 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
26428 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
26429 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
26430 file.
26431 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
26432 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
26433 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
26434 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
26435 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
26436 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
26437 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
26438 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
26439 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
26440 file.
26441 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
26442 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
26443 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
26444 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
26445 file.
26446 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
26447 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
26448 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
26449 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
26450 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
26451 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
26452 file.
26453 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
26454 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
26455 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
26456 file.
26457 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
26458 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
26459 New file.
26460 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
26461 New file.
26462 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
26463 New file.
26464 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
26465 New file.
26466 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
26467 New file.
26468 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
26469 New file.
26470 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
26471 New file.
26472 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
26473 New file.
26474 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
26475 New file.
26476 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
26477 New file.
26478 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
26479 New file.
26480 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
26481 New file.
26482 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
26483 New file.
26484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
26485 file.
26486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
26487 New file.
26488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
26489 New file.
26490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
26491 file.
26492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
26493 New file.
26494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
26495 New file.
26496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
26497 file.
26498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
26499 New file.
26500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26501 New file.
26502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
26503 New file.
26504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
26505 New file.
26506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
26507 New file.
26508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
26509 New file.
26510 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
26511 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
26512 file.
26513 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
26514 New file.
26515 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
26516 file.
26517 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
26518 file.
26519 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
26520 file.
26521 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
26522 file.
26523 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
26524 file.
26525 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26526 New file.
26527 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
26528 file.
26529 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
26530 file.
26531 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
26532 New file.
26533 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
26534 file.
26535 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
26536 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
26537 file.
26538 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
26539 New file.
26540 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
26541 file.
26542 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
26543 file.
26544 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
26545 file.
26546 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
26547 file.
26548 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
26549 file.
26550 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26551 New file.
26552 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
26553 file.
26554 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
26555 file.
26556 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
26557 New file.
26558 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
26559 file.
26560 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26561 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
26562 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
26563 file.
26564 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
26565 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
26566 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
26567 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
26568 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
26569 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
26570 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
26571 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
26572 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
26573 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
26574 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
26575 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
26576 file.
26577 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
26578 New file.
26579 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
26580 file.
26581 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
26582 file.
26583 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
26584 file.
26585 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
26586 file.
26587 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
26588 file.
26589 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26590 New file.
26591 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
26592 New file.
26593 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
26594 file.
26595 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
26596 New file.
26597 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
26598 file.
26599 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
26600 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
26601 file.
26602 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
26603 New file.
26604 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
26605 file.
26606 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
26607 file.
26608 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
26609 file.
26610 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
26611 file.
26612 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
26613 file.
26614 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26615 New file.
26616 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
26617 New file.
26618 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
26619 file.
26620 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
26621 New file.
26622 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
26623 file.
26624
41d73a1b
JM
266252012-04-28 Joseph Myers <joseph@codesourcery.com>
26626
26627 * conform/conformtest.pl: Fix typo in handling typed-constant from
26628 allow-header.
26629
28aeeda4
JM
266302012-04-27 Joseph Myers <joseph@codesourcery.com>
26631
adae8f5e
JM
26632 * README: Cut down references to pre-2.6 Linux kernels and
26633 Linuxthreads. Update lists of configurations in libc and ports
26634 and sort alphabetically. Say "or newer" with Linux kernel version
26635 requirements.
26636
28aeeda4
JM
26637 * config.h.in [IS_IN_build]: Allow compiling without optimization.
26638
a462cb63
RA
266392012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26640
26641 [BZ #887]
26642 * math/libm-test.inc (logb_test_downward): New test to expose
26643 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
26644 rounding mode.
26645
6ad3493e
JM
266462012-04-27 Joseph Myers <joseph@codesourcery.com>
26647
26648 [BZ #14027]
26649 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
26650 to be done.
26651 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
26652 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
26653
2ce4f015
JM
266542012-04-26 Joseph Myers <joseph@codesourcery.com>
26655
5aeb141a
JM
26656 * sysdeps/unix/i386/brk.S: Remove file.
26657 * sysdeps/unix/i386/dl-brk.S: Likewise.
26658 * sysdeps/unix/i386/pipe.S: Likewise.
26659 * sysdeps/unix/i386/sigreturn.S: Likewise.
26660 * sysdeps/unix/i386/syscall.S: Likewise.
26661 * sysdeps/unix/i386/vfork.S: Likewise.
26662 * sysdeps/unix/i386/wait.S: Likewise.
26663
7143acae
JM
26664 * sysdeps/unix/common/tcsendbrk.c: Move to ...
26665 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
26666
2ce4f015
JM
26667 * configure.in (arm*-none*): Do not allow without
26668 --enable-hacker-mode.
26669 (netbsd*): Remove case setting base_os.
26670 (386bsd*): Likewise.
26671 (freebsd*): Likewise.
26672 (bsdi*): Likewise.
26673 (osf*): Likewise.
26674 (sunos*): Likewise.
26675 (ultrix*): Likewise.
26676 (newsos*): Likewise.
26677 (dynix*): Likewise.
26678 (*bsd*): Likewise.
26679 (sysv*): Likewise.
26680 (isc*): Likewise.
26681 (esix*): Likewise.
26682 (sco*): Likewise.
26683 (minix*): Likewise.
26684 (irix4*): Likewise.
26685 (irix6*): Likewise.
26686 (solaris[2-9]*): Likewise.
26687 (none): Likewise.
26688 * configure: Regenerated.
26689
0ac229c8
AZ
266902012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26691
26692 [BZ #11521]
26693 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
26694 overflow or cancellation in calculating denominator.
26695 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
26696 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
26697 down expression to avoid unexpected rounding in newer GCCs.
26698 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
26699
33f244f4
DM
267002012-04-26 David S. Miller <davem@davemloft.net>
26701
26702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
26703 long-double compat symbols.
26704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
26706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
26707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
26708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
26709 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
26710 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
26711 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
26712 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
26713 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
26714 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
26715 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
26716 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26717
cfa1f3e8
DM
267182012-04-25 David S. Miller <davem@davemloft.net>
26719
26720 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
26721 HWCAP_* values only after the memory barriers have been defined.
26722 (atomic_full_barrier): Define.
26723 (atomic_read_barrier): Define.
26724 (atomic_write_barrier): Define.
26725
6e236b92
SP
267262012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26727
26728 * shlib-versions: Add libgcc_s version information.
26729 * sysdeps/generic/libgcc_s.h: Remove.
26730 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
26731 libgcc_s.h.
26732 * sysdeps/gnu/unwind-resume.c: Likewise.
26733 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
26734
aab39a09
DM
267352012-04-25 David S. Miller <davem@davemloft.net>
26736
26737 * sysdeps/unix/sparc/brk.S: Delete.
26738 * sysdeps/unix/sparc/dl-brk.S: Delete.
26739 * sysdeps/unix/sparc/pipe.S: Delete.
26740 * sysdeps/unix/sparc/sysdep.S: Delete.
26741 * sysdeps/unix/sparc/sysdep.h: Delete.
26742 * sysdeps/unix/sparc/vfork.S: Delete.
26743 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
26744 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
26745 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
26746 ret_ERRVAL, r0, r1, MOVE): Define.
26747 (JUMPTARGET): Remove.
26748 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
26749 sysdeps/unix/sparc/sysdep.h
26750 (ENTRY, END): Remove.
26751 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26752
a3cc4f48
JM
267532012-04-25 Joseph Myers <joseph@codesourcery.com>
26754
2ed8cda2
JM
26755 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
26756 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
26757 -DIS_IN_build.
26758
35d76d59
JM
26759 * timezone/README: Update upstream location and email address for
26760 tzcode and tzdata.
26761 * timezone/zdump.c: Update from tzcode 2012b.
26762 * timezone/zic.c: Likewise.
26763
a3cc4f48
JM
26764 * configure.in (libc_cv_as_needed): Remove test.
26765 * configure: Regenerated.
26766 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
26767 conditional definition.
26768 [$(have-as-needed) != yes] (no-as-needed): Likewise.
26769 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
26770 * config.make.in (have-as-needed): Remove variable.
26771
ceab42c3
SP
267722012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26773 Paul Pluzhnikov <ppluzhnikov@google.com>
26774
26775 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
26776 strings correctly.
26777
3ce2865f
CLT
267782012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
26779
26780 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
26781 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
26782 * sysdeps/sh/strlen.S: Likewise.
26783
f37e0d68
JM
267842012-04-24 Joseph Myers <joseph@codesourcery.com>
26785
ae186e9a
JM
26786 * sysdeps/unix/fork.S: Remove file.
26787 * sysdeps/unix/i386/fork.S: Likewise.
26788 * sysdeps/unix/sparc/fork.S: Likewise.
26789
b96914af
JM
26790 * sysdeps/unix/system.c: Remove file.
26791 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
26792
f37e0d68
JM
26793 * sysdeps/unix/getegid.S: Remove file.
26794 * sysdeps/unix/geteuid.S: Likewise.
26795
87ef29ca
RM
267962012-04-24 Roland McGrath <roland@hack.frob.com>
26797
83bcd236
RM
26798 * scripts/check-localplt.awk: New file.
26799 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
26800 of diff.
26801 * scripts/data/localplt-generic.data: Add a comment.
26802
87ef29ca
RM
26803 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
26804 NODE when __dir_mkfile failed.
26805 * sysdeps/mach/hurd/symlinkat.c: Likewise.
26806 Reported by Ludovic Courtès <ludo@gnu.org>.
26807
e5a6e567
AJ
268082012-04-24 Andreas Jaeger <aj@suse.de>
26809
26810 * Makerules (common-clean): Also remove gen-as-const-headers
26811 files.
26812
c1820385
JM
268132012-04-24 Joseph Myers <joseph@codesourcery.com>
26814
26815 * Makerules (native-compile): Do not change working directory for
26816 build. Use $(OUTPUT_OPTION) in command.
26817 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
26818
94e02fc4
AZ
268192012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26820
26821 [BZ #13886]
26822 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
26823 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
26824 * math/libm-test.inc (floor_test): Add more tests.
26825 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
26826
3a533ca3
JM
268272012-04-24 Joseph Myers <joseph@codesourcery.com>
26828
940ab4b3
JM
26829 * sysdeps/unix/getdents.c: Remove file.
26830 * sysdeps/unix/sysv/getdents.c: Likewise.
26831 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
26832
90e037bd
JM
26833 * sysdeps/unix/syscalls.list (madvise): Add syscall from
26834 sysdeps/unix/mman/syscalls.list.
26835 (mmap): Likewise.
26836 (mprotect): Likewise.
26837 (msync): Likewise.
26838 (munmap): Likewise.
26839 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
26840 * sysdeps/unix/mman/syscalls.list: Remove.
26841 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
26842
3a533ca3
JM
26843 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
26844 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
26845 * configure: Regenerated.
26846 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
26847 $(libgcc_s_suffix).
26848 * config.make.in (libgcc_s_suffix): Remove variable.
26849
1ad743de
JM
268502012-04-23 Joseph Myers <joseph@codesourcery.com>
26851
4ad451e2
JM
26852 * sysdeps/unix/sysv/gethostname.c: Move to ...
26853 * sysdeps/posix/gethostname.c: ... here.
26854
5e37ce39
JM
26855 * sysdeps/unix/execve.S: Remove file.
26856
1ad743de
JM
26857 * sysdeps/unix/_exit.S: Remove file.
26858
4e681b5b
AJ
268592012-04-23 Andreas Jaeger <aj@suse.de>
26860
26861 [BZ #13739]
26862 * manual/Makefile: Remove make dist support, there's no
26863 need for a stand-alone documentation tar ball.
26864 (TEXI2DVI): Define always, it's not in Makeconfig.
26865 (dist): Removed.
26866 (tar-it): Removed.
26867 (edition): Removed.
26868 (glibc-doc-$(edition).tar): Removed
26869 (%.Z): Removed.
26870 (%.gz): Removed.
26871 (%.uu): Removed.
26872 (ETAGS): Remove, it's in Makeconfig.
26873 (move-if-change): Remove, it's in Makeconfig.
26874
38686a03 268752012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
26876
26877 [BZ #13970]
26878 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
26879 (strtod, strtof, strtold, strtol, strtoul, strtoq)
26880 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
26881 (strtod_l, strtof_l, strtold_l): Remove __wur.
26882 It is not necessarily an error to ignore strtol's return value.
26883 One can reliably look at the stored endptr to decide whether
26884 the number had valid syntax.
26885
7c0616fa
AJ
268862012-04-21 Andreas Jaeger <aj@suse.de>
26887
803cb6b7 26888 [BZ #13739]
7c0616fa
AJ
26889 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
26890
b0fe253f
JM
268912012-04-21 Joseph Myers <joseph@codesourcery.com>
26892
26893 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
26894 * sysdeps/unix/sysv/Versions: Remove file.
26895
8280f22d
MT
268962012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
26897
26898 [BZ #13927]
26899 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26900
75ce411f 269012012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
26902
26903 [BZ #7064]
26904 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
26905 version from __vm86.
26906
097d59fa
JM
269072012-04-20 Joseph Myers <joseph@codesourcery.com>
26908
a90f3bcb
JM
26909 * sysdeps/unix/common/lxstat.c: Remove file.
26910 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
26911
edc7ea78
JM
26912 * sysdeps/unix/sysv/Makefile: Remove file.
26913
cb78c221
JM
26914 * sysdeps/unix/sysv/direct.h: Remove file.
26915
efa6a45f
JM
26916 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
26917 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
26918 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
26919 * sysdeps/unix/sysv/bits/signum.h: Likewise.
26920 * sysdeps/unix/sysv/bits/stat.h: Likewise.
26921 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
26922 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
26923
9c9f2d0c
JM
26924 * sysdeps/unix/sysv/setrlimit.c: Remove file.
26925
4541c83b
JM
26926 * sysdeps/unix/xmknod.c: Remove file.
26927 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
26928
f5d153a0
JM
26929 * sysdeps/unix/sysv/settimeofday.c: Remove file.
26930
aa746595
JM
26931 * sysdeps/unix/sysv/i386/time.S: Remove file.
26932
cce5905e
JM
26933 * sysdeps/unix/fxstat.c: Remove file.
26934 * sysdeps/unix/xstat.c: Likewise.
26935 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
26936
37fa3841
JM
26937 * sysdeps/unix/sysv/sigaction.c: Remove file.
26938
ff1962a3
JM
26939 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
26940 (sysdep_headers): Remove variable.
26941 [termio.h not in sysdep_headers] (generated): Likewise.
26942 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
26943 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
26944 * sysdeps/unix/sysv/tcdrain.c: Likewise.
26945 * sysdeps/unix/sysv/tcflow.c: Likewise.
26946 * sysdeps/unix/sysv/tcflush.c: Likewise.
26947 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
26948 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
26949 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
26950 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
26951 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
26952
e7740d31
JM
26953 * sysdeps/unix/siglist.c: Remove file.
26954
ee06f18b
JM
26955 * sysdeps/unix/getppid.S: Remove file.
26956
097d59fa
JM
26957 * sysdeps/unix/mkdir.c: Remove file.
26958 * sysdeps/unix/rmdir.c: Likewise.
26959
ff3d51ec
AS
269602012-04-19 Andreas Schwab <schwab@linux-m68k.org>
26961
26962 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
26963 ERR_MAX value.
26964 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
26965 errlist-compat value.
26966
50f81fd7
DM
269672012-04-18 David S. Miller <davem@davemloft.net>
26968
26969 * sysdeps/generic/memcopy.h (reg_char): Delete.
26970 * debug/strcat_chk.c: Use char, not reg_char.
26971 * debug/strcpy_chk.c: Likewise.
26972 * debug/strncat_chk.c: Likewise.
26973 * debug/strncpy_chk.c: Likewise.
26974 * string/memchr.c: Likewise.
26975 * string/memrchr.c: Likewise.
26976 * string/rawmemchr.c: Likewise.
26977 * string/strcat.c: Likewise.
26978 * string/strchr.c: Likewise.
26979 * string/strchrnul.c: Likewise.
26980 * string/strcmp.c: Likewise.
26981 * string/strcpy.c: Likewise.
26982 * string/strncat.c: Likewise.
26983 * string/strncmp.c: Likewise.
26984 * string/strncpy.c: Likewise.
26985
8ff41c46
WS
269862012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26987
26988 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
26989 __builtin_memcopy is called when src and dest ranges are known to not
26990 overlap.
26991
6b652f46
WS
269922012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26993
26994 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
26995 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
26996 fwd_align_merge macro call.
26997 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
26998 bwd_align_merge macro call.
26999 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27000
b282631e
WS
270012012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
27002
27003 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
27004 bwd_align_merge macros.
27005 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
27006 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
27007 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27008
95aa737c
DM
270092012-04-18 David S. Miller <davem@davemloft.net>
27010
27011 * sysdeps/sparc/sparc64/memcopy.h: Delete.
27012
7a99a614
AJ
270132012-04-18 Andreas Jaeger <aj@suse.de>
27014
27015 [BZ# 6794]
27016 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
27017 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
27018 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27019
27020 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
27021 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
27022 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27023
27024 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
27025 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
27026 Adjust for changed ldbl-128 files.
27027
27028 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
27029 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
27030 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27031
e5270c23
DM
270322012-04-17 David S. Miller <davem@davemloft.net>
27033
27034 * sysdeps/sparc/sparc32/memcopy.h: Delete.
27035
fb5e92c9
AS
270362012-04-17 Andreas Schwab <schwab@linux-m68k.org>
27037
27038 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
27039 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
27040 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
27041 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
27042 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
27043 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
27044
76da7265
AZ
270452012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27046
27047 [BZ #6794]
27048 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
27049 * math/libm-test.inc: Add ilogb errno and exception tests.
27050 * math/w_ilogb.c: New file: ilogb wrapper.
27051 * math/w_ilogbf.c: New file: ilogbf wrapper.
27052 * math/w_ilogbl.c: New file: ilogbl wrapper.
27053 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
27054 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
27055 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
27056 exception being thrown with 0.0 as argument.
27057 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
27058 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
27059 exception being thrown with 0.0 as argument.
27060 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
27061 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
27062 exception being thrown with 0.0 as argument.
27063 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
27064 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
27065 exception being thrown with 0.0 as argument.
27066 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
27067 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 27068 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
27069 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
27070 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
27071 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
27072 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
27073 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
27074 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
27075
0396e69d
PB
270762012-04-17 Petr Baudis <pasky@ucw.cz>
27077
27078 * include/sys/uio.h: Change __vector to __iovec to avoid clash
27079 with altivec.
27080
750b5926
MP
270812012-04-16 Marek Polacek <polacek@redhat.com>
27082
27083 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
27084
751728a1
MP
270852012-04-16 Marek Polacek <polacek@redhat.com>
27086
27087 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
27088 operands of fdivp instruction.
27089
34a27407
L
270902012-04-13 H.J. Lu <hongjiu.lu@intel.com>
27091
27092 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
27093 * elf/tst-auditmod3b.c: Likewise.
27094 * elf/tst-auditmod4b.c: Likewise.
27095 * elf/tst-auditmod5b.c: Likewise.
27096 * elf/tst-auditmod6b.c: Likewise.
27097 * elf/tst-auditmod6c.c: Likewise.
27098 * elf/tst-auditmod7b.c: Likewise.
27099 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
27100 * sysdeps/x86_64/preconfigure.in: Likewise.
27101 * sysdeps/x86_64/preconfigure: Regenerated.
27102
7e73e17d
L
271032012-04-13 H.J. Lu <hongjiu.lu@intel.com>
27104
27105 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
27106 __ILP32__.
27107
c7a6ab72
AB
271082012-04-13 Antoine Balestrat <merkil33@gmail.com>
27109
27110 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27111 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
27112
a9e8e0e0
CL
271132012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
27114
27115 [BZ #13973]
27116 * locale/iso-639.def: Fix gl language name. Spotted by
27117 Yaron Shahrabani.
27118
ec98af7d
RM
271192012-04-12 Roland McGrath <roland@hack.frob.com>
27120
27121 [BZ #2074]
27122 * libio/libio.h (__io_write_fn): Update comment.
27123
247c3ede
PB
271242012-04-12 Petr Baudis <pasky@ucw.cz>
27125
27126 [BZ #2074]
27127 * stdio.texi (Hook Functions): The user provided writer function
27128 is not allowed to return -1.
27129
55939d6d
DM
271302012-04-11 David S. Miller <davem@davemloft.net>
27131
27132 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27133
90020f5a
MF
271342012-04-11 Mike Frysinger <vapier@gentoo.org>
27135
27136 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
27137 Add a leading slash to rtkaio.
27138
288f9098
JM
271392012-04-11 Jim Meyering <meyering@redhat.com>
27140
90020f5a
MF
27141 [BZ #11959]
27142 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
27143 It is not necessarily an error to ignore fwrite's return
27144 value. One can reliably use ferror to test for errors after
27145 the fact.
288f9098 27146
4be2b570
L
271472012-04-10 H.J. Lu <hongjiu.lu@intel.com>
27148
27149 * bits/types.h (__snseconds_t): New type.
27150 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
27151
27152 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
27153 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27154 (__SNSECONDS_T_TYPE): Likewise.
27155 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27156 (__SNSECONDS_T_TYPE): Likewise.
27157 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27158 (__SNSECONDS_T_TYPE): Likewise.
27159
288f9098 271602012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
27161
27162 [BZ #2636]
27163 * manual/time.texi (Processor Time): Return type of times is
27164 elapsed real time since an arbitrary point in the past.
27165 (CPU Time): Move CLK_TCK from here...
27166 (Processor Time): ...to here. Correct description.
27167 * manual/conf.texi (Constants for Sysconf): Correct description of
27168 _SC_CLK_TCK.
27169
d7dd4413
DM
271702012-04-10 David S. Miller <davem@davemloft.net>
27171
27172 [BZ #13967]
27173 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
27174 where the is a gap between DT_REL(A) and DT_JMPREL.
27175
b46068fc
L
271762012-04-10 H.J. Lu <hongjiu.lu@intel.com>
27177
27178 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
27179 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
27180 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
27181
73d65cc3
SP
271822012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27183
27184 * elf/dl-support.c (_dl_inhibit_cache): New variable.
27185 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
27186 (dl_main): Handle --inhibit-cache.
27187 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
27188 _dl_inhibit_cache.
27189 * elf/dl-load.c (_dl_map_object): Use it.
27190 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
27191
bcc8d661
JM
271922012-04-09 Joseph Myers <joseph@codesourcery.com>
27193
8f9a2fae
JM
27194 [BZ #13872]
27195 * sysdeps/i386/fpu/e_powl.S (p78): New object.
27196 (__ieee754_powl): Saturate large exponents rather than testing for
27197 overflow of y*log2(x).
27198 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27199 * math/libm-test.inc (pow_test): Do not permit spurious overflow
27200 exceptions.
27201
bcc8d661
JM
27202 [BZ #11521]
27203 * math/s_ctan.c: Include <float.h>.
27204 (__ctan): Avoid internal overflow or cancellation in calculating
27205 denominator.
27206 * math/s_ctanf.c: Likewise.
27207 * math/s_ctanl.c: Likewise.
27208 * math/s_ctanh.c: Likewise.
27209 * math/s_ctanhf.c: Likewise.
27210 * math/s_ctanhl.c: Likewise.
27211 * math/libm-test.inc (ctan_test): Add more tests.
27212 (ctanh_test): Likewise.
27213 * sysdeps/i386/fpu/libm-test-ulps: Update.
27214 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27215
823fbbb4
AJ
272162012-04-09 Andreas Jaeger <aj@suse.de>
27217
03879793
AJ
27218 [BZ #6894]
27219 * manual/filesys.texi (Directory Entries): Mention that d_namlen
27220 is an optional BSD extension.
27221
823fbbb4
AJ
27222 [BZ #10254]
27223 * manual/stdio.texi (Opening Streams): Document additional fopen
27224 parameters.
27225
8de131cb
RM
272262012-04-09 Roland McGrath <roland@hack.frob.com>
27227
27228 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
27229 %eax without telling the compiler.
27230
c0ed9d7d
CD
272312012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
27232
27233 [BZ # 13963]
27234 * manual/install.texi: Use sourceware.org.
27235
c483f6b4
JM
272362012-04-09 Joseph Myers <joseph@codesourcery.com>
27237
d7dd9453
JM
27238 [BZ #13873]
27239 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
27240 (__ieee754_pow): Generate overflow and underflow using huge*huge
27241 and tiny*tiny rather than just returning constant infinity or zero
27242 for large exponents.
27243 * math/libm-test.inc (pow_test): Require overflow exceptions for
27244 applicable cases of large exponents.
27245
c483f6b4
JM
27246 [BZ #706]
27247 * sysdeps/i386/fpu/e_pow.S (p10): New object.
27248 (__ieee754_pow): Use iterative multiplication algorithm only for
27249 integer exponents with absolute value below 1024. Check for odd
27250 integer exponents when using algorithm for real exponents.
27251 * math/libm-test.inc (pow_test): Add more tests.
27252 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27253
d2de7579
JM
272542012-04-08 Joseph Myers <joseph@codesourcery.com>
27255
27256 [BZ #13705]
27257 * math/libm-test.inc (exp_test): Do not allow overflow exception
27258 on underflow test.
27259
f77f1232
AJ
272602012-04-08 Aurelien Jarno <aurelien@aurel32.net>
27261
27262 [BZ #13705]
27263 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
27264 instead of __kernel_standard_f.
27265
3884932b
MF
272662012-04-08 Mike Frysinger <vapier@gentoo.org>
27267
27268 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
27269 * sysdeps/x86_64/memset_chk.S: Likewise.
27270
54472e9c
AJ
272712012-04-08 Andreas Jaeger <aj@suse.de>
27272
6ab0fbfc
AJ
27273 [BZ #10153]
27274 * manual/startup.texi (Environment Access): Describe return value
27275 for putenv and setenv.
27276
61efba8c
AJ
27277 [BZ #6895]
27278 * manual/filesys.texi (Directory Entries): Add description for
27279 DT_LNK.
27280
95c3f29a
AJ
27281 [BZ #6890]
27282 * manual/filesys.texi (Directory Entries): Clarify that it's file
27283 system not operating system in the description of DT_UNKNOWN.
27284
54472e9c
AJ
27285 [BZ #6578]
27286 * manual/syslog.texi (closelog): Fix reference, it's openlog.
27287
624254b1
SC
272882012-04-08 Stephen Compall <s11@member.fsf.org>
27289
27290 [BZ #6649]
27291 * manual/llio.texi (Opening and Closing Files): Add cross
27292 reference to explain mode argument.
27293
1e4920e0
MF
272942012-04-07 Mike Frysinger <vapier@gentoo.org>
27295
27296 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
27297 * sysdeps/x86_64/memset_chk.S: Likewise.
27298
5ed848f3
DM
272992012-04-07 David S. Miller <davem@davemloft.net>
27300
27301 * elf/elf.h (R_SPARC_WDISP10): Define.
27302 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
27303 R_SPARC_SIZE32.
27304 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
27305 R_SPARC_SIZE64 and R_SPARC_H34.
27306
96154cd8
CD
273072012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
27308
27309 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
27310 conditions and remove no longer applicable assertion.
27311
9904dc47
L
273122012-04-06 H.J. Lu <hongjiu.lu@intel.com>
27313
27314 * bits/byteswap.h: Include <features.h>.
27315 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
27316 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
27317
f8887d0a
L
273182012-04-06 H.J. Lu <hongjiu.lu@intel.com>
27319
27320 * bits/byteswap.h (__bswap_16): Removed.
27321 Include <bits/byteswap-16.h> to get __bswap_16.
27322 * sysdeps/i386/bits/byteswap.h: Likewise.
27323 * sysdeps/s390/bits/byteswap.h: Likewise.
27324 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27325 * bits/byteswap-16.h: New file.
27326 * sysdeps/i386/bits/byteswap-16.h: Likewise.
27327 * sysdeps/s390/bits/byteswap-16.h: Likewise.
27328 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
27329 * string/Makefile (headers): Add bits/byteswap-16.h.
27330
62470f60
PP
273312012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
27332
27333 [BZ #13895]
27334 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
27335 extra indirection.
27336 * nss/Makefile (tests-static, tests): Add tst-nss-static.
27337 * nss/tst-nss-static.c: New.
27338
4dad7bab
RM
273392012-04-06 Robert Millan <rmh@gnu.org>
27340
27341 [BZ #6486]
27342 * manual/llio.texi (File Position Primitive): lseek
27343 refers to WHENCE when it really means OFFSET.
27344
e9142a17
AJ
273452012-04-06 Andreas Jaeger <aj@suse.de>
27346
2c040eff
AJ
27347 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
27348 strncmp declarations.
27349
e9142a17
AJ
27350 * abilist/libc.abilist: Add __poll and __ppoll.
27351
ff9f1c5f
DM
273522012-04-05 David S. Miller <davem@davemloft.net>
27353
dcd2ae90
DM
27354 * scripts/check-local-headers.sh: Accept a host triplet in the
27355 path matched by the exclude regexp.
27356
993eb054
DM
27357 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
27358 definition.
27359 * sysdeps/powerpc/powerpc32/dl-machine.h
27360 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
27361 * sysdeps/s390/s390-32/dl-machine.h
27362 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27363 * sysdeps/sparc/sparc32/dl-machine.h
27364 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27365 * sysdeps/sparc/sparc64/dl-machine.h
27366 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27367
ff9f1c5f
DM
27368 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
27369 lazy binding.
48e2e132 27370 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
27371 undefined symbol errors.
27372
48e2e132 27373 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
27374 DT_NEEDED entries.
27375
e80d6f94
MM
273762012-04-05 Michael Matz <matz@suse.de>
27377
27378 [BZ #13592]
27379 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
27380
349fa79f
AJ
273812012-04-05 Andreas Jaeger <aj@suse.de>
27382
27383 [BZ #13908]
27384 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
27385 comment.
27386
f402708f
KK
273872012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27388
27389 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
27390 which ROUND is no valid rounding mode.
27391
2ecccfc9
KK
273922012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27393
27394 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
27395 read again.
27396 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
27397
8a53f50f
KK
273982012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27399
27400 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
27401 an exception using FPU order intentionally.
27402
274032012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27404
27405 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
27406 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
27407 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
27408 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
27409
d653abb7
SJ
274102012-04-05 Simon Josefsson <simon@josefsson.org>
27411
27412 [BZ #12340]
27413 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
27414 EINVAL when BUFLEN is too smal.
27415
c3b1bf7d
TS
274162012-04-05 Thomas Schwinge <thomas@codesourcery.com>
27417
27418 [BZ #13553]
27419 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
27420 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
27421
b1aa60f3
AJ
274222012-04-03 Andreas Jaeger <aj@suse.de>
27423
c3b1bf7d 27424 [BZ #13938]
67f60a26
AJ
27425 * manual/setjmp.texi (System V contexts): Fix sentence.
27426
b1aa60f3
AJ
27427 [BZ #13926]
27428 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
27429 New macro for this case.
27430 [!__GNUC__] (__bswap_64): New inline function for this case.
27431 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27432 * bits/byteswap.h: Likewise.
27433 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
27434 ull, guard with __GLIBC_HAVE_LONG_LONG.
27435
27436 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
27437 __GLIBC_HAVE_LONG_LONG.
27438
27439 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
27440 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
27441
39c59c35
TMQMF
274422012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27443
27444 [BZ #13691]
27445 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
27446 inptr and inend, rather than using last_ch.
27447
135ffda8
DM
274482012-04-02 David S. Miller <davem@davemloft.net>
27449
27450 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
27451 * stdio-common/printf-parse.h (read_int): Change return type to
27452 'int', return -1 on INT_MAX overflow.
27453 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
27454 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
27455 overflows INT_MAX. Check for overflow of in-format-string precision
27456 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
27457 SIZE_MAX not INT_MAX for integer overflow test.
27458 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
27459 skip the construct in the format string but do not record anything.
27460 * stdio-common/bug22.c: Adjust to test both width/prevision
27461 INT_MAX overflow as well as total length INT_MAX overflow. Check
27462 explicitly for proper errno values.
27463
228c019e
TS
274642012-04-02 Thomas Schwinge <thomas@codesourcery.com>
27465
302cadd3
TS
27466 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
27467 CHAR_MAX.
27468 * string/test-strcmp.c [! WIDE]: Likewise.
27469 * time/tst-mktime2.c: Likewise for INT_MAX.
27470 * string/test-string.h: #include <sys/param.h> for MIN.
27471
228c019e
TS
27472 * csu/init-first.c (__libc_init_first): Call __ctype_init.
27473 * sysdeps/i386/init-first.c (init): Likewise.
27474 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
27475 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
27476 * sysdeps/sh/init-first.c (init): Likewise.
27477
cfa633f5
UD
274782012-04-01 Ulrich Drepper <drepper@gmail.com>
27479
27480 * po/ru.po: Update from translation team.
d1635ef8 27481 * po/vi.po: Likewise.
cfa633f5 27482
6cd0a5ea
SP
274832012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
27484
27485 * resolv/nss_dns/dns-host.c: Merge copyright years.
27486
4b43400f
LD
274872012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27488
27489 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
27490 Optimize memcpy with prefetch if
27491 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
27492 src, dst pointers have unequal 16 byte alignments.
27493
48c41d04
SP
274942012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
27495
27496 [BZ #13928]
27497 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
27498 from a CNAME entry and return the minimum ttl for the query.
27499 (gaih_getanswer_slice): Likewise.
27500
b8dc394d
JL
275012012-03-30 Jeff Law <law@redhat.com>
27502
27503 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
27504 due to long keys.
27505 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
27506 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
27507
2f5a5ed0
JL
27508 * resolv/nss_dns/dns-host.c: Update copyright year.
27509
1d39e359
UD
275102012-03-30 Ulrich Drepper <drepper@gmail.com>
27511
c030f70c 27512 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 27513 requests to save a system call. Fix check that all bytes are sent.
c030f70c 27514
1d39e359
UD
27515 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
27516 comments for sendmmsg.
27517
275182012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
27519
27520 [BZ #13691]
27521 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
27522 with only 1 character between 0x0041 and 0x01b0.
27523 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
27524 * wcsmbs/tst-mbsnrtowcs.c: New file.
27525
20fde227
DM
275262012-03-29 David S. Miller <davem@davemloft.net>
27527
27528 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
27529 small copies by hand.
27530
984a4237
JL
275312012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27532
27533 [BZ #13761]
27534 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
27535 _nss_compat_initgroups_dyn): Fall back to malloc/free
27536 for large group memberships.
27537
18c9d62b
DM
275382012-03-28 David S. Miller <davem@davemloft.net>
27539
88d85d4f
DM
27540 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
27541 that branches into memcpy.
27542 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
27543 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
27544 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27545 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
27546 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
27547 bits.
27548 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
27549 implementation too.
27550 * sysdeps/sparc/mempcpy.S: New file.
27551
e5aa83e1
DM
27552 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
27553 the IFUNC routine in the libc case.
27554 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27555
88570753
DM
27556 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
27557 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
27558 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
27559 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
27560 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
27561 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
27562 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
27563 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
27564
249d7567
DM
27565 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
27566 loop to 256 bytes instead of 64 bytes and fix test signedness.
27567
18c9d62b
DM
27568 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
27569 * sysdeps/sparc/sparc32/Makefile: rather than here...
27570 * sysdeps/sparc/sparc64/Makefile: and here.
27571
05f3d1f6
UD
275722012-03-28 Ulrich Drepper <drepper@gmail.com>
27573
27574 * malloc/mallocbug.c: Avoid warnings about unused variables.
27575
86ae07a8
JL
275762012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
27577
27578 [BZ #13760]
27579 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
27580 in the right place. Discard and retry query if response is
27581 larger than input buffer size.
27582
41bf21a1
JM
275832012-03-28 Joseph Myers <joseph@codesourcery.com>
27584
d6270972
JM
27585 [BZ #369]
27586 [BZ #2678]
27587 [BZ #3866]
27588 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
27589 x for large integer exponent.
27590 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
27591 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
27592 sign of result as needed afterwards.
27593 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
27594 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
27595 result for underflowing pow the same as for overflow.
27596 (__kernel_standard_l): Handle powl overflow and underflow here
27597 rather than calling __kernel_standard.
27598 * math/libm-test.inc (pow_test): Add more tests.
27599
414fca03 27600 [BZ #3868]
41bf21a1
JM
27601 [BZ #13879]
27602 [BZ #13910]
27603 [BZ #13911]
27604 [BZ #13912]
27605 [BZ #13913]
27606 [BZ #13915]
27607 [BZ #13916]
27608 [BZ #13917]
27609 [BZ #13918]
27610 [BZ #13919]
27611 [BZ #13920]
27612 [BZ #13921]
27613 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
27614 * sysdeps/ieee754/k_standard.c: Include <float.h>.
27615 (__kernel_standard_l): New function.
27616 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
27617 __kernel_standard.
27618 * math/w_acosl.c (__acosl): Likewise.
27619 * math/w_asinl.c (__asinl): Likewise.
27620 * math/w_atan2l.c (__atan2l): Likewise.
27621 * math/w_atanhl.c (__atanhl): Likewise.
27622 * math/w_coshl.c (__coshl): Likewise.
27623 * math/w_exp10l.c (__exp10l): Likewise.
27624 * math/w_exp2l.c (__exp2l): Likewise.
27625 * math/w_fmodl.c (__fmodl): Likewise.
27626 * math/w_hypotl.c (__hypotl): Likewise.
27627 * math/w_j0l.c (__j0l, __y0l): Likewise.
27628 * math/w_j1l.c (__j1l, __y1l): Likewise.
27629 * math/w_jnl.c (__jnl, __ynl): Likewise.
27630 * math/w_lgammal.c (__lgammal): Likewise.
27631 * math/w_log10l.c (__log10l): Likewise.
27632 * math/w_log2l.c (__log2l): Likewise.
27633 * math/w_logl.c (__logl): Likewise.
27634 * math/w_powl.c (__powl): Likewise.
27635 * math/w_remainderl.c (__remainderl): Likewise.
27636 * math/w_scalbl.c (sysv_scalbl): Likewise.
27637 * math/w_sinhl.c (__sinhl): Likewise.
27638 * math/w_sqrtl.c (__sqrtl): Likewise.
27639 * math/w_tgammal.c (__tgammal): Likewise.
27640 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
27641 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
27642 * math/libm-test.inc (acos_test): Add more tests.
27643 (acosh_test): Likewise.
27644 (asin_test): Likewise.
27645 (atanh_test): Likewise.
27646 (exp_test): Likewise.
27647 (exp10_test): Likewise.
27648 (exp2_test): Likewise.
27649 (expm1_test): Likewise.
27650 (lgamma_test): Likewise.
27651 (log_test): Likewise.
27652 (log10_test): Likewise.
27653 (log1p_test): Likewise.
27654 (log2_test): Likewise.
27655 (pow_test): Do not allow some spurious overflow exceptions.
27656 (sqrt_test): Add more tests.
27657 (tgamma_test): Likewise.
27658 (y0_test): Likewise.
27659 (y1_test): Likewise.
27660 (yn_test): Likewise.
27661
dd62fda6
AB
276622012-03-27 Anton Blanchard <anton@samba.org>
27663
27664 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
27665 MAP_HUGETLB.
27666 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27667 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
27668 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27669
1e3cdfda
AJ
276702012-03-27 David S. Miller <davem@davemloft.net>
27671
b855ab85
DM
27672 * conform/Makefile: Run run-conformtest.sh using $(BASH).
27673
1e3cdfda
AJ
27674 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
27675 have-as-vis3 check.
27676
276772012-03-27 Andreas Jaeger <aj@suse.de>
27678
27679 * sysdeps/x86_64/elf/configure.in: Moved to ...
27680 * sysdeps/x86_64/configure.in: ... here.
27681 * sysdeps/x86_64/elf/start.S: Moved to ...
27682 * sysdeps/x86_64/start.S: ... here.
27683 * sysdeps/x86_64/elf/configure: Delete.
27684
27685 * sysdeps/x86_64/configure.in: Merge contents from
27686 sysdeps/i386/configure.in (without i686 check).
27687
27688 * sysdeps/i386/elf/Versions: Merge into ...
27689 * sysdeps/i386/Versions: ... this.
27690 * sysdeps/i386/elf/Versions: Delete file.
27691 * sysdeps/i386/elf/start.S: Moved to ...
27692 * sysdeps/i386/start.S: ...here.
27693 * sysdeps/i386/elf/configure.in: Merge into...
27694 * sysdeps/i386/configure.in: ...here.
27695 * sysdeps/i386/elf/configure.in: Delete file.
27696 * sysdeps/i386/elf/configure: Delete file.
27697
27698 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
27699 * debug/backtracesyms.c: ... here.
27700 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
27701 * debug/backtracesymsfd.c: ... here.
27702 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
27703 * sysdeps/generic/ifunc-sel.h: ... here.
27704
27705 * sysdeps/unix/i386/start.c: Delete file.
27706 * sysdeps/unix/sparc/start.c: Delete file.
27707 * sysdeps/unix/start.c: Delete file.
27708
27709 * sysdeps/sh/elf/configure.in: Moved to ...
27710 * sysdeps/sh/configure.in: ... here.
27711 * sysdeps/sh/elf/start.S: Moved to ...
27712 * sysdeps/sh/start.S: ... here.
27713 * sysdeps/sh/elf/configure: Delete file.
27714
27715 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
27716 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
27717 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
27718 * sysdeps/powerpc/powerpc64/entry.h: ... here.
27719 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
27720 * sysdeps/powerpc/powerpc64/start.S: here.
27721 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
27722 * sysdeps/powerpc/powerpc64/Makefile: ... this.
27723 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
27724 * sysdeps/powerpc/powerpc64/configure.in: ... this.
27725 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
27726
27727 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
27728 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
27729 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
27730 * sysdeps/powerpc/powerpc32/start.S: ... here.
27731 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
27732 * sysdeps/powerpc/powerpc32/configure.in: ... this.
27733 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
27734
27735 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
27736 * sysdeps/powerpc/ifunc-sel.h: ... here.
27737 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
27738 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
27739
27740 * sysdeps/sparc/elf/configure.in: Moved to ...
27741 * sysdeps/sparc/configure.in: ... here.
27742 * sysdeps/sparc/elf/configure: Delete file.
27743 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
27744 * sysdeps/sparc/sparc32/start.S: ... here.
27745 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
27746 * sysdeps/sparc/sparc64/start.S: ... here.
27747 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
27748 * sysdeps/sparc/sparc32/Makefile: ... this.
27749 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
27750 * sysdeps/sparc/sparc64/Makefile: ... this.
27751
27752 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
27753 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
27754 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
27755 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
27756 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
27757 * sysdeps/s390/s390-32/setjmp.S: ... here.
27758 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
27759 * sysdeps/s390/s390-32/configure.in: ... here.
27760 * sysdeps/s390/s390-32/elf/configure: Delete file.
27761 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
27762 * sysdeps/s390/s390-32/start.S: ... here.
27763
27764 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
27765 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
27766 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
27767 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
27768 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
27769 * sysdeps/s390/s390-64/setjmp.S: ... here.
27770 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
27771 * sysdeps/s390/s390-64/configure.in: ... here
27772 * sysdeps/s390/s390-64/elf/configure: Delete file.
27773 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
27774 * sysdeps/s390/s390-64/start.S: ... here.
27775 * sysdeps/s390/s390-64/elf/configure: Delete.
27776
27777 * configure.in: Remove support for elf directories in sysdeps.
27778
27779 * configure: Regenerated.
27780 * sysdeps/i386/configure: Regenerated.
27781 * sysdeps/powerpc/powerpc32/configure: Regenerated.
27782 * sysdeps/powerpc/powerpc64/configure: Regenerated.
27783 * sysdeps/s390/s390-32/configure: Regenerated.
27784 * sysdeps/s390/s390-64/configure: Regenerated.
27785 * sysdeps/sh/configure: Regenerated.
27786 * sysdeps/sparc/configure: Regenerated.
27787 * sysdeps/x86_64/configure: Regenerated.
27788
a3f61311
AS
277892012-03-26 Andreas Schwab <schwab@linux-m68k.org>
27790
c876e002
AS
27791 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27792
a3f61311
AS
27793 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
27794 denormal result into account.
27795
ac4c54f0
RM
277962012-03-25 Roland McGrath <roland@hack.frob.com>
27797
27798 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
27799 Reported by Allan McRae <allan@archlinux.org>.
27800
6a9b9c02
JL
278012012-03-23 Jeff Law <law@redhat.com>
27802
27803 * nss/getnssent.c (__nss_getent): Fix typo.
27804
4c42a0c1
DM
278052012-03-23 David S. Miller <davem@davemloft.net>
27806
27807 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27808
1532c7ac
L
278092012-03-23 H.J. Lu <hongjiu.lu@intel.com>
27810
27811 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
27812 to pad to uint64_t for each field.
27813 (dl_tls_index): Replace unsigned long with uint64_t.
27814
3ff42526
PP
278152012-03-23 Daniel Jacobowitz <dmj@google.com>
27816 Paul Pluzhnikov <ppluzhnikov@google.com>
27817
27818 [BZ #6528]
27819 * grp/Makefile (otherlibs): Don't set it.
27820 * inet/Makefile (otherlibs): Likewise.
27821 * login/Makefile (otherlibs): Likewise.
27822 * nscd/Makefile (otherlibs): Likewise.
27823 * posix/Makefile (otherlibs): Likewise.
27824 * pwd/Makefile (otherlibs): Likewise.
27825 * rt/Makefile (otherlibs): Likewise.
27826 * sunrpc/Makefile (otherlibs): Likewise.
27827 * nss/Makefile (otherlibs): Likewise.
27828 Add libnss_files to routines and static-only-routines.
27829 ($(objpfx)getent): Remove rule.
27830 * resolv/Makefile: Add libnss_dns and libresolv to routines and
27831 static-only-routines.
27832
7c69cd14
JM
278332012-03-22 Joseph Myers <joseph@codesourcery.com>
27834
27835 [BZ #13892]
27836 * math/s_cexp.c: Include <float.h>.
27837 (__cexp): Handle exp result overflowing not necessarily
27838 overflowing both real and imaginary parts of result.
27839 * math/s_cexpf.c: Likewise.
27840 * math/s_cexpl.c: Likewise.
27841 * math/libm-test.inc (cexp_test): Add more tests.
27842 * sysdeps/i386/fpu/libm-test-ulps: Update.
27843 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27844
81b035fe
L
278452012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27846
27847 * include/link.h (ELFW): New macro.
27848 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
27849 Replace ELF64_R_TYPE with ELFW(R_TYPE).
27850
1da7940c
L
278512012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27852
27853 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
27854 with uint64_t.
27855
b749dbb9
L
278562012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27857
27858 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
27859 declaration.
27860 (struct La_x32_retval): Likewise.
27861
2ff87f3f
L
278622012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27863
27864 * sysdeps/x86_64/preconfigure.in: New file.
27865 * sysdeps/x86_64/preconfigure: New generated file.
27866
c0df8e69
JM
278672012-03-22 Joseph Myers <joseph@codesourcery.com>
27868
48e44791
JM
27869 [BZ #13824]
27870 * math/e_exp2l.c: Include <float.h>.
27871 (__ieee754_exp2l): Handle overflow and underflow cases
27872 separately. Only pass fractional part of argument to
27873 __ieee754_expl.
27874 * math/libm-test.inc (exp2_test): Add more tests.
27875
c0df8e69
JM
27876 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
27877 negating x to take absolute value.
27878 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
27879 Likewise.
27880 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
27881 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
27882 Likewise.
27883 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
27884 computing low part if x was negated.
27885 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
27886
c8e43ba7
L
278872012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27888
27889 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
27890 la_x32_gnu_pltexit.
27891 (pltexit): Cast int_retval to ptrdiff_t.
27892 * elf/tst-auditmod3b.c: Likewise.
27893 * elf/tst-auditmod4b.c: Likewise.
27894 * elf/tst-auditmod5b.c: Likewise.
27895 * elf/tst-auditmod6b.c: Likewise.
27896 * elf/tst-auditmod6c.c: Likewise.
27897 * elf/tst-auditmod7b.c: Likewise.
27898
27899 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
27900 and x32_gnu_pltexit.
27901
27902 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
27903 __ELF_NATIVE_CLASS.
27904 (La_x32_regs): New macro.
27905 (La_x32_retval): Likewise.
27906 (la_x32_gnu_pltenter): New function prototype.
27907 (la_x32_gnu_pltexit): Likewise.
27908
7998fa78
AS
279092012-03-21 Andreas Schwab <schwab@linux-m68k.org>
27910
dcb33988
AS
27911 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
27912 exponent.
27913
233fc563
AS
27914 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27915
7998fa78
AS
27916 * configure.in (libc_cv_cc_nofma): Check for option to disable
27917 generation of FMA instructions.
27918 * configure: Regenerate.
27919 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
27920 * sysdeps/ieee754/dbl-64/Makefile: New file.
27921 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27922 Remove brandred-fma4.
27923 (CFLAGS-brandred-fma4.c): Remove.
27924 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
27925 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
27926 define.
27927 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
27928 define.
27929
8e95c99a
L
279302012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27931
27932 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
27933 LLONG_MAX != LONG_MAX.
27934 (_itoa_word): Use _ITOA_WORD_TYPE on value.
27935 (_fitoa_word): Likewise.
27936 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
27937 LLONG_MAX != LONG_MAX.
27938 * stdio-common/_itowa.h: Include <_itoa.h>.
27939 (_itowa_word): Use _ITOA_WORD_TYPE on value.
27940 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
27941 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
27942 only if not defined.
27943 (_ITOA_WORD_TYPE): Likewise.
27944 (_itoa_word): Use _ITOA_WORD_TYPE on value.
27945 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
27946
6f4db457
DM
279472012-03-21 David S. Miller <davem@davemloft.net>
27948
27949 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27950
7785fe5a
L
279512012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27952
27953 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
27954 of x86_64 when setting libc_cv_slibdir, libdir and
27955 libc_cv_localedir.
27956 * sysdeps/unix/sysv/linux/configure: Regenerated.
27957
4535cd55
JM
279582012-03-21 Joseph Myers <joseph@codesourcery.com>
27959
27960 * manual/lang.texi (Old Varargs): Remove section.
27961 (How Variadic): Update menu.
27962 (va_start): Do not mention varargs.h.
27963
17228132
TS
279642012-03-21 Thomas Schwinge <thomas@codesourcery.com>
27965 Joseph Myers <joseph@codesourcery.com>
27966
27967 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
27968 link test.
27969 * configure: Regenerated.
27970
8149f976
TS
279712012-03-21 Thomas Schwinge <thomas@codesourcery.com>
27972
05f3d1f6
UD
27973 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
27974 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
27975 conformtest.pl
8149f976 27976
1a4ac776
JM
279772012-03-21 Joseph Myers <joseph@codesourcery.com>
27978
be22ce65
JM
27979 * NOTES: Remove.
27980 * Makefile (files-for-dist): Remove NOTES.
27981 (NOTES): Remove rule.
27982 * README: Don't refer to NOTES.
27983 * manual/creature.texi: Don't include macros.texi.
27984 * manual/intro.texi (creature.texi): Remove comment referring to
27985 NOTES.
27986
40b601fb
JM
27987 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
27988 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
27989 * configure: Regenerated.
27990 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
27991 LIBC_TRY_CC_OPTION.
27992 (libc_cv_as_i686): Likewise.
27993 (libc_cv_cc_avx): Likewise.
27994 (libc_cv_cc_sse2avx): Likewise.
27995 (libc_cv_cc_fma4): Likewise.
27996 (libc_cv_cc_novzeroupper): Likewise.
27997 * sysdeps/i386/configure: Regenerated.
27998
1a4ac776
JM
27999 [BZ #13883]
28000 * sysdeps/i386/fpu/s_cexp.S: Remove.
28001 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
28002 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
28003 * math/libm-test.inc (cexp_test): Add more tests.
28004 * sysdeps/i386/fpu/libm-test-ulps: Update.
28005 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28006
a458e7fe
AM
280072012-03-21 Allan McRae <allan@archlinux.org>
28008
28009 * timezone/Makefile: Do not install iso3166.tab and zone.tab
28010
0cb7efc5
JM
280112012-03-21 Joseph Myers <joseph@codesourcery.com>
28012
28013 [BZ #13871]
28014 * math/w_exp2.c: Do not include <float.h>.
28015 (o_threshold, u_threshold): Remove.
28016 (__exp2): Calculate result before checking finiteness and calling
28017 __kernel_standard.
28018 * math/w_exp2f.c: Likewise.
28019 * math/w_exp2l.c: Likewise.
28020 * math/libm-test.inc (exp2_test): Require overflow exception for
28021 1e6 input.
2460d3aa
JM
28022
28023 [BZ #3866]
28024 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
28025 range of signed 64-bit integers before using fistpll. Remove
28026 checks for whether integers fit in mantissa bits.
28027 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
28028 the range of signed 32-bit integers before using fistpl. Remove
28029 checks for whether integers fit in mantissa bits.
28030 * sysdeps/i386/fpu/e_powl.S (p64): New object.
28031 (__ieee754_powl): Test for y outside the range of signed 64-bit
28032 integers before using fistpll. Reduce 64-bit values to 63-bit
28033 ones as needed.
28034 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
28035 divide-by-zero is raised for zero to large negative powers.
28036 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
28037 (__ieee754_powl): Test for y outside the range of signed 64-bit
28038 integers before using fistpll. Reduce 64-bit values to 63-bit
28039 ones as needed.
28040 * math/libm-test.inc (pow_test): Add more tests.
28041
eb96ffb0
L
280422012-03-20 H.J. Lu <hongjiu.lu@intel.com>
28043
28044 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
28045 <stdio-common/_itoa.h>.
28046 * debug/segfault.c: Likewise.
28047 * elf/dl-cache.c: Likewise.
28048 * elf/dl-minimal.c: Likewise.
28049 * elf/dl-misc.c: Likewise.
28050 * elf/dl-sysdep.c: Likewise.
28051 * elf/dl-version.c: Likewise.
28052 * elf/rtld.c: Likewise.
28053 * hurd/hurdsock.c: Likewise.
28054 * hurd/lookup-retry.c: Likewise.
28055 * malloc/malloc.c: Likewise.
28056 * malloc/mtrace.c: Likewise.
28057 * nscd/nscd_getgr_r.c: Likewise.
28058 * nscd/nscd_getpw_r.c: Likewise.
28059 * nscd/nscd_getserv_r.c: Likewise.
28060 * posix/getopt_init.c: Likewise.
28061 * posix/wordexp.c: Likewise.
28062 * stdio-common/_itoa.c: Likewise.
28063 * stdio-common/printf_fphex.c: Likewise.
28064 * stdio-common/vfprintf.c: Likewise.
28065 * string/_strerror.c: Likewise.
28066 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
28067 * sysdeps/i386/i686/hp-timing.h: Likewise.
28068 * sysdeps/mach/_strerror.c: Likewise.
28069 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
28070 * sysdeps/mach/hurd/sethostid.c: Likewise.
28071 * sysdeps/mach/hurd/xmknodat.c: Likewise.
28072 * sysdeps/mach/xpg-strerror.c: Likewise.
28073 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
28074 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
28075 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
28076 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
28077 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
28078 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
28079 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
28080 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
28081 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
28082 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
28083 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
28084 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
28085 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
28086 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
28087 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
28088 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
28089 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
28090 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
28091 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
28092 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
28093 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
28094
28095 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
28096
28097 * stdio-common/_itoa.h: Moved to ...
28098 * sysdeps/generic/_itoa.h: Here.
28099
28100 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
28101
28102 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
28103 instead of "_itoa.h" and "_itowa.h".
28104 * stdio-common/vfprintf.: Likewise.
28105
d1af992d
L
281062012-03-20 H.J. Lu <hongjiu.lu@intel.com>
28107
28108 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
28109 <bits/wordsize.h>.
28110 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
28111 (__signbit): Likwise.
28112 (llrintf): Likwise.
28113 (llrint): Likwise.
28114
114883e0
L
281152012-03-20 H.J. Lu <hongjiu.lu@intel.com>
28116
28117 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
28118 __WORDSIZE != 64.
28119
c135cc1b
JM
281202012-03-20 Joseph Myers <joseph@codesourcery.com>
28121
28122 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
28123 OVERFLOW_EXCEPTION_OK.
28124 * math/libm-test.inc ("Philosophy"): Update comment about
28125 exception testing.
28126 (OVERFLOW_EXCEPTION): Define.
28127 (OVERFLOW_EXCEPTION_OK): Likewise.
28128 (INVALID_EXCEPTION_OK): Renumber.
28129 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28130 (IGNORE_ZERO_INF_SIGN): Likewise.
28131 (test_exceptions): Handle FE_OVERFLOW.
28132 (exp10_test): Expect overflow exceptions.
28133 (exp2_test): Likewise.
28134 (expm1_test): Likewise.
28135 (nextafter_test): Likewise.
28136 (pow_test): Likewise.
28137 (scalbn_test): Likewise.
28138 (scalbln_test): Likewise.
28139
95443d88
L
281402012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28141
28142 * sysdeps/x86_64/bits/atomic.h
28143 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
28144 64bit integer.
28145 (atomic_exchange_acq): Likewise.
28146 (__arch_exchange_and_add_body): Likewise.
28147 (__arch_add_body): Likewise.
28148 (atomic_add_negative): Likewise.
28149 (atomic_add_zero): Likewise.
28150
490df6c4
L
281512012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28152
c2722551 28153 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
28154 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
28155
5e52b189
L
281562012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28157
28158 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
28159 Check __x86_64__ instead of __WORDSIZE.
28160
a9879d4c
L
281612012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28162
28163 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
28164
5df98260
DM
281652012-03-19 David S. Miller <davem@davemloft.net>
28166
e1497744
DM
28167 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28168
5df98260
DM
28169 * sysdeps/sparc/fpu/fenv_private.h: New file.
28170 * sysdeps/sparc/fpu/math_private.h: Use it.
28171 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
28172 Remove.
28173 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
28174 (libc_feholdexcept_setroundl): Remove.
28175 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
28176 Remove.
28177 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
28178 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
28179
b4c35121
L
281802012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28181
28182 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
28183 int64_t instead of long int.
28184 (INSERT_WORDS64): Likwise.
28185
56965fd7
L
281862012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28187
28188 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
28189 _Unwind_GetCFA return to _Unwind_Ptr first.
28190
83d1aec8
JM
281912012-03-19 Joseph Myers <joseph@codesourcery.com>
28192
1897ad44
JM
28193 [BZ #13629]
28194 * math/s_clog.c: Include <float.h>.
28195 (__clog): Scale large or subnormal inputs.
28196 * math/s_clogf.c: Likewise.
28197 * math/s_clogl.c: Likewise.
28198 * math/s_clog10.c: Include <float.h>.
28199 (M_LOG10_2): Define.
28200 (__clog10): Scale large or subnormal inputs.
28201 * math/s_clog10f.c: Likewise.
28202 * math/s_clog10l.c: Likewise.
28203 * math/libm-test.inc (clog_test): Add more tests.
28204 (clog10_test): Likewise.
28205 * sysdeps/i386/fpu/libm-test-ulps: Update.
28206 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28207
7726d6a9
JM
28208 [BZ #11451]
28209 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
28210 x and y.
28211 * math/libm-test.inc (atan2_test): Add another test.
28212
83d1aec8
JM
28213 * Makerules (common-objdir-compile): Remove.
28214 * sysdeps/unix/Makefile (config-generated): Do not add
28215 $(unix-generated) to variable.
28216 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
28217 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
28218 Remove rule.
28219 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
28220 Likewise.
28221 [generic bits/local_lim.h] (before-compile): Do not append to
28222 variable.
28223 [generic bits/local_lim.h] (common-generated): Likewise.
28224 [generic sys/param.h] (before-compile): Do not append to variable.
28225 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
28226 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
28227 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
28228 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
28229 include.
28230 [generic sys/param.h] (sys/param.h-includes): Remove variable.
28231 [generic sys/param.h] (sys/param.h-includes): Remove rule.
28232 [generic sys/param.h] ($(addprefix
28233 $(common-objpfx),$(sys/param.h-includes))): Likewise.
28234 [generic sys/param.h] (common-generated): Do not append to
28235 variable.
28236 [generic sys/param.h] (sysdep_headers): Likewise.
28237 [generic bits/errno.h] (before-compile): Do not append to
28238 variable.
28239 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
28240 rule.
28241 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
28242 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
28243 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
28244 [generic bits/errno.h] (common-generated): Do not append to
28245 variable.
28246 [generic bits/ioctls.h] (before-compile): Do not append to
28247 variable.
28248 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
28249 rule.
28250 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
28251 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
28252 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
28253 rule.
28254 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
28255 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
28256 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
28257 [generic bits/ioctls.h] (common-generated): Do not append to
28258 variable.
28259 [generic sys/syscall.h] (syscall.h): Remove variable.
28260 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
28261 rule.
28262 [generic sys/syscall.h] (before-compile): Do not append to
28263 variable.
28264 [generic sys/syscall.h] (common-generated): Likewise.
28265 * sysdeps/unix/errnos-tmpl.c: Remove file.
28266 * sysdeps/unix/errnos.awk: Likewise.
28267 * sysdeps/unix/ioctls-tmpl.c: Likewise.
28268 * sysdeps/unix/ioctls.awk: Likewise.
28269 * sysdeps/unix/mk-local_lim.c: Likewise.
28270 * sysdeps/unix/snarf-ioctls: Likewise.
28271
4851a949
RH
282722012-03-19 Richard Henderson <rth@twiddle.net>
28273
bd37f2ee
RH
28274 * sysdeps/i386/fpu/fenv_private.h: New file.
28275 * sysdeps/i386/fpu/math_private.h: Use it.
28276 (math_opt_barrier, math_force_eval): Remove.
28277 (libc_feholdexcept_setround_53bit): Remove.
28278 (libc_feupdateenv_53bit): Remove.
28279 * sysdeps/x86_64/fpu/math_private.h: Likewise.
28280 (math_opt_barrier, math_force_eval): Remove.
28281 (libc_feholdexcept): Remove.
28282 (libc_feholdexcept_setround): Remove.
28283 (libc_fetestexcept, libc_fesetenv): Remove.
28284 (libc_feupdateenv_test): Remove.
28285 (libc_feupdateenv, libc_feholdsetround): Remove.
28286 (libc_feresetround): Remove.
28287
d0adc922
RH
28288 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
28289 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
28290
0fe0f1f8
RH
28291 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
28292 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
28293 (libc_feupdateenv_testl): New.
28294 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
28295 (libc_feupdateenv_testf): New.
28296 (libc_feupdateenv): Use libc_feupdateenv_test.
28297 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
28298 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
28299
eb92c487
RH
28300 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
28301 (libc_feholdsetroundf, libc_feholdsetroundl): New.
28302 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
28303 (libc_feresetround_noex): New.
28304 (libc_feresetround_noexf): New.
28305 (libc_feresetround_noexl): New.
28306 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
28307 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
28308 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
28309 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
28310 SET_RESTORE_ROUND.
28311 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
28312 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
28313 (__cos): Likewise.
28314 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
28315 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
28316 SET_RESTORE_ROUND_NOEX.
28317 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
28318 SET_RESTORE_ROUND_NOEXF.
28319 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
28320 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
28321 (libc_feholdsetroundf): New.
28322 (libc_feresetround, libc_feresetroundf): New.
28323
7d2e8012
RH
28324 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
28325 (libc_feholdexcept_setround_53bit): Convert from macro to function.
28326 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
28327
b4dabbb4
RH
28328 * sysdeps/generic/math_private.h: Include <fenv.h>.
28329 (default_libc_feholdexcept): New.
28330 (default_libc_feholdexcept_setround): New.
28331 (default_libc_fesetenv, default_libc_feupdateenv): New.
28332 (libc_feholdexcept): Only define if undefined.
28333 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
28334 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
28335 (libc_feholdexcept_setroundl): Likewise.
28336 (libc_feholdexcept_setround_53bit): Likewise.
28337 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
28338 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
28339 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
28340 (libc_feupdateenv_53bit): Likewise.
28341 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
28342 (libc_feholdexcept): Convert from macro to inline function.
28343 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
28344 (libc_fesetenv, libc_feupdateenv): Likewise.
28345
4851a949
RH
28346 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
28347 not previously defined.
28348 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
28349 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
28350 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
28351 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
28352 * sysdeps/ieee754/flt-32/math_private.h: New file.
28353 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
28354 math_private.h below SET_FLOAT_WORD.
28355 (__isnan, __isinf_ns, __finite): Remove.
28356 (__isnanf, __isinf_nsf, __finitef): Remove.
28357
e79d442e
AS
283582012-03-18 Andreas Schwab <schwab@linux-m68k.org>
28359
28360 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28361
90b80344
DM
283622012-03-17 David S. Miller <davem@davemloft.net>
28363
28364 [BZ #6471]
28365 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
28366 for 2.16.
28367
edc21804
DM
283682012-03-16 David S. Miller <davem@davemloft.net>
28369
77e927af
DM
28370 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
28371 warnings.
28372
374976dd
DM
28373 [BZ #6471]
28374 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
28375 properly.
28376 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
28377 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
28378 sysdep_routines when subdir is sysvipc.
28379 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
28380 __getshmlba helper.
28381
edc21804
DM
28382 * sysdeps/sparc/fpu/libm-test/ulps: Update.
28383
473c3ef3
L
283842012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28385
28386 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
28387 [__LP64__].
28388
eb0f39b6
L
283892012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28390
28391 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
28392 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
28393 (__lround): Renamed to ...
28394 (__llround): This. Replace long int with long long int.
28395 Define lround functions as aliases of llround functions.
28396 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
28397
6b6cd74b
L
283982012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28399
28400 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
28401 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
28402 adresses to uintptr_t. Replace "long int" and "unsigned long
28403 int" with "greg_t" on va_arg.
28404
f1a77b01
L
284052012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28406
28407 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
28408 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
28409
28410 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
28411 Move e_machine check before EI_CLASS check. Handle x32
28412 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
28413 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
28414 SKIP_EM_IA_64 and include
28415 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
28416
28417 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
28418 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
28419 (add_system_dir): New macro.
28420
28421 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
28422 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
28423
11b90b9f
JM
284242012-03-16 Joseph Myers <joseph@codesourcery.com>
28425
c36e1d23
JM
28426 [BZ #2551]
28427 [BZ #2552]
28428 [BZ #2553]
28429 [BZ #2554]
28430 [BZ #2562]
28431 [BZ #2563]
28432 [BZ #2565]
28433 [BZ #2566]
28434 [BZ #2576]
28435 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
28436 (y0): Likewise.
28437 * math/w_j0f.c (j0f): Likewise.
28438 (y0f): Likewise.
28439 * math/w_j0l.c (__j0l): Likewise.
28440 (__y0l): Likewise.
28441 * math/w_j1.c (j1): Likewise.
28442 (y1): Likewise.
28443 * math/w_j1f.c (j1f): Likewise.
28444 (y1f): Likewise.
28445 * math/w_j1l.c (__j1l): Likewise.
28446 (__y1l): Likewise.
28447 * math/w_jn.c (jn): Likewise.
28448 (yn): Likewise.
28449 * math/w_jnf.c (jnf): Likewise.
28450 (ynf): Likewise.
28451 * math/w_jnl.c (__jnl): Likewise.
28452 (__ynl): Likewise.
28453 * math/libm-test.inc (j0_test): Add more tests.
28454 (j1_test): Likewise.
28455 (jn_test): Likewise. Add trailing semicolon to existing test.
28456 (y0_test): Likewise.
28457 (y1_test): Likewise.
28458 * sysdeps/i386/fpu/libm-test-ulps: Update.
28459 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28460
11b90b9f
JM
28461 [BZ #13851]
28462 [BZ #13854]
28463 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
28464 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
28465 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
28466 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
28467 (__tanl): Set errno for infinite argument.
28468 * sysdeps/i386/fpu/mptan.c: Remove.
28469 * sysdeps/i386/fpu/s_tan.S: Likewise.
28470 * sysdeps/i386/fpu/s_tanl.S: Likewise.
28471 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
28472 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
28473 * math/libm-test.inc (tan_test): Add more tests and enable more
28474 tests for double and long double.
28475 * sysdeps/i386/fpu/libm-test-ulps: Update.
28476 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28477
6a1bd2a1
JK
284782012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
28479
28480 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
28481 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
28482
10a803e0
RM
284832012-03-16 Roland McGrath <roland@hack.frob.com>
28484
28485 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
28486 * configure.in: Use it for both main tree and add-ons.
28487 * configure: Regenerated.
28488
f196c7f7
L
284892012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28490
28491 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
28492
8848d99d
JM
284932012-03-16 Joseph Myers <joseph@codesourcery.com>
28494
96cbe7f4
JM
28495 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
28496 in comment.
28497
8848d99d
JM
28498 [BZ #13851]
28499 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
28500 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
28501 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
28502 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
28503 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
28504 infinite argument.
28505 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
28506 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
28507 != 0 for prec == 2.
28508 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
28509 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
28510 * sysdeps/i386/fpu/s_cosl.S: Likewise.
28511 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
28512 * sysdeps/i386/fpu/s_sinl.S: Likewise.
28513 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
28514 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
28515 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
28516 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
28517 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
28518 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
28519 * math/libm-test.inc (cos_test): Add more tests and enable more
28520 tests for long double.
28521 (sin_test): Likewise.
28522 (sincos_test): Likewise.
28523 * sysdeps/i386/fpu/libm-test-ulps: Update.
28524 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28525
dd7f4703
DM
285262012-03-16 David S. Miller <davem@davemloft.net>
28527
28528 * sysdeps/sparc/fpu/math_private.h: New file.
28529
006f1daa
DM
285302012-03-15 David S. Miller <davem@davemloft.net>
28531
c0c83bc8
DM
28532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
28533 file.
e6a62e18 28534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
28535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
28536 file.
e6a62e18
DM
28537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
28538 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
28539 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
28540 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
28541 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
28542 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
28543 sysdep routines.
28544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28545
88cb87d9
DM
28546 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
28547 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
28548
006f1daa 28549 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
28550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
28551 sparc-ifunc.h
006f1daa 28552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
28553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
28554 Likewise.
28555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
28556 Likewise.
006f1daa
DM
28557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
28558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
28559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
28560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
28561 Likewise.
006f1daa
DM
28562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
28563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
28564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
28565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
28566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
28567 Likewise.
28568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
28569 Likewise.
006f1daa
DM
28570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
28571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
28572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
28573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
28574 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
28575 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
28576 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
28577 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
28578 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
28579 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
28580 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
28581 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
28582 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
28583 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
28584 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
28585 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
28586 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
28587 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
28588 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
28589 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
28590 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
28591 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
28592 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
28593 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
28594
11e0098e
AS
285952012-03-15 Andreas Schwab <schwab@linux-m68k.org>
28596
28597 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
28598 scaling.
28599 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28600
e85b09d0
AJ
286012012-03-15 Andreas Jaeger <aj@suse.de>
28602
28603 [BZ #13852]
28604 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
28605 ieee754/flt-32 implementation for sin, cos and sincos.
28606 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
28607 * sysdeps/i386/fpu/s_cosf.S: Likewise.
28608 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
28609 * sysdeps/i386/fpu/s_sinf.S: Likewise.
28610 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
28611 ieee754/flt-32 implementation for tan.
28612
28613 * math/libm-test.inc (cos_test): Enable some large input tests for
28614 float as well
28615 (sin_test): Likewise.
28616 (sincos_test): Likewise.
28617 (tan_test): Add tests for large input.
28618
28619 * sysdeps/i386/fpu/libm-test-ulps: Update.
28620
81c64153
AJ
286212012-03-15 Andreas Jaeger <aj@suse.de>
28622
28623 [BZ #13658]
28624 * math/libm-test.inc (cos_test): Add more test cases.
28625 (sin_test): Likewise.
28626 (sincos_test): Likewise.
28627
7bbfa5c6
AJ
286282012-03-15 Andreas Jaeger <aj@suse.de>
28629
28630 [BZ #13837]
28631 * math/libm-test.inc (cos_test): Add a test case for large input
28632 value.
28633 (sin_test): Likewise.
28634 (sincos_test): Likewise.
28635
286362012-03-15 Andreas Jaeger <aj@suse.de>,
28637 Joseph Myers <joseph@codesourcery.com>
28638
28639 [BZ #13658]
0671f479 28640 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
28641 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
28642 * sysdeps/i386/fpu/branred.c: Likewise.
28643 * sysdeps/i386/fpu/dosincos.c: Likewise.
28644 * sysdeps/i386/fpu/mpa.c: Likewise.
28645 * sysdeps/i386/fpu/s_cos.S: Likewise.
28646 * sysdeps/i386/fpu/s_sin.S: Likewise.
28647 * sysdeps/i386/fpu/s_sincos.S: Likewise.
28648 * sysdeps/i386/fpu/sincos32.c: Likewise.
28649
28650 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
28651 Define.
28652 (libc_feupdateenv_53bit): Define.
28653 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
28654 Define.
28655 (libc_feupdateenv_53bit): Define.
28656
28657 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
28658 53 bit (without extend i386 double precision).
28659
28660 * math/libm-test.inc (sincos_test): Add tests for large input.
28661 (sin): Likewise.
28662 (cos): Likewise.
28663
28664 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
28665
9cad04ea
AS
286662012-03-15 Andreas Schwab <schwab@linux-m68k.org>
28667
28668 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28669
f7062b9a
DM
286702012-03-15 David S. Miller <davem@davemloft.net>
28671
28672 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
28673 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
28674 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
28675 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
28676 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
28677 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
28678 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
28679 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
28680 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
28681 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
28682 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
28683 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
28684 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
28685 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
28686 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
28687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
28688 file.
f7062b9a 28689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
28690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
28691 file.
f7062b9a 28692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
28693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
28694 file.
f7062b9a 28695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
28696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
28697 file.
f7062b9a
DM
28698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
28699 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
28700 fmin/fmax sysdep routines.
28701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28702
7bd951ff
DM
287032012-03-14 David S. Miller <davem@davemloft.net>
28704
559398ab
DM
28705 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
28706 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
28707 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
28708 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
28709 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
28710 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
28711 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
28712 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
28713 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
28714 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
28715 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
28716 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
28717 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
28718 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
28719 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
28720 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
28721 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
28722 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
28723 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
28724 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
28725 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
28726 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
28727 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
28728 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
28729 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
28730 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
28731 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
28732 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
28733 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
28734 routines.
28735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
28736 file.
559398ab 28737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
28738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
28739 file.
559398ab 28740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
28741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
28742 file.
559398ab 28743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
28744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
28745 file.
559398ab 28746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
28747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
28748 file.
559398ab 28749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
28750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
28751 file.
28752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
28753 file.
28754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
28755 file.
28756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
28757 file.
28758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
28759 New file.
28760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
28761 file.
28762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
28763 file.
559398ab 28764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
28765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
28766 file.
559398ab 28767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
28768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
28769 file.
559398ab 28770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
28771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
28772 file.
559398ab 28773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
28774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
28775 VIS3 routines.
559398ab
DM
28776
28777 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
28778 New file.
28779
5a1c1e32
DM
28780 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28781
eae47a36
DM
28782 * sysdeps/sparc/configure.in: New file.
28783 * sysdeps/sparc/configure: Generate.
28784 * configure.in (libc_cv_sparc_as_vis3): Substitute.
28785 * configure: Regenerate.
28786 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
28787 * config.make.in (have-as-vis3): New.
28788 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
28789 available use -Av9d instead of -Av9a.
28790 * sysdeps/sparc/sparc64/Makefile: Likewise.
28791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
28792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
28793 New file.
28794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
28795 file.
28796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
28797 New file.
28798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
28799 file.
eae47a36
DM
28800 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
28801 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
28802 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
28803 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
28804 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
28805
c0c83bc8
DM
28806 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
28807 fzeros/fnegs to load 0x80000000 into a float register instead of
28808 using the stack.
7bd951ff
DM
28809 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
28810
bd951ccb
JM
288112012-03-14 Joseph Myers <joseph@codesourcery.com>
28812
28813 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28814 bits/syscall.h.
28815 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
28816 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
28817 ($(inst_includedir)/bits/syscall.h): Remove rule.
28818 ($(objpfx)bits/syscall.d): Include instead of
28819 $(objpfx)syscall-list.d.
28820 (generated): Change syscall-list.h and syscall-list.d to
28821 bits/syscall.h and bits/syscall.d.
28822
bb4e6db2
RM
288232012-03-14 Roland McGrath <roland@hack.frob.com>
28824
28825 [BZ #13846]
28826 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
28827
aa4a2ae1
JM
288282012-03-14 Joseph Myers <joseph@codesourcery.com>
28829
e456826d
JM
28830 [BZ #13841]
28831 * math/s_csqrt.c: Include <float.h>.
28832 (__csqrt): Scale large or subnormal inputs.
28833 * math/s_csqrtf.c: Likewise.
28834 * math/s_csqrtl.c: Likewise.
28835 * math/libm-test.inc (csqrt_test): Add more tests.
28836 * sysdeps/i386/fpu/libm-test-ulps: Update.
28837 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28838
aa4a2ae1
JM
28839 [BZ #13840]
28840 * math/libm-test.inc (hypot_test): Add more tests.
28841
7c10fd35
DM
288422012-03-13 David S. Miller <davem@davemloft.net>
28843
28844 [BZ #13840]
28845 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
28846 double-precision for the calculation instead of scaling.
28847
f453b98b
JM
288482012-03-13 Joseph Myers <joseph@codesourcery.com>
28849
28850 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
28851 manipulate bits before adding and subtracting TWO52[sx].
28852 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
28853 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
28854 Likewise.
28855 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
28856
09a3453f
DM
288572012-03-13 David S. Miller <davem@davemloft.net>
28858
8e59da90
DM
28859 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
28860 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
28861 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
28862 rtld-global-offsets.h
28863 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28864
2a8ab7f2
DM
28865 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
28866 large parameters.
28867
10f62770
DM
28868 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
28869
5f0bdb18
DM
28870 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
28871 'err' in the ifdef scope in which it is actually used.
28872
09a3453f
DM
28873 * nss/nss_db/db-init.c: Include string.h
28874
b4b2eb5e
DM
288752012-03-12 David S. Miller <davem@davemloft.net>
28876
98bb2f1c
DM
28877 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
28878 masking out of the most significant byte of random value used.
28879 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28880 Fix coding style in previous change.
28881
b4b2eb5e
DM
28882 * sysdeps/unix/sysv/linux/kernel-features.h
28883 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
28884 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
28885 expression.
28886 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
28887 later.
28888
6e226b09
DM
288892012-03-11 David S. Miller <davem@davemloft.net>
28890
a1bcbd40
DM
28891 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28892 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
28893 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
28894 for 'resultvar' otherwise things get truncated on 64-bit.
28895
cb9d6174
DM
28896 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28897 Fix masking out of the most significant byte of random value used.
28898
6e226b09
DM
28899 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28900
058c132d
AS
289012012-03-10 Andreas Schwab <schwab@linux-m68k.org>
28902
28903 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28904
2d2cd515
DM
289052012-03-09 David S. Miller <davem@davemloft.net>
28906
28907 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
28908 variables with appropriate CPP guards.
28909 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
28910 frame pointer, not the stack pointer. Correct layout comments. Fix test
28911 on resulting framesize and the management of the outregs buffer for pltexit.
28912 Preserve floating point return values across _dl_call_pltexit call.
28913 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
28914 framesize and the management of the outregs buffer for pltexit.
28915 Preserve floating point return values across _dl_call_pltexit
28916 call.
28917 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
28918 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
28919 (print_exit): Fix format string for return register value.
28920
9a07f9d0
JM
289212012-03-10 Joseph Myers <joseph@codesourcery.com>
28922
28923 * sunrpc/Makefile (others): Add rpcgen.
28924 ($(objpfx)rpcgen): Remove special build rule and dependency on
28925 libc.
28926 * sunrpc/rpcgen.c: New file.
28927
547b5e30
PE
289282012-03-09 Paul Eggert <eggert@cs.ucla.edu>
28929
c524201a
PE
28930 [BZ #13673]
28931 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
28932 * stdio-common/bug-vfprintf-nargs.c: Likewise.
28933 * sysdeps/i386/crti.S: Likewise.
28934 * sysdeps/i386/crtn.S: Likewise.
28935 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
28936 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
28937 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
28938 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
28939 * sysdeps/sh/crti.S: Likewise.
28940 * sysdeps/sh/crtn.S: Likewise.
28941 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
28942
7b6235f2
PE
28943 [BZ #13673]
28944 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
28945 with URL.
28946 * locale/programs/locfile-kw.gperf: Likewise.
28947 * locale/programs/charmap-kw.h: Regenerated.
28948 * locale/programs/locfile-kw.h: Likewise.
28949
547b5e30
PE
28950 [BZ #13673]
28951 * intl/plural.y: Replace FSF snail mail address with URL.
28952 * intl/plural.c: Regenerated.
28953
5f0a5dae
RH
289542012-03-09 Richard Henderson <rth@twiddle.net>
28955
28956 * include/math_private.h: Remove file.
28957 * math/math_private.h: Move file ...
28958 * sysdeps/generic/math_private.h: ... here.
28959
b8c03620
RH
28960 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
28961 * sysdeps/powerpc/fpu/math_private.h: Likewise.
28962 * sysdeps/x86_64/fpu/math_private.h: Likewise.
28963
4e234f5d 28964 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
28965 and <math_private.h>.
28966 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
28967 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
28968 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
28969 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
28970 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
28971 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
28972 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28973 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28974 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28975 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28976 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28977 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28978 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28979 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28980 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28981 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28982 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28983 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28984 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28985 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
28986 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28987 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28988 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28989 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28990 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
28991 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28992 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28993 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28994 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28995 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28996 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28997 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28998 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
28999 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29000 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
29001 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29002 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29003 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
29004 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
29005 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29006 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
29007 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
29008 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
29009 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
29010 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
29011 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
29012 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
29013 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
29014 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29015 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
29016 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
29017 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
29018 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
29019 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
29020 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
29021 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29022 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29023 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
29024 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
29025 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
29026 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29027 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
29028 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29029 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
29030 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
29031 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29032 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29033 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29034 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
29035 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
29036 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
29037 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29038 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
29039 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29040 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
29041 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
29042 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
29043 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
29044 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
29045 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
29046 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
29047 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
29048 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
29049 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
29050 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
29051 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
29052 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
29053 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
29054 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
29055 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29056 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29057 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
29058 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29059 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
29060 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
29061 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
29062 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29063 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
29064 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29065 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
29066 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
29067 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
29068 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
29069 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
29070 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
29071 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
29072 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
29073 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
29074 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
29075 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29076 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
29077 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
29078 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
29079 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
29080 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
29081 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29082 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
29083 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
29084 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
29085 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
29086 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
29087 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
29088 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29089 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
29090 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
29091 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
29092 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
29093 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
29094 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
29095 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
29096 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
29097 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
29098 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
29099 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
29100 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
29101 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
29102 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
29103 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
29104 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
29105 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
29106 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29107 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
29108 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
29109 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
29110 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
29111 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
29112 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
29113 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
29114 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
29115 * sysdeps/ieee754/k_standard.c: Likewise.
29116 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
29117 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
29118 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29119 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
29120 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
29121 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
29122 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
29123 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
29124 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
29125 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
29126 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29127 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
29128 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
29129 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
29130 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
29131 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
29132 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
29133 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
29134 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
29135 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
29136 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
29137 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
29138 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
29139 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
29140 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
29141 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
29142 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
29143 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
29144 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
29145 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
29146 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
29147 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
29148 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
29149 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
29150 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
29151 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
29152 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
29153 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
29154 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
29155 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
29156 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
29157 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
29158 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
29159 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
29160 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
29161 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
29162 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
29163 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
29164 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
29165 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
29166 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
29167 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
29168 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
29169 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
29170 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29171 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
29172 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
29173 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
29174 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
29175 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
29176 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
29177 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
29178 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
29179 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
29180 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29181 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29182 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
29183 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
29184 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
29185 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
29186 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
29187 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29188 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
29189 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
29190 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
29191 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
29192 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
29193 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
29194 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29195 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
29196 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
29197 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
29198 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
29199 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
29200 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
29201 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
29202 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
29203 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
29204 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29205 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
29206 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
29207 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
29208 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
29209 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
29210 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
29211 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
29212 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
29213 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
29214 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
29215 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
29216 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
29217 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
29218 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
29219 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
29220 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
29221 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
29222 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
29223 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
29224 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
29225 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
29226 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
29227 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
29228 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
29229 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29230 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
29231 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29232 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
29233 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29234 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29235 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
29236 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29237 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
29238 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
29239 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
29240 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29241 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
29242 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
29243 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
29244 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
29245 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
29246 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
29247 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
29248 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
29249 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
29250 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
29251 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
29252 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
29253 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
29254 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
29255 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
29256 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
29257 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
29258 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
29259 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
29260 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
29261 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
29262 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
29263 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
29264 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
29265 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
29266 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
29267 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
29268 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
29269 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
29270 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
29271 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
29272 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
29273 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
29274 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
29275 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
29276 * sysdeps/ieee754/s_lib_version.c: Likewise.
29277 * sysdeps/ieee754/s_matherr.c: Likewise.
29278 * sysdeps/ieee754/s_signgam.c: Likewise.
29279 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
29280 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29281 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
29282 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
29283 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
29284 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
29285 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
29286 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
29287 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
29288 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
29289 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
29290 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
29291 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
29292 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
29293 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
29294 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
29295 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
29296 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
29297 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
29298 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29299 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 29300
1991fa03
JM
293012012-03-09 Joseph Myers <joseph@codesourcery.com>
29302
29303 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
29304 * sunrpc/rpc_main.c: Likewise.
29305 * sunrpc/rpc_svcout.c: Likewise.
29306
60d6f5a6
DM
293072012-03-09 David S. Miller <davem@davemloft.net>
29308
29309 * include/math_private.h: New file.
29310
4962050e
JM
293112012-03-09 Joseph Myers <joseph@codesourcery.com>
29312
02a6f887
JM
29313 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
29314 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
29315 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
29316 from <bits/socket_type.h>.
29317 (enum __socket_type): Don't define here.
29318 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
29319 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29320 bits/socket_type.h.
29321
c6e013c1
JM
29322 [BZ #13566]
29323 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
29324 checking __USE_GNU.
29325
4962050e
JM
29326 * Makerules ($(inst_includedir)/%.h): New rule.
29327 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
29328 (install-others): Remove variable setting.
29329 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
29330
38842f45
RH
293312012-03-08 Richard Henderson <rth@twiddle.net>
29332
67bb6da6
RH
29333 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
29334 from macro to inline function; merge with the
29335 !__LIBC_INTERNAL_MATH_INLINES version.
29336 (__ieee754_sqrtf): Likewise.
29337
15194b4b
RH
29338 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
29339 to inline function.
29340 (__rintf, __floor, __floorf): Likewise.
29341
64e21ede
RH
29342 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
29343 macro to inline function.
29344 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
29345
38842f45
RH
29346 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
29347 not <math/math_private.h>.
29348
c64bf5fe
DM
293492012-03-08 David S. Miller <davem@davemloft.net>
29350
29351 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
29352 copyright year.
29353 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
29354
82d86f28
TS
293552012-03-08 Thomas Schwinge <thomas@codesourcery.com>
29356
29357 * resolv/gai_misc.c (handle_requests): Fix struct timespec
29358 normalization.
29359 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
29360 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
29361
aea5d727
UD
293622012-03-08 Ulrich Drepper <drepper@gmail.com>
29363
29364 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
29365 be defined individually, they must be defined as a block. Define
29366 S for printing a string instead of hidint the different by using a
29367 macro for adding the 'l'.
29368 * stdio-common/tst-fphex-wide.c: Adjust.
29369
70bca0a3
MP
293702012-03-07 Marek Polacek <polacek@redhat.com>
29371
29372 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
29373
65b81130
MP
293742012-03-08 Marek Polacek <polacek@redhat.com>
29375
29376 [BZ #13806]
29377 * stdio-common/Makefile (tests): Add tst-fphex-wide.
29378 * stdio-common/tst-fphex.c: Define a few macros to make the
29379 test reusable. Use them.
29380 * stdio-common/tst-fphex-wide.c: New file.
29381
07037eeb
JM
293822012-03-08 Joseph Myers <joseph@codesourcery.com>
29383
a7a93d50
JM
29384 [BZ #6911]
29385 * manual/macros.texi (gnusystems): New macro.
29386 (nongnusystems): Likewise.
29387 (gnulinuxhurdsystems): Likewise.
29388 (gnuhurdsystems): Likewise..
29389 (gnulinuxsystems): Likewise.
29390 * manual/charset.texi: Use new macros or @theglibc{} to refer to
29391 variants of the GNU system, not "GNU system".
29392 * manual/conf.texi: Likewise.
29393 * manual/errno.texi: Likewise. Update example of errno macro
29394 expansion.
29395 * manual/filesys.texi: Likewise.
29396 (getumask): Document as specific to GNU/Hurd.
29397 * manual/install.texi: Likewise. Reword some references to
29398 GNU/Linux.
29399 * manual/intro.texi: Likewise.
29400 * manual/io.texi: Likewise.
29401 (File Name Portability): Detail which constraints are inapplicable
29402 to all GNU systems and which are only inapplicable to GNU/Hurd.
29403 * manual/job.texi: Likewise.
29404 * manual/llio.texi: Likewise.
29405 (O_NOCTTY): Document as present on GNU/Linux.
29406 * manual/maint.texi: Likewise.
29407 * manual/memory.texi: Likewise.
29408 * manual/pattern.texi: Likewise.
29409 * manual/pipe.texi: Likewise.
29410 * manual/process.texi: Likewise.
29411 * manual/resource.texi: Likewise.
29412 (RUSAGE_CHILDREN): Remove statement about specifying a particular
29413 child on GNU/Hurd.
29414 * manual/setjmp.texi: Likewise.
29415 * manual/signal.texi: Likewise.
29416 * manual/startup.texi: Likewise.
29417 * manual/stdio.texi: Likewise.
29418 * manual/terminal.texi: Likewise.
29419 (ONLCR): Document as POSIX.
29420 (OXTABS): Document availability on GNU/Linux as XTABS.
29421 (ONOEOT): Document availability separately from other bits.
29422 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
29423 * manual/time.texi: Likewise.
29424 * manual/users.texi: Likewise.
29425 * INSTALL: Regenerated.
29426 * sysdeps/gnu/errlist.c: Regenerated.
29427
07037eeb
JM
29428 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
29429 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
29430 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
29431 puts.
29432 * configure: Regenerated.
29433
d1d3431a
JM
294342012-03-07 Joseph Myers <joseph@codesourcery.com>
29435
af6a1e37
JM
29436 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
29437 default includes instead of AC_HEADER_CHECK.
29438 * sysdeps/i386/configure: Regenerated.
29439
d1d3431a
JM
29440 [BZ #10716]
29441 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
29442 * math/s_cacoshf.c (__cacoshf): Likewise.
29443 * math/s_cacoshl.c (__cacoshl): Likewise.
29444 * math/s_casinh.c (__casinh): Set signs of result from argument.
29445 * math/s_casinhf.c (__casinhf): Likewise.
29446 * math/s_casinhl.c (__casinhl): Likewise.
29447 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
29448 (casinh_test): Add more tests.
29449 * sysdeps/i386/fpu/libm-test-ulps: Update.
29450 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29451
482ff4da
UD
294522012-03-07 Ulrich Drepper <drepper@gmail.com>
29453
872fda05
UD
29454 * po/zh_TW.po: Update from translation team.
29455
a4300c7a
UD
29456 * login/Makefile (distribute): Remove variable.
29457 * catgets/Makefile: Likewise.
29458 * mach/Makefile: Likewise.
29459 * malloc/Makefile: Likewise.
29460 * misc/Makefile: Likewise.
29461 * iconv/Makefile: Likewise.
29462 * nscd/Makefile: Likewise.
29463 * hurd/Makefile: Likewise.
29464 * manual/Makefile: Likewise.
29465 * locale/Makefile: Likewise.
29466 * intl/Makefile: Likewise.
29467 * conform/Makefile: Likewise.
29468 * nss/Makefile: Likewise.
29469 * time/Makefile: Likewise.
29470 * soft-fp/Makefile: Likewise.
29471 * dirent/Makefile: Likewise.
29472 * gmon/Makefile: Likewise.
29473 * po/Makefile: Likewise.
29474 * rt/Makefile: Likewise.
29475 * socket/Makefile: Likewise.
29476 * math/Makefile: Likewise.
29477 * signal/Makefile: Likewise.
29478 * debug/Makefile: Likewise.
29479 * elf/Makefile: Likewise.
29480 * timezone/Makefile: Likewise.
29481 * stdlib/Makefile: Likewise.
29482 * iconvdata/Makefile: Likewise.
29483 * sunrpc/Makefile: Likewise.
29484 * io/Makefile: Likewise.
29485 * argp/Makefile: Likewise.
29486 * inet/Makefile: Likewise.
29487 * hesiod/Makefile: Likewise.
29488 * grp/Makefile: Likewise.
29489 * csu/Makefile: Likewise.
29490 * wctype/Makefile: Likewise.
29491 * crypt/Makefile: Likewise.
29492 * libio/Makefile: Likewise.
29493 * string/Makefile: Likewise.
29494 * nis/Makefile: Likewise.
29495 * resolv/Makefile: Likewise.
29496 * stdio-common/Makefile: Likewise.
29497 * wcsmbs/Makefile: Likewise.
29498 * dlfcn/Makefile: Likewise.
29499 * posix/Makefile: Likewise.
29500
3b7c4e74 29501 [BZ #6959]
482ff4da
UD
29502 * timezone/Makefile: Don't install timezone files, just the programs
29503 and scripts.
29504
f72ed77d
UD
295052012-03-06 Ulrich Drepper <drepper@gmail.com>
29506
a000466f
UD
29507 * nss/databases.def: Add missing gshadow entry.
29508
f72ed77d
UD
29509 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
29510
a53b7a4e
MP
295112012-03-06 Marek Polacek <polacek@redhat.com>
29512
29513 [BZ #13726]
29514 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
29515 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
29516 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
29517 * stdio-common/tst-long-dbl-fphex.c: New file.
29518
e9258400
DM
295192012-03-06 David S. Miller <davem@davemloft.net>
29520
29521 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29522 (set_obp_int): New function.
29523 (get_obp_int): New function.
29524 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
29525 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
29526 Avoid unused variable warnings on 'val' and use builtin_expect.
29527 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
29528 __builtin_expect.
e9258400
DM
29529 (INLINE_CLONE_SYSCALL): Likewise.
29530
3bd2c723
DM
295312012-03-05 David S. Miller <davem@davemloft.net>
29532
29533 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29534
bbb78d03
AS
295352012-03-05 Andreas Schwab <schwab@linux-m68k.org>
29536
884c5db4
AS
29537 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29538
bbb78d03
AS
29539 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
29540 only for |x| >= 40.
29541 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29542
1c9f702a 295432012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
29544
29545 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
29546 Replace gettimeofday with __vdso_gettimeofday.
29547
7be16f82
RM
29548 * sysdeps/unix/sysv/linux/x86_64/init-first.c
29549 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
29550 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
29551
29552 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
29553 time with __vdso_time.
29554
ed58a00f
JM
295552012-03-05 Joseph Myers <joseph@codesourcery.com>
29556
29557 * manual/lang.texi (size_t): Note types to which size_t may be
29558 equivalent with the GNU C Library, but do not describe when
29559 differences between them are significant.
29560
30ee4ced
AJ
295612012-03-05 Andreas Jaeger <aj@suse.de>
29562
29563 * sysdeps/i386/fpu/libm-test-ulps: Update.
29564
b7cd39e8
JM
295652012-03-05 Joseph Myers <joseph@codesourcery.com>
29566
29567 [BZ #3976]
29568 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
29569 (__ieee754_pow): Save and restore rounding mode and use
29570 round-to-nearest for main computations.
29571 * math/libm-test.inc (pow_test_tonearest): New function.
29572 (pow_test_towardzero): Likewise.
29573 (pow_test_downward): Likewise.
29574 (pow_test_upward): Likewise.
29575 (main): Call the new functions.
29576 * sysdeps/i386/fpu/libm-test-ulps: Update.
29577 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
29578
29579 [BZ #3976]
29580 * math/libm-test.inc (cosh_test_tonearest): New function.
29581 (cosh_test_towardzero): Likewise.
29582 (cosh_test_downward): Likewise.
29583 (cosh_test_upward): Likewise.
29584 (sinh_test_tonearest): Likewise.
29585 (sinh_test_towardzero): Likewise.
29586 (sinh_test_downward): Likewise.
29587 (sinh_test_upward): Likewise.
29588 (main): Call the new functions.
29589 * sysdeps/i386/fpu/libm-test-ulps: Update.
29590 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29591
6c6a98c9
TV
295922012-03-05 Tom de Vries <tom@codesourcery.com>
29593
29594 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
29595 default stack guard is set in last bytes.
29596 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
29597
21bb2d2e 295982012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 29599
21bb2d2e 29600 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 29601
21bb2d2e
AJ
29602 [BZ #13656]
29603 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
29604 possibly allocate from heap instead of stack.
29605 * stdio-common/bug-vfprintf-nargs.c: New file.
29606 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 29607
c6922934
AS
296082012-03-03 Andreas Schwab <schwab@linux-m68k.org>
29609
29610 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29611
bc957d53
MP
296122012-03-03 Marek Polacek <polacek@redhat.com>
29613
29614 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
29615 * math/math_private.h: Likewise.
29616 * stdlib/tst-strtod.c: Likewise.
29617 * sysdeps/i386/i486/bits/atomic.h: Likewise.
29618 * sysdeps/x86_64/bits/atomic.h: Likewise.
29619
6358490d
DM
296202012-03-02 David S. Miller <davem@davemloft.net>
29621
29622 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
29623 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
29624 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
29625 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
29626 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
29627 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
29628 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
29629 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
29630
01ae168d
RM
296312012-03-02 Roland McGrath <roland@hack.frob.com>
29632
d9a17c07
RM
29633 [BZ #13792]
29634 * manual/examples/README: New file, says the example source files
29635 can be used under GPL>=2.
29636 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
29637 line containing just "*/".
29638 * manual/examples/add.c: Add copyright header (GPL>=2).
29639 * manual/examples/argp-ex1.c: Likewise.
29640 * manual/examples/argp-ex2.c: Likewise.
29641 * manual/examples/argp-ex3.c: Likewise.
29642 * manual/examples/argp-ex4.c: Likewise.
29643 * manual/examples/atexit.c: Likewise.
29644 * manual/examples/db.c: Likewise.
29645 * manual/examples/dir.c: Likewise.
29646 * manual/examples/dir2.c: Likewise.
29647 * manual/examples/execinfo.c: Likewise.
29648 * manual/examples/filecli.c: Likewise.
29649 * manual/examples/filesrv.c: Likewise.
29650 * manual/examples/fmtmsgexpl.c: Likewise.
29651 * manual/examples/genpass.c: Likewise.
29652 * manual/examples/inetcli.c: Likewise.
29653 * manual/examples/inetsrv.c: Likewise.
29654 * manual/examples/isockad.c: Likewise.
29655 * manual/examples/longopt.c: Likewise.
29656 * manual/examples/memopen.c: Likewise.
29657 * manual/examples/memstrm.c: Likewise.
29658 * manual/examples/mkfsock.c: Likewise.
29659 * manual/examples/mkisock.c: Likewise.
29660 * manual/examples/mygetpass.c: Likewise.
29661 * manual/examples/pipe.c: Likewise.
29662 * manual/examples/popen.c: Likewise.
29663 * manual/examples/rprintf.c: Likewise.
29664 * manual/examples/search.c: Likewise.
29665 * manual/examples/select.c: Likewise.
29666 * manual/examples/setjmp.c: Likewise.
29667 * manual/examples/sigh1.c: Likewise.
29668 * manual/examples/sigusr.c: Likewise.
29669 * manual/examples/stpcpy.c: Likewise.
29670 * manual/examples/strdupa.c: Likewise.
29671 * manual/examples/strftim.c: Likewise.
29672 * manual/examples/strncat.c: Likewise.
29673 * manual/examples/subopt.c: Likewise.
29674 * manual/examples/swapcontext.c: Likewise.
29675 * manual/examples/termios.c: Likewise.
29676 * manual/examples/testopt.c: Likewise.
29677 * manual/examples/testpass.c: Likewise.
29678 * manual/examples/timeval_subtract.c: Likewise.
29679
01ae168d
RM
29680 [BZ #13792]
29681 * manual/time.texi (Elapsed Time): Move timeval_subtract example
29682 function to ...
29683 * manual/timeval_subtract.c.texi: ... here, new file.
29684
49efa33d
DM
296852012-03-02 David S. Miller <davem@davemloft.net>
29686
29687 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
29688
28afd92d
JM
296892012-03-02 Joseph Myers <joseph@codesourcery.com>
29690
804360ed
JM
29691 [BZ #3976]
29692 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
29693 (__sin): Save and restore rounding mode and use round-to-nearest
29694 for all computations.
29695 (__cos): Save and restore rounding mode and use round-to-nearest
29696 for all computations.
29697 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
29698 <fenv.h>.
29699 (tan): Save and restore rounding mode and use round-to-nearest for
29700 all computations.
29701 * math/libm-test.inc (cos_test_tonearest): New function.
29702 (cos_test_towardzero): Likewise.
29703 (cos_test_downward): Likewise.
29704 (cos_test_upward): Likewise.
29705 (sin_test_tonearest): Likewise.
29706 (sin_test_towardzero): Likewise.
29707 (sin_test_downward): Likewise.
29708 (sin_test_upward): Likewise.
29709 (tan_test_tonearest): Likewise.
29710 (tan_test_towardzero): Likewise.
29711 (tan_test_downward): Likewise.
29712 (tan_test_upward): Likewise.
29713 (main): Call the new functions.
29714 * sysdeps/i386/fpu/libm-test-ulps: Update.
29715 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29716
a6d06d7b
JM
29717 [BZ #10135]
29718 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
29719 small n, then large n, before computing and testing k+n.
29720 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
29721 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
29722 Likewise.
29723 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
29724 Likewise.
29725 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
29726 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
29727 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
29728 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
29729 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
29730 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
29731 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
29732 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
29733 * math/libm-test.inc (scalbn_test): Add more tests.
29734 (scalbln_test): Likewise.
29735
07e12bb3
JM
29736 * manual/filesys.texi (mode_t): Describe constraints on size and
29737 signedness, not exact equivalence to a particular type.
29738 (ino_t): Likewise.
29739 (ino64_t): Likewise.
29740 (dev_t): Likewise.
29741 (nlink_t): Likewise.
29742 (blkcnt_t): Likewise.
29743 (blkcnt64_t): Likewise.
29744 * manual/llio.texi (off_t): Likewise.
29745
28afd92d
JM
29746 [BZ #3976]
29747 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
29748 (__ieee754_exp): Save and restore rounding mode and use
29749 round-to-nearest for all computations.
29750 * math/libm-test.inc (exp_test_tonearest): New function.
29751 (exp_test_towardzero): Likewise.
29752 (exp_test_downward): Likewise.
29753 (exp_test_upward): Likewise.
29754 (main): Call the new functions.
29755 * sysdeps/i386/fpu/libm-test-ulps: Update.
29756 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29757
b1eeb65d
CD
297582012-03-01 Chris Demetriou <cgd@google.com>
29759
29760 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
29761 have predictable order.
29762
53362a4b
DM
297632012-03-01 David S. Miller <davem@davemloft.net>
29764
3c969083
DM
29765 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
29766
759707de
DM
29767 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
29768 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
29769 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
29770 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
29771
dfdb8ff2
DM
29772 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
29773 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
29774 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
29775 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
29776 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
29777 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
29778 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
29779 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
29780 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
29781
ead89f96
DM
29782 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29783
7f66bd07
DM
29784 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
29785 * sysdeps/sparc/fpu/libm-test-ulps: to here.
29786 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
29787
53362a4b
DM
29788 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
29789 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29790 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29791 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
29792 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
29793 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
29794 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
29795 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29796 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29797 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
29798 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
29799 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29800 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29801 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29802 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29803 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29804 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
29805 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
29806 * sysdeps/sparc/elf/configure: Regenerated.
29807
7b1902cb
JM
298082012-03-01 Joseph Myers <joseph@codesourcery.com>
29809
bec039bc
JM
29810 * configure.in (AS, LD): Require binutils 2.20 or later.
29811 * configure: Regenerated.
29812 * manual/install.texi (Tools for Compilation): Give binutils 2.20
29813 as required minimum version.
29814 * INSTALL: Regenerated.
29815
7b1902cb
JM
29816 [BZ #2541]
29817 [BZ #4108]
29818 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
29819 before squaring exponent.
29820 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
29821 bottom long double and 27 bits of top long double before squaring
29822 exponent.
29823 * math/libm-test.inc (erfc_test): Add more tests.
29824 * sysdeps/i386/fpu/libm-test-ulps: Update.
29825 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29826 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29827
f775c276
KT
298282012-03-01 Kai Tietz <ktietz@redhat.com>
29829
29830 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
29831 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
29832 containing bit-fields.
29833 * soft-fp/extended.h (_FP_UNION_E): Likewise.
29834 * soft-fp/single.h (_FP_UNION_S): Likewise.
29835 * soft-fp/double.h (_FP_UNION_D): Likewise.
29836
5b8a4d4a
JM
298372012-02-29 Joseph Myers <joseph@codesourcery.com>
29838
0bab47b6
JM
29839 [BZ #13786]
29840 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
29841 not include ../strcmp.S.
29842 [USE_AS_STRNCASECMP_L]: Likewise.
29843 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
29844 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
29845 * sysdeps/i386/i686/multiarch/strncase_l-c.c
29846 (__strncasecmp_l_ia32): Define as alias to
29847 __strncasecmp_l_nonascii.
29848
0fcad3e2
JM
29849 [BZ #5794]
29850 * math/libm-test.inc (expm1_test): Add test for bug 5794.
29851 * sysdeps/i386/fpu/libm-test-ulps: Update.
29852 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29853
5b8a4d4a
JM
29854 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
29855 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29856
8fdceb2e
JL
298572012-02-29 Jeff Law <law@redhat.com>
29858
29859 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
29860 out of bounds read.
29861
1f393a11
MP
298622012-02-29 Marek Polacek <polacek@redhat.com>
29863
29864 [BZ #13706]
29865 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
29866 * elf/Makefile: Add rules to run tst-unused-dep.out.
29867
8847f037
DM
298682012-02-28 David S. Miller <davem@davemloft.net>
29869
29870 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
29871 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
29872 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
29873 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
29874 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
29875 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
29876
169d7f11
JM
298772012-02-29 Joseph Myers <joseph@codesourcery.com>
29878
29879 * math/libm-test.inc (llround_test): Move one test from
29880 lround_test. Use TEST_f_L in moved test.
29881 (lround_test): Move misplaced test to llround_test. Add testcase
29882 from bug 2561.
29883
39adf059
UD
298842012-02-28 Ulrich Drepper <drepper@gmail.com>
29885
29886 * sysdeps/x86_64/fpu/e_expf.S: New file.
29887 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
29888
71b5d1c5
SB
298892012-02-28 Stanislav Brabec <sbrabec@suse.cz>
29890
29891 [BZ #13637]
29892 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
29893 of remain_len that may cause incomplete multi-byte character and
29894 false match.
29895 * posix/bug-regex33.c: New file.
29896 * posix/Makefile (tests): Add bug-regex33.
29897
1f77f049
JM
298982012-02-28 Joseph Myers <joseph@codesourcery.com>
29899
29900 * manual/macros.texi: New file.
29901 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
29902 * manual/libc.texinfo: Include macros.texi.
29903 * manual/creatute.texi: Likewise.
29904 * manual/install.texi: Likewise.
29905 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
29906 @glibcadj{} in references to the GNU C Library.
29907 * manual/charset.texi: Likewise.
29908 * manual/conf.texi: Likewise.
29909 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
29910 when not using those macros.
29911 * manual/creature.texi: Likewise.
29912 * manual/crypt.texi: Likewise.
29913 * manual/errno.texi: Likewise.
29914 * manual/filesys.texi: Likewise.
29915 * manual/header.texi: Likewise.
29916 * manual/install.texi: Likewise.
29917 * manual/intro.texi: Likewise.
29918 * manual/io.texi: Likewise.
29919 * manual/job.texi: Likewise.
29920 * manual/lang.texi: Likewise.
29921 * manual/libc.texiinfo: Likewise.
29922 * manual/llio.texi: Likewise.
29923 * manual/locale.texi: Likewise.
29924 * manual/maint.texi: Likewise.
29925 * manual/math.texi: Likewise.
29926 * manual/memory.texi: Likewise.
29927 * manual/message.texi: Likewise.
29928 * manual/nss.texi: Likewise.
29929 * manual/pattern.texi: Likewise.
29930 * manual/process.texi: Likewise.
29931 * manual/resource.texi: Likewise.
29932 * manual/search.texi: Likewise.
29933 * manual/setjmp.texi: Likewise.
29934 * manual/signal.texi: Likewise.
29935 * manual/socket.texi: Likewise.
29936 * manual/startup.texi: Likewise.
29937 * manual/stdio.texi: Likewise.
29938 * manual/string.texi: Likewise.
29939 * manual/sysinfo.texi: Likewise.
29940 * manual/syslog.texi: Likewise.
29941 * manual/terminal.texi: Likewise.
29942 * manual/time.texi: Likewise.
29943 * manual/users.texi: Likewise.
29944 * INSTALL: Regenerated.
29945 * NOTES: Regenerated.
d40c5d54 29946 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 29947
450bf206
AS
299482012-02-28 Andreas Schwab <schwab@linux-m68k.org>
29949
29950 * include/dirent.h: Include <dirstream.h> before
29951 <dirent/dirent.h>.
29952
741a235b
DM
299532012-02-28 David S. Miller <davem@davemloft.net>
29954
29955 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
29956 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
29957 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
29958 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
29959
d6b5aa58
DM
299602012-02-27 David S. Miller <davem@davemloft.net>
29961
1aff59a3
DM
29962 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
29963 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
29964 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
29965 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
29966
d6b5aa58
DM
29967 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
29968 frame pointer instead of stack pointer relative arg slot.
29969 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29970 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29971 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29972
433f48bf
CD
299732012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
29974
29975 [BZ #3992]
29976 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
29977
d674b76d
DM
299782012-02-27 David S. Miller <davem@davemloft.net>
29979
29980 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
29981 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29982 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
29983 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
29984 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29985 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29986 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
29987 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
29988
0e7727f7
JM
299892012-02-27 Joseph Myers <joseph@codesourcery.com>
29990
29991 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
29992 later. Allow versions 5-9.
43be4ca2 29993 * configure: Regenerated.
0e7727f7
JM
29994 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
29995 required minimum version and 4.6 as recommended version. Do not
29996 mention bugs in GCC 2.7 and 2.8.
43be4ca2 29997 * INSTALL: Regenerated.
0e7727f7 29998
a78bc654
DM
299992012-02-27 David S. Miller <davem@davemloft.net>
30000
428d5830
DM
30001 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
30002 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
30003 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
30004 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
30005 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
30006 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
30007 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
30008 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
30009
a78bc654
DM
30010 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
30011 manipulate bits before adding and subtracting TWO112[sx].
30012 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
30013
4579f81c
RM
300142012-02-27 Roland McGrath <roland@hack.frob.com>
30015
36c8acb4
RM
30016 [BZ #13775]
30017 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
30018 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
30019 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
30020 being in POSIX, because they are in 1003.1-2008.
30021
84ad622b
RM
30022 * rt/tst-aio.c: Include <fcntl.h>.
30023 * rt/tst-aio7.c: Likewise.
30024 * rt/tst-aio64.c: Likewise.
30025
4579f81c
RM
30026 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
30027
abd923db
JM
300282012-02-27 Joseph Myers <joseph@codesourcery.com>
30029
30030 * manual/install.texi (--with-headers): Describe headers as
30031 interface headers, not private headers.
30032 (Specific advice for GNU/Linux systems): Describe use of headers
30033 from "make headers_install", not private headers from older
30034 kernels.
43be4ca2 30035 * INSTALL: Regenerated.
abd923db
JM
30036 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
30037 Change to 2.6.19.
30038 * sysdeps/unix/sysv/linux/configure: Regenerated.
30039
6664049b
JM
30040 * manual/llio.texi (fclean): Remove documentation.
30041
bb8b6697
JM
30042 * manual/Makefile (libc-texi-generated): New variable. Include
30043 version.texi.
30044 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
30045 $(libc-texi-generated), not duplicated list of files.
30046 (version.texi, stamp-version): New rules.
30047 (realclean): Remove $(libc-texi-generated), not individual files
30048 from that list. Do not remove dir-add.texinfo.
30049 * manual/libc.texinfo: Comment out uses of edition numbers and
30050 references to printed manual. Remove last-updated dates.
30051 (EDITION): Comment out.
30052 (ISBN): Likewise.
30053 (VERSION, UPDATED): Remove.
30054 (version.texi): Include.
30055
12e5c3b9
AS
300562012-02-27 Andreas Schwab <schwab@linux-m68k.org>
30057
30058 * sysdeps/posix/spawni.c: Include <signal.h>.
30059 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
30060 * sysdeps/pthread/aio_fsync.c: Likewise.
30061
4efeffc1 300622012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 30063
ba63ba08
UD
30064 * conform/Makefile (tests): Run only when not cross-compiling and
30065 when fast-check is not defined.
30066
d94a4670
UD
30067 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
30068 * conform/data/limits.h-data: Fixes for POSIX2008.
30069 * conform/run-conformtest.sh: Run all tests.
30070 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
30071 headers.
30072 * include/bits/dlfcn.h: Likewise.
30073 * include/langinfo.h: Likewise.
30074 * include/monetary.h: Likewise.
30075 * include/sys/poll.h: Likewise.
30076
30077 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
30078 for __USE_GNU.
30079 * posix/spawn.h: Define __need_sigset_t.
30080 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
30081 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
30082 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
30083 to get sigevent_t only.
30084 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
30085 only for __USE_GNU.
30086 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30087 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
30088 process_vm_writev only for __USE_GNU.
30089 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
30090
30091 * conform/Makefile: For now ignore errors from run-conformtest.
30092 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
30093 POSIX to avoid namespace pollution. Don't prepend headers.
30094 * conform/data/aio.h-data: Fixes for POSIX testing.
30095 * conform/data/fcntl.h-data: Likewise.
30096 * conform/data/glob.h-data: Likewise.
30097 * conform/data/grp.h-data: Likewise.
30098 * conform/data/pthread.h-data: Likewise.
30099 * conform/data/pwd.h-data: Likewise.
30100 * conform/data/signal.h-data: Likewise.
30101 * conform/data/spawn.h-data: Likewise.
30102 * conform/data/stdio.h-data: Likewise.
30103 * conform/data/stdlib.h-data: Likewise.
30104 * conform/data/stropts.h-data: Likewise.
30105 * conform/data/sys/mman.h-data: Likewise.
30106 * conform/data/sys/stat.h-data: Likewise.
30107 * conform/data/sys/types.h-data: Likewise.
30108 * conform/data/sys/wait.h-data: Likewise.
30109 * conform/data/time.h-data: Likewise.
30110 * conform/data/unistd.h-data: Likewise.
30111 * conform/data/utime.h-data: Likewise.
30112
30113 * io/sys/stat.h: fchmod was always in POSIX.
30114 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
30115 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
30116 * rt/aio.h: Define __need_timespec before including <time.h>.
30117 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
30118 struct. Add forward declaration of pthread_attr_t and use it in
30119 sigevent.
30120 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
30121 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30122 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
30123 always remove CLK_TCK definition.
30124
c20105c3
AS
301252012-02-26 Andreas Schwab <schwab@linux-m68k.org>
30126
30127 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
30128
7a270350
UD
301292012-02-25 Ulrich Drepper <drepper@gmail.com>
30130
31341567
UD
30131 * conform/run-conformtest.sh: New file.
30132 * conform/Makefile: Run run-conformtest for tests.
30133 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
30134 support.
30135
30136 * conform/data/uchar.h-data: New file.
30137 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
30138 * conform/data/arpa/inet.h-data: Likewise.
30139 * conform/data/assert.h-data: Likewise.
30140 * conform/data/complex.h-data: Likewise.
30141 * conform/data/cpio.h-data: Likewise.
30142 * conform/data/ctype.h-data: Likewise.
30143 * conform/data/dirent.h-data: Likewise.
30144 * conform/data/dlfcn.h-data: Likewise.
30145 * conform/data/errno.h-data: Likewise.
30146 * conform/data/fcntl.h-data: Likewise.
30147 * conform/data/float.h-data: Likewise.
30148 * conform/data/fmtmsg.h-data: Likewise.
30149 * conform/data/fnmatch.h-data: Likewise.
30150 * conform/data/ftw.h-data: Likewise.
30151 * conform/data/glob.h-data: Likewise.
30152 * conform/data/grp.h-data: Likewise.
30153 * conform/data/iconv.h-data: Likewise.
30154 * conform/data/inttypes.h-data: Likewise.
30155 * conform/data/langinfo.h-data: Likewise.
30156 * conform/data/libgen.h-data: Likewise.
30157 * conform/data/limits.h-data: Likewise.
30158 * conform/data/locale.h-data: Likewise.
30159 * conform/data/math.h-data: Likewise.
30160 * conform/data/monetary.h-data: Likewise.
30161 * conform/data/mqueue.h-data: Likewise.
30162 * conform/data/ndbm.h-data: Likewise.
30163 * conform/data/net/if.h-data: Likewise.
30164 * conform/data/netdb.h-data: Likewise.
30165 * conform/data/netinet/in.h-data: Likewise.
30166 * conform/data/nl_types.h-data: Likewise.
30167 * conform/data/poll.h-data: Likewise.
30168 * conform/data/pthread.h-data: Likewise.
30169 * conform/data/pwd.h-data: Likewise.
30170 * conform/data/regex.h-data: Likewise.
30171 * conform/data/sched.h-data: Likewise.
30172 * conform/data/search.h-data: Likewise.
30173 * conform/data/semaphore.h-data: Likewise.
30174 * conform/data/setjmp.h-data: Likewise.
30175 * conform/data/signal.h-data: Likewise.
30176 * conform/data/spawn.h-data: Likewise.
30177 * conform/data/stdarg.h-data: Likewise.
30178 * conform/data/stdio.h-data: Likewise.
30179 * conform/data/stdlib.h-data: Likewise.
30180 * conform/data/string.h-data: Likewise.
30181 * conform/data/strings.h-data: Likewise.
30182 * conform/data/stropts.h-data: Likewise.
30183 * conform/data/sys/ipc.h-data: Likewise.
30184 * conform/data/sys/mman.h-data: Likewise.
30185 * conform/data/sys/msg.h-data: Likewise.
30186 * conform/data/sys/resource.h-data: Likewise.
30187 * conform/data/sys/select.h-data: Likewise.
30188 * conform/data/sys/sem.h-data: Likewise.
30189 * conform/data/sys/shm.h-data: Likewise.
30190 * conform/data/sys/socket.h-data: Likewise.
30191 * conform/data/sys/stat.h-data: Likewise.
30192 * conform/data/sys/statvfs.h-data: Likewise.
30193 * conform/data/sys/time.h-data: Likewise.
30194 * conform/data/sys/timeb.h-data: Likewise.
30195 * conform/data/sys/times.h-data: Likewise.
30196 * conform/data/sys/types.h-data: Likewise.
30197 * conform/data/sys/uio.h-data: Likewise.
30198 * conform/data/sys/un.h-data: Likewise.
30199 * conform/data/sys/utsname.h-data: Likewise.
30200 * conform/data/sys/wait.h-data: Likewise.
30201 * conform/data/syslog.h-data: Likewise.
30202 * conform/data/tar.h-data: Likewise.
30203 * conform/data/termios.h-data: Likewise.
30204 * conform/data/utime.h-data: Likewise.
30205 * conform/data/utmpx.h-data: Likewise.
30206 * conform/data/varargs.h-data: Likewise.
30207 * conform/data/wchar.h-data: Likewise.
30208 * conform/data/wctype.h-data: Likewise.
30209 * conform/data/wordexp.h-data: Likewise.
30210
30211 * include/stropts.h: New file.
30212 * include/uchar.h: New file.
30213 * include/aio.h: Changes to allow conformtest.pl to use the headers.
30214 * include/assert.h: Likewise.
30215 * include/ctype.h: Likewise.
30216 * include/dirent.h: Likewise.
30217 * include/dlfcn.h: Likewise.
30218 * include/fcntl.h: Likewise.
30219 * include/fnmatch.h: Likewise.
30220 * include/glob.h: Likewise.
30221 * include/grp.h: Likewise.
30222 * include/libio.h: Likewise.
30223 * include/locale.h: Likewise.
30224 * include/math.h: Likewise.
30225 * include/net/if.h: Likewise.
30226 * include/netdb.h: Likewise.
30227 * include/netinet/in.h: Likewise.
30228 * include/pthread.h: Likewise.
30229 * include/pwd.h: Likewise.
30230 * include/regex.h: Likewise.
30231 * include/sched.h: Likewise.
30232 * include/search.h: Likewise.
30233 * include/setjmp.h: Likewise.
30234 * include/signal.h: Likewise.
30235 * include/stdio.h: Likewise.
30236 * include/stdlib.h: Likewise.
30237 * include/string.h: Likewise.
30238 * include/sys/cdefs.h: Likewise.
30239 * include/sys/mman.h: Likewise.
30240 * include/sys/msg.h: Likewise.
30241 * include/sys/resource.h: Likewise.
30242 * include/sys/select.h: Likewise.
30243 * include/sys/socket.h: Likewise.
30244 * include/sys/stat.h: Likewise.
30245 * include/sys/statvfs.h: Likewise.
30246 * include/sys/time.h: Likewise.
30247 * include/sys/times.h: Likewise.
30248 * include/sys/uio.h: Likewise.
30249 * include/sys/utsname.h: Likewise.
30250 * include/sys/wait.h: Likewise.
30251 * include/termios.h: Likewise.
30252 * include/time.h: Likewise.
30253 * include/ulimit.h: Likewise.
30254 * include/unistd.h: Likewise.
30255 * include/utime.h: Likewise.
30256 * include/wchar.h: Likewise.
30257 * include/wctype.h: Likewise.
30258 * include/wordexp.h: Likewise.
30259
30260 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
30261
7a270350
UD
30262 * time/time.h: TIME_UTC must be a macro.
30263 Make timespec_get available for ISO C11 only as well.
30264
7724defc
UD
302652012-02-24 Ulrich Drepper <drepper@gmail.com>
30266
30267 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
30268 Reported by Peng Haitao <penght@cn.fujitsu.com>.
30269
6b1d1d46
JM
302702012-02-24 Joseph Myers <joseph@codesourcery.com>
30271
30272 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 30273
0f8bbd69
JM
302742012-02-24 Joseph Myers <joseph@codesourcery.com>
30275
30276 * manual/texinfo.tex: Update to version 2012-01-19.16.
30277
66ab80bc
JM
302782012-02-24 Joseph Myers <joseph@codesourcery.com>
30279
30280 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
30281
74981cc5
RM
302822012-02-24 Roland McGrath <roland@hack.frob.com>
30283
ee968201
RM
30284 [BZ #13738]
30285 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
30286 * manual/fdl-1.3.texi: New file.
30287 * manual/fdl-1.1.texi: File removed.
30288
74981cc5
RM
30289 [BZ #13738]
30290 * manual/libc.texinfo (FDL_VERSION): New @set.
30291 Use it for mention of FDL in cover text.
30292 (Documentation License): Use it in @include file name.
30293
7bb764bc
JM
302942012-02-22 Joseph Myers <joseph@codesourcery.com>
30295 Roland McGrath <roland@hack.frob.com>
30296
30297 [BZ #5461]
30298 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
30299 not LONG_LONG_MAX and LONG_LONG_MIN.
30300 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
30301 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
30302 name.
30303 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
30304
6cbeae47
JM
303052012-02-22 Joseph Myers <joseph@codesourcery.com>
30306
30307 [BZ #2547]
30308 [BZ #11365]
30309 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
30310 manipulate bits before adding and subtracting TWO23[sx].
30311 * math/libm-test.inc (nearbyint_test): Add more tests.
30312
fe45ce09
JM
303132012-02-22 Joseph Myers <joseph@codesourcery.com>
30314
30315 [BZ #2548]
30316 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
30317 bits before adding and subtracting TWO23[sx].
30318 * math/libm-test.inc (rint_test): Add more tests.
30319 (rint_test_tonearest): Likewise.
30320 (rint_test_towardzero): Likewise.
30321 (rint_test_downward): Likewise.
30322 (rint_test_upward: Likewise.
30323
ff3b3d82
JM
303242012-02-22 Joseph Myers <joseph@codesourcery.com>
30325
30326 [BZ #10110]
30327 * include/stdc-predef.h: New file. Extracted from features.h.
30328 * include/features.h: Include stdc-predef.h.
30329 * Makefile (headers): Add stdc-predef.h.
30330 * CONFORMANCE (Compiler limitations): Update.
30331
ef0aab35
JM
303322012-02-22 Joseph Myers <joseph@codesourcery.com>
30333
30334 * manual/libc.texinfo (VERSION, UPDATED): Revert.
30335
58639409
DM
303362012-02-21 David S. Miller <davem@davemloft.net>
30337
30338 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
30339 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
30340
c0e70b25
DM
303412012-02-20 David S. Miller <davem@davemloft.net>
30342
30343 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
30344 using a normal save/restore sequence, rather than allocating a
30345 dummy stack frame just to store a frame pointer and restore.
30346 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30347
fb06851d
JM
303482012-02-21 Joseph Myers <joseph@codesourcery.com>
30349
30350 * manual/install.texi: Fix stray word in line-wrapped comment.
30351
7a8b71c3
DM
303522012-02-20 David S. Miller <davem@davemloft.net>
30353
d510c123
DM
30354 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
30355 both binutils and gcc support GOTDATA.
30356
0722d7c2
DM
30357 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
30358 "rd %pc" in the PIC register setup sequences.
30359
3d2b3019
DM
30360 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
30361 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
30362 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
30363 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
30364 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
30365 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
30366 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30367 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30368 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
30369 (SYSCALL_ERROR_HANDLER): Likewise.
30370 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
30371 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30372 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
30373 (SYSCALL_ERROR_HANDLER): Likewise.
30374
c80098a9
DM
30375 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
30376 (HAVE_GCC_GOTDATA): New.
30377 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
30378 relocation support in both binutils and gcc.
30379 * sysdeps/sparc/elf/configure: Regenerate.
30380
3a2545a0
DM
30381 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
30382 * sysdeps/sparc/sparc32/elf/configure: Delete.
30383 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
30384 * sysdeps/sparc/sparc64/elf/configure: Delete.
30385 * sysdeps/sparc/elf/configure.in: New file.
30386 * sysdeps/sparc/elf/configure: Generate.
30387
7a8b71c3
DM
30388 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
30389 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
30390 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
30391 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
30392 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
30393
f1e86fca
JM
303942012-02-21 Joseph Myers <joseph@codesourcery.com>
30395
30396 * manual/install.texi: Do not mention specific glibc version
30397 numbers.
30398 * manual/libc.texinfo (VERSION, UPDATED): Update.
30399 (@copying): Use @copyright{} and range of years.
30400
0e7dfaef
JM
304012012-02-21 Joseph Myers <joseph@codesourcery.com>
30402
30403 [BZ #13695]
30404 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
30405 [crti.S not in sysdirs] (generated): Do not append.
30406 [crti.S not in sysdirs] (omit-deps): Likewise.
30407 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
30408 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
30409 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
30410 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
30411 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
30412 Likewise.
30413 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
30414 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
30415 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
30416 * csu/defs.awk: Remove file.
30417 * sysdeps/generic/initfini.c: Likewise.
30418 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
30419 variable.
30420 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
30421 Likewise.
30422
599af3ca
JM
304232012-02-20 Joseph Myers <joseph@codesourcery.com>
30424
30425 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
30426 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
30427 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
30428 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
30429 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30430 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
30431 <bits/epoll.h>.
30432 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
30433 (__EPOLL_PACKED): Define to empty if not defined by
30434 <bits/epoll.h>.
30435 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
30436 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30437 bits/epoll.h.
30438
0e499750
JM
304392012-02-20 Joseph Myers <joseph@codesourcery.com>
30440
30441 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
30442 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
30443 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
30444 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
30445 <bits/timerfd.h>.
30446 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
30447 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30448 bits/timerfd.h.
30449
5ad91f6e
JM
304502012-02-20 Joseph Myers <joseph@codesourcery.com>
30451
30452 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
30453 in C locale.
30454 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30455 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
30456 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
30457 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30458
06b99b02
AJ
304592012-02-20 Aurelien Jarno <aurelien@aurel32.net>
30460
30461 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30462 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
30463
7638c0fd
AS
304642012-02-19 Andreas Schwab <schwab@linux-m68k.org>
30465
30466 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
30467 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
30468 defined.
30469 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
30470 Likewise.
30471 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
30472 entry for 2.16.
30473
92221550
AJ
304742012-02-19 Aurelien Jarno <aurelien@aurel32.net>
30475
30476 * math/w_acos.c: Use non-signaling floating-point comparisons.
30477 * math/w_acosf.c: Likewise.
30478 * math/w_acosh.c: Likewise.
30479 * math/w_acoshf.c: Likewise.
30480 * math/w_acoshl.c: Likewise.
30481 * math/w_acosl.c: Likewise.
30482 * math/w_asin.c: Likewise.
30483 * math/w_asinf.c: Likewise.
30484 * math/w_asinl.c: Likewise.
30485 * math/w_atanh.c: Likewise.
30486 * math/w_atanhf.c: Likewise.
30487 * math/w_atanhl.c: Likewise.
30488 * math/w_exp2.c: Likewise.
30489 * math/w_exp2f.c: Likewise.
30490 * math/w_exp2l.c: Likewise.
30491 * math/w_j0.c: Likewise.
30492 * math/w_j0f.c: Likewise.
30493 * math/w_j0l.c: Likewise.
30494 * math/w_j1.c: Likewise.
30495 * math/w_j1f.c: Likewise.
30496 * math/w_j1l.c: Likewise.
30497 * math/w_jn.c: Likewise.
30498 * math/w_jnf.c: Likewise.
30499 * math/w_log.c: Likewise.
30500 * math/w_log10.c: Likewise.
30501 * math/w_log10f.c: Likewise.
30502 * math/w_log10l.c: Likewise.
30503 * math/w_log2.c: Likewise.
30504 * math/w_log2f.c: Likewise.
30505 * math/w_log2l.c: Likewise.
30506 * math/w_logf.c: Likewise.
30507 * math/w_logl.c: Likewise.
30508 * math/w_sqrt.c: Likewise.
30509 * math/w_sqrtf.c: Likewise.
30510 * math/w_sqrtl.c: Likewise.
30511 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30512 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
30513 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30514 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
30515 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
30516
ebaf36eb
JM
305172012-02-19 Joseph Myers <joseph@codesourcery.com>
30518
30519 [BZ #9739]
30520 * manual/string.texi (strnlen): Use correct parameter name in
30521 equivalent expression.
30522
71c254a6
JM
305232012-02-19 Joseph Myers <joseph@codesourcery.com>
30524
30525 [BZ #11174]
30526 * manual/users.texi (seteuid): Consistently use neweuid for
30527 argument name.
30528
16d2c631
JM
305292012-02-19 Joseph Myers <joseph@codesourcery.com>
30530
30531 [BZ #13704]
30532 * manual/nss.texi (Services in the NSS configuration): Correct
30533 list of services in example configuration file.
30534
cd837b09
NB
305352012-02-19 Nick Bowler <nbowler@draconx.ca>
30536
30537 [BZ #11322]
30538 * manual/arith.texi: Remove statements about negative zero
30539 behaving identically to zero.
30540
02c4bbad
JM
305412012-02-18 Joseph Myers <joseph@codesourcery.com>
30542
30543 [BZ #5993]
30544 * manual/install.texi: Do not document upgrading from libc5.
30545
366842e7
JM
305462012-02-18 Joseph Myers <joseph@codesourcery.com>
30547
30548 [BZ #4596]
30549 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
30550
dd54084d
DM
305512012-02-18 David S. Miller <davem@davemloft.net>
30552
30553 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
30554 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
30555 %o7 across the call.
30556 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
30557 instead.
30558 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
30559 SETUP_PIC_REG_LEAF.
30560 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30561 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
30562 * sysdeps/sparc/crtn.S: Likewise.
30563
2bcc53a3
UD
305642012-02-17 Ulrich Drepper <drepper@gmail.com>
30565
30566 * aout/Makefile: Remove.
30567
09c093b5
RK
305682012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
30569
30570 [BZ #13058]
30571 * manual/examples/argp-ex1.c (main): Format definition in GNU
30572 style.
30573 * manual/examples/argp-ex2.c (main): Likewise.
30574 * manual/examples/argp-ex3.c (main): Likewise.
30575 * manual/examples/argp-ex4.c (main): Likewise.
30576 * manual/examples/longopt.c (main): Use new-style prototype
30577 definition.
30578 * manual/examples/strncat.c (main): Specify return type and use
30579 (void) for arguments.
30580 * manual/examples/subopt.c (main): Use char **argv argument.
30581
2ee633a2
JM
305822012-02-17 Joseph Myers <joseph@codesourcery.com>
30583
30584 [BZ #5077]
30585 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
30586 rounding modes.
30587
0520adde
FB
305882012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
30589
30590 [BZ #6907]
30591 * manual/string.texi (strchr): Change when strchrnul is
30592 recommended.
30593
3f4081cd
DGM
305942012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
30595
30596 [BZ #174]
30597 * manual/locale.texi (setlocale): Document LOCPATH.
30598
d1b10e78
JM
305992012-02-17 Joseph Myers <joseph@codesourcery.com>
30600
30601 [BZ #10210]
30602 * manual/process.texi (execle): Move @dots{} before last argument.
30603
79c6869c
PB
306042012-02-17 Paul Bolle <pebolle@tiscali.nl>
30605
30606 [BZ #12047]
30607 * manual/charset.texi (Generic Charset Conversion): Fix typo
30608 (LC_TYPE -> LC_CTYPE).
30609
cc6e48bc
NB
306102012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
30611
30612 [BZ #5805]
30613 * manual/arith.texi (scalbn): Use @var{} on parameter names.
30614 (scalbnf): Likewise.
30615 (scalbnl): Likewise.
30616 (scalbln): Likewise.
30617 (scalblnf): Likewise.
30618 (scalblnl): Likewise.
30619 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
30620 (vwarnx): Likewise.
30621 (verr): Likewise.
30622 (verrx): Likewise.
30623 * manual/filesys.texi (telldir): Use braces around return type.
30624 * manual/llio.texi (mmap): Add space after comma.
30625 (mmap64): Likewise.
30626 * manual/math.texi (jn): Use @var{} on parameter names.
30627 (jnf): Likewise.
30628 (jnl): Likewise.
30629 (yn): Likewise.
30630 (ynf): Likewise.
30631 (ynl): Likewise.
30632 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
30633 line.
30634 * manual/resource.texi (ulimit): Use @dots{} instead of literal
30635 "...".
30636 (sched_get_priority_min): Remove semicolon on @deftypefun line.
30637 (sched_get_priority_max): Likewise.
30638 * manual/signal.texi (sigvec): Add space after comma.
30639 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
30640 names.
30641 (if_indextoname): Likewise.
30642 (if_freenameindex): Likewise.
30643 (sendto): Use ',' instead of '.' in prototype.
30644 * manual/startup.texi (syscall): Use @dots{} instead of literal
30645 "...".
30646 * manual/stdio.texi (__fpending): Separate initial words of
30647 paragraph from @deftypefun line.
30648 * manual/syslog.texi (syslog): Use @dots{} instead of literal
30649 "...".
30650 (vsyslog): Use @var{} on parameter names.
30651 * manual/terminal.texi (stty): Use @var{} on parameter names.
30652 * manual/users.texi (getutmp): Use @var{} on parameter names.
30653 (getutmpx): Likewise.
30654
5b23062f
JM
306552012-02-17 Joseph Myers <joseph@codesourcery.com>
30656
30657 [BZ #6884]
30658 * manual/stdio.texi (fopen): Fix typos in description of
30659 ",ccs=STRING".
30660
8dee4833
AJ
306612012-02-17 Aurelien Jarno <aurelien@aurel32.net>
30662
30663 [BZ #4026]
30664 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
30665 get clock_id definition.
30666
9078ce93
TS
306672012-02-17 Thomas Schwinge <thomas@schwinge.name>
30668
30669 [BZ #4822]
30670 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
30671 (madvise): Cast every argument to void on its own.
30672
3835c55f
JM
306732012-02-17 Joseph Myers <joseph@codesourcery.com>
30674
30675 [BZ #9902]
30676 * manual/startup.texi (Exit Status): Fix typo.
30677
35c47e37
JM
306782012-02-17 Joseph Myers <joseph@codesourcery.com>
30679
30680 [BZ #10140]
30681 * manual/examples/argp-ex1.c: Include <stdlib.h>.
30682 * manual/examples/argp-ex2.c: Likewise.
30683 * manual/examples/argp-ex3.c: Likewise.
30684
e3b69ca7
RH
306852012-02-16 Richard Henderson <rth@redhat.com>
30686
30687 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
30688 * sysdeps/s390/s390-32/initfini.c: Remove.
30689 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
30690 * sysdeps/s390/s390-64/initfini.c: Remove.
30691
df83af67
KK
306922012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30693
30694 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
30695 compiler output for sysdeps/generic/initfini.c.
30696 * sysdeps/sh/elf/initfini.c: Remove file.
30697
f63f3380
DM
306982012-02-16 David S. Miller <davem@davemloft.net>
30699
fb59b3a4
DM
30700 [BZ #11494]
30701 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
30702
f63f3380
DM
30703 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
30704 * sysdeps/sparc/crti.S: New file.
30705 * sysdeps/sparc/crtn.S: New file.
30706 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
30707 * sysdeps/sparc/sparc64/Makefile: Likewise.
30708
df6a4a4a
MF
307092012-02-15 Mike Frysinger <vapier@gentoo.org>
30710
6dd8f3dc 30711 [BZ #3335]
df6a4a4a
MF
30712 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
30713
1cac7236
RM
307142012-02-15 Roland McGrath <roland@hack.frob.com>
30715
d2c736f8
RM
30716 [BZ #4822]
30717 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
30718
1cac7236
RM
30719 * mach/devstream.c (cookie_io_functions_t): Macro removed.
30720 (write, read, close): Likewise.
30721 Patch by Aurelien Jarno <aurelien@aurel32.net>.
30722
8e475601
JM
307232012-02-15 Joseph Myers <joseph@codesourcery.com>
30724
30725 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
30726 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
30727 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
30728 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
30729 <bits/signalfd.h>.
30730 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
30731 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30732 bits/signalfd.h.
30733
ed656b40
MP
307342012-02-14 Marek Polacek <polacek@redhat.com>
30735
30736 * sysdeps/x86_64/crti.S: New file.
30737 * sysdeps/x86_64/crtn.S: New file.
30738 * sysdeps/x86_64/elf/initfini.c: Remove file.
30739
2a979d3a
JM
307402012-02-13 Joseph Myers <joseph@codesourcery.com>
30741
30742 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
30743 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
30744 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
30745 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
30746 <bits/inotify.h>.
30747 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
30748 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30749 bits/inotify.h.
30750
2a418ac3
JM
307512012-02-13 Joseph Myers <joseph@codesourcery.com>
30752
30753 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
30754 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
30755 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
30756 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
30757 <bits/eventfd.h>.
30758 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
30759 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30760 bits/eventfd.h.
30761
fb779be7
TS
307622012-02-10 Thomas Schwinge <thomas@codesourcery.com>
30763
e19e83c5
RM
30764 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
30765 __feraiseexcept instead of feraiseexcept.
7c35ffed 30766
fb779be7
TS
30767 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
30768 nanosleep invocations.
30769 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
30770 strings, and add error checking for a nanosleep invocations.
30771
59ba27a6
PE
307722012-02-09 Paul Eggert <eggert@cs.ucla.edu>
30773
30774 Replace FSF snail mail address with URLs, as per GNU coding standards.
30775 Most of the snail mail addresses were wrong anyway, and omitting
30776 them makes the source code easier to maintain. Almost all of the
30777 changes are to license notices and to locale LC_IDENTIFICATION
30778 addresses, except for this one:
30779 * manual/libc.texinfo: In "Published by", give the FSF's URL,
30780 not its snail mail address.
30781
57b957eb
RH
307822012-02-09 Richard Henderson <rth@twiddle.net>
30783
af850b1c
RH
30784 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
30785 of kernel-features.h.
30786
57b957eb
RH
30787 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
30788
6b73181a
MP
307892012-02-08 Marek Polacek <polacek@redhat.com>
30790
30791 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
30792 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
30793 * sysdeps/gnu/_G_config.h: Likewise.
30794 * sysdeps/generic/_G_config.h: Likewise.
30795
26ecc33a
AS
307962012-02-08 Andreas Schwab <schwab@linux-m68k.org>
30797
6c6dbc63
AS
30798 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
30799 tests.
30800 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30801
e216c012
AS
30802 * sysdeps/powerpc/powerpc32/crti.S: New file.
30803 * sysdeps/powerpc/powerpc32/crtn.S: New file.
30804 * sysdeps/powerpc/powerpc64/crti.S: New file.
30805 * sysdeps/powerpc/powerpc64/crtn.S: New file.
30806
26ecc33a
AS
30807 * Makeconfig (have-initfini): Don't set.
30808 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
30809 * configure.in (nopic_initfini): Don't substitute.
30810 * config.h.in (HAVE_INITFINI): Don't #undef.
30811 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
30812 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
30813
3add8e13
JM
308142012-02-08 Joseph Myers <joseph@codesourcery.com>
30815
30816 Support crti.S and crtn.S provided directly by architectures.
30817 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
30818 [crti.S in sysdirs] (omit-deps): Likewise.
30819 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
30820 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
30821 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
30822 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
30823 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
30824 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
30825 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
30826 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
30827 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
30828 compiler output for sysdeps/generic/initfini.c.
30829 * sysdeps/i386/elf/Makefile: Remove file.
30830 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
30831
a22f12b4
MP
308322012-02-07 Marek Polacek <polacek@redhat.com>
30833
30834 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
30835 * sysdeps/gnu/_G_config.h: Likewise.
30836 * sysdeps/mach/hurd/_G_config.h: Likewise.
30837
148cf100
MP
308382012-02-07 Marek Polacek <polacek@redhat.com>
30839
30840 * math/Makefile (tests): Add tst-CMPLX2.
30841 * math/tst-CMPLX2.c: New file.
30842
cfdc0dd7
AS
308432012-02-07 Andreas Schwab <schwab@linux-m68k.org>
30844
84ba42c4
AS
30845 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30846
cfdc0dd7
AS
30847 * math/libm-test.inc (jn_test): Add missing L suffix.
30848
622c86f4
MP
308492012-02-06 Marek Polacek <polacek@redhat.com>
30850
30851 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
30852 * sysdeps/i386/fpu/e_powf.S: Likewise.
30853 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30854 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
30855 * sysdeps/i386/fpu/e_acosh.S: Likewise.
30856 * sysdeps/i386/fpu/e_pow.S: Likewise.
30857 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30858 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30859 * sysdeps/i386/fpu/s_expm1.S: Likewise.
30860 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30861 * sysdeps/i386/fpu/e_log2.S: Likewise.
30862 * sysdeps/i386/fpu/e_log2l.S: Likewise.
30863 * sysdeps/i386/fpu/e_scalb.S: Likewise.
30864 * sysdeps/i386/fpu/e_powl.S: Likewise.
30865 * sysdeps/i386/fpu/s_log1p.S: Likewise.
30866 * sysdeps/i386/fpu/e_log10f.S: Likewise.
30867 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30868 * sysdeps/i386/fpu/e_logl.S: Likewise.
30869 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30870 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
30871 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30872 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30873 * sysdeps/i386/fpu/e_log2f.S: Likewise.
30874 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30875 * sysdeps/i386/fpu/e_log.S: Likewise.
30876 * sysdeps/i386/fpu/s_cexp.S: Likewise.
30877 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30878 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
30879 * sysdeps/i386/fpu/e_logf.S: Likewise.
30880 * sysdeps/i386/fpu/e_log10l.S: Likewise.
30881 * sysdeps/i386/fpu/e_atanh.S: Likewise.
30882 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
30883 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30884 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
30885 * sysdeps/i386/fpu/e_log10.S: Likewise.
30886 * sysdeps/i386/fpu/s_frexp.S: Likewise.
30887 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30888 * sysdeps/i386/fpu/s_asinh.S: Likewise.
30889 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30890 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30891 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30892 * sysdeps/i386/asm-syntax.h: Likewise.
30893 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30894 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30895 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30896 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
30897 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
30898 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30899 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30900 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30901 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30902 * sysdeps/powerpc/sysdep.h: Likewise.
30903 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
30904 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30905
d4a54ac6
JM
309062012-02-06 Joseph Myers <joseph@codesourcery.com>
30907
30908 [BZ #411]
30909 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
30910
314054ea
JM
309112012-02-06 Joseph Myers <joseph@codesourcery.com>
30912
30913 * sysdeps/i386/sysdep.h: Include <features.h>.
30914 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
30915 version.
30916
d8e0ca50
JM
309172012-02-05 Joseph Myers <joseph@codesourcery.com>
30918
30919 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
30920 Define.
30921 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
30922 LOAD_PIC_REG_STR.
30923
b1da7dd9
JM
309242012-02-03 Joseph Myers <joseph@codesourcery.com>
30925
30926 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
30927 (SETUP_PIC_REG): Use GET_PC_THUNK.
30928 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
30929 macro.
30930
9a1d9254
JM
309312012-02-03 Joseph Myers <joseph@codesourcery.com>
30932
30933 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
30934 for non-PIC compilation.
30935 (SETUP_PIC_REG): Add .p2align directive.
30936 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
30937 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
30938 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30939 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30940 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
30941 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30942 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
30943 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30944 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30945 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30946 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30947 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30948 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30949 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30950 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30951 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
30952 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
30953 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30954 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30955 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30956 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30957 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
30958 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30959 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30960 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
30961 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
30962 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30963 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
30964 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30965 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30966 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30967 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30968 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30969 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30970 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30971 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30972 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30973 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30974 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30975 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30976 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30977
65dc3b75
JM
309782012-02-03 Joseph Myers <joseph@codesourcery.com>
30979
30980 * math/tst-CMPLX.c: Include <stdio.h>.
30981
d55bf177
JM
309822012-01-31 Joseph Myers <joseph@codesourcery.com>
30983
30984 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
30985 float.
30986 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
30987 * sysdeps/sparc/bits/mathdef.h: Likewise.
30988
69db4f8f
MP
309892012-01-31 Marek Polacek <polacek@redhat.com>
30990
30991 * libio/libio.h: Don't define _PARAMS.
30992 * locale/programs/config.h: Don't define PARAMS.
30993 * stdlib/strtol_l.c: Likewise.
30994 (__strtol_l): Remove PARAMS from the prototype.
30995
41b81892
UD
309962012-01-31 Ulrich Drepper <drepper@gmail.com>
30997
3b49edc0
UD
30998 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
30999 names. Just use the correct names. Remove unnecessary wrapper
31000 functions.
31001 * malloc/arena.c: Likewise.
31002 * malloc/hooks.c: Likewise.
31003
41b81892
UD
31004 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
31005 ARENA_TEST says not to. Simplify test for creation of a new arena.
31006 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
31007
27a25b6e
UD
310082012-01-30 Ulrich Drepper <drepper@gmail.com>
31009
31010 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
31011 into tail calls.
31012 (update_get_addr): New function.
31013 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
31014 GET_ADDR_MODULE parameter.
31015
c8a89e7d
JM
310162012-01-30 Joseph Myers <joseph@codesourcery.com>
31017
31018 * crypt/cert.c: Remove __STDC__ conditionals.
31019 * crypt/crypt-entry.c: Likewise.
31020 * crypt/crypt_util.c: Likewise.
31021 * libio/filedoalloc.c: Likewise.
31022 * libio/fileops.c: Likewise.
31023 * libio/genops.c: Likewise.
31024 * libio/iofclose.c: Likewise.
31025 * libio/iofdopen.c: Likewise.
31026 * libio/iofopen.c: Likewise.
31027 * libio/iofopen64.c: Likewise.
31028 * libio/iogetdelim.c: Likewise.
31029 * libio/iopopen.c: Likewise.
31030 * libio/obprintf.c: Likewise.
31031 * libio/oldfileops.c: Likewise.
31032 * libio/oldiofclose.c: Likewise.
31033 * libio/oldiofdopen.c: Likewise.
31034 * libio/oldiofopen.c: Likewise.
31035 * libio/oldiopopen.c: Likewise.
31036 * libio/wfiledoalloc.c: Likewise.
31037 * libio/wgenops.c: Likewise.
31038 * locale/programs/xmalloc.c: Likewise.
31039 * misc/syslog.c: Likewise.
31040 * stdio-common/xbug.c: Likewise.
31041 * string/memchr.c: Likewise.
31042 * string/memcmp.c: Likewise.
31043 * string/memrchr.c: Likewise.
31044 * string/rawmemchr.c: Likewise.
31045 * sysdeps/posix/getcwd.c: Likewise.
31046 * time/strftime_l.c: Likewise.
31047
3b100462
JM
310482012-01-30 Joseph Myers <joseph@codesourcery.com>
31049
31050 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
31051 * config.make.in (config-cflags-sse2avx): Define.
31052 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
31053 Fix typo.
31054
607998af
CM
310552012-01-29 Chris Metcalf <cmetcalf@tilera.com>
31056
31057 * scripts/config.guess: Update from upstream config git repository.
31058 * scripts/config.sub: Likewise.
31059
3601428f
CM
310602012-01-28 Chris Metcalf <cmetcalf@tilera.com>
31061
3ac8b282
CM
31062 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
31063 (EM_NUM): Update.
31064 (R_TILEPRO_*, R_TILEGX_*): New macros.
31065
e034841e
CM
31066 * scripts/firstversions.awk: Fix bug in version range handling.
31067
540d7568
CM
31068 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
31069
3601428f
CM
31070 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
31071
463de862
CM
31072 * include/sys/epoll.h: New file.
31073 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
31074 libc_hidden_def.
31075
73139a76
UD
310762012-01-28 Ulrich Drepper <drepper@gmail.com>
31077
96bc5b45
UD
31078 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
31079 Avoid unnecessary __WORDSIZE == 64 test.
31080 (fmaxf): Use VEX format if possible.
31081 (fmax): Likewise.
31082 (fminf): Likewise.
31083 (fmin): Likewise.
31084
56f6f6a2
UD
31085 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
31086 * math/math_private.h: Remove libc_fegetround* and
31087 libc_fesetround*.
31088 * sysdeps/i386/configure.in: Check for -msse2avx.
31089 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
31090 also if SSE2AVX is defined.
31091 Remove libc_fegetround* and libc_fesetround*.
31092 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
31093 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
31094 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
31095 of HAS_YMM_USABLE.
31096 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31097 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31098 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31099 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31100 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31101
73139a76
UD
31102 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
31103
d73f93a4
AZ
311042012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31105
31106 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
31107 size is not set.
31108 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
31109
6ee65ed6
UD
311102012-01-27 Ulrich Drepper <drepper@gmail.com>
31111
31112 [BZ #13618]
31113 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
31114 relocation.
31115 * Makeconfig (libm): Define.
31116 * elf/Makefile: Add rules to build and run tst-relsort1.
31117 * elf/tst-relsort1.c: New file.
31118 * elf/tst-relsort1mod1.c: New file.
31119 * elf/tst-relsort1mod2.c: New file.
31120
8db21882
JM
311212012-01-27 Joseph Myers <joseph@codesourcery.com>
31122
31123 * math/s_ldexp.c: Remove __STDC__ conditionals.
31124 * math/s_ldexpf.c: Likewise.
31125 * math/s_ldexpl.c: Likewise.
31126 * math/s_nextafter.c: Likewise.
31127 * math/s_nexttowardf.c: Likewise.
31128 * math/s_significand.c: Likewise.
31129 * math/s_significandf.c: Likewise.
31130 * math/s_significandl.c: Likewise.
31131 * math/w_jnl.c: Likewise.
31132 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
31133 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
31134 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
31135 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
31136 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
31137 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
31138 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
31139 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
31140 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
31141 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
31142 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
31143 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31144 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
31145 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
31146 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
31147 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
31148 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
31149 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
31150 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
31151 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
31152 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
31153 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
31154 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
31155 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31156 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
31157 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
31158 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
31159 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
31160 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
31161 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
31162 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
31163 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
31164 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
31165 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
31166 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
31167 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
31168 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
31169 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
31170 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
31171 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
31172 * sysdeps/ieee754/k_standard.c: Likewise.
31173 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
31174 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
31175 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
31176 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
31177 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
31178 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
31179 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
31180 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
31181 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
31182 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
31183 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
31184 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
31185 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
31186 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
31187 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
31188 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
31189 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
31190 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
31191 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
31192 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
31193 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
31194 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
31195 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
31196 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
31197 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
31198 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
31199 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
31200 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
31201 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
31202 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
31203 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
31204 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
31205 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
31206 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
31207 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
31208 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
31209 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
31210 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
31211 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
31212 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
31213 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
31214 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
31215 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
31216 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
31217 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
31218 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
31219 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
31220 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
31221 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
31222 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
31223 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
31224 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
31225 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
31226 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
31227 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
31228 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
31229 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
31230 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
31231 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
31232 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
31233 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
31234 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
31235 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
31236 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
31237 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
31238 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
31239 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
31240 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
31241 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
31242 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
31243 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
31244 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
31245 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
31246 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
31247 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
31248 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
31249 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
31250 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
31251 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
31252 * sysdeps/ieee754/s_matherr.c: Likewise.
31253 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
31254 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
31255 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
31256 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
31257
965a54a4
JM
312582012-01-26 Joseph Myers <joseph@codesourcery.com>
31259
31260 * crypt/md5.h: Remove __STDC__ conditionals.
31261 * libio/libioP.h: Likewise.
31262 * locale/programs/config.h: Likewise.
31263 * sysdeps/generic/sysdep.h: Likewise.
31264 * sysdeps/i386/asm-syntax.h: Likewise.
31265 * sysdeps/s390/asm-syntax.h: Likewise.
31266 * sysdeps/unix/sysdep.h: Likewise.
31267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
31268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31269
7071ad79
JM
312702012-01-26 Joseph Myers <joseph@codesourcery.com>
31271
31272 * libio/libio.h: Remove __STDC__ conditionals.
31273 * malloc/obstack.h: Likewise.
31274 * math/complex.h: Likewise.
31275 * math/math.h: Likewise.
31276 * sysdeps/generic/_G_config.h: Likewise.
31277 * sysdeps/gnu/_G_config.h: Likewise.
31278 * sysdeps/mach/hurd/_G_config.h: Likewise.
31279 * sysdeps/powerpc/bits/mathdef.h: Likewise.
31280 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
31281 * sysdeps/sparc/bits/mathdef.h: Likewise.
31282
afc5ed09
UD
312832012-01-26 Ulrich Drepper <drepper@gmail.com>
31284
31285 [BZ #13583]
31286 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 31287 Clean up HAS_* macros.
afc5ed09 31288 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
31289 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
31290 possible.
31291 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
31292 HAS_AVX.
31293 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31294 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31295 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31296 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31297 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 31298
bdb6de1d
JM
312992012-01-25 Joseph Myers <joseph@codesourcery.com>
31300
31301 * elf/tst-unique3.cc (gets): Remove declaration.
31302 * elf/tst-unique3lib.cc (gets): Likewise.
31303 * elf/tst-unique3lib2.cc (gets): Likewise.
31304 * elf/tst-unique4.cc (gets): Likewise.
31305
b15549e6
UD
313062012-01-24 Ulrich Drepper <drepper@gmail.com>
31307
31308 * include/stdio.h: Add C++ protection. Add gets declarations and
31309 definitions.
31310 * debug/tst-chk1.c: Don't declare gets here.
31311 * stdio-common/tst-gets.c: Likewise.
31312
a037381f
JM
313132012-01-24 Joseph Myers <joseph@codesourcery.com>
31314
31315 * posix/glob: Remove directory.
31316
f1d4aa75
JM
313172012-01-24 Joseph Myers <joseph@codesourcery.com>
31318
31319 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
31320
81c0c964
PT
313212012-01-22 Pino Toscano <toscano.pino@tiscali.it>
31322
31323 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
31324 of the non-standard EPFNOSUPPORT.
31325
0ea698ae
ST
313262011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
31327
31328 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
31329 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
31330 ANYWHERE set to 1 only on KERN_NO_SPACE error.
31331
d220b117
UD
313322012-01-21 Ulrich Drepper <drepper@gmail.com>
31333
31334 * wcsmbs/uchar.h: Test __STDC_VERSION__.
31335
3e1aa84e
UD
313362012-01-20 Ulrich Drepper <drepper@gmail.com>
31337
31338 * nscd/aicache.c (addhstaiX): Do not cache negative results of
31339 transient errors.
31340 * nscd/grpcache.c (cache_addgr): Likewise.
31341 * nscd/hstcache.c (cache_addhst): Likewise.
31342 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31343 * nscd/pwdcache.c (cache_addpw): Likewise.
31344 * nscd/servicescache.c (cache_addserv): Likewise.
31345
400aa020
UD
313462012-01-16 Ulrich Drepper <drepper@gmail.com>
31347
d77e7869
UD
31348 * malloc/malloc.c: Various cleanups.
31349 * malloc/hooks.c: Likewise.
31350
400aa020
UD
31351 * stdlib/Makefile (tests): Add bug-fmtmsg1.
31352 * stdlib/bug-fmtmsg1.c: New file.
31353
31354 * stdlib/fmtmsg.c (init): Add missing unlock.
31355 Patch by Peng Haitao <penght@cn.fujitsu.com>.
31356
e0a309cf
MP
313572012-01-12 Marek Polacek <polacek@redhat.com>
31358
31359 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
31360 and _GNU_SOURCE.
31361
929d11c7
WS
313622012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
31363
31364 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
31365 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
31366 macro to ensure uniqueness of label name.
31367 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
31368 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
31369
41d0e869
UD
313702012-01-11 Ulrich Drepper <drepper@gmail.com>
31371
0cc5ed3b
UD
31372 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
31373
41d0e869
UD
31374 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
31375 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
31376 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
31377 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
31378
a47a831a
UD
313792012-01-10 Ulrich Drepper <drepper@gmail.com>
31380
daa891c0
UD
31381 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
31382
31383 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
31384 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
31385 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
31386
e58ef0f2
UD
31387 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
31388
a47a831a 31389 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
31390 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
31391 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 31392 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
31393
31394 * math/bits/math-finite.h: Add ldexp support.
31395
a0bfc9c7
MP
313962012-01-10 Marek Polacek <polacek@redhat.com>
31397
31398 * locale/programs/localedef.h (show_archive_content): Add noreturn
31399 attribute.
31400
d6e97a1d
UD
314012012-01-09 Ulrich Drepper <drepper@gmail.com>
31402
31403 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
31404
d5835c26
UD
314052012-01-08 Ulrich Drepper <drepper@gmail.com>
31406
e5f484c6
UD
31407 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
31408
d5835c26
UD
31409 * io/Makefile (headers): Add bits/poll2.h.
31410
d1f741e9
WS
314112011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
31412
31413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
31414 typo #include statement.
31415
ec09c1c4
UD
314162012-01-08 Ulrich Drepper <drepper@gmail.com>
31417
31418 * include/sys/cdefs.h: Define __attribute_alloc_size.
31419 * catgets/gencat.c: Add alloc_size attribute and apply consistently
31420 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
31421 * elf/pldd.c: Likewise.
31422 * iconv/iconv_charmap.c: Likewise.
31423 * iconv/iconvconfig.c: Likewise.
31424 * iconv/strtab.c: Likewise.
31425 * locale/programs/locale.c: Likewise.
31426 * locale/programs/localedef.h: Likewise.
31427 * locale/programs/simple-hash.c: Likewise.
31428 * nscd/nscd.h: Likewise.
31429 * nss/makedb.c: Likewise.
31430 * sysdeps/generic/ldconfig.h: Likewise.
31431 * locale/programs/localedef.c: Remove xmalloc prototype.
31432 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
31433
20b38e03
PP
314342012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
31435
31436 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
31437 appropriate.
31438
a0da5fe1
UD
314392012-01-08 Ulrich Drepper <drepper@gmail.com>
31440
1d5a644a 31441 * math/Makefile (tests): Add tst-CMPLX.
669704fd 31442 * math/tst-CMPLX.c: New file.
1d5a644a 31443
8784a6db
UD
31444 * math/complex.h (CMPLXL): Fix typo.
31445
d9a216c0
UD
31446 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
31447 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
31448 GLIBC_2.16.
31449 * debug/tst-chk1.c: Add poll and ppoll tests.
31450 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
31451 * include/sys/poll.h: Add hidden proto for ppoll.
31452 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
31453 * sysdeps/mach/hurd/ppoll.c: Likewise.
31454 * io/ppoll.c: Likewise.
31455 * debug/poll_chk.c: New file.
31456 * debug/ppoll_chk.c: New file.
31457 * include/bits/poll2.h: New file.
31458 * io/bits/poll2.h: New file.
31459
ac097f5c
UD
31460 [BZ #1350]
31461 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
31462
2119dcfa
UD
31463 * configure.in: static is always set to yes. Remove.
31464 * config.make.in: Don't set build-static.
31465 * Makeconfig: Remove use of build-static.
31466 * dlfcn/Makefile: Likewise.
31467 * elf/Makefile: Likewise.
31468 * math/Makefile: Likewise.
31469 * misc/Makefile: Likewise.
31470 * nptl/Makefile: Likewise.
31471 * sysdeps/mach/hurd/Makefile: Likewise.
31472
121766a9
UD
31473 * configure.in: PWD_P is not used anymore.
31474 * config.make.in: Remove PWD_P entry.
31475
51a1d39c 31476 * configure.in: Remove last remnants of RANLIB.
8720d066 31477 No need to check for signed size_t anymore.
215f4bdc
UD
31478 Don't set libc_commonpagesize and libc_relro_required here for Alpha
31479 and IA-64.
3857022a 31480 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
31481 * aclocal.m4: Likewise.
31482
d3ed7225
UD
31483 * wcsmbs/mbrtoc16.c: Implement using towc function.
31484 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
31485 * wcsmbs/wcsmbsload.c: Likewise.
31486 * iconv/gconv_simple.c: Likewise.
31487 * iconv/gconv_int.h: Likewise.
31488 * iconv/gconv_builtin.h: Likewise.
31489 * iconv/iconv_prog.c: Remove CHAR16 handling.
31490
31491 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
31492
31493 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
31494
a0da5fe1
UD
31495 * configure.in: Remove --with-elf and --enable-bounded options.
31496 Dont set base_machine for ia64. More non-ELF conditions removed.
31497 Remove testing and setting of leading underscore information.
31498 * config.make.in (build-bounded): Set to no.
31499 * config.h.in: Remove NO_UNDERSCORES entry.
31500 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
31501 them.
31502 * csu/start.c: Remove !NO_UNDERSCORE code.
31503 * locale/localeinfo.h: Likewise.
31504 * sysdeps/generic/machine-gmon.h: Likewise.
31505 * sysdeps/generic/sysdep.h: Likewise.
31506 * sysdeps/i386/sysdep.h: Likewise.
31507 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31508 * sysdeps/mach/sysdep.h: Likewise.
31509 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31510 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31511 * sysdeps/sh/sysdep.h: Likewise.
31512 * sysdeps/sparc/sparc32/alloca.S: Likewise.
31513 * sysdeps/unix/i386/sysdep.S: Likewise.
31514 * sysdeps/unix/sparc/start.c: Likewise.
31515 * sysdeps/unix/sparc/sysdep.S: Likewise.
31516 * sysdeps/unix/sparc/sysdep.h: Likewise.
31517 * sysdeps/unix/start.c: Likewise.
31518 * sysdeps/unix/x86_64/sysdep.S: Likewise.
31519 * sysdeps/x86_64/sysdep.h: Likewise.
31520
df78418a
UD
315212012-01-07 Ulrich Drepper <drepper@gmail.com>
31522
a784e502
UD
31523 [BZ #13553]
31524 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
31525 for non-gcc.
31526 * argp/argp-fmtstream.h: Use const instead __const.
31527 * argp/argp.h: Likewise.
31528 * assert/assert.h: Likewise.
31529 * bits/fenv.h: Likewise.
31530 * bits/sched.h: Likewise.
31531 * bits/sigset.h: Likewise.
31532 * bits/sigthread.h: Likewise.
31533 * catgets/nl_types.h: Likewise.
31534 * conform/data/pthread.h-data: Likewise.
31535 * crypt/crypt-private.h: Likewise.
31536 * crypt/crypt.h: Likewise.
31537 * crypt/crypt_util.c: Likewise.
31538 * ctype/ctype.h: Likewise.
31539 * debug/execinfo.h: Likewise.
31540 * debug/mbsnrtowcs_chk.c: Likewise.
31541 * debug/mbsrtowcs_chk.c: Likewise.
31542 * debug/wcsnrtombs_chk.c: Likewise.
31543 * debug/wcsrtombs_chk.c: Likewise.
31544 * debug/wcstombs_chk.c: Likewise.
31545 * dirent/dirent.h: Likewise.
31546 * dlfcn/dlfcn.h: Likewise.
31547 * elf/neededtest4.c: Likewise.
31548 * grp/grp.h: Likewise.
31549 * gshadow/gshadow.h: Likewise.
31550 * iconv/gconv.h: Likewise.
31551 * iconv/gconv_int.h: Likewise.
31552 * iconv/gconv_simple.c: Likewise.
31553 * iconv/iconv.h: Likewise.
31554 * iconv/loop.c: Likewise.
31555 * iconv/skeleton.c: Likewise.
31556 * include/aio.h: Likewise.
31557 * include/aliases.h: Likewise.
31558 * include/argz.h: Likewise.
31559 * include/arpa/inet.h: Likewise.
31560 * include/assert.h: Likewise.
31561 * include/dirent.h: Likewise.
31562 * include/dlfcn.h: Likewise.
31563 * include/execinfo.h: Likewise.
31564 * include/fcntl.h: Likewise.
31565 * include/fenv.h: Likewise.
31566 * include/glob.h: Likewise.
31567 * include/grp.h: Likewise.
31568 * include/libintl.h: Likewise.
31569 * include/mntent.h: Likewise.
31570 * include/netdb.h: Likewise.
31571 * include/pwd.h: Likewise.
31572 * include/rpc/netdb.h: Likewise.
31573 * include/sched.h: Likewise.
31574 * include/search.h: Likewise.
31575 * include/shadow.h: Likewise.
31576 * include/signal.h: Likewise.
31577 * include/stdio.h: Likewise.
31578 * include/stdlib.h: Likewise.
31579 * include/string.h: Likewise.
31580 * include/sys/socket.h: Likewise.
31581 * include/sys/stat.h: Likewise.
31582 * include/sys/statfs.h: Likewise.
31583 * include/sys/statvfs.h: Likewise.
31584 * include/sys/syslog.h: Likewise.
31585 * include/sys/time.h: Likewise.
31586 * include/sys/uio.h: Likewise.
31587 * include/time.h: Likewise.
31588 * include/unistd.h: Likewise.
31589 * include/utmp.h: Likewise.
31590 * include/wchar.h: Likewise.
31591 * include/wctype.h: Likewise.
31592 * inet/aliases.h: Likewise.
31593 * inet/arpa/inet.h: Likewise.
31594 * inet/netinet/ether.h: Likewise.
31595 * inet/netinet/in.h: Likewise.
31596 * intl/libintl.h: Likewise.
31597 * io/bits/fcntl2.h: Likewise.
31598 * io/fcntl.h: Likewise.
31599 * io/ftw.h: Likewise.
31600 * io/sys/poll.h: Likewise.
31601 * io/sys/stat.h: Likewise.
31602 * io/sys/statfs.h: Likewise.
31603 * io/sys/statvfs.h: Likewise.
31604 * io/utime.h: Likewise.
31605 * libio/bits/stdio.h: Likewise.
31606 * libio/bits/stdio2.h: Likewise.
31607 * libio/libio.h: Likewise.
31608 * libio/libioP.h: Likewise.
31609 * libio/stdio.h: Likewise.
31610 * locale/lc-ctype.c: Likewise.
31611 * locale/locale.h: Likewise.
31612 * login/utmp.h: Likewise.
31613 * malloc/arena.c: Likewise.
31614 * malloc/malloc.c: Likewise.
31615 * malloc/malloc.h: Likewise.
31616 * malloc/mcheck.c: Likewise.
31617 * malloc/mtrace.c: Likewise.
31618 * math/bits/mathcalls.h: Likewise.
31619 * math/fenv.h: Likewise.
31620 * math/math_private.h: Likewise.
31621 * misc/bits/error.h: Likewise.
31622 * misc/bits/syslog.h: Likewise.
31623 * misc/err.h: Likewise.
31624 * misc/error.h: Likewise.
31625 * misc/fstab.h: Likewise.
31626 * misc/mntent.h: Likewise.
31627 * misc/regexp.h: Likewise.
31628 * misc/search.h: Likewise.
31629 * misc/sgtty.h: Likewise.
31630 * misc/sys/mman.h: Likewise.
31631 * misc/sys/syslog.h: Likewise.
31632 * misc/sys/uio.h: Likewise.
31633 * misc/sys/xattr.h: Likewise.
31634 * misc/ttyent.h: Likewise.
31635 * nis/rpcsvc/ypclnt.h: Likewise.
31636 * nss/nss.h: Likewise.
31637 * posix/bits/unistd.h: Likewise.
31638 * posix/fnmatch.h: Likewise.
31639 * posix/glob.h: Likewise.
31640 * posix/sched.h: Likewise.
31641 * posix/spawn.h: Likewise.
31642 * posix/sys/wait.h: Likewise.
31643 * posix/unistd.h: Likewise.
31644 * posix/wordexp.h: Likewise.
31645 * pwd/pwd.h: Likewise.
31646 * resolv/netdb.h: Likewise.
31647 * resource/sys/resource.h: Likewise.
31648 * rt/aio.h: Likewise.
31649 * rt/bits/mqueue2.h: Likewise.
31650 * rt/mqueue.h: Likewise.
31651 * shadow/shadow.h: Likewise.
31652 * signal/signal.h: Likewise.
31653 * socket/send.c: Likewise.
31654 * socket/sendto.c: Likewise.
31655 * socket/sys/socket.h: Likewise.
31656 * stdio-common/printf.h: Likewise.
31657 * stdlib/bits/stdlib.h: Likewise.
31658 * stdlib/fmtmsg.h: Likewise.
31659 * stdlib/monetary.h: Likewise.
31660 * stdlib/stdlib.h: Likewise.
31661 * stdlib/ucontext.h: Likewise.
31662 * streams/stropts.h: Likewise.
31663 * string/argz.h: Likewise.
31664 * string/bits/string2.h: Likewise.
31665 * string/string.h: Likewise.
31666 * string/strings.h: Likewise.
31667 * sunrpc/rpc/auth.h: Likewise.
31668 * sunrpc/rpc/auth_des.h: Likewise.
31669 * sunrpc/rpc/clnt.h: Likewise.
31670 * sunrpc/rpc/netdb.h: Likewise.
31671 * sunrpc/rpc/pmap_clnt.h: Likewise.
31672 * sunrpc/rpc/xdr.h: Likewise.
31673 * sysdeps/generic/inttypes.h: Likewise.
31674 * sysdeps/generic/net/if.h: Likewise.
31675 * sysdeps/generic/sys/swap.h: Likewise.
31676 * sysdeps/gnu/net/if.h: Likewise.
31677 * sysdeps/gnu/utmpx.h: Likewise.
31678 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
31679 * sysdeps/i386/i486/bits/string.h: Likewise.
31680 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
31681 * sysdeps/s390/bits/string.h: Likewise.
31682 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
31683 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
31684 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
31685 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
31686 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
31687 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
31688 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
31689 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
31690 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
31691 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
31692 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
31693 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
31694 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
31695 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
31696 * sysdeps/unix/sysv/linux/readv.c: Likewise.
31697 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
31698 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
31699 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31700 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
31701 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
31702 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31703 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
31704 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
31705 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
31706 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
31707 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
31708 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
31709 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31710 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
31711 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
31712 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
31713 * sysvipc/sys/ipc.h: Likewise.
31714 * sysvipc/sys/msg.h: Likewise.
31715 * sysvipc/sys/sem.h: Likewise.
31716 * sysvipc/sys/shm.h: Likewise.
31717 * termios/termios.h: Likewise.
31718 * time/sys/time.h: Likewise.
31719 * time/time.h: Likewise.
31720 * wcsmbs/bits/wchar2.h: Likewise.
31721 * wcsmbs/uchar.h: Likewise.
31722 * wcsmbs/wchar.h: Likewise.
31723 * wctype/wctype.h: Likewise.
31724
0269750c
UD
31725 [BZ #13551]
31726 * Makeconfig: Remove all but ELF support including AIX support.
31727 * Makerules: Likewise.
31728 * config.h.in: Likewise.
31729 * config.make.in: Likewise.
31730 * configure: Likewise.
31731 * configure.in: Likewise.
31732 * csu/Makefile: Likewise.
31733 * csu/version.c: Likewise.
31734 * debug/Makefile: Likewise.
31735 * dlfcn/Makefile: Likewise.
31736 * elf/Makefile: Likewise.
31737 * extra-lib.mk: Likewise.
31738 * iconv/Makefile: Likewise.
31739 * include/libc-symbols.h: Likewise.
31740 * include/shlib-compat.h: Likewise.
31741 * resolv/Makefile: Likewise.
31742 * resolv/res_libc.c: Likewise.
31743 * rt/Makefile: Likewise.
31744 * sysdeps/i386/asm-syntax.h: Likewise.
31745 * sysdeps/i386/sysdep.h: Likewise.
31746 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31747 * sysdeps/mach/sysdep.h: Likewise.
31748 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
31749 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
31750 * sysdeps/s390/asm-syntax.h: Likewise.
31751 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31752 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31753 * sysdeps/sh/sysdep.h: Likewise.
31754 * sysdeps/unix/sparc/sysdep.h: Likewise.
31755 * sysdeps/wordsize-32/divdi3.c: Likewise.
31756 * sysdeps/x86_64/sysdep.h: Likewise.
31757
00bbd29b
UD
31758 * argp/Versions: Remove _argp_unlock_xxx.
31759
31760 [BZ #13559]
31761 * abilist/ld.abilist: Update. Adjust for removal of tls option.
31762 * abilist/libBrokenLocale.abilist: Likewise.
31763 * abilist/libanl.abilist: Likewise.
31764 * abilist/libc.abilist: Likewise.
31765 * abilist/libcrypt.abilist: Likewise.
31766 * abilist/libdl.abilist: Likewise.
31767 * abilist/libm.abilist: Likewise.
31768 * abilist/libnsl.abilist: Likewise.
31769 * abilist/libpthread.abilist: Likewise.
31770 * abilist/libresolv.abilist: Likewise.
31771 * abilist/librt.abilist: Likewise.
31772 * abilist/libthread_db.abilist: Likewise.
31773 * abilist/libutil.abilist: Likewise.
31774 * abilist/libnss_db.abilist: New file.
31775
31776 * scripts/abilist.awk: Add support for indirect functions.
31777
a2693a0e
UD
31778 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
31779
3f05895f
UD
31780 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
31781
ecb6fb48
UD
31782 * shlib-versions: Remove entries for ports architectures.
31783
664f8cb9
UD
31784 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
31785 files in ports.
31786 * elf/stackguard-macros.h: Remove support for IA-64.
31787 * elf/tst-auditmod1.c: Likewise.
31788 * sysdeps/generic/ldsodefs.h: Likewise.
31789
7ae81d88
UD
31790 * sysdeps/unix/sysv/linux/configure.in: Ports should define
31791 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
31792 configure files.
31793
bdeba135
UD
31794 [BZ #13552]
31795 * configure.in: Remove --enable-omitfp support.
31796 * FAQ.in: Adjust.
31797 * config.make.in: Likewise.
31798 * Makeconfig: Likewise.
31799 * manual/install.texi: Likewise.
31800
d75a0a62
UD
31801 In case anyone cares, the IA-64 architecture could move to ports.
31802 * sysdeps/ia64/*: Removed.
31803 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 31804 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 31805
dcc9756b
UD
31806 [BZ #13555]
31807 * configure.in: Remove entries for unsupported architectures.
31808
d3761ebc 31809 [BZ #13533]
9954432e
UD
31810 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
31811 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
31812 routines.
31813 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
31814 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
31815 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
31816 fall back to using wcrtomb.
31817 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
31818 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
31819 renaming.
31820 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
31821 * wcsmbs/tst-c16c32-1.c: New file.
31822
31823 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
31824 local variable.
31825
c3a87236
UD
31826 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
31827
28926a1b
UD
31828 * elf/tst-unique3.cc: Add explicit declaration of gets.
31829 * elf/tst-unique3lib.cc: Likewise.
31830 * elf/tst-unique3lib2.cc: Likewise.
31831 * elf/tst-unique4.cc: Likewise.
31832
df78418a
UD
31833 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
31834
8ecd6b2a
JM
318352012-01-06 Joseph Myers <joseph@codesourcery.com>
31836
31837 [BZ #13566]
31838 * assert/assert.h (static_assert): Don't define for C++.
31839 * libio/stdio.h (gets): Do declare for C++ <= C++11.
31840 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
31841
9f115170
UD
318422012-01-03 Ulrich Drepper <drepper@gmail.com>
31843
5e0d0300
UD
31844 * iconv/loop.c (single loop): Fix assertion in storing of
31845 remaining bytes.
31846
9f115170
UD
31847 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
31848
81fb02b0
UD
318492012-01-01 Ulrich Drepper <drepper@gmail.com>
31850
31851 * posix/getconf.c: Update copyright year.
31852 * nss/getent.c: Likewise.
a316c1f6 31853 * nss/makedb.c: Likewise.
81fb02b0
UD
31854 * iconv/iconvconfig.c: Likewise.
31855 * iconv/iconv_prog.c: Likewise.
31856 * elf/ldconfig.c: Likewise.
a316c1f6
UD
31857 * elf/pldd.c: Likewise.
31858 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
31859 * catgets/gencat.c: Likewise.
31860 * csu/version.c: Likewise.
31861 * elf/ldd.bash.in: Likewise.
31862 * elf/sprof.c (print_version): Likewise.
31863 * locale/programs/locale.c: Likewise.
31864 * locale/programs/localedef.c: Likewise.
a316c1f6 31865 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
31866 * nscd/nscd.c (print_version): Likewise.
31867 * debug/xtrace.sh: Likewise.
31868 * malloc/memusage.sh: Likewise.
31869 * malloc/mtrace.pl: Likewise.
31870 * debug/catchsegv.sh: Likewise.
31871
2ba92745
JJ
318722011-12-30 Jakub Jelinek <jakub@redhat.com>
31873
31874 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
31875 pure attribute.
31876
dadebdae
UD
318772011-12-24 Ulrich Drepper <drepper@gmail.com>
31878
d3761ebc 31879 [BZ #13533]
db6af3eb
UD
31880 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
31881 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
31882 transformations.
31883 * iconv/gconv_int.h: Likewise.
31884 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
31885 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
31886 from libc for GLIBC_2.16.
31887 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
31888 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
31889 * wcsmbs/uchar.h: Really define mbstate_t.
31890 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
31891 * wcsmbs/c16rtomb.c: New file.
31892 * wcsmbs/mbrtoc16.c: New file.
31893 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
31894 for C/POSIX locale.
31895 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
31896 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
31897
dadebdae
UD
31898 * wcsmbs/wchar.h: Add missing __restrict.
31899
67371b56
UD
319002011-12-23 Ulrich Drepper <drepper@gmail.com>
31901
74033a25
UD
31902 [BZ #13532]
31903 * time/Makefile (routines): Add timespec_get.
31904 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
31905 * time/time.h: Define TIME_UTC and declare timespec_get. Define
31906 timespec for ISO C11.
31907 * time/timespec_get.c: New file.
31908 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
31909 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
31910
380d7e87
UD
31911 [BZ #13531]
31912 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
31913 * stdlib/stdlib.h: Declare aligned_alloc.
31914 * Versions.def: Add GLIBC_2.16 for libc.
31915 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
31916
4e9e7a35
UD
31917 [BZ 13527]
31918 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
31919 ISO C11.
31920
380d7e87 31921 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
31922 code.
31923
03a71829
UD
31924 [BZ #13528]
31925 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
31926
839e283e
UD
31927 [BZ #13529]
31928 * assert/assert.h (static_assert): Define.
31929
ce5294e2 31930 * version.h: Update for 2.16 development version.
90fa7312 31931
8d44e150 31932 [BZ #13526]
d7809905
UD
31933 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
31934 _ISOC11_SOURCE.
31935
c0da14cd
UD
31936 * version.h (RELEASE): Bump for 2.15 release.
31937 * include/features.h (__GLIBC_MINOR__): Bump to 15.
31938
530a3249
MP
31939 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
31940 Patch by Marek Polacek <mpolacek@redhat.com>.
31941
67371b56
UD
31942 * bits/byteswap.h: Protect long long constants with __extension__.
31943 * sysdeps/i386/bits/byteswap.h: Likewise.
31944 * sysdeps/ia64/bits/byteswap.h: Likewise.
31945 * sysdeps/s390/bits/byteswap.h: Likewise.
31946 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31947
15db4de1
LD
319482011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31949
31950 [BZ #13540]
bbe315ea
LD
31951 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
31952 destination buffer.
15db4de1
LD
31953 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
31954
2b2596b1
MP
319552011-12-23 Marek Polacek <polacek@redhat.com>
31956
31957 * elf/dl-addr.c (determine_info): Add inline keyword.
31958 * elf/tst-auditmod4b.c (check_avx): Likewise.
31959 * elf/tst-auditmod6b.c (check_avx): Likewise.
31960 * elf/tst-auditmod6c.c (check_avx): Likewise.
31961 * elf/tst-auditmod7b.c (check_avx): Likewise.
31962
70c6c246
UD
319632011-12-23 Ulrich Drepper <drepper@gmail.com>
31964
31965 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
31966 !__SSE_MATH__.
31967
c044cf14
LD
319682011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31969
15db4de1 31970 [BZ #13540]
c044cf14
LD
31971 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
31972 processing for last bytes.
31973
6b13d9d9
BH
319742011-08-06 Bruno Haible <bruno@clisp.org>
31975
d455f537
BH
31976 [BZ #13061]
31977 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
31978 U+0385, not to U+1FEE.
31979
6b13d9d9
BH
31980 [BZ #13062]
31981 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
31982 entry for U+00A5 U+0301.
31983
db910efd
UD
319842011-12-22 Ulrich Drepper <drepper@gmail.com>
31985
27deeafc
UD
31986 [BZ #13166]
31987 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
31988 buffer for the output is too small.
31989
aed9d171
UD
31990 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
31991 optimization.
31992
db910efd
UD
31993 [BZ #13185]
31994 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
31995 SSE flags if possible.
31996
2bd779ae
LD
319972011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31998
e7f9dac3 31999 [BZ #13540]
2bd779ae
LD
32000 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
32001 processing for last bytes.
32002
154bfc16
JM
320032011-12-22 Joseph Myers <joseph@codesourcery.com>
32004
32005 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
32006 (syscall-list-default-options, syscall-list-default-condition)
32007 (syscall-list-includes): Define.
32008 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
32009 list of ABIs and options and #if conditions for each ABI. Do not
32010 handle common syscalls between ABIs specially.
32011 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
32012 Remove.
32013 (syscall-list-variants, syscall-list-32bit-options)
32014 (syscall-list-32bit-condition, syscall-list-64bit-options)
32015 (syscall-list-64bit-condition): Define.
32016 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
32017 (syscall-list-variants, syscall-list-32bit-options)
32018 (syscall-list-32bit-condition, syscall-list-64bit-options)
32019 (syscall-list-64bit-condition): Define.
32020 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
32021 Remove.
32022 (syscall-list-variants, syscall-list-32bit-options)
32023 (syscall-list-32bit-condition, syscall-list-64bit-options)
32024 (syscall-list-64bit-condition): Define.
32025 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
32026 Remove.
32027 (syscall-list-variants, syscall-list-32bit-options)
32028 (syscall-list-32bit-condition, syscall-list-64bit-options)
32029 (syscall-list-64bit-condition): Define.
32030
21eaf3a5
UD
320312011-12-22 Ulrich Drepper <drepper@gmail.com>
32032
16c6f992
UD
32033 * locale/iso-639.def: Add brx entry.
32034
41043168
UD
32035 [BZ #13328]
32036 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
32037 Proposed by Mariusz_Cukr <marcukr@op.pl>.
32038
21eaf3a5
UD
32039 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
32040 __feraiseexcept_renamed.
32041
e3a851a2
UD
320422011-12-21 Ulrich Drepper <drepper@gmail.com>
32043
4920765e
UD
32044 [BZ #13538]
32045 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
32046 EPOLLET with unsigned values.
32047 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
32048 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
32049
e3a851a2
UD
32050 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
32051 to large cancellation.
32052 * math/s_cacoshf.c: Likewise.
32053 * math/s_cacoshl.c: Likewise.
32054
b27e24b8
RK
320552011-11-18 Richard B. Kreckel <kreckel@ginac.de>
32056
32057 [BZ #13305]
aebefeee 32058 [BZ #12786]
b27e24b8
RK
32059 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
32060 * math/s_cacoshf.c: Likewise.
32061 * math/s_cacoshl.c: Likewise.
32062
ee190f67
UD
320632011-12-21 Ulrich Drepper <drepper@gmail.com>
32064
32065 [BZ #13439]
32066 * iconv/gconv.h: Define __GCONV_SWAP.
32067 * iconvdata/unicode.c: The swap bit must be stored in __flags.
32068 * iconvdata/utf-16.c: Likewise.
32069 * iconvdata/utf-32.c: Likewise.
32070
707f25df
AS
320712011-12-21 Andreas Schwab <schwab@linux-m68k.org>
32072
32073 [BZ #13524]
32074 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
32075 numerator after shifting it by one limb.
32076
d2daaa1e
RÁE
320772011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
32078
32079 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
32080 under [__USE_EXTERN_INLINES].
32081
a4647e72
UD
320822011-12-17 Ulrich Drepper <drepper@gmail.com>
32083
32084 [BZ #13446]
32085 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
32086
f0b264f1
AZ
320872011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32088
32089 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
32090 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
32091 optimized code.
32092 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
32093 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
32094 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
32095 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
32096 for strncasecmp/strncasecmp_l compilation.
32097 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
32098 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
32099
8ef4f244
MP
321002011-12-08 Marek Polacek <mpolacek@redhat.com>
32101
32102 [BZ #13484]
32103 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
32104 of __asm__.
32105
97ac2654
UD
321062011-12-17 Ulrich Drepper <drepper@gmail.com>
32107
32108 [BZ #13506]
32109 * time/tzfile.c (__tzfile_read): Check values from file header.
32110
91d2a845
WS
321112011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
32112
32113 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
32114 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
32115 * powerpc/powerpc32/dl-start.S: Likewise.
32116 * powerpc/powerpc32/elf/start.S: Likewise.
32117 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
32118 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
32119 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
32120 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
32121 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
32122 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
32123 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
32124 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
32125 * powerpc/powerpc32/fpu/s_round.S: Likewise.
32126 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
32127 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
32128 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
32129 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
32130 * powerpc/powerpc32/memset.S: Likewise.
32131 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
32132 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
32133 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
32134 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
32135 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
32136 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
32137 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
32138 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
32139 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
32140 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
32141 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
32142 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
32143 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
32144
a1267ba1
AZ
321452011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32146
32147 * math/libm-test.inc: Added more nearbyint tests.
32148 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
32149 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
32150 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
32151 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
32152
ad8ac1bd
RL
321532011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
32154
32155 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
32156 FD_CLOEXEC.
32157
1d3e4b61
UD
321582011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32159
32160 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
32161 Add wcscpy-ssse3 wcscpy-c.
32162 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
32163 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
32164 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
32165 * sysdeps/x86_64/wcschr.S: New file.
32166 * sysdeps/x86_64/wcsrchr.S: New file.
32167 * string/test-strcmp.c: Remove checking of wcscmp function for
32168 wrong alignments.
32169 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
32170 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
32171 wcsrchr-sse2 wcsrchr-c.
32172 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
32173 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
32174 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
32175 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
32176 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
32177 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
32178 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
32179 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
32180 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
32181 * wcsmbc/wcschr.c (WCSCHR): New macro.
32182
5b330a2d
UD
321832011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32184
32185 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
32186 * wcsmbs/test-wcsrchr.c: New file.
32187 * string/test-strrchr.c: Add wcsrchr support.
32188 (WIDE): New macro.
32189 * wcsmbs/test-wcscpy.c: New file.
32190 * string/test-strcpy.c: Add wcscpy support.
32191 (WIDE): New macro.
26428b7c 32192
f039c043
UD
321932011-12-10 Ulrich Drepper <drepper@gmail.com>
32194
32195 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
32196 the inner loop.
32197
850fb039
AS
321982011-12-06 Andreas Schwab <schwab@linux-m68k.org>
32199
32200 [BZ #13472]
32201 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
32202
4efbd5cb
UD
322032011-12-04 Ulrich Drepper <drepper@gmail.com>
32204
52ff5dd0 32205 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 32206 Minor optimizations.
52ff5dd0 32207
4efbd5cb
UD
32208 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
32209 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
32210 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
32211
8a426e12
UD
322122011-12-03 Ulrich Drepper <drepper@gmail.com>
32213
aff2453d
UD
32214 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
32215 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
32216 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
32217 for gcc to avoid warnings.
32218 * inet/Makefile (tests): Add tst-checks.
32219 * inet/tst-checks.c: New file.
32220
32221 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
32222 warning.
32223
32224 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
32225 __wmemcmp_sse2.
32226
32227 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
32228 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
32229
8a426e12
UD
32230 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
32231
9bea3473
UD
322322011-12-02 Ulrich Drepper <drepper@gmail.com>
32233
3a965496
UD
32234 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
32235 problem.
32236
9bea3473
UD
32237 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
32238
f101631b
UD
322392011-11-29 Joseph Myers <joseph@codesourcery.com>
32240
32241 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
32242 conditional on GCC version.
32243 (__arch_compare_and_exchange_val_8_acq)
32244 (__arch_compare_and_exchange_val_16_acq)
32245 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
32246 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
32247 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
32248
a98275aa
UD
322492011-12-02 Joseph Myers <joseph@codesourcery.com>
32250
32251 * sysdeps/sh/backtrace.c: New file.
32252
d4cc29a2
AS
322532011-12-02 Andreas Schwab <schwab@redhat.com>
32254
32255 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
32256 parenthesis.
32257
6257af2d
AS
322582011-12-01 Andreas Schwab <schwab@redhat.com>
32259
32260 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
32261 falling back to utime.
32262
b5f44c1a
AS
322632011-11-30 Andreas Schwab <schwab@redhat.com>
32264
32265 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
32266 expectations for float.
32267
f3a6cc0a
AS
322682011-11-29 Andreas Schwab <schwab@redhat.com>
32269
32270 * locale/weight.h (findidx): Add parameter len.
32271 * locale/weightwc.h (findidx): Likewise.
32272 * posix/fnmatch_loop.c (FCT): Adjust caller.
32273 * posix/regcomp.c (build_equiv_class): Likewise.
32274 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
32275 * posix/regexec.c (check_node_accept_bytes): Likewise.
32276 * string/strcoll_l.c (STRCOLL): Likewise.
32277 * string/strxfrm_l.c (STRXFRM): Likewise.
32278
9d65ea3a
UD
322792011-11-17 Ulrich Drepper <drepper@gmail.com>
32280
32281 * Makefile.in: Remove CVSOPT handling.
32282 * configure.in: Remove use of AC_REVISION.
32283 * iconvdata/Makefile (distribute): No need to filter out CVS.
32284 * scripts/list-sources.sh: Remove CVS, subversion and monotone
32285 handling.
32286
5583a086
AS
322872011-11-16 Andreas Schwab <schwab@redhat.com>
32288
32289 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
32290 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
32291 [USE_AS_STRNCASECMP_L]: Likewise.
32292 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
32293 NO_TLS_DIRECT_SEG_REFS.
32294 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
32295 Fix argument offsets for non-PIC.
32296 [USE_AS_STRNCASECMP_L]: Likewise.
32297 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
32298 NO_TLS_DIRECT_SEG_REFS.
32299
d62a8200
UD
323002011-11-15 Ulrich Drepper <drepper@gmail.com>
32301
9d65ea3a 32302 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
32303 O_CLOEXEC.
32304 * locale/loadlocale.c (_nl_load_locale): Likewise.
32305
09f93bd3
AS
323062011-11-15 Andreas Schwab <schwab@redhat.com>
32307
446514f9
AS
32308 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
32309 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
32310 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
32311 (SYSCALL_GETTIME): Set errno on error.
32312
09f93bd3
AS
32313 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
32314 count references to noai6ai_cached.
32315
312be3f9
UD
323162011-11-15 Ulrich Drepper <drepper@gmail.com>
32317
32318 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
32319
32320 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
32321 FD_CLOEXEC for /proc/self/maps.
32322
32323 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
32324 FD_CLOEXEC for /proc/meminfo.
32325
32326 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
32327 gai.conf.
32328
32329 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
32330 FD_CLOEXEC for given file.
32331
32332 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
32333
32334 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
32335 FD_CLOEXEC for /etc/hosts.
32336 (_gethtent): Likewise.
32337
32338 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
32339
32340 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
32341 cancellation and set FD_CLOEXEC for /etc/netgroup.
32342
32343 * nss/nss_files/files-key.c (search): Don't allow cancellation when
32344 reading /etc/publickey.
32345
32346 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
32347 allow cancellation when reading /etc/group.
32348
32349 * nss/nss_files/files-alias.c (internal_setent): Don't allow
32350 cancellation.
32351 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
32352
32353 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
32354 when using data file.
32355
32356 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
32357
32358 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
32359 (write_nis_obj): Use "c" and "e" in fopen.
32360
32361 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
32362
32363 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
32364
32365 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
32366
32367 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
32368
32369 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
32370 locale.alias.
32371
32372 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
32373
32374 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
32375
32376 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
32377
32378 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
32379 file parsing and set FD_CLOEXEC.
32380
82af0fa8
UD
323812011-11-14 Ulrich Drepper <drepper@gmail.com>
32382
32383 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
32384
a5fb313c
AS
323852011-11-14 Andreas Schwab <schwab@redhat.com>
32386
32387 * malloc/arena.c (arena_get2): Don't call reused_arena when
32388 _int_new_arena failed.
32389
6abf3465
UD
323902011-11-14 Ulrich Drepper <drepper@gmail.com>
32391
32392 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
32393 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
32394 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
32395 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32396 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32397 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
32398 to compile strcasecmp and strncasecmp.
32399 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
32400 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
32401
32402 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
32403
76e3966e
UD
324042011-11-13 Ulrich Drepper <drepper@gmail.com>
32405
32406 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
32407 locale-defines.sym to gen-as-const-headers.
32408 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
32409 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
32410 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
32411 to compile strcasecmp and strncasecmp.
32412 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
32413 strcasecmp_l and strncasecmp_l.
32414 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
32415 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
32416 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
32417 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
32418 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
32419 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
32420 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
32421 * sysdeps/i386/i686/multiarch/strncase.S: New file.
32422 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
32423 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
32424 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
32425
ab26144e
UD
324262011-11-12 Ulrich Drepper <drepper@gmail.com>
32427
7edb22ef
UD
32428 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
32429 result of SYSDEP_GETTIME_CPU to retval.
32430 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
32431 parameter list to macro. Remove trailing semicolon. Adjust users.
32432
9694fc44
UD
32433 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
32434 variable.
32435
8ad89ef8
UD
32436 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
32437 mantissa words.
32438 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
32439
0c822ef9
UD
32440 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
32441 from unused variable.
32442
874e0564
UD
32443 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
32444 DWARF definitions.
32445 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
32446 for assembling.
32447
3a2edc79
UD
32448 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
32449 over namespaces.
32450
f3c2577f
UD
32451 * sunrpc/rpc_prot.c (rejected): Fix case value.
32452
294ce126
UD
32453 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
32454 unsigned long long int to avoid warnings in shift.
32455
5e2b63c6
UD
32456 * posix/regex_internal.c (re_string_reconstruct): Actually use result
32457 of use of trans.
32458 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
32459 variable tmp.
32460
e7f4b08e
UD
32461 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
32462 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
32463 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
32464
ab26144e
UD
32465 * nis/nis_table.c (nis_list): Use variable of correct type for
32466 result of __follow_path call.
32467
8a6d5255
AZ
324682011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32469
32470 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
32471 of math functions ceil, trunc, floor, round, and sqrt, when
32472 avaliable on the platform.
32473 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
32474 name clash.
32475 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32476 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
32477 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
32478
aaddc98c
MP
324792011-10-30 Marek Polacek <mpolacek@redhat.com>
32480
32481 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
32482 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
32483
95b7042b
RM
324842011-11-11 Roland McGrath <roland@hack.frob.com>
32485
32486 * include/unistd.h: Fix __readlink return type.
32487 Reported by Chris Metcalf <cmetcalf@tilera.com>.
32488
57769839
UD
324892011-11-11 Ulrich Drepper <drepper@gmail.com>
32490
32491 * stdlib/ucontext.h: Undo last change for makecontext.
32492
edc5984d
AS
324932011-11-11 Andreas Schwab <schwab@redhat.com>
32494
98591e58
AS
32495 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
32496
edc5984d
AS
32497 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
32498 * setjmp/setjmp.h: Mark functions as non-leaf.
32499 * setjmp/bits/setjmp2.h: Likewise.
32500 * stdlib/ucontext.h: Likewise.
32501
77cdc054
AS
325022011-11-10 Andreas Schwab <schwab@redhat.com>
32503
32504 * malloc/arena.c (_int_new_arena): Don't increment narenas.
32505 (reused_arena): Don't check arena limit.
32506 (arena_get2): Atomically check arena limit.
32507
fe72eebd
UD
325082011-11-08 Ulrich Drepper <drepper@gmail.com>
32509
5f078c32
UD
32510 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
32511 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
32512
fe72eebd
UD
32513 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
32514 instructions.
32515
ae1bc2fa
AS
325162011-11-07 Andreas Schwab <schwab@redhat.com>
32517
7583a88d
AS
32518 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
32519 handler when locking.
32520
ae1bc2fa
AS
32521 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
32522 Fix size of allocated buffer.
32523
10fb0bfa
AS
325242011-11-04 Andreas Schwab <schwab@redhat.com>
32525
998832a4
AS
32526 [BZ #10103]
32527 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
32528 declarations for long double functions.
32529 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
32530
10fb0bfa
AS
32531 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
32532
3d7ba52b
AS
325332011-11-03 Andreas Schwab <schwab@redhat.com>
32534
a9ae54a1
AS
32535 * nscd/nscd.c (main): Don't start AVC thread until credentials are
32536 installed.
32537
3d7ba52b
AS
32538 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
32539 is disabled.
32540
bc8db248
ST
325412011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
32542
32543 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
32544
45b96dd6
AS
325452011-11-01 Andreas Schwab <schwab@linux-m68k.org>
32546
647776f6
AS
32547 * include/alloca.h (stackinfo_alloca_round): Define.
32548 (extend_alloca): Use it.
32549 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
32550 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
32551 here.
32552
d91a8b93
AS
32553 * scripts/check-local-headers.sh: Ignore libaudit.h.
32554
45b96dd6
AS
32555 * nscd/Makefile (extra-objs): Make recursively expanded.
32556
432d41ce
UD
325572011-11-01 Ulrich Drepper <drepper@gmail.com>
32558
34372fc6
UD
32559 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
32560 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
32561
fadb59f8
UD
32562 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
32563 * posix/tst-rfc3484-2.c: Likewise.
32564 * posix/tst-rfc3484-3.c: Likewise.
32565
78239589
UD
32566 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
32567 process_vm_writev.
32568 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
32569 process_vm_writev.
32570 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
32571 process_vm_writev from libc using GLIBC_2.15 version.
32572
432d41ce
UD
32573 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
32574
02f9c6cf
PP
325752011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
32576
32577 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
32578 stack usage.
32579
3a2c0242
UD
325802011-10-31 Ulrich Drepper <drepper@gmail.com>
32581
f4ec4833
UD
32582 [BZ #13367]
32583 * nss/getent.c (initgroups_keys): Show error message in case no group
32584 names are given.
32585
3a2c0242
UD
32586 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
32587 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
32588 __bump_nl_timestamp.
32589 * nscd/connections (nscd_init): When host database is served open
32590 netlink socket and request notification about configuration changes.
32591 (main_loop_poll): Track netlink file descriptor and bump timestamp
32592 in case data becomes available.
32593 (main_loop_epoll): Likewise.
32594 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
32595 (database_pers_head): Add extra_data fileds.
32596 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
32597 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
32598 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
32599 Adjust caller.
32600 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
32601 in6ai data, call __free_in6ai.
32602 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
32603 Add -DHAVE_NETLINK.
32604 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
32605 interface information. Reuse previous data if netlink timestamp
32606 is not changed.
32607 (__bump_nl_timestamp): New function.
32608 (__free_in6ai): New function.
32609
636064eb
UD
326102011-10-30 Ulrich Drepper <drepper@gmail.com>
32611
32612 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
32613 close_not_cancel_no_status here.
32614 (__check_pf): Reorganize code a bit to not call close twice if OOM.
32615
9beb2334
UD
326162011-10-29 Ulrich Drepper <drepper@gmail.com>
32617
6ef76f3b
UD
32618 [BZ #13276]
32619 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
32620 return value.
32621
0ffc4f3e 32622 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
32623 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
32624 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
32625
cb95113e
UD
326262011-07-03 Andreas Jaeger <aj@suse.de>
32627
32628 [BZ #10709]
32629 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
32630 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
32631 * math/libm-test.inc (sin_test): Add test case.
32632
a1b560ff
UD
326332011-10-29 Ulrich Drepper <drepper@gmail.com>
32634
c9aaface
UD
32635 [BZ #13337]
32636 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
32637 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32638
d272e7f1
UD
32639 * elf/chroot_canon.c (chroot_canon): Cleanups.
32640
1bc33071
UD
32641 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
32642
1760874d
TJ
32643 [BZ #13335]
32644 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
32645 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32646
51d91b18
UD
32647 * string/test-strchr.c: Make usable for strchrnul testing.
32648 * string/test-strchrnul.c: New file.
32649 * string/Makefile (strop-tests): Add strchrnul.
32650
a1b560ff 32651 * po/it.po: Update from translation team.
b611fb81 32652 * po/es.po: Likewise.
a1b560ff 32653
a5b81e1f
UD
326542011-10-28 Ulrich Drepper <drepper@gmail.com>
32655
fd52bc6d
UD
32656 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
32657 the three constants needed as parameters. Drop the others.
32658 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
32659 __m128i_strloadu_tolower.
52e4b9eb
UD
32660 Create and initialize variable zero and use it in all the places
32661 where _mm_setzero_si128 was used.
fd52bc6d 32662
a5b81e1f
UD
32663 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
32664 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
32665 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
32666 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
32667 anymore.
32668 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
32669 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
32670 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
32671 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
32672 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
32673 __mpranred, __mptan.
32674 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
32675 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
32676 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
32677 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
32678 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
32679 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
32680 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
32681 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
32682 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
32683
b4343346
AS
326842011-10-28 Andreas Schwab <schwab@redhat.com>
32685
0c92d8a8
AS
32686 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
32687 redefine if SHARED.
32688 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
32689
b4343346
AS
32690 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
32691 wide char related routines to wcsmbs subdir.
32692
3871f58f
AS
326932011-10-27 Andreas Schwab <schwab@redhat.com>
32694
32695 [BZ #13344]
32696 * misc/sys/cdefs.h (__THROWNL): Define.
32697 * posix/unistd.h: Use __THREADNL instead of __THREAD
32698 for memory synchronization functions.
32699
94d44d9f
RM
327002011-10-26 Roland McGrath <roland@hack.frob.com>
32701
21b64b15 32702 [BZ #13349]
94d44d9f
RM
32703 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
32704 doesn't exist.
32705 * manual/stdio.texi (Obstack Streams): Node removed.
32706
f6ce9294
AS
327072011-10-26 Andreas Schwab <schwab@redhat.com>
32708
80479147
AS
32709 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
32710 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32711 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32712
f6ce9294
AS
32713 * math/math_private.h (math_force_eval): Allow non-addressable
32714 arguments.
32715 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
32716
618280a1
UD
327172011-10-25 Ulrich Drepper <drepper@gmail.com>
32718
e0016b11
UD
32719 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
32720 file is not needed.
32721
32722 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
32723 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
32724 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32725 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32726 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32727 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32728 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32729 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
32730 Add AVX variants.
32731 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
32732 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
32733 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
32734 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
32735 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
32736 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
32737 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
32738 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
32739 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
32740 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
32741 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
32742 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
32743 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
32744 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
32745 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
32746 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
32747 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
32748 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
32749 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
32750
32751 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
32752 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
32753
618280a1
UD
32754 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
32755 place. Use VEX encoding when compiling for AVX.
32756
37822576
AS
327572011-10-25 Andreas Schwab <schwab@redhat.com>
32758
1f1e1947
AS
32759 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
32760 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
32761
37822576
AS
32762 * string/test-strchr.c (do_test): Don't generate NUL bytes.
32763
31ea014d
UD
327642011-10-25 Ulrich Drepper <drepper@gmail.com>
32765
d7826aa1 32766 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 32767 useless if() expression.
d7826aa1
UD
32768 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32769 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
32770 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32771 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32772 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32773 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32774 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32775 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32776 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32777 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32778 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32779 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32780 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
32781 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32782 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
32783 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32784 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32785 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32786 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
32787
31ea014d
UD
32788 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
32789
16437fec
AS
327902011-10-25 Andreas Schwab <schwab@redhat.com>
32791
32792 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
32793 condition.
32794 * elf/dl-fini.c (_dl_sort_fini): Likewise.
32795
31d3cc00
UD
327962011-10-25 Ulrich Drepper <drepper@gmail.com>
32797
32798 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
32799 .text section. Avoid duplicate constants.
32800 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32801 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32802 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32803 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32804 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32805 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32806 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32807 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32808 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32809 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
32810 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32811 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32812 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
32813 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
32814 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
32815 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
32816 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
32817 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32818 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32819 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32820 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32821 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32822 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32823 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
32824 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
32825 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
32826 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
32827 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
32828 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
32829 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
32830 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
32831 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
32832 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32833 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
32834 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
32835 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
32836 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
32837 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
32838 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
32839 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
32840 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
32841 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
32842 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
32843 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
32844 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
32845
58985aa9
UD
328462011-10-24 Ulrich Drepper <drepper@gmail.com>
32847
202c9deb
UD
32848 * sysdeps/x86_64/dla.h: Move to ...
32849 * sysdeps/x86_64/fpu/dla.h: ...here.
32850 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
32851 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 32852
af968f62
UD
32853 * config.make.in: Add have-mfma4 entry.
32854 * configure.in: Substitute libc_cv_cc_fma4.
32855 * math/Makefile (dbl-only-routines): Add sincostab.
32856 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
32857 Use __sincostab not sincos.
32858 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
32859 name is a macro.
32860 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32861 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32862 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32863 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
32864 using __copysign.
32865 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
32866 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
32867 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
32868 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
32869 and __inv.
32870 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
32871 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
32872 __copysign.
32873 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
32874 define aliases when function name is a macro.
32875 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
32876 sysdeps/ieee754/dbl-64/sincos.tbl.
32877 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
32878 fma4-enabled routines.
32879 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
32880 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
32881 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
32882 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
32883 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
32884 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
32885 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
32886 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
32887 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
32888 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
32889 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
32890 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
32891 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
32892 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
32893 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
32894 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
32895 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
32896 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
32897 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
32898 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
32899 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
32900 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
32901 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
32902 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
32903 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
32904 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
32905 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
32906 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
32907 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
32908 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
32909
58985aa9
UD
32910 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
32911 rename.
32912 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32913 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32914 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32915 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32916 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32917 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32918 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32919 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32920
a201fbcf
AS
329212011-10-24 Andreas Schwab <schwab@redhat.com>
32922
32923 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
32924
fc2ee42a
LD
329252011-10-23 Ulrich Drepper <drepper@gmail.com>
32926
bb3129bd
UD
32927 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
32928
0275fff8
UD
32929 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
32930 prediction.
32931 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
32932
2fa2ae85
UD
32933 * string/strnlen.c: Don't define STRNLEN, reverse logic.
32934 Remove unused variable magic_bits.
32935 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
32936
fc2ee42a
LD
32937 * string/strnlen.c: Define and use STRNLEN macro.
32938 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
32939 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
32940 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
32941 * wcsmbs/wcslen.c: Define and use WCSLEN.
32942 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
32943 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
32944 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
32945 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
32946 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
32947 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
32948 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
32949
ce7dd29f
LD
329502011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32951
32952 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32953 strnlen-sse2-no-bsf.
32954 Rename strlen-no-bsf to strlen-sse2-no-bsf.
32955 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
32956 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
32957 Add strnlen support.
32958 (USE_AS_STRNLEN): New macro.
32959 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
32960 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
32961 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
32962 * sysdeps/x86_64/wcslen.S: New file.
32963
979c70a3
MZ
329642011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
32965
32966 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32967 XMM-moves are used for copying on small sizes.
32968
2d09f82f
LD
329692011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32970
32971 * wcsmbs/Makefile (strop-tests): Add wcschr.
32972 * wcsmbs/test-wcschr.c: New file.
32973 * string/test-strchr.c: Update.
32974 Add wcschr support.
32975 (WIDE): New macro.
32976
619fccca
LD
329772011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32978
2d09f82f 32979 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
32980 * wcsmbs/test-wcslen.c: New file.
32981 * string/test-strlen.c: Update.
32982 Add wcslen support.
32983 (WIDE): New macro.
32984
09f699ea
UD
329852011-10-23 Ulrich Drepper <drepper@gmail.com>
32986
32987 * po/it.po: Update from translation team.
32988
95584d3b
LD
329892011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32990
32991 * sysdeps/x86_64/wcscmp.S: Update.
32992 Fix wrong comparison semantics.
32993 wcscmp shall use signed comparison not unsigned.
32994 Don't use substraction to avoid overflow bug.
32995 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
32996 * wcsmbc/wcscmp.c: Likewise.
32997 * string/test-strcmp.c: Likewise.
32998 Add new tests to check cases with negative values.
32999
c8b3296b
UD
330002011-10-23 Ulrich Drepper <drepper@gmail.com>
33001
33002 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
33003 * sysdeps/x86_64/dla.h: ...here. New file.
33004 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
33005 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33006 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33007 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33008 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33009 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33010 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33011 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33012 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33013
246ad57a
AS
330142011-10-23 Andreas Schwab <schwab@linux-m68k.org>
33015
33016 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
33017 __ynl_finite aliases.
33018
a1a87169
UD
330192011-10-22 Ulrich Drepper <drepper@gmail.com>
33020
0d355eb7
UD
33021 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33022
a1a87169
UD
33023 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
33024 define DLA_FMA.
33025 [DLA_FMA] (EMULV): Use DLA_FMA.
33026 [DLA_FMA] (MUL12): Use EMULV.
33027 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
33028 that are not needed.
33029 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33030 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33031 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33032 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33033 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33034 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33035 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33036
ee2aafe0
AS
330372011-10-22 Andreas Schwab <schwab@linux-m68k.org>
33038
33039 * math/s_nan.c: Undef __nan.
33040 * math/s_nanf.c: Undef __nanf.
33041 * math/s_nanl.c: Undef __nanl.
33042 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
33043 "math_private.h".
33044
bc62c2fb
UD
330452011-10-22 Ulrich Drepper <drepper@gmail.com>
33046
77425c63
UD
33047 * math/s_catan.c: Add branch predictions.
33048 * math/s_catanf.c: Likewise.
33049 * math/s_catanh.c: Likewise.
33050 * math/s_catanhf.c: Likewise.
33051 * math/s_catanhl.c: Likewise.
33052 * math/s_catanl.c: Likewise.
33053 * math/s_cexp.c: Likewise.
33054 * math/s_cexpf.c: Likewise.
33055 * math/s_cexpl.c: Likewise.
33056 * math/s_clog.c: Likewise.
33057 * math/s_clog10.c: Likewise.
33058 * math/s_clog10f.c: Likewise.
33059 * math/s_clog10l.c: Likewise.
33060 * math/s_clogf.c: Likewise.
33061 * math/s_clogl.c: Likewise.
33062 * math/s_csqrt.c: Likewise.
33063 * math/s_csqrtf.c: Likewise.
33064 * math/s_csqrtl.c: Likewise.
33065 * math/s_ctanf.c: Likewise.
33066 * math/s_ctanh.c: Likewise.
33067 * math/s_ctanhf.c: Likewise.
33068 * math/s_ctanhl.c: Likewise.
33069 * math/s_ctanl.c: Likewise.
33070
bc62c2fb
UD
33071 * math/math_private.h: Define __nan, __nanf, __nanl.
33072 * math/s_cacosh.c: Include <math_private.h>.
33073 * math/s_cacoshl.c: Likewise.
33074 * math/s_casinh.c: Likewise.
33075 * math/s_casinhf.c: Likewise.
33076 * math/s_casinhl.c: Likewise.
33077 * math/s_ccos.c: Rely entire on ccosh.
33078 * math/s_ccosf.c: Rely entire on ccoshf.
33079 * math/s_ccosl.c: Rely entirely on ccoshl.
33080 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
33081 Remove tests for FE_INVALID.
33082 * math/s_ccoshf.c: Likewise.
33083 * math/s_ccoshl.c: Likewise.
33084 * math/s_csin.c: Likewise.
33085 * math/s_csinf.c: Likewise.
33086 * math/s_csinh.c Likewise.
33087 * math/s_csinhf.c: Likewise.
33088 * math/s_csinhl.c: Likewise.
33089 * math/s_csinl.c: Likewise.
33090 * math/s_ctan.c: Likewise.
33091 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
33092 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
33093 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
33094
8ec250a4
UD
330952011-10-21 Ulrich Drepper <drepper@gmail.com>
33096
c196fed8
UD
33097 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
33098 compilation problems.
33099
8ec250a4
UD
33100 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
33101 __builtin_expect.
33102
8d4f46c6
UD
331032011-10-20 Ulrich Drepper <drepper@gmail.com>
33104
ed72b654
UD
33105 * sysdeps/i386/configure.in: Test for -mfma4 option.
33106 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
33107 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
33108 COMMON_CPUID_INDEX_80000001.
33109 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
33110 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
33111 use it if FMA3 is not supported.
33112 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
33113
8d4f46c6
UD
33114 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
33115 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
33116
d45c60c2
AS
331172011-10-20 Andreas Schwab <schwab@redhat.com>
33118
33119 [BZ #12892]
33120 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
33121 it would create a cycle with a link time dependency.
33122
d9a4d2ab
UD
331232011-10-19 Ulrich Drepper <drepper@gmail.com>
33124
855d1560
UD
33125 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
33126 instruction.
33127 * string/Makefile (strop-tests): Add rawmemchr.
33128 * string/test-rawmemchr.c: New file.
33129
d9a4d2ab
UD
33130 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
33131 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
33132 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
33133 when compiling str{,n}casecmp and when AVX is available. Hook up
33134 new optimized code in initializers.
33135
8f3b1ffe
AS
331362011-10-19 Andreas Schwab <schwab@redhat.com>
33137
33138 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
33139 __feraiseexcept instead of feraiseexcept.
33140
d38f1dba
UD
331412011-10-18 Ulrich Drepper <drepper@gmail.com>
33142
d9a8d0ab
UD
33143 * math/math_private.h: Define defaults for libc_fetestexcept and
33144 libc_feupdateenv.
33145 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
33146 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
33147 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33148 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
33149 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33150 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
33151 libc_fetestexcept and libc_feupdateenv.
33152
4855e3dd
UD
33153 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
33154 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
33155 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
33156 * sysdeps/x86_64/fpu/math_private.h: Define special version of
33157 libc_feholdexcept_setround.
33158
581d30e3
UD
33159 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
33160 Add s_nearbyint-c and s_nearbyintf-c.
33161 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
33162 nearbyintf inlines.
33163 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
33164 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
33165 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
33166 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
33167
d38f1dba
UD
33168 * math/math_private.h: Define defaults for libc_fegetround,
33169 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
33170 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
33171 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
33172 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
33173 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
33174 standard functions.
33175 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33176 Remove comments and hacks for old compiler versions.
33177 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
33178 libc_fegetround, libc_fesetround, libc_feholdexcept, and
33179 libc_feholdexceptl.
33180
caa6c9d8
AS
331812011-10-18 Andreas Schwab <schwab@redhat.com>
33182
33183 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
33184 (__feraiseexcept_renamed): Add __NTH.
33185 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
33186 namespace violations.
33187
97c066e6
UD
331882011-10-17 Ulrich Drepper <drepper@gmail.com>
33189
99ce7b04
UD
33190 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
33191
1004d182
UD
33192 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
33193
228a984d
UD
33194 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
33195 recently added interfaces.
33196 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
33197
c8553a6a
UD
33198 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
33199 about macro parameter expansion.
33200
ed22dcf6
UD
33201 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
33202 __NO_MATH_INLINES is defined. Cleanups.
33203
33204 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
33205 and __floorf is target has SSE4.1.
33206 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
33207 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
33208 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
33209 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
33210
b171c137
UD
33211 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
33212 name.
33213 (floorf): Likewise.
33214
97c066e6
UD
33215 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
33216
629f62ef
AS
332172011-10-17 Andreas Schwab <schwab@redhat.com>
33218
49a43d80
AS
33219 * misc/sys/cdefs.h: Fix last change.
33220
629f62ef
AS
33221 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
33222 database lookup.
33223
e453f6cd
UD
332242011-10-16 Ulrich Drepper <drepper@gmail.com>
33225
aa78043a
UD
33226 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
33227
ad0f5cad
UD
33228 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
33229 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33230 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33231 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33232 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33233 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33234 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33235 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33236 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33237 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
33238 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
33239 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
33240 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
33241 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
33242 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
33243 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
33244 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
33245 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
33246 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
33247 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
33248 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
33249 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
33250
33251 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
33252 ceil, ceilf, floor, floorf.
33253
33254 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
33255 Perform IRELATIVE relocations last.
33256
e453f6cd
UD
33257 * elf/do-rel.h: Add another parameter nrelative, replacing the
33258 local variable with the same name. Change name of the function
33259 to end in Rel or Rela (uppercase).
33260 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
33261 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
33262 elf_dynamic_do_##reloc function.
33263
fd5bdc09
UD
332642011-10-15 Ulrich Drepper <drepper@gmail.com>
33265
79b195b5
UD
33266 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
33267 is sufficient, at least on modern CPUs.
33268
d4a28569
UD
33269 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
33270
b61099b5
UD
33271 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
33272 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
33273
bcf01e6d
UD
33274 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
33275 __expl_finite.
33276 * math/bits/math-finite.h: Add entries for exp.
33277 * math/e_expl.c: Add __*_finite alias.
33278 * sysdeps/i386/fpu/e_exp.S: Likewise.
33279 * sysdeps/i386/fpu/e_expf.S: Likewise.
33280 * sysdeps/i386/fpu/e_expl.c: Likewise.
33281 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33282 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
33283 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
33284 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
33285 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
33286 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
33287 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
33288
ba1a0d59
UD
33289 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
33290 is sufficient, at least on modern CPUs.
33291
fd5bdc09
UD
33292 * ctype/ctype-info.c (__ctype_init): Define.
33293 * include/ctype.h (__ctype_init): Declare.
33294 (__ctype_b_loc): The variable is always initialized.
33295 (__ctype_toupper_loc): Likewise.
33296 (__ctype_tolower_loc): Likewise.
33297 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
33298 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
33299
7872cfb0
AS
333002011-10-15 Andreas Schwab <schwab@linux-m68k.org>
33301
b468825a
AS
33302 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
33303
7872cfb0
AS
33304 * configure.in: Also look in $cxxmachine/include for C++ system
33305 headers.
33306
be13f7bf
LD
333072011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33308
33309 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
33310 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
33311 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
33312 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
33313 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
33314 (USE_AS_WMEMCMP): New macro.
33315 Fixing indents.
33316 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
33317 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
33318 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
33319 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
33320 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33321 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
33322 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
33323 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
33324 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
33325 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
33326 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
33327 (USE_AS_WMEMCMP): New macro.
33328 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
33329 * sysdeps/string/test-memcmp.c: Update.
33330 Fix simple_wmemcmp.
33331 Add new tests.
33332 * wcsmbs/wmemcmp.c: Update.
33333 (WMEMCMP): New macro.
33334 Fix overflow bug.
33335
556a2007
AJ
333362011-10-12 Andreas Jaeger <aj@suse.de>
33337
33338 [BZ #13268]
33339 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
33340
538faaa7
UD
333412011-10-15 Ulrich Drepper <drepper@gmail.com>
33342
ab6737ff
UD
33343 * libio/iofwide.c (do_length): Avoid warning.
33344
538faaa7
UD
33345 * ctype/ctype.h (__isctype_f): Add missing __THROW.
33346
396a21b1
UD
333472011-10-14 Ulrich Drepper <drepper@gmail.com>
33348
cdf2901f
UD
33349 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
33350
38ad40ce
UD
33351 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
33352 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
33353 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
33354 * sysdeps/i386/i686/fpu/e_log.S: New file.
33355 * sysdeps/i386/i686/fpu/e_logf.S: New file.
33356 * sysdeps/i386/i686/fpu/e_logl.S: New file.
33357
396a21b1
UD
33358 * ctype/ctype.h: Add support for inlined isXXX functions when
33359 compiling C++ code.
33360
6b1f68c9
AS
333612011-10-14 Andreas Schwab <schwab@redhat.com>
33362
349290c0
AS
33363 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33364
6b1f68c9
AS
33365 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
33366
f2282d42
RM
333672011-10-13 Roland McGrath <roland@hack.frob.com>
33368
33369 [BZ #13291]
33370 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
33371
5298ffa8
AS
333722011-10-13 Andreas Schwab <schwab@redhat.com>
33373
714fad23
AS
33374 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
33375 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
33376 feraiseexcept.
33377
81dcc7fb
AS
33378 * sysdeps/x86_64/memrchr.S: Check for zero size.
33379
5298ffa8
AS
33380 * string/stratcliff.c: Add memrchr tests.
33381
951fbcec
LD
333822011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33383
33384 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33385 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
33386 rawmemchr-sse2 rawmemchr-sse2-bsf.
33387 * sysdeps/i386/i686/multiarch/memchr.S: New file.
33388 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
33389 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
33390 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
33391 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
33392 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
33393 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
33394 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
33395 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
33396 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
33397 * string/memrchr.c (MEMRCHR): New macro.
33398
0ac5ae23
UD
333992011-10-12 Ulrich Drepper <drepper@gmail.com>
33400
33401 Add integration with gcc's -ffinite-math-only and optimize wrapper
33402 functions in libm.
33403 * Versions.def: Define GLIBC_2.15 version for libm.
33404 * math/Makefile (headers): Add bits/math-finite.h.
33405 * math/bits/math-finite.h: New file.
33406 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
33407 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
33408 * math/e_acoshl.c: Add __*_finite alias.
33409 * math/e_acosl.c: Likewise.
33410 * math/e_asinl.c: Likewise.
33411 * math/e_atan2l.c: Likewise.
33412 * math/e_atanhl.c: Likewise.
33413 * math/e_coshl.c: Likewise.
33414 * math/e_exp10.c: Likewise.
33415 * math/e_exp10f.c: Likewise.
33416 * math/e_exp10l.c: Likewise.
33417 * math/e_exp2l.c: Likewise.
33418 * math/e_fmodl.c: Likewise.
33419 * math/e_gammal_r.c: Likewise.
33420 * math/e_hypotl.c: Likewise.
33421 * math/e_j0l.c: Likewise.
33422 * math/e_j1l.c: Likewise.
33423 * math/e_jnl.c: Likewise.
33424 * math/e_lgammal_r.c: Likewise.
33425 * math/e_log10l.c: Likewise.
33426 * math/e_log2l.c: Likewise.
33427 * math/e_logl.c: Likewise.
33428 * math/e_powl.c: Likewise.
33429 * math/e_sinhl.c: Likewise.
33430 * math/e_sqrtl.c: Likewise.
33431 * math/e_scalb.c: Completely rewritten and optimized.
33432 * math/e_scalbf.c: Likewise.
33433 * math/e_scalbl.c: Likewise.
33434 * math/w_acos.c: Likewise.
33435 * math/w_acosf.c: Likewise.
33436 * math/w_acosl.c: Likewise.
33437 * math/w_acosh.c: Likewise.
33438 * math/w_acoshf.c: Likewise.
33439 * math/w_acoshl.c: Likewise.
33440 * math/w_asin.c: Likewise.
33441 * math/w_asinf.c: Likewise.
33442 * math/w_asinl.c: Likewise.
33443 * math/w_atan2.c: Likewise.
33444 * math/w_atan2f.c: Likewise.
33445 * math/w_atan2l.c: Likewise.
33446 * math/w_atanh.c: Likewise.
33447 * math/w_atanhf.c: Likewise.
33448 * math/w_atanhl.c: Likewise.
33449 * math/w_exp10.c: Likewise.
33450 * math/w_exp10f.c: Likewise.
33451 * math/w_exp10l.c: Likewise.
33452 * math/w_fmod.c: Likewise.
33453 * math/w_fmodf.c: Likewise.
33454 * math/w_fmodl.c: Likewise.
33455 * math/w_j0.c: Likewise.
33456 * math/w_j0f.c: Likewise.
33457 * math/w_j0l.c: Likewise.
33458 * math/w_j1.c: Likewise.
33459 * math/w_j1f.c: Likewise.
33460 * math/w_j1l.c: Likewise.
33461 * math/w_jn.c: Likewise.
33462 * math/w_jnf.c: Likewise.
33463 * math/w_log.c: Likewise.
33464 * math/w_logf.c: Likewise.
33465 * math/w_logl.c: Likewise.
33466 * math/w_log10.c: Likewise.
33467 * math/w_log10f.c: Likewise.
33468 * math/w_log10l.c: Likewise.
33469 * math/w_log2.c: Likewise.
33470 * math/w_log2f.c: Likewise.
33471 * math/w_log2l.c: Likewise.
33472 * math/w_pow.c: Likewise.
33473 * math/w_powf.c: Likewise.
33474 * math/w_powl.c: Likewise.
33475 * math/w_remainder.c: Likewise.
33476 * math/w_remainderf.c: Likewise.
33477 * math/w_remainderl.c: Likewise.
33478 * math/w_scalb.c: Likewise.
33479 * math/w_scalbf.c: Likewise.
33480 * math/w_scalbl.c: Likewise.
33481 * math/w_sqrt.c: Likewise.
33482 * math/w_sqrtf.c: Likewise.
33483 * math/w_sqrtl.c: Likewise.
33484 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
33485 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
33486 used.
33487 * math/math_private.h: Declare __kernel_standard_f.
33488 * math/w_cosh.c: Remove cruft and optimize a bit.
33489 * math/w_coshf.c: Likewise.
33490 * math/w_coshl.c: Likewise.
33491 * math/w_exp2.c: Likewise.
33492 * math/w_exp2f.c: Likewise.
33493 * math/w_exp2l.c: Likewise.
33494 * math/w_hypot.c: Likewise.
33495 * math/w_hypotf.c: Likewise.
33496 * math/w_hypotl.c: Likewise.
33497 * math/w_lgamma.c: Likewise.
33498 * math/w_lgamma_r.c: Likewise.
33499 * math/w_lgammaf.c: Likewise.
33500 * math/w_lgammaf_r.c: Likewise.
33501 * math/w_lgammal.c: Likewise.
33502 * math/w_lgammal_r.c: Likewise.
33503 * math/w_sinh.c: Likewise.
33504 * math/w_sinhf.c: Likewise.
33505 * math/w_sinhl.c: Likewise.
33506 * math/w_tgamma.c: Likewise.
33507 * math/w_tgammaf.c: Likewise.
33508 * math/w_tgammal.c: Likewise.
33509 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33510 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33511 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
33512 Minor optimizations. Pretty printing. Remove cruft.
33513 * sysdeps/i386/fpu/e_acosf.S: Likewise.
33514 * sysdeps/i386/fpu/e_acosh.S: Likewise.
33515 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
33516 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
33517 * sysdeps/i386/fpu/e_acosl.c: Likewise.
33518 * sysdeps/i386/fpu/e_asin.S: Likewise.
33519 * sysdeps/i386/fpu/e_asinf.S: Likewise.
33520 * sysdeps/i386/fpu/e_atan2.S: Likewise.
33521 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
33522 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
33523 * sysdeps/i386/fpu/e_atanh.S: Likewise.
33524 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
33525 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
33526 * sysdeps/i386/fpu/e_exp10.S: Likewise.
33527 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
33528 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
33529 * sysdeps/i386/fpu/e_exp2.S: Likewise.
33530 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
33531 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
33532 * sysdeps/i386/fpu/e_fmod.S: Likewise.
33533 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
33534 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
33535 * sysdeps/i386/fpu/e_hypot.S: Likewise.
33536 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
33537 * sysdeps/i386/fpu/e_log.S: Likewise.
33538 * sysdeps/i386/fpu/e_log10.S: Likewise.
33539 * sysdeps/i386/fpu/e_log10f.S: Likewise.
33540 * sysdeps/i386/fpu/e_log10l.S: Likewise.
33541 * sysdeps/i386/fpu/e_log2.S: Likewise.
33542 * sysdeps/i386/fpu/e_log2f.S: Likewise.
33543 * sysdeps/i386/fpu/e_log2l.S: Likewise.
33544 * sysdeps/i386/fpu/e_logf.S: Likewise.
33545 * sysdeps/i386/fpu/e_logl.S: Likewise.
33546 * sysdeps/i386/fpu/e_pow.S: Likewise.
33547 * sysdeps/i386/fpu/e_powf.S: Likewise.
33548 * sysdeps/i386/fpu/e_powl.S: Likewise.
33549 * sysdeps/i386/fpu/e_remainder.S: Likewise.
33550 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
33551 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
33552 * sysdeps/i386/fpu/e_scalb.S: Likewise.
33553 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
33554 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
33555 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
33556 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
33557 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
33558 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33559 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33560 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33561 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33562 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33563 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33564 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
33565 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33566 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33567 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33568 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33569 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33570 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33571 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33572 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33573 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33574 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33575 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33576 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33577 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33578 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33579 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33580 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33581 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33582 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33583 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33584 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33585 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33586 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
33587 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33588 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33589 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33590 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33591 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33592 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33593 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33594 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33595 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33596 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33597 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33598 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33599 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33600 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33601 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33602 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33603 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33604 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33605 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33606 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33607 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
33608 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33609 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33610 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33611 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33612 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33613 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33614 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33615 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33616 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33617 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33618 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33619 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33620 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33621 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33622 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33623 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33624 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33625 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33626 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
33627 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33628 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33629 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33630 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33631 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33632 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33633 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33634 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33635 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33636 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33637 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33638 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33639 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33640 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
33641 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33642 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33643 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33644 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33645 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33646 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33647 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33648 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33649 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33650 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33651 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
33652 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33653 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
33654 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
33655 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
33656 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
33657 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
33658 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
33659 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
33660 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
33661 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
33662 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
33663 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
33664 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
33665 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33666 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
33667 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
33668 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
33669 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
33670 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
33671 (__isnanf): Likewise.
33672 (__isinf_ns): Likewise.
33673 (__isinf_nsf): Likewise.
33674 (__finite): Likewise.
33675 (__finitef): Likewise.
33676 (__ieee754_sqrt): Define as macro.
33677 (__ieee754_sqrtf): Define as macro.
33678 (__ieee754_sqrtl): Define as macro.
33679 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
33680 inlined copy.
33681 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
33682 __FINITE_MATH_ONLY__ consistent.
33683 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
33684
12cc2fcd
AS
336852011-10-10 Andreas Schwab <schwab@linux-m68k.org>
33686
a843a204
AS
33687 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
33688 of rawmemchr.
33689
12cc2fcd
AS
33690 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
33691
c853acd5
UD
336922011-10-09 Ulrich Drepper <drepper@gmail.com>
33693
33694 * po/ja.po: Update from translation team.
33695
c658d255
RM
336962011-10-08 Roland McGrath <roland@hack.frob.com>
33697
110946e4
RM
33698 * locale/programs/locarchive.c (prepare_address_space): New function.
33699 (create_archive, enlarge_archive, open_archive): Use it.
33700
50604220
RM
33701 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
33702 inside [SHARED], where it is used.
33703
c658d255
RM
33704 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
33705
33706 * nss/getent.c (netgroup_keys): Remove unused variable.
33707 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33708
6a621eb7
UD
337092011-10-08 Ulrich Drepper <drepper@gmail.com>
33710
7edb55ce
UD
33711 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
33712 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
33713 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
33714 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
33715 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
33716 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
33717 * math/Makefile (libm-calls): Add s_isinf_ns.
33718 * math/divtc3.c: Use __isinf_nsl instead of isinf.
33719 * math/multc3.c: Likewise.
33720 * math/s_casin.c: Likewise.
33721 * math/s_casinf.c: Likewise.
33722 * math/s_casinl.c: Likewise.
33723 * math/s_ccos.c: Likewise.
33724 * math/s_ccosf.c: Likewise.
33725 * math/s_ccosl.c: Likewise.
33726 * math/s_ctan.c: Likewise.
33727 * math/s_ctanf.c: Likewise.
33728 * math/s_ctanh.c: Likewise.
33729 * math/s_ctanhf.c: Likewise.
33730 * math/s_ctanhl.c: Likewise.
33731 * math/s_ctanl.c: Likewise.
33732 * math/w_fmod.c: Likewise.
33733 * math/w_fmodf.c: Likewise.
33734 * math/w_fmodl.c: Likewise.
33735 * math/w_remainder.c: Likewise.
33736 * math/w_remainderf.c: Likewise.
33737 * math/w_remainderl.c: Likewise.
33738 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
33739 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
33740 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
33741 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
33742 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
33743 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
33744 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
33745 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
33746
187da0ae
UD
33747 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
33748 of the number.
33749 * stdio-common/printf_fphex.c: Likewise.
33750 * stdio-common/printf_size.c: Likewise.
33751
9277c064
UD
33752 * math/e_exp10.c: Include math_private.h using <...> not "...".
33753 * math/e_exp10f.c: Likewise.
33754 * math/e_exp10l.c: Likewise.
33755 * math/e_exp2l.c: Likewise.
33756 * math/e_j0l.c: Likewise.
33757 * math/e_j1l.c: Likewise.
33758 * math/e_jnl.c: Likewise.
33759 * math/e_lgammal_r.c: Likewise.
33760 * math/e_rem_pio2l.c: Likewise.
33761 * math/e_scalb.c: Likewise.
33762 * math/e_scalbf.c: Likewise.
33763 * math/e_scalbl.c: Likewise.
33764 * math/k_cosl.c: Likewise.
33765 * math/k_sinl.c: Likewise.
33766 * math/k_tanl.c: Likewise.
33767 * math/s_cacoshf.c: Likewise.
33768 * math/s_catan.c: Likewise.
33769 * math/s_catanf.c: Likewise.
33770 * math/s_catanh.c: Likewise.
33771 * math/s_catanhf.c: Likewise.
33772 * math/s_catanhl.c: Likewise.
33773 * math/s_catanl.c: Likewise.
33774 * math/s_ccosh.c: Likewise.
33775 * math/s_ccoshf.c: Likewise.
33776 * math/s_ccoshl.c: Likewise.
33777 * math/s_cexp.c: Likewise.
33778 * math/s_cexpf.c: Likewise.
33779 * math/s_cexpl.c: Likewise.
33780 * math/s_clog.c: Likewise.
33781 * math/s_clog10.c: Likewise.
33782 * math/s_clog10f.c: Likewise.
33783 * math/s_clog10l.c: Likewise.
33784 * math/s_clogf.c: Likewise.
33785 * math/s_clogl.c: Likewise.
33786 * math/s_csin.c: Likewise.
33787 * math/s_csinf.c: Likewise.
33788 * math/s_csinh.c: Likewise.
33789 * math/s_csinhf.c: Likewise.
33790 * math/s_csinhl.c: Likewise.
33791 * math/s_csinl.c: Likewise.
33792 * math/s_csqrt.c: Likewise.
33793 * math/s_csqrtf.c: Likewise.
33794 * math/s_csqrtl.c: Likewise.
33795 * math/s_ctan.c: Likewise.
33796 * math/s_ctanf.c: Likewise.
33797 * math/s_ctanh.c: Likewise.
33798 * math/s_ctanhf.c: Likewise.
33799 * math/s_ctanhl.c: Likewise.
33800 * math/s_ctanl.c: Likewise.
33801 * math/s_ldexp.c: Likewise.
33802 * math/s_ldexpf.c: Likewise.
33803 * math/s_ldexpl.c: Likewise.
33804 * math/s_significand.c: Likewise.
33805 * math/s_significandf.c: Likewise.
33806 * math/s_significandl.c: Likewise.
33807 * math/w_acos.c: Likewise.
33808 * math/w_acosf.c: Likewise.
33809 * math/w_acosh.c: Likewise.
33810 * math/w_acoshf.c: Likewise.
33811 * math/w_acoshl.c: Likewise.
33812 * math/w_acosl.c: Likewise.
33813 * math/w_asin.c: Likewise.
33814 * math/w_asinf.c: Likewise.
33815 * math/w_asinl.c: Likewise.
33816 * math/w_atan2.c: Likewise.
33817 * math/w_atan2f.c: Likewise.
33818 * math/w_atan2l.c: Likewise.
33819 * math/w_atanh.c: Likewise.
33820 * math/w_atanhf.c: Likewise.
33821 * math/w_atanhl.c: Likewise.
33822 * math/w_cosh.c: Likewise.
33823 * math/w_coshf.c: Likewise.
33824 * math/w_coshl.c: Likewise.
33825 * math/w_dremf.c: Likewise.
33826 * math/w_exp10.c: Likewise.
33827 * math/w_exp10f.c: Likewise.
33828 * math/w_exp10l.c: Likewise.
33829 * math/w_exp2.c: Likewise.
33830 * math/w_exp2f.c: Likewise.
33831 * math/w_fmod.c: Likewise.
33832 * math/w_fmodf.c: Likewise.
33833 * math/w_fmodl.c: Likewise.
33834 * math/w_hypot.c: Likewise.
33835 * math/w_hypotf.c: Likewise.
33836 * math/w_hypotl.c: Likewise.
33837 * math/w_j0.c: Likewise.
33838 * math/w_j0f.c: Likewise.
33839 * math/w_j0l.c: Likewise.
33840 * math/w_j1.c: Likewise.
33841 * math/w_j1f.c: Likewise.
33842 * math/w_j1l.c: Likewise.
33843 * math/w_jn.c: Likewise.
33844 * math/w_jnf.c: Likewise.
33845 * math/w_jnl.c: Likewise.
33846 * math/w_lgamma.c: Likewise.
33847 * math/w_lgamma_r.c: Likewise.
33848 * math/w_lgammaf.c: Likewise.
33849 * math/w_lgammaf_r.c: Likewise.
33850 * math/w_lgammal.c: Likewise.
33851 * math/w_lgammal_r.c: Likewise.
33852 * math/w_log.c: Likewise.
33853 * math/w_log10.c: Likewise.
33854 * math/w_log10f.c: Likewise.
33855 * math/w_log10l.c: Likewise.
33856 * math/w_log2.c: Likewise.
33857 * math/w_log2f.c: Likewise.
33858 * math/w_log2l.c: Likewise.
33859 * math/w_logf.c: Likewise.
33860 * math/w_logl.c: Likewise.
33861 * math/w_pow.c: Likewise.
33862 * math/w_powf.c: Likewise.
33863 * math/w_powl.c: Likewise.
33864 * math/w_remainder.c: Likewise.
33865 * math/w_remainderf.c: Likewise.
33866 * math/w_remainderl.c: Likewise.
33867 * math/w_scalb.c: Likewise.
33868 * math/w_scalbf.c: Likewise.
33869 * math/w_scalbl.c: Likewise.
33870 * math/w_sinh.c: Likewise.
33871 * math/w_sinhf.c: Likewise.
33872 * math/w_sinhl.c: Likewise.
33873 * math/w_sqrt.c: Likewise.
33874 * math/w_sqrtf.c: Likewise.
33875 * math/w_sqrtl.c: Likewise.
33876 * math/w_tgamma.c: Likewise.
33877 * math/w_tgammaf.c: Likewise.
33878 * math/w_tgammal.c: Likewise.
33879
6a621eb7
UD
33880 * po/ja.po: Update from translation team.
33881
bf582445
AJ
338822011-09-29 Andreas Jaeger <aj@suse.de>
33883
f9efbf3a
AJ
33884 [BZ #13179]
33885 * sunrpc/netname.c (netname2host): Fix logic.
33886
bf582445
AJ
33887 [BZ #6779]
33888 [BZ #6783]
33889 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
33890 correctly.
33891 * math/w_remainder.c (__remainder): Likewise.
33892 * math/w_remainderf.c (__remainderf): Likewise.
33893 * math/libm-test.inc (remainder_test): Add test cases.
33894
48693bea
AK
338952011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33896
33897 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
33898 sdiv_qrnnd.
33899
42622229
LD
339002011-10-07 Ulrich Drepper <drepper@gmail.com>
33901
33902 * string/test-memcmp.c: Avoid unncessary #defines.
33903 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
33904
093ecf92
LD
339052011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33906
33907 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
33908 Use new sse2 version for core i3 - i7 as it's faster
33909 than sse42 version.
33910 (bit_Prefer_PMINUB_for_stringop): New.
33911 * sysdeps/x86_64/rawmemchr.S: Update.
33912 Replace with faster SSE2 version.
33913 * sysdeps/x86_64/memrchr.S: New file.
33914 * sysdeps/x86_64/memchr.S: Update.
33915 Replace with faster SSE2 version.
33916
fde56e5c
MP
339172011-09-12 Marek Polacek <mpolacek@redhat.com>
33918
33919 * elf/dl-load.c (lose): Add cast to avoid warning.
33920
21fd49a9
UD
339212011-10-07 Ulrich Drepper <drepper@gmail.com>
33922
5a06e643
UD
33923 * po/ca.po: Update from translation team.
33924
684ae515
UD
33925 * inet/getnetgrent_r.c: Hook up nscd.
33926 * nscd/Makefile (routines): Add nscd_netgroup.
33927 (nscd-modules): Add netgroupcache.
33928 (CFLAGS-netgroupcache.c): Define.
33929 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
33930 (cache_search): Add const to second parameter.
33931 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
33932 INNETGR.
33933 (dbs): Add netgrdb entry.
33934 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
33935 (verify_persistent_db): Handle netgrdb.
33936 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
33937 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
33938 GETFDNETGR.
33939 (netgroup_response_header): Define.
33940 (innetgroup_response_header): Define.
33941 (datahead): Add netgroup_response_header and innetgroup_response_header
33942 elements.
33943 * nscd/nscd.conf: Add entries for netgroup cache.
33944 * nscd/nscd.h (dbtype): Add netgrdb.
33945 (_PATH_NSCD_NETGROUP_DB): Define.
33946 (netgroup_iov_disabled): Declare.
33947 (xmalloc, xcalloc, xrealloc): Move declarations here.
33948 (cache_search): Adjust prototype.
33949 Add netgroup-related prototypes.
33950 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
33951 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
33952 (__nscd_innetgr): Declare.
33953 * nscd/selinux.c (perms): Use access_vector_t as element type and
33954 add netgroup-related initializers.
33955 * nscd/netgroupcache.c: New file.
33956 * nscd/nscd_netgroup.c: New file.
33957 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
33958 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
33959 For four parameters use innetgr.
33960 * nss/nss_files/files-init.c: Add definition and callback for netgr.
33961 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
33962 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
33963 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
33964
21fd49a9
UD
33965 * nscd/connections.c (register_traced_file): Don't register file
33966 for disabled databases.
33967
054c0457
UD
339682011-10-06 Ulrich Drepper <drepper@gmail.com>
33969
32b63198
UD
33970 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
33971
054c0457
UD
33972 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
33973 from tree and freeing node.
33974
64031225
JO
339752011-09-25 Jiri Olsa <jolsa@redhat.com>
33976
33977 * nss/nsswitch.c (__nss_database_lookup): Handle
33978 nss_parse_service_list out of memory case.
33979
0490345c
JO
339802011-09-15 Jiri Olsa <jolsa@redhat.com>
33981
33982 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
33983 out of memory case.
33984
3a62d00d
AS
339852011-10-04 Andreas Schwab <schwab@redhat.com>
33986
33987 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
33988 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
33989 pass it down.
33990 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
33991 elf_machine_rela, elf_machine_lazy_rel.
33992 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
33993 (ELF_DYNAMIC_DO_REL): Likewise.
33994 (ELF_DYNAMIC_DO_RELA): Likewise.
33995 (ELF_DYNAMIC_RELOCATE): Likewise.
33996 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
33997 to ELF_DYNAMIC_DO_REL.
33998 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
33999 (dl_main): In trace mode always set __RTLD_NOIFUNC.
34000 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
34001 elf_machine_rela.
34002 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
34003 skip_ifunc, don't call ifunc function if non-zero.
34004 (elf_machine_rela): Likewise.
34005 (elf_machine_lazy_rel): Likewise.
34006 (elf_machine_lazy_rela): Likewise.
34007 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
34008 (elf_machine_lazy_rel): Likewise.
34009 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
34010 Likewise.
34011 (elf_machine_lazy_rel): Likewise.
34012 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34013 Likewise.
34014 (elf_machine_lazy_rel): Likewise.
34015 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
34016 (elf_machine_lazy_rel): Likewise.
34017 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
34018 (elf_machine_lazy_rel): Likewise.
34019 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
34020 (elf_machine_lazy_rel): Likewise.
34021 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
34022 (elf_machine_lazy_rel): Likewise.
34023 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
34024 (elf_machine_lazy_rel): Likewise.
34025 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
34026 (elf_machine_lazy_rel): Likewise.
34027
68577918
UD
340282011-09-28 Ulrich Drepper <drepper@gmail.com>
34029
34030 * nss/nss_files/files-init.c (_nss_files_init): Use static
34031 initialization for all the *_traced_file variables.
34032
68822d74
AS
340332011-09-28 Andreas Schwab <schwab@redhat.com>
34034
34035 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34036
2056100b
RM
340372011-09-27 Roland McGrath <roland@hack.frob.com>
34038
34039 [BZ #13226]
34040 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
34041
32c76b63
AS
340422011-09-27 Andreas Schwab <schwab@redhat.com>
34043
34044 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
34045 Reread the line before reparsing it.
34046
bf972c9d
AS
340472011-09-26 Andreas Schwab <schwab@redhat.com>
34048
34049 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
34050
e057a1b5
JM
340512011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
34052 Maxim Kuvyrkov <maxim@codesourcery.com>
34053 Joseph Myers <joseph@codesourcery.com>
34054
34055 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
34056 if needed for __stack_chk_guard.
34057
bc7e1c36
RM
340582011-09-19 Roland McGrath <roland@hack.frob.com>
34059
ecb1482f
RM
34060 * sysdeps/posix/spawni.c (script_execute): Always define it.
34061 It will be optimized away if unused.
34062 (maybe_script_execute): New function.
34063 (__spawni): Call it.
34064
bc7e1c36
RM
34065 * Makerules: Don't include tls.make.
34066 (config-tls): Always set to thread.
34067 * tls.make.c: File removed.
34068
1c3b002b
MF
340692011-09-19 Mike Frysinger <vapier@gentoo.org>
34070
34071 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
34072 * config.make.in (CPPFLAGS-config): New substituted variable.
34073
2840865d
UD
340742011-09-15 Ulrich Drepper <drepper@gmail.com>
34075
88738eb6
UD
34076 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
34077
cbf645a6 34078 [BZ #13192]
2840865d
UD
34079 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
34080 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
34081
b402e91a
RM
340822011-09-15 Roland McGrath <roland@hack.frob.com>
34083
34084 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
34085 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
34086 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
34087 (CALL_FAIL): Likewise.
34088 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
34089 (CALL_FAIL): Macro removed.
34090 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
34091
4c1a1f71
UD
340922011-09-15 Ulrich Drepper <drepper@gmail.com>
34093
34094 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
34095 for __FINITE_MATH_ONLY__ == 1.
34096
edc121be
AS
340972011-09-15 Andreas Schwab <schwab@redhat.com>
34098
34099 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
34100 __ieee754_sqrt instead of sqrt.
34101 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
34102 __ieee754_sqrtf instead of sqrtf.
34103 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
34104 __floorf instead of floorf.
34105 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
34106 __floorf, __truncf instead of floorf, truncf.
34107
cd205654
UD
341082011-09-14 Ulrich Drepper <drepper@gmail.com>
34109
ee4d0315
UD
34110 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
34111
cd205654
UD
34112 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
34113 __extern_always_inline.
34114 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
34115 32-bit.
34116
48b67d71
AS
341172011-09-14 Andreas Schwab <schwab@redhat.com>
34118
34119 * elf/rtld.c (dl_main): Also relocate in dependency order when
34120 doing symbol dependency testing.
34121
1ae12c75
AS
341222011-09-13 Andreas Schwab <schwab@linux-m68k.org>
34123
34124 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34125 Always define `refsym'.
34126
995a80df
AS
341272011-09-13 Andreas Schwab <schwab@redhat.com>
34128
e529793b
AS
34129 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
34130 (__FD_ELT): Renamed from __FDELT.
34131 * misc/bits/select2.h (__FD_ELT): Likewise.
34132 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
34133 __FD_MASK instead of __FDELT, __FDMASK.
34134 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
34135 Likewise.
34136 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
34137 Likewise.
34138
52d4fef8
AS
34139 * elf/Makefile (gen-ldd): Fix pattern.
34140
995a80df
AS
34141 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
34142 (init_tls): Likewise.
34143
8682f8b0
UD
341442011-09-12 Ulrich Drepper <drepper@gmail.com>
34145
34146 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
34147
de82006d
AS
341482011-09-12 Andreas Schwab <schwab@redhat.com>
34149
a7c8e6a1
AS
34150 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
34151 `struct cmsghdr *' instead of `void *'.
34152 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
34153 Likewise.
34154
0f31fe77
AS
341552011-09-11 Andreas Schwab <schwab@linux-m68k.org>
34156
34157 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
34158 if non-absolute.
34159 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
34160 ldd_rewrite_script.
0f31fe77 34161
32b4c839
UD
341622011-09-11 Ulrich Drepper <drepper@gmail.com>
34163
83cd1420
UD
34164 * configure.in: Remove --with-tls option.
34165 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
34166 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
34167 out in case it is missing.
34168 * sysdeps/ia64/elf/configure.in: Likewise.
34169 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
34170 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
34171 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
34172 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
34173 * sysdeps/sh/elf/configure.in: Likewise.
34174 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
34175 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
34176 * sysdeps/x86_64/elf/configure.in: Likewise.
34177 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
34178 * sysdeps/mach/hurd/tls.h: Likewise.
34179
633f745d
UD
34180 [BZ #13067]
34181 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
34182
f318beb8
UD
34183 [BZ #13090]
34184 * configure.in: Fix use of AC_INIT.
34185
32b4c839
UD
34186 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
34187
3ce1f295
UD
341882011-09-10 Ulrich Drepper <drepper@gmail.com>
34189
bb016596
UD
34190 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
34191 __set_errno.
8e58439c
UD
34192 * malloc/hooks.c: Likewise.
34193
aebae053 34194 [BZ #11929]
02d46fc4
UD
34195 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
34196 variables statically.
34197 (narenas): Initialize.
34198 (list_lock): Initialize.
bb016596
UD
34199 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
34200 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
34201 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
34202 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
34203 Add initializers to main_arena and mp_.
34204 (malloc_state): Remove pagesize member. Change all users to use
34205 GLRO(dl_pagesize).
34206
34207 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
34208 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
34209 is always initialized.
34210
22a89187
UD
34211 * malloc/malloc.c: Removed unused configurations and dead code.
34212 * malloc/arena.c: Likewise.
34213 * malloc/hooks.c: Likewise.
02d46fc4 34214 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 34215
d063d164
UD
34216 * include/tls.h: Removed. USE___THREAD must always be defined.
34217 * bits/libc-tsd.h: Don't handle !USE___THREAD.
34218 * elf/dl-libc.c: Likewise.
34219 * elf/dl-tsd.c: Likewise.
34220 * include/errno.h: Likewise.
34221 * include/netdb.h: Likewise.
34222 * include/resolv.h: Likewise.
34223 * inet/herrno-loc.c: Likewise.
34224 * inet/herrno.c: Likewise.
34225 * malloc/arena.c: Likewise.
34226 * malloc/hooks.c: Likewise.
34227 * malloc/malloc.c: Likewise.
34228 * resolv/res-state.c: Likewise.
34229 * resolv/res_libc.c: Likewise.
34230 * sysdeps/i386/dl-machine.h: Likewise.
34231 * sysdeps/ia64/dl-machine.h: Likewise.
34232 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
34233 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
34234 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
34235 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
34236 * sysdeps/sh/dl-machine.h: Likewise.
34237 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34238 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34239 * sysdeps/unix/i386/sysdep.S: Likewise.
34240 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
34241 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
34242 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
34243 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
34244 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
34245 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
34246 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
34247 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34248 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34249 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
34250 * sysdeps/unix/x86_64/sysdep.S: Likewise.
34251 * sysdeps/x86_64/dl-machine.h: Likewise.
34252 * tls.make.c: Likewise.
34253
3ce1f295
UD
34254 * configure.in: Remove --with-__thread option. Make tests for
34255 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
34256 tls_model attribute fail if no support is available. Remove
34257 USE_IN_LIBIO.
34258 * Makeconfig: Adjust for dropped configure option. All features are
34259 now mandatory.
34260 * Makerules: Likewise.
34261 * Versions.def: Likewise.
34262 * argp/argp-fmtstream.c: Likewise.
34263 * argp/argp-fmtstream.h: Likewise.
34264 * argp/argp-help.c: Likewise.
34265 * assert/assert.c: Likewise.
34266 * config.h.in: Likewise.
34267 * config.make.in: Likewise.
34268 * configure: Likewise.
34269 * configure.in: Likewise.
34270 * csu/Versions: Likewise.
34271 * csu/init.c: Likewise.
34272 * elf/tst-audit2.c: Likewise.
34273 * elf/tst-tls10.c: Likewise.
34274 * elf/tst-tls10.h: Likewise.
34275 * elf/tst-tls11.c: Likewise.
34276 * elf/tst-tls12.c: Likewise.
34277 * elf/tst-tls14.c: Likewise.
34278 * elf/tst-tlsmod11.c: Likewise.
34279 * elf/tst-tlsmod12.c: Likewise.
34280 * elf/tst-tlsmod13.c: Likewise.
34281 * elf/tst-tlsmod13a.c: Likewise.
34282 * elf/tst-tlsmod14a.c: Likewise.
34283 * elf/tst-tlsmod15b.c: Likewise.
34284 * elf/tst-tlsmod16a.c: Likewise.
34285 * elf/tst-tlsmod16b.c: Likewise.
34286 * elf/tst-tlsmod7.c: Likewise.
34287 * elf/tst-tlsmod8.c: Likewise.
34288 * elf/tst-tlsmod9.c: Likewise.
34289 * gmon/gmon.c: Likewise.
34290 * grp/fgetgrent_r.c: Likewise.
34291 * grp/putgrent.c: Likewise.
34292 * hurd/fopenport.c: Likewise.
34293 * include/libc-symbols.h: Likewise.
34294 * include/tls.h: Likewise.
34295 * intl/gettextP.h: Likewise.
34296 * intl/loadinfo.h: Likewise.
34297 * locale/global-locale.c: Likewise.
34298 * locale/localeinfo.h: Likewise.
34299 * mach/devstream.c: Likewise.
34300 * malloc/arena.c: Likewise.
34301 * malloc/set-freeres.c: Likewise.
34302 * misc/err.c: Likewise.
34303 * misc/getttyent.c: Likewise.
34304 * misc/mntent_r.c: Likewise.
34305 * posix/getopt.c: Likewise.
34306 * posix/wordexp.c: Likewise.
34307 * pwd/fgetpwent_r.c: Likewise.
34308 * resolv/Versions: Likewise.
34309 * resolv/res_hconf.c: Likewise.
34310 * shadow/fgetspent_r.c: Likewise.
34311 * shadow/putspent.c: Likewise.
34312 * stdio-common/printf_fphex.c: Likewise.
34313 * stdio-common/tmpfile.c: Likewise.
34314 * stdlib/abort.c: Likewise.
34315 * stdlib/fmtmsg.c: Likewise.
34316 * sunrpc/auth_unix.c: Likewise.
34317 * sunrpc/clnt_perr.c: Likewise.
34318 * sunrpc/clnt_tcp.c: Likewise.
34319 * sunrpc/clnt_udp.c: Likewise.
34320 * sunrpc/clnt_unix.c: Likewise.
34321 * sunrpc/openchild.c: Likewise.
34322 * sunrpc/svc_simple.c: Likewise.
34323 * sunrpc/svc_tcp.c: Likewise.
34324 * sunrpc/svc_udp.c: Likewise.
34325 * sunrpc/svc_unix.c: Likewise.
34326 * sunrpc/xdr.c: Likewise.
34327 * sunrpc/xdr_array.c: Likewise.
34328 * sunrpc/xdr_rec.c: Likewise.
34329 * sunrpc/xdr_ref.c: Likewise.
34330 * sunrpc/xdr_stdio.c: Likewise.
34331
1248c1c4
PB
343322011-09-09 Ulrich Drepper <drepper@gmail.com>
34333
34334 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34335
343362011-07-03 Andreas Jaeger <aj@suse.de>
34337
34338 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
34339 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
34340 regenerate with gen-libm-tests.pl.
34341
343422010-05-12 Petr Baudis <pasky@suse.cz>
34343
34344 [BZ #11589]
34345 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
34346 around j0() zero points by switching to j1().
34347 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34348 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34349 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
34350 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34351
f22e1074
UD
343522011-09-09 Ulrich Drepper <drepper@gmail.com>
34353
f19009c1
UD
34354 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
34355 instead of 0.
34356 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 34357 instead of 0.
f19009c1
UD
34358 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34359 Patch in part by Pavel Roskin <proski@gnu.org>.
34360
3f8cc204
UD
34361 [BZ #13138]
34362 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
34363 realloc.
34364 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
34365 Free memory block if necessary.
34366
f22e1074
UD
34367 [BZ #12847]
34368 * libio/genops.c (INTDEF): For string streams the _lock pointer can
34369 be NULL. Don't lock in this case.
34370
0a2349f9
RM
343712011-09-09 Roland McGrath <roland@hack.frob.com>
34372
34373 * elf/elf.h (ELFOSABI_GNU): New macro.
34374 (ELFOSABI_LINUX): Define to that.
34375
f3cdd467
DZ
343762011-07-29 Denis Zaitceff <zaitceff@gmail.com>
34377
34378 * string/strncat.c (strncat): Undef the symbol in case it has been
34379 defined in bits/string.h.
34380
74718d13
UD
343812011-09-09 Ulrich Drepper <drepper@gmail.com>
34382
633e9e0f
UD
34383 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
34384
0a2349f9 34385 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
34386 link map.
34387
f9924780
AJ
343882011-08-17 Andreas Jaeger <aj@suse.de>
34389
34390 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
34391
7f5517aa
PP
343922011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
34393 Ian Lance Taylor <iant@google.com>
34394
34395 * math/libm-test.inc (lround_test): New testcase.
34396 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
34397
762011fe
UD
343982011-09-08 Ulrich Drepper <drepper@gmail.com>
34399
92963737
UD
34400 * Makefile: Remove support for automatic cvs check-ins.
34401 * Makerules: Likewise.
34402 * config.make.in: Likewise.
34403 * configure.in: Likewise.
34404 * intl/Makefile: Likewise.
34405 * locale/Makefile: Likewise.
34406 * po/Makefile: Likewise.
34407 * posix/Makefile: Likewise.
34408 * sysdeps/gnu/Makefile: Likewise.
34409 * sysdeps/mach/hurd/Makefile: Likewise.
34410 * sysdeps/sparc/sparc32/Makefile: Likewise.
34411
b0727fd8
JS
34412 [BZ #13118]
34413 * posix/Makefile (bug-regex32-ENV): Define.
34414 Patch by John Stanley <jpsinthemix@verizon.net>.
34415
a0f33f99
UD
34416 * misc/Makefile (headers): Add bits/select2.h.
34417 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
34418 * misc/bits/select2.h: New file.
34419 * include/bits/select2.h: New file.
34420 * debug/Makefile (routines): Add fdelt_chk.
34421 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
34422 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
34423 FD_ISSET.
34424 * debug/fdelt_chk.c: New file.
34425
762011fe
UD
34426 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
34427 * wcsmbs/test-wmemcmp.c: Likewise.
34428 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 34429 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
34430
344312011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34432
34433 * string/Makefile (strop-tests): Add memcmp.
34434 * string/test-wmemcmp.c: New file.
34435 * string/test-memcmp.c: Add wmemcmp support.
34436
7f513ec8
RM
344372011-09-08 Roland McGrath <roland@hack.frob.com>
34438
0442afb4
RM
34439 [BZ #13153]
34440 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
34441 2011-07-19 change.
34442
7f513ec8
RM
34443 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
34444 garbage value in a __mach_port_mod_refs call in the cases of the
34445 task-self and thread-self ports.
34446
a12b2239
ST
344472011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
34448
34449 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
34450
610f9ab4
AS
344512011-09-08 Andreas Schwab <schwab@redhat.com>
34452
7f513ec8 34453 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 34454
48882a1a
LD
344552011-09-07 Ulrich Drepper <drepper@gmail.com>
34456
b49865be
UD
34457 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
34458
fdc86bc9
UD
34459 * elf/dl-libc.c (dlerror_run): Pass back error code from
34460 dl_catch_error.
34461
c966526a
UD
34462 [BZ #13123]
34463 * elf/dl-load.c (lose): Free l_origin if it is valid.
34464
48882a1a
LD
34465 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
34466 names.
34467 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
34468 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34469 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34470 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34471 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
34472 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
34473
77a2a8b4
AZ
344742011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34475
34476 * sysdeps/powerpc/fpu/e_hypot.c: New file.
34477 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
34478 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
34479 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
34480 * sysdeps/powerpc/fpu/k_cosf.c: New file.
34481 * sysdeps/powerpc/fpu/k_sinf.c: New file.
34482 * sysdeps/powerpc/fpu/s_cosf.c: New file.
34483 * sysdeps/powerpc/fpu/s_sinf.c: New file.
34484 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
34485 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
34486
24f579d8
AM
344872011-08-15 Alan Modra <amodra@gmail.com>
34488
34489 [BZ #13092]
34490 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
34491 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
34492 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
34493 ppc_mcount to static-only-routines.
34494 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
34495 __mcount_internal.
34496 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
34497 __mcount_internal with usual JUMPTARGET. Remove useless nop.
34498
3d4837df
UD
344992011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
34500
34501 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
34502 for finite and infinity parameters.
34503
22700377
WS
345042011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
34505
34506 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
34507 and add nop instructions for throughput optimization.
34508 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34509
5025581e
WS
345102011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
34511
34512 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
34513 aligned copy for power7 with vector-scalar instructions.
34514 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
34515
08a300c9
L
345162011-07-24 H.J. Lu <hongjiu.lu@intel.com>
34517
34518 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
34519 AVX check.
34520
59178ef9
AS
345212011-09-07 Andreas Schwab <schwab@redhat.com>
34522
34523 [BZ #13144]
34524 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
34525 last change.
34526
e38ba7ab
UD
345272011-09-07 Ulrich Drepper <drepper@gmail.com>
34528
34529 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34530 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
34531 syscall wrapper around clock_gettime in __vdso_clock_gettime.
34532 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
34533 clock_gettime.
34534
d53a73ac
UD
345352011-09-06 Ulrich Drepper <drepper@gmail.com>
34536
fc8bffcc
UD
34537 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
34538 Forgot to demangle the pointer.
34539
ceaa0c5d
UD
34540 * sysdeps/i386/sysdep.h: Define atom_text_section.
34541 * sysdeps/x86_64/sysdep.h: Likewise.
34542 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
34543 section with atom_text_section.
34544 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34545 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34546 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
34547 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34548 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
34549
a77d3c17
UD
34550 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
34551 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
34552 already be defined. Change to take two parameters and don't assign
34553 result to variable. Adjust all users.
34554 Define INTERNAL_GETTIME if not already defined.
34555 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
34556 call.
34557 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
34558 HAVE_CLOCK_GETTIME_VSYSCALL.
34559 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
34560
d53a73ac
UD
34561 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
34562 gettimeofday vsyscall, just use time.
34563
a8f84144
AS
345642011-09-06 Andreas Schwab <schwab@redhat.com>
34565
34566 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
34567 <errno.h>.
34568
ef606249
UD
345692011-09-06 Ulrich Drepper <drepper@gmail.com>
34570
34571 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
34572 syscall on x86-64.
34573 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
34574 syscall.
34575 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
34576 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
34577 syscall if possible.
34578
6585cb60
UD
345792011-09-05 Ulrich Drepper <drepper@gmail.com>
34580
34581 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
34582 e_ident. Don't pass to find_mapsXX.
34583 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
34584
a5f524e4
LD
345852011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34586
34587 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34588 strchr-sse2-no-bsf strrchr-sse2-no-bsf
34589 * sysdeps/x86_64/multiarch/strchr.S: Update.
34590 Check bit_slow_BSF bit.
34591 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34592 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
34593 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
34594
554881ef
UD
345952011-09-05 Ulrich Drepper <drepper@gmail.com>
34596
d96de963
UD
34597 [BZ #13134]
34598 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
34599 before glibc 2.15.
34600 (tryshell): Define.
34601 (__spawni): Change last parameter to be flag. Test
34602 SPAWN_XFLAGS_USE_PATH flag to use path or not.
34603 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
34604 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
34605 * posix/spawni.c: Likewise.
34606 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
34607 * posix/spawnp.c: Likewise. Change normal version to use
34608 SPAWN_XFLAGS_USE_PATH.
34609 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
34610 SPAWN_XFLAGS_TRY_SHELL.
34611
d48e5868
UD
34612 [BZ #13150]
34613 * posix/glob.h: Remove gcc 1.x support.
34614
554881ef
UD
34615 [BZ #13068]
34616 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
34617
693fb948
LD
346182011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34619
34620 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34621 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
34622 strrchr-sse2-bsf
34623 * sysdeps/i386/i686/multiarch/strchr.S: New file.
34624 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
34625 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
34626 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
34627 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
34628 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
34629
1b48c537
UD
346302011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34631
49d42c37
UD
34632 * sysdeps/x86_64/wcscmp.S: New file.
34633
1b48c537
UD
34634 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
34635 wcscmp-c wcscmp-sse2
34636 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
34637 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
34638 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
34639 * wcsmbs/wcscmp.c: Allow renaming.
34640
15c95c5d
DM
346412011-09-05 David S. Miller <davem@davemloft.net>
34642
34643 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
34644 stack slot, rather than the struct return pointer slot.
34645 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
34646 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
34647 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
34648 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
34649
2f0ad8f3
UD
346502011-09-05 Ulrich Drepper <drepper@gmail.com>
34651
d88ae418
UD
34652 * po/ja.po: Update from translation team.
34653
2f0ad8f3
UD
34654 [BZ #13144]
34655 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
34656 kernel in 64-bit binaries.
34657
5f4318d1
DM
346582011-09-01 David S. Miller <davem@davemloft.net>
34659
34660 * elf/elf.h (HWCAP_SPARC_*): Move to..
34661 * sysdeps/sparc/sysdep.h: this new file and add new values.
34662 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
34663 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
34664 _DL_HWCAP_COUNT to 24.
34665 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
34666 entries.
34667 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
34668 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
34669 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
34670 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
34671 instead of magic constants.
34672 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34673
3ba57516
DM
346742011-08-31 David S. Miller <davem@davemloft.net>
34675
34676 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
34677 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
34678 Reimplement to do errno handling inline.
34679 (SYSCALL_ERROR_HANDLER): New macro.
34680 (__SYSCALL_STRING): Do not do errno handling in asm.
34681 (__CLONE_SYSCALL_STRING): Delete.
34682 (__INTERNAL_SYSCALL_STRING): Delete.
34683 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
34684 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
34685 (PSEUDO): Reimplement to do errno handling inline.
34686 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
34687 (SYSCALL_ERROR_HANDLER): New macro.
34688 (__SYSCALL_STRING): Do not do errno handling in asm.
34689 (__CLONE_SYSCALL_STRING): Delete.
34690 (__INTERNAL_SYSCALL_STRING): Delete.
34691 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
34692 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
34693 i386.
34694 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
34695 (inline_syscall*): Add 'err' argument.
34696 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
34697 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
34698 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
34699 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
34700
34701 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
34702 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34703
2bc17433
AS
347042011-08-30 Andreas Schwab <schwab@redhat.com>
34705
34706 * elf/rtld.c (dl_main): Relocate objects in dependency order.
34707
fbeb5f4d
JO
347082011-08-29 Jiri Olsa <jolsa@redhat.com>
34709
34710 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
34711 directive.
34712
ad69cc26
DM
347132011-08-24 David S. Miller <davem@davemloft.net>
34714
34715 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
34716
39dd69df
AS
347172011-08-24 Andreas Schwab <schwab@redhat.com>
34718
34719 * elf/Makefile: Add rules to build and run unload8 test.
34720 * elf/unload8.c: New file.
34721 * elf/unload8mod1.c: New file.
34722 * elf/unload8mod1x.c: New file.
34723 * elf/unload8mod2.c: New file.
34724 * elf/unload8mod3.c: New file.
34725
34726 * elf/dl-close.c (_dl_close_worker): Reset private search list if
34727 it wasn't used.
34728
2c0b250a
DM
347292011-08-23 David S. Miller <davem@davemloft.net>
34730
34731 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
34732 subtract stack bias.
34733 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
34734 %sp not %fp in calculations.
34735 (_JMPBUF_UNWINDS_ADJ): Likewise.
34736
22044b48
DM
34737 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
34738 (aio_suspend): Call it to force an exception region around the
34739 AIO_MISC_WAIT() invocation.
34740
2cae4995
AS
347412011-08-23 Andreas Schwab <schwab@redhat.com>
34742
34743 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
34744 backslash.
34745
873a772e
AJ
347462011-07-04 Aurelien Jarno <aurelien@aurel32.net>
34747
34748 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
34749 protection macro.
34750 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
34751 and <dl-machine.h>.
34752 (Elf64_FuncDesc): Remove.
34753
25ad0df1
DM
347542011-08-22 David S. Miller <davem@davemloft.net>
34755
34756 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
34757 sigaltstack check, add missing cfi directives.
34758 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
34759 missing cfi directives, and sigaltstack handling.
34760
e888bcbe
AS
347612011-08-16 Andreas Schwab <schwab@redhat.com>
34762
34763 [BZ #11724]
34764 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
34765 object is seen twice.
34766 * elf/dl-fini.c (_dl_sort_fini): Likewise.
34767
34768 * elf/Makefile (distribute): Add tst-initorder2.c.
34769 (tests): Add tst-initorder2.
34770 (modules-names): Add tst-initorder2a tst-initorder2b
34771 tst-initorder2c tst-initorder2d. Add rules to build them.
34772 ($(objpfx)tst-initorder2.out): New rule.
34773 * elf/tst-initorder2.c: New file.
34774 * elf/tst-initorder2.exp: New file.
34775
87162f46
AS
347762011-08-22 Andreas Schwab <schwab@redhat.com>
34777
70538b7f
AS
34778 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
34779
f55ffe58
AS
34780 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
34781 dependencies back to end of function.
34782
87162f46
AS
34783 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34784 $(elfobjdir)/ld.so.
34785
91b392a4
UD
347862011-08-21 Ulrich Drepper <drepper@gmail.com>
34787
34788 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
34789 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
34790 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
34791 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
34792 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
34793 of __vdso_gettimeofday.
34794 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
34795 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
34796 attribute_hidden.
34797 (_libc_vdso_platform_setup): Remove initialization of
34798 __vdso_gettimeofday and __vdso_time.
34799
5c43483f
UD
348002011-08-20 Ulrich Drepper <drepper@gmail.com>
34801
775a77e7
UD
34802 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
34803 and fgetc_unlocked.
34804 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
34805 getc_unlocked.
89f447ed 34806
49c74ba9
UD
34807 * elf/dl-open.c (add_to_global): Report additions to the global scope
34808 for LD_DEBUG=scopes.
34809 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 34810 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 34811
5c43483f
UD
34812 [BZ #13114]
34813 * stdio-common/Makefile (tests): Add bug24.
34814 * stdio-common/bug24.c: New file.
34815
a101b025
AJ
348162011-08-19 Andreas Jaeger <aj@suse.de>
34817
34818 [BZ #13114]
34819 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
34820 non-existant file when using close-on-exec mode.
34821
c88f1766
UD
348222011-08-20 Ulrich Drepper <drepper@gmail.com>
34823
0276a718
UD
34824 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
34825 the very first instruction.
34826
c88f1766
UD
34827 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
34828 the CFI state in the end.
34829 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
34830 inclusion of dl-trampoline.h.
34831 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
34832
51ccffa0
AS
348332011-08-19 Andreas Schwab <schwab@redhat.com>
34834
94d7165f
AS
34835 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
34836 expectations for long double.
34837
51ccffa0
AS
34838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
34839 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
34840
fd708658 348412011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
34842
34843 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
34844 artificual limit depends upon the system page size.
34845
44f0a71e
UD
348462011-08-17 Ulrich Drepper <drepper@gmail.com>
34847
34848 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
34849 * resolv/Makefile: Define CFLAGS-libresolv.
34850
8de79a24
AS
348512011-08-17 Andreas Schwab <schwab@redhat.com>
34852
34853 * nss/makedb.c (compute_tables): Make variables used in nested
34854 function static.
34855
27724598
UD
348562011-08-17 Ulrich Drepper <drepper@gmail.com>
34857
c5305d88
UD
34858 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
34859 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
34860 if buffer was too small.
34861
27724598
UD
34862 * elf/pldd.c (main): Attach to all threads in the process.
34863 Rewrite /proc handling to use *at functions.
34864
076fe015
UD
348652011-08-16 Ulrich Drepper <drepper@gmail.com>
34866
174baab3
UD
34867 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
34868 specifies first scope to show.
34869 (dl_open_worker): Update callers. Move printing scope of new
34870 object to before the relocation.
44f0a71e 34871 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
34872 * sysdeps/generic/ldsodefs.h: Update declaration.
34873
076fe015
UD
34874 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
34875 string for the scope number.
34876
a60df2c3
UD
348772011-08-14 Ulrich Drepper <drepper@gmail.com>
34878
34879 * nscd/servicescache.c (cache_addserv): Make sure written is always
34880 initialized.
34881
5e4287d1
RM
348822011-08-14 Roland McGrath <roland@hack.frob.com>
34883
85ae0589
RM
34884 * sysdeps/i386/i486/bits/atomic.h
34885 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
34886 statement expression, so as to suppress "set but not used" warning.
34887 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
34888
69f63097
RM
34889 * string/strncat.c (STRNCAT): Use prototype definition.
34890
675456ef
RM
34891 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
34892 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
34893 -Iprograms here.
34894 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
34895 (localedef-modules): Add localedef.
34896 (locale-modules): Add locale.
34897
5e4287d1
RM
34898 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
34899 * elf/rtld.c (dl_main): Invert order of assignment in last change,
34900 to avoid a warning.
34901
9c96ff23
DM
349022011-08-14 David S. Miller <davem@davemloft.net>
34903
34904 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
34905 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
34906
f9ddf089
UD
349072011-08-13 Ulrich Drepper <drepper@gmail.com>
34908
44f0a71e 34909 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
34910 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
34911 * elf/rtld.c (dl_main): Set l_name of vDSO.
34912 Call _dl_show_scope when DL_DEBUG_SCOPES.
34913 (process_dl_debug): Recognize scopes flag and also set it for all.
34914 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
34915 Declare _dl_show_scope.
34916
1dc27704
UD
34917 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
34918 (do_dlopen): Pass caller_dlopen to dl_open.
34919 (__libc_dlopen_mode): Initialize caller_dlopen.
34920
f9ddf089
UD
34921 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
34922 of libc. Make tolower call locale-independent. Optimize a bit by
34923 using isdigit instead of isalnum.
34924 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
34925
9ac533d3
UD
349262011-08-12 Ulrich Drepper <drepper@gmail.com>
34927
34928 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
34929 was a dependency or dynamically loaded.
34930
89edf2e9
UD
349312011-08-11 Ulrich Drepper <drepper@gmail.com>
34932
8e999d29
UD
34933 * intl/l10nflist.c: Allow architecture-specific pop function.
34934 * sysdeps/x86_64/l10nflist.c: New file.
34935
89edf2e9
UD
34936 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
34937 classification.
34938
14d96785
AS
349392011-08-10 Andreas Schwab <schwab@redhat.com>
34940
34941 * include/dirent.h: Add libc_hidden_proto for scandirat and
34942 scandirat64. Don't declare __scandirat64.
34943 * dirent/scandirat.c: Add libc_hidden_def.
34944 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
34945 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
34946
6761ac04
DM
349472011-08-10 David S. Miller <davem@davemloft.net>
34948
34949 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
34950 enum.
34951 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34952 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34953 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34954
c55fbd1e
UD
349552011-08-09 Ulrich Drepper <drepper@gmail.com>
34956
34957 * Versions.def [libc]: Add GLIBC_2.15.
34958 * dirent/Makefile (routines): Add scandirat and scandirat64.
34959 * dirent/Versions [libc]: Export scandirat and scandirat64 for
34960 GLIBC_2.15.
34961 * dirent/dirent.h: Declare scandirat and scandirat64.
34962 * dirent/scandirat.c: New file.
34963 * dirent/scandirat64.c: New file.
34964 * sysdeps/wordsize-64/scandirat.c: New file.
34965 * sysdeps/wordsize-64/scandirat64.c: New file.
34966 * dirent/opendir.c: Define opendirat.
34967 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
34968 using scandirat.
34969 * dirent/scandir64.c: Adjust for scandir.c change.
34970 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
34971 __scandirat64, and __scandir_cancel_handler.
34972 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
34973 additional parameter and use openat instead of open (outside of ld.so).
34974 Add new __opendir as wrapper around __opendirat.
34975 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
34976 here without requiring old scandirat implementation.
34977
879165f2
UD
349782011-08-08 Ulrich Drepper <drepper@gmail.com>
34979
34980 * dirent/scandir.c (cancel_handler): Renamed to
34981 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
34982 defined. Adjust users.
34983 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
34984 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
34985
cb7e923b
UD
349862011-08-04 Ulrich Drepper <drepper@gmail.com>
34987
16292edd
UD
34988 * string/test-string.h (IMPL): Use __STRING to expand name and then
34989 stringify it.
34990
cb7e923b
UD
34991 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
34992 of cleanups.
34993
cff82933
LD
349942011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34995
34996 * string/Makefile: Update.
34997 (strop-tests): Append strncat.
34998 * string/test-wcscmp.c: New file.
34999 New comprehensive test for wcscmp.
35000 * string/test-strcmp.c: Update.
35001 (WIDE): New define.
35002
9be9bfcc
AS
350032011-07-22 Andreas Schwab <schwab@redhat.com>
35004
35005 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
35006 line.
35007
2e96f1c7
AS
350082011-07-26 Andreas Schwab <schwab@redhat.com>
35009
35010 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
35011 encoding to ACE if AI_IDN.
35012
85188888
JJ
350132011-08-01 Jakub Jelinek <jakub@redhat.com>
35014
35015 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
35016 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
35017
5fa16e9b
LD
350182011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35019
35020 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
35021 Fix overflow bug in strncat.
35022 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
35023
35024 * string/test-strncat.c: Update.
35025 Add new tests for checking overflow bugs.
35026
350272011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35028
35029 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35030 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
35031 * sysdeps/i386/i686/multiarch/strcat.S: New file.
35032 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
35033 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
35034 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
35035 * sysdeps/i386/i686/multiarch/strncat.S: New file.
35036 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
35037 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
35038
35039 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
35040 (USE_AS_STRCAT): Define.
35041 Add strcat and strncat support.
35042 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
35043
8c1a459f
AS
350442011-07-25 Andreas Schwab <schwab@redhat.com>
35045
35046 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
35047 __n bigger than INT_MAX+1.
35048 (__strncmp_g): Likewise.
35049
bba33c28
UD
350502011-07-23 Ulrich Drepper <drepper@gmail.com>
35051
798be72d
UD
35052 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
35053 * libio/stido.h: Likewise.
35054
8accd4dc
UD
35055 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
35056 (AF_NFC): Define.
35057 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
35058 (AF_NFC): Define.
35059
cbff0d96
UD
35060 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
35061 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35062 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35063 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
35064 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35065
9191c04a
UD
35066 [BZ #13021]
35067 * scripts/test-installation.pl: Don't expect libnss_test1 to be
35068 installed.
35069
bba33c28
UD
35070 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
35071 typo.
35072 (_dl_x86_64_save_sse): Likewise.
35073
90f139dd
UD
350742011-07-22 Ulrich Drepper <drepper@gmail.com>
35075
1aae088a
UD
35076 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
35077 OSXSAVE.
35078 (_dl_x86_64_save_sse): Likewise.
35079
8e2045f5
UD
35080 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
35081
90f139dd
UD
35082 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
35083
1d002f25
AS
350842011-07-21 Andreas Schwab <schwab@redhat.com>
35085
35086 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
35087 change.
35088 (_dl_x86_64_save_sse): Use correct AVX check.
35089
21137f89
UD
350902011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35091
35092 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
35093 bug in strncpy/strncat.
35094 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
35095
a65c0b7a
UD
350962011-07-21 Ulrich Drepper <drepper@gmail.com>
35097
35098 * string/tester.c (test_strcat): Add tests for different alignments
35099 of source and destination.
35100 (test_strncat): Likewise.
35101
6986b98a
UD
351022011-07-20 Ulrich Drepper <drepper@gmail.com>
35103
90bb2039
UD
35104 [BZ #12852]
35105 * posix/glob.c (glob): Check passed in values before using them in
35106 expressions to avoid some overflows.
35107 (glob_in_dir): Likewise.
35108
5644ef54
UD
35109 [BZ #13007]
35110 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
35111 check for AVX enablement so that we don't crash with old kernels and
35112 new hardware.
35113 * elf/tst-audit4.c: Add same checks here.
35114 * elf/tst-audit6.c: Likewise.
35115
35116 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 35117
bfc9dc9b
AS
351182011-07-09 Andreas Schwab <schwab@linux-m68k.org>
35119
35120 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
35121
702e64bb
UD
351222011-07-20 Ulrich Drepper <drepper@gmail.com>
35123
35124 * po/cs.po: Update from translation team.
35125 * po/bg.po: Likewise.
35126
295e904f
MP
351272011-07-12 Marek Polacek <mpolacek@redhat.com>
35128
35129 * misc/sys/cdefs.h: Add support for const attribute.
35130 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
35131 to gnu_dev_{major,minor,makedev} functions.
35132
3ff94596
MP
351332011-07-20 Marek Polacek <mpolacek@redhat.com>
35134
35135 * intl/dcigettext.c (get_output_charset): Add missing bracket.
35136
28b59fca
AS
351372011-07-20 Andreas Schwab <schwab@redhat.com>
35138
35139 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
35140 strlen results.
35141
19df733e
AK
351422011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35143
35144 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
35145 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
35146 register in order to avoid conflicts with the soft frame pointer
35147 being held in r11 when necessary.
35148 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
35149 (INTERNAL_VSYSCALL_NCS): Likewise.
35150
c8835729
MP
351512011-07-14 Marek Polacek <mpolacek@redhat.com>
35152
35153 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
35154 * elf/dl-fini.c (_dl_fini): Adjust caller.
35155 * elf/dl-close.c (_dl_close_worker): Likewise.
35156 * sysdeps/generic/ldsodefs.h: Adjust declaration.
35157
b902330c
MP
351582011-07-15 Marek Polacek <mpolacek@redhat.com>
35159
8991e135
MP
35160 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
35161 "aux_cache->nlibs < 0".
35162
b902330c
MP
35163 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
35164 in the reload-count case.
35165
99710781
LD
351662011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35167
35168 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35169 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
35170 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
35171 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
35172 * sysdeps/x86_64/multiarch/strcat.S: New file.
35173 * sysdeps/x86_64/multiarch/strncat.S: New file.
35174 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
35175 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
35176 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
35177 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
35178 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
35179 (USE_AS_STRCAT): Define.
35180 Add strcat and strncat support.
35181 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
35182 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
35183 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
35184 * string/strncat.c: Update.
35185 (USE_AS_STRNCAT): Define.
35186 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35187 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
35188 and i7.
35189 * sysdeps/x86_64/multiarch/init-arch.h
35190 (bit_Prefer_PMINUB_for_stringop): New.
35191 (index_Prefer_PMINUB_for_stringop): Likewise.
35192 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
35193 bit_Prefer_PMINUB_for_stringop.
35194
7dc6bd90
UD
351952011-07-19 Ulrich Drepper <drepper@gmail.com>
35196
35197 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
35198 buffer64.
35199 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
35200 of casting of buffer.
35201 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
35202 buffer32 and buffer64.
35203 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
35204 writes instead of casting of buffer.
35205 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
35206 buffer32.
35207 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
35208 casting of buffer.
35209
e0e72284
AS
352102011-07-19 Andreas Schwab <schwab@redhat.com>
35211
35212 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
35213
feb1eb0b
UD
352142011-07-19 Ulrich Drepper <drepper@gmail.com>
35215
35216 * nscd/nscd.c (termination_handler): Don't do anything for a database
35217 if it has not yet been initialized.
35218
298711ff
UD
352192011-07-18 Ulrich Drepper <drepper@gmail.com>
35220
35221 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
35222
352232011-07-15 Marek Polacek <mpolacek@redhat.com>
35224
35225 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
35226
f9d68389
UD
352272011-07-18 Ulrich Drepper <drepper@gmail.com>
35228
35229 * po/nl.po: Update from translation team.
35230 * po/sv.po: Likewise.
35231
db290cf5
RM
352322011-07-16 Roland McGrath <roland@hack.frob.com>
35233
35234 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
35235 now disallowed by GCC.
5c550700 35236
fd5e21c7
RM
35237 * configure.in (use-default-link): Default to yes if a test -shared
35238 link meets our qualifications.
35239 * configure: Regenerated.
35240
5c550700
RM
35241 * config.make.in (output-format): New variable.
35242 * configure.in: Check for ld --print-output-format support.
35243 * configure: Regenerated.
35244 * Makerules ($(common-objpfx)format.lds)
35245 [$(output-format) != unknown]: Just use $(output-format),
35246 instead of the linker-script munging.
35247
9fa2c032
RM
352482011-07-14 Roland McGrath <roland@hack.frob.com>
35249
a6928d51
RM
35250 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
35251 of $(common-objpfx)shlib.lds.
35252 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
35253
661607b3
RM
35254 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
35255 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
35256
9fa2c032
RM
35257 * configure.in (-z relro check): Adjust test code to add a large
35258 writable data section after it.
35259 * configure: Regenerated.
35260
defe9061
RM
352612011-07-11 Roland McGrath <roland@hack.frob.com>
35262
35263 * configure.in (-z relro check): Fix test code to make the variable
35264 truly const.
35265 * configure: Regenerated.
35266
319b9ad4
UD
352672011-07-11 Ulrich Drepper <drepper@gmail.com>
35268
35269 * nscd/nscd.h (struct traced_file): Define.
35270 (struct database_dyn): Remove inotify_descr, reset_res, and filename
35271 elements. Add traced_files.
35272 (inotify_fd): Declare.
35273 (register_traced_file): Declare.
35274 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
35275 (inotify_fd): Export.
35276 (resolv_conf_descr): Remove.
35277 (nscd_init): Move inotify descriptor creation to main.
35278 Don't register files for notification here.
35279 (register_traced_file): New function.
35280 (invalidate_cache): Don't use reset_res to determine whether to call
35281 res_init, go through the list of registered files.
35282 (main_loop_poll): The inotify descriptors are now stored in the
35283 structures for the traced files.
35284 (main_loop_epoll): Likewise
35285 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
35286 to __nss_disable_nscd.
35287 * nscd/cache.c (prune_cache): There is no single inotify descriptor
35288 for a database anymore. Check the records for all the registered
35289 files instead.
35290 * nss/Makefile (libnss_files-routines): Add files-init.
35291 (libnss_db-routines): Add db-init.
35292 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
35293 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
35294 * nss/nss_db/db-init.c: New file.
35295 * nss/nss_files/files-init.c: New file.
35296 * nss/nsswitch.c (nss_load_library): New function. Broken out of
35297 __nss_lookup_function.
35298 (__nss_lookup_function): Call nss_load_library.
35299 (nss_load_all_libraries): New function.
35300 (__nss_disable_nscd): Take parameter with callback function for files
35301 to register. Set is_nscd. Load all the DSOs for the NSS modules
35302 used for the cached services.
35303 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
35304 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
35305 options for features to all the files in nscd.
35306
35307 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
35308
23bee3e8
RM
353092011-07-10 Roland McGrath <roland@hack.frob.com>
35310
35311 * csu/elf-init.c (__libc_csu_init): Comment typo.
35312
46a5b7f0
UD
353132011-07-09 Ulrich Drepper <drepper@gmail.com>
35314
35315 * po/pl.po: Update from translation team.
35316 * po/ja.po: Likewise.
35317 * po/ru.po: Likewise.
35318 * po/ko.po: Likewise.
35319 * po/fr.po: Likewise.
35320
d30cf5bb
RM
353212011-07-09 Roland McGrath <roland@hack.frob.com>
35322
113ddea4
RM
35323 * configure.in (.ctors/.dtors header and trailer check):
35324 Use an empirical test on a built program.
35325 * configure: Regenerated.
35326
574920b4
RM
35327 * configure.in (-z relro check): Use an empirical test on a built DSO.
35328 Detect, but do not require, on ia64.
35329 * configure: Regenerated.
35330
d30cf5bb
RM
35331 * configure.in (READELF): Find it with AC_CHECK_TOOL.
35332 Update tests that use readelf to use $READELF instead.
35333 * configure: Regenerated.
35334
8538fdb3
UD
353352011-07-08 Ulrich Drepper <drepper@gmail.com>
35336
35337 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
35338 if the result is not used.
35339
04d08991
AJ
353402011-07-05 Andreas Jaeger <aj@suse.de>
35341
35342 [BZ#9696]
35343 * stdlib/tst-strtod.c: Add testcase.
35344
de283087
AD
353452011-07-07 Ulrich Drepper <drepper@gmail.com>
35346
4e5f31c8 35347 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 35348 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
35349 The latter has a higher limit. Take additional parameter to pass to
35350 the new function.
35351 (__pathconf): Pass file to __statfs_link_max.
35352 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
35353 __statfs_link_max.
35354 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
35355 __statfs_link_max.
35356
de283087
AD
35357 [BZ #12868]
35358 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
35359 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35360 Handle Lustre.
35361 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
35362 (__statfs_filesize_max): Likewise.
35363 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
35364
c75fa153
AJ
353652011-07-05 Andreas Jaeger <aj@suse.de>
35366
35367 * resolv/res_comp.c (dn_skipname): Remove unused variable.
35368
1a544854
UD
353692011-07-06 Marek Polacek <mpolacek@redhat.com>
35370
35371 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
35372 `status' variable.
35373 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
35374 Likewise.
35375
6f0eec67
UD
353762011-07-04 H.J. Lu <hongjiu.lu@intel.com>
35377
35378 * Makefile (strop-tests): Add strncat.
35379 * string/test-strncat.c: New file.
35380
aae30307
UD
353812011-06-30 Marek Polacek <mpolacek@redhat.com>
35382
35383 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
35384
c0cfb5eb
UD
353852011-06-21 Andreas Jaeger <aj@suse.de>
35386
35387 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
35388 Copy rule from iconvdata/Makefile.
35389
01636b21
UD
353902011-07-06 Ulrich Drepper <drepper@gmail.com>
35391
35392 [BZ #12922]
35393 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
35394 but no long options are defined, just return 'W'.
35395
9895c8bc
UD
353962011-06-22 Marek Polacek <mpolacek@redhat.com>
35397
35398 [BZ #9696]
35399 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
35400
5d4cf042
UD
354012011-07-06 Ulrich Drepper <drepper@gmail.com>
35402
35403 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
35404 netgroups to read.
960e5535 35405 (innetgr): Likewise.
5d4cf042 35406
751eb97e
RM
354072011-07-05 Roland McGrath <roland@hack.frob.com>
35408
35409 * config.make.in (install_root): Default to $(DESTDIR).
35410
f15f1e45
UD
354112011-07-05 Ulrich Drepper <drepper@gmail.com>
35412
35413 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
35414
4e34ac6a
RM
354152011-07-02 Roland McGrath <roland@hack.frob.com>
35416
5e9b6af4
RM
35417 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
35418
84f9ea0f
RM
35419 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
35420 containing directory rather than embedding absolute directory names.
35421
ea5ee9f7
RM
35422 * scripts/check-local-headers.sh: Rewritten using awk.
35423 Match by word, not by line. Print error messages for matches.
35424 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
35425
1b74661a
RM
35426 * Makerules [shlib-lds-flags empty]:
35427 ($(common-objpfx)libc_pic.opts): New target.
35428 ($(common-objpfx)libc_pic.os.clean): New target.
35429 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
35430
35431 * config.make.in (OBJCOPY): New variable.
35432 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
35433 * configure: Regenerated.
35434
f781ef40
RM
35435 * config.make.in (use-default-link): New variable.
35436 * configure.in (use_default_link): Grok --with-default-link to set it.
35437 * configure: Regenerated.
35438 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
35439 (shlib-lds, shlib-lds-flags): Define to empty.
35440
2d4fa81e
RM
35441 * Makerules (shlib-lds): New variable.
35442 (shlib-lds-flags): New variable.
35443 (build-shlib, build-moduile, build-module-asneeded): Use it.
35444 ($(common-objpfx)libc.so): Use $(shlib-lds).
35445 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
35446 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
35447
31fffa6b
RM
35448 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
35449 DT_FLAGS/DT_FLAGS_1 with zero flags.
35450
4e34ac6a
RM
35451 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
35452 linker script munging.
35453
fcfc776b
UD
354542011-07-02 Ulrich Drepper <drepper@gmail.com>
35455
35456 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
35457 as 128-bit value.
35458 * crypt/sha512.c (sha512_process_block): Perform total addition using
35459 128-bit if possible.
35460 (__sha512_finish_ctx): Likewise.
35461 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
35462 as 64-bit value.
35463 * crypt/sha256.c (SWAP64): Define.
35464 (sha256_process_block): Perform total addition using 64-bit if
35465 possible.
35466 (__sha256_finish_ctx): Likewise.
35467
99231d9a
UD
354682011-07-01 Ulrich Drepper <drepper@gmail.com>
35469
35470 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
35471 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35472 * nscd/hstcache.c (cache_addhst): Likewise.
35473 * nscd/grpcache.c (cache_addgr): Likewise.
35474 * nscd/aicache.c (addhstaiX): Likewise
35475 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
35476
445b4a53
TK
354772011-07-01 Thorsten Kukuk <kukuk@suse.de>
35478
35479 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
35480 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35481 * nscd/hstcache.c (cache_addhst): Likewise.
35482 * nscd/grpcache.c (cache_addgr): Likewise.
35483 * nscd/aicache.c (addhstaiX): Likewise
35484
6d4d8e8e
AS
354852011-07-01 Andreas Schwab <schwab@redhat.com>
35486
35487 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
35488 domain only when needed.
35489
89f654c5
AS
354902011-06-30 Andreas Schwab <schwab@redhat.com>
35491
35492 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
35493 is always restored.
35494
cf3b23ff
UD
354952011-06-29 Ulrich Drepper <drepper@gmail.com>
35496
35497 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
35498 are re-adding the entry.
35499 * nscd/servicescache.c (cache_addserv): Likewise.
35500
751626f9
AJ
355012011-06-30 Aurelien Jarno <aurelien@aurel32.net>
35502
35503 * sysdeps/generic/dl-irel.h: fix protection against multiple
35504 inclusions.
35505 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
35506
9113ea1f
UD
355072011-06-28 Ulrich Drepper <drepper@gmail.com>
35508
5c0b8d90
UD
35509 [BZ #12935]
35510 * malloc/memusage.sh: Fix quoting in message.
35511 * debug/xtrace.sh: Likewise.
35512
9113ea1f
UD
35513 * configure.in: Remove support for --experimental-malloc option, make
35514 it the default.
35515 * config.make.in: Likewise.
35516 * malloc/Makefile: Likewise.
35517
a4172181
AS
355182011-06-27 Andreas Schwab <schwab@redhat.com>
35519
35520 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
35521 two-byte characters.
35522
78a7eee7
RM
355232011-06-27 Roland McGrath <roland@hack.frob.com>
35524
62bede13
RM
35525 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
35526 AC_CACHE_CHECK invocation.
35527 * configure: Regenerated.
35528
78a7eee7
RM
35529 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
35530
5ce33a62
UD
355312011-06-27 Ulrich Drepper <drepper@gmail.com>
35532
034807a9
UD
35533 [BZ #12350]
35534 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
35535 bit from old_res_options.
35536
4902da17
UD
35537 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
35538
5ce33a62
UD
35539 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
35540 value type for setfct.
35541
c2344f56
L
355422011-06-23 H.J. Lu <hongjiu.lu@intel.com>
35543
35544 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35545 __gettimeofday instead of gettimeofday.
35546
68468076
UD
355472011-06-26 Ulrich Drepper <drepper@gmail.com>
35548
35549 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
35550
acb0d739
L
355512011-06-24 H.J. Lu <hongjiu.lu@intel.com>
35552
35553 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
35554
35555 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
35556 info.
35557
8912479f
L
355582011-06-22 H.J. Lu <hongjiu.lu@intel.com>
35559
35560 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35561 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35562 strcpy-sse2-unaligned strncpy-sse2-unaligned
35563 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
35564 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
35565 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
35566 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
35567 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
35568 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
35569 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
35570 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
35571 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
35572 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
35573 (STRCPY): Support SSE2 and SSSE3 versions.
35574
d5495a11
UD
355752011-06-24 Ulrich Drepper <drepper@gmail.com>
35576
35577 [BZ #12874]
35578 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
35579 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
35580 kernels which artificially limit size of requests.
35581
0b1cbaae
L
355822011-06-22 H.J. Lu <hongjiu.lu@intel.com>
35583
35584 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35585 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35586 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
35587 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
35588 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
35589 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
35590 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
35591 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
35592 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
35593 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
35594 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
35595 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
35596 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
35597 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
35598 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
35599 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35600 Enable unaligned load optimization for Intel Core i3, i5 and i7
35601 processors.
35602 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
35603 Define.
35604 (index_Fast_Unaligned_Load): Define.
35605 (HAS_FAST_UNALIGNED_LOAD): Define.
35606
07f494a0
MP
356072011-06-23 Marek Polacek <mpolacek@redhat.com>
35608
35609 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
35610
fa3fc0fe
UD
356112011-06-22 Ulrich Drepper <drepper@gmail.com>
35612
35613 [BZ #12907]
35614 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
35615 until it is clear that the information is realy needed.
35616 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
35617
e12df166
AS
356182011-06-22 Andreas Schwab <schwab@redhat.com>
35619
35620 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
35621
852eb34d
UD
356222011-06-22 Ulrich Drepper <drepper@gmail.com>
35623
84e2a551
UD
35624 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35625 /sys/devices/system/cpu/online if it is usable.
35626
852eb34d
UD
35627 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
35628 reading the information from the /proc filesystem to once a second.
35629
6e502e19
UD
356302011-06-21 Andreas Jaeger <aj@suse.de>
35631
35632 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
35633 NULL after inclusion of kernel headers.
35634
75d39ff2
UD
356352011-06-21 Ulrich Drepper <drepper@gmail.com>
35636
51f9aa6a
UD
35637 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
35638 calls to internal_setent.
35639
c0244a9d
UD
35640 [BZ #12885]
35641 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
35642 addresses using gethostbyname4_r ignore IPv4 addresses.
35643
c5e3c2ae
UD
35644 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
35645 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
35646
75d39ff2
UD
35647 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
35648
42675c6f
DM
356492011-06-20 David S. Miller <davem@davemloft.net>
35650
35651 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
35652 inclusions.
35653 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
35654
35655 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
35656 (elf_irel): Use it.
35657 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
35658 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
35659 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
35660 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
35661 * sysdeps/x86_64/dl-irel.h: Likewise.
35662
35663 * elf/dl-runtime.c: Use elf_ifunc_invoke.
35664 * elf/dl-sym.c: Likewise.
35665
57912a71
UD
356662011-06-15 Ulrich Drepper <drepper@gmail.com>
35667
35668 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
35669 need to dereference resplen2.
35670
ee22793d
AS
356712011-06-14 Andreas Schwab <schwab@redhat.com>
35672
35673 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
35674
a9e836b0
UD
356752011-06-15 Ulrich Drepper <drepper@gmail.com>
35676
77fb9117
UD
35677 * Makeconfig: Define vardbdir and inst_vardbdir.
35678 * nss/Makefile: Add rules to install db-Makefile.
35679
40c1b22c
UD
35680 * nss/nss_db/db-XXX.c: Cleanup.
35681
9f2da732
UD
35682 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
35683 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
35684 GLIBC_PRIVATE.
35685 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
35686 * nss/makedb.c: Implement -g option to specify that value strings
35687 are generated and should not be added to table iterated over for
35688 get*ent calls.
35689 * nss/nss_db/db-initgroups.c: New file.
35690
82e9a1f7
UD
35691 * nss/getent.c: Add support for initgroups lookups through getgrouplist
35692 interface.
35693
c41af17e
UD
35694 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
35695 (internal_getgrouplist): Adjust to name change.
35696 Update use_initgroups_entry if this is not the first call.
35697 * nss/databases.def: Add initgroups entry.
35698
a9e836b0
UD
35699 * nss/makedb.c (compute_tables): Check result of multiple hash table
35700 sizes to minimize maximum chain length.
35701
2666d441
UD
357022011-06-14 Ulrich Drepper <drepper@gmail.com>
35703
35704 * Versions.def: Add entry for libnss_db.
35705 * shlib-versions: Likewise.
35706 * nss/Makefile: Add rules to build libnss_db.
35707 * nss/Versions: Add libnss_db information. Organize libnss_files
35708 entries better.
35709 * nss/db-Makefile: Add gshadow support. Change rules for the new
35710 makedb progra. Some minor improvements to generate smaller files.
35711 * nss/nss_db/nss_db.h: Move NSS database header data structures to
35712 here from...
35713 * nss/makedb.c: ...here.
35714 Improve database format to be smaller and require less memory at
35715 runtime.
35716 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
35717 db anymore.
35718 * nss/nss_db/db-netgrp.c: Likewise.
35719 * nss/nss_db/db-open.c: Likewise.
35720 * nss/nss_files/flies-XXX.x: Adjust comments.
35721 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
35722 * nss/nss_files/files-grp.c: Likewise.
35723 * nss/nss_files/files-hosts.c: Likewise.
35724 * nss/nss_files/files-network.c: Likewise.
35725 * nss/nss_files/files-proto.c: Likewise.
35726 * nss/nss_files/files-pwd.c: Likewise.
35727 * nss/nss_files/files-rpc.c: Likewise.
35728 * nss/nss_files/files-service.c: Likewise.
35729 * nss/nss_files/files-sgrp.c: Likewise.
35730 * nss/nss_files/files-spwd.c: Likewise.
35731 * nss/nss_db/db-alias.c: Removed.
35732 * nss/nss_db/dummy-db.h: Removed.
35733
9ee76b5a
UD
357342011-06-02 Ulrich Drepper <drepper@gmail.com>
35735
35736 * nss/makedb.c: Rewritten to not use database library.
35737 * nss/Makefile: Update to build new makedb program.
35738
c71ca1f8
AJ
357392011-06-14 Andreas Jaeger <aj@suse.de>
35740
35741 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
35742 memset declaration.
35743
3154bfb8
UD
357442011-06-10 Andreas Schwab <schwab@redhat.com>
35745
35746 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
35747 tmpbuf.
35748
b350afab
RM
357492011-06-10 Roland McGrath <roland@hack.frob.com>
35750
decd4e50
RM
35751 * Makerules (shlib.lds): Fail if the linker script comes out empty.
35752 * elf/Makefile ($(objpfx)ld.so): Likewise.
35753
5615eaf2
RM
35754 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
35755 Don't list ld.so twice in dependencies.
35756
35757 * posix/bug-regex31.c: Include <stdlib.h>.
35758
35759 * nscd/hstcache.c (cache_addhst): Remove unused variable.
35760
35761 * nis/nss_compat/compat-spwd.c
35762 (getspent_next_nss_netgr): Remove unused variable.
35763 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
35764
35765 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
35766 nonmembers" output to use the right array.
35767
35768 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
35769
35770 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
35771
35772 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
35773 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
35774 * catgets/gencat.c (read_input_file): Likewise.
35775 * locale/programs/locarchive.c (enlarge_archive): Likewise.
35776
35777 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
35778 variable definition inside #if's controlling its use.
35779
35780 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
35781
35782 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
35783
35784 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
35785
35786 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
35787 unreachable code.
35788
35789 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
35790
b68e08db
RM
35791 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
35792 * configure: Regenerated.
35793
b350afab
RM
35794 * Makerules: Revert last change.
35795 * elf/Makefile: Likewise.
35796
28368601
RM
357972011-06-09 Roland McGrath <roland@hack.frob.com>
35798
35799 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
35800 * elf/Makefile ($(objpfx)librtld.os): Likewise.
35801 (reloc-link): Likewise.
35802
11988f8f
UD
358032011-06-09 Ulrich Drepper <drepper@gmail.com>
35804
35805 * elf/Makefile: Add rules to build pldd.
35806 * elf/pldd.c: New file.
35807 * elf/pldd-xx.c: New file.
35808
e80fab37
UD
358092011-06-07 Ulrich Drepper <drepper@gmail.com>
35810
35811 * version.h: Update for 2.15 development version.
35812
9b849836
DM
358132011-06-07 David S. Miller <davem@davemloft.net>
35814
35815 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
35816 ifuncs.
35817 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
35818 elf_machine_lazy_rel): Likewise.
35819 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
35820 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
35821 elf_machine_lazy_rel): Likewise.
35822 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
35823 dl_hwcap via passed in argument.
35824 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
35825 Likewise.
35826
5a31b283
AK
358272011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35828
35829 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
35830
069e52f8
RM
358312011-06-06 Roland McGrath <roland@hack.frob.com>
35832
35833 [BZ #12849]
35834 * manual/fdl-1.1.texi: New file, verbatim from:
35835 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
35836 * manual/lgpl-2.1.texi: New file, verbatim from:
35837 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
35838 * manual/Makefile (licenses): New variable, list those new file names.
35839 (texis): Use it.
35840 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
35841
35842 * manual/fdl.texi: File removed.
35843 * manual/lesser.texi: File removed.
35844 * manual/libc.texinfo (Copying, Documentation License):
35845 Use new @include file names, put @appendix directive before @include.
35846
f16846a5
JJ
358472011-06-04 Jakub Jelinek <jakub@redhat.com>
35848
35849 [BZ #12841]
35850 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
35851 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
35852 (mq_open): Add __NTH.
35853
3d29045b
L
358542011-06-02 H.J. Lu <hongjiu.lu@intel.com>
35855
35856 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35857 Assume Intel Core i3/i5/i7 processor if AVX is available.
35858
8c297311
UD
358592011-05-31 Ulrich Drepper <drepper@gmail.com>
35860
35861 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
35862 typo.
35863
c8fc0c91
UD
358642011-05-31 Andreas Schwab <schwab@redhat.com>
35865
35866 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
35867 memory. Use alloca_account. Fix memory leak when retrying.
35868
5b27a807
UD
358692011-05-31 Ulrich Drepper <drepper@gmail.com>
35870
356f8bc6
UD
35871 * version.h (RELEASE): Bump for 2.14 release.
35872 * include/features.h (__GLIBC_MINOR__): Bump to 14.
35873
5b27a807
UD
35874 * config.make.in (RANLIB): Remove entry.
35875
01f16ab0
UD
358762011-05-30 Ulrich Drepper <drepper@gmail.com>
35877
41fce8bd
UD
35878 * po/Makefile (po-sed-cmd): Add ksh to extensions.
35879 (libc.pot): Work around missing support for .ksh extension in xgettext.
35880
4769ae77
UD
35881 [BZ #12684]
35882 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
35883 if both request failed.
35884 (send_dg): In case of server errors clear resplen or *resplen2.
35885
6b1e7d19
UD
35886 [BZ #12454]
35887 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
35888 when there are multiple maps.
35889 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
35890 (_dl_fini): Remove test here.
35891
01f16ab0
UD
35892 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
35893
b1ebd700
UD
358942011-05-29 Ulrich Drepper <drepper@gmail.com>
35895
7ae22829
UD
35896 [BZ #12350]
35897 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
35898 bit from old_res_options.
35899 (gaih_inet): Likewise.
35900
553149f6 35901 [BZ #11099]
18a84741 35902 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
35903 as signed.
35904
652ffab1
UD
35905 * resolv/res_init.c (res_setoptions): Make the code more compact.
35906
16985fd0
UD
35907 [BZ #11558]
35908 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
35909 set RES_USEVC.
35910
0464f746
UD
35911 [BZ #11634]
35912 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
35913
7d17596c
UD
35914 * malloc/malloc.h: Mark malloc hook variables as deprecated.
35915
cf6bbbd7
UD
35916 [BZ #11781]
35917 * malloc/malloc.h: Declare malloc hook variables as volatile.
35918
13f1ab36
UD
35919 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
35920 in last patch.
35921
b1ebd700
UD
35922 [BZ #11799]
35923 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 35924 raise in the comment.
80e2212d
UD
35925 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
35926 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35927 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 35928
ce67228d
UD
359292011-05-28 Ulrich Drepper <drepper@gmail.com>
35930
8887a920
UD
35931 [BZ #12811]
35932 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
35933 grow the buffers more if it already has to be sufficient.
35934 (build_wcs_upper_buffer): Likewise.
35935 * posix/regexec.c (check_matching): Likewise.
35936 (clean_state_log_if_needed): Likewise.
35937 (extend_buffers): Don't enlarge buffers beyond size of the input
35938 buffer.
35939 Patches mostly by Emil Wojak <emil@wojak.eu>.
35940 * posix/bug-regex32.c: New file.
35941 * posix/Makefile (tests): Add bug-regex32.
35942
4f031072
UD
35943 * locale/findlocale.c (_nl_find_locale): Return right away if
35944 _nl_explode_name failed.
35945 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
35946
d0478f0c
UD
35947 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
35948
de81b246
UD
35949 * debug/xtrace.sh: Unify messages.
35950 * malloc/memusage.sh: Likewise.
35951
c738465a
UD
35952 [BZ #12813]
35953 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
35954 time symbol from vDSO. Substitute with vsyscall if not available.
35955 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
35956 __vdso_time.
35957
f1f929d7
UD
35958 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
35959 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
35960 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
35961 Add sendmmsg and internal_sendmmsg.
35962 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
35963 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
35964 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
35965
ce67228d
UD
35966 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
35967 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
35968 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
35969
e57420c6
UD
359702011-05-27 Ulrich Drepper <drepper@gmail.com>
35971
a8509ca5
UD
35972 [BZ #12813]
35973 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
35974 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
35975 available.
35976 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
35977 __vdso_getcpu.
35978
e57420c6
UD
35979 [BZ #12814]
35980 * iconvdata/Makefile (tests): Add bug-iconv9.
35981 * iconvdata/bug-iconv9.c: New file.
35982
4d07db15
AS
359832011-05-27 Andreas Schwab <schwab@redhat.com>
35984
35985 [BZ #12814]
35986 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
35987
ea486f69
JJ
359882011-05-25 Jakub Jelinek <jakub@redhat.com>
35989
35990 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
35991 (struct user_regs_struct): Change intcs field back to cs.
35992
6f038433
UD
359932011-05-25 Ulrich Drepper <drepper@gmail.com>
35994
35995 * po/ja.po: Update from translation team.
35996
67f86a25
UD
359972011-05-23 Ulrich Drepper <drepper@gmail.com>
35998
35999 [BZ #12795]
36000 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
36001 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
36002
def7fbd6
AS
360032011-05-20 Andreas Schwab <schwab@redhat.com>
36004
36005 * stdlib/longlong.h: Update from GCC.
36006
f50ef8f1
AS
360072011-05-23 Andreas Schwab <schwab@redhat.com>
36008
36009 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
36010 parameter name.
36011 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
36012 Add parameter name.
36013 (__sysconf): Pass it down.
36014
de7ce8f1
UD
360152011-05-22 Ulrich Drepper <drepper@gmail.com>
36016
f2962a71
UD
36017 [BZ #12671]
36018 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
36019 some situations.
36020 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
36021 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
36022 add in in __libc_use_alloca calls. Adjust callers.
36023 (glob): Use malloc in some situations.
36024
de7ce8f1
UD
36025 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
36026 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
36027 pltexit.
36028
aec84f53
UD
360292011-05-21 Ulrich Drepper <drepper@gmail.com>
36030
05bb4a68
UD
36031 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
36032 and CLOCK_BOOTTIME_ALARM.
36033
7ea72f99
UD
36034 [BZ #12782]
36035 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
36036 is returned.
36037
7e4afad5
UD
36038 * string/_strerror.c (__strerror_r): Print negative errors as signed
36039 numbers.
36040
8e211fec
UD
36041 [BZ #12777]
36042 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
36043 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
36044 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
36045
f7d82dc9
UD
36046 * configure.in: Fix typo in redirection and correct removal of test
36047 files in two cases.
36048
cc9e536d
UD
36049 [BZ #12788]
36050 * locale/setlocale.c (new_composite_name): Fix test to check for
36051 identical name of all categories.
36052
aec84f53
UD
36053 [BZ #12792]
36054 * libio/filedoalloc.c (local_isatty): New function.
36055 (_IO_file_doallocate): Use local_isatty.
36056 * stdio-common/perror.c (perror): In case a new stream is used
36057 forward the stream error.
36058 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
36059 error flag.
36060
78e64fdc
RT
360612011-05-20 Ulrich Drepper <drepper@gmail.com>
36062
34a9094f
UD
36063 [BZ #11869]
36064 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
36065 alloca.
36066 * include/alloca.h (extend_alloca_account): Define.
36067
78e64fdc
RT
36068 [BZ #11857]
36069 * posix/regex.h: Fix comments with documentation of user-accessible
36070 fields after compilation and describe correct free'ing of pattern
36071 after re_compile_pattern.
36072 Patch by Reuben Thomas <rrt@sc3d.org>.
36073
457bddfc
RA
360742011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
36075
36076 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
36077 and -mno-altivec to prevent the compiler from using Altivec and/or
36078 VSX instructions when the corresponding registers are not available.
36079
a4527b51
AS
360802011-05-19 Andreas Schwab <schwab@redhat.com>
36081
36082 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
36083
ed690b2f
UD
360842011-05-19 Ulrich Drepper <drepper@gmail.com>
36085
36086 * libio/freopen.c (freopen): Use __dup2, not dup2.
36087 * libio/freopen64.c (freopen64): Likewise.
36088
8db73634
L
360892011-05-17 H.J. Lu <hongjiu.lu@intel.com>
36090
36091 [BZ #12775]
36092 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
36093 * math/Makefile (tests): Add test-powl.
36094 (CFLAGS-test-powl.c): Define.
36095 * math/test-powl.c: New file.
36096
0a197a9d
L
360972011-05-16 H.J. Lu <hongjiu.lu@intel.com>
36098
36099 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
36100
ee30c380
UD
361012011-05-17 Ulrich Drepper <drepper@gmail.com>
36102
36103 [BZ #11837]
36104 * iconvdata/gb18030.c: Update to GB18020-2005.
36105
6ce75379
UD
361062011-05-16 Ulrich Drepper <drepper@gmail.com>
36107
a4b89fd8
AR
36108 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
36109 RE_SYNTAX_POSIX_AWK): Update to match recent development.
36110 Patch by Aharon Robbins <arnold@skeeve.com>.
36111
ea389b12
UD
36112 [BZ #11892]
36113 * stdlib/putenv.c (putenv): Don't always create copy of the variable
36114 on the stack.
36115
68a3f91f
UD
36116 [BZ #11895]
36117 * misc/pselect.c (__pselect): Handle timeout value errors hidden
36118 through underflows.
36119
15cc7dd1
UD
36120 [BZ #12766]
36121 * misc/error.c (error_at_line): Ensure file_name and old_file_name
36122 point to strings before performing equality test for error_one_per_line
36123 mode.
36124
f3799213
UD
36125 [BZ #11697]
36126 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
36127
d79a9c94
UD
36128 [BZ #11820]
36129 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
36130 (struct user_fpregs_struct): Avoid __uint*_t types.
36131
56e5eb46
UD
36132 [BZ #6420]
36133 * malloc/mtrace.c (tr_where): Add additional parameter to point to
36134 symbol info. Use it instead of calling _dl_addr locally.
36135 (lock_and_info): New function.
36136 (tr_freehook): Call lock_and_info and pass symbol info as additional
36137 parameter to tr_where.
36138 (tr_mallochook): Likewise.
36139 (tr_reallochook): Likewise.
36140 (tr_memalignhook): Likewise.
36141
6ce75379
UD
36142 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
36143 used and couldn't be at all thread-safe.
36144
f8a3b5bf
UD
361452011-05-15 Ulrich Drepper <drepper@gmail.com>
36146
94b7cc37
UD
36147 * libio/freopen.c (freopen): Don't close old file descriptor
36148 before the new one is opened. Instead dup the new file descriptor
36149 to the old one after the new stream is created.
36150 * libio/freopen64.c (freopen64): Likewise.
36151 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
36152 * libio/fileops.c (_IO_new_file_close_it): Handle new
36153 _IO_FLAGS2_NOCLOSE flag.
36154 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
36155 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
36156 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
36157 _IO_FLAGS2_NOCLOSE flag.
36158 * include/unistd.h: Add hidden_proto for dup3.
36159 Define __have_dup3.
36160 * io/dup3.c: Define hidden symbol.
36161 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
36162
bd25564e
UD
36163 [BZ #7101]
36164 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
36165 when an incomplete long option is used.
36166 * posix/tst-getopt_long1.c: New file.
36167 * posix/Makefile (tests): Add tst-getopt_long1.
36168
c84cfef4
UD
36169 [BZ #10138]
36170 * scripts/config.guess: Update from autoconf-2.68.
36171 * scripts/config.sub: Likewise.
36172
3b85df27
UD
36173 [BZ #10157]
36174 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
36175 tests into ...
36176 (has_cpuclock): ...this. New function.
36177 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
36178 macro here based on has_cpuclock code.
36179
15a856b1
UD
36180 [BZ #10149]
36181 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36182 First byte (not low byte) is now always NUL.
36183 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
36184
05f399e6
UD
36185 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36186 Use non-cancelable interfaces.
36187
10a52685 36188 [BZ #9809]
94ecc67d
UD
36189 * locale/iso-639.def: Add entry for Sorani.
36190
f8a3b5bf
UD
36191 [BZ #11901]
36192 * include/stdlib.h: Move include protection to the right place.
36193 Define abort_msg_s. Declare __abort_msg with it.
36194 * stdlib/abort.c (__abort_msg): Adjust type.
36195 * assert/assert.c (__assert_fail_base): New function. Majority
36196 of code from __assert_fail. Allocate memory for __abort_msg with
36197 mmap.
36198 (__assert_fail): Now call __assert_fail_base.
36199 * assert/assert-perr.c: Remove bulk of implementation. Use
36200 __assert_fail_base.
36201 * include/assert.hL Declare __assert_fail_base.
36202 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
36203 mmap.
36204 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
36205
1af4e298
UD
362062011-05-14 Ulrich Drepper <drepper@gmail.com>
36207
f8a3b5bf 36208 [BZ #11952]
d26dfc60
MG
36209 [BZ #12453]
36210 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
36211 until all modules are registered in the DTV.
36212 * elf/Makefile: Add rules to build and run tst-tls19.
36213 * elf/tst-tls19.c: New file.
36214 * elf/tst-tls19mod1.c: New file.
36215 * elf/tst-tls19mod2.c: New file.
36216 * elf/tst-tls19mod3.c: New file.
36217 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
36218
2fc54d6f
UD
36219 [BZ #12083]
36220 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
36221 correctly.
36222
98d76b46
UD
36223 [BZ #12601]
36224 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
36225 two-byte sequence errors.
36226 * iconvdata/Makefile (tests): Add bug-iconv8.
36227 * iconvdata/bug-iconv8.c: New file.
36228
da3c19ef
UD
36229 [BZ #12626]
36230 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
36231 buf2 definition.
36232
ca408c15
UD
36233 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
36234
d6f67f7d
UD
36235 [BZ #12432]
36236 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
36237 (dummy_getcfa): New function.
36238 (init): Get _Unwind_GetCFA address, use dummy if not found.
36239 (backtrace_helper): In recursion check, also check whether CFA changes.
36240 (__backtrace): Completely initialize arg.
36241
1af4e298 36242 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
36243 storing incomplete byte sequence in state object. Avoid testing for
36244 guaranteed too small input if we know there is enough data available.
1af4e298 36245
da62f81b
AS
362462011-05-11 Andreas Schwab <schwab@redhat.com>
36247
36248 * Makeconfig (+link-pie): Indent.
36249 * Rules (binaries-pie): Define if $(have-fpie) and
36250 $(build-shared).
36251 (binaries-shared): Also filter out $(binaries-pie).
36252 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
36253 * nscd/Makefile (others-pie): Add nscd.
36254 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
36255 ($(objpfx)nscd): Remove command override.
36256 * login/Makefile (others-pie): Add pt_chown.
36257 ($(objpfx)pt_chown): Remove command override.
36258 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
36259 remove command overrides.
36260
fcabc0f8
UD
362612011-05-13 Ulrich Drepper <drepper@gmail.com>
36262
20030ae6
UD
36263 * libio/tst_putwc.c: Fix error messages.
36264
fcabc0f8
UD
36265 [BZ #12724]
36266 * libio/fileops.c (_IO_new_file_close_it): Always flush when
36267 currently writing and seek to current position when not.
36268 * libio/Makefile (tests): Add bug-fclose1.
36269 * libio/bug-fclose1.c: New file.
36270
320a5dc0
PB
362712011-05-12 Ulrich Drepper <drepper@gmail.com>
36272
36273 [BZ #12511]
36274 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
36275 don't set DF_1_NODELETE here.
36276 (do_lookup_x): When entering new entry test for copy relocation
36277 and if necessary set DF_1_NODELETE flag.
36278 * elf/tst-unique4.cc: New file.
36279 * elf/tst-unique4.h: New file.
36280 * elf/tst-unique4lib.cc: New file.
36281 * elf/Makefile: Add rules to build and run tst-unique4.
36282 Patch by Piotr Bury <pbury@goahead.com>.
36283
22836f52
UD
362842011-05-11 Ulrich Drepper <drepper@gmail.com>
36285
f574184a
UD
36286 [BZ #12052]
36287 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
36288
e1fb097f
UD
36289 [BZ #12625]
36290 * misc/mntent_r.c (addmntent): Flush the stream after the output
36291
22836f52
UD
36292 [BZ #12393]
36293 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
36294 (is_trusted_path_normalize): Skip initial colon. Append slash
36295 to empty buffer. Duplicate is_trusted_path code but allow
36296 constructed patch to be prefix.
36297 (is_dst): Allow $ORIGIN followed by /.
36298 (_dl_dst_substitute): Correct clearing of check_for_trusted.
36299 Correct testing of result of is_trusted_path_normalize
36300 (decompose_rpath): Fix warning.
36301
7b3b0b2a
UD
363022011-05-10 Ulrich Drepper <drepper@gmail.com>
36303
36304 [BZ #11257]
36305 * grp/initgroups.c (internal_getgrouplist): When we found the service
36306 list through the initgroups entry in nsswitch.conf do not always
36307 continue on a successful lookup. Don't always use the
eac80ce2 36308 __nss_group_database value if it is set.
7b3b0b2a
UD
36309 * nss/nsswitch.conf (initgroups): Change action for successful db
36310 lookup to continue for compatibility.
36311
2a81eaa5
UD
363122011-05-09 Ulrich Drepper <drepper@gmail.com>
36313
be97a69e
UD
36314 [BZ #11532]
36315 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
36316 and CP774 modules.
36317 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
36318 and CP774 modules.
36319 * iconvdata/tst-tables.sh: Likewise.
36320 * iconvdata/cp770.c: New file.
36321 * iconvdata/cp771.c: New file.
36322 * iconvdata/cp772.c: New file.
36323 * iconvdata/cp773.c: New file.
36324 * iconvdata/cp774.c: New file.
36325 * iconvdata/testdata/CP770: New file.
36326 * iconvdata/testdata/CP770..UTF8: New file.
36327 * iconvdata/testdata/CP771: New file.
36328 * iconvdata/testdata/CP771..UTF8: New file.
36329 * iconvdata/testdata/CP772: New file.
36330 * iconvdata/testdata/CP772..UTF8: New file.
36331 * iconvdata/testdata/CP773: New file.
36332 * iconvdata/testdata/CP773..UTF8: New file.
36333 * iconvdata/testdata/CP774: New file.
36334 * iconvdata/testdata/CP774..UTF8: New file.
36335
36336 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
36337 END CHARMAP line.
36338 * iconvdata/gen-8bit-gap.sh: Likewise.
36339 * iconvdata/gen-8bit.sh: Likewise.
36340
c1e9e399
UD
36341 * locale/iso-639.def: Add ary entry.
36342
24c55fb3 36343 [BZ #11258]
96b4b1b0
UD
36344 * locale/C-translit.h.in: Add U20A1 transliteration.
36345
bdc2f971
KB
36346 [BZ #12178]
36347 * locale/iso-639.def: Add wae entry.
36348 Patch by Kevin Bortis <bortis@translate-wae.ch>.
36349
2952b117
UD
36350 [BZ #12545]
36351 * locale/programs/localedef.c (construct_output_path): Use ssize_t
36352 for n.
36353
2a81eaa5
UD
36354 [BZ #12711]
36355 * locale/C-translit.h.in: Add entry for U20B9.
36356 Patch by pravin.d.s@gmail.com.
36357
28377d1b
UD
363582011-05-08 Ulrich Drepper <drepper@gmail.com>
36359
7fb90fb8
UD
36360 [BZ #12713]
36361 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
36362 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
36363 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
36364 in rtld. Use *stat64.
7fb90fb8 36365 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 36366 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 36367 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
36368 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
36369 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
36370 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
36371 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
36372 __fstatat64 macros.
7fb90fb8
UD
36373 * include/dirent.h: Add libc_hidden_proto for rewinddir.
36374 * dirent/rewinddir.c: Add libc_hidden_def.
36375 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 36376 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 36377
28377d1b
UD
36378 * include/dirent.h (__alloc_dir): Add flags parameter.
36379 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
36380 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
36381 __alloc_dir.
36382 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
36383 from fdopendir if O_CLOEXEC is already set.
36384
66bdbaa4
AM
363852011-03-15 Alan Modra <amodra@gmail.com>
36386
36387 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
36388 l_tls_firstbyte_offset non-zero. Save padding offset in
36389 l_tls_firstbyte_offset for later use.
36390 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
36391 freeing static tls block.
36392
95721191
JN
363932011-03-05 Jonathan Nieder <jrnieder@gmail.com>
36394
36395 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
36396 where #ifdef was intended. The intent is to prevent ARG_MAX from
36397 being defined by the kernel headers.
36398
f87dfb1f
UD
363992011-05-07 Ulrich Drepper <drepper@gmail.com>
36400
36401 [BZ #12734]
36402 * resolv/resolv.h: Define RES_NOTLDQUERY.
36403 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
36404 no-tld-query and set RES_NOTLDQUERY.
36405 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
36406 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
36407 modern BIND to search name as TLD unless forbidden.
36408
47c3cd7a
UD
364092011-05-07 Petr Baudis <pasky@suse.cz>
36410 Ulrich Drepper <drepper@gmail.com>
36411
36412 [BZ #12393]
36413 * elf/dl-load.c (fillin_rpath): Move trusted path check...
36414 (is_trusted_path): ...to here.
c1e9ea35 36415 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 36416 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 36417 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 36418
8a35c912
PP
364192011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
36420
36421 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
36422 __BEGIN/__END_DECLS.
36423
acd41f47
UD
364242011-05-06 Ulrich Drepper <drepper@gmail.com>
36425
36426 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
36427 NSS_STATUS_NOTFOUND if no record was found.
36428
597df647
AS
364292011-05-05 Andreas Schwab <schwab@redhat.com>
36430
36431 * sunrpc/Makefile (headers): Add rpc/netdb.h.
36432 (headers-not-in-tirpc): Remove rpc/netdb.h
36433 * resolv/netdb.h: Revert last change.
36434
b9af1301
PP
364352011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
36436
36437 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
36438 circular dependency between libgcc.a and libc.a.
36439
4e34d5f5
AS
364402011-05-05 Andreas Schwab <schwab@redhat.com>
36441
36442 * resolv/netdb.h: Don't include <rpc/netdb.h>.
36443 * nis/Makefile: Don't install rpcsvc/*.
36444 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
36445 instead of <rpc/types.h>.
36446 (MAXHOSTNAMELEN): Define.
36447
00ee369c
AS
364482011-05-03 Andreas Schwab <schwab@redhat.com>
36449
36450 * elf/ldconfig.c (add_dir): Don't crash on empty path.
36451
0b592a30
MB
364522011-04-28 Maciej Babinski <mbabinski@google.com>
36453
36454 [BZ #12714]
36455 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
36456 gethostbyname4_r when IPv6 results are possible.
36457
6e04cbbe
UD
364582011-05-02 Ulrich Drepper <drepper@gmail.com>
36459
36460 [BZ #12723]
36461 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
36462 _PC_PIPE_BUF handling.
36463
e4ecafe0
BH
364642011-04-30 Bruno Haible <bruno@clisp.org>
36465
36466 [BZ #12717]
36467 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
36468 * resolv/netdb.h (getnameinfo): Change type of flags parameter
36469 to 'int'.
36470 * inet/getnameinfo.c (getnameinfo): Likewise.
36471
125ee683
UD
364722011-04-29 Ulrich Drepper <drepper@gmail.com>
36473
36474 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
36475 to groups setting in database lookup.
36476 * nss/nsswitch.conf: Add initgroups entry.
36477
b722481a
EB
364782011-04-22 Ulrich Drepper <drepper@gmail.com>
36479
36480 [BZ #12685]
36481 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
36482 mode string.
36483 Patch by Eric Blake <eblake@redhat.com>.
36484
4df46dbd
L
364852011-04-20 H.J. Lu <hongjiu.lu@intel.com>
36486
36487 * sunrpc/Makefile (need-export-routines): Add svc_run.
36488 (routines): Remove svc_run.
36489 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
36490 * sunrpc/clnt_perr.c (clnt_perrno): Export.
36491 * sunrpc/svc_run.c (svc_run): Likewise.
36492 * sunrpc/svc_udp.c (svcudp_create): Likewise.
36493
e84142d2
UD
364942011-04-21 Ulrich Drepper <drepper@gmail.com>
36495
36496 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
36497 problem in reallocation in last patch.
36498
877175d8
UD
364992011-04-20 Ulrich Drepper <drepper@gmail.com>
36500
36501 * sunrpc/Makefile: Move inclusion of Rules.
36502
ab8eed78
UD
365032011-04-19 Ulrich Drepper <drepper@gmail.com>
36504
36505 * nss/nss_files/files-initgroups.c: New file.
36506 * nss/Makefile (libnss_files-routines): Add files-initgroups.
36507 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
36508 _nss_files_initgroups_dyn.
36509
e3d8f584
RS
365102011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
36511
36512 * elf/elf.h (R_ARM_IRELATIVE): Define.
36513
af190f45
UD
365142011-04-19 Ulrich Drepper <drepper@gmail.com>
36515
36516 * po/ru.po: Update from translation team.
36517
53cf59ef
UD
365182011-04-17 Ulrich Drepper <drepper@gmail.com>
36519
36520 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
36521 dependencies.
36522
4c559bcd
MF
365232011-02-06 Mike Frysinger <vapier@gentoo.org>
36524
36525 [BZ #12653]
36526 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
36527 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
36528 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36529 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36530 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
36531
4420675c
AS
365322011-03-28 Andreas Schwab <schwab@linux-m68k.org>
36533
36534 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
36535 differing bytes.
36536 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
36537 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
36538 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36539
75ea32ab
UD
365402011-04-17 Ulrich Drepper <drepper@gmail.com>
36541
36542 [BZ #12420]
36543 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
36544 storing it.
36545 * stdlib/bug-getcontext.c: New file.
36546 * stdlib/Makefile: Add rules to build and run bug-getcontext.
36547
27390476
AK
365482011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36549
36550 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
36551 instructions into .machine "z9-109".
36552 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
36553 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
36554
10442705
AK
365552011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36556
36557 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
36558 between environment variables and auxiliary vector.
36559
7b57bfe5
UD
365602011-04-16 Ulrich Drepper <drepper@gmail.com>
36561
36562 * Makefile: Add rules to build linkobj/libc.so.
36563 * include/libc-symbols.h: Define libc_hidden_nolink.
36564 * include/rpc/auth.h: Mark functions which are to be hidden.
36565 * include/rpc/auth_des.h: Likewise.
36566 * include/rpc/auth_unix.h: Likewise.
36567 * include/rpc/clnt.h: Likewise.
36568 * include/rpc/des_crypt.h: Likewise.
36569 * include/rpc/key_prot.h: Likewise.
36570 * include/rpc/pmap_clnt.h: Likewise.
36571 * include/rpc/pmap_prot.h: Likewise.
36572 * include/rpc/pmap_rmt.h: Likewise.
36573 * include/rpc/rpc_msg.h: Likewise.
36574 * include/rpc/svc.h: Likewise.
36575 * include/rpc/svc_auth.h: Likewise.
36576 * include/rpc/xdr.h: Likewise.
36577 * nis/Makefile: Link all DSOs against linkobj/libc.so.
36578 * nss/Makefile: Likewise.
36579 * sunrpc/Makefile: Don't install headers. Build library with normal
36580 entry points. Don't build rpcinfo. Link RPC tests appropriately.
36581 * sunrpc/auth_des.c: Hide exported symbols by default, export some
36582 for the compat linking library. Remove use of INTDEF/INTUSE.
36583 * sunrpc/auth_none.c: Likewise.
36584 * sunrpc/auth_unix.c: Likewise.
36585 * sunrpc/authdes_prot.c: Likewise.
36586 * sunrpc/authuxprot.c: Likewise.
36587 * sunrpc/clnt_gen.c: Likewise.
36588 * sunrpc/clnt_perr.c: Likewise.
36589 * sunrpc/clnt_raw.c: Likewise.
36590 * sunrpc/clnt_simp.c: Likewise.
36591 * sunrpc/clnt_tcp.c: Likewise.
36592 * sunrpc/clnt_udp.c: Likewise.
36593 * sunrpc/clnt_unix.c: Likewise.
36594 * sunrpc/des_crypt.c: Likewise.
36595 * sunrpc/des_soft.c: Likewise.
36596 * sunrpc/get_myaddr.c: Likewise.
36597 * sunrpc/key_call.c: Likewise.
36598 * sunrpc/key_prot.c: Likewise.
36599 * sunrpc/netname.c: Likewise.
36600 * sunrpc/pm_getmaps.c: Likewise.
36601 * sunrpc/pm_getport.c: Likewise.
36602 * sunrpc/pmap_clnt.c: Likewise.
36603 * sunrpc/pmap_prot.c: Likewise.
36604 * sunrpc/pmap_prot2.c: Likewise.
36605 * sunrpc/pmap_rmt.c: Likewise.
36606 * sunrpc/publickey.c: Likewise.
36607 * sunrpc/rpc_cmsg.c: Likewise.
36608 * sunrpc/rpc_common.c: Likewise.
36609 * sunrpc/rpc_dtable.c: Likewise.
36610 * sunrpc/rpc_prot.c: Likewise.
36611 * sunrpc/rpc_thread.c: Likewise.
36612 * sunrpc/rtime.c: Likewise.
36613 * sunrpc/svc.c: Likewise.
36614 * sunrpc/svc_auth.c: Likewise.
36615 * sunrpc/svc_authux.c: Likewise.
36616 * sunrpc/svc_raw.c: Likewise.
36617 * sunrpc/svc_run.c: Likewise.
36618 * sunrpc/svc_simple.c: Likewise.
36619 * sunrpc/svc_tcp.c: Likewise.
36620 * sunrpc/svc_udp.c: Likewise.
36621 * sunrpc/svc_unix.c: Likewise.
36622 * sunrpc/svcauth_des.c: Likewise.
36623 * sunrpc/xcrypt.c: Likewise.
36624 * sunrpc/xdr.c: Likewise.
36625 * sunrpc/xdr_array.c: Likewise.
36626 * sunrpc/xdr_float.c: Likewise.
36627 * sunrpc/xdr_intXX_t.c: Likewise.
36628 * sunrpc/xdr_mem.c: Likewise.
36629 * sunrpc/xdr_rec.c: Likewise.
36630 * sunrpc/xdr_ref.c: Likewise.
36631 * sunrpc/xdr_sizeof.c: Likewise.
36632 * sunrpc/xdr_stdio.c: Likewise.
36633
e6c61494
UD
366342011-04-10 Ulrich Drepper <drepper@gmail.com>
36635
36636 [BZ #12650]
36637 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
36638 * sysdeps/ia64/dl-tls.h: Likewise.
36639 * sysdeps/powerpc/dl-tls.h: Likewise.
36640 * sysdeps/s390/dl-tls.h: Likewise.
36641 * sysdeps/sh/dl-tls.h: Likewise.
36642 * sysdeps/sparc/dl-tls.h: Likewise.
36643 * sysdeps/x86_64/dl-tls.h: Likewise.
36644 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
36645
34fe483e
AS
366462011-03-14 Andreas Schwab <schwab@redhat.com>
36647
36648 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
36649 rpath element also skip the following colon.
36650 (expand_dynamic_string_token): Add is_path parameter and pass
36651 down to DL_DST_REQUIRED and _dl_dst_substitute.
36652 (decompose_rpath): Call expand_dynamic_string_token with
36653 non-zero is_path. Ignore empty rpaths.
36654 (_dl_map_object_from_fd): Call expand_dynamic_string_token
36655 with zero is_path.
36656
f12a32e6
AS
366572011-04-08 Andreas Schwab <schwab@linux-m68k.org>
36658
36659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36660 Make cancelable.
36661
38a7d692
UD
366622011-04-09 Ulrich Drepper <drepper@gmail.com>
36663
36664 [BZ #12655]
36665 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
36666 Patch by Filipe David Manana <fdmanana@apache.org>.
36667
e451d22b
AS
366682011-04-07 Andreas Schwab <schwab@redhat.com>
36669
36670 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
36671 Maintain aligned stack.
36672 (CHECK_RSP): Remove unused macro.
36673
dedc7c7b
UD
366742011-04-03 Ulrich Drepper <drepper@gmail.com>
36675
36676 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
36677 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
36678
94521213
UD
366792011-04-02 Ulrich Drepper <drepper@gmail.com>
36680
36681 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
36682
8cb700c0 36683 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 36684
0354e355
L
366852011-03-26 H.J. Lu <hongjiu.lu@intel.com>
36686
36687 [BZ #12518]
36688 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
36689 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
36690 * sysdeps/x86_64/memmove.c: New file.
36691 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
36692 (memcpy): Renamed to ...
36693 (__new_memcpy): This.
36694 (memcpy): Provide GLIBC_2_14 memcpy.
36695 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
36696 (memcpy): Provide GLIBC_2_2_5 memcpy.
36697
8593482f
UD
366982011-04-01 Ulrich Drepper <drepper@gmail.com>
36699
36700 [BZ #12631]
36701 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
36702
81a5726b
AS
367032011-03-30 Andreas Schwab <schwab@redhat.com>
36704
36705 * misc/syncfs.c: New file.
36706 * misc/Makefile (routines): Add syncfs.
36707 * posix/unistd.h: Declare syncfs.
36708 * sysdeps/unix/syscalls.list: Add syncfs.
36709
00e5419f
AS
367102011-04-01 Andreas Schwab <schwab@redhat.com>
36711
36712 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
36713 open_by_handle_at.
36714 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
36715 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36716 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36717 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36718 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36719 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
36720 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36721
748876bf
UD
367222011-04-01 Ulrich Drepper <drepper@gmail.com>
36723
658e451d
UD
36724 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
36725 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36726 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
36727 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36728 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36729 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36730 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36731
748876bf
UD
36732 * io/Makefile: Compile fallocate.c, fallocate64.c, and
36733 sync_file_range.c with -fexceptions.
36734 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
36735 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
36736 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
36737 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
36738 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
36739 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36740 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
36741 sync_file_range as cancellation point
36742 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
36743 now a wrapper around __call_sync_file_range with cancellation handling.
36744 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
36745 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
36746 function name to __call_sync_file_range.
36747 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
36748 Add call_sync_file_range.
748876bf 36749
6e63d5e1
AS
367502011-04-01 Andreas Schwab <schwab@redhat.com>
36751
36752 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 36753 bits/timex.h.
6e63d5e1 36754
46998f74
UD
367552011-04-01 Ulrich Drepper <drepper@gmail.com>
36756
4c1423ed
UD
36757 * iconv/iconv.h: Fix typo in comment.
36758 * io/fcntl.h: Likewise.
36759 * libio/stdio.h: Likewise.
36760 * posix/spawn.h: Likewise.
36761 * posix/unistd.h: Likewise.
36762 * stdlib/stdlib.h: Likewise.
36763 * time/time.h: Likewise.
36764 * wcsmbs/wchar.h: Likewise.
36765
158648c0
UD
36766 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
36767 open_by_handle): Add.
36768 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
36769 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
36770 Augment a few comments.
36771 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36772 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36773 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36774 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36775 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36776 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
36777 open_by_handle.
36778
46998f74
UD
36779 * io/fcntl.h (AT_EMPTY_PATH): Define.
36780
83fe108b
UD
367812011-03-30 Ulrich Drepper <drepper@gmail.com>
36782
36783 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
36784 * sysdeps/unix/sysv/linux/bits/time.h: New file.
36785 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
36786 to...
36787 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
36788 * Versions.def: Add GLIBC_2.14.
36789 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
36790 Export.
83fe108b 36791
bb242059
UD
367922011-03-22 Ulrich Drepper <drepper@gmail.com>
36793
36794 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
36795 round counter.
36796 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36797
c97a1282
L
367982011-03-20 H.J. Lu <hongjiu.lu@intel.com>
36799
36800 [BZ #12597]
36801 * string/test-strncmp.c (do_page_test): New function.
36802 (check2): Likewise.
36803 (test_main): Call check2.
36804 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
36805
2a115601
UD
368062011-03-20 Ulrich Drepper <drepper@gmail.com>
36807
36808 [BZ #12587]
36809 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
36810 Handle cache information in CPU leaf 4.
36811 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36812
8126d904
UD
368132011-03-18 Ulrich Drepper <drepper@gmail.com>
36814
042c49c6 36815 [BZ #12583]
8126d904
UD
36816 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
36817 character representation.
36818 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
36819
ccfe366e
RA
368202011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
36821
36822 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
36823 END(__isnan) to END(__isnanf) to match function entry point/label
36824 EALIGN(__isnanf,...).
36825
c6e13027
JJ
368262011-03-10 Jakub Jelinek <jakub@redhat.com>
36827
36828 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
36829
33f85a3f
UD
368302011-03-10 Ulrich Drepper <drepper@gmail.com>
36831
028478fa
UD
36832 [BZ #12510]
36833 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
36834 copy from the symbol referenced in the relocation to initialize the
36835 used variable.
36836 Patch by Piotr Bury <pbury@goahead.com>.
36837 * elf/Makefile: Add rules to build and tst-unique3.
36838 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
36839 * elf/tst-unique3.cc: New file.
36840 * elf/tst-unique3.h: New file.
36841 * elf/tst-unique3lib.cc: New file.
36842 * elf/tst-unique3lib2.cc: New file.
36843
33f85a3f
UD
36844 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
36845
03592fc7
MF
368462011-03-10 Mike Frysinger <vapier@gentoo.org>
36847
36848 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
36849 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
36850 to _start.
03592fc7 36851
6a5ee102
UD
368522011-03-06 Ulrich Drepper <drepper@gmail.com>
36853
36854 * elf/dl-load.c (_dl_map_object): If we are looking for the first
36855 to-be-loaded object along a path to loader is ld.so.
36856
7e4ba49c
HJ
368572011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
36858 Ulrich Drepper <drepper@gmail.com>
36859
36860 * sysdeps/x86_64/memset.S: After aligning destination, code
36861 branches to different locations depending on the value of
36862 misalignment, when multiarch is enabled. Fix this.
36863
368642011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
36865
36866 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
36867 Set _x86_64_preferred_memory_instruction for AMD processsors.
36868 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36869 Set bit_Prefer_SSE_for_memop for AMD processors.
36870
13a804de
UD
368712011-03-04 Ulrich Drepper <drepper@gmail.com>
36872
36873 * libio/fmemopen.c (fmemopen): Optimize a bit.
36874
9d25c392
AS
368752011-03-03 Andreas Schwab <schwab@redhat.com>
36876
36877 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
36878
a5543c6a
RM
368792011-03-03 Roland McGrath <roland@redhat.com>
36880
36881 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
36882
012d35f7
DM
368832011-02-28 Aurelien Jarno <aurelien@aurel32.net>
36884
7e4ba49c 36885 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
36886 __bzero_ultra1 instead of __memset_ultra1.
36887
4bff6e01
AS
368882011-02-23 Andreas Schwab <schwab@redhat.com>
36889 Ulrich Drepper <drepper@gmail.com>
36890
36891 [BZ #12509]
36892 * include/link.h (struct link_map): Add l_orig_initfini.
36893 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
36894 returning unsuccessfully.
36895 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
36896 close of a file loaded at startup, restore the original l_initfini
36897 list.
36898 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
36899 list, store the pointer.
36900 * elf/Makefile ($(objpfx)noload-mem): New rule.
36901 (noload-ENV): Define.
36902 (tests): Add $(objpfx)noload-mem.
36903 * elf/noload.c: Include <memcheck.h>.
36904 (main): Call mtrace. Close all opened handles.
36905
f2092faf
AS
369062011-02-17 Andreas Schwab <schwab@redhat.com>
36907
36908 [BZ #12454]
36909 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
36910 dependencies are missing.
36911
6c8a2e88
ST
369122011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
36913
f2092faf 36914 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
36915 Hurd needs munmap.
36916 * sysdeps/mach/hurd/ifreq.h: New file.
36917
84a42118
PB
369182011-01-27 Petr Baudis <pasky@suse.cz>
36919 Ulrich Drepper <drepper@gmail.com>
36920
071f805e 36921 [BZ 12445]#
84a42118
PB
36922 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
36923 to extend_alloca().
36924 * stdio-common/bug23.c: New file.
36925 * stdio-common/Makefile (tests): Add bug23.
36926
e23fe25b
AS
369272010-09-28 Andreas Schwab <schwab@redhat.com>
36928 Ulrich Drepper <drepper@gmail.com>
36929
36930 [BZ #12489]
36931 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
36932 before performing relro protection. At old place add assertion
36933 to make sure nothing changed.
36934
d3f02e10
NS
369352011-02-17 Nathan Sidwell <nathan@codesourcery.com>
36936 Glauber de Oliveira Costa <glommer@gmail.com>
36937
36938 * elf/elf.h: Add new ARM TLS relocs.
36939
d55fd7a5
RA
369402011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
36941
36942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
36943 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
36944 cast from r3.
36945 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
36946 'tests' variable.
36947 * sysdeps/wordsize-64/tst-writev.c: New file.
36948
2206397e
RA
369492011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
36950
36951 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
36952 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
36953 insns in _dl_start to prevent a TOC reference before relocs are
36954 resolved.
36955
e9433893
UD
369562011-02-15 Ulrich Drepper <drepper@gmail.com>
36957
36958 [BZ #12469]
36959 * Makeconfig: Remove RANLIB definition.
36960 * Makerules: Don't use RANLIB.
36961 * aclocal.m4: Remove ranlib test.
36962 * configure.in: No need to check for ranlib.
36963 * elf/rtld-Rules: Don't use RANLIB.
36964
f75286c6
ST
369652011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
36966
8e31c82d
ST
36967 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
36968 protection macro.
36969 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
36970 inclusion protection macro.
36971
f75286c6
ST
36972 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
36973 SIGRTMIN and SIGRTMAX and print information in that case only when
36974 SIGRTMIN is defined.
36975
c1d0e639
JJ
369762011-02-11 Jakub Jelinek <jakub@redhat.com>
36977
36978 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
36979 arginfo fn returning -1.
36980
36981 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
36982 and thousands string is zero terminated.
36983
edf9294e
AS
369842011-02-03 Andreas Schwab <schwab@redhat.com>
36985
36986 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
36987 sysdeps/unix/sysv/linux/bits/socket.h.
36988
2b7e92df
ST
369892011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
36990
edf9294e
AS
36991 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
36992 (__CPU_COUNT): Remove old macros.
36993 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
36994 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
36995 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
36996 (__sched_cpualloc, __sched_cpufree): Add declarations.
36997
a4c7ea7b
UD
369982011-02-05 Ulrich Drepper <drepper@gmail.com>
36999
37000 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
37001 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
37002 * nscd/aicache.c (addhstaiX): Return timeout of added value.
37003 (readdhstai): Return value of addhstaiX call.
37004 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
37005 (addgrbyX): Return value returned by cache_addgr.
37006 (readdgrbyname): Return value returned by addgrbyX.
37007 (readdgrbygid): Likewise.
37008 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
37009 (addpwbyX): Return value returned by cache_addpw.
37010 (readdpwbyname): Return value returned by addhstbyX.
37011 (readdpwbyuid): Likewise.
37012 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
37013 (addservbyX): Return value returned by cache_addserv.
37014 (readdservbyname): Return value returned by addservbyX:
37015 (readdservbyport): Likewise.
37016 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
37017 (addhstbyX): Return value returned by cache_addhst.
37018 (readdhstbyname): Return value returned by addhstbyX.
37019 (readdhstbyaddr): Likewise.
37020 (readdhstbynamev6): Likewise.
37021 (readdhstbyaddrv6): Likewise.
37022 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
37023 (readdinitgroups): Return value returned by addinitgroupsX.
37024 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
37025 (prune_cache): Keep track of timeout value of re-added entries.
37026 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
37027 * nscd/nscd.h: Adjust prototypes of readd* functions.
37028
a0bf67cc
RM
370292011-02-04 Roland McGrath <roland@redhat.com>
37030
37031 * nis/nis_server.c (nis_servstate): Use the right name for 0.
37032 (nis_stats): Likewise.
37033 * nis/nis_modify.c (nis_modify): Likewise.
37034 * nis/nis_remove.c (nis_remove): Likewise.
37035 * nis/nis_add.c (nis_add): Likewise.
37036
37037 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
37038
37039 * posix/fnmatch_loop.c: Add some consts.
37040
37041 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
37042
435b95eb
L
370432011-02-02 H.J. Lu <hongjiu.lu@intel.com>
37044
37045 [BZ #12460]
37046 * config.make.in (config-cflags-novzeroupper): Define.
37047 * configure.in: Substitute libc_cv_cc_novzeroupper.
37048 * elf/Makefile (AVX-CFLAGS): Define.
37049 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
37050 (CFLAGS-tst-auditmod4a.c): Likewise.
37051 (CFLAGS-tst-auditmod4b.c): Likewise.
37052 (CFLAGS-tst-auditmod6b.c): Likewise.
37053 (CFLAGS-tst-auditmod6c.c): Likewise.
37054 (CFLAGS-tst-auditmod7b.c): Likewise.
37055 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
37056
8517b15e
UD
370572011-02-02 Ulrich Drepper <drepper@gmail.com>
37058
37059 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
37060 function to the callback.
37061 Patch partly by Jiri Olsa <jolsa@redhat.com>.
37062
10a656fe
AS
370632011-02-02 Andreas Schwab <schwab@redhat.com>
37064
37065 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
37066 of errno.
37067
968dad0a
UD
370682011-01-19 Ulrich Drepper <drepper@gmail.com>
37069
9f94d2ea 37070 [BZ #11724]
968dad0a
UD
37071 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
37072 of constructors.
37073 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
37074 of destructors.
37075 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
37076
37077 [BZ #11724]
37078 * elf/Makefile: Add rules to build and run new test.
37079 * elf/tst-initorder.c: New file.
37080 * elf/tst-initorder.exp: New file.
37081 * elf/tst-initordera1.c: New file.
37082 * elf/tst-initordera2.c: New file.
37083 * elf/tst-initordera3.c: New file.
37084 * elf/tst-initordera4.c: New file.
37085 * elf/tst-initorderb1.c: New file.
37086 * elf/tst-initorderb2.c: New file.
37087 * elf/tst-order-a1.c: New file.
37088 * elf/tst-order-a2.c: New file.
37089 * elf/tst-order-a3.c: New file.
37090 * elf/tst-order-a4.c: New file.
37091 * elf/tst-order-b1.c: New file.
37092 * elf/tst-order-b2.c: New file.
37093 * elf/tst-order-main.c: New file.
37094 New test case by George Gensure <werkt0@gmail.com>.
37095
86e92359
UD
370962010-10-01 Andreas Schwab <schwab@redhat.com>
37097
37098 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
37099 decoding ACE if AI_CANONIDN.
37100
5d5732b0
UD
371012011-01-18 Ulrich Drepper <drepper@gmail.com>
37102
37103 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
37104
a77e8cbc
UD
371052011-01-17 Ulrich Drepper <drepper@gmail.com>
37106
6392473f
UD
37107 * version.h (RELEASE): Bump for 2.13 release.
37108 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
37109
620a0529
UD
37110 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
37111
18ba70a5
UD
37112 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
37113 MADV_NOHUGEPAGE.
32465c3e
UD
37114 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
37115 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
37116 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37117 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
37118 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37119 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
37120
c0dafcf1
UD
37121 * posix/getconf.c: Update copyright year.
37122 * catgets/gencat.c: Likewise.
37123 * csu/version.c: Likewise.
37124 * debug/catchsegv.sh: Likewise.
37125 * debug/xtrace.sh: Likewise.
37126 * elf/ldconfig.c: Likewise.
37127 * elf/ldd.bash.in: Likewise.
37128 * elf/sprof.c (print_version): Likewise.
37129 * iconv/iconv_prog.c: Likewise.
37130 * iconv/iconvconfig.c: Likewise.
37131 * locale/programs/locale.c: Likewise.
37132 * locale/programs/localedef.c: Likewise.
37133 * malloc/memusage.sh: Likewise.
37134 * malloc/mtrace.pl: Likewise.
37135 * nscd/nscd.c (print_version): Likewise.
37136 * nss/getent.c: Likewise.
37137
a77e8cbc
UD
37138 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
37139 PF_CAIF, and PF_ALG.
37140 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37141
77e8bddf
AS
371422011-01-16 Andreas Schwab <schwab@linux-m68k.org>
37143
1f20b93a
AS
37144 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
37145 (modules-names): Use them.
37146 (ifunc-test-modules, ifunc-pie-tests): Define.
37147 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
37148 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
37149 (test-extras): Likewise.
37150 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
37151 $(compile-command.c).
37152 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
37153 (all-built-dso): Define.
37154 (check-textrel.out, check-execstack.out): Depend on it.
37155
77e8bddf
AS
37156 * configure.in: Don't override --enable-multi-arch.
37157
bc425b33
UD
371582011-01-15 Ulrich Drepper <drepper@gmail.com>
37159
37160 [BZ #6812]
37161 * nscd/hstcache.c (tryagain): Define.
37162 (cache_addhst): Return tryagain not notfound for temporary errors.
37163 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
37164 failed.
37165
794c3ad3
UD
371662011-01-14 Ulrich Drepper <drepper@gmail.com>
37167
70181fdd
UD
37168 [BZ #10563]
37169 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
37170 to make the syscall.
37171 * sysdeps/unix/sysv/linux/setgroups.c: New file.
37172
794c3ad3
UD
37173 [BZ #12378]
37174 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
37175 and fall back to matching as normal character if the string ends before
37176 the matching ']' is found. This is what POSIX requires.
37177 * posix/testfnm.c: Adjust test result.
37178 * posix/globtest.sh: Adjust test result. Add new test.
37179 * posix/tst-fnmatch.input: Likewise.
37180 * posix/tst-fnmatch2.c: Add new test.
37181
68dc9497
AS
371822010-12-28 Andreas Schwab <schwab@linux-m68k.org>
37183
37184 * elf/Makefile (check-execstack): Revert last change. Depend on
37185 check-execstack.h.
37186 (check-execstack.h): New target.
37187 (generated): Add check-execstack.h.
37188 * elf/check-execstack.c: Include "check-execstack.h".
37189 (main): Revert last change.
37190 (handle_file): Return zero if GNU_STACK is absent and
37191 DEFAULT_STACK_PERMS doesn't include PF_X.
37192
451f001b
UD
371932011-01-13 Ulrich Drepper <drepper@gmail.com>
37194
cfa28e56
UD
37195 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
37196 in child fails because the descriptor is already closed.
8cf8ce17
UD
37197 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
37198 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
37199 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 37200
1086d70d
UD
37201 [BZ #12397]
37202 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
37203 syscall.
37204
451f001b
UD
37205 [BZ #10484]
37206 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
37207 temporary buffer used to handle multi lookups locally.
a85b5cb4 37208 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 37209
08769175
UD
372102011-01-12 Ulrich Drepper <drepper@gmail.com>
37211
37212 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
37213 loader is ld.so.
37214
5e49c52e
UD
372152011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
37216
37217 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
37218 alignment for SSE2.
37219
60522a5f
UD
372202011-01-12 Ulrich Drepper <drepper@gmail.com>
37221
37222 [BZ #12394]
37223 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
37224 characters. When rounding increased number of integer digits recompute
37225 number of groups.
37226 * stdio-common/tst-grouping.c: New file.
37227 * stdio-common/Makefile: Add rules to build and run tst-grouping.
37228
f257bbd7
UD
372292011-01-09 Ulrich Drepper <drepper@gmail.com>
37230
37231 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
37232 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
37233
37234 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
37235 void.
37236 * bits/select.h: Likewise.
37237
fa9c15cb
UD
372382011-01-08 Ulrich Drepper <drepper@gmail.com>
37239
37240 * po/ja.po: Update from translation team.
37241
16c2895f
DM
372422011-01-04 David S. Miller <davem@sunset.davemloft.net>
37243
37244 [BZ #11155]
37245 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
37246 implementation just like for lxstat, fxstatat, et al.
37247
2543fef2
JM
372482010-12-27 Jim Meyering <meyering@redhat.com>
37249
37250 [BZ #12348]
37251 * posix/regexec.c (build_trtable): Return failure indication upon
37252 calloc failure. Otherwise, re_search_internal could infloop on OOM.
37253
98727dbe
UD
372542010-12-25 Ulrich Drepper <drepper@gmail.com>
37255
5bd6dc5c
UD
37256 [BZ #12201]
37257 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
37258 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
37259 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
37260 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
37261
97983464
UD
37262 [BZ #12207]
37263 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
37264
98727dbe
UD
37265 [BZ #12204]
37266 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
37267 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
37268
4a531bb0
L
372692010-12-15 H.J. Lu <hongjiu.lu@intel.com>
37270
37271 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
37272 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
37273 script has SORT_BY_INIT_PRIORITY.
37274 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
37275 NO_CTORS_DTORS_SECTIONS is defined.
37276 * elf/soinit.c: Likewise.
37277 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
37278 NO_CTORS_DTORS_SECTIONS is defined.
37279 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
37280 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
37281 * sysdeps/sh/init-first.c: Likewise.
37282 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
37283
07eb4b71
UD
372842010-12-24 Ulrich Drepper <drepper@gmail.com>
37285
37286 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
37287 always use the slow path.
37288
30950a5f
RA
372892010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
37290
37291 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
37292 similar rule which adds the sysdep directories to the header search in
37293 order to pick up the correct platform stackinfo.h.
37294 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
37295 perform test if it is, otherwise return successfully without testing.
37296 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
37297 DEFAULT_STACK_PERMS define in stackinfo.h.
37298 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
37299 defined in stackinfo.h.
37300 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
37301 DEFAULT_STACK_PERMS defined in stackinfo.h.
37302 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
37303 * sysdeps/ia64/stackinfo.h: Likewise.
37304 * sysdeps/s390/stackinfo.h: Likewise.
37305 * sysdeps/sh/stackinfo.h: Likewise.
37306 * sysdeps/sparc/stackinfo.h: Likewise.
37307 * sysdeps/x86_64/stackinfo.h: Likewise.
37308 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
37309 PF_X for powerpc64. Retain PF_X for powerpc32.
37310
db753e2c
UD
373112010-12-19 Ulrich Drepper <drepper@gmail.com>
37312
14b697f7
UD
37313 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
37314 accurately.
db753e2c
UD
37315 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
37316 GETDENTS_64BIT_ALIGNED.
37317
28300719
UD
373182010-12-14 Ulrich Drepper <dreper@gmail.com>
37319
14b697f7 37320 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 37321
4f197237
AS
373222010-12-10 Andreas Schwab <schwab@redhat.com>
37323
dbb0472f
AS
37324 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
37325 _GNU_SOURCE.
37326
4f197237
AS
37327 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
37328 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
37329 Remove __restrict.
37330 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
37331 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
37332
fb88ac72
UD
373332010-12-09 Ulrich Drepper <drepper@gmail.com>
37334
37335 [BZ #11655]
37336 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
37337 are initialized.
37338
42acbb92
JJ
373392010-12-09 Jakub Jelinek <jakub@redhat.com>
37340
37341 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
37342
c038d98d
UD
373432010-12-03 Ulrich Drepper <drepper@gmail.com>
37344
37345 * po/it.po: Update from translation team.
37346
3a4a2499
L
373472010-12-01 H.J. Lu <hongjiu.lu@intel.com>
37348
37349 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
37350 unused codes.
37351
1e24cf6e
UD
373522010-11-30 Ulrich Drepper <drepper@gmail.com>
37353
37354 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
37355
a7690819
AS
373562010-11-24 Andreas Schwab <schwab@redhat.com>
37357
37358 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
37359 specially.
37360 (gaih_getanswer_slice): Likewise.
37361
3bf8d1b1
JJ
373622010-10-20 Jakub Jelinek <jakub@redhat.com>
37363
37364 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
37365
6db52fbb
PB
373662010-05-31 Petr Baudis <pasky@suse.cz>
37367
37368 [BZ #11149]
37369 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
37370 silently even in the chroot mode.
37371
eaca7569
UD
373722010-11-22 Ulrich Drepper <drepper@gmail.com>
37373
37374 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
37375 last patch a bit. Pretty printing
37376
3056dcdb
UD
373772010-05-31 Petr Baudis <pasky@suse.cz>
37378
37379 [BZ #10085]
37380 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
37381 initialization of skip_initgroups_dyn.
37382
cf7c9078
UD
373832010-11-19 Ulrich Drepper <drepper@gmail.com>
37384
37385 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
37386 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
37387
a1fb5e3e
UD
373882010-11-16 Ulrich Drepper <drepper@gmail.com>
37389
37390 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
37391
3540d66b
AS
373922010-11-11 Andreas Schwab <schwab@redhat.com>
37393
37394 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
37395 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
37396 (tst-fnmatch-ENV): Set MALLOC_TRACE.
37397 ($(objpfx)tst-fnmatch-mem): New rule.
37398 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
37399 * posix/tst-fnmatch.c (main): Call mtrace.
37400
13b69574
L
374012010-11-11 H.J. Lu <hongjiu.lu@intel.com>
37402
37403 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37404 Support Intel processor model 6 and model 0x2c.
37405
da93d214
LM
374062010-11-10 Luis Machado <luisgpm@br.ibm.com>
37407
37408 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
37409 signed comparison.
37410
8ca52c6e
L
374112010-11-09 H.J. Lu <hongjiu.lu@intel.com>
37412
37413 [BZ #12205]
37414 * string/test-strncasecmp.c (check_result): New function.
37415 (do_one_test): Use it.
37416 (check1): New function.
37417 (test_main): Use it.
37418 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
37419 Support strcasecmp and strncasecmp.
37420
69da074d
UD
374212010-11-08 Ulrich Drepper <drepper@gmail.com>
37422
37423 [BZ #12194]
37424 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
37425 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37426
ff02d528
L
374272010-11-07 H.J. Lu <hongjiu.lu@intel.com>
37428
37429 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
37430 IFUNC support.
37431 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37432 memset-x86-64.
37433 * sysdeps/x86_64/multiarch/bzero.S: New file.
37434 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
37435 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
37436 * sysdeps/x86_64/multiarch/memset.S: New file.
37437 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
37438 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37439 Set bit_Prefer_SSE_for_memop for Intel processors.
37440 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
37441 Define.
37442 (index_Prefer_SSE_for_memop): Define.
37443 (HAS_PREFER_SSE_FOR_MEMOP): Define.
37444
344d0b54
LM
374452010-11-04 Luis Machado <luisgpm@br.ibm.com>
37446
37447 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
37448 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
37449
c0dde15b
UD
374502010-11-03 H.J. Lu <hongjiu.lu@intel.com>
37451
37452 [BZ #12191]
37453 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37454 (__x86_64_raw_data_cache_size_half): Likewise.
37455 (__x86_64_raw_shared_cache_size): Likewise.
37456 (__x86_64_raw_shared_cache_size_half): Likewise.
37457
37458 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37459 (__x86_64_raw_data_cache_size_half): Likewise.
37460 (__x86_64_raw_shared_cache_size): Likewise.
37461 (__x86_64_raw_shared_cache_size_half): Likewise.
37462 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
37463 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
37464 and __x86_64_raw_shared_cache_size_half. Round
37465 __x86_64_data_cache_size_half, __x86_64_data_cache_size
37466 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
37467 to multiple of 256 bytes.
37468
0e516e0e
MS
374692010-11-03 Ulrich Drepper <drepper@gmail.com>
37470
37471 [BZ #12167]
37472 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
37473 of inacessible symlinks. Verify result of symlink before returning it.
37474 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
37475 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
37476
0e012e87
ER
374772010-10-28 Erich Ritz <erichritz@gmail.com>
37478
37479 * math/math.h (isinf): Fix typo in comment.
37480
de0ff7bc
UD
374812010-11-01 Ulrich Drepper <drepper@gmail.com>
37482
37483 * po/da.po: Update from translation team.
37484
fa41c84d
UD
374852010-10-26 Ulrich Drepper <drepper@gmail.com>
37486
37487 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
37488 is added to the list.
37489
f0967738
AK
374902010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37491 Ulrich Drepper <drepper@gmail.com>
37492
37493 * elf/dl-object.c (_dl_new_object): Don't append the new object to
37494 the global list here. Move code to...
37495 (_dl_add_to_namespace_list): ...here. New function.
37496 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
37497 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
37498 * elf/dl-load.c (lose): Don't remove the element from the list.
37499 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
37500 (_dl_map_object): Likewise.
37501
375022010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
37503
37504 [BZ #12159]
37505 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
37506 into all bytes of SSE register.
37507 Patch by Richard Li <richardpku@gmail.com>.
37508
f0967738 375092010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
37510
37511 [BZ #12140]
37512 * malloc/malloc.c (_int_free): Fill correct number of bytes when
37513 perturbing.
37514
d0b9e94f
MB
375152010-10-20 Michael B. Brutman <brutman@us.ibm.com>
37516
37517 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
37518 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
37519 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
37520 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
37521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
37522 submachine.
37523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
37524
8e9f92e9
AS
375252010-10-22 Andreas Schwab <schwab@redhat.com>
37526
37527 * include/dlfcn.h (__RTLD_SECURE): Define.
37528 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
37529 mode & __RTLD_SECURE instead.
37530 (open_path): Rename preloaded parameter to secure.
37531 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
37532 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
37533 * elf/dl-deps.c (openaux): Likewise.
37534 * elf/rtld.c (struct map_args): Remove is_preloaded.
37535 (map_doit): Don't use it.
37536 (dl_main): Likewise.
37537 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
37538 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
37539
bc96fbda
AS
375402010-09-09 Andreas Schwab <schwab@redhat.com>
37541
37542 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
37543 (sysd-rules-targets): Remove duplicates.
37544 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
37545 rtld-%.$o dependency.
37546
22cd1c9b
AS
375472010-10-18 Andreas Schwab <schwab@redhat.com>
37548
37549 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
37550 _dl_map_object do it.
37551
18edac48
UD
375522010-10-19 Ulrich Drepper <drepper@gmail.com>
37553
37554 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
37555 fast fma builtins, define the macros in the C99 standard.
37556 (FP_FAST_FMAF): Likewise.
37557 (FP_FAST_FMAL): Likewise.
37558 * sysdeps/x86_64/bits/mathdef.h: Likewise.
37559
37560 * bits/mathdef.h: Update copyright year.
37561 * sysdeps/powerpc/bits/mathdef.h: Likewise.
37562
d2050124
MM
375632010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
37564
37565 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
37566 builtins, define the macros in the C99 standard.
37567 (FP_FAST_FMAF): Likewise.
37568 (FP_FAST_FMAL): Likewise.
37569 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
37570 multiply/add.
37571 (FP_FAST_FMAF): Likewise.
37572
475facd1
JJ
375732010-10-15 Jakub Jelinek <jakub@redhat.com>
37574
37575 [BZ #3268]
37576 * math/libm-test.inc (fma_test): Some new testcases.
37577 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
37578 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
37579 y and infinite z. Do multiplication by C already in long double.
37580 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
37581 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
37582 y and infinite z. Do bitwise or of inexact bit into u.d.
37583 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
37584 * sysdeps/i386/fpu/s_fmaf.S: Removed.
37585 * sysdeps/i386/fpu/s_fma.S: Removed.
37586 * sysdeps/i386/fpu/s_fmal.S: Removed.
37587
7c08a05c
JJ
375882010-10-16 Jakub Jelinek <jakub@redhat.com>
37589
37590 [BZ #3268]
37591 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
37592 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
37593 computation is not scheduled after fetestexcept. Fix value
37594 of minimum denormal long double.
37595
f3f7372d
JJ
375962010-10-14 Jakub Jelinek <jakub@redhat.com>
37597
37598 [BZ #3268]
37599 * math/libm-test.inc (fma_test): Add some more tests.
37600 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
37601 correctly.
37602
14d43591
AS
376032010-10-15 Andreas Schwab <schwab@redhat.com>
37604
37605 * scripts/data/localplt-s390-linux-gnu.data: New file.
37606 * scripts/data/localplt-s390x-linux-gnu.data: New file.
37607
5e908464
JJ
376082010-10-13 Jakub Jelinek <jakub@redhat.com>
37609
37610 [BZ #3268]
37611 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
37612 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
37613 instead of dbl-64.
37614 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
37615 inlines.
37616 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
37617 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
37618 if one of x and y is very large and the other is subnormal.
37619 * sysdeps/s390/fpu/s_fmaf.c: New file.
37620 * sysdeps/s390/fpu/s_fma.c: New file.
37621 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
37622 * sysdeps/powerpc/fpu/s_fma.S: New file.
37623 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
37624 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
37625 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
37626
376272010-10-12 Jakub Jelinek <jakub@redhat.com>
37628
37629 [BZ #3268]
37630 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
37631 fma tests.
37632 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
37633 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
37634 * sysdeps/i386/i686/multiarch/s_fma.c: Include
37635 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
37636 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
37637 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
37638 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
37639
b833d51f
UD
376402010-10-12 Ulrich Drepper <drepper@redhat.com>
37641
37642 [BZ #12078]
37643 * posix/regcomp.c (parse_branch): One more memory leak plugged.
37644 * posix/bug-regex31.input: Add test case.
37645
1751705d
UD
376462010-10-11 Ulrich Drepper <drepper@gmail.com>
37647
e9b9cbf5
UD
37648 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
37649 * posix/bug-regex31.input: New file.
37650
37651 [BZ #12078]
37652 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
37653 (parse_sub_exp): Fix last change, use postorder.
37654
ef06edbe
UD
37655 * posix/bug-regex31.c: New file.
37656 * posix/Makefile: Add rules to build and run bug-regex31.
37657
a129c80d
UD
37658 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
37659
37660 [BZ #12078]
37661 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
37662
b76b818e
UD
37663 [BZ #12108]
37664 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
37665 to have entries in sys_siglist.
37666
1751705d
UD
37667 [BZ #12093]
37668 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
37669 be NULL.
37670
9ff8d36f
JJ
376712010-10-07 Jakub Jelinek <jakub@redhat.com>
37672
37673 [BZ #3268]
37674 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
37675 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
37676 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
37677 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
37678 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37679 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
37680 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
37681 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
37682 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
37683 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
37684 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
37685 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
37686 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
37687 * math/ftestexcept.c (fetestexcept): Likewise.
37688 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
37689 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
37690 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
37691 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
37692 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
37693 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
37694 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37695
af325969
UD
376962010-10-11 Ulrich Drepper <drepper@gmail.com>
37697
c579b202 37698 [BZ #12107]
af325969
UD
37699 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
37700 newline.
37701
67a67b95
UD
377022010-10-06 Ulrich Drepper <drepper@gmail.com>
37703
37704 * string/bug-strstr1.c: New file.
37705 * string/Makefile: Add rules to build and run bug-strstr1.
37706
5fb308bc
EB
377072010-10-05 Eric Blake <eblake@redhat.com>
37708
37709 [BZ #12092]
37710 * string/str-two-way.h (two_way_long_needle): Always clear memory
37711 when skipping input due to the shift table.
37712
45db99c7
UD
377132010-10-03 Ulrich Drepper <drepper@gmail.com>
37714
3b111893
UD
37715 [BZ #12005]
37716 * malloc/mcheck.c: Handle large requests.
37717
45db99c7
UD
37718 [BZ #12077]
37719 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
37720 for strncmp and strncasecmp.
37721 * string/stratcliff.c: Add tests for strcmp and strncmp.
37722 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
37723
cf7a1eb8
NI
377242010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37725
37726 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
37727 __set_fpscr.
37728
6484ba5e
AJ
377292010-09-30 Andreas Jaeger <aj@suse.de>
37730
37731 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
37732 (CGROUP_SUPER_MAGIC): Define.
37733 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37734 Handle btrfs and cgroup file systems.
37735 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
37736 Likewise.
37737
91c42559
LM
377382010-09-27 Luis Machado <luisgpm@br.ibm.com>
37739
37740 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
37741 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
37742
87a97932
AK
377432010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37744
37745 [BZ #12067]
37746 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
37747 trying to locate the ELF header.
37748
c21cc9bc
AS
377492010-09-27 Andreas Schwab <schwab@redhat.com>
37750
37751 [BZ #11611]
37752 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
37753 Mask out sign-bit copies when constructing f_fsid.
37754
315970f6
PB
377552010-09-24 Petr Baudis <pasky@suse.cz>
37756
37757 * debug/stack_chk_fail_local.c: Add missing licence exception.
37758 * debug/warning-nop.c: Likewise.
37759
1ac7a2c7
JM
377602010-09-15 Joseph Myers <joseph@codesourcery.com>
37761
37762 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
37763 implementing getdents64 using getdents syscall, set d_type if
37764 __ASSUME_GETDENTS32_D_TYPE.
37765
56801c50
AS
377662010-09-16 Andreas Schwab <schwab@redhat.com>
37767
37768 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
37769 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
37770
dda51327
UD
377712010-09-21 Ulrich Drepper <drepper@redhat.com>
37772
37773 [BZ #12037]
37774 * posix/unistd.h: Undo change of feature selection for ftruncate from
37775 2010-01-11.
37776
8ffcee4a
UD
377772010-09-20 Ulrich Drepper <drepper@redhat.com>
37778
a545ecd9 37779 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
37780 detection.
37781
e24f0a8b
AS
377822010-09-20 Andreas Schwab <schwab@redhat.com>
37783
37784 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
37785 fanotify_mark.
37786 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37787
7291c56f
AS
377882010-09-14 Andreas Schwab <schwab@redhat.com>
37789
37790 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
37791 variables after CHECK_SP call.
37792 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
37793
bc5fb037
AS
377942010-09-13 Andreas Schwab <schwab@redhat.com>
37795 Ulrich Drepper <drepper@redhat.com>
37796
37797 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
37798 re-relocationg ld.so.
37799 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
37800 _dl_init_paths call.
37801 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
37802 here anymore.
37803
e66e7419
UD
378042010-09-14 Ulrich Drepper <drepper@redhat.com>
37805
37806 * resolv/res_init.c (__res_vinit): Count the default server we added.
37807
c044aa75
CLT
378082010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
37809 Ulrich Drepper <drepper@redhat.com>
37810
37811 [BZ #11968]
37812 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
37813 (____longjmp_chk): Use %ebx for saving value across system call.
37814 Add unwind info.
37815
32cf4069
AS
378162010-09-06 Andreas Schwab <schwab@redhat.com>
37817
37818 * manual/Makefile: Don't mix pattern rules with normal rules.
37819
817328ee
AS
378202010-09-05 Andreas Schwab <schwab@linux-m68k.org>
37821
37822 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
37823 operation.
37824 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
37825 * libio/iofopncook.c (_IO_cookie_init): Likewise.
37826 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
37827 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
37828 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37829 Likewise.
37830
29fddf61
UD
378312010-09-04 Ulrich Drepper <drepper@redhat.com>
37832
37833 [BZ #11979]
37834 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
37835 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
37836
0959ffc9
UD
378372010-09-02 Ulrich Drepper <drepper@redhat.com>
37838
37839 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
37840 * sysdeps/x86_64/addmul_1.S: Likewise.
37841 * sysdeps/x86_64/lshift.S: Likewise.
37842 * sysdeps/x86_64/mul_1.S: Likewise.
37843 * sysdeps/x86_64/rshift.S: Likewise.
37844 * sysdeps/x86_64/sub_n.S: Likewise.
37845 * sysdeps/x86_64/submul_1.S: Likewise.
37846
ece29840
ST
378472010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
37848
0959ffc9
UD
37849 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
37850 Define __sched_param instead of SCHED_* and sched_param when
ece29840 37851 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 37852 * bits/sched.h [__need_schedparam]
ece29840 37853 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
37854 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
37855 (__defined_schedparam): Define to 1.
ece29840
ST
37856 (__sched_param): New structure, identical to sched_param.
37857 (__need_schedparam): Undefine.
37858
e53a31fe
MF
378592010-08-31 Mike Frysinger <vapier@gentoo.org>
37860
fdc0c10d
MF
37861 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
37862 (epoll_create1): Declare.
37863
e53a31fe
MF
37864 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
37865
a726d796
AS
378662010-08-31 Andreas Schwab <schwab@redhat.com>
37867
37868 [BZ #7066]
37869 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
37870 shifting retval into place.
37871
2f3e3dc7
UD
378722010-09-01 Ulrich Drepper <drepper@redhat.com>
37873
f2933da9
UD
37874 * nis/rpcsvc/nis.h: Update copyright notice.
37875 * nis/rpcsvc/nis.x: Likewise.
37876 * nis/rpcsvc/nis_callback.h: Likewise.
37877 * nis/rpcsvc/nis_callback.x: Likewise.
37878 * nis/rpcsvc/nis_object.x: Likewise.
37879 * nis/rpcsvc/nis_tags.h: Likewise.
37880 * nis/rpcsvc/yp.h: Likewise.
37881 * nis/rpcsvc/yp.x: Likewise.
37882 * nis/rpcsvc/ypupd.h: Likewise.
37883 * nis/yp_xdr.c: Likewise.
37884 * nis/ypupdate_xdr.c: Likewise.
37885
2f3e3dc7
UD
37886 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
37887 mainly the body of pmap_getport. Add parameters to specify timeouts.
37888 (pmap_getport): Use __libc_rpc_getport.
37889 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
37890 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
37891 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
37892
f3dcc2f9
AS
378932010-08-31 Andreas Schwab <schwab@linux-m68k.org>
37894
37895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
37896 fanotify_mark.
37897
6d34eb5b
RM
378982010-08-27 Roland McGrath <roland@redhat.com>
37899
37900 * sysdeps/i386/i686/multiarch/Makefile
37901 (CFLAGS-varshift.c): New variable.
37902
9ea3de11
UD
379032010-08-27 Ulrich Drepper <drepper@redhat.com>
37904
c96d23fc
UD
37905 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
37906 * sysdeps/i386/i686/multiarch/varshift.c: New file.
37907
9ea3de11
UD
37908 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
37909
37910 * sysdeps/x86_64/strlen.S: Minimal code improvement.
37911
623aac7f
L
379122010-08-26 H.J. Lu <hongjiu.lu@intel.com>
37913
37914 * sysdeps/x86_64/strlen.S: Unroll the loop.
37915 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37916 strlen-sse2 strlen-sse2-bsf.
37917 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
37918 __strlen_no_bsf if bit_Slow_BSF is set.
37919 (__strlen_sse42): Removed.
37920 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
37921 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
37922
8b2b7715
RM
379232010-08-25 Roland McGrath <roland@redhat.com>
37924
37925 * sysdeps/x86_64/multiarch/varshift.S: File removed.
37926 * sysdeps/x86_64/multiarch/varshift.c: New file.
37927 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
37928 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
37929 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
37930 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
37931
e73015f2
L
379322010-08-25 H.J. Lu <hongjiu.lu@intel.com>
37933
37934 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37935 strlen-sse2 strlen-sse2-bsf.
37936 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
37937 __strlen_sse2_bsf if bit_Slow_BSF is unset.
37938 (__strlen_sse2): Removed.
37939 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
37940 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
37941 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
37942 bit_Slow_BSF for Atom.
37943 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
37944 (index_Slow_BSF): Define.
37945 (HAS_SLOW_BSF): Define.
37946
df24a73e
UD
379472010-08-25 Ulrich Drepper <drepper@redhat.com>
37948
37949 [BZ #10851]
37950 * resolv/res_init.c (__res_vinit): When no server address at all
37951 is given default to loopback.
37952
f2ac4868
RM
379532010-08-24 Roland McGrath <roland@redhat.com>
37954
09055553
RM
37955 * configure.in: Remove config-name.h generation.
37956 * configure: Regenerated.
37957 * config-name.in: File removed.
37958 * scripts/config-uname.sh: New file.
37959 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
37960 ($(objdir)config-name.h): New target.
37961
f2ac4868
RM
37962 * sunrpc/rpc_parse.h: Avoid nested comment.
37963
73f27d5e
RH
379642010-08-24 Richard Henderson <rth@redhat.com>
37965 Ulrich Drepper <drepper@redhat.com>
37966 H.J. Lu <hongjiu.lu@intel.com>
37967
37968 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
37969 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
37970 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
37971 Replace _mm_srli_si128 with __m128i_shift_right. Replace
37972 _mm_alignr_epi8 with _mm_loadu_si128.
37973 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
37974 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
37975 (__m128i_shift_right): Removed.
37976 * sysdeps/i386/i686/multiarch/varshift.h: New file.
37977 * sysdeps/i386/i686/multiarch/varshift.S: New file.
37978 * sysdeps/x86_64/multiarch/varshift.h: New file.
37979 * sysdeps/x86_64/multiarch/varshift.S: New file.
37980
84b9230c
MF
379812010-08-21 Mike Frysinger <vapier@gentoo.org>
37982
37983 * configure.in: Move assembler checks to before sysdep dir checking.
37984
9bbd0ddc
PB
379852010-08-20 Petr Baudis <pasky@suse.cz>
37986
37987 * LICENSES: Sync the sunrpc license.
37988
9da4bb31
UD
379892010-08-19 Ulrich Drepper <drepper@redhat.com>
37990
a7ab6ec8
UD
37991 * sunrpc/auth_des.c: Update copyright notice once again.
37992 * sunrpc/auth_none.c: Likewise.
37993 * sunrpc/auth_unix.c: Likewise.
37994 * sunrpc/authdes_prot.c: Likewise.
37995 * sunrpc/authuxprot.c: Likewise.
37996 * sunrpc/bindrsvprt.c: Likewise.
37997 * sunrpc/clnt_gen.c: Likewise.
37998 * sunrpc/clnt_perr.c: Likewise.
37999 * sunrpc/clnt_raw.c: Likewise.
38000 * sunrpc/clnt_simp.c: Likewise.
38001 * sunrpc/clnt_tcp.c: Likewise.
38002 * sunrpc/clnt_udp.c: Likewise.
38003 * sunrpc/clnt_unix.c: Likewise.
38004 * sunrpc/des_crypt.c: Likewise.
38005 * sunrpc/des_soft.c: Likewise.
38006 * sunrpc/get_myaddr.c: Likewise.
38007 * sunrpc/getrpcport.c: Likewise.
38008 * sunrpc/key_call.c: Likewise.
38009 * sunrpc/key_prot.c: Likewise.
38010 * sunrpc/openchild.c: Likewise.
38011 * sunrpc/pm_getmaps.c: Likewise.
38012 * sunrpc/pm_getport.c: Likewise.
38013 * sunrpc/pmap_clnt.c: Likewise.
38014 * sunrpc/pmap_prot.c: Likewise.
38015 * sunrpc/pmap_prot2.c: Likewise.
38016 * sunrpc/pmap_rmt.c: Likewise.
38017 * sunrpc/rpc/auth.h: Likewise.
38018 * sunrpc/rpc/auth_unix.h: Likewise.
38019 * sunrpc/rpc/clnt.h: Likewise.
38020 * sunrpc/rpc/des_crypt.h: Likewise.
38021 * sunrpc/rpc/key_prot.h: Likewise.
38022 * sunrpc/rpc/netdb.h: Likewise.
38023 * sunrpc/rpc/pmap_clnt.h: Likewise.
38024 * sunrpc/rpc/pmap_prot.h: Likewise.
38025 * sunrpc/rpc/pmap_rmt.h: Likewise.
38026 * sunrpc/rpc/rpc.h: Likewise.
38027 * sunrpc/rpc/rpc_des.h: Likewise.
38028 * sunrpc/rpc/rpc_msg.h: Likewise.
38029 * sunrpc/rpc/svc.h: Likewise.
38030 * sunrpc/rpc/svc_auth.h: Likewise.
38031 * sunrpc/rpc/types.h: Likewise.
38032 * sunrpc/rpc/xdr.h: Likewise.
38033 * sunrpc/rpc_clntout.c: Likewise.
38034 * sunrpc/rpc_cmsg.c: Likewise.
38035 * sunrpc/rpc_common.c: Likewise.
38036 * sunrpc/rpc_cout.c: Likewise.
38037 * sunrpc/rpc_dtable.c: Likewise.
38038 * sunrpc/rpc_hout.c: Likewise.
38039 * sunrpc/rpc_main.c: Likewise.
38040 * sunrpc/rpc_parse.c: Likewise.
38041 * sunrpc/rpc_parse.h: Likewise.
38042 * sunrpc/rpc_prot.c: Likewise.
38043 * sunrpc/rpc_sample.c: Likewise.
38044 * sunrpc/rpc_scan.c: Likewise.
38045 * sunrpc/rpc_scan.h: Likewise.
38046 * sunrpc/rpc_svcout.c: Likewise.
38047 * sunrpc/rpc_tblout.c: Likewise.
38048 * sunrpc/rpc_util.c: Likewise.
38049 * sunrpc/rpc_util.h: Likewise.
38050 * sunrpc/rpcinfo.c: Likewise.
38051 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
38052 * sunrpc/rpcsvc/key_prot.x: Likewise.
38053 * sunrpc/rpcsvc/klm_prot.x: Likewise.
38054 * sunrpc/rpcsvc/mount.x: Likewise.
38055 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
38056 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
38057 * sunrpc/rpcsvc/rex.x: Likewise.
38058 * sunrpc/rpcsvc/rstat.x: Likewise.
38059 * sunrpc/rpcsvc/rusers.x: Likewise.
38060 * sunrpc/rpcsvc/sm_inter.x: Likewise.
38061 * sunrpc/rpcsvc/spray.x: Likewise.
38062 * sunrpc/rpcsvc/yppasswd.x: Likewise.
38063 * sunrpc/rtime.c: Likewise.
38064 * sunrpc/svc.c: Likewise.
38065 * sunrpc/svc_auth.c: Likewise.
38066 * sunrpc/svc_authux.c: Likewise.
38067 * sunrpc/svc_raw.c: Likewise.
38068 * sunrpc/svc_run.c: Likewise.
38069 * sunrpc/svc_simple.c: Likewise.
38070 * sunrpc/svc_tcp.c: Likewise.
38071 * sunrpc/svc_udp.c: Likewise.
38072 * sunrpc/svc_unix.c: Likewise.
38073 * sunrpc/svcauth_des.c: Likewise.
38074 * sunrpc/xcrypt.c: Likewise.
38075 * sunrpc/xdr.c: Likewise.
38076 * sunrpc/xdr_array.c: Likewise.
38077 * sunrpc/xdr_float.c: Likewise.
38078 * sunrpc/xdr_mem.c: Likewise.
38079 * sunrpc/xdr_rec.c: Likewise.
38080 * sunrpc/xdr_ref.c: Likewise.
38081 * sunrpc/xdr_sizeof.c: Likewise.
38082 * sunrpc/xdr_stdio.c: Likewise.
38083
9da4bb31
UD
38084 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
38085 handling.
38086
bdaa77bc
AS
380872010-08-19 Andreas Schwab <schwab@redhat.com>
38088
38089 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
38090
fe2f79db
LM
380912010-08-19 Luis Machado <luisgpm@br.ibm.com>
38092
38093 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
38094 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
38095 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
38096 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
38097 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
38098 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
38099 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
38100 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
38101 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
38102 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
38103 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
38104 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
38105 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
38106 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
38107
b9b42ee0
AB
381082010-07-26 Anton Blanchard <anton@samba.org>
38109
38110 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
38111 * malloc/arena.c (heap_trim): Likewise.
38112
1c06ba31
UD
381132010-08-16 Ulrich Drepper <drepper@redhat.com>
38114
38115 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
38116 here. Not...
38117 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
38118 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
38119
f8392f40
L
381202010-08-12 H.J. Lu <hongjiu.lu@intel.com>
38121
38122 * sysdeps/i386/elf/Makefile: New file.
38123
3162f12e
AS
381242010-08-14 Andreas Schwab <schwab@linux-m68k.org>
38125
38126 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
38127 from fanotify_init.
38128 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
38129 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
38130
28c90b2c
UD
381312010-08-15 Ulrich Drepper <drepper@redhat.com>
38132
38133 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
38134 of strncasecmp_l.
1feccb6c 38135 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 38136
ca6bb004
UD
381372010-08-14 Ulrich Drepper <drepper@redhat.com>
38138
e9f82e0d
UD
38139 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
38140 strncase_l-nonascii.
38141 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
38142 Add strncase_l-ssse3.
38143 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
38144 * sysdeps/x86_64/strcmp.S: Likewise.
38145 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
38146 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
38147 * sysdeps/x86_64/strncase.S: New file.
38148 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
38149 * sysdeps/x86_64/strncase_l.S: New file.
38150 * string/Makefile (strop-tests): Add strncasecmp.
38151 * string/test-strncasecmp.c: New file.
38152
38153 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
38154 warning.
38155
ca6bb004
UD
38156 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
38157 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
38158
052fa7b3
AS
381592010-08-14 Andreas Schwab <schwab@linux-m68k.org>
38160
38161 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
38162
962dba78
UD
381632010-08-12 Ulrich Drepper <drepper@redhat.com>
38164
38165 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
38166 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
38167 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
38168
bebff237
AM
381692010-05-01 Alan Modra <amodra@gmail.com>
38170
38171 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
38172 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
38173 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
38174 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
38175 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
38176 tidying. Don't tail-call __sigjmp_save for static lib.
38177 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
38178 save location.
38179 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
38180 (CALL_MCOUNT): Add eh info, and nop after bl.
38181 (TAIL_CALL_SYSCALL_ERROR): New macro.
38182 (PSEUDO_RET): Use it.
38183 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
38184 Correct save location of integer regs and cr.
38185 (_dl_profile_resolve): Correct cr save location. Delete nops
38186 after bl when SHARED. Reduce cfi size a little by better
38187 placement of cfi directives.
38188 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
38189 make a stack frame. Instead use parm save area as a temp.
38190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
38191 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
38192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
38193 Don't make a stack frame for parent, use parm save area.
38194 Increase child stack frame to 112 bytes. Don't save unused reg,
38195 and adjust reg usage. Set up cfi on error recovery and
38196 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
38197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
38198 (__makecontext): Add dummy nop after jump to exit.
38199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
38200 Use correct parm save area and cr save, reduce stack frame.
38201 Correct cfi for possible PSEUDO_RET frame setup.
38202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
38203 Branch to local label emitted by PSEUDO_RET rather than
38204 __syscall_error.
38205
02637374
AS
382062010-08-12 Andreas Schwab <schwab@redhat.com>
38207
38208 [BZ #11904]
38209 * locale/programs/locale.c (print_assignment): New function.
38210 (show_locale_vars): Use it.
38211
c3e2f19b
UD
382122010-08-11 Ulrich Drepper <drepper@redhat.com>
38213
3cdaa6ad
UD
38214 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
38215 field.
38216 (struct statfs64): Likewise.
38217 (_STATFS_F_FLAGS): Define.
38218 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
38219 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38220 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
38221 (ST_VALID): Define locally.
38222 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
38223 __statvfs_getflags, use the provided value.
38224 * sysdeps/unix/sysv/linux/kernel-features.h: Define
38225 __ASSUME_STATFS_F_FLAGS.
38226
754f7da3
UD
38227 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
38228
10b3bedc
UD
38229 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
38230 Add sys/fanotify.h.
38231 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
38232 fanotify_mask for GLIBC_2.13.
38233 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
38234 fanotify_init and fanotify_mark.
38235 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
38236 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
38237
c08fb0d7
UD
38238 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
38239 Add prlimit.
38240 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
38241 prlimit64 for GLIBC_2.13.
38242 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
38243 prlimit64.
38244 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
38245 syscall.
38246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
38247 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
38248 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
38249 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
38250 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
38251 add prlimit alias.
38252 * sysdeps/unix/sysv/linux/prlimit.c: New file.
38253
15bac72b
UD
38254 [BZ #11903]
38255 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
38256 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
38257
c3e2f19b
UD
38258 * nss/Makefile: Add rules to build and run tst-nss-test1.
38259 * shlib-versions: Add entry for libnss_test1.
38260 * nss/nss_test1.c: New file.
38261 * nss/tst-nss-test1.c: New file.
38262
38263 * nss/nsswitch.c (__nss_database_custom): Define new variable.
38264 (__nss_configure_lookup): Set appropriate entry in
38265 __nss_configure_lookup to true.
38266 * nss/nsswitch.h: Define enum with indeces of databases in
38267 databases and __nss_database_custom arrays. Declare
38268 __nss_database_custom.
38269 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
38270 to avoid using nscd when custom rules are installed.
38271 * nss/getXXbyYY_r.c: Likewise.
38272 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
38273
38274 * nss/nss_files/files-parse.c: Whitespace fixes.
38275
f15ce4d8
UD
382762010-08-09 Ulrich Drepper <drepper@redhat.com>
38277
38278 [BZ #11883]
38279 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
38280 * posix/fnmatch_loop.c: Likewise.
38281
d22e4cc9
AK
382822010-07-17 Andi Kleen <ak@linux.intel.com>
38283
38284 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
38285 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
38286 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
38287 * Versions.def [GLIBC_2.13]: Add.
38288
805bc17d
UD
382892010-08-06 Ulrich Drepper <drepper@redhat.com>
38290
38291 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
38292 Also fail if tpwd after pwuid call is NULL.
38293
5a42321d
ST
382942010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
38295
38296 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
38297 when converting to ms.
38298
fd3ebeda
ST
382992010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
38300
38301 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
38302 EOPNOTSUPP errors with ENOTTY.
38303 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
38304 EOPNOTSUPP errors with ENOTTY.
38305
73507d3a
UD
383062010-07-31 Ulrich Drepper <drepper@redhat.com>
38307
38308 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
38309 Add strcasecmp_l-ssse3.
38310 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
38311 strcasecmp.
38312 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
38313 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
38314 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
38315
fe36dd02
UD
383162010-07-30 Ulrich Drepper <drepper@redhat.com>
38317
66f6765a
UD
38318 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
38319
42e08a54
UD
38320 * string/Makefile (strop-tests): Add strcasecmp.
38321 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
38322 strcasecmp_l-nonascii.
38323 (gen-as-const-headers): Add locale-defines.sym.
38324 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
38325 * sysdeps/x86_64/strcasecmp.S: New file.
38326 * sysdeps/x86_64/strcasecmp_l.S: New file.
38327 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
38328 * sysdeps/x86_64/locale-defines.sym: New file.
38329 * string/test-strcasecmp.c: New file.
38330
fe36dd02
UD
38331 * string/test-strcasestr.c: Test both ends of the range of characters.
38332 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
38333
48cbc0d6
RM
383342010-07-29 Roland McGrath <roland@redhat.com>
38335
76e6d6bc 38336 [BZ #11856]
48cbc0d6
RM
38337 * manual/locale.texi (Yes-or-No Questions): Fix example code.
38338
880113d9
UD
383392010-07-27 Ulrich Drepper <drepper@redhat.com>
38340
38341 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
38342 for ld.so.
38343
deb9cabb
AS
383442010-07-27 Andreas Schwab <schwab@redhat.com>
38345
38346 * manual/memory.texi (Malloc Tunable Parameters): Document
38347 M_PERTURB.
38348
1c7570ff
RM
383492010-07-26 Roland McGrath <roland@redhat.com>
38350
38351 [BZ #11840]
38352 * configure.in (-fgnu89-inline check): Set and substitute
38353 gnu89_inline, not libc_cv_gnu89_inline.
38354 * configure: Regenerated.
38355 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
38356
24fb0f88
UD
383572010-07-26 Ulrich Drepper <drepper@redhat.com>
38358
38359 * string/test-strnlen.c: New file.
38360 * string/Makefile (strop-tests): Add strnlen.
38361 * string/tester.c (test_strnlen): Add a few more test cases.
38362 * string/tst-strlen.c: Better error reporting.
38363
38364 * sysdeps/x86_64/strnlen.S: New file.
38365
8e96b93a
UD
383662010-07-24 Ulrich Drepper <drepper@redhat.com>
38367
38368 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
38369 lower-latency instructions.
38370
dbc676d4
UD
383712010-07-23 Ulrich Drepper <drepper@redhat.com>
38372
38373 * string/test-strcasestr.c: New file.
38374 * string/test-strstr.c: New file.
38375 * string/Makefile (strop-tests): Add strstr and strcasestr.
38376 * string/str-two-way.h: Don't undefine MAX.
38377 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
38378
f6a31e0e
AS
383792010-07-21 Andreas Schwab <schwab@redhat.com>
38380
38381 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38382 strcasestr-nonascii.
38383 (CFLAGS-strcasestr-nonascii.c): Define.
38384 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
38385 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
38386 Remove unused attribute.
38387
5dbc3b6c
RM
383882010-07-20 Roland McGrath <roland@redhat.com>
38389
38390 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
38391 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
38392 ld.so.cache was broken. With it, there is no way to disable dsocaps
38393 like LD_HWCAP_MASK can disable hwcaps.
38394
23d101d8
EPM
383952010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
38396
38397 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
38398
cc9f2e47
UD
383992010-07-16 Ulrich Drepper <drepper@redhat.com>
38400
38401 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
38402 call in strcasestr.
38403 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
38404 __strcasestr_sse42_nonascii.
38405 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
38406 strcasestr-nonascii.c.
38407 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
38408
77c1b069
LM
384092010-06-15 Luis Machado <luisgpm@br.ibm.com>
38410
38411 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
38412 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
38413 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
38414 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
38415
440566c3
UD
384162010-07-09 Ulrich Drepper <drepper@redhat.com>
38417
38418 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
38419 fcntl.
38420
5be9d05d
AS
384212010-07-06 Andreas Schwab <schwab@redhat.com>
38422
c30b7ee2 38423 [BZ #11577]
5be9d05d
AS
38424 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
38425 dl_signal_cerror.
38426
8a492a67
UD
384272010-07-06 Ulrich Drepper <drepper@redhat.com>
38428
38429 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
38430 _PC_PIPE_BUF using F_GETPIPE_SZ.
38431
713df3d5
RM
384322010-07-05 Roland McGrath <roland@redhat.com>
38433
38434 * manual/arith.texi (Rounding Functions): Fix rint description
38435 implicit in round description.
38436
702e8f14
UD
384372010-07-02 Ulrich Drepper <drepper@redhat.com>
38438
38439 * elf/Makefile: Fix linking for a few tests to make recent linker
38440 happy.
38441
52ed8be9
AS
384422010-06-30 Andreas Schwab <schwab@redhat.com>
38443
38444 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
38445 $(common-objpfx)libc_nonshared.a.
38446
f47c9a11
LM
384472010-06-21 Luis Machado <luisgpm@br.ibm.com>
38448
38449 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
38450 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
38451 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38452 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38453 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
38454 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
38455 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38456 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
38458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
38459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
38460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
38462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
38464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
38465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
38466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
38467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
38469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
38471 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
38472 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
38473 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
38474 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
38475 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
38476 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
38477 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
38478 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
38479 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
38480 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
38481 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
38482 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
38483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
38484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
38485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
38486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
38487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
38488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
38489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
38490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
38491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
38492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
38493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
38494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
38495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
38496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
38497
6fb8cbcb
L
384982010-06-25 H.J. Lu <hongjiu.lu@intel.com>
38499
38500 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
38501 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
38502 * string/memmove.c (memmove): Renamed to ...
38503 (MEMMOVE): ...this. Default to memmove.
38504 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
38505 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
38506 (END_CHK): Define.
38507 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38508 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
38509 mempcpy-ssse3-back memmove-ssse3-back.
38510 * sysdeps/x86_64/multiarch/bcopy.S: New file .
38511 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
38512 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
38513 * sysdeps/x86_64/multiarch/memcpy.S: New file.
38514 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
38515 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
38516 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
38517 * sysdeps/x86_64/multiarch/memmove.c: New file.
38518 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
38519 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
38520 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
38521 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
38522 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
38523 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
38524 Define.
38525 (index_Fast_Copy_Backward): Define.
38526 (HAS_ARCH_FEATURE): Define.
38527 (HAS_FAST_REP_STRING): Define.
38528 (HAS_FAST_COPY_BACKWARD): Define.
38529
4e733bac 385302010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
38531
38532 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
38533 Restore proper fallback handling.
38534
63c4ed22
UD
385352010-06-19 Ulrich Drepper <drepper@redhat.com>
38536
ac2b484c
UD
38537 [BZ #11701]
38538 * posix/group_member.c (__group_member): Correct checking loop.
38539
63c4ed22
UD
38540 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
38541 OOM in getpwuid_r correctly. Return error number when the caller
38542 should return, otherwise -1.
38543 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
38544 call returning > 0 value.
38545 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
38546
765ade4b
AS
385472010-06-07 Andreas Schwab <schwab@redhat.com>
38548
38549 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
38550 libc_nonshared.a from targets in modules-names.
38551
80da2e09
KS
385522010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
38553
38554 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
38555 requires it.
38556
158db122
LM
385572010-06-10 Luis Machado <luisgpm@br.ibm.com>
38558
38559 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
38560 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
38561 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
38562 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
38563
caa78cf8
AS
385642010-06-02 Andreas Schwab <schwab@redhat.com>
38565
38566 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
38567
b2ef2c01
UD
385682010-06-14 Ulrich Drepper <drepper@redhat.com>
38569
38570 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
38571 and F_GETPIPE_SZ.
38572 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
38573 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38574 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38575 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38576 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38577 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
38578
fbd643b6
RM
385792010-06-14 Roland McGrath <roland@redhat.com>
38580
38581 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
38582
f32f2869
JJ
385832010-06-07 Jakub Jelinek <jakub@redhat.com>
38584
38585 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
38586 __REDIRECT followed by __THROW.
38587 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
38588 * posix/getopt.h (getopt): Likewise.
38589
2a50c078
EPM
385902010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
38591
38592 * hurd/lookup-at.c (__file_name_lookup_at): Accept
38593 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
38594 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
38595 in AT_FLAGS.
38596 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
38597 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
38598
eb5ad2eb
LM
385992010-05-28 Luis Machado <luisgpm@br.ibm.com>
38600
38601 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
38602
3c88fe1e
L
386032010-05-26 H.J. Lu <hongjiu.lu@intel.com>
38604
38605 [BZ #11640]
38606 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38607 Properly check family and model.
38608
d2f73151
TY
386092010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
38610
38611 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
38612
ebd2e13d
LM
386132010-05-24 Luis Machado <luisgpm@br.ibm.com>
38614
38615 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
38616
b32b8b45
UD
386172010-05-21 Ulrich Drepper <drepper@redhat.com>
38618
38619 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
38620 symbol reference.
38621
9acbe24d
AS
386222010-05-19 Andreas Schwab <schwab@redhat.com>
38623
38624 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
38625 symbol reference.
38626
f0ccf6ea
AS
386272010-05-21 Andreas Schwab <schwab@redhat.com>
38628
3d04ff3a
AS
38629 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
38630 and internal_recvmmsg.
38631 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
38632 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
38633 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
38634 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
38635
f0ccf6ea
AS
38636 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
38637 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
38638 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
38639
5b08ac57
AS
386402010-05-20 Andreas Schwab <schwab@redhat.com>
38641
38642 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
38643
4828935d
LM
386442010-05-17 Luis Machado <luisgpm@br.ibm.com>
38645
38646 POWER7 optimizations.
38647 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
38648 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
38649
373d545e
UD
386502010-05-19 Ulrich Drepper <drepper@redhat.com>
38651
38652 * version.h: Update for 2.13 development version.
38653
21a2b1ae
AS
386542010-05-12 Andrew Stubbs <ams@codesourcery.com>
38655
38656 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
38657 exceptions. Return 0.
38658
3f7dcb2b
RM
386592010-05-07 Roland McGrath <roland@redhat.com>
38660
38661 * elf/ldconfig.c (main): Add a const.
38662
5f24d53a 386632010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 38664
a160f8d8
UD
38665 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
38666 (args_options): Add no-idn option.
38667 (ahosts_keys_int): Add idn_flags to ai_flags.
38668 (parse_option): Handle 'i' option to clear idn_flags.
38669
5f24d53a
UD
38670 * malloc/malloc.c (_int_free): Possible race in the most recently
38671 added check. Only act on the data if no current modification
38672 happened.
265bb1ce
UD
38673
38674See ChangeLog.17 for earlier changes.
This page took 5.108919 seconds and 5 git commands to generate.