]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
* manual/resource.texi: Document MTASC-safety properties.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
c8ce789c
AO
12014-01-31 Alexandre Oliva <aoliva@redhat.com>
2
3 * manual/resource.texi: Document MTASC-safety properties.
4
19f5d29c
AO
52014-01-31 Alexandre Oliva <aoliva@redhat.com>
6
7 * manual/process.texi: Document MTASC-safety properties.
8
e2dfb7f4
AO
92014-01-31 Alexandre Oliva <aoliva@redhat.com>
10
11 * manual/platform.texi: Document MTASC-safety properties.
12
8c1413f5
AO
132014-01-31 Alexandre Oliva <aoliva@redhat.com>
14
15 * manual/pipe.texi: Document MTASC-safety properties.
16
03483ada
AO
172014-01-31 Alexandre Oliva <aoliva@redhat.com>
18
19 * manual/pattern.texi: Document MTASC-safety properties.
20
29e7e2df
AO
212014-01-31 Alexandre Oliva <aoliva@redhat.com>
22
23 * manual/message.texi: Document MTASC-safety properties.
24
9f529d7c
AO
252014-01-31 Alexandre Oliva <aoliva@redhat.com>
26
27 [BZ #12751]
28 * manual/memory.texi: Document MTASC-safety properties.
29
27aaa791
AO
302014-01-31 Alexandre Oliva <aoliva@redhat.com>
31
32 * manual/math.texi: Document MTASC-safety properties.
33
f2d58726
AO
342014-01-31 Alexandre Oliva <aoliva@redhat.com>
35
36 * manual/locale.texi: Document MTASC-safety properties.
37
2cc3615c
AO
382014-01-31 Alexandre Oliva <aoliva@redhat.com>
39
40 * manual/llio.texi: Document MTASC-safety properties.
41
d9f0ec97
AO
422014-01-31 Alexandre Oliva <aoliva@redhat.com>
43
44 * manual/libdl.texi: New.
45
e7c4409a
AO
462014-01-31 Alexandre Oliva <aoliva@redhat.com>
47
48 * manual/lang.texi: Document MTASC-safety properties.
49
27bdc63c
AO
502014-01-31 Alexandre Oliva <aoliva@redhat.com>
51
52 * manual/job.texi: Document MTASC-safety properties.
53
a7b90ea9
AO
542014-01-31 Alexandre Oliva <aoliva@redhat.com>
55
56 * manual/getopt.texi: Document MTASC-safety properties.
57
c49130e3
AO
582014-01-31 Alexandre Oliva <aoliva@redhat.com>
59
60 * manual/ctype.texi: Document MTASC-safety properties.
61
0d23a5c1
MR
622014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
63
64 [BZ #16046]
65 * csu/libc-tls.c (static_map): Remove variable.
66 (__libc_setup_tls): Use main executable's link map for TLS data.
67 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
68 casing for LM_ID_BASE and GL(dl_nns).
69 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
70 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
71 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
72 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
73 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
74 member.
75 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
76 l_phnum members.
77
0037bb60
AO
782014-01-30 Alexandre Oliva <aoliva@redhat.com>
79
80 * manual/debug.texi: Document MTASC-safety properties.
81
409e00bd
L
822014-01-29 H.J. Lu <hongjiu.lu@intel.com>
83
84 [BZ #16510]
85 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
86 of __x86_64__ when disabling x87 inline functions.
87
86e60666
AO
882014-01-29 Alexandre Oliva <aoliva@redhat.com>
89
90 * manual/charset.texi: Document MTASC-safety properties.
91
76167637
AO
922014-01-29 Alexandre Oliva <aoliva@redhat.com>
93
94 * manual/crypt.texi: Document MTASC-safety properties.
95
e567f2a0
AO
962014-01-29 Alexandre Oliva <aoliva@redhat.com>
97
98 * manual/conf.texi: Document MTASC-safety properties.
99
b719dafd
AO
1002014-01-29 Alexandre Oliva <aoliva@redhat.com>
101
102 * manual/arith.texi: Document MTASC-safety properties.
103
4a16c662
AO
1042014-01-29 Alexandre Oliva <aoliva@redhat.com>
105
106 * manual/argp.texi: Document MTASC-safety properties.
107
0a57b83e
AO
1082014-01-29 Alexandre Oliva <aoliva@redhat.com>
109
110 * manual/macros.texi: Introduce macros to document multi
111 thread, asynchronous signal and asynchronous cancellation
112 safety properties.
113 * manual/intro.texi: Introduce the properties themselves.
114
feab2397
KK
1152014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
116
117 * sysdeps/sh/sh4/Makefile: New file.
118
1c0d11bc
AS
1192014-01-27 Andreas Schwab <schwab@linux-m68k.org>
120
121 * math/gen-libm-test.pl ($srcdir): New variable.
122 ($auto_input): Use it.
123
af37a8a3
SP
1242014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
125
d7b00f98
SP
126 [BZ #16506]
127 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
128 access beyond array bounds when parsing netgroups file.
129
af37a8a3
SP
130 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
131 the old buffer before realloc.
132
0c00f062
AM
1332014-01-27 Allan McRae <allan@archlinux.org>
134
135 * po/fr.po: Update French translation from translation project.
136
7d69a1b0
KK
1372014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
138
139 * sysdeps/sh/libm-test-ulps: Regenerate.
140
6e697ff7
DM
1412014-01-24 David S. Miller <davem@davemloft.net>
142
143 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
144
9cadb35c
KK
1452014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
146
147 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
148 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
149
5d41dadf
SP
1502013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
151
152 [BZ #16474]
153 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
154 string pointers after reallocation.
155
0bad441c
KK
1562014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
157
158 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
159 __SH4A__ instead of __SH_FPU_ANY__.
160
7007c661
KK
1612014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
162
163 * sysdeps/sh/fpu_control.h: New file.
164 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
165 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
166 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
167 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
168 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
169 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
170 * sysdeps/sh/sys/ucontext.h: Remove.
171 * sysdeps/sh/sys: Remove directory.
172
0f0c35e4
AK
1732014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
174
175 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
176 s390/sys/ucontext.h.
177 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
178 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
179
4959e284
L
1802014-01-20 H.J. Lu <hongjiu.lu@intel.com>
181
182 [BZ #15605]
183 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
184
d98720e0
AZ
1852014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
186
187 [BZ#16431]
188 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
189 Adjust the vDSO correctly for internal calls.
190 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
191
91cbd0bc
AM
1922014-01-20 Allan McRae <allan@archlinux.org>
193
194 * po/ca.po: Update Catalan translation from translation project.
195
7a02cfad
MF
1962014-01-16 Mike Frysinger <vapier@gentoo.org>
197
198 * sysdeps/s390/sotruss-lib.c: New file.
199
736c304a
AZ
2002014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
201
202 [BZ#16430]
6e077ee5 203 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
204 (__GI___gettimeofday): Alias for a different internal symbol to avoid
205 local calls issues by not having a PLT stub required for IFUNC calls.
206 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
207
94d0cea0
JM
2082014-01-16 Joseph Myers <joseph@codesourcery.com>
209
210 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
211 * math/test-fpucw-static.c: Likewise.
212
980cb518
SP
2132013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
214
215 [BZ #16453]
216 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
217
2393fc01
AZ
2182014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
219
220 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
221 implementation for powerpc.
222
d359bcc2
OB
2232014-01-15 Ondřej Bílka <neleai@seznam.cz>
224
225 [BZ #14782]
226 * sysdeps/posix/system.c (__libc_system): Do not enable
227 asynchronous cancellation.
228
7beb48cb
AK
2292014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
230
231 [BZ #16427]
232 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
233 handling only for numbers special also in the IEEE case.
234
c20d5bf5
AK
2352014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
236
237 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
238
e83bd4ee
AM
2392014-01-11 Allan McRae <allan@archlinux.org>
240
76d0ea69
AM
241 * po/bg.po: Update Bulgarian translation from translation project.
242
e83bd4ee
AM
243 * po/de.po: Update German translation from translation project.
244
bc2ba20a
RM
2452014-01-10 Roland McGrath <roland@hack.frob.com>
246
247 * sysdeps/generic/gcc-compat.h: New file.
248
649ecea2
SP
2492014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
250
251 * benchtests/asin-inputs: Correct slow inputs.
252 * benchtests/acos-inputs: Likewise.
253
1b19c006
AM
2542014-01-10 Allan McRae <allan@archlinux.org>
255
a46dab08
AM
256 * po:sv.po: Update Swedish translation from translation project.
257
421df74a
AM
258 * po/vi.po: Update Vietnamese translation from translation project.
259
d61c51a7
AM
260 * po/eo.po: Update Esperanto translation from translation project.
261
0339a319
AM
262 * po/cs.po: Update Czech translation from translation project.
263
94ad3e99
AM
264 * po/nl.po: Update Dutch translation from translation project.
265
e349ca71
AM
266 * po/pl.po: Update Polish translation from translation project.
267
ddf930c1
AM
268 * po/ru.po: Update Russian translation from translation project.
269
1b19c006
AM
270 * po/uk.po: Update Ukrainian translation from translation project.
271
9f236c49
BM
2722014-01-08 Brooks Moses <bmoses@google.com>
273
274 * elf/dl-load.c: Fix comment typo.
275
cd6701cf
CD
2762014-01-08 Carlos O'Donell <carlos@redhat.com>
277
278 * po/header.pot: Rename to...
279 * po/pot.header: ... this.
280 * po/Makefile: Use pot.header.
281
66671c84
YK
2822014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
283 Maxim Kuvyrkov <maxim@kugelworks.com>
284
285 [BZ #16394]
cd6701cf
CD
286 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
287 SRC and DEST against LEN.
66671c84 288
38f34581
AZ
2892014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
290
291 [BZ #16414]
292 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
293 implementation.
294 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
295
2962014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
297
298 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
299
4c327f2a
JM
3002014-01-08 Joseph Myers <joseph@codesourcery.com>
301
302 [BZ #16408]
303 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
304 for large positive arguments.
305
b821f414
JM
3062014-01-07 Joseph Myers <joseph@codesourcery.com>
307
1f0f2067
JM
308 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
309
a5a326f6
JM
310 * math/auto-libm-test-in: Mark various tests with
311 xfail-rounding:ldbl-128ibm.
312 * math/auto-libm-test-out: Regenerated.
313
b821f414
JM
314 [BZ #16407]
315 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
316 Increase overflow threshold.
317
94c8a4bc
OB
3182014-01-07 Ondřej Bílka <neleai@seznam.cz>
319
320 [BZ #14286]
321 * stdio-common/vfprintf.c: Check for integer overflow.
322
87ded0c3
AK
3232014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
324
325 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
326 the first argument and return value of __tls_get_addr_internal.
327
c5eebdd0
AK
3282014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
329
330 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
331 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
332
05d138ef
AK
3332014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
334
335 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
336 * sysdeps/s390/rtld-global-offsets.sym: New file.
337 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
338 GLIBC_2.19 symbol.
339 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
340 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
341 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
342 ... this.
343 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
344 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
345 ... this.
346 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
347 Regenerate.
348 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
349 Regenerate.
350 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
351 halfs of GPRs for high_gprs contexts.
352 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
353 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
354 field.
355 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
356 uc_flags field.
357 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
358 64 bit versions:
359 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
360 for high GPRs (uc_high_gprs) and for future extensions
361 (__reserved).
362 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
363 for future extensions (__reserved).
364 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
365 64 bit versions:
366 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
367 SC_HIGHGPRS offset definition.
368 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
369 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
370
93a45ff1
AK
3712014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
372
373 * Versions.def: Add GLIBC_2.19 for libpthread.
374 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
375 siglongjmp for libpthread with GLIBC_2.19 symver.
376 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
377 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
378 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
379 * sysdeps/s390/__longjmp.c: New file.
380 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
381 * sysdeps/s390/longjmp.c: New file.
382 * sysdeps/s390/setjmp.S: New file.
383 * sysdeps/s390/sigjmp.S: New file.
384 * sysdeps/s390/v1-longjmp.c: New file.
385 * sysdeps/s390/v1-setjmp.h: New file.
386 * sysdeps/s390/v1-sigjmp.c: New file.
387 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
388 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
389 GLIBC_2.19 version.
390 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
391 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
392 versioned symbols for ____longjmp_chk.
393 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
394 Likewise.
395 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
396 Regenerate.
397 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
398 Regenerate.
399 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
400 Regenerate.
401 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
402 Regenerate.
403 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
404 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
405 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
406 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
407 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
408 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
409 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
410 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
411 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
412 * sysdeps/s390/rtld-__longjmp.c: New file.
413 * sysdeps/s390/rtld-setjmp.S: New file.
414
eb3fc44b
JM
4152014-01-06 Joseph Myers <joseph@codesourcery.com>
416
417 [BZ #16400]
418 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
419 Return -__logl (x) for small positive arguments without evaluating
420 a polynomial.
421
9341dde4
MF
4222014-01-06 Mike Frysinger <vapier@gentoo.org>
423
424 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
425 Rename to ...
426 (__ptrace_peeksiginfo_args): ... this.
427 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
428 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
429 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
430
4cff0293
AM
4312014-01-06 Allan McRae <allan@archlinux.org>
432
433 * inet/netinet/in.h: Fix typo in comment.
434
75595dcf
AJ
4352014-01-05 Andreas Jaeger <aj@suse.de>
436
437 * sysdeps/i386/fpu/libm-test-ulps: Update.
438
79c1e109
AM
4392014-01-05 Allan McRae <allan@archlinux.org>
440
dd804818
AM
441 * po/libc.pot: Regenerated.
442
79c1e109
AM
443 * malloc/memusagestat.c: Fix gettext call formatting.
444
0c813d1f
SK
4452014-01-04 Sami Kerola <kerolasa@iki.fi>
446
447 * nscd/nscd.c: Improve usage() output.
448
20f4a8d9
MF
4492014-01-04 Mike Frysinger <vapier@gentoo.org>
450
451 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
452 * sysdeps/unix/sysv/linux/configure: Regenerated.
453 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
454 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
455
22562bb2
JM
4562014-01-03 Joseph Myers <joseph@codesourcery.com>
457
458 [BZ #16390]
459 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
460 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
461
d7ad2d9b
AZ
4622014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
463
464 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
465 extra tokens at end of #undef directive.
466 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
467 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
468 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
469
7f507ee1
AH
4702014-01-03 Andrew Hunter <ahh@google.com>
471
0da43124 472 * elf/dl-open.c (dl_open_worker): New comment.
7f507ee1
AH
473 * elf/dl-reloc.c (_dl_try_allocate_static_tls): Use
474 atomic_compare_and_exchange_bool_acq
475 (_dl_allocate_static_tls): Block signals.
476 * elf/dl-tls.c (allocate_and_init): Return void.
477 (_dl_update_slotinfo): Block signals, use atomic update.
478
7dd009d8
JM
4792014-01-03 Joseph Myers <joseph@codesourcery.com>
480
24db925a
JM
481 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
482
7dd009d8
JM
483 * math/auto-libm-test-in: Mark various tests with
484 xfail-rounding:ldbl-128ibm.
485 * math/auto-libm-test-out: Regenerated.
486
396e3ecf
JM
4872014-01-02 Joseph Myers <joseph@codesourcery.com>
488
819e5d50
JM
489 [BZ #16386]
490 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
491 numbers with subnormal high part when calculating exponent.
492
90b6a1e5
JM
493 [BZ #16385]
494 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
495 fabs.
496
396e3ecf
JM
497 [BZ #16384]
498 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
499 M_LN2l.
500 (__ieee754_acoshl): Use __log1pl not __log1p.
501
6c8dbf00
OB
5022013-01-02 Ondřej Bílka <neleai@seznam.cz>
503
504 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
505 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
506 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
507 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
508 Convert to GNU style.
509 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
510 mem2mem_check, mem2chunk_check, top_check, realloc_check,
511 memalign_check, __malloc_set_state): Likewise.
512 * malloc/mallocbug.c (main): Likewise.
513 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
514 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
515 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
516 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
517 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
518 * malloc/malloc.h: Likewise.
519 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
520 memalignhook, reallochook, mabort): Likewise.
521 * malloc/mcheck.h: Likewise.
522 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
523 mmap64, mremap, munmap, dest): Likewise.
524 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
525 * malloc/morecore.c (__default_morecore): Likewise.
526 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
527 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
528 _obstack_allocated_p, obstack_free, _obstack_memory_used,
529 print_and_abort): Likewise.
530 * malloc/obstack.h: Likewise.
531 * malloc/set-freeres.c (__libc_freeres): Likewise.
532 * malloc/tst-mallocstate.c (main): Likewise.
533 * malloc/tst-mtrace.c (main): Likewise.
534 * malloc/tst-realloc.c (do_test): Likewise.
535
d4124212
SP
5362013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
537
9a3c6a6f
SP
538 [BZ #16366]
539 * nscd/netgroupcache.c (do_notfound): New function.
540 (addgetnetgrentX): Use it.
541
d4124212
SP
542 [BZ # 16365]
543 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
544 NSS_STATUS_NOTFOUND.
545
97b9a009
JM
5462014-01-01 Joseph Myers <joseph@codesourcery.com>
547
548 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
549 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
550
d4697bc9
AM
5512014-01-01 Allan McRae <allan@archlinux.org>
552
ddb3687f
AM
553 * scripts/update-copyrights: Update configure input file suffix.
554
88726d48
AM
555 * NEWS: Update copyright year.
556 * catgets/gencat.c: Likewise.
557 * csu/version.c: Likewise.
558 * debug/catchsegv.sh: Likewise.
559 * debug/pcprofiledump.c: Likewise.
560 * debug/xtrace.sh: Likewise.
561 * elf/ldconfig.c: Likewise.
562 * elf/ldd.bash.in: Likewise.
563 * elf/pldd.c: Likewise.
564 * elf/sotruss.ksh: Likewise.
565 * elf/sprof.c: Likewise.
566 * iconv/iconv_prog.c: Likewise.
567 * iconv/iconvconfig.c: Likewise.
568 * locale/programs/locale.c: Likewise.
569 * locale/programs/localedef.c: Likewise.
570 * login/programs/pt_chown.c: Likewise.
571 * malloc/memusage.sh: Likewise.
572 * malloc/memusagestat.c: Likewise.
573 * malloc/mtrace.pl: Likewise.
574 * manual/libc.texinfo: Likewise.
575 * nscd/nscd.c: Likewise.
576 * nss/getent.c: Likewise.
577 * nss/makedb.c: Likewise.
578 * posix/getconf.c: Likewise.
579 * scripts/test-installation.pl: Likewise.
580
d4697bc9
AM
581 * All files with FSF copyright notices: Update copyright dates
582 using scripts/update-copyrights.
583 * intl/plural.c: Regenerated.
584 * locale/programs/charmap-kw.h: Likewise.
585 * locale/programs/locfile-kw.h: Likewise.
586
c8590f9d
MF
5872013-12-31 Mike Frysinger <vapier@gentoo.org>
588
589 * sysdeps/unix/sysv/linux/configure: Regenerated.
590 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
591 the linux/fanotify.h header.
592 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
593 HAVE_LINUX_FANOTIFY_H is defined.
594
b19221b9
SP
5952013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
596
dd1d85e5
SP
597 * benchtests/cos-inputs: New inputs.
598 * benchtests/sin-inputs: Likewise.
599
1acbb90f
SP
600 * benchtests/atan-inputs: New inputs. Fix name of multiple
601 precision fallback inputs.
602
4c012ed3
SP
603 * benchtests/atanh-inputs: New inputs.
604 * benchtests/tanh-inputs: Likewise.
605
eff98324
SP
606 * benchtests/acosh-inputs: New inputs.
607 * benchtests/asinh-inputs: Likewise.
608
ce641152
SP
609 * benchtests/cosh-inputs: New inputs.
610 * benchtests/sinh-inputs: Likewise.
611
b19221b9
SP
612 * benchtests/acos-inputs: Add more inputs.
613 * benchtests/asin-inputs: Likewise.
614
030a4976 6152013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 616
030a4976 617 [BZ #16375]
9dcc8f11
VS
618 * manual/arith.texi: Fix spelling.
619 * manual/charset.texi: Likewise.
620 * manual/errno.texi: Likewise.
621 * manual/filesys.texi: Likewise.
622 * manual/lang.texi: Likewise.
623 * manual/llio.texi: Likewise.
624 * manual/locale.texi: Likewise.
625 * manual/message.texi: Likewise.
626 * manual/resource.texi: Likewise.
627 * manual/search.texi: Likewise.
628 * manual/setjmp.texi: Likewise.
629 * manual/stdio.texi: Likewise.
630 * manual/string.texi: Likewise.
631 * manual/sysinfo.texi: Likewise.
632 * manual/time.texi: Likewise.
633
11520a57
CD
6342013-12-27 Carlos O'Donell <carlos@redhat.com>
635
636 * po/sl.po: New file.
637
471103ae
MF
6382013-12-27 Mike Frysinger <vapier@gentoo.org>
639
640 * .gitignore: Add core/.gdbinit/.gdb_history.
641
6c9642ed
AM
6422013-12-27 Allan McRae <allan@archlinux.org>
643
644 [BZ #16369]
645 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
646 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
647
3f637079
BM
6482013-12-24 Brooks Moses <bmoses@google.com>
649
650 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
651 all compilers that claim C++98 compliance, not just GCC.
652 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
653 Likewise.
654
abc26e99
MK
6552013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
656
657 * NEWS: Restore accidentally deleted bug-fix entries.
658
362b47fe
MK
6592013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
660 Ondřej Bílka <neleai@seznam.cz>
661
662 [BZ #15073]
663 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 664 have_lock.
362b47fe 665
b9bcbbcb
OB
6662013-12-23 Ondřej Bílka <neleai@seznam.cz>
667
668 [BZ #12986]
669 * manual/stdio.texi (String Input Conversions): Clarify that character
670 classes are not supported.
671
fb55fcd2
AZ
6722013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
673
674 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
675
ef7344f0
JM
6762013-12-22 Joseph Myers <joseph@codesourcery.com>
677
4f40e4b3
JM
678 [BZ #16337]
679 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
680 Calculate results for small negative arguments directly rather
681 than using reflection formula with special underflow handling.
682
ef7344f0
JM
683 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
684 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
685 sysdeps/unix/bsd/bsd4.4/syscalls.list.
686 (fchflags): Likewise.
687 (revoke): Likewise.
688 (setlogin): Likewise.
689 (sigaltstack): Likewise.
690 (wait4): Likewise.
691 (sigblock): Remove.
692 (sigsetmask): Likewise.
693 (wait3): Likewise.
694 (waitpid): Likewise.
695 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
696 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
697 file.
698 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
699 * sysdeps/unix/bsd/Makefile: ... here.
700 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
701 * sysdeps/unix/bsd/Versions: ... here.
702 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
703 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
704 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
705 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
706 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
707 * sysdeps/unix/bsd/sigblock.c: ... here.
708 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
709 * sysdeps/unix/bsd/sigsetmask.c: ... here.
710 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
711 * sysdeps/unix/bsd/sigvec.c: ... here.
712 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
713 * sysdeps/unix/bsd/tcdrain.c: ... here.
714 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
715 * sysdeps/unix/bsd/tcgetattr.c: ... here.
716 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
717 * sysdeps/unix/bsd/tcsetattr.c: ... here.
718 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
719 * sysdeps/unix/bsd/wait.c: ... here.
720 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
721 * sysdeps/unix/bsd/wait3.c: ... here.
722 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
723 * sysdeps/unix/bsd/waitpid.c: ... here.
724
5b0626b9
JM
7252013-12-21 Joseph Myers <joseph@codesourcery.com>
726
727 [BZ #16356]
728 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
729 round-to-nearest for [!USE_AS_EXPM1L].
730 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
731 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
732 more tests of exp and exp10. Expect some exp10 tests to miss
733 exceptions or fail in directed rounding modes.
734 * math/auto-libm-test-out: Regenerated.
735 * math/libm-test.inc (exp10_tonearest_test_data): New array.
736 (exp10_test_tonearest): New function.
737 (exp10_towardzero_test_data): New array.
738 (exp10_test_towardzero): New function.
739 (exp10_downward_test_data): New array.
740 (exp10_test_downward): New function.
741 (exp10_upward_test_data): New array.
742 (exp10_test_upward): New function.
743 (main): Call the new functions.
744 * sysdeps/i386/fpu/libm-test-ulps: Update.
745 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
746
7fda5682
JM
7472013-12-20 Joseph Myers <joseph@codesourcery.com>
748
31e3a405
JM
749 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
750 asinh, atan, atan2, atanh, cbrt, cos and cosh.
751 * math/auto-libm-test-out: Regenerated.
752 * math/libm-test.inc (acosh_test_data): Add more tests.
753 (atanh_test_data): Likewise.
754 (ceil_test_data): Likewise.
755 (copysign_test_data): Likewise.
756 * sysdeps/i386/fpu/libm-test-ulps: Update.
757 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
758
85bff96a
JM
759 * timezone/checktab.awk: Update from tzcode 2013i.
760 * timezone/private.h: Likewise.
761 * timezone/scheck.c: Likewise.
762 * timezone/tzfile.h: Likewise.
763 * timezone/tzselect.ksh: Likewise.
764 * timezone/zdump.c: Likewise.
765 * timezone/zic.c: Likewise.
766
b7867a3b
JM
767 * math/auto-libm-test-in: Add tests of cpow.
768 * math/auto-libm-test-out: Regenerated.
769 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
770 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
771 mpc_cc_c.
772 (func_calc_desc): Add mpc_cc_c union field.
773 (test_functions): Add cpow.
774 (special_fill_2pi): New function.
775 (special_real_inputs): Add 2pi.
776 (calc_generic_results): Handle mpc_cc_c.
777 * sysdeps/i386/fpu/libm-test-ulps: Update.
778 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
779
7fda5682
JM
780 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
781 csqrt, ctan and ctanh.
782 * math/auto-libm-test-out: Regenerated.
783 * math/libm-test.inc (TEST_COND_x86_64): New macro.
784 (TEST_COND_x86): Likewise.
785 (ccos_test_data): Use AUTO_TESTS_c_c.
786 (ccosh_test_data): Likewise.
787 (cexp_test_data): Likewise.
788 (clog_test_data): Likewise.
789 (csqrt_test_data): Likewise.
790 (ctan_test_data): Likewise.
791 (ctan_tonearest_test_data): Likewise.
792 (ctan_towardzero_test_data): Likewise.
793 (ctan_downward_test_data): Likewise.
794 (ctan_upward_test_data): Likewise.
795 (ctanh_test_data): Likewise.
796 (ctanh_tonearest_test_data): Likewise.
797 (ctanh_towardzero_test_data): Likewise.
798 (ctanh_downward_test_data): Likewise.
799 (ctanh_upward_test_data): Likewise.
800 * math/gen-auto-libm-tests.c (func_calc_method): Add value
801 mpc_c_c.
802 (func_calc_desc): Add mpc_c_c union field.
803 (FUNC_mpc_c_c): New macro.
804 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
805 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
806 ctanh.
807 (special_fill_min_subnorm_p120): New function.
808 (special_real_inputs): Add min_subnorm_p120.
809 (calc_generic_results): Handle mpc_c_c.
810 * sysdeps/i386/fpu/libm-test-ulps: Update.
811 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
812
5ff8d60e
SP
8132013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
814
392dd2de
SP
815 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
816 do_sin_slow): New functions.
817 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
818 cslow2, csloww1, csloww2): Use the new functions.
819
84ba214c
SP
820 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
821 Use M to change sign of result instead of X. Assume X is
822 positive.
823 (csloww1): Likewise.
824 (__sin): Adjust.
825 (__cos): Adjust.
826
975195e4
SP
827 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
828 arguments A and DA.
829 (__sin): Adjust.
830 (__cos): Likewise.
831
5ff8d60e
SP
832 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
833 (__cos): Likewise.
834 (sloww1): Don't adjust sign of DX.
835 (csloww1): Likewise.
836 (sloww2): Use X directly and don't adjust sign of DX.
837 (csloww2): Likewise.
838
eb983568
JM
8392013-12-19 Joseph Myers <joseph@codesourcery.com>
840
64a17f1a
JM
841 * math/auto-libm-test-in: Add tests of cabs and carg.
842 * math/auto-libm-test-out: Regenerated.
843 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
844 (carg_test_data): Likewise.
845 * math/gen-auto-libm-tests.c (func_calc_method): Add value
846 mpc_c_f.
847 (func_calc_desc): Add mpc_c_f union field.
848 (test_functions): Add cabs and carg.
849 (calc_generic_results): Handle mpc_c_f.
850
eb983568
JM
851 * sysdeps/powerpc/powerpc32/libgcc-compat.S
852 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
853 as a macro and a compat symbol.
854 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
855 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
856 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
857 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
858 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
859 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
860 not use .hidden.
861 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
862 Likewise.
863 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
864 Likewise.
865 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
866 Likewise.
867 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
868 Likewise.
869 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
870 Likewise.
871 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
872 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
873 from GLIBC_2.3.2.
874
6eeb678a
AZ
8752013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
876
877 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
878
063b2acb
PP
8792013-12-19 Paul Pluzhnikov <ppluzhnikov@google.com>
880
881 * elf/dl-misc.c (ptr_to_signal_safe_allocator_header): New function.
882 (__signal_safe_memalign, __signal_safe_free): Use it.
883 (__signal_safe_realloc): Likewise.
884
6f6fc482
JM
8852013-12-19 Joseph Myers <joseph@codesourcery.com>
886
21fea2e2
JM
887 * manual/texinfo.tex: Update to version 2013-11-26.10 with
888 trailing whitespace removed.
889 * scripts/config.guess: Update to version 2013-11-29.
890 * scripts/config.sub: Update to version 2013-10-01.
891
6f6fc482
JM
892 * math/auto-libm-test-in: Add tests of sincos.
893 * math/auto-libm-test-out: Regenerated.
894 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
895 * math/gen-auto-libm-tests.c (func_calc_method): Add value
896 mpfr_f_11.
897 (func_calc_desc): Add mpfr_f_11 union field.
898 (test_functions): Add sincos.
899 (calc_generic_results): Handle mpfr_f_11.
900 * sysdeps/i386/fpu/libm-test-ulps: Update.
901 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
902
83f5c32d
AS
9032013-12-19 Andreas Schwab <schwab@suse.de>
904
905 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
906 CALL_MCOUNT.
907 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
908 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
909 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
910
c688b419
JM
9112013-12-19 Joseph Myers <joseph@codesourcery.com>
912
335ee092
JM
913 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
914 * sysdeps/i386/fpu/libm-test-ulps: Update.
915 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
916
f88acd39
JM
917 [BZ #16293]
918 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
919 round-to-nearest mode when using frndint.
920 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
921 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
922 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
923 Likewise.
924 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
925 sinh test to fail.
926 * math/auto-libm-test-out: Regenerated.
927 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
928 (TEST_COND_x86): Likewise.
929 (expm1_tonearest_test_data): New array.
930 (expm1_test_tonearest): New function.
931 (expm1_towardzero_test_data): New array.
932 (expm1_test_towardzero): New function.
933 (expm1_downward_test_data): New array.
934 (expm1_test_downward): New function.
935 (expm1_upward_test_data): New array.
936 (expm1_test_upward): New function.
937 (main): Run the new test functions.
938 * sysdeps/i386/fpu/libm-test-ulps: Update.
939 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
940
c688b419
JM
941 * include/features.h: Update comment documenting feature test
942 macros. Mention _DEFAULT_SOURCE in comment.
943 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
944 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
945 _BSD_SOURCE and _SVID_SOURCE.
946 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
947 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
948 !_SVID_SOURCE]: Likewise.
949 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
950 (__USE_POSIX_IMPLICITLY): Define.
951 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
952 (_POSIX_SOURCE): Undefine and redefine.
953 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
954 (_POSIX_C_SOURCE): Likewise.
955 * manual/creature.texi (_DEFAULT_SOURCE): Document.
956 (Feature Test Macros): Update documentation of default features.
957
9f6e964c
RS
9582013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
959
960 * benchtests/Makefile: Add bench-strtok.
961 * benchtests/bench-strtok.c: New file: strtok benchtest.
962
ee0a148a
AM
9632013-12-19 Allan McRae <allan@archlinux.org>
964
965 * manual/install.texi: Suppress menu for plain text output.
966 * INSTALL: Regenerated.
967
1f33d36a
PP
9682013-12-18 Andrew Hunter <ahh@google.com>
969
970 * sysdeps/generic/ldsodefs.h (__signal_safe_memalign): New prototype.
971 (__signal_safe_malloc, __signal_safe_free): Likewise.
972 (__signal_safe_realloc, __signal_safe_calloc): Likewise.
973 * elf/dl-misc.c (__signal_safe_allocator_header): New struct.
974 (__signal_safe_memalign, __signal_safe_malloc): New function.
975 (__signal_safe_free, __signal_safe_realloc): Likewise.
976 (__signal_safe_calloc): Likewise.
977 * elf/dl-tls.c (allocate_dtv, _dl_clear_dtv): Call signal-safe
978 functions.
979 (_dl_deallocate_tls, _dl_update_slotinfo): Likewise.
980
35e8f7ab
PP
9812013-12-18 Andrew Hunter <ahh@google.com>
982
983 * elf/Versions (ld): Add _dl_clear_dtv.
984 * sysdeps/generic/ldsodefs.h (_dl_clear_dtv): New prototype.
985 * elf/dl-tls.c (_dl_clear_dtv): New function.
986 * nptl/allocatestack.c (get_cached_stack): Call _dl_clear_dtv.
987
69a17d9d
PP
9882013-12-18 Andrew Hunter <ahh@google.com>
989
990 * sysdeps/generic/ldsodefs.h (_dl_mask_all_signals): New prototype.
991 (_dl_unmask_signals): Likewise.
992 * sysdeps/mach/hurd/dl-sysdep.h (_dl_mask_all_signals): New stub.
993 (_dl_unmask_all_signals): Likewise.
994 * sysdeps/unix/sysv/linux/dl-sysdep.h (_dl_mask_all_signals): New prototype.
995 (_dl_unmask_all_signals): Likewise.
996 * sysdeps/unix/sysv/linux/dl-sysdep.c (_dl_mask_all_signals): New function.
997 (_dl_unmask_signals): Likewise.
998
b9ab448f
BM
9992013-12-18 Brooks Moses <bmoses@google.com>
1000
1001 [BZ #15846]
1002 * misc/getauxval.c: Include errno.h.
1003 (__getauxval): Set errno to ENOENT if the requested type is not
1004 found.
1005 * misc/sys/auxv.h (getauxval): Document that it may set errno;
1006 don't declare with __attribute_const__.
1007 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
1008 * manual/startup.texi: Document that getauxval sets errno.
1009
23776487
JM
10102013-12-18 Joseph Myers <joseph@codesourcery.com>
1011
f889953b
JM
1012 * math/auto-libm-test-in: Add tests of jn and yn.
1013 * math/auto-libm-test-out: Regenerated.
1014 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
1015 (yn_test_data): Likewise.
1016 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1017 mpfr_if_f.
1018 (func_calc_desc): Add mpfr_if_f union field.
1019 (FUNC_mpfr_if_f): New macro.
1020 (test_functions): Add jn and yn.
1021 (calc_generic_results): Assert type of second input for
1022 mpfr_ff_f. Handle mpfr_if_f.
1023 (output_for_one_input_case): Disable all checking for arguments
1024 fitting floating-point types in case of an integer argument.
1025 * sysdeps/i386/fpu/libm-test-ulps: Update.
1026 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1027
23776487
JM
1028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1029 Don't expect fegetround reference in libm.so.
1030
cb756c6d
MS
10312013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1032
1033 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
1034 $(config-cflags-nofma).
1035
2dec468f
JM
10362013-12-18 Joseph Myers <joseph@codesourcery.com>
1037
5953eb3a
JM
1038 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
1039 * math/auto-libm-test-out: Regenerated.
1040
2dec468f
JM
1041 [BZ #16338]
1042 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
1043 to determine exponent and adjust argument to have exponent of -1.
1044 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
1045 log2.
1046 * math/auto-libm-test-out: Regenerated.
1047 * sysdeps/i386/fpu/libm-test-ulps: Update.
1048 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1049
4d84e6ad
OB
10502013-12-18 Ondřej Bílka <neleai@seznam.cz>
1051
1052 * manual/probes.texi: Remove cases when per-thread arenas are
1053 disabled.
1054
1818483b
AS
10552013-12-18 Andreas Schwab <schwab@suse.de>
1056
1057 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
1058 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
1059 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
1060 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
1061 * sysdeps/i386/i686/multiarch/Makefile: Update.
1062 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
1063
25de95bf
JM
10642013-12-17 Joseph Myers <joseph@codesourcery.com>
1065
1066 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
1067 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
1068
674762d9
PE
10692013-12-17 Paul Eggert <eggert@cs.ucla.edu>
1070
0748546f
PE
1071 Support TZ transition times < 00:00:00.
1072 This is needed for version-3 tz-format files; it supports time
1073 stamps past 2037 for America/Godthab (the only entry in the tz
1074 database for which this change is relevant).
1075 * manual/time.texi (TZ Variable): Document transition times
1076 from -167:59:59 through -00:00:01.
1077 * time/tzset.c (tz_rule): Time of day is now signed.
1078 (__tzset_parse_tz): Parse negative time of day.
1079
4480e934
PE
1080 Document TZ transition times >= 25:00:00.
1081 * manual/time.texi (TZ Variable): Document transition times from
1082 25:00:00 through 167:59:59. These are already supported, and this
1083 support will help with version-3 tz-format files.
1084
69947401
PE
1085 * manual/time.texi (TZ Variable): Modernize North America example
1086 to reflect current (i.e., 2007-and-later) daylight saving rules.
1087
674762d9
PE
1088 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
1089
7011c262
JM
10902013-12-17 Joseph Myers <joseph@codesourcery.com>
1091
2fc6557e
JM
1092 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
1093 * sysdeps/unix/bsd/bits/stat.h: Likewise.
1094 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
1095 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
1096 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
1097 * sysdeps/unix/bsd/bsdstat.h: Likewise.
1098 * sysdeps/unix/bsd/clock.c: Likewise.
1099 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
1100 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
1101 * sysdeps/unix/bsd/init-posix.c: Likewise.
1102 * sysdeps/unix/bsd/poll.c: Likewise.
1103 * sysdeps/unix/bsd/ptsname.c: Likewise.
1104 * sysdeps/unix/bsd/seekdir.c: Likewise.
1105 * sysdeps/unix/bsd/setegid.c: Likewise.
1106 * sysdeps/unix/bsd/seteuid.c: Likewise.
1107 * sysdeps/unix/bsd/setgid.c: Likewise.
1108 * sysdeps/unix/bsd/setrgid.c: Likewise.
1109 * sysdeps/unix/bsd/setruid.c: Likewise.
1110 * sysdeps/unix/bsd/setsid.c: Likewise.
1111 * sysdeps/unix/bsd/setuid.c: Likewise.
1112 * sysdeps/unix/bsd/sigaction.c: Likewise.
1113 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
1114 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
1115 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
1116 * sysdeps/unix/bsd/telldir.c: Likewise.
1117 * sysdeps/unix/bsd/times.c: Likewise.
1118 * sysdeps/unix/bsd/usleep.c: Likewise.
1119
029c7b25
JM
1120 * misc/Makefile (install-lib): Remove libbsd-compat.a.
1121 ($(objpfx)libbsd-compat.a): Remove rule.
1122
7011c262
JM
1123 * include/features.h (__FAVOR_BSD): Do not define.
1124 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
1125 features conflicting with POSIX.
1126 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
1127 (_BSD_SOURCE): Remove description of not being a subset of other
1128 feature test macros.
1129 * manual/job.texi (getpgrp): Do not document BSD version.
1130 (getpgid): Do not document by reference to BSD getpgrp.
1131 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
1132 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
1133 * signal/signal.h [__FAVOR_BSD]: Likewise.
1134 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
1135 instead of making contents conditional on [__FAVOR_BSD].
1136 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
1137
affb6f78
AZ
11382013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1139
1140 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1141
c88769dd
JM
11422013-12-17 Joseph Myers <joseph@codesourcery.com>
1143
6432a540
JM
1144 [BZ #16314]
1145 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
1146 values below 2**-450, not 2**-500.
1147 * math/auto-libm-test-in: Don't allow spurious underflow from
1148 hypot.
1149 * math/auto-libm-test-out: Regenerated.
1150
c88769dd
JM
1151 [BZ #16316]
1152 [BZ #16330]
1153 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
1154 values of ha and hb and sort them after adjusting subnormal
1155 arguments.
1156 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
1157 Likewise.
1158 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
1159 values of ea and eb and sort them after adjusting subnormal
1160 arguments.
1161 * math/auto-libm-test-in: Do not expect some hypot tests of
1162 subnormals to fail. Add more hypot tests.
1163 * math/auto-libm-test-out: Regenerated.
1164
29618f6b
KK
11652013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1166
1167 [BZ #13304]
1168 * sysdeps/sh/s_fma.c: New file.
1169 * sysdeps/sh/s_fmaf.c: New file.
1170 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
1171 version.
1172 * sysdeps/sh/Implies: Add sh/soft-fp.
1173
eacfdfbf
RM
11742013-12-16 Roland McGrath <roland@hack.frob.com>
1175
1176 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
1177 level of indirection to members `objname', `errstring', `malloced'.
1178 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
1179 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
1180 it as the __longjmp argument (just pass 1 instead).
1181 (_dl_catch_error): Initialize C with argument pointers and address of
1182 volatile local ERRCODE rather than copying values out of C at return.
1183
ff362e5b
JM
11842013-12-16 Joseph Myers <joseph@codesourcery.com>
1185
1186 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
1187 * math/auto-libm-test-out: Regenerated.
1188 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
1189 (hypot_test_data): Likewise.
1190 (pow_test_data): Likewise.
1191 (pow_tonearest_test_data): Likewise.
1192 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1193 mpfr_ff_f.
1194 (func_calc_desc): Add mpfr_ff_f union field.
1195 (FUNC_mpfr_ff_f): New macro.
1196 (test_functions): Add atan2, hypot and pow.
1197 (special_fill_min): New function.
1198 (special_fill_minus_min): Likewise.
1199 (special_fill_min_subnorm): Likewise.
1200 (special_fill_minus_min_subnorm): Likewise.
1201 (special_real_inputs): Add min, -min, min_subnorm and
1202 -min_subnorm.
1203 (calc_generic_results): Handle mpfr_ff_f.
1204 * sysdeps/i386/fpu/libm-test-ulps: Update.
1205 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1206
5764c27f
WN
12072013-12-16 Will Newton <will.newton@linaro.org>
1208
1209 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
1210 (Aligned Memory Blocks): Add documentation for aligned_alloc
1211 and suggest it as an alternative to posix_memalign.
1212 (Hooks for Malloc): Document __memalign_hook is also called
1213 for aligned_alloc. (Summary of Malloc): Add summary for
1214 aligned alloc. Document __memalign_hook is also called
1215 for aligned_alloc.
1216
0a096e44
WN
12172013-12-16 Will Newton <will.newton@linaro.org>
1218
1219 * manual/memory.texi (Malloc Examples): Clarify default
1220 alignment documentation. Suggest posix_memalign rather
1221 than memalign or valloc.
1222 (Aligned Memory Blocks): Remove suggestion to use memalign
1223 or valloc. Remove obsolete comment about BSD.
1224 Document memalign errno values and mark the function obsolete.
1225 Document posix_memalign returned error codes. Mark valloc
1226 as obsolete. (Hooks for Malloc): __memalign_hook is also
1227 called for posix_memalign and valloc.
1228 (Summary of Malloc): Add posix_memalign to function summary.
1229 __memalign_hook is also called for posix_memalign and valloc.
1230
8d561986
SP
12312013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1232
1233 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
1234 TAYLOR_SIN.
1235 (__sin): Adjust.
1236 (__cos): Likewise.
1237 (sloww): Use mynumber union. Expand ternary operator into
1238 if-else statements.
1239 (cslow): use mynumber union.
1240
73616a74
AM
12412013-12-16 Allan McRae <allan@archlinux.org>
1242
9e8ac24b
AM
1243 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
1244 * configure: Regenerated.
1245
6f8e37eb
AM
1246 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
1247
8894bad3
AM
1248 [BZ #14120]
1249 * configure.ac: Added --enable-maintainer-mode. Check for
1250 autoconf when enabled.
1251 * configure: Regenerated.
1252
73616a74
AM
1253 * nscd/nscd.service: New file.
1254 * nscd/nscd.tmpfiles: New file.
1255
584b18eb
OB
12562013-12-14 Ondřej Bílka <neleai@seznam.cz>
1257
1258 [BZ #12100]
1259 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
1260 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
1261 * sysdeps/x86_64/multiarch/strstr.c: ... here.
1262 (strstr): Add __strstr_sse2_unaligned ifunc.
1263 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
1264 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
1265 (strcasestr): Remove __strcasestr_sse42 ifunc.
1266 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
1267 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
1268 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
1269
8a5c7897
KK
12702013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1271
1272 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
1273 * sysdeps/sh/bits/fenv.h: ... here.
1274 * sysdeps/sh/sh4/fpu/bits: Remove directory.
1275
fd712ef3
AZ
12762013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1277
1278 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
1279
42fcb46c
AZ
12802013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1281
1282 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
1283 hypotf multiarch implementations.
1284 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
1285 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
1286 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
1287 multiarch hypot for PPC64.
1288 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
1289 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
1290 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
1291 multiarch hypotf for PPC64.
1292
83efded4
AZ
12932013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1294
1295 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
1296 modff multiarch implementations.
1297 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
1298 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
1299 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
1300 multiarch modf for PPC64.
1301 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
1302 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
1303 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
1304 multiarch modff for PPC64.
1305
43e246d2
AZ
13062013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1307
1308 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
1309 and logl multiarch implementations.
1310 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
1311 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
1312 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
1313 multiarch logb for PPC64.
1314 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
1315 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
1316 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
1317 multiarch logb for PPC64.
1318 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
1319 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
1320 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
1321 multiarch logb for PPC64.
1322
8fdad123
AZ
13232013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1324
1325 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
1326 isinff multiarch implementation.
1327 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
1328 file.
1329 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
1330 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
1331 multiarch isinf for PPC64.
1332 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
1333 file.
1334 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
1335 multiarch isinff for PPC64.
1336
1481d706
AZ
13372013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1338
1339 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
1340 finitef multiarch implementation.
1341 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
1342 file.
1343 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
1344 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
1345 multiarch finite for PPC64.
1346 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
1347 file.
1348 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
1349 multiarch finitef for PPC64.
1350
5ccd5fc8
AZ
13512013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1352
1353 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
1354 lrint multiarch implementation.
1355 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
1356 file.
1357 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
1358 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
1359 multiarch llrint for PPC64.
1360 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
1361 multiarch lrint for PPC64.
1362
2568f3fa
AZ
13632013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1364
1365 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
1366 copysignf multiarch implementation.
1367 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
1368 file.
1369 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
1370 file.
1371 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
1372 multiarch copysign for PPC64.
1373 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
1374 multiarch copysignf for PPC64.
1375
1cb341fd
AZ
13762013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1377
1378 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
1379 multiarch implementation.
1380 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
1381 file.
1382 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
1383 file.
1384 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
1385 file.
1386 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
1387 file.
1388 multiarch llround for PPC64.
1389 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
1390 multiarch trunc for PPC64.
1391 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
1392 multiarch truncf for PPC64.
1393
59a3e194
AZ
13942013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1395
1396 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
1397 multiarch implementation.
1398 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
1399 file.
1400 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
1401 file.
1402 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
1403 file.
1404 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
1405 file.
1406 multiarch llround for PPC64.
1407 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
1408 multiarch round for PPC64.
1409 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
1410 multiarch roundf for PPC64.
1411
357fd3b4
AZ
14122013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1413
1414 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
1415 multiarch implementation.
1416 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
1417 file.
1418 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
1419 file.
1420 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
1421 file.
1422 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
1423 file.
1424 multiarch llround for PPC64.
1425 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
1426 multiarch floor for PPC64.
1427 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
1428 multiarch floorf for PPC64.
1429
96770f12
AZ
14302013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1431
1432 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
1433 multiarch implementation.
1434 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
1435 file.
1436 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
1437 file.
1438 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
1439 file.
1440 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
1441 file.
1442 multiarch llround for PPC64.
1443 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
1444 multiarch ceil for PPC64.
1445 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
1446 multiarch ceilf for PPC64.
1447
c3627f6e
AZ
14482013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1449
1450 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
1451 multiarch implementation.
1452 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
1453 file.
1454 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
1455 file.
1456 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
1457 file.
1458 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
1459 multiarch llround for PPC64.
1460 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
1461 multiarch lround for PPC64.
1462
b2284ad7
AZ
14632013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1464
1465 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
1466 multiarch implementation.
1467 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
1468 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
1469 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
1470 file.
1471 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
1472 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
1473 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
1474 multiarch isnan for PPC64.
1475 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
1476 multiarch isnanf for PPC64.
1477
69bbc63d
AZ
14782013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1479
1480 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
1481 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
1482 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
1483 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
1484 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
1485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
1486
c24517c9
AZ
14872013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1488
1489 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
1490 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1491 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1492 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1493
a52374e8
AZ
14942013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1495
1496 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
1497 multiarch implementations.
1498 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1499 (__libc_ifunc_impl_list): Likewise.
1500 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
1501 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
1502 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
1503 multiarch stpcpy for PPC64.
1504
7f5ec113
AZ
15052013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1506
1507 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
1508 multiarch implementations.
1509 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1510 (__libc_ifunc_impl_list): Likewise.
1511 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
1512 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
1513 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
1514 multiarch strcpy for PPC64.
1515
e28bcd42
AZ
15162013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1517
1518 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
1519 redefine function name.
1520 (_wordcopy_fwd_dest_aligned): Likewise.
1521 (_wordcopy_bwd_aligned): Likewise.
1522 (_wordcopy_bwd_dest_aligned): Likewise.
1523 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
1524 multiarch implementations.
1525 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1526 (__libc_ifunc_impl_list): Likewise.
1527 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
1528 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
1529 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
1530 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
1531 multiarch wcscpy for PPC64.
1532
92cacfce
AZ
15332013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1534
1535 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
1536 multiarch implementations.
1537 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1538 (__libc_ifunc_impl_list): Likewise.
1539 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
1540 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
1541 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
1542 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
1543 multiarch wcscpy for PPC64.
1544
7b714620
AZ
15452013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1546
1547 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
1548 multiarch implementations.
1549 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1550 (__libc_ifunc_impl_list): Likewise.
1551 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
1552 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
1553 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
1554 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
1555 multiarch wcsrchr for PPC64.
1556
16fd2ae3
AZ
15572013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1558
1559 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
1560 multiarch implementations.
1561 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1562 (__libc_ifunc_impl_list): Likewise.
1563 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
1564 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
1565 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
1566 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
1567 multiarch wcschr for PPC64.
1568
9ee2969b
AZ
15692013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1570
1571 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
1572 multiarch implementations.
1573 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1574 (__libc_ifunc_impl_list): Likewise.
1575 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
1576 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
1577 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
1578 multiarch strchrnul for PPC64.
1579
372dc060
AZ
15802013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1581
1582 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
1583 implementations.
1584 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1585 (__libc_ifunc_impl_list): Likewise.
1586 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
1587 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
1588 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
1589 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
1590 strchr for PPC64.
1591
24c2c3b9
AZ
15922013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1593
1594 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
1595 implementations.
1596 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1597 (__libc_ifunc_impl_list): Likewise.
1598 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
1599 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
1600 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
1601 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
1602 strncmp for PPC64.
1603
1c92d9a0
AZ
16042013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1605
1606 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
1607 multiarch implementations.
1608 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1609 (__libc_ifunc_impl_list): Likewise.
1610 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
1611 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
1612 strncasecmp for PPC64.
1613 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
1614 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
1615 multiarch strncasecmp_l for PPC64.
1616
17de3ee3
AZ
16172013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1618
1619 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
1620 multiarch implementations.
1621 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1622 (__libc_ifunc_impl_list): Likewise.
1623 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
1624 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
1625 multiarch strcasecmp for PPC64.
1626 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
1627 file.
1628 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
1629 multiarch strcasecmp_l for PPC64.
1630
62982bf9
AZ
16312013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1632
1633 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
1634 implementations.
1635 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1636 (__libc_ifunc_impl_list): Likewise.
1637 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
1638 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
1639 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
1640 strnlen for PPC64.
1641
a65f4904
AZ
16422013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1643
1644 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
1645 implementations.
1646 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1647 (__libc_ifunc_impl_list): Likewise.
1648 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
1649 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
1650 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
1651 strlen for PPC64.
1652
1fd005ad
AZ
16532013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1654
1655 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
1656 implementations.
1657 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1658 (__libc_ifunc_impl_list): Likewise.
1659 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
1660 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
1661 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
1662 rawmemrchr for PPC64.
1663
cd05ba91
AZ
16642013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1665
1666 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
1667 implementation.
1668 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1669 (__libc_ifunc_impl_list): Likewise.
1670 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
1671 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
1672 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
1673 memrchr for PPC64.
1674
870f8676
AZ
16752013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1676
1677 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
1678 implementation.
1679 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1680 (__libc_ifunc_impl_list): Likewise.
1681 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
1682 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
1683 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
1684 memchr for PPC64.
1685
f00be62b
AZ
16862013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1687
1688 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
1689 implementation.
1690 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1691 (__libc_ifunc_impl_list): Likewise.
1692 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
1693 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
1694 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
1695 mempcpy for PPC64.
1696
8a29a3d0
AZ
16972013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1698
1699 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
1700 avoid cretion of __bzero symbol.
1701 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
1702 Likewise.
1703 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
1704 Likewise.
1705 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
1706 Likewise.
1707 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
1708 multiarch implementations.
1709 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1710 (__libc_ifunc_impl_list): Likewise.
1711 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
1712 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
1713 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
1714 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
1715 bzero for PPC32.
1716 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
1717 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
1718 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
1719 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
1720 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
1721 memset for PPC64.
1722 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
1723
07253fcf
AZ
17242013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1725
1726 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
1727 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
1728 implementations.
1729 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1730 (__libc_ifunc_impl_list): Likewise.
1731 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
1732 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
1733 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
1734 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
1735 memcmp for PPC64.
1736
b5beafbc
AZ
17372013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1738
1739 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
1740 multiarch for POWER/PPC64.
1741 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1742 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
1743 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
1744 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
1745 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
1746 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
1747 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
1748 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
1749 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
1750 memcpy for PPC64.
1751
5e6a4d4b
AZ
17522013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1753
1754 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
1755 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
1756 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
1757 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
1758 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
1759 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
1760 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
1761 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
1762 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
1763 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
1764 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
1765 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
1766 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
1767 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
1768 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
1769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
1770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
1771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
1772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
1773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
1774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
1775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
1776
ddfab6dc
KK
17772013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1778
1779 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
1780
19b5525e
SP
17812013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1782
1783 * benchtests/Makefile (bench): Add exp2 and log2.
1784 (LDLIBS-bench-exp2): Add -lm.
1785 (LDLIBS-bench-log2): Likewise.
1786 * benchtests/exp2-inputs: New inputs file.
1787 * benchtests/log2-inputs: New inputs file.
1788 * benchtests/log-inputs: Add new inputs.
1789 * benchtests/tan-inputs: Likewise.
1790
196f7f5d
SP
17912013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1792
7a74607f
SP
1793 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
1794 definition...
1795 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
1796 csloww1, csloww2): ... from here.
1797
196f7f5d
SP
1798 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
1799 instead of structures.
1800 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
1801 (POLYNOMIAL): Likewise.
1802 (TAYLOR_SLOW): Likewise.
1803 (__sin): Likewise.
1804 (__cos): Likewise.
1805 (slow1): Likewise.
1806 (slow2): Likewise.
1807 (sloww): Likewise.
1808 (sloww1); Likewise.
1809 (sloww2): Likewise.
1810 (bsloww1): Likewise.
1811 (bsloww2): Likewise.
1812 (cslow2): Likewise.
1813 (csloww): Likewise.
1814 (csloww1): Likewise.
1815 (csloww2): Likewise.
1816
0dfa665c
OB
18172013-12-10 Ondřej Bílka <neleai@seznam.cz>
1818
1819 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
1820 (__malloc_assert, __libc_realloc, __libc_calloc,
1821 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
1822 memcpy and memset.
1823 * malloc/hooks.c (realloc_check): Likewise.
1824
5782a80f
OB
18252013-12-10 Ondřej Bílka <neleai@seznam.cz>
1826
1827 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
1828 * malloc/arena.c: Remove PER_THREAD conditional.
1829 [!PER_THREAD]: Remove code.
1830 (ptmalloc_unlock_all2): Likewise.
1831 (ptmalloc_init): Likewise.
1832 (_int_new_arena): Likewise.
1833 (arena_get2): Likewise.
1834 * malloc/hooks.c (__malloc_get_state): Likewise.
1835 (__malloc_set_state): Likewise.
1836 * malloc/malloc.c: Likewise.
1837 (struct malloc_state): Likewise.
1838 (struct malloc_par): Likewise.
1839 (__libc_realloc): Likewise.
1840 (__libc_mallopt): Likewise.
1841
aeb95445
AZ
18422013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1843
1844 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
1845
e8349efd
OB
18462013-12-09 Ondřej Bílka <neleai@seznam.cz>
1847
1848 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
1849 macro to a function. Check for zero perturb_byte.
1850 (_int_malloc, _int_free): Remove zero perturb_byte checks.
1851
f3eeb3fc
OB
18522013-12-09 Ondřej Bílka <neleai@seznam.cz>
1853
1854 * malloc/malloc.c: (force_reg): Remove.
1855 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
1856 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
1857 force_reg by atomic_forced_read.
1858 * malloc/arena.c (ptmalloc_init): Likewise.
1859 * malloc/hooks.c (top_check): Likewise.
1860
be2f9009
AZ
18612013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1862
1863 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1864
e7b914bd
MT
18652013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
1866
1867 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1868
9f0be4f8
JM
18692013-12-08 Joseph Myers <joseph@codesourcery.com>
1870
1871 * math/auto-libm-test-in: Add tests of lgamma.
1872 * math/auto-libm-test-out: Regenerated.
1873 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
1874 (M_LOG_2_SQRT_PIl): Likewise.
1875 (lgamma_test_data): Use AUTO_TESTS_f_f1.
1876 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1877 mpfr_f_f1.
1878 (func_calc_desc): Add mpfr_f_f1 union field.
1879 (ARGS1): New macro.
1880 (ARGS2): Likewise.
1881 (ARGS3): Likewise.
1882 (ARGS4): Likewise.
1883 (RET1): Likewise.
1884 (RET2): Likewise.
1885 (CALC): Likewise.
1886 (FUNC): Likewise.
1887 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
1888 (test_functions): Add lgamma.
1889 (calc_generic_results): Handle mpfr_f_f1.
1890 * sysdeps/i386/fpu/libm-test-ulps: Update.
1891 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1892
24eeafdb
AZ
18932013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1894
1895 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
1896 __mpn_add_n for PowerPC64/POWER7.
1897 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
1898 __mpn_sub_n for PowerPC64/POWER7.
1899
4a2c0fd4
AZ
19002013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1901
1902 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
1903 __mpn_addmul_1 for PowerPC64.
1904 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
1905 __mpn_submul_1 for PowerPC64.
1906 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
1907 for PowerPC64.
1908 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
1909 for PowerPC64.
1910
4b5b548c
FS
19112013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
1912
1913 [BZ #15089]
1914 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
1915
0a3ac0aa
AZ
19162013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1917
1918 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
1919
ccdc8438
AZ
19202013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1921
1922 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
1923 add multiarch folders.
1924 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
1925 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
1926 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
1927 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
1928 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
1929 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
1930 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
1931 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
1932 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
1933 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
1934 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
1935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
1936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
1937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
1938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
1939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
1940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
1941
2e973d99
AZ
19422013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1943
1944 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1945 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
1946 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
1947 New file.
1948 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
1949 New file.
1950 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
1951 multiarch __ieee754_hypot for PowerPC32.
1952 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
1953 New file.
1954 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
1955 New file.
1956 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
1957 multiarch __ieee754_hypotf for PowerPC32.
1958
2d9470b2
AZ
19592013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1960
1961 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
1962 long_double_symbol only if __logbl is defined.
1963 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
1964 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
1965 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
1966 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
1967 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
1968 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
1969 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
1970 path for implementation.
1971 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
1972 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
1973 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
1974 logb, and logbl multiarch implementations for PowerPC32.
1975 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
1976 file.
1977 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
1978 file.
1979 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
1980 multiarch logb for PowerPC32.
1981 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
1982 file.
1983 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
1984 file.
1985 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
1986 multiarch logbf for PowerPC32.
1987 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
1988 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
1989 file.
1990 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
1991 multiarch logbl implementation for PowerPC32.
1992
5212ffce
AZ
19932013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1994
1995 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
1996 and modff multiarch implementations.
1997 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
1998 New file.
1999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
2000 New file.
2001 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
2002 multiarch modf for PowerPC32.
2003 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
2004 New file.
2005 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
2006 New file.
2007 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
2008 multiarch modff for PowerPC32.
2009
79dccf31
AZ
20102013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2011
2012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
2013 and lrintf multiarch implementations.
2014 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
2015 New file.
2016 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
2017 New file.
2018 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
2019 multiarch lrint for PowerPC32.
2020 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
2021 file: multiarch lrintf for PowerPC32.
2022
deb66480
AZ
20232013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2024
2025 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
2026 and lroundf multiarch implementations.
2027 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
2028 New file.
2029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
2030 New file.
2031 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
2032 New file.
2033 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
2034 multiarch lround for PowerPC32.
2035 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
2036 file: multiarch lroundf for PowerPC32.
2037
264b036b
AZ
20382013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2039
2040 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
2041 copysign and copysignf multiarch implementations.
2042 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
2043 New file.
2044 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
2045 New file.
2046 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
2047 file: multiarch copysign for PowerPC32.
2048 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
2049 file: multiarch copysignf for PowerPC32.
2050
d47db6c9
AZ
20512013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2052
2053 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
2054 and truncf multiarch implementations.
2055 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
2056 New file.
2057 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
2058 file.
2059 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
2060 multiarch trunc for PowerPC32.
2061 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
2062 New file.
2063 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
2064 New file.
2065 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
2066 multiarch truncf for PowerPC32.
2067
ddb60b5a
AZ
20682013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2069
2070 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
2071 and roundf multiarch implementations.
2072 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
2073 New file.
2074 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
2075 file.
2076 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
2077 multiarch round for PowerPC32.
2078 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
2079 New file.
2080 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
2081 New file.
2082 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
2083 multiarch roundf for PowerPC32.
2084
bedcf49b
AZ
20852013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2086
2087 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
2088 and floorf multiarch implementations.
2089 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
2090 New file.
2091 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
2092 file.
2093 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
2094 multiarch floor for PowerPC32.
2095 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
2096 New file.
2097 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
2098 New file.
2099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
2100 multiarch floorf for PowerPC32.
2101
35ae5b40
AZ
21022013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2103
2104 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
2105 and ceilf multiarch implementations.
2106 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
2107 New file.
2108 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
2109 file.
2110 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
2111 multiarch ceil for PowerPC32.
2112 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
2113 New file.
2114 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
2115 file.
2116 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
2117 multiarch ceilf for PowerPC32.
2118
ae1a4cd9
AZ
21192013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2120
2121 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
2122 is defined.
2123 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
2124 FINITEF is defined.
2125 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
2126 and finitef multiarch implementations.
2127 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
2128 New file.
2129 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
2130 file.
2131 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
2132 multiarch finite for PowerPC32.
2133 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
2134 New file.
2135 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
2136 file: multiarch finitef for PowerPC32.
2137
64fffd65
AZ
21382013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2139
2140 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
2141 and isinff multiarch implementations.
2142 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
2143 file.
2144 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
2145 file.
2146 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
2147 multiarch isinf for PowerPC32.
2148 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
2149 New file.
2150 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
2151 multiarch isinff for PowerPC32.
2152
8e4e7ba2
AZ
21532013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2154
2155 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
2156 alias when __isnan is defined.
2157 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
2158 and isnanf multiarch implementations.
2159 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
2160 file.
2161 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
2162 file.
2163 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
2164 file.
2165 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
2166 file.
2167 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
2168 multiarch isnan for PowerPC32.
2169 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
2170 New file.
2171 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
2172 New file.
2173 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
2174 multiarch isnanf for PowerPC32.
2175
ddba588e
AZ
21762013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2177
2178 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
2179 and sqrtf multiarch implementations.
2180 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
2181 file.
2182 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
2183 file.
2184 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
2185 multiarch sqrt for PowerPC32.
2186 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
2187 file.
2188 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
2189 file.
2190 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
2191 multiarch sqrtf for PowerPC32.
2192
0f96a2f0
AZ
21932013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2194
2195 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
2196 and llroundf multiarch implementations.
2197 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
2198 New file.
2199 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
2200 New file.
2201 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
2202 New file.
2203 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
2204 file: multiarch llround for PowerPC32.
2205 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
2206 file: multiarch llroundf for PowerPC32.
2207
c9b5d79e
AZ
22082013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2209
2210 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
2211 multiarch PowerPC32 fpu implementations.
2212 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
2213 New file.
2214 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
2215 New file.
2216 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
2217 multiarch llrint for PowerPC32.
2218 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
2219 New file.
2220 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
2221 New file.
2222 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
2223 file.
2224
9cbb3aab
AZ
22252013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2226
2227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
2228
ea5a72f8
AZ
22292013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2230
2231 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
2232 file.
2233 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
2234 file.
2235 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
2236 file.
2237 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
2238 multiarch wordcopy for PPC32.
2239 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
2240 wordcopy objects.
2241 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2242 (__libc_ifunc_impl_list): Likewise.
2243 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
2244 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
2245 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
2246 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
2247 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
2248 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
2249
93be09e7
AZ
22502013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2251
2252 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
2253 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
2254 file.
2255 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
2256 file.
2257 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
2258 file.
2259 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
2260 multiarch wcscpy for PPC32.
2261 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
2262 multiarch objects.
2263 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2264 (__libc_ifunc_impl_list): Likewise.
2265 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
2266 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
2267 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
2268 sysdeps/powerpc/power6/wcscpy.c.
2269
bb04e529
AZ
22702013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2271
2272 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
2273 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
2274 file.
2275 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
2276 file.
2277 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
2278 file.
2279 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
2280 multiarch wcsrchr for PPC32.
2281 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
2282 multiarch objects.
2283 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2284 (__libc_ifunc_impl_list): Likewise.
2285 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
2286 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
2287 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
2288 sysdeps/powerpc/power6/wcsrchr.c.
2289
05b5cd1c
AZ
22902013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2291
2292 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
2293 file.
2294 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
2295 file.
2296 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
2297 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
2298 multiarch wcschr for PPc32.
2299 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
2300 multiarch objects.
2301 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2302 (__libc_ifunc_impl_list): Likewise.
2303 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
2304 * sysdeps/powerpc/power6/wcschr.c: ... to here.
2305 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
2306 sysdeps/powerpc/power6/wcschr.c.
2307
ba964147
AZ
23082013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2309
2310 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
2311 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
2312 file.
2313 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
2314 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
2315 file: multiarch strchr for PPC32.
2316 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
2317 multiarch objects.
2318 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2319 (__libc_ifunc_impl_list): Likewise.
2320
31c81aaa
AZ
23212013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2322
2323 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
2324 name.
2325 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
2326 file.
2327 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
2328 file.
2329 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
2330 multiarch strchrnul for PPC32.
2331 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
2332 multiarch objects.
2333 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2334 (__libc_ifunc_impl_list): Likewise.
2335
0d0607d9
AZ
23362013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2337
2338 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
2339 file.
2340 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
2341 multiarch strncasecmp for PPC32.
2342 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
2343 file.
2344 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
2345 multiarch strncasecmp_l for PPC32.
2346 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
2347 strncasecmp multiarch objects.
2348 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2349 (__libc_ifunc_impl_list): Likewise.
2350
4dfd5c86
AZ
23512013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2352
2353 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
2354 file.
2355 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
2356 multiarch strncasecmp for PPC32.
2357 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
2358 New file.
2359 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
2360 multiarch strcasecmp_l for PPC32.
2361 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
2362 multiarch objects.
2363 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2364 (__libc_ifunc_impl_list): Likewise.
2365
a19e01a3
AZ
23662013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2367
2368 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
2369 file.
2370 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
2371 file.
2372 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
2373 multiarch strncmp for PPC32.
2374 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
2375 multiarch objects.
2376 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2377 (__libc_ifunc_impl_list): Likewise.
2378
ae9cf7a2
AZ
23792013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2380
2381 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
2382 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
2383 file.
2384 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
2385 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
2386 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
2387 multiarch objects.
2388 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2389 (__libc_ifunc_impl_list): Likewise.
2390
3148bb7d
AZ
23912013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2392
2393 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
2394 file.
2395 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
2396 file.
2397 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
2398 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
2399 multiarch objects.
2400 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2401 (__libc_ifunc_impl_list): Likewise.
2402
7af8b946
AZ
24032013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2404
2405 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
2406 file.
2407 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
2408 file.
2409 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
2410 multiarch rawmemchr for PPC32.
2411 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
2412 multiarch objects.
2413 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2414 (__libc_ifunc_impl_list): Likewise.
2415
03a6aa6a
AZ
24162013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2417
2418 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
2419 file.
2420 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
2421 file.
2422 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
2423 file: memrchr multiarch for PPC32.
2424 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
2425 multiarch objects.
2426 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2427 (__libc_ifunc_impl_list): Likewise.
2428
1c62e6d9
AZ
24292013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2430
2431 * string/memchr.c (__memchr): Using macro to redefine symbol name.
2432 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
2433 file.
2434 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
2435 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
2436 multiarch memchr for PPC32.
2437 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
2438 multiarch objects.
2439 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2440 (__libc_ifunc_impl_list): Likewise.
2441
87da8bdb
AZ
24422013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2443
2444 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
2445 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
2446 file.
2447 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
2448 file.
2449 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
2450 file: multiarch mempcpy for PPC32.
2451 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
2452 multiarch objects.
2453 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2454 (__libc_ifunc_impl_list): Likewise.
2455
20ed4714
AZ
24562013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2457
2458 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
2459 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
2460 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
2461 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
2462 multiarch bzero for PPC32.
2463 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
2464 file.
2465 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
2466 file.
2467 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
2468 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
2469 file: multiarch memset for PPC32.
2470 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
2471 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
2472 memset multiarch objects.
2473 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2474 (__libc_ifunc_impl_list): Likewise.
2475
ab3e3a46
AZ
24762013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2477
2478 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
2479 file.
2480 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
2481 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
2482 memcmp for PPC32.
2483 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
2484 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
2485 multiarch objects.
2486 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2487 (__libc_ifunc_impl_list): Likewise.
2488
930de6f0
AZ
24892013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2490
2491 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
2492 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
2493 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
2494 file.
2495 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
2496 file.
2497 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
2498 file.
2499 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
2500 multiarch memcpy for PPC32.
2501 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
2502 multiarch objects.
2503 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2504 (__libc_ifunc_impl_list): Likewise.
2505
4c628e00
AZ
25062013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2507
2508 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
2509 support multiarch for POWER/PPC32.
2510 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
2511 Likewise.
2512 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
2513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
2514 Implies file to make multiarch folder appers before the fpu and
2515 default folder for power4 configuration.
2516
f4479220
SP
25172013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
2518
2519 * scripts/bench.pl: Append volatile keyword to type.
2520
8517800f
KK
25212013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2522
2523 * sysdeps/sh/sotruss-lib.c: New file.
2524 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
2525
180138f1
AZ
25262013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2527
2528 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2529
bbf37bdc
JM
25302013-12-05 Joseph Myers <joseph@codesourcery.com>
2531
e47cc4e0
JM
2532 [BZ #6810]
2533 * math/w_tgamma.c: Include <errno.h>.
2534 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
2535 * math/w_tgammaf.c: Include <errno.h>.
2536 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
2537 * math/w_tgammal.c: Include <errno.h>.
2538 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
2539 * math/auto-libm-test-in: Do not allow missing errno on tgamma
2540 underflow. Add more tgamma tests.
2541 * math/auto-libm-test-out: Regenerated.
2542 * sysdeps/i386/fpu/libm-test-ulps: Update.
2543 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2544
bbf37bdc
JM
2545 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
2546 sin, sinh, tan, tanh, tgamma, y0 and y1.
2547 * math/auto-libm-test-out: Regenerated.
2548 * math/libm-test.inc (TEST_COND_x86_64): New macro.
2549 (TEST_COND_x86): Likewise.
2550 (M_E2l): Remove macro.
2551 (M_E3l): Likewise.
2552 (M_2_SQRT_PIl): Likewise.
2553 (M_SQRT_PIl): Likewise.
2554 (M_1_DIV_El): Likewise.
2555 (log_test_data): Use AUTO_TESTS_f_f.
2556 (log10_test_data): Likewise.
2557 (log1p_test_data): Likewise.
2558 (log2_test_data): Likewise.
2559 (sin_test_data): Likewise.
2560 (sin_tonearest_test_data): Likewise.
2561 (sin_towardzero_test_data): Likewise.
2562 (sin_downward_test_data): Likewise.
2563 (sin_upward_test_data): Likewise.
2564 (sinh_test_data): Likewise.
2565 (sinh_tonearest_test_data): Likewise.
2566 (sinh_towardzero_test_data): Likewise.
2567 (sinh_downward_test_data): Likewise.
2568 (sinh_upward_test_data): Likewise.
2569 (tan_test_data): Likewise.
2570 (tan_tonearest_test_data): Likewise.
2571 (tan_towardzero_test_data): Likewise.
2572 (tan_downward_test_data): Likewise.
2573 (tan_upward_test_data): Likewise.
2574 (tanh_test_data): Likewise.
2575 (tgamma_test_data): Likewise.
2576 (y0_test_data): Likewise.
2577 (y1_test_data): Likewise.
2578 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
2579 (special_real_inputs): Add pi/4.
2580 * sysdeps/i386/fpu/libm-test-ulps: Update.
2581 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2582
eb5ad6b9
AZ
25832013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2584
2585 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
2586 "longjmp_target" static probes.
2587 (__longjmp): Rename to __longjmp_symbol.
2588 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2589 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
2590 on which longjmp to generate.
2591 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2592 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
2593 probe.
2594 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2595 (__sigjmp_save): Rename to __sigjmp_save_symbol.
2596 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2597 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
2598 and __sigjmp_save_symbol based on which sigsetjmp to generated.
2599 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
2600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
2601 __longjmp_symbol based on which __longjmp to generate.
2602 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
2603 probe.
2604 (setjmp): Rename to setjmp_symbol.
2605 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2606 (_setjmp): Rename to _setjmp_symbol.
2607 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2608 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
2609 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
2610 which setjmp to generate.
2611 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
2612 "longjmp_target" static probes.
2613
d136c6dc
SP
26142013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2615
9298ecba
SP
2616 * benchtests/README: Add note about output arguments.
2617 * benchtests/bench-sincos.c: Remove file.
2618 * benchtests/sincos-inputs: New file.
2619 * scripts/bench.pl: Identify output arguments and define
2620 static variables for them.
2621
232983e9
SP
2622 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
2623
d136c6dc
SP
2624 [BZ #15941]
2625 * Makefile (INSTALL): Add install-plain.texi as the primary
2626 dependency.
2627 * manual/install-plain.texi: New file.
2628 * manual/install.texi: Include node directive only for
2629 non-plaintext output.
2630
699ff837
JM
26312013-12-04 Joseph Myers <joseph@codesourcery.com>
2632
ab07cea8
JM
2633 * stdlib/longlong.h: Update from GCC.
2634
699ff837
JM
2635 [BZ #6807]
2636 [BZ #15901]
2637 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
2638 * math/w_j0f.c (y0f): Likewise.
2639 * math/w_j0l.c (__y0l): Likewise.
2640 * math/w_j1.c (y1): Likewise.
2641 * math/w_j1f.c (y1f): Likewise.
2642 * math/w_j1l.c (__y1l): Likewise
2643 * math/w_jn.c (yn): Likewise.
2644 * math/w_jnf.c (ynf): Likewise.
2645 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
2646 Bessel function pole errors in _POSIX_ mode. Use NAN as return
2647 value for Bessel function domain errors outside _SVID_ mode.
2648 Adjust sign of return value for yn (negative integer, 0).
2649 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
2650 by zero in return for negative x and set sign appropriately for
2651 negative n.
2652 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
2653 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2654 * math/libm-test.inc (y0_test_data): Add more tests and adjust
2655 expectations in error cases.
2656 (y1_test_data): Likewise.
2657 (yn_test_data): Likewise.
2658 * sysdeps/i386/fpu/libm-test-ulps: Update.
2659 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2660
5b118558
UW
26612013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2662
2663 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
2664 "64" to "64-v1". Add "64-v2".
2665 (abi-64-options): Rename to ...
2666 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
2667 (abi-64-condition): Rename to ...
2668 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
2669 (abi-64-ld-soname): Rename to ...
2670 (abi-64-v1-ld-soname): ... this.
2671 (abi-64-v2-options): Define.
2672 (abi-64-v2-condition): Likewise.
2673 (abi-64-v2-ld-soname): Likewise.
2674 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
2675 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
2676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
2677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
2678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
2679
61cd8fe4
UW
26802013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2681 Alan Modra <amodra@gmail.com>
2682
2683 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
2684 New versions for use with the ELFv2 ABI.
2685 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
2686 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
2687 declaration.
2688 (struct La_ppc64v2_retval): Likewise.
2689 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
2690 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
2691 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
2692 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
2693 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
2694 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
2695 Do not save or restore CR.
2696 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
2697 (_dl_profile_resolve): Do no save or restore CR. Support extended
2698 return values for ELFv2 ABI. Fix location of FPR return registers.
2699 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
2700 updated values for _CALL_ELF == 2.
2701 (La_regs, La_retval, int_retval): Likewise.
2702
8b8a692c
UW
27032013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2704
2705 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
2706 (FRAME_MIN_SIZE_PARM): Likewise.
2707 (FRAME_BACKCHAIN): Likewise.
2708 (FRAME_CR_SAVE): Likewise.
2709 (FRAME_LR_SAVE): Likewise.
2710 (FRAME_TOC_SAVE): Likewise.
2711 (FRAME_PARM_SAVE): Likewise.
2712 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2713 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2714 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2715 (call_mcount_parm_offset): New macro.
2716 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
2717 (PROF): Use symbolic stack frame offsets.
2718 (TAIL_CALL_SYSCALL_ERROR): Likewise.
2719 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
2720 Redefine in terms of FRAME_MIN_SIZE.
2721 (_dl_runtime_resolve): Use symbolic stack frame offsets.
2722 (_dl_profile_resolve): Likewise. Update comment.
2723 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
2724 symbols stack frame offsets.
2725 (__sigsetjmp): Likewise.
2726 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
2727 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
2728 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
2729 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
2730
2731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
2732 (FRAME_BACKCHAIN): Remove.
2733 (FRAME_CR_SAVE): Likewise.
2734 (FRAME_LR_SAVE): Likewise.
2735 (FRAME_COMPILER_DW): Likewise.
2736 (FRAME_LINKER_DW): Likewise.
2737 (FRAME_TOC_SAVE): Likewise.
2738 (FRAME_PARM_SAVE): Likewise.
2739 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2740 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2741 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
2743 (CHECK_SP): Use symbolic stack frame offsets.
2744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
2745 zone" instead of caller's parameter save area for temp storage.
2746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
2747 Likewise. Also, use symbolic stack frame offsets.
2748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
2749 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
2750 our own stack frame instead of the caller's.
2751 (__socket): Use symbolic stack frame offsets.
2752
122b66de
UW
27532013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2754 Alan Modra <amodra@gmail.com>
2755
2756 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
2757 Define.
2758 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
2759 PPC64_LOCAL_ENTRY_OFFSET): Define.
2760 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
2761 New function.
2762 (elf_machine_fixup_plt): Call it.
2763 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
2764 reloc arguments.
2765 (elf_machine_rela): Update call to elf_machine_plt_conflict.
54285cf9
SP
2766 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2767 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
2768 r2 before calling target.
2769
696caf1d
UW
27702013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2771 Alan Modra <amodra@gmail.com>
2772
2773 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
2774 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
2775 versions of macros to support ELFv2 ABI.
2776 (LOCALENTRY): New macro.
2777 (ENTRY, EALIGN): Use it.
2778 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
2779 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
2780 fall through into ENTRY entry point.
2781 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
2782 Only define if _CALL_ELF != 2.
2783
2784 (elf_machine_matches_host): Verify ABI version matches.
2785 (RTLD_START): Use LOCALENTRY.
2786 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
2787 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
2788 (PLT_ENTRY_WORDS): New macro.
2789 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
2790 (elf_machine_runtime_setup): Support ELFv2 ABI.
2791 (elf_machine_fixup_plt): Likewise.
2792 (elf_machine_plt_conflict): Likewise.
2793 (resolve_ifunc): Likewise.
2794 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
2795 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
2796 Likewise.
2797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
2798 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
2799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2800 (makecontext): Support ELFv2 ABI.
2801 * elf/elf.h (EF_PPC64_ABI): Define.
2802
d31beafa
UW
28032013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2804
2805 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
2806 New assembler macro.
2807 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
2808 [ASSEMBLER] (ENTRY): ... but instead here ...
2809 [ASSEMBLER] (EALIGN): ... and here.
2810 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
2811 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
2812 [!ASSEMBLER] (ENTRY_2): Use it.
2813 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
2814 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
2815 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2816 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
2817 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
2818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
2819 Use PPC64_LOAD_FUNCPTR.
2820
b525166b
UW
28212013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2822
2823 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
2824
7ec07d9a
AM
28252013-12-04 Alan Modra <amodra@gmail.com>
2826
2827 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
2828 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
2829 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
2830 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
2831
2832 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
2833 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
2834 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
2835 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
2836 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
2837 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
2838
5162e7dd
UW
28392013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2840
2841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2842 (__makecontext): Fix incorrect CFI when backtracing out of
2843 context created via makecontext.
2844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
2845 (__setcontext): Fix incorrect CFI during switch to new context.
2846 (__novec_setcontext): Likewise.
2847
19e3372b
OB
28482013-12-04 Ondřej Bílka <neleai@seznam.cz>
2849
2850 [BZ #4772]
2851 * time/strptime_l.c (__strptime_internal): Allow modifiers
2852 in strptime.
2853 * time/tst-strptime.c (day_tests): Add testcase.
2854
2855
ecaf142d
SP
28562013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2857
2858 * scripts/bench.pl: Skip over blank lines.
2859
fbf964ae
PE
28602013-12-04 Paul Eggert <eggert@cs.ucla.edu>
2861
2862 [BZ #926]
2863 * manual/time.texi (Calendar Time): Clarify what timezone functions
2864 use.
2865
fa60a674
AZ
28662013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2867
2868 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2869
d674f0ef
OB
28702013-12-04 Ondřej Bílka <neleai@seznam.cz>
2871
2872 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
2873 implementation.
2874 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
2875 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
2876 * debug/memset_chk.c (__memset_chk): Likewise.
2877 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
2878 * debug/strncpy_chk.c: Likewise.
2879
17dea188
JM
28802013-12-03 Joseph Myers <joseph@codesourcery.com>
2881
749008ff
JM
2882 [BZ #15268]
2883 [BZ #15425]
2884 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
2885 (__ieee754_exp): For possibly underflowing results, check size of
2886 result and force underflow exception if required.
2887 * math/auto-libm-test-in: Add more tests of exp.
2888 * math/auto-libm-test-out: Regenerated.
2889 * sysdeps/i386/fpu/libm-test-ulps: Update.
2890 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2891
17dea188
JM
2892 [BZ #16283]
2893 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
2894 * math/w_exp2f.c (__exp2f): Likewise.
2895 * math/w_exp2l.c (__exp2l): Likewise.
2896 * math/auto-libm-test-in: Do not allow missing errno on exp2
2897 underflow.
2898 * math/auto-libm-test-out: Regenerated.
2899
b20de2c3
OB
29002013-12-03 Ondřej Bílka <neleai@seznam.cz>
2901
2902 [BZ #16274]
2903 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
2904 handle filename validation.
2905 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
2906 (do_open): Delete.
2907
d8e2dbe3
JM
29082013-12-03 Joseph Myers <joseph@codesourcery.com>
2909
34e16df5
JM
2910 [BZ #6786]
2911 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
2912 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
2913 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
2914 <float.h>.
2915 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
2916 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
2917 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2918 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
2919 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2920 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
2921 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2922 * math/auto-libm-test-in: Don't allow missing errno from erfc.
2923 Add more erfc tests.
2924 * math/auto-libm-test-out: Regenerated.
2925 * sysdeps/i386/fpu/libm-test-ulps: Update.
2926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2927
d8e2dbe3
JM
2928 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
2929 exp2, expm1, j0 and j1.
2930 * math/auto-libm-test-out: Regenerated.
2931 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
2932 (erfc_test_data): Likewise.
2933 (exp_test_data): Likewise.
2934 (exp_tonearest_test_data): Likewise.
2935 (exp_towardzero_test_data): Likewise.
2936 (exp_downward_test_data): Likewise.
2937 (exp_upward_test_data): Likewise.
2938 (exp10_test_data): Likewise.
2939 (exp2_test_data): Likewise.
2940 (expm1_test_data): Likewise.
2941 (j0_test_data): Likewise.
2942 (j1_test_data): Likewise.
2943 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
2944 (input_flag_type): Add flag_xfail_rounding.
2945 (input_flags): Add xfail-rounding.
2946 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
2947 (output_for_one_input_case): Handle flag_xfail_rounding.
2948 * sysdeps/i386/fpu/libm-test-ulps: Update.
2949 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2950
18d14251
AJ
29512013-12-03 Aurelien Jarno <aurelien@aurel32.net>
2952
3d2e6075 2953 [BZ #16289]
18d14251
AJ
2954 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
2955 division by 0.
2956
520d437b
SP
29572013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2958
2959 [BZ #16195]
2960 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
2961 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
2962 (STAP_PROBE0): New macro.
2963 (STAP_PROBE1): Likewise.
2964 (STAP_PROBE2): Likewise.
2965 (STAP_PROBE3): Likewise.
2966 (STAP_PROBE4): Likewise.
2967
416e0145
OB
29682013-12-02 Ondřej Bílka <neleai@seznam.cz>
2969
2970 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
2971
9d17796a
SE
29722013-12-02 Steve Ellcey <sellcey@mips.com>
2973
2974 * benchtests/Makefile (bench): Add sqrt.
2975 (LDLIBS-bench-sqrt): New.
2976 * benchtests/sqrt-input: New.
2977
f524d6a8
PS
29782013-12-02 Pavel Simerda <psimerda@redhat.com>
2979
639a0ef8
PS
2980 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
2981 (GAIH_EAI): Likewise.
2982 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
2983 (gaih_inet): Likewise.
2984 (getaddrinfo): Don't use GAIH_EAI.
2985
f524d6a8
PS
2986 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
2987 (struct gaih): Remove definition.
2988
df3aedaf
SP
29892013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2990
2991 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
2992 Use HERRNOP directly.
2993
1ab19dec
AZ
29942013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2995
b42ad38d 2996 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 2997
176b0c79
JM
29982013-11-30 Joseph Myers <joseph@codesourcery.com>
2999
3000 * math/gen-auto-libm-tests.c (test_functions): Add more
3001 single-argument functions.
3002 (special_fill_pi_2): New function.
3003 (special_fill_minus_pi_2): Likewise.
3004 (special_fill_pi_6): Likewise.
3005 (special_fill_minus_pi_6): Likewise.
3006 (special_fill_pi_3): Likewise.
3007 (special_fill_2pi_3): Likewise.
3008 (special_fill_e): Likewise.
3009 (special_fill_1_e): Likewise.
3010 (special_fill_e_minus_1): Likewise.
3011 (special_real_inputs): Add more special inputs.
3012 (output_for_one_input_case): Do not require ERANGE on underflow to
3013 zero if round-to-nearest result does not underflow to zero, unless
3014 exact results required.
3015 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
3016 atan, atanh, cbrt, cos and cosh.
3017 * math/auto-libm-test-out: Regenerated.
3018 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
3019 (acos_tonearest_test_data): Likewise.
3020 (acos_towardzero_test_data): Likewise.
3021 (acos_downward_test_data): Likewise.
3022 (acos_upward_test_data): Likewise.
3023 (acosh_test_data): Likewise.
3024 (asin_test_data): Likewise.
3025 (asin_tonearest_test_data): Likewise.
3026 (asin_towardzero_test_data): Likewise.
3027 (asin_upward_test_data): Likewise.
3028 (asinh_test_data): Likewise.
3029 (atan_test_data): Likewise.
3030 (atanh_test_data): Likewise.
3031 (cbrt_test_data): Likewise.
3032 (cos_test_data): Likewise.
3033 (cos_tonearest_test_data): Likewise.
3034 (cos_towardzero_test_data): Likewise.
3035 (cos_downward_test_data): Likewise.
3036 (cos_upward_test_data): Likewise.
3037 (cosh_test_data): Likewise.
3038 (cosh_tonearest_test_data): Likewise.
3039 (cosh_towardzero_test_data): Likewise.
3040 (cosh_downward_test_data): Likewise.
3041 (cosh_upward_test_data): Likewise.
3042 * sysdeps/i386/fpu/libm-test-ulps: Update.
3043 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3044
ffb536d0
JM
30452013-11-29 Joseph Myers <joseph@codesourcery.com>
3046
2a77a467
JM
3047 [BZ #6787]
3048 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
3049 * math/w_exp10f.c (__exp10f): Likewise.
3050 * math/w_exp10l.c (__exp10l): Likewise.
3051 * math/libm-test.inc (exp10_test_data): Add more tests and expect
3052 errno settings in existing tests.
3053
ea3bc4e8
JM
3054 [BZ #14032]
3055 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
3056 precision control set to double precision.
3057 * sysdeps/i386/fpu/w_sqrt.c: New file.
3058 * math/auto-libm-test-in: Add more tests.
3059 * math/auto-libm-test-out: Update.
3060
0712c9d8
JM
3061 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
3062 (sqrt_test_tonearest): New function.
3063 (sqrt_towardzero_test_data): New variable.
3064 (sqrt_test_towardzero): New function.
3065 (sqrt_downward_test_data): New variable.
3066 (sqrt_test_downward): New function.
3067 (sqrt_upward_test_data): New variable.
3068 (sqrt_test_upward): New function.
3069 (main): Call the new functions.
3070
ffb536d0
JM
3071 * math/gen-auto-libm-tests.c: New file.
3072 * math/auto-libm-test-in: Likewise.
3073 * math/auto-libm-test-out: New generated file.
3074 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
3075 variables.
3076 (%beautify): Add generated representations of zero.
3077 (top level): Set $auto_input and call parse_auto_input.
3078 (beautify): Remove trailing "f" from hex float constants.
3079 (parse_args): Handle XFAIL_TEST.
3080 (convert_condition): New function.
3081 (or_value): Likewise.
3082 (or_cond_value): Likewise.
3083 (generate_testfile): Handle AUTO_TESTS_* lines.
3084 (parse_auto_input): New function.
3085 * math/libm-test.inc (XFAIL_TEST): New macro.
3086 (ERRNO_UNCHANGED): Update value.
3087 (ERRNO_EDOM): Likewise.
3088 (ERRNO_ERANGE): Likewise.
3089 (IGNORE_RESULT): Likewise.
3090 (TEST_COND_flt_32): New macro.
3091 (TEST_COND_dbl_64): Likewise.
3092 (TEST_COND_ldbl_96_intel): Likewise.
3093 (TEST_COND_ldbl_96_m68k): Likewise.
3094 (TEST_COND_ldbl_128): Likewise.
3095 (TEST_COND_ldbl_128ibm): Likewise.
3096 (TEST_COND_long32): Likewise.
3097 (TEST_COND_long64): Likewise.
3098 (TEST_COND_before_rounding): Likewise.
3099 (TEST_COND_after_rounding): Likewise.
3100 (enable_test): Handle XFAIL_TEST flag.
3101 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
3102 with finite results.
3103 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
3104 auto-libm-test-out.
3105
acd98a8e
AK
31062013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3107 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3108
3109 [BZ #16214]
3110 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
3111 __tls_get_addr_internal instead of __tls_get_offset in order to
3112 avoid GOT pointer dependency. Make rtld export
3113 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
3114 __tls_get_addr since we are a __tls_get_offset platform.
3115 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
3116 GOT pointer being set up before.
3117 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
3118
3c1c46a6
JM
31192013-11-28 Joseph Myers <joseph@codesourcery.com>
3120
7475aef5
JM
3121 * manual/math.texi (Errors in Math Functions): Document accuracy
3122 goals.
3123
8bca7cd8
JM
3124 [BZ #15004]
3125 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
3126 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
3127 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
3128 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3129 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3130 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3131 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3132 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
3133 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
3134 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3135 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3136 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3137 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3138 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3139 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
3140 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
3141
91a1f3fe
JM
3142 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
3143 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
3144 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
3145 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
3146 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
3147 Likewise.
3148 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
3149 Likewise.
3150 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
3151 Likewise.
3152 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
3153 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
3154 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
3155 atomic-feupdateenv and flt-rounds.
3156 * sysdeps/powerpc/nofpu/Versions (libc): Add
3157 __atomic_feholdexcept, __atomic_feclearexcept,
3158 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
3159 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
3160 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
3161 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
3162 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
3163 here.
3164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
3165 Update.
3166
c5df7609
JM
3167 * manual/arith.texi (FP Exceptions): Document that exceptions may
3168 not be raised when matherr is used.
3169 (Math Error Reporting): Document overflow in directed rounding
3170 modes. Document that errno may not be set when finite values are
3171 returned on overflow. Document intent to set errno on underflow
3172 only for underflow to zero.
3173
3c1c46a6
JM
3174 [BZ #16271]
3175 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
3176 round-to-nearest then adjust result for other rounding modes.
3177 * include/fenv.h (fegetround): Use libm_hidden_proto.
3178 * math/fegetround.c (fegetround): Use libm_hidden_def.
3179 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
3180 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
3181 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
3182 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
3183 Likewise.
3184 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
3185 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3186 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
3187 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
3188
5a4c6d53
SP
31892013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3190
3191 [BZ #16077]
3192 * nss/Versions (libnss_files): Add
3193 _nss_files_gethostbyname3_r.
3194 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
3195 New function.
3196 (HOST_DB_LOOKUP): Remove macro.
3197 (_nss_files_gethostbyname_r): Implement function without the
3198 HOST_DB_LOOKUP macro.
3199 (_nss_files_gethostbyname2_r): Likewise.
3200
897b98ba
OB
32012013-11-28 Ondřej Bílka <neleai@seznam.cz>
3202
3203 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
3204
6f476861
UB
32052013-11-26 Uros Bizjak <ubizjak@gmail.com>
3206
3207 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
3208 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
3209 warning.
3210
bd12ab55
AZ
32112013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3212
3213 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
3214 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
3215 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
3216 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
3217 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
3218 __fe_nomask_env_priv and attribute_hidden.
3219 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
3220 (libc_feupdateenv_test_ppc): Likewise.
3221 (libc_feresetround_ppc): Likewise.
3222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3223 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
3224 compat_symbol macro.
3225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3226 (__fe_nomask_env): Likewise.
3227 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
3228
52bb6543
OB
32292013-11-26 Ondřej Bílka <neleai@seznam.cz>
3230
3231 * string/Makefile: Remove ifunc tests.
3232 * string/test-string.h: Define TEST_IFUNC.
3233 * string/test-bcopy-ifunc.c: Remove.
3234 * string/test-bzero-ifunc.c: Likewise.
3235 * string/test-memccpy-ifunc.c: Likewise.
3236 * string/test-memchr-ifunc.c: Likewise.
3237 * string/test-memcmp-ifunc.c: Likewise.
3238 * string/test-memcpy-ifunc.c: Likewise.
3239 * string/test-memmem-ifunc.c: Likewise.
3240 * string/test-memmove-ifunc.c: Likewise.
3241 * string/test-mempcpy-ifunc.c: Likewise.
3242 * string/test-memrchr-ifunc.c: Likewise.
3243 * string/test-memset-ifunc.c: Likewise.
3244 * string/test-rawmemchr-ifunc.c: Likewise.
3245 * string/test-stpcpy-ifunc.c: Likewise.
3246 * string/test-stpncpy-ifunc.c: Likewise.
3247 * string/test-strcasecmp-ifunc.c: Likewise.
3248 * string/test-strcasestr-ifunc.c: Likewise.
3249 * string/test-strcat-ifunc.c: Likewise.
3250 * string/test-strchr-ifunc.c: Likewise.
3251 * string/test-strchrnul-ifunc.c: Likewise.
3252 * string/test-strcmp-ifunc.c: Likewise.
3253 * string/test-strcpy-ifunc.c: Likewise.
3254 * string/test-strcspn-ifunc.c: Likewise.
3255 * string/test-strlen-ifunc.c: Likewise.
3256 * string/test-strncasecmp-ifunc.c: Likewise.
3257 * string/test-strncat-ifunc.c: Likewise.
3258 * string/test-strncmp-ifunc.c: Likewise.
3259 * string/test-strncpy-ifunc.c: Likewise.
3260 * string/test-strnlen-ifunc.c: Likewise.
3261 * string/test-strpbrk-ifunc.c: Likewise.
3262 * string/test-strrchr-ifunc.c: Likewise.
3263 * string/test-strspn-ifunc.c: Likewise.
3264 * string/test-strstr-ifunc.c: Likewise.
3265
ab260039 32662013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
3267
3268 * benchtests/Makefile: Remove ifunc tests.
3269 * benchtests/bench-string.h: Define TEST_IFUNC.
3270 * benchtests/bench-bcopy-ifunc.c: Remove.
3271 * benchtests/bench-bzero-ifunc.c: Likewise.
3272 * benchtests/bench-memccpy-ifunc.c: Likewise.
3273 * benchtests/bench-memchr-ifunc.c: Likewise.
3274 * benchtests/bench-memcmp-ifunc.c: Likewise.
3275 * benchtests/bench-memcpy-ifunc.c: Likewise.
3276 * benchtests/bench-memmem-ifunc.c: Likewise.
3277 * benchtests/bench-memmove-ifunc.c: Likewise.
3278 * benchtests/bench-mempcpy-ifunc.c: Likewise.
3279 * benchtests/bench-memrchr-ifunc.c: Likewise.
3280 * benchtests/bench-memset-ifunc.c: Likewise.
3281 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
3282 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
3283 * benchtests/bench-stpcpy-ifunc.c: Likewise.
3284 * benchtests/bench-stpncpy-ifunc.c: Likewise.
3285 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
3286 * benchtests/bench-strcasestr-ifunc.c: Likewise.
3287 * benchtests/bench-strcat-ifunc.c: Likewise.
3288 * benchtests/bench-strchr-ifunc.c: Likewise.
3289 * benchtests/bench-strchrnul-ifunc.c: Likewise.
3290 * benchtests/bench-strcmp-ifunc.c: Likewise.
3291 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
3292 * benchtests/bench-strcpy-ifunc.c: Likewise.
3293 * benchtests/bench-strcspn-ifunc.c: Likewise.
3294 * benchtests/bench-strlen-ifunc.c: Likewise.
3295 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
3296 * benchtests/bench-strncat-ifunc.c: Likewise.
3297 * benchtests/bench-strncmp-ifunc.c: Likewise.
3298 * benchtests/bench-strncpy-ifunc.c: Likewise.
3299 * benchtests/bench-strnlen-ifunc.c: Likewise.
3300 * benchtests/bench-strpbrk-ifunc.c: Likewise.
3301 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 3302 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
3303 * benchtests/bench-strspn-ifunc.c: Likewise.
3304 * benchtests/bench-strstr-ifunc.c: Likewise.
3305
33062013-11-26 Ondřej Bílka <neleai@seznam.cz>
3307
ab260039
OB
3308 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
3309
d1d9eaf4 33102013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 3311
d1d9eaf4
OB
3312 * resolv/netdb.h: Use __glibc_reserved instead __unused.
3313 * rt/aio.h: Likewise.
3314 * sysdeps/gnu/bits/utmp.h: Likewise.
3315 * sysdeps/gnu/bits/utmpx.h: Likewise.
3316 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
3317 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
3318 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
3319 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
3320 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
3321 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
3322 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
3323 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
3324 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
3325 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
3326 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
3327 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
3328 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
3329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
3330 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
3331 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
3332 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
3333 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
3334 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
3335 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
3336 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
3337 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
3338 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
3339 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
3340 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
3341 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3342 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
3343 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
3344 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
3345 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
3346 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
3347 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
3348 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
3349 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
3350 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
3351 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
3352 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
3353 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
3354 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
3355 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
3356 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
3357 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
3358
a7624ed9
CD
33592013-11-25 Carlos O'Donell <carlos@redhat.com>
3360
3361 [BZ #16245]
3362 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
3363 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
3364
63cfe52b
JM
33652013-11-25 Joseph Myers <joseph@codesourcery.com>
3366
3367 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
3368 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
3369 Likewise.
3370
41e8926a
AZ
33712013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3372
3373 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
3374 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
3375 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
3376 (__fesetround): Remove define.
3377 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
3378 rounding and exceptions handling.
3379 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
3380 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
3381 (__fe_nomask_env): Likewise.
3382 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
3383 __fegetround instead of fegetround.
3384 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
3385 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
3386
6851bd4d
RM
33872013-11-21 Roland McGrath <roland@hack.frob.com>
3388
070906ff
RM
3389 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
3390 it's there.
3391
6851bd4d
RM
3392 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
3393
84ae135d
MI
33942013-11-21 Meador Inge <meadori@codesourcery.com>
3395
3396 [BZ #11157]
3397 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
3398 (encrypt_r): Likewise.
3399 * malloc/obstack.h (obstack_free): Likewise.
3400 * posix/unistd.h (encrypt): Likewise.
3401
daf75146
GM
34022013-11-21 Guy Martin <gmsoft@tuxicoman.be>
3403
3404 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
3405 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
3406 DL_CALL_DT_FINI() that call the functions directly.
3407 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
3408 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
3409 * elf/dl-fini.c: Likewise.
3410
10ad46bc
OB
34112013-11-20 Ondřej Bílka <neleai@seznam.cz>
3412
3413 * malloc/hooks.c (memalign_check): Add alignment rounding.
3414 * malloc/malloc.c (_mid_memalign): New function.
3415 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
3416 Implement by calling _mid_memalign.
3417 * manual/probes.texi (Memory Allocation Probes): Remove
3418 memory_valloc_retry and memory_pvalloc_retry.
3419
f3fd2628
SP
34202013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
3421
4712799f
SP
3422 * locale/programs/locarchive.c (open_archive): Add const
3423 qualifier to ARCHIVEFNAME and copy default fname to
3424 DEFAULT_FNAME.
3425
0417b20f
SP
3426 [BZ #15601]
3427 * libio/tst-widetext.input: Rename Oriya to Odia.
3428 * locale/iso-639.def: Likewise.
3429
f3fd2628
SP
3430 * manual/probes.texi (Mathematical Function Probes): Add
3431 documentation for sin, cos, asin and acos probes.
3432 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
3433 (__sin32): Add slowasin probe.
3434 (__cos32): Add slowacos probe.
3435 (__mpsin): Add slowsin probe.
3436 (__mpcos): Add slowcos probe.
3437
73c1ce4f
JM
34382013-11-19 Joseph Myers <joseph@codesourcery.com>
3439
3440 [BZ #15483]
3441 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
3442 thread-local __sim_exceptions_thread and global
3443 __sim_exceptions_global.
3444 (__sim_disabled_exceptions): Change to thread-local
3445 __sim_disabled_exceptions_thread and global
3446 __sim_disabled_exceptions_global.
3447 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
3448 and global __sim_round_mode_global.
3449 (__simulate_exceptions): Use thread-local floating-point state and
3450 set global state from it as needed.
3451 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
3452 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
3453 __sim_round_mode_thread.
3454 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
3455 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
3456 and global __sim_exceptions_global.
3457 (__sim_disabled_exceptions): Change to thread-local
3458 __sim_disabled_exceptions_thread and global
3459 __sim_disabled_exceptions_global.
3460 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
3461 and global __sim_round_mode_global.
3462 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
3463 (SIM_SET_GLOBAL): Likewise.
3464 * sysdeps/powerpc/soft-fp/sfp-machine.h
3465 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
3466 __sim_round_mode_thread.
3467 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
3468 __sim_disabled_exceptions_thread.
3469 (__sim_exceptions): Change to __sim_exceptions_thread.
3470 (__sim_disabled_exceptions): Change to
3471 __sim_disabled_exceptions_thread.
3472 (__sim_round_mode): Change to __sim_round_mode_thread.
3473 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
3474 thread-local floating-point state and set global state from it as
3475 needed.
3476 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
3477 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
3478 (__sim_disabled_exceptions): Remove extern declaration.
3479 (feenableexcept): Use thread-local floating-point state and set
3480 global state from it as needed.
3481 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
3482 extern declaration.
3483 (__sim_disabled_exceptions): Likewise.
3484 (__sim_round_mode): Likewise.
3485 (__fegetenv): Use thread-local floating-point state.
3486 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
3487 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
3488 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
3489 floating-point state and set global state from it as needed.
3490 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
3491 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
3492 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
3493 Likewise.
3494 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
3495 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
3496 Likewise.
3497 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
3498 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
3499 Use __sim_round_mode_thread.
3500 * math/test-fenv-tls.c: New file.
3501 * math/Makefile (tests): Add test-fenv-tls.
3502 ($(objpfx)test-fenv-tls): Depend on
3503 $(common-objpfx)nptl/libpthread.so.
3504
b5449b12
AS
35052013-11-19 Andreas Schwab <schwab@suse.de>
3506
3507 * locale/programs/locale.c (show_info): Decode wordarray elements.
3508 * locale/categories.def (LC_MONETARY): Add element for
3509 _NL_MONETARY_CRNCYSTR.
3510 * locale/C-monetary.c (conversion_rate): New variable.
3511 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
3512 element.
3513
e186536b
CM
35142013-11-18 Chris Metcalf <cmetcalf@tilera.com>
3515
3516 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
3517 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
3518
5c349950
PP
35192013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
3520
3521 * elf/Makefile (tst-auxv): New test.
3522 * elf/tst-auxv.c: New
3523 * elf/rtld.c (dl_main): Adjust AT_EXECFN
3524
699df45b
JM
35252013-11-18 Joseph Myers <joseph@codesourcery.com>
3526
3527 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
3528 (hidden_proto): Caller changed.
3529 (hidden_tls_proto): New macro.
3530 (libc_hidden_tls_proto): Likewise.
3531 (rtld_hidden_tls_proto): Likewise.
3532 (libm_hidden_tls_proto): Likewise.
3533 (libresolv_hidden_tls_proto): Likewise.
3534 (librt_hidden_tls_proto): Likewise.
3535 (libdl_hidden_tls_proto): Likewise.
3536 (libnss_files_hidden_tls_proto): Likewise.
3537 (libnsl_hidden_tls_proto): Likewise.
3538 (libnss_nisplus_hidden_tls_proto): Likewise.
3539 (libutil_hidden_tls_proto): Likewise.
3540
b7589107
OB
35412013-11-18 Ondřej Bílka <neleai@seznam.cz>
3542
3543 [BZ #10253]
3544 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
3545 (decompose_rpath): Defer expansion to fillin_rpath.
3546 (_dl_init_paths): Pass linkmap to fillin_rpath.
3547
250c23bd
RS
35482013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3549
3550 * benchtests/Makefile: Add strsep.
3551 * benchtests/bench-strsep.c: New file: strsep benchtest.
3552 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
3553
a7931fcf
AS
35542013-11-18 Andreas Schwab <schwab@suse.de>
3555
3556 * locale/programs/locale.c (show_info) [case byte]: Check for
3557 '\377' instead of '\177'.
3558 * locale/C-monetary.c (not_available): Always use "\377".
3559 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
3560 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
3561 detect unavailable sign_posn locale elements.
3562 * locale/localeconv.c (__localeconv): For grouping and
3563 mon_grouping handle "\177" and "\377" like no grouping.
3564 (INT_ELEM): New macro. Use it to set all numeric members.
3565 * locale/programs/ld-monetary.c (monetary_read)
3566 <tok_mon_grouping>: Normalize single -1 to the empty string.
3567 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
3568 Likewise.
3569
728dab0e
OB
35702013-11-07 Ondřej Bílka <neleai@seznam.cz>
3571
3572 [BZ #16055]
3573 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
3574 when we match (nil).
3575 * stdio-common/tst-sscanf.c (struct test): Add testcase.
3576
66294491
JM
35772013-11-16 Joseph Myers <joseph@codesourcery.com>
3578
ce665817
JM
3579 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
3580 (NO_TEST_INLINE): Update value.
3581 (ERRNO_UNCHANGED): Likewise.
3582 (ERRNO_EDOM): Likewise.
3583 (ERRNO_ERANGE): Likewise.
3584 (IGNORE_RESULT): Likewise.
3585 (check_float_internal): Check signs of NaN results if
3586 TEST_NAN_SIGN used.
3587 (check_complex): Pass TEST_NAN_SIGN flag through to second
3588 check_float_internal call.
3589 (copysign_test_data): Add tests with quiet NaNs as second
3590 argument. Use TEST_NAN_SIGN.
3591 (fabs_test_data): Add test of negative quiet NaN argument. Use
3592 TEST_NAN_SIGN.
3593 (signbit_test_data): Add tests of quiet NaN argument.
3594 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
3595
ee1466a9
JM
3596 * math/gen-libm-test.pl (show_exceptions): Take extra argument
3597 $ignore_result.
3598 (parse_args): Handle function results specified as IGNORE.
3599 * math/libm-test.inc (IGNORE_RESULT): New macro.
3600 (check_float_internal): Do not check numerical result if flag
3601 IGNORE_RESULT set.
3602 (check_complex): Pass through IGNORE_RESULT to second
3603 check_float_internal call.
3604 (check_int): Do not check numerical result if flag IGNORE_RESULT
3605 set.
3606 (check_long): Likewise.
3607 (check_bool): Likewise.
3608 (check_longlong): Likewise.
3609 (lrint_test_data): Add tests of infinite and NaN arguments.
3610 (lrint_tonearest_test_data): Likewise.
3611 (lrint_towardzero_test_data): Likewise.
3612 (lrint_downward_test_data): Likewise.
3613 (lrint_upward_test_data): Likewise.
3614 (llrint_test_data): Likewise.
3615 (llrint_tonearest_test_data): Likewise.
3616 (llrint_towardzero_test_data): Likewise.
3617 (llrint_downward_test_data): Likewise.
3618 (llrint_upward_test_data): Likewise.
3619 (lround_test_data): Likewise.
3620 (llround_test_data): Likewise.
3621
14407b7e
JM
3622 * math/libm-test.inc (NO_TEST_INLINE): New macro.
3623 (ERRNO_UNCHANGED): Update value.
3624 (ERRNO_EDOM): Likewise.
3625 (ERRNO_ERANGE): Likewise.
3626 (NO_TEST_INLINE_FLOAT): New macro.
3627 (NO_TEST_INLINE_DOUBLE): Likewise.
3628 (enable_test): New function.
3629 (RUN_TEST_f_f): Check enable_test before running test.
3630 (RUN_TEST_2_f): Likewise.
3631 (RUN_TEST_fff_f): Likewise.
3632 (RUN_TEST_c_f): Likewise.
3633 (RUN_TEST_f_f1): Likewise.
3634 (RUN_TEST_fF_f1): Likewise.
3635 (RUN_TEST_fI_f1): Likewise.
3636 (RUN_TEST_ffI_f1): Likewise.
3637 (RUN_TEST_c_c): Likewise.
3638 (RUN_TEST_cc_c): Likewise.
3639 (RUN_TEST_f_i): Likewise.
3640 (RUN_TEST_f_i_tg): Likewise.
3641 (RUN_TEST_ff_i_tg): Likewise.
3642 (RUN_TEST_f_b): Likewise.
3643 (RUN_TEST_f_b_tg): Likewise.
3644 (RUN_TEST_f_l): Likewise.
3645 (RUN_TEST_f_L): Likewise.
3646 (RUN_TEST_fFF_11): Likewise.
3647 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
3648 conditionals.
3649 (cosh_test_data): Likewise.
3650 (exp_test_data): Likewise.
3651 (expm1_test_data): Likewise.
3652 (hypot_test_data): Likewise.
3653 (pow_test_data): Likewise.
3654 (sinh_test_data): Likewise.
3655 (tanh_test_data): Likewise.
3656 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
3657 flags argument.
3658
ca07f197
JM
3659 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
3660 tests with quiet NaN input and output.
3661 (acosh_test_data): Likewise.
3662 (asin_test_data): Likewise.
3663 (asinh_test_data): Likewise.
3664 (atan_test_data): Likewise.
3665 (atanh_test_data): Likewise.
3666 (atan2_test_data): Likewise.
3667 (cbrt_test_data): Likewise.
3668 (cos_test_data): Likewise.
3669 (cosh_test_data): Likewise.
3670 (erf_test_data): Likewise.
3671 (erfc_test_data): Likewise.
3672 (exp_test_data): Likewise.
3673 (exp10_test_data): Likewise.
3674 (exp2_test_data): Likewise.
3675 (expm1_test_data): Likewise.
3676 (hypot_test_data): Likewise.
3677 (j0_test_data): Likewise.
3678 (j1_test_data): Likewise.
3679 (jn_test_data): Likewise.
3680 (lgamma_test_data): Likewise.
3681 (log_test_data): Likewise.
3682 (log10_test_data): Likewise.
3683 (log1p_test_data): Likewise.
3684 (log2_test_data): Likewise.
3685 (pow_test_data): Likewise.
3686 (scalb_test_data): Likewise.
3687 (sin_test_data): Likewise.
3688 (sincos_test_data): Likewise.
3689 (sinh_test_data): Likewise.
3690 (tan_test_data): Likewise.
3691 (tanh_test_data): Likewise.
3692 (tgamma_test_data): Likewise.
3693 (y0_test_data): Likewise.
3694 (y1_test_data): Likewise.
3695 (yn_test_data): Likewise.
3696
66294491
JM
3697 [BZ #16167]
3698 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
3699 argument being NaN and avoid computations with second argument in
3700 that case.
3701 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3702 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3703 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3704
1820b143
CL
37052013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
3706
3707 * locale/iso-639.def: Add Chitwani Tharu (the).
3708
714bd261
AS
37092013-11-14 Andreas Schwab <schwab@suse.de>
3710
3711 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
3712 word instead of empty string.
3713
7ab44563
AZ
37142013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3715
3716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3717 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
3718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3719 (__fe_nomask_env): Likewise.
3720
e8470ea2
SE
37212013-11-13 Steve Ellcey <sellcey@mips.com>
3722
3723 * benchtests/bench-timing.h: Include time.h.
3724
17c1d9f0
L
37252013-11-13 H.J. Lu <hongjiu.lu@intel.com>
3726
3727 [BZ #15997]
3728 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
3729 to 3.4.0 for x32.
3730 * sysdeps/unix/sysv/linux/configure: Regenerated.
3731
9310c284
JM
37322013-11-13 Joseph Myers <joseph@codesourcery.com>
3733
3734 [BZ #16151]
3735 * stdlib/strtod_l.c (round_and_return): Do not consider
3736 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
3737 exponent one less than half the least subnormal exponent.
3738 * stdlib/test-strtod-round-data: Add more tests.
3739 * stdlib/tst-strtod-round.c (tests): Regenerated.
3740
7a2ad8cf
AZ
37412013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3742
3743 [BZ #14143]
3744 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
3745 (__fe_mask_env): Likewise.
3746 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
3747 libm_hidden_proto and add function prototype.
3748 (__fe_mask_env): Add function prototype.
3749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3750 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
3751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3752 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
3753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3754 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
3755
50727aa7
MS
37562013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3757
b2f386c1 3758 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
3759 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
3760
a615be46
MS
37612013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3762
3763 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
3764 of htab_find_slot().
3765
7ddace62
DM
37662013-11-11 David S. Miller <davem@davemloft.net>
3767
3768 [BZ #16150]
3769 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
3770 symbol in the non-vis3 case in static builds.
3771 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
3772 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
3773 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
3774 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
3775
9182aa67
JK
37762013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3777
3778 [BZ #387]
3779 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
3780 it is empty.
3781
450a2e2d
AZ
37822013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3783
b2f386c1
SP
3784 * benchtests/Makefile: Add bench-strtod.
3785 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 3786
8ec3f656
AS
37872013-11-11 Andreas Schwab <schwab@suse.de>
3788
3789 [BZ #16153]
3790 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
3791 terminating NUL in key length.
3792
76a9b998
AZ
37932013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3794
3795 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
3796 Add artificial ODP entry for vDSO symbol for PPC64.
3797 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
3798 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
3799
e4368156
OB
38002013-11-07 Ondřej Bílka <neleai@seznam.cz>
3801
3802 [BZ #15374]
3803 * nss/getent.c (services_keys): Recognize services starting with digit.
3804
8d6bb57c
DM
38052013-11-06 David S. Miller <davem@davemloft.net>
3806
3807 [BZ #15985]
3808 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
3809 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
3810
e256c421
WN
38112013-11-06 Will Newton <will.newton@linaro.org>
3812
3813 * manual/memory.texi (Malloc Examples): Remove register
3814 keyword from examples.
3815
f6e12daa 38162013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 3817
f6e12daa 3818 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 3819
9d880655
AS
38202013-11-04 Joseph Myers <joseph@codesourcery.com>
3821
3822 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
3823 depending on [__GCC_IEC_559 > 0].
3824 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
3825 depending on [__GCC_IEC_559_COMPLEX > 0].
3826
ae129d3c
CL
38272013-11-03 Chris Leonard <cjl@sugarlabs.org>
3828
3829 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
3830 to iso-639.def.
3831
4a15c2a4 38322013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
3833
3834 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
3835
8b35e35d
OB
38362013-11-01 Ondřej Bílka <neleai@seznam.cz>
3837
3838 [BZ #16112]
3839 * malloc/malloc (malloc_info): Do not handle first bin as
3840 special case.
3841
1d70fd6c
CL
38422013-11-01 Chris Leonard <cjl@sugarlabs.org>
3843
3844 * locale/iso-639.def: Add Central Nahuatl (nhn).
3845
8c5c2600
BH
38462013-11-01 Bruno Haible <bruno@clisp.org>
3847
3848 [BZ #7003]
3849 * manual/math.texi (BSD Random): Specify range upper bound as
3850 in POSIX.
3851
da5579c2
CL
38522013-10-31 Chris Leonard <cjl@sugarlabs.org>
3853
3854 * locale/iso-639.def: Add Meadow Mari (mhr).
3855
5d30d853
OB
38562013-10-31 Ondřej Bílka <neleai@seznam.cz>
3857
3858 [BZ #14752], [BZ #15763]
3859 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
3860 Validate name.
3861 * rt/tst_shm.c: Add test for escaping directory.
3862
a4966c61
AS
38632013-10-31 Andreas Schwab <schwab@suse.de>
3864
8a43e768 3865 [BZ #15917]
a4966c61
AS
3866 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
3867 followed by 'x' as part of digit sequence.
3868 * stdio-common/tst-sscanf.c (double_tests2): New tests.
3869
28d708c4
MAP
38702013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
3871
3872 [BZ #16037]
3873 * configure.ac: allow GNU Make 4.0 and greater.
3874 * configure: Regenerated.
3875
a56ee40b
WN
38762013-10-30 Will Newton <will.newton@linaro.org>
3877
3878 [BZ #16038]
3879 * malloc/hooks.c (memalign_check): Limit alignment to the
3880 maximum representable power of two.
3881 * malloc/malloc.c (__libc_memalign): Likewise.
3882 * malloc/tst-memalign.c (do_test): Add test for very
3883 large alignment values.
3884 * malloc/tst-posix_memalign.c (do_test): Likewise.
3885
c6e4925d
OB
38862013-10-30 Ondřej Bílka <neleai@seznam.cz>
3887
3888 [BZ #11087]
3889 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
3890 (munmap_chunk): Likewise.
3891 (mremap_chunk): Likewise.
3892
38932013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 3894
8a43e768 3895 [BZ #15799]
bbea82f7
OB
3896 * stdlib/div.c (div): Remove obsolete code.
3897 * stdlib/ldiv.c (ldiv): Likewise.
3898 * stdlib/lldiv.c (lldiv): Likewise.
3899
977f4b31
SP
39002013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3901
3902 [BZ #16071]
3903 * nss/nss_files/files-XXX.c (get_contents_ret): New
3904 enumerator.
3905 (get_contents): New function.
3906 (internal_getent): Use it. Expand size of LINEBUFLEN.
3907
cb8a6dbd
MF
39082013-10-30 Mike Frysinger <vapier@gentoo.org>
3909
3910 * configure.in: Moved to ...
3911 * configure.ac: ... here. Change reference to configure.in
3912 to configure.ac.
3913 * sysdeps/arm/preconfigure.ac: ... here.
3914 configure.in to configure.ac.
3915 * sysdeps/gnu/configure.in: Moved to ...
3916 * sysdeps/gnu/configure.ac: ... here.
3917 * sysdeps/i386/configure.in: Moved to ...
3918 * sysdeps/i386/configure.ac: ... here.
3919 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
3920 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
3921 * sysdeps/mach/configure.in: Moved to ...
3922 * sysdeps/mach/configure.ac: ... here.
3923 * sysdeps/mach/hurd/configure.in: Moved to ...
3924 * sysdeps/mach/hurd/configure.ac: ... here.
3925 * sysdeps/powerpc/configure.in: Moved to ...
3926 * sysdeps/powerpc/configure.ac: ... here.
3927 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
3928 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
3929 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
3930 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
3931 * sysdeps/s390/s390-32/configure.in: Moved to ...
3932 * sysdeps/s390/s390-32/configure.ac: ... here.
3933 * sysdeps/s390/s390-64/configure.in: Moved to ...
3934 * sysdeps/s390/s390-64/configure.ac: ... here.
3935 * sysdeps/sh/configure.in: Moved to ...
3936 * sysdeps/sh/configure.ac: ... here.
3937 * sysdeps/sparc/configure.in: Moved to ...
3938 * sysdeps/sparc/configure.ac: ... here.
3939 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
3940 * sysdeps/unix/sysv/linux/configure.ac: ... here.
3941 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
3942 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
3943 * sysdeps/x86_64/configure.in: Moved to ...
3944 * sysdeps/x86_64/configure.ac: ... here.
3945 * sysdeps/x86_64/preconfigure.in: Moved to ...
3946 * sysdeps/x86_64/preconfigure.ac: ... here.
3947 * aclocal.m4: Change reference to configure.in to configure.ac.
3948 * config.h.in: Likewise.
3949 * manual/install.texi: Likewise.
3950 * manual/maint.texi: Likewise.
3951 * Makefile: Likewise.
3952 * malloc/Makefile: Likewise.
3953 * nscd/Makefile: Likewise.
3954 * Makeconfig: Change reference to configure.in and
3955 preconfigure.in to configure.ac and preconfigure.ac
3956 respectively.
3957 * INSTALL: Regenerated.
3958 * configure: Likewise.
3959 * sysdeps/gnu/configure: Likewise.
3960 * sysdeps/i386/configure: Likewise.
3961 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
3962 * sysdeps/mach/configure: Likewise.
3963 * sysdeps/mach/hurd/configure: Likewise.
3964 * sysdeps/powerpc/configure: Likewise.
3965 * sysdeps/powerpc/powerpc32/configure: Likewise.
3966 * sysdeps/powerpc/powerpc64/configure: Likewise.
3967 * sysdeps/s390/s390-32/configure: Likewise.
3968 * sysdeps/s390/s390-64/configure: Likewise.
3969 * sysdeps/sh/configure: Likewise.
3970 * sysdeps/sparc/configure: Likewise.
3971 * sysdeps/unix/sysv/linux/configure: Likewise.
3972 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
3973 * sysdeps/x86_64/configure: Likewise.
3974 * sysdeps/x86_64/preconfigure: Likewise.
3975
36a4953a
AS
39762013-10-29 Andreas Schwab <schwab@suse.de>
3977
3978 * stdio-common/Makefile (tst-swscanf-ENV): Define.
3979
c79a1204
SP
39802013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3981
dfa1b402
SP
3982 * benchtests/pow-inputs: Add new inputs.
3983
54f73d9c
SP
3984 * benchtests/exp-inputs: Add new inputs.
3985
c79a1204
SP
3986 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
3987 conditional check for return value.
3988 (__cos32): Likewise.
3989
67beb545 39902013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
3991
3992 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
3993 to provide a boost for large inputs with word alignment.
3994 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
3995 implementation based on optimized PPC64 strcpy.
3996 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
3997 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
3998 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
3999 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
4000
151659f6
OB
40012013-10-25 Ondřej Bílka <neleai@seznam.cz>
4002
482a077e 4003 [BZ #2801]
151659f6
OB
4004 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
4005
10b0f26b
OB
40062013-10-25 Ondřej Bílka <neleai@seznam.cz>
4007
4008 [BZ #14876]
4009 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
4010 * time/tst-strptime.c (day_tests): Add testcase.
4011
ca42d35e
OB
40122013-10-25 Ondřej Bílka <neleai@seznam.cz>
4013
482a077e 4014 [BZ #14029]
ca42d35e
OB
4015 * manual/pattern.texi: Acknowledge that fnmatch can fail.
4016
52e6d801
FB
40172013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
4018
4019 [BZ #16074]
4020 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
4021 MAP_FAILED on error.
4022
7cbcdb36
SP
40232013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4024
4025 [BZ #16072]
4026 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
4027 heap for large requests.
4028
894f3f10
AM
40292013-10-25 Aurelien Jarno <aurelien@aurel32.net>
4030
4031 [BZ #9954]
4032 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
4033 result if the result has no associated interface.
4034 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
4035 interface for all 127.X.Y.Z addresses.
4036
b85545a6
CL
40372013-10-24 Chris Leonard <cjl@sugarlabs.org>
4038
4039 * locale/iso-639.def: Add Ligurian (lij)
4040
d1f23d46
OB
40412013-10-21 Ondřej Bílka <neleai@seznam.cz>
4042
4043 [BZ #15825]
4044 * sunrpc/rpc_main.c: Document rpcgen -5.
4045
4db5b08f
MS
40462013-10-19 Michael Stahl <mstahl@redhat.com>
4047
4048 * elf/rtld.c (do_preload): Print the reason why preloading failed.
4049
a471e96a
OB
40502013-10-19 Ondřej Bílka <neleai@seznam.cz>
4051
d1f23d46 4052 [BZ #10278]
a471e96a
OB
4053 * posix/glob.c: Match only directories when trailing slash is present.
4054 * posix/tst-gnuglob.c (my_opendir): Do not open files.
4055 (main): Add testcase.
4056
45c30c61
OB
40572013-10-19 Ondřej Bílka <neleai@seznam.cz>
4058
4059 [BZ #15670]
4060 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
4061
484c12fb
CD
40622013-10-18 Carlos O'Donell <carlos@redhat.com>
4063
3d7dc513
CD
4064 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
4065 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
4066 AUTH_DES and cindex for FIPS 140-2.
4067 (DES Encryption): Add cindex FIPS 46-3.
4068
484c12fb
CD
4069 * locale/locarchive.h (struct locarhandle): Add fname.
4070 * locale/programs/localedef.c (main): Pass ARGV[remaining]
4071 if an optional argument was specified to --list-archive,
4072 otherwise NULL.
4073 * locale/programs/locarchive.c (show_archive_content): Take new
4074 argument fname and pass it via ah.fname to open_archive.
4075 * locale/programs/localedef.h: Update decl.
4076 (open_archive): If AH->fname is non-null, open that file
4077 rather than the default file name, and don't ignore ENOENT.
4078 (create_archive): Set AH.fname to NULL.
4079 (delete_locales_from_archive): Likewise.
4080 (add_locales_to_archive): Likewise.
4081 * locale/programs/locfile.c (write_all_categories): Likewise.
4082
3c8325fb
JM
40832013-10-18 Joseph Myers <joseph@codesourcery.com>
4084 Aldy Hernandez <aldyh@redhat.com>
4085
4086 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
4087 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
4088 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
4089 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
4090 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
4091 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
4092 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
4093 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
4094 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
4095 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
4096 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
4097 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
4098 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
4099 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
4100 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
4101 Likewise.
4102 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
4103 Likewise.
4104 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
4105 Likewise.
4106 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
4107 Likewise.
4108 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
4109 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
4110 Likewise.
4111 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
4112 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
4113 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
4114 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
4115 Likewise.
4116 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
4117 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
4118 * sysdeps/powerpc/preconfigure: Likewise.
4119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
4120 Likewise.
4121 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
4122 Replace contents of file by #include of <fenv_libc.h>.
4123 * sysdeps/powerpc/soft-fp/sfp-machine.h
4124 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
4125 and <sys/prctl.h>.
4126 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
4127 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
4128 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
4129 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
4130 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
4131 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
4132 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
4133 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
4134 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
4135 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
4136 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
4137 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
4138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
4139 Allow copysignl PLT reference to be missing.
4140
5abe0682
RS
41412013-10-18 Richard Sandiford <richard@codesourcery.com>
4142 Joseph Myers <joseph@codesourcery.com
4143
4144 [BZ #15948]
4145 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
4146 single character.
4147 (add_to_tablewc): Assert sequence of wide characters is nonempty.
4148
c7738d08
SP
41492013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4150
4151 * elf/tst-tls-dlinfo.c: Don't include tls.h.
4152 * elf/tst-tls1.c: Likewise.
4153 * elf/tst-tls10.h: Likewise.
4154 * elf/tst-tls14.c: Likewise.
4155 * elf/tst-tls2.c: Likewise.
4156 * elf/tst-tls3.c: Likewise.
4157 * elf/tst-tls4.c: Likewise.
4158 * elf/tst-tls5.c: Likewise.
4159 * elf/tst-tls6.c: Likewise.
4160 * elf/tst-tls7.c: Likewise.
4161 * elf/tst-tls8.c: Likewise.
4162 * elf/tst-tls9.c: Likewise.
4163 * elf/tst-tlsmod1.c: Likewise.
4164 * elf/tst-tlsmod13.c: Likewise.
4165 * elf/tst-tlsmod13a.c: Likewise.
4166 * elf/tst-tlsmod14a.c: Likewise.
4167 * elf/tst-tlsmod16a.c: Likewise.
4168 * elf/tst-tlsmod16b.c: Likewise.
4169 * elf/tst-tlsmod2.c: Likewise.
4170 * elf/tst-tlsmod3.c: Likewise.
4171 * elf/tst-tlsmod4.c: Likewise.
4172 * elf/tst-tlsmod5.c: Likewise.
4173 * elf/tst-tlsmod6.c: Likewise.
4174
0bfcf2c7
OB
41752013-10-18 Ondřej Bílka <neleai@seznam.cz>
4176
4177 [BZ #12486]
4178 * malloc/malloc.c: remove checks for statistics.
4179
264aad1e
OB
41802013-10-17 Ondřej Bílka <neleai@seznam.cz>
4181
4182 [BZ #15277]
4183 * inet/inet_net.c (inet_network): Detect additional invalid strings.
4184 * inet/tst-network.c: Add testcase.
4185
b957ced8
AS
41862013-10-17 Andreas Schwab <schwab@suse.de>
4187
4188 [BZ #15218]
4189 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
4190 to determine canonical name.
4191
c5d5d574
OB
41922013-10-17 Ondřej Bílka <neleai@seznam.cz>
4193
4194 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
4195 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
4196 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4197 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4198 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4199 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4200 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4201 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4202 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
4203 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4204 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
4205 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4206 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4207 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4208 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4209 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4210 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4211 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4212 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
4213 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4214 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4215 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4216 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4217 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
4218 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
4219 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4220 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4221 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
4222 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4223 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
4224 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4225 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4226 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
4227 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4228 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4229 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4230 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4231 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4232 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4233 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4234 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4235 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4236 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
4237 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4238 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
4239 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4240 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4241 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
4242 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
4243 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4244 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
4245 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4246 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4247 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
4248 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4249 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
4250 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4251 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4252
e5c2c2d0
JM
42532013-10-17 Joseph Myers <joseph@codesourcery.com>
4254
4255 [BZ #16041]
4256 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
4257 make result into a quiet NaN.
4258
51ca9e29
JM
42592013-10-16 Joseph Myers <joseph@codesourcery.com>
4260
4261 * soft-fp/adddf3.c: Fix horizontal whitespace.
4262 * soft-fp/addsf3.c: Likewise.
4263 * soft-fp/addtf3.c: Likewise.
4264 * soft-fp/divdf3.c: Likewise.
4265 * soft-fp/divsf3.c: Likewise.
4266 * soft-fp/divtf3.c: Likewise.
4267 * soft-fp/double.h: Likewise.
4268 * soft-fp/eqdf2.c: Likewise.
4269 * soft-fp/eqsf2.c: Likewise.
4270 * soft-fp/eqtf2.c: Likewise.
4271 * soft-fp/extenddftf2.c: Likewise.
4272 * soft-fp/extended.h: Likewise.
4273 * soft-fp/extendsfdf2.c: Likewise.
4274 * soft-fp/extendsftf2.c: Likewise.
4275 * soft-fp/extendxftf2.c: Likewise.
4276 * soft-fp/fixdfdi.c: Likewise.
4277 * soft-fp/fixdfsi.c: Likewise.
4278 * soft-fp/fixdfti.c: Likewise.
4279 * soft-fp/fixsfdi.c: Likewise.
4280 * soft-fp/fixsfsi.c: Likewise.
4281 * soft-fp/fixsfti.c: Likewise.
4282 * soft-fp/fixtfdi.c: Likewise.
4283 * soft-fp/fixtfsi.c: Likewise.
4284 * soft-fp/fixtfti.c: Likewise.
4285 * soft-fp/fixunsdfdi.c: Likewise.
4286 * soft-fp/fixunsdfsi.c: Likewise.
4287 * soft-fp/fixunsdfti.c: Likewise.
4288 * soft-fp/fixunssfdi.c: Likewise.
4289 * soft-fp/fixunssfsi.c: Likewise.
4290 * soft-fp/fixunssfti.c: Likewise.
4291 * soft-fp/fixunstfdi.c: Likewise.
4292 * soft-fp/fixunstfsi.c: Likewise.
4293 * soft-fp/fixunstfti.c: Likewise.
4294 * soft-fp/floatdidf.c: Likewise.
4295 * soft-fp/floatdisf.c: Likewise.
4296 * soft-fp/floatditf.c: Likewise.
4297 * soft-fp/floatsidf.c: Likewise.
4298 * soft-fp/floatsisf.c: Likewise.
4299 * soft-fp/floatsitf.c: Likewise.
4300 * soft-fp/floattidf.c: Likewise.
4301 * soft-fp/floattisf.c: Likewise.
4302 * soft-fp/floattitf.c: Likewise.
4303 * soft-fp/floatundidf.c: Likewise.
4304 * soft-fp/floatundisf.c: Likewise.
4305 * soft-fp/floatunditf.c: Likewise.
4306 * soft-fp/floatunsidf.c: Likewise.
4307 * soft-fp/floatunsisf.c: Likewise.
4308 * soft-fp/floatunsitf.c: Likewise.
4309 * soft-fp/floatuntidf.c: Likewise.
4310 * soft-fp/floatuntisf.c: Likewise.
4311 * soft-fp/floatuntitf.c: Likewise.
4312 * soft-fp/fmadf4.c: Likewise.
4313 * soft-fp/fmasf4.c: Likewise.
4314 * soft-fp/fmatf4.c: Likewise.
4315 * soft-fp/gedf2.c: Likewise.
4316 * soft-fp/gesf2.c: Likewise.
4317 * soft-fp/getf2.c: Likewise.
4318 * soft-fp/ledf2.c: Likewise.
4319 * soft-fp/lesf2.c: Likewise.
4320 * soft-fp/letf2.c: Likewise.
4321 * soft-fp/muldf3.c: Likewise.
4322 * soft-fp/mulsf3.c: Likewise.
4323 * soft-fp/multf3.c: Likewise.
4324 * soft-fp/negdf2.c: Likewise.
4325 * soft-fp/negsf2.c: Likewise.
4326 * soft-fp/negtf2.c: Likewise.
4327 * soft-fp/op-1.h: Likewise.
4328 * soft-fp/op-2.h: Likewise.
4329 * soft-fp/op-4.h: Likewise.
4330 * soft-fp/op-8.h: Likewise.
4331 * soft-fp/op-common.h: Likewise.
4332 * soft-fp/quad.h: Likewise.
4333 * soft-fp/single.h: Likewise.
4334 * soft-fp/soft-fp.h: Likewise.
4335 * soft-fp/sqrtdf2.c: Likewise.
4336 * soft-fp/sqrtsf2.c: Likewise.
4337 * soft-fp/sqrttf2.c: Likewise.
4338 * soft-fp/subdf3.c: Likewise.
4339 * soft-fp/subsf3.c: Likewise.
4340 * soft-fp/subtf3.c: Likewise.
4341 * soft-fp/truncdfsf2.c: Likewise.
4342 * soft-fp/trunctfdf2.c: Likewise.
4343 * soft-fp/trunctfsf2.c: Likewise.
4344 * soft-fp/trunctfxf2.c: Likewise.
4345 * soft-fp/unorddf2.c: Likewise.
4346 * soft-fp/unordsf2.c: Likewise.
4347 * soft-fp/unordtf2.c: Likewise.
4348
9ebb0332
JM
43492013-10-15 Joseph Myers <joseph@codesourcery.com>
4350
4351 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
4352 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
4353
4b1a6d8b
OB
43542013-10-15 Ondřej Bílka <neleai@seznam.cz>
4355
4356 * elf/dl-libc.c: Clear initfini list after freeing.
4357
1e145589
JM
43582013-10-14 Joseph Myers <joseph@codesourcery.com>
4359
4360 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
4361 * soft-fp/addsf3.c: Likewise.
4362 * soft-fp/addtf3.c: Likewise.
4363 * soft-fp/divdf3.c: Likewise.
4364 * soft-fp/divsf3.c: Likewise.
4365 * soft-fp/divtf3.c: Likewise.
4366 * soft-fp/double.h: Likewise.
4367 * soft-fp/eqdf2.c: Likewise.
4368 * soft-fp/eqsf2.c: Likewise.
4369 * soft-fp/eqtf2.c: Likewise.
4370 * soft-fp/extenddftf2.c: Likewise.
4371 * soft-fp/extended.h: Likewise.
4372 * soft-fp/extendsfdf2.c: Likewise.
4373 * soft-fp/extendsftf2.c: Likewise.
4374 * soft-fp/extendxftf2.c: Likewise.
4375 * soft-fp/fixdfdi.c: Likewise.
4376 * soft-fp/fixdfsi.c: Likewise.
4377 * soft-fp/fixdfti.c: Likewise.
4378 * soft-fp/fixsfdi.c: Likewise.
4379 * soft-fp/fixsfsi.c: Likewise.
4380 * soft-fp/fixsfti.c: Likewise.
4381 * soft-fp/fixtfdi.c: Likewise.
4382 * soft-fp/fixtfsi.c: Likewise.
4383 * soft-fp/fixtfti.c: Likewise.
4384 * soft-fp/fixunsdfdi.c: Likewise.
4385 * soft-fp/fixunsdfsi.c: Likewise.
4386 * soft-fp/fixunsdfti.c: Likewise.
4387 * soft-fp/fixunssfdi.c: Likewise.
4388 * soft-fp/fixunssfsi.c: Likewise.
4389 * soft-fp/fixunssfti.c: Likewise.
4390 * soft-fp/fixunstfdi.c: Likewise.
4391 * soft-fp/fixunstfsi.c: Likewise.
4392 * soft-fp/fixunstfti.c: Likewise.
4393 * soft-fp/floatdidf.c: Likewise.
4394 * soft-fp/floatdisf.c: Likewise.
4395 * soft-fp/floatditf.c: Likewise.
4396 * soft-fp/floatsidf.c: Likewise.
4397 * soft-fp/floatsisf.c: Likewise.
4398 * soft-fp/floatsitf.c: Likewise.
4399 * soft-fp/floattidf.c: Likewise.
4400 * soft-fp/floattisf.c: Likewise.
4401 * soft-fp/floattitf.c: Likewise.
4402 * soft-fp/floatundidf.c: Likewise.
4403 * soft-fp/floatundisf.c: Likewise.
4404 * soft-fp/floatunsidf.c: Likewise.
4405 * soft-fp/floatunsisf.c: Likewise.
4406 * soft-fp/floatuntidf.c: Likewise.
4407 * soft-fp/floatuntisf.c: Likewise.
4408 * soft-fp/floatuntitf.c: Likewise.
4409 * soft-fp/fmadf4.c: Likewise.
4410 * soft-fp/fmasf4.c: Likewise.
4411 * soft-fp/fmatf4.c: Likewise.
4412 * soft-fp/gedf2.c: Likewise.
4413 * soft-fp/gesf2.c: Likewise.
4414 * soft-fp/getf2.c: Likewise.
4415 * soft-fp/ledf2.c: Likewise.
4416 * soft-fp/lesf2.c: Likewise.
4417 * soft-fp/letf2.c: Likewise.
4418 * soft-fp/muldf3.c: Likewise.
4419 * soft-fp/mulsf3.c: Likewise.
4420 * soft-fp/multf3.c: Likewise.
4421 * soft-fp/negdf2.c: Likewise.
4422 * soft-fp/negsf2.c: Likewise.
4423 * soft-fp/negtf2.c: Likewise.
4424 * soft-fp/op-1.h: Likewise.
4425 * soft-fp/op-2.h: Likewise.
4426 * soft-fp/op-4.h: Likewise.
4427 * soft-fp/op-8.h: Likewise.
4428 * soft-fp/op-common.h: Likewise.
4429 * soft-fp/quad.h: Likewise.
4430 * soft-fp/single.h: Likewise.
4431 * soft-fp/soft-fp.h: Likewise.
4432 * soft-fp/sqrtdf2.c: Likewise.
4433 * soft-fp/sqrtsf2.c: Likewise.
4434 * soft-fp/sqrttf2.c: Likewise.
4435 * soft-fp/subdf3.c: Likewise.
4436 * soft-fp/subsf3.c: Likewise.
4437 * soft-fp/subtf3.c: Likewise.
4438 * soft-fp/truncdfsf2.c: Likewise.
4439 * soft-fp/trunctfdf2.c: Likewise.
4440 * soft-fp/trunctfsf2.c: Likewise.
4441 * soft-fp/trunctfxf2.c: Likewise.
4442 * soft-fp/unorddf2.c: Likewise.
4443 * soft-fp/unordsf2.c: Likewise.
4444 * soft-fp/unordtf2.c: Likewise.
4445
17c48a60
OB
44462013-10-14 Ondřej Bílka <neleai@seznam.cz>
4447
4448 [BZ #15672]
4449 * misc/error.c (error_tail): Fix possible buffer overflow.
4450
cabba934
OB
44512013-10-14 Aurelien Jarno <aurelien@aurel32.net>
4452
4453 [BZ #13028]
4454 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
4455 address.
4456
94bf958a
PM
44572013-10-14 P. J. McDermott <pj@pehjota.net>
4458
4459 [BZ #832]
4460 * elf/ldd.bash.in (try_trace): New function. Delete previous code
4461 testing pipefail option.
4462
71b4dea7
JM
44632013-10-12 Joseph Myers <joseph@codesourcery.com>
4464
4465 * soft-fp/double.h: Indent preprocessor directives inside #if.
4466 * soft-fp/extended.h: Likewise.
4467 * soft-fp/op-2.h: Likewise.
4468 * soft-fp/op-4.h: Likewise.
4469 * soft-fp/op-common.h: Likewise.
4470 * soft-fp/quad.h: Likewise.
4471 * soft-fp/single.h: Likewise.
4472 * soft-fp/soft-fp.h: Likewise.
4473
55602758
YC
44742013-10-12 Yuri Chornoivan <yurchor@ukr.net>
4475
4476 * iconv/iconv_prog.c: Fix typos.
4477 * stdio-common/psiginfo-data.h: Likewise.
4478
9cd83302
RT
44792013-10-12 Reuben Thomas <rrt@sc3d.org>
4480
4481 [BZ #15764]
4482 * locale/setlocale.c: Fix typo.
4483
99fd9f47
JM
44842013-10-12 Joseph Myers <joseph@codesourcery.com>
4485
b7ea74f0
JM
4486 [BZ #16036]
4487 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
4488 signaling NaN arguments.
4489 * soft-fp/unordsf2.c (__unordsf2): Likewise.
4490 * soft-fp/unordtf2.c (__unordtf2): Likewise.
4491
8a509447
JM
4492 [BZ #14910]
4493 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
4494 unordered operands.
4495 * soft-fp/gesf2.c (__gesf2): Likewise.
4496 * soft-fp/getf2.c (__getf2): Likewise.
4497 * soft-fp/ledf2.c (__ledf2): Likewise.
4498 * soft-fp/lesf2.c (__lesf2): Likewise.
4499 * soft-fp/letf2.c (__letf2): Likewise.
4500
98998e9f
JM
4501 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
4502 * soft-fp/eqsf2.c (__eqsf2): Likewise.
4503 * soft-fp/eqtf2.c (__eqtf2): Likewise.
4504 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
4505 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
4506 * soft-fp/fixdfti.c (__fixdfti): Likewise.
4507 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
4508 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
4509 * soft-fp/fixsfti.c (__fixsfti): Likewise.
4510 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
4511 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
4512 * soft-fp/fixtfti.c (__fixtfti): Likewise.
4513 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
4514 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
4515 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
4516 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
4517 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
4518 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
4519 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
4520 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
4521 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
4522 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
4523 * soft-fp/floatdisf.c (__floatdisf): Likewise.
4524 * soft-fp/floatsisf.c (__floatsisf): Likewise.
4525 * soft-fp/floattidf.c (__floattidf): Likewise.
4526 * soft-fp/floattisf.c (__floattisf): Likewise.
4527 * soft-fp/floattitf.c (__floattitf): Likewise.
4528 * soft-fp/floatundidf.c (__floatundidf): Likewise.
4529 * soft-fp/floatundisf.c (__floatundisf): Likewise.
4530 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
4531 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
4532 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
4533 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
4534 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
4535 * soft-fp/gesf2.c (__gesf2): Likewise.
4536 * soft-fp/getf2.c (__getf2): Likewise.
4537 * soft-fp/ledf2.c (__ledf2): Likewise.
4538 * soft-fp/lesf2.c (__lesf2): Likewise.
4539 * soft-fp/letf2.c (__letf2): Likewise.
4540
8edc4a11
JM
4541 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
4542 Undefine and redefine.
4543 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
4544 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
4545 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
4546 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
4547 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4548 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
4549 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4550 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
4551 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4552 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
4553 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4554 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
4555 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4556 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
4557 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4558
8399acaf
JM
4559 [BZ #16032]
4560 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
4561 without decrementing exponent if mantissa >= that for the
4562 denominator, not >.
4563 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
4564 denominator, not >. Decrement exponent in < case instead of
4565 incrementing in >= case.
4566 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
4567 without decrementing exponent if mantissa >= that for the
4568 denominator, not >.
4569
99fd9f47
JM
4570 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
4571 computing saturated result for unsigned overflow.
4572
10e1cf6b
SP
45732013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4574 Jeff Law <law@redhat.com>
4575
4576 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
4577 (atan2Mp): Add systemtap probe marker.
4578 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
4579 (__ieee754_log): Add systemtap probe marker.
4580 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
4581 (atanMp): Add systemtap probe marker.
4582 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
4583 (tanMp): Add systemtap probe marker.
4584 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
4585 (__slowexp): Add systemtap probe marker.
4586 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
4587 (__slowpow): Add systemtap probe marker.
4588 * manual/probes.texi: Document probes.
4589
3d110c7c
EB
45902013-10-11 Eric Biggers <ebiggers3@gmail.com>
4591
4592 [BZ #15362]
4593 * libio/fileops.c (_IO_new_file_write): Return count of bytes
4594 written.
4595 (_IO_new_file_xsputn): Don't return EOF if nothing has been
4596 written.
4597 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
4598 written to buffer but not flushed.
4599 * libio/iofwrite_u.c: Likewise.
4600 * libio/iopadn.c: Return bytes returned even if EOF was
4601 encountered.
4602 * libio/iowpadn.c: Likewise.
4603 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
4604 if _IO_padn does not write the whole buffer.
4605 [!COMPILE_WPRINTF] (PAD): Likewise.
4606
75b4202a
DM
46072013-10-10 David S. Miller <davem@davemloft.net>
4608
4609 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
4610 directory block.
4611
6c6352e6
JM
46122013-10-10 Joseph Myers <joseph@codesourcery.com>
4613
33b853c3
JM
4614 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
4615 instead of FSF address.
4616 * soft-fp/fixdfti.c: Likewise.
4617 * soft-fp/fixsfti.c: Likewise.
4618 * soft-fp/fixtfti.c: Likewise.
4619 * soft-fp/fixunsdfti.c: Likewise.
4620 * soft-fp/fixunssfti.c: Likewise.
4621 * soft-fp/fixunstfti.c: Likewise.
4622 * soft-fp/floattidf.c: Likewise.
4623 * soft-fp/floattisf.c: Likewise.
4624 * soft-fp/floattitf.c: Likewise.
4625 * soft-fp/floatuntidf.c: Likewise.
4626 * soft-fp/floatuntisf.c: Likewise.
4627 * soft-fp/floatuntitf.c: Likewise.
4628 * soft-fp/trunctfxf2.c: Likewise.
4629
6c6352e6
JM
4630 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
4631 * soft-fp/fixdfti.c: Likewise.
4632 * soft-fp/fixsfti.c: Likewise.
4633 * soft-fp/fixtfti.c: Likewise.
4634 * soft-fp/fixunsdfti.c: Likewise.
4635 * soft-fp/fixunssfti.c: Likewise.
4636 * soft-fp/fixunstfti.c: Likewise.
4637 * soft-fp/floattidf.c: Likewise.
4638 * soft-fp/floattisf.c: Likewise.
4639 * soft-fp/floattitf.c: Likewise.
4640 * soft-fp/floatuntidf.c: Likewise.
4641 * soft-fp/floatuntisf.c: Likewise.
4642 * soft-fp/floatuntitf.c: Likewise.
4643 * soft-fp/trunctfxf2.c: Likewise.
4644
3bf78b71
DM
46452013-10-10 David S. Miller <davem@davemloft.net>
4646
4647 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4648
6f10289e
JM
46492013-10-10 Joseph Myers <joseph@codsourcery.com>
4650
bd878fc0
JM
4651 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4652 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
4653 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
4654 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
4655 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
4656 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
4657 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
4658
6f10289e
JM
4659 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
4660 for NaNs before doing comparisons on argument.
4661 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
4662 Likewise.
4663
321e2684
WN
46642013-10-10 Will Newton <will.newton@linaro.org>
4665
4666 * malloc/hooks.c (memalign_check): Ensure the value of bytes
4667 passed to _int_memalign does not overflow.
4668
40fefba1
TR
46692013-10-10 Torvald Riegel <triegel@redhat.com>
4670
4671 * scripts/bench.pl: Add include-sources directive.
4672 * benchtests/README: Update documentation.
4673
2ae21ed2
JM
46742013-10-10 Joseph Myers <joseph@codesourcery.com>
4675
dcc2dd3f
JM
4676 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
4677 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
4678 instead of FP_INIT_ROUNDMODE.
4679 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
4680 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
4681
2ae21ed2
JM
4682 [BZ #16034]
4683 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
4684 copy class of input value.
4685 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
4686 not handle exceptions.
4687 * soft-fp/negsf2.c (__negsf2): Likewise.
4688 * soft-fp/negtf2.c (__negtf2): Likewise.
4689 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
4690
cb8f9562
JM
46912013-10-09 Joseph Myers <joseph@codesourcery.com>
4692
4693 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
4694 semicolon. From Linux kernel.
4695
5b60c59d
AB
46962013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
4697
4698 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
4699
b86835ca
YC
47002013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
4701
4702 [BZ #156]
4703 * manual/socket.texi: Added statement about buffer
4704 for gethostbyname2_r.
4705
e7044ea7
OB
47062013-10-08 Ondřej Bílka <neleai@seznam.cz>
4707
4708 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
4709 Use .p2align directive instead, throughout.
4710 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4711 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4712 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
4713 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4714 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4715 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
4716 * sysdeps/x86_64/strchr.S: Likewise.
4717 * sysdeps/x86_64/strrchr.S: Likewise.
4718
09544cbc
SP
47192013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4720
88576635
SP
4721 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
4722
e7b2d1dd
SP
4723 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
4724
09544cbc
SP
4725 * sysdeps/generic/math_private.h (__mpsin1): Remove
4726 declaration.
4727 (__mpcos1): Likewise.
4728 (__mpsin): New argument __range_reduce.
4729 (__mpcos): Likewise.
4730 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4731 (slow): Use __mpsin and __mpcos.
4732 (slow1): Likewise.
4733 (slow2): Likewise.
4734 (sloww): Likewise.
4735 (sloww1): Likewise.
4736 (sloww2): Likewise.
4737 (bsloww): Likewise.
4738 (bsloww1): Likewise.
4739 (bsloww2): Likewise.
4740 (cslow2): Likewise.
4741 (csloww): Likewise.
4742 (csloww1): Likewise.
4743 (csloww2): Likewise.
4744 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
4745 range_reduce. Merge in __mpsin1.
4746 (__mpcos): Likewise.
4747 (__mpsin1): Remove.
4748 (__mpcos1): Likewise.
4749
7602d070
JM
47502013-10-07 Joseph Myers <joseph@codesourcery.com>
4751
4752 * locale/loadlocale.c (_nl_intern_locale_data): Use
4753 LOCFILE_ALIGNED_P.
4754 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
4755 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
4756 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
4757 obstack data is appropriately aligned.
4758 (obstack_int32_grow_fast): Likewise.
4759 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
4760 * locale/programs/locfile.c (add_locale_uint32): Likewise.
4761 (add_locale_uint32_array): Likewise.
4762
a357259b
SP
47632013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4764
4765 * benchtests/Makefile: Remove ARGLIST and RET variables.
4766 ($(objpfx)bench-%.c): Pass only function name to the script.
4767 * benchtests/README: Update documentation.
4768 * benchtests/acos-inputs: Add new directives.
4769 * benchtests/acosh-inputs: Likewise.
4770 * benchtests/asin-inputs: Likewise.
4771 * benchtests/asinh-inputs: Likewise.
4772 * benchtests/atan-inputs: Likewise.
4773 * benchtests/atanh-inputs: Likewise.
4774 * benchtests/cos-inputs: Likewise.
4775 * benchtests/cosh-inputs: Likewise.
4776 * benchtests/exp-inputs: Likewise.
4777 * benchtests/log-inputs: Likewise.
4778 * benchtests/pow-inputs: Likewise.
4779 * benchtests/rint-inputs: Likewise.
4780 * benchtests/sin-inputs: Likewise.
4781 * benchtests/sinh-inputs: Likewise.
4782 * benchtests/tan-inputs: Likewise.
4783 * benchtests/tanh-inputs: Likewise.
4784 * scripts/bench.pl: Add support for new directives.
4785
9ec1b13d
AM
47862013-10-07 Alan Modra <amodra@gmail.com>
4787
4788 * README: Fix careless merge.
4789
8b7d57cd
AM
47902013-10-05 Alan Modra <amodra@gmail.com>
4791
4792 * NEWS: Mention powerpc64le support and bugs fixed.
4793 * README: Both big-endian and little-endian powerpc64 supported.
4794
7b7bab13
ST
47952013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
4796
4797 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
4798 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
4799 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
4800 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
4801
d39baad1
RA
48022013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
4803
4804 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
4805 match prototype.
4806
cd78f7e7
JM
48072013-10-04 Joseph Myers <joseph@codesourcery.com>
4808
29d73d86
JM
4809 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
4810 Move -mhard-float appending from
4811 ports/sysdeps/powerpc/powerpc32/Makefile.
4812 [$(with-fp) = yes] (ASFLAGS): Likewise.
4813 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
4814 * sysdeps/powerpc/nofpu: Move directory from
4815 ports/sysdeps/powerpc/nofpu.
4816 * sysdeps/powerpc/soft-fp: Move directory from
4817 ports/sysdeps/powerpc/soft-fp.
4818 * sysdeps/powerpc/powerpc32/405: Move directory from
4819 ports/sysdeps/powerpc/powerpc32/405.
4820 * sysdeps/powerpc/powerpc32/440: Move directory from
4821 ports/sysdeps/powerpc/powerpc32/440.
4822 * sysdeps/powerpc/powerpc32/464: Move directory from
4823 ports/sysdeps/powerpc/powerpc32/464.
4824 * sysdeps/powerpc/powerpc32/476: Move directory from
4825 ports/sysdeps/powerpc/powerpc32/476.
4826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
4827 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
4828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
4829 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
4830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
4831 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
4832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
4833 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
4834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
4835 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
4836 * README: Update for powerpc-*-linux-gnu software floating point
4837 support in libc.
4838
e246b347
JM
4839 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
4840 case to powerpc/powerpc32*.
4841 * sysdeps/unix/sysv/linux/configure: Regenerated.
4842
89c2003e
JM
4843 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
4844 (_FPU_MASK_OM): Define as 0x04.
4845 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
4846 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
4847 0x00c10080.
4848 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
4849 0x0000003c.
4850 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
4851
cd78f7e7
JM
4852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
4853 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4854 getcontext_e500.
4855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
4856 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4857 setcontext_e500.
4858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
4859 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
4860 and setcontext_e500.
4861
c755294d
CL
48622013-10-04 Chris Leonard <cjl@sugarlabs,.org>
4863
4864 * locale/iso-3166.def: Update iso-1366.def and related occurrences
4865
e16d221c
SP
48662013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4867
4868 * manual/threads.texi (Default Thread Attributes): Fix typo.
4869
215c7d43
WN
48702013-10-04 Will Newton <will.newton@linaro.org>
4871
4872 * malloc/Makefile: Add tst-memalign.
4873 * malloc/tst-memalign.c: New file.
4874
27d0461b
WN
4875 * malloc/tst-posix_memalign.c: Add comments.
4876 (do_test): Add comments and call free on all potentially
4877 allocated pointers. Add space after cast.
4878
1bc92709
WN
4879 * malloc/tst-pvalloc.c: Add comments.
4880 (do_test): Add comments and call free on all potentially
4881 allocated pointers. Remove duplicate check for NULL pointer.
4882 Add space after cast.
4883
66a9be9d
WN
4884 * malloc/tst-valloc.c: Add comments.
4885 (do_test): Add comments and call free on all potentially
4886 allocated pointers. Remove duplicate check for NULL pointer.
4887 Add space after cast.
4888
4cb81307
AM
48892013-10-04 Alan Modra <amodra@gmail.com>
4890
4891 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4892 Use stdint types in rather than __attribute__((mode())).
4893 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4894
f8e3e9f3
AM
48952013-10-04 Alan Modra <amodra@gmail.com>
4896
4897 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4898 Correct handling of unaligned relocs for little-endian.
4899 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4900
8f9ebb08
AM
49012013-10-04 Alan Modra <amodra@gmail.com>
4902
4903 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
4904 * configure: Regenerate.
4905 * nptl/shlib-versions: Powerpc*le starts at 2.18.
4906 * shlib-versions: Likewise.
4907
0edf96c2
AM
49082013-10-04 Alan Modra <amodra@gmail.com>
4909
4910 * string/tester.c (test_memrchr): Increment reported test cycle.
4911
e0f7a380
AM
49122013-10-04 Alan Modra <amodra@gmail.com>
4913
4914 * string/test-memcpy.c (do_one_test): When reporting errors, print
4915 string address and don't overrun end of string.
4916
466b0393
AM
49172013-10-04 Alan Modra <amodra@gmail.com>
4918
4919 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
4920 insrdi. Make better use of reg selection to speed exit slightly.
4921 Schedule entry path a little better. Remove useless "are we done"
4922 checks on entry to main loop. Handle wrapping around zero address.
4923 Correct main loop count. Handle single left-over word from main
4924 loop inline rather than by using loop_small. Remove extra word
4925 case in loop_small caused by wrong loop count. Add little-endian
4926 support.
4927 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4928 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
4929 cache hint.
4930 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4931 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
4932 support. Avoid rlwimi.
4933 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
4934
3be87c77
AM
49352013-10-04 Alan Modra <amodra@gmail.com>
4936
4937 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 4938 insrdi. Formatting.
3be87c77
AM
4939 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
4940 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4941 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
4942 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
4943 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4944 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
4945
759cfef3
AM
49462013-10-04 Alan Modra <amodra@gmail.com>
4947
4948 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
4949 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4950 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
4951 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
4952 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4953 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4954 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4955 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
4956 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
4957 use of regs. Use power7 mtocrf. Tidy function tails.
4958
fe6e95d7
AM
49592013-10-04 Alan Modra <amodra@gmail.com>
4960
4961 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
4962 Formatting. Consistently use rXXX register defines or rN defines.
4963 Use early exit labels that avoid restoring unused non-volatile regs.
4964 Make cr field use more consistent with rWORDn compares. Rename
4965 regs used as shift registers for unaligned loop, using rN defines
4966 for short lifetime/multiple use regs.
4967 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4968 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
4969 addi 1,1,64 to pop stack frame. Simplify return value code.
4970 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4971
664318c3
AM
49722013-10-04 Alan Modra <amodra@gmail.com>
4973
4974 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
4975 support. Correct typos, formatting. Optimize tail. Use insrdi
4976 rather than rlwimi.
4977 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
4978 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
4979 little-endian support. Correct typos.
4980 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
4981 rather than rlwimi.
4982 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
4983 in loop and entry code to keep "and." results.
4984 (strchr): Add little-endian support. Comment. Move cntlzd
4985 earlier in tail.
4986 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
4987
43b84013
AM
49882013-10-04 Alan Modra <amodra@gmail.com>
4989
4990 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
4991 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
4992 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
4993 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
4994
8a7413f9
AM
49952013-10-04 Alan Modra <amodra@gmail.com>
4996
4997 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
4998 (rTMP): Define as r11.
4999 (strcmp): Add little-endian support. Optimise tail.
5000 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
5001 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
5002 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
5003 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
5004 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
5005 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
5006 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
5007
33ee81de
AM
50082013-10-04 Alan Modra <amodra@gmail.com>
5009
5010 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
5011 little-endian support. Remove unnecessary "are we done" tests.
5012 Handle "s" wrapping around zero and extremely large "size".
5013 Correct main loop count. Handle single left-over word from main
5014 loop inline rather than by using small_loop. Correct comments.
5015 Delete "zero" tail, use "end_max" instead.
5016 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
5017
db9b4570
AM
50182013-10-04 Alan Modra <amodra@gmail.com>
5019
5020 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
5021 support. Don't branch over align.
5022 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
5023 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
5024 support. Rearrange tmp reg use to suit. Comment.
5025 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
5026
f7c399cf
AM
50272013-10-04 Alan Modra <amodra@gmail.com>
5028
5029 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
5030
0b2c2ace
AM
50312013-10-04 Alan Modra <amodra@gmail.com>
5032
5033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
5034 conditional form of branch and link when obtaining pc.
5035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
5036
02f04a6c
AM
50372013-10-04 Alan Modra <amodra@gmail.com>
5038
5039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
5040 HIWORD/LOWORD.
5041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
5042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
5043
9b874b2f
AM
50442013-10-04 Alan Modra <amodra@gmail.com>
5045
5046 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
5047 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
5048 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
5049 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
5050 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
5051 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5052 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
5053 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5054 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
5055 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
5056
be1e5d31
AB
50572013-10-04 Anton Blanchard <anton@au1.ibm.com>
5058 Alistair Popple <alistair@ozlabs.au.ibm.com>
5059 Alan Modra <amodra@gmail.com>
5060
5061 [BZ #15723]
5062 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
5063 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
5064 _dl_hwcap access for little-endian.
5065 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
5066 destroy vmx regs when saving unaligned.
5067 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
5068 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
5069 destroy vmx regs when saving unaligned.
5070
fef13a78
AM
50712013-10-04 Alan Modra <amodra@gmail.com>
5072
5073 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
5074 Don't use a union to pack hi/low value.
5075
76a66d51
AB
50762013-10-04 Anton Blanchard <anton@au1.ibm.com>
5077
5078 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
5079 for little-endian.
5080 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
5081 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
5082 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
5083 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
5084 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
5085
6a31fe7f
AM
50862013-10-04 Alan Modra <amodra@gmail.com>
5087
5088 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
5089 constants to usual value for .cst8 section, and remove redundant
5090 high address load.
5091 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
5092 constant for 0x1p52. Load little-endian words of double from
5093 correct stack offsets.
5094
7b88401f
AM
50952013-10-04 Alan Modra <amodra@gmail.com>
5096
5097 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
5098 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
5099 words of double from correct stack offsets.
5100 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
5101 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
5102 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
5103 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
5104 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
5105 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
5106 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
5107 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
5108 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
5109 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
5110 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
5111 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
5112 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5113 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5114 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5115 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
5116 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
5117
9c008155
AM
51182013-10-04 Alan Modra <amodra@gmail.com>
5119
5120 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
5121 64-bit int/double union.
5122 (_FPU_SETCW): Likewise.
5123 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
5124 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
5125
da13146d
AM
51262013-10-04 Alan Modra <amodra@gmail.com>
5127
5128 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
5129 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
5130
603e8410
AM
51312013-10-04 Alan Modra <amodra@gmail.com>
5132
5133 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
5134 use vector int constants.
5135 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
5136
4a28b3ca
AB
51372013-10-04 Anton Blanchard <anton@au1.ibm.com>
5138
5139 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
5140 array with long long.
5141 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
5142 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
5143 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
5144 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
5145 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
5146 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
5147 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
5148 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
5149 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
5150 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
5151 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
5152 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
5153 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
5154
2ca85d2b
AB
51552013-10-04 Anton Blanchard <anton@au1.ibm.com>
5156
5157 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
5158 (__signbit): Likewise. Correct for little-endian.
5159 (__signbitl): Call __signbit.
5160 (lrint): Correct for little-endian.
5161 (lrintf): Call lrint.
5162
62a728ae
AM
51632013-10-04 Alan Modra <amodra@gmail.com>
5164
5165 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
5166 union 32-bit int array member with 64-bit int array.
5167 (t515, tm256): Double rather than long double.
5168 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
5169
32c301df
AM
51702013-10-04 Alan Modra <amodra@gmail.com>
5171
5172 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
5173 Delete.
5174 (IEEE854_LONG_DOUBLE_BIAS): Delete.
5175 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
5176 version of math_ldbl.h.
5177
650ef4bd
AM
51782013-10-04 Alan Modra <amodra@gmail.com>
5179
5180 [BZ #15734], [BZ #15735]
5181 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
5182 all uses of ieee875 long double macros and unions. Simplify test
5183 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
5184 ldbl_extract_mantissa value for ix,iy exponents. Properly
5185 normalize after ldbl_extract_mantissa, and don't add hidden bit
5186 already handled. Don't treat low word of ieee854 mantissa like
5187 low word of IBM long double and mask off bit when testing for
5188 zero.
5189 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
5190 all uses of ieee875 long double macros and unions. Simplify tests
5191 for 0.0L and inf. Correct double adjustment of k. Delete dead code
5192 adjusting ha,hb. Simplify code setting kld. Delete two600 and
5193 two1022, instead use their values. Recognise that tests for large
5194 "a" and small "b" are mutually exclusive. Rename vars. Comment.
5195 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
5196 Rewrite all uses of ieee875 long double macros and unions. Simplify
5197 test for 0.0L and nan. Correct negation.
5198 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
5199 ieee875 long double macros and unions. Correct output for large
5200 magnitude x. Correct absolute value calculation.
5201 (__erfcl): Likewise.
5202 * math/libm-test.inc: Add tests for errors discovered in IBM long
5203 double versions of fmodl, remainderl, erfl and erfcl.
5204
765714ca
AM
52052013-10-04 Alan Modra <amodra@gmail.com>
5206
5207 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
5208 all uses of ieee854 long double macros and unions. Simplify tests
5209 for long doubles that are fully specified by the high double.
5210 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5211 Likewise.
5212 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
5213 Remove dead code too.
5214 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
5215 (__ieee754_ynl): Likewise.
5216 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
5217 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
5218 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
5219 Remove dead code too.
5220 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
5221 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
5222 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
5223 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
5224 Simplify.
5225 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
5226 Simplify.
5227 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
5228 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
5229 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
5230 Comment on variable precision.
5231 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
5232 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5233 Likewise.
5234 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5235 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
5236 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
5237 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
5238 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
5239
4ebd120c
AM
52402013-10-04 Alan Modra <amodra@gmail.com>
5241
5242 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
5243 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
5244 all uses of ieee854 long double macros and unions.
5245 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
5246 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
5247 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
5248 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
5249 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
5250 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
5251 Likewise.
5252 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
5253 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5254 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
5255 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5256 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
5257 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
5258 Simplify sign and nan test too.
5259 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
5260 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
5261 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
5262 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
5263 Likewise.
5264 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
5265 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
5266 Likewise.
5267 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5268 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
5269 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
5270 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
5271 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
5272 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
5273
1b6adf88
AM
52742013-10-04 Alan Modra <amodra@gmail.com>
5275
5276 * stdio-common/printf_size.c (__printf_size): Don't use
5277 union ieee854_long_double in fpnum union.
5278 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
5279 signbit macro to retrieve sign from long double.
5280 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
5281 retrieve sign from long double.
5282 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
5283 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
5284 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
5285 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
5286 * math/test-misc.c (main): Don't use union ieee854_long_double.
5287
4cf69995
AM
52882013-10-04 Alan Modra <amodra@gmail.com>
5289
5290 [BZ #15680]
5291 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
5292 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
5293 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
5294 calculation. Remove unnecessary test for denormal exponent.
5295 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
5296 Correct handling of denormals. Avoid undefined shift behaviour.
5297 Correct normalisation of low mantissa when low double is denormal.
5298 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
5299 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
5300 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
5301 Correct normalisation of low mantissa. Test for overflow of high
5302 mantissa and normalise.
5303 (ldbl_nearbyint): Use more readable constant for two52.
5304 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
5305 (__mpn_construct_long_double): Fix test for overflow of high
5306 mantissa and correct normalisation. Avoid undefined shift.
5307
9605ca6c
AM
53082013-10-04 Alan Modra <amodra@gmail.com>
5309
5310 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
5311 (union ibm_extended_long_double): Define as an array of ieee754_double.
5312 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
5313 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
5314 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
5315 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5316 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5317 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
5318 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5319 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
5320 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
5321 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
5322 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
5323
975569d0
JM
53242013-10-03 Joseph Myers <joseph@codesourcery.com>
5325
d3d23756
JM
5326 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
5327 page size instead of calling getpagesize.
5328
975569d0
JM
5329 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
5330 (LOCFILE_ALIGN_MASK): Likewise.
5331 (LOCFILE_ALIGN_UP): Likewise.
5332 (LOCFILE_ALIGNED_P): Likewise.
5333 * locale/programs/ld-collate.c (collate_output): Use the new
5334 macros instead of __alignof__ (int32_t).
5335 * locale/weight.h (findidx): Likewise.
5336
b1fe1f2b
OB
53372013-10-03 Ondřej Bílka <neleai@seznam.cz>
5338
5339 [BZ #431]
5340 * manual/string.texi: Fix strncat and wcsncat.
5341
5f855e35
BM
53422013-10-03 Brooks Moses <bmoses@google.com>
5343
5344 [BZ #15915]
5345 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
5346 * Makerules: ...here, and adjust associated comments.
5347
3cef6009
WN
53482013-10-02 Will Newton <will.newton@linaro.org>
5349
5350 * malloc/Makefile: Add tst-pvalloc.
5351 * malloc/tst-pvalloc.c: New file.
5352
7815420b
WN
53532013-10-02 Will Newton <will.newton@linaro.org>
5354
5355 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
5356 improve test coverage.
5357
4868b204
WN
53582013-10-02 Will Newton <will.newton@linaro.org>
5359
5360 * malloc/Makefile: Add tst-posix_memalign.
5361 * malloc/tst-posix_memalign.c: New file.
5362
29c793b3
EB
53632013-10-01 Eric Blake <eblake@redhat.com>
5364
5365 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
5366 Use __THROWNL rather than __THROW on static functions.
5367
fd967522
PM
53682013-09-30 Petr Machata <pmachata@redhat.com>
5369
5370 * elf/elf.h (R_AARCH64_ABS16): New macro.
5371 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
5372 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
5373 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
5374 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
5375 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
5376 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
5377 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
5378 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
5379 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
5380 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
5381 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
5382 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
5383 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
5384 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
5385 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
5386 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
5387 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
5388 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
5389 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
5390 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
5391 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
5392 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
5393 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
5394 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
5395 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
5396 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
5397 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
5398 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
5399 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
5400 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
5401 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
5402 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
5403 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
5404 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
5405 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
5406 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
5407 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
5408 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
5409 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
5410 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
5411 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
5412 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
5413 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
5414 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
5415 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
5416 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
5417 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
5418 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
5419 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
5420 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
5421 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
5422 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
5423 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
5424 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
5425 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
5426 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
5427 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
5428 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
5429 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
5430 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
5431 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
5432 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
5433 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
5434 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
5435 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
5436 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
5437 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
5438 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
5439 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
5440 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
5441 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
5442 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
5443 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
5444 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
5445 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
5446 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
5447 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
5448 (R_AARCH64_TLSDESC_LDR): Likewise.
5449 (R_AARCH64_TLSDESC_ADD): Likewise.
5450 (R_AARCH64_TLSDESC_CALL): Likewise.
5451
b2179107
AS
54522013-09-30 Andreas Schwab <schwab@suse.de>
5453
5454 [BZ #15048]
5455 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
5456 the nss database lookup.
5457 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5458 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5459
47f28d0a
MF
54602013-09-28 Mike Frysinger <vapier@gentoo.org>
5461
5462 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
5463
54642013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
5465
5466 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
5467 ${Bash-specific parameter/pattern/string} parameter expansion.
5468 * sysdeps/unix/make-syscalls.sh: Likewise.
5469
f4518a17
KK
54702013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5471
5472 * sysdeps/sh/stackguard-macros.h: New file.
5473
dc1a95c7
OB
54742013-09-26 Ondřej Bílka <neleai@seznam.cz>
5475
5476 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
5477 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
5478 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
5479 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
5480 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5481 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
5482
5ebbff8f
AZ
54832013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5484
5485 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
5486 Fix thread ID register.
5487
4fd2cf9f
JM
54882013-09-25 Joseph Myers <joseph@codesourcery.com>
5489
5490 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
5491 [POSIX || UNIX98]: Require rather than permitting all symbols from
5492 <time.h>.
5493 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
5494 element of struct sched_param.
5495 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
5496 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
5497 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
5498 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
5499 constant.
5500
12c22bc4
OL
55012013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
5502
5503 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
5504 argument calculation.
5505
a03d8ea7
JM
55062013-09-24 Joseph Myers <joseph@codesourcery.com>
5507
5508 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
5509 Expect macro.
5510 [POSIX] (pthread_attr_t): Do not require type.
5511 [POSIX] (pthread_cond_t): Likewise.
5512 [POSIX] (pthread_condattr_t): Likewise.
5513 [POSIX] (pthread_key_t): Likewise.
5514 [POSIX] (pthread_mutex_t): Likewise.
5515 [POSIX] (pthread_mutexattr_t): Likewise.
5516 [POSIX] (pthread_once_t): Likewise.
5517 [POSIX] (pthread_t): Likewise.
5518 [POSIX-based standards] (pthread_atfork): Expect function.
5519
6055173a
JM
55202013-09-24 Joseph Myers <joseph@codesourcery.com>
5521 Richard Sandiford <richard@codesourcery.com>
5522
5523 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
5524 (swap_endianness_p): New extern variable.
5525 (set_big_endian): New inline function.
5526 (maybe_swap_uint32): Likewise.
5527 (maybe_swap_uint32_array): Likewise.
5528 (maybe_swap_uint32_obstack): Likewise.
5529 * locale/programs/locfile.c: Include <stdbool.h>.
5530 (swap_endianness_p): New variable.
5531 (add_locale_uint32): Call maybe_swap_uint32.
5532 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
5533 (write_locale_data): Call maybe_swap_uint32_array.
5534 * locale/programs/ld-collate.c (obstack_int32_grow): Call
5535 maybe_swap_uint32.
5536 (obstack_int32_grow_fast): Likewise.
5537 (output_weightwc): Call maybe_swap_uint32_obstack.
5538 (collate_output): Likewise.
5539 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
5540 (OPT_LITTLE_ENDIAN): Likewise.
5541 (options): Add --little-endian and --big-endian options.
5542 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
5543 * locale/programs/locarchive.c: Include "locfile.h".
5544 (GET): New macro.
5545 (SET): Likewise.
5546 (INC): Likewise.
5547 (create_archive): Use the new macros to access fields of
5548 structures directly mapped from or written to locale archives.
5549 (oldlocrecentcmp): Likewise.
5550 (enlarge_archive): Likewise.
5551 (insert_name): Likewise.
5552 (add_alias): Likewise.
5553 (add_locale): Likewise.
5554 (delete_locales_from_archive): Likewise.
5555 (show_archive_content): Likewise.
5556 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
5557 locale data.
5558
39bf0bb4
RM
55592013-09-24 Roland McGrath <roland@hack.frob.com>
5560
5561 * manual/freemanuals.texi: Updated from (newly) canonical copy at
5562 http://www.gnu.org/doc/freemanuals.texi.
5563 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
5564
f02eed10
WN
55652013-09-24 Will Newton <will.newton@linaro.org>
5566
5567 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
5568 macro.
5569
a3a6c312
JM
55702013-09-23 Joseph Myers <joseph@codesourcery.com>
5571
5572 * locale/hashval.h (compute_hashval): Interpret bytes of key as
5573 unsigned char.
5574
107375ac
MR
55752013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
5576
5577 * manual/threads.texi (POSIX Threads): Fix a typo.
5578
141f3a77
SP
55792013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5580
303e567a
SP
5581 [BZ #14547]
5582 * string/tst-strcoll-overflow.c: New test case.
5583 * string/Makefile (xtests): Add tst-strcoll-overflow.
5584 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
5585 cache if string sizes may cause integer overflow.
5586
141f3a77
SP
5587 [BZ #14547]
5588 * string/strcoll_l.c (coll_seq): New members rule, idx,
5589 save_idx and back_us.
5590 (get_next_seq_nocache): New function.
5591 (do_compare_nocache): New function.
5592 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
5593 when malloc fails.
5594
c61b4d41
CD
55952013-09-23 Carlos O'Donell <carlos@redhat.com>
5596
0b1f8e35
CD
5597 [BZ #15754]
5598 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
5599 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
5600 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
5601
c61b4d41
CD
5602 [BZ #15754]
5603 * elf/Makefile (tests): Add tst-ptrguard1.
5604 (tests-static): Add tst-ptrguard1-static.
5605 (tst-ptrguard1-ARGS): Define.
5606 (tst-ptrguard1-static-ARGS): Define.
5607 * elf/tst-ptrguard1.c: New file.
5608 * elf/tst-ptrguard1-static.c: New file.
5609 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
5610 * sysdeps/i386/stackguard-macros.h: Likewise.
5611 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
5612 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
5613 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5614 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5615 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
5616 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
5617
56182013-09-23 Hector Marco <hecmargi@upv.es>
5619 Ismael Ripoll <iripoll@disca.upv.es>
5620 Carlos O'Donell <carlos@redhat.com>
5621
5622 [BZ #15754]
5623 * sysdeps/generic/stackguard-macros.h: Define
5624 __pointer_chk_guard_local and POINTER_CHK_GUARD.
5625 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
5626 Define __pointer_chk_guard_local.
5627 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
5628 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
5629
f5f4e7b4
VV
56302013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
5631
5632 [BZ #15859]
5633 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
5634
5bb43a43
AS
56352013-09-20 Andreas Schwab <schwab@linux-m68k.org>
5636
5637 * include/string.h (__ffs): Declare as hidden.
5638 * string/ffs.c (__ffs): Define as hidden.
5639 * sysdeps/i386/ffs.c (__ffs): Likewise.
5640 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
5641 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
5642 * sysdeps/s390/ffs.c (__ffs): Likewise.
5643 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
5644
3ea5be54
AO
56452013-09-20 Alexandre Oliva <aoliva@redhat.com>
5646
ffb89e53
AO
5647 * NEWS: Mention malloc probes.
5648
322dea08
AO
5649 * malloc/arena.c (new_heap): New memory_heap_new probe.
5650 (grow_heap): New memory_heap_more probe.
5651 (shrink_heap): New memory_heap_less probe.
5652 (heap_trim): New memory_heap_free probe.
5653 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
5654 (systrim): New memory_sbrk_less probe.
5655 * manual/probes.texi: Document them.
5656
655673f3
AO
5657 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
5658 * manual/probes.texi: Document it.
5659
35fed6f1
AO
5660 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
5661 (__libc_realloc): Add memory_realloc_retry probe.
5662 (__libc_memalign): Add memory_memalign_retry probe.
5663 (__libc_valloc): Add memory_valloc_retry probe.
5664 (__libc_pvalloc): Add memory_pvalloc_retry probe.
5665 (__libc_calloc): Add memory_calloc_retry probe.
5666 * manual/probes.texi: Document them.
5667
6999d38c
AO
5668 * malloc/arena.c (get_free_list): Add probe
5669 memory_arena_reuse_free_list.
5670 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
5671 and memory_arena_reuse.
5672 (arena_get2) [!PER_THREAD]: Likewise.
5673 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
5674 memory_arena_reuse_realloc.
5675 * manual/probes.texi: Document them.
5676
0653427f
AO
5677 * malloc/malloc.c (__libc_free): Add
5678 memory_mallopt_free_dyn_thresholds probe.
5679 (__libc_mallopt): Add multiple memory_mallopt probes.
5680 * manual/probes.texi: Document them.
5681
3ea5be54
AO
5682 * malloc/malloc.c: Include stap-probe.h.
5683 (__libc_mallopt): Add memory_mallopt probe.
5684 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
5685 * manual/probes.texi: New.
5686 * manual/Makefile (chapters): Add probes.
5687 * manual/threads.texi: Set next node.
5688
e35696c3 56892013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 5690
e35696c3
CL
5691 [BZ #15963, #13985]
5692 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
5693 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
5694 Add `Chinese' to `nan' entry name.
5695
4aafb73c
SP
56962013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5697
5698 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
5699 (POLYNOMIAL): Likewise.
5700 (TAYLOR_SINCOS): Likewise.
5701 (TAYLOR_SLOW): Likewise.
5702 (__sin): Use TAYLOR_SINCOS.
5703 (__cos): Likewise.
5704 (slow): Use TAYLOR_SLOW.
5705 (sloww): Likewise.
5706 (bsloww): Likewise.
5707 (csloww): Likewise.
5708
d84f25c7
LD
57092013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5710
5711 * stdlib/strtod_l.c: Fix buffer overrun.
5712
5eea0404
SP
57132013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5714
7849ff93
SP
5715 * benchtests/Makefile (bench): Add sincos.
5716 * benchtests/bench-sincos.c: New file.
5717
cfa3c886
SP
5718 * math/libm-test.inc (cos_test_data): New test inputs.
5719 (sin_test_data): Likewise.
5720
b348e1e3
SP
5721 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
5722 macro.
5723 (__sin): Use it.
5724 (__cos): Likewise.
5725 (slow1): Likewise.
5726 (slow2): Likewise.
5727 (sloww1): Likewise.
5728 (sloww2): Likewise.
5729 (bsloww1): Likewise.
5730 (bsloww2): Likewise.
5731 (cslow2): Likewise.
5732 (csloww1): Likewise.
5733 (csloww2): Likewise.
5734
6cce25f8
SP
5735 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
5736 function.
5737 (__sin): Use it.
5738 (__cos): Likewise.
5739
5eea0404
SP
5740 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
5741 gotos.
5742 (__cos): Likewise.
5743
9c21573c
MR
57442013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
5745
5746 * config.h.in (HAVE_MIPS_NAN2008): New macro.
5747 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
5748 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
5749 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
5750 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
5751 * elf/cache.c (print_entry): Handle the new cache flags.
5752
24d22e65
JM
57532013-09-18 Joseph Myers <joseph@codesourcery.com>
5754 Aldy Hernandez <aldyh@redhat.com>
5755
5756 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
5757 Change condition to [_SOFT_FLOAT].
5758 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
5759 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
5760 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
5761 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
5762 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
5763 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
5764 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
5765 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
5766 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
5767 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
5768 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
5769 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
5770 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
5771 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
5772 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
5773 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
5774 declaration.
5775
d13ef066
JM
57762013-09-18 Joseph Myers <joseph@codesourcery.com>
5777
2e071de0
JM
5778 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
5779 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5780 (__longjmp): Use LOAD_GP to load saved GPRs.
5781 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
5782 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5783 (__sigsetjmp): Use SAVE_GP to save GPRs.
5784
d13ef066
JM
5785 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
5786 Do not append -msoft-float.
5787 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
5788
97a0650b
SP
57892013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5790
5791 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
5792
11ca09e9
JM
57932013-09-17 Joseph Myers <joseph@codesourcery.com>
5794
5795 [BZ #15966]
5796 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
5797 (_FPU_GETCW): Use initial "__" on variable and field names but not
5798 on macro parameter name.
5799 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
5800 parentheses around reference to macro parameter.
5801
08ffcf34
RS
58022013-09-13 Richard Sandiford <richard@codesourcery.com>
5803
5804 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
5805 prototype.
5806 (ctype_startup): Use uint32_t in cast and sizeof for
5807 ctype->charnames.
5808
ae7080d3
JL
58092013-09-11 Jia Liu <proljc@gmail.com>
5810
5811 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
5812 __daddr_t_defined.
5813 [__FreeBSD__]: Likewise.
5814
5905e7b3
OB
58152013-09-11 Ondřej Bílka <neleai@seznam.cz>
5816
5817 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5818 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
5819 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
5820 (strchr): Remove __strchr_sse42 ifunc selection.
5821 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
5822 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
5823
b987c776
WN
58242013-09-11 Will Newton <will.newton@linaro.org>
5825
5826 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
5827 parameter to RES. Remove hardcoded 1000 value.
5828 * benchtests/bench-skeleton.c (main): Pass RES parameter
5829 to TIMING_INIT and multiply result by 1000.
5830
ddf985af
AZ
58312013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5832
5833 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5834
ffdd3181
AS
58352013-09-11 Andreas Schwab <schwab@suse.de>
5836
5837 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
5838 if not defined.
5839 (O_TMPFILE) [__USE_GNU]: Define.
5840 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
5841 Define.
5842
b73ed247
WN
58432013-09-11 Will Newton <will.newton@linaro.org>
5844
5845 [BZ #15857]
5846 * malloc/malloc.c (__libc_memalign): Check the value of bytes
5847 does not overflow.
5848
55e17aad
WN
58492013-09-11 Will Newton <will.newton@linaro.org>
5850
5851 [BZ #15856]
5852 * malloc/malloc.c (__libc_valloc): Check the value of bytes
5853 does not overflow.
5854
1159a193
WN
58552013-09-11 Will Newton <will.newton@linaro.org>
5856
5857 [BZ #15855]
5858 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
5859 does not overflow.
5860
5905e7b3 58612013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
5862
5863 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
5864 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5865 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5866 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5867 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5868
cdfc721b
AM
58692013-09-10 Allan McRae <allan@archlinux.org>
5870
aa04af00
AM
5871 [BZ #15748]
5872 * manual/arith.texi (Parsing of Floats): Clarify
5873 cross-reference.
5874
cdfc721b
AM
5875 [BZ #15849]
5876 * manual/install.texi (Running make install): Mention
5877 --enable-pt-chown.
5878 * INSTALL: Regenerated.
5879
95e7cf29
MR
58802013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5881
5882 * csu/init-first.c (_init): Remove the !SHARED condition around
5883 FPU control word initialization.
5884 * elf/dl-support.c (_dl_fpu_control): New variable.
5885 (_dl_aux_init) <AT_FPUCW>: Initialize it.
5886 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
5887 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
5888 * math/test-fpucw-static.c: New file.
5889 * math/test-fpucw-ieee.c: New file.
5890 * math/test-fpucw-ieee-static.c: New file.
5891 * math/Makefile (tests): Add `test-fpucw-ieee' and
5892 `$(tests-static)'.
5893 (tests-static): New variable.
5894 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
5895 dependency to...
5896 [($(build-shared),yes)]
5897 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5898 ... this.
5899 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
5900 New dependency.
5901
83e43bf0
AM
59022013-09-09 Allan McRae <allan@archlinux.org>
5903
a9f5ce09
AM
5904 [BZ #15939]
5905 * manual/string.texi (Collation Functions): Fix typo in
5906 strcoll example.
5907 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
5908
34829bc2
AM
5909 [BZ #15893]
5910 * stdlib/isomac.c (get_null_defines): Fix memory leak.
5911
3932737d
AM
5912 [BZ #15892]
5913 * libio/memstream.c (open_memstream): Fix memory leak.
5914 * libio/wmemstream.c (open_wmemstream): Likewise.
5915
83e43bf0
AM
5916 [BZ #15895]
5917 * nscd/netgroupcache.c: Fix nesting of ifdefs.
5918
0c66b8e9
WN
59192013-09-09 Will Newton <will.newton@linaro.org>
5920
5921 * malloc/Makefile: Add tst-realloc to tests.
5922 * malloc/tst-realloc.c: New file.
5923
f6b00fd1
AM
59242013-09-09 Allan McRae <allan@archlinux.org>
5925
5926 [BZ #15844]
5927 * COPYING: Update from GNU website to fix FSF address.
5928 * COPYING.LIB: Likewise.
5929
eec55e16
DM
59302013-09-06 David S. Miller <davem@davemloft.net>
5931
5932 * po/zh_TW.po: Update Chinese (traditional) translation from
5933 translation project.
5934
1ecbb381
RS
59352013-09-06 Richard Sandiford <richard@codesourcery.com>
5936 Joseph Myers <joseph@codesourcery.com>
5937
5938 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
5939 "localeinfo.h".
5940 (obstack_chunk_alloc): New macro.
5941 (obstack_chunk_free): Likewise.
5942 (record_offset): New function.
5943 (init_locale_data): Likewise.
5944 (align_locale_data): Likewise.
5945 (add_locale_empty): Likewise.
5946 (add_locale_raw_data): Likewise.
5947 (add_locale_raw_obstack): Likewise.
5948 (add_locale_string): Likewise.
5949 (add_locale_wstring): Likewise.
5950 (add_locale_uint32): Likewise.
5951 (add_locale_uint32_array): Likewise.
5952 (add_locale_char): Likewise.
5953 (start_locale_structure): Likewise.
5954 (end_locale_structure): Likewise.
5955 (start_locale_prelude): Likewise.
5956 (end_locale_prelude): Likewise.
5957 (write_locale_data): Take locale_file structure rather than an
5958 iovec.
5959 * locale/programs/locfile.h: Include "obstack.h".
5960 (struct locale_file): Change to store locale file contents instead
5961 of header.
5962 (init_locale_data): New prototype.
5963 (align_locale_data): Likewise.
5964 (add_locale_empty): Likewise.
5965 (add_locale_raw_data): Likewise.
5966 (add_locale_raw_obstack): Likewise.
5967 (add_locale_string): Likewise.
5968 (add_locale_wstring): Likewise.
5969 (add_locale_uint32): Likewise.
5970 (add_locale_uint32_array): Likewise.
5971 (add_locale_char): Likewise.
5972 (start_locale_structure): Likewise.
5973 (end_locale_structure): Likewise.
5974 (start_locale_prelude): Likewise.
5975 (end_locale_prelude): Likewise.
5976 (write_locale_data): Update prototype.
5977 * locale/programs/3level.h (struct TABLE): Remove result field.
5978 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
5979 Use new locale_file interface.
5980 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
5981 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
5982 * locale/programs/ld-address.c (address_output): Use new
5983 locale_file interface.
5984 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
5985 NO_ADD_LOCALE.
5986 (collate_finish): Don't call collseq_table_finalize.
5987 (collate_output): Use new locale_file interface.
5988 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
5989 in file.
5990 (NO_FINALIZE): Change to NO_ADD_LOCALE.
5991 (TABLE): Move defines earlier in file.
5992 (ELEMENT): Likewise.
5993 (DEFAULT): Likewise.
5994 (wctrans_table_add): Move macro and inline function earlier in
5995 file.
5996 (struct wctype_table): Move type earlier in file.
5997 (add_locale_wctype_table): New static prototype.
5998 (struct locale_ctype_t): Use logical types instead of struct iovec
5999 pointers for members.
6000 (ctype_output): Use new locale_file interface.
6001 (wctype_table_finalize): Change to add_locale_wctype_table. Use
6002 new locale_file interface.
6003 (allocate_arrays): Update for use of new locale_file interface.
6004 * locale/programs/ld-identification.c (identification_output): Use
6005 new locale_file interface.
6006 * locale/programs/ld-measurement.c (measurement_output): Likewise.
6007 * locale/programs/ld-messages.c (messages_output): Likewise.
6008 * locale/programs/ld-monetary.c (monetary_output): Likewise.
6009 * locale/programs/ld-name.c (name_output): Likewise.
6010 * locale/programs/ld-numeric.c (numeric_output): Likewise.
6011 * locale/programs/ld-paper.c (paper_output): Likewise.
6012 * locale/programs/ld-telephone.c (telephone_output): Likewise.
6013 * locale/programs/ld-time.c (time_output): Likewise.
6014
e029e2e5
AZ
60152013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6016
6017 * benchtests/Makefile: Add memrchr benchmark.
6018 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
6019 benchmark as memrchr.
6020 * benchtests/bench-memrchr-ifunc.c: New file.
6021 * benchtests/bench-memrchr.c: New file.
6022
bbf6e8e4
WN
60232013-09-06 Will Newton <will.newton@linaro.org>
6024
6025 * benchtests/Makefile (string-bench): Add memcpy.
6026
6c82a2f8
CD
60272013-09-05 Carlos O'Donell <carlos@redhat.com>
6028 Cong Wang <amwang@redhat.com>
6029
e732c5f0 6030 [BZ #15850]
6c82a2f8
CD
6031 * sysdeps/unix/sysv/linux/bits/in.h
6032 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
6033 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
6034 before __USE_KERNEL_IPV6_DEFS uses.
6035 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
6036 IPPROTO_BEETPH.
6037 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
6038 sockaddr_in6, or ipv6_mreq.
6039
5430fc65
AZ
60402013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6041
6042 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
6043 memory access for final bytes in some large inputs.
6044 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
6045
4660856c
AZ
60462013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6047
6048 * string/test-memrchr.c: New file.
6049 * string/test-memrchr-ifunc.c: New file.
6050 * string/Makefile: Add new memrchr testcase.
6051
bb8ea713
MF
60522013-09-05 Mike Frysinger <vapier@gentoo.org>
6053
6054 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
6055 fanotify_init returns EPERM.
6056
b92a20b5
JM
60572013-09-04 Joseph Myers <joseph@codesourcery.com>
6058
6059 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
6060 errors.
6061 (top level): Treat second token from macro or constant entries for
6062 allowed headers as allowed.
6063 * include/complex.h: Condition internal declarations on
6064 [!_ISOMAC].
6065 * include/fenv.h: Condition include of <stdbool.h> and internal
6066 declarations on [!_ISOMAC].
7447ccd9
CL
6067
60682013-09-04 Chris Leonard <cjl@sugarlabs,.org>
6069
3e181dda 6070 [BZ #15923]
7447ccd9
CL
6071 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
6072
3f2e46a4
JM
60732013-09-04 Joseph Myers <joseph@codesourcery.com>
6074
6075 * configure.in (--enable-versioning): Remove configure option.
6076 (libc_cv_asm_symver_directive): Remove configure test.
6077 (libc_cv_ld_version_script_option): Likewise.
6078 (VERSIONING): Remove variable and AC_SUBST.
6079 (DO_VERSIONING): Remove AC_DEFINE.
6080 * configure: Regenerated.
6081 * config.h.in (DO_VERSIONING): Remove macro.
6082 * Makerules [$(versioning) = yes]: Change conditionals to
6083 [$(build-shared) = yes].
6084 * config.make.in (versioning): Remove variable.
6085 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
6086 [$(build-shared) = yes].
6087 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
6088 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
6089 * elf/Makefile [$(versioning) = yes]: Change conditionals to
6090 [$(build-shared) = yes].
6091 * extra-lib.mk [$(versioning) = yes]: Likewise.
6092 * hurd/Makefile [$(versioning) = yes]: Likewise.
6093 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
6094 [SHARED].
6095 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
6096 [SHARED].
6097 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
6098 [SHARED && !NO_HIDDEN].
6099 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
6100 [SHARED].
6101 [SHARED && DO_VERSIONING]: Likewise..
6102 * libio/Makefile [$(versioning) = yes]: Change conditionals to
6103 [$(build-shared) = yes].
6104 * manual/install.texi (--disable-versioning): Remove
6105 documentation.
6106 * INSTALL: Regenerated.
6107 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
6108 to [SHARED].
6109 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
6110 [$(build-shared) = yes].
6111 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
6112 * sysdeps/i386/i686/multiarch/strstr-c.c
6113 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
6114 [SHARED && !NO_HIDDEN].
6115 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
6116 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
6117 * sysdeps/powerpc/powerpc32/dl-machine.c
6118 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
6119 * sysdeps/powerpc/powerpc32/sysdep.h
6120 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
6121 to [SHARED && PIC && !NO_HIDDEN].
6122 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
6123 conditional to [SHARED].
6124
44558701
WN
61252013-09-04 Will Newton <will.newton@linaro.org>
6126
6127 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
6128 * benchtests/bench-string.h: Include bench-timing.h instead
6129 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
6130 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
6131 call to HP_TIMING_DIFF_INIT.
6132 * benchtests/bench-memccpy.c: Use bench-timing.h macros
6133 instead of hp-timing.h macros.
6134 * benchtests/bench-memchr.c: Likewise.
6135 * benchtests/bench-memcmp.c: Likewise.
6136 * benchtests/bench-memcpy.c: Likewise.
6137 * benchtests/bench-memmem.c: Likewise.
6138 * benchtests/bench-memmove.c: Likewise.
6139 * benchtests/bench-memset.c: Likewise.
6140 * benchtests/bench-rawmemchr.c: Likewise.
6141 * benchtests/bench-strcasecmp.c: Likewise.
6142 * benchtests/bench-strcasestr.c: Likewise.
6143 * benchtests/bench-strcat.c: Likewise.
6144 * benchtests/bench-strchr.c: Likewise.
6145 * benchtests/bench-strcmp.c: Likewise.
6146 * benchtests/bench-strcpy.c: Likewise.
6147 * benchtests/bench-strcpy_chk.c: Likewise.
6148 * benchtests/bench-strlen.c: Likewise.
6149 * benchtests/bench-strncasecmp.c: Likewise.
6150 * benchtests/bench-strncat.c: Likewise.
6151 * benchtests/bench-strncmp.c: Likewise.
6152 * benchtests/bench-strncpy.c: Likewise.
6153 * benchtests/bench-strnlen.c: Likewise.
6154 * benchtests/bench-strpbrk.c: Likewise.
6155 * benchtests/bench-strrchr.c: Likewise.
6156 * benchtests/bench-strspn.c: Likewise.
6157 * benchtests/bench-strstr.c: Likewise.
6158
cae16d66
WN
61592013-09-04 Will Newton <will.newton@linaro.org>
6160
6161 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
6162
ffa3cd7f
JM
61632013-09-03 Joseph Myers <joseph@codesourcery.com>
6164
6165 [BZ #15427]
6166 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
6167 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
6168 * math/libm-test.inc (lgamma_test_data): Add more tests.
6169 * sysdeps/i386/fpu/libm-test-ulps: Update.
6170 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6171
8f02859f
OB
61722013-09-03 Ondřej Bílka <neleai@seznam.cz>
6173
6174 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
6175 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6176 Add ifunc.
6177 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6178 Add strcmp-sse2-unaligned
6179 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
6180
18d43716
MF
61812013-09-02 Mike Frysinger <vapier@gentoo.org>
6182
6183 * Versions.def (libc): Add GLIBC_2.19.
6184
ac444012
MF
61852013-09-02 Mike Frysinger <vapier@gentoo.org>
6186
6187 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
6188 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
6189
b7835e32
JM
61902013-09-02 Joseph Myers <joseph@codesourcery.com>
6191
6192 [BZ #14155]
6193 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
6194 intermediate calculations in recurrence.
6195 (__ieee754_ynf): Likewise.
6196 * math/libm-test.inc (jn_test_data): Do not allow spurious
6197 underflow exception. Add more tests.
6198 (yn_test_data): Add more tests.
6199 * sysdeps/i386/fpu/libm-test-ulps: Update.
6200 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6201
8220f4f0
OB
62022013-09-02 Ondřej Bílka <neleai@seznam.cz>
6203
6204 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
6205
f24a6d08
OB
62062013-08-30 Ondřej Bílka <neleai@seznam.cz>
6207
6208 * csu/init-first.c: Fix then/than typos.
6209 * locale/programs/ld-collate.c: Likewise.
6210 * locale/programs/linereader.h: Likewise.
6211 * manual/charset.texi: Likewise.
6212 * manual/filesys.texi: Likewise.
6213 * manual/stdio.texi: Likewise.
6214 * manual/string.texi: Likewise.
6215 * stdlib/fmtmsg.c: Likewise.
6216 * sysdeps/i386/stpncpy.S: Likewise.
6217 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6218 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
6219 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6220 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6221
382466e0
OB
62222013-08-30 Ondřej Bílka <neleai@seznam.cz>
6223
6224 * elf/dl-open.c: Fix typos.
6225 * iconvdata/gbbig5.c: Likewise.
6226 * iconvdata/iso-2022-jp.c: Likewise.
6227 * iconv/gconv_int.h: Likewise.
6228 * iconv/loop.c: Likewise.
6229 * nis/rpcsvc/nis.h: Likewise.
6230 * resolv/ns_name.c: Likewise.
6231 * stdio-common/vfscanf.c: Likewise.
6232 * streams/stropts.h: Likewise.
6233 * sunrpc/rpc_thread.c: Likewise.
6234 * sysdeps/i386/strpbrk.S: Likewise.
6235 * sysdeps/ieee754/k_standard.c: Likewise.
6236 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6237 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6238 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
6239 * sysdeps/mach/hurd/profil.c: Likewise.
6240 * sysdeps/s390/dl-procinfo.h: Likewise.
6241 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
6242 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
6243 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
6244 * sysdeps/x86_64/dl-trampoline.S: Likewise.
6245 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
6246
0186c6e9
OB
62472013-08-30 Ondřej Bílka <neleai@seznam.cz>
6248
6249 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
6250 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
6251
d4e16af1
OB
62522013-08-29 Ondřej Bílka <neleai@seznam.cz>
6253
6254 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
6255 aix specific files.
6256 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
6257 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
6258 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
6259 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
6260 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
6261 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
6262 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
6263 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
6264
88335980
TS
62652013-08-29 Thomas Schwinge <thomas@codesourcery.com>
6266 Roland McGrath <roland@hack.frob.com>
6267
6268 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
6269 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
6270
ed479b02
ST
62712013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
6272
6273 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
6274 __executable_start symbol instead of _start.
6275
f1cc4c86
TS
62762013-08-29 Thomas Schwinge <thomas@codesourcery.com>
6277
d821f07c
TS
6278 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
6279 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
6280 Move macros to...
6281 * sysdeps/gnu/ldsodefs.h: ... this new file.
6282
c54290cf
TS
6283 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
6284 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
6285 instead of ELFOSABI_LINUX.
6286
0007fc9b 6287 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
6288 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
6289 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
6290 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
6291 Likewise.
6292 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
6293 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
6294 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
6295 Likewise.
6296 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
6297 (ibm_extended_long_double): Add ieee_nan member.
6298 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
6299 (do_test): New function.
6300
f1cc4c86
TS
6301 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
6302 TEST_TRUNC.
6303 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
6304 functions, renamed from truncdfsf_test, trunctfsf_test,
6305 trunctfdf_test.
6306 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
6307 functions.
6308 (do_test): Run all these.
6309
6f65e668
OB
63102013-08-29 Ondřej Bílka <neleai@seznam.cz>
6311
6312 * argp/argp-help.c: Fix typos.
6313 * argp/argp-parse.c: Likewise.
6314 * debug/backtracesyms.c: Likewise.
6315 * elf/elf.h: Likewise.
6316 * malloc/malloc.c: Likewise.
6317 * nis/nis_print.c: Likewise.
6318 * resolv/res_comp.c: Likewise.
6319 * stdlib/stdlib.h: Likewise.
6320 * sunrpc/clnt_tcp.c: Likewise.
6321 * sunrpc/clnt_udp.c: Likewise.
6322 * sunrpc/clnt_unix.c: Likewise.
6323 * sysdeps/unix/bsd/ptsname.c: Likewise.
6324 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
6325 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
6326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
6327 Likewise.
6328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
6329 Likewise.
6330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
6331 Likewise.
6f65e668
OB
6332 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
6333
3a309239
SP
63342013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6335
6336 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
6337 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6338
3b813b29
MF
63392013-08-27 Mike Frysinger <vapier@gentoo.org>
6340
6341 [BZ #15897]
6342 * dlfcn/Makefile (tests): Add bug-dl-leaf.
6343 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
6344 ($(objpfx)bug-dl-leaf): New rule.
6345 ($(objpfx)bug-dl-leaf.so): Likewise.
6346 ($(objpfx)bug-dl-leaf.out): Likewise.
6347 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
6348 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
6349 * dlfcn/bug-dl-leaf.c: New test.
6350 * dlfcn/bug-dl-leaf-lib.c: Likewise.
6351 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
6352 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
6353 (dlclose): Likewise.
6354 (dlmopen): Likewise.
6355
8cc3269f
RM
63562013-08-27 Roland McGrath <roland@hack.frob.com>
6357
7f9d0034
RM
6358 * include/netdb.h [!_ISOMAC]:
6359 Don't include <tls.h>.
6360 (h_errno, __libc_h_errno): Move declaration and macros out of
6361 [_LIBC_REENTRANT].
6362
fb431262
RM
6363 * include/resolv.h [_RESOLV_H_]:
6364 Don't include <tls.h>.
6365 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
6366 * resolv/res_libc.c: Don't include <tls.h>.
6367 (_res): Use __attribute__ ((nocommon)) in place of
6368 __attribute__ ((section (".bss"))).
6369
bd81123a
RM
6370 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
6371 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
6372
c4e42566
RM
6373 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
6374
f890a59b
RM
6375 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
6376 only under [SIOCGIFCONF && SIOCGIFNETMASK].
6377
6378 * resolv/res_mkquery.c: Include <sys/time.h>.
6379
5d1f0a09
RM
6380 * inet/ifreq.c: Moved to ...
6381 * sysdeps/unix/ifreq.c: ... here.
6382 * inet/ifreq.c: New file, true stub version.
6383
6fcf28b3
RM
6384 * socket/sa_len.c: New file.
6385 * socket/Makefile (aux): Add it.
6386 * sysdeps/unix/sysv/linux/Makefile
6387 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
6388 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
6389 and #include <socket/sa_len.c>.
6390 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
6391 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
6392
e041fb8b
RM
6393 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
6394 * bits/socket.h: ... here.
6395
8cc3269f
RM
6396 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
6397 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
6398 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
6399
5d228a43
AS
64002013-08-27 Andreas Schwab <schwab@suse.de>
6401
45b8accc
AS
6402 [BZ #15736]
6403 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
6404 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
6405 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
6406 * string/test-strcasecmp.c (test_main): Run tests in several
6407 locales.
6408 * string/test-strncasecmp.c (test_main): Likewise.
6409
5d228a43
AS
6410 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
6411 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
6412 to __strcasecmp_nonascii and __strncasecmp_nonascii.
6413 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
6414 (__strncasecmp_ssse3) [PIC]: Likewise.
6415
59d112a4
RM
64162013-08-26 Roland McGrath <roland@hack.frob.com>
6417
53234cc3
RM
6418 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
6419
59d112a4
RM
6420 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
6421 instead of explicitly declaring xdecrypt.
6422 * nis/nss_nis/nis-publickey.c: Likewise.
6423
595aba70
SP
64242013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6425
6426 [BZ #15890]
6427 * nscd/aicache.c: Include res_hconf.h.
6428 (addhstaiX): Initialize res_hconf.
6429
ffabd393
AS
64302013-08-26 Andreas Schwab <schwab@suse.de>
6431
6432 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
6433 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
6434
e0a69f5c
SP
64352013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6436
6437 * nscd/aicache.c (addhstaiX): Fix indentation.
6438
8c12f01d
MF
64392013-08-25 Mike Frysinger <vapier@gentoo.org>
6440
6441 * configure.ac: Quote $build_pt_chown test.
6442 * configure: Regenerated.
6443
8fe89494
JM
64442013-08-23 Joseph Myers <joseph@codesourcery.com>
6445
6446 [BZ #15532]
6447 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
6448 * math/s_cexpf.c (__cexpf): Likewise.
6449 * math/s_cexpl.c (__cexpl): Likewise.
6450 * math/libm-test.inc (cexp_test_data): Correct expected return
6451 value for NaN + i0. Add another test.
6452
75b181d6
DM
64532013-08-22 David S. Miller <davem@davemloft.net>
6454
6455 * po/ca.po: Update Catalan translation from translation project.
936241e4 6456 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 6457
acd06bb1
JM
64582013-08-21 Joseph Myers <joseph@codesourcery.com>
6459
6460 [BZ #15797]
6461 * math/s_fdim.c (__fdim): Check for infinite arguments if result
6462 is infinite, not alongside NaN test.
6463 * math/s_fdimf.c (__fdimf): Likewise.
6464 * math/s_fdiml.c (__fdiml): Likewise.
6465 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
6466 errno is unchanged.
6467
c0c3f78a
OB
64682013-08-21 Ondřej Bílka <neleai@seznam.cz>
6469
6470 * argp/argp-help.c: Fix typos.
6471 * crypt/speeds.c: Likewise.
6472 * csu/check_fds.c: Likewise.
6473 * elf/dl-load.c: Likewise.
6474 * elf/dl-open.c: Likewise.
6475 * elf/reldep3.c: Likewise.
6476 * elf/reldep.c: Likewise.
6477 * elf/sprof.c: Likewise.
6478 * iconv/iconv_charmap.c: Likewise.
6479 * iconv/skeleton.c: Likewise.
6480 * iconv/strtab.c: Likewise.
6481 * io/lockf64.c: Likewise.
6482 * libio/libioP.h: Likewise.
6483 * resolv/gai_notify.c: Likewise.
6484 * resolv/ns_name.c: Likewise.
6485 * resolv/ns_samedomain.c: Likewise.
6486 * resolv/res_send.c: Likewise.
6487 * stdlib/random.c: Likewise.
6488 * sunrpc/rpc/xdr.h: Likewise.
6489 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
6490 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6491 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6492 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6493 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6494 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6495 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6496 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6497 * sysdeps/mach/hurd/check_fds.c: Likewise.
6498 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
6499 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
6500 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6501 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
6502 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
6503 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
6504 * sysdeps/pthread/aio_notify.c: Likewise.
6505 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
6506 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
6507 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
6508 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
6509 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
6510
46ed1038
LD
65112013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6512
6513 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
6514 version if bit_Slow_SSE4_2 is set.
6515 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6516 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6517
d400dcac
AZ
65182013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6519
6520 [BZ #15867]
6521 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
6522 trampoline stack frame information.
6523 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
6524 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
6525 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
6526 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
6527 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
6528 * sysdeps/unix/sysv/linux/powerpc/init-first.c
6529 (_libc_vdso_platform_setup): Initialize the signal trampolines.
6530 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
6531 sa_flags value.
6532 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
6533 interrupting a syscall and set with option SA_SIGINFO.
6534
42c8fdd8
JM
65352013-08-20 Joseph Myers <joseph@codesourcery.com>
6536
c980f2f4
JM
6537 [BZ #15531]
6538 * math/s_cproj.c (__cproj): Only return an infinity if one part of
6539 argument is infinite.
6540 * math/s_cprojf.c (__cprojf): Likewise.
6541 * math/s_cprojl.c (__cprojl): Likewise.
6542 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
6543 * math/libm-test.inc (cproj_test_data): Add more tests.
6544
0716c4fc
JM
6545 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
6546
42c8fdd8
JM
6547 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
6548 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
6549 size. Use __ffs to determine corresponding shift.
6550
b31469d0
JM
65512013-08-20 Joseph Myers <joseph@codesourcery.com>
6552 Roland McGrath <roland@hack.frob.com>
6553
6554 * Makefile (INSTALL): Remove trailing blank lines from output of
6555 makeinfo.
6556
4e39af6e
AK
65572013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6558
6559 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
6560 Align 32 bit compat elf_greg to 8 bytes.
6561
f315524e
AA
65622013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
6563
6564 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
6565
1326ba1a
SP
65662013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6567
6568 * string/strcoll_l.c (coll_seq): New structure.
6569 (get_next_seq_cached): New function.
6570 (get_next_seq): New function.
6571 (do_compare): New function.
6572 (STRCOLL): Use GNU style definition. Simplify implementation
6573 by using get_next_seq, get_next_seq_cached and do_compare.
6574
91ce4085
FW
65752013-08-16 Florian Weimer <fweimer@redhat.com>
6576
6577 [BZ #14699]
6578 CVE-2013-4237
6579 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
6580 member.
6581 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
6582 member.
6583 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
6584 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
6585 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
6586 conditional.
6587 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
6588 GETDENTS_64BIT_ALIGNED.
6589 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
6590 * manual/filesys.texi (Reading/Closing Directory): Document
6591 ENAMETOOLONG return value of readdir_r. Recommend readdir more
6592 strongly.
6593 * manual/conf.texi (Limits for Files): Add portability note to
6594 NAME_MAX, PATH_MAX.
6595 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
6596
ca0a6bc4
AS
65972013-08-13 Andreas Schwab <schwab@suse.de>
6598
6599 [BZ #15749]
6600 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
6601 of fabs.
6602 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
6603 LDBL_MAX_EXP >= 16384]: Add tests for it.
6604
6c1fd795
DM
66052013-08-12 David S. Miller <davem@davemloft.net>
6606
6607 * version.h (RELEASE): Set to "development".
6608 (VERSION): Set to "2.18.90".
6609 * NEWS: Add 2.19 section.
6610
31ad488d
DM
66112013-08-03 David S. Miller <davem@davemloft.net>
6612
6613 * po/ko.po: Update Korean translation from translation project.
6614
db24e684
DM
66152013-08-01 David S. Miller <davem@davemloft.net>
6616
6617 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
6618 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
6619 Bilka.
6620
f723285b
DM
66212013-07-30 David S. Miller <davem@davemloft.net>
6622
6623 * po/fr.po: Update French translation from translation project.
6624
3cbc52db
DM
66252013-07-28 David S. Miller <davem@davemloft.net>
6626
30bbc0cc
DM
6627 * po/cs.po: Update Czech translation from translation project.
6628
3cbc52db
DM
6629 * po/sv.po: Update Swedish translation from translation project.
6630
d492e6d0
DM
66312013-07-27 David S. Miller <davem@davemloft.net>
6632
f1a7f492
DM
6633 * po/eo.po: Update Esperanto translation from translation project.
6634
90e62a4a
DM
6635 * po/vi.po: Update Vietnamese translation from translation project.
6636
d492e6d0
DM
6637 * po/de.po: Update German translation from translation project.
6638
d4baa62d
DM
66392013-07-26 David S. Miller <davem@davemloft.net>
6640
641aa7b4
DM
6641 * po/bg.po: Update Bulgarian translation from translation project.
6642
d4baa62d
DM
6643 * po/nl.po: Update Dutch translation from translation project.
6644 * po/pl.po: Update Polish translation from translation project.
6645 * po/ru.po: Update Russian translation from translation project.
6646
61a9dcb9
DM
66472013-07-24 David S. Miller <davem@davemloft.net>
6648
6649 * po/libc.pot: Update.
6650
7b1f8b58
AZ
66512013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6652
6653 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
6654 variable page size.
6655 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
6656 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
6657 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
6658
a8fc7a03
AK
66592013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6660
6661 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
6662
e4608715
CD
66632013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6664 Andreas Schwab <schwab@suse.de>
6665 Roland McGrath <roland@hack.frob.com>
6666 Joseph Myers <joseph@codesourcery.com>
6667 Carlos O'Donell <carlos@redhat.com>
6668
6669 [BZ #15755]
6670 * config.h.in: Define HAVE_PT_CHOWN.
6671 * config.make.in (build-pt-chown): New variable.
6672 * configure.in (--enable-pt_chown): New configure option.
6673 * configure: Regenerate.
6674 * login/Makefile: Include Makeconfig. Build pt_chown only if
6675 build-pt-chown is enabled.
6676 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
6677 pt_chown to fix pty ownership.
6678 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
6679 CLOSE_ALL_FDS.
6680 * manual/install.texi (Configuring and compiling): Mention
6681 --enable-pt_chown. Add @findex for grantpt.
6682 * INSTALL: Regenerate.
6683
da2d62df
DM
66842013-07-20 David S. Miller <davem@davemloft.net>
6685
6686 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
6687 difference between 32-bit and 64-bit.
6688
d7e06450
CD
66892013-07-15 Carlos O'Donell <carlos@redhat.com>
6690
6691 [BZ #15711]
6692 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
6693 Avoid system header dependency with -ffreestanding.
6694 ($(objpfx)bits/syscall%d): Likewise.
6695
f959cfd7
DM
66962013-07-13 David S. Miller <davem@davemloft.net>
6697
6698 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
6699 underflows from atanl/atan2l due to bug 15319.
6700 (casinh_test_data): Likewise.
6701
c61f8513
DM
67022013-07-07 David S. Miller <davem@davemloft.net>
6703
6704 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
6705
72c90ed0
JA
67062013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
6707
6708 * sysdeps/i386/fpu/libm-test-ulps: Update.
6709 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6710
52dfbe13
SP
67112013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6712
6713 * configure.in (--enable-lock-elision): Fix message text.
6714 * INSTALL: Regenerate.
6715 * configure: Regenerate.
6716
3f169543
AZ
67172013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6718
6719 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6720
521c6785
AJ
67212013-07-03 Andreas Jaeger <aj@suse.de>
6722
6723 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
6724 define.
6725 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
6726 (ptrace_peeksiginfo_args): Add.
6727 (__ptrace_peeksiginfo_flags): Add.
6728 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6729 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6730 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6731
d2cc15cb
AM
67322013-07-03 Allan McRae <allan@archlinux.org>
6733
6734 * sysdeps/i386/fpu/libm-test-ulps: Update.
6735
3aaeeca7
DM
67362013-07-02 David S. Miller <davem@davemloft.net>
6737
6738 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6739
5314ed1a
MT
67402013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
6741
6742 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6743
67338156
JM
67442013-07-02 Joseph Myers <joseph@codesourcery.com>
6745
6746 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6747 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6748
1717da59
AK
67492013-07-02 Andi Kleen <ak@linux.intel.com>
6750
6751 * config.h.in (ENABLE_LOCK_ELISION): Add.
6752 * configure.in (--enable-lock-elision): Add option.
6753 * manual/install.texi: Document --enable lock elision.
6754 * configure: Regenerate
6755 * INSTALL: Regenerate.
6756
1c81621c
L
67572013-07-02 H.J. Lu <hongjiu.lu@intel.com>
6758
6759 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
6760 SSE4.2 strcasecmp for libc.a.
6761 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6762
77f01ab5
JM
67632013-07-02 Joseph Myers <joseph@codesourcery.com>
6764
6765 [BZ #13304]
6766 * soft-fp/op-common.h (_FP_FMA): New macro.
6767 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
6768 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
6769 (_FP_MUL_MEAT_1_imm): ... here.
6770 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
6771 (_FP_MUL_MEAT_1_wide): ... here.
6772 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
6773 (_FP_MUL_MEAT_1_hard): ... here.
6774 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
6775 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
6776 (_FP_MUL_MEAT_2_wide): ... here.
6777 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
6778 (_FP_MUL_MEAT_2_wide_3mul): ... here.
6779 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
6780 (_FP_MUL_MEAT_2_gmp): ... here.
6781 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
6782 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
6783 (_FP_MUL_MEAT_4_wide): ... here.
6784 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
6785 (_FP_MUL_MEAT_4_gmp): ... here.
6786 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
6787 (_FP_WFRACBITS_DW_S): Likewise.
6788 (_FP_WFRACXBITS_DW_S): Likewise.
6789 (_FP_HIGHBIT_DW_S): Likewise.
6790 (FP_FMA_S): Likewise.
6791 (_FP_FRAC_HIGH_DW_S): Likewise.
6792 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
6793 (_FP_WFRACBITS_DW_D): Likewise.
6794 (_FP_WFRACXBITS_DW_D): Likewise.
6795 (_FP_HIGHBIT_DW_D): Likewise.
6796 (FP_FMA_D): Likewise.
6797 (_FP_FRAC_HIGH_DW_D): Likewise.
6798 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
6799 (_FP_WFRACBITS_DW_E): Likewise.
6800 (_FP_WFRACXBITS_DW_E): Likewise.
6801 (_FP_HIGHBIT_DW_E): Likewise.
6802 (FP_FMA_E): Likewise.
6803 (_FP_FRAC_HIGH_DW_E): Likewise.
6804 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
6805 (_FP_WFRACBITS_DW_Q): Likewise.
6806 (_FP_WFRACXBITS_DW_Q): Likewise.
6807 (_FP_HIGHBIT_DW_Q): Likewise.
6808 (FP_FMA_Q): Likewise.
6809 (_FP_FRAC_HIGH_DW_Q): Likewise.
6810 * soft-fp/fmasf4.c: New file.
6811 * soft-fp/fmadf4.c: Likewise.
6812 * soft-fp/fmatf4.c: Likewise.
6813
6308fd9a
LD
68142013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6815
6816 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
6817 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
6818 Silvermont.
6819 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
6820 macro.
6821 (index_Slow_SSE4_2): Likewise.
6822 (index_Prefer_PMINUB_for_stringop): Likewise.
6823 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
6824 bit_Slow_SSE4_2 is set.
6825 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6826 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6827
89cd9569
RA
68282013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6829
6830 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
6831 rtld_global._dl_hwcap2.
6832 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
6833 POWER8.
6834 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
6835 POWER8 feature descriptions defined in _dl_hwcap2.
6836 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
6837 string handling for POWER8 feature bits.
6838 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
6839 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
6840 _dl_powerpc_cap_flags.
6841 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
6842 * sysdeps/powerpc/rtld-global-offsets.sym
6843 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
6844 _dl_hwcap2 in the rtld_global_ro structure.
6845
1ae8bfe0
RA
68462013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6847
6848 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
6849 hardware capabilities in support of AT_HWCAP2.
6850 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
6851 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
6852 GLRO(dl_hwcap2).
6853 (_dl_show_auxv): Add support for calling _dl_procinfo to display
6854 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
6855 explicitly the unknown a_type display mechanism is used.
6856 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
6857 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
6858 struct member.
6859 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
6860 to macro prototype for AT_HWCAP2 support.
6861 * sysdeps/i386/dl-procinfo.h: Likewise.
6862 * sysdeps/s390/dl-procinfo.h: Likewise.
6863 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
6864 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
6865 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
6866 return -1 for unknown a_type display fallback.
6867 * sysdeps/sparc/dl-procinfo.h: Likewise.
6868 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
6869 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
6870
8fbec010
JM
68712013-06-28 Joseph Myers <joseph@codesourcery.com>
6872
6873 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
6874 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
6875
0432680e
PY
68762013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
6877
6878 [BZ #12492]
6879 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
6880 mprotect making __stack_prot writable.
6881
ce61a2ad
NF
68822013-06-28 Nathan Froyd <froydnj@codesourcery.com>
6883 Joseph Myers <joseph@codesourcery.com>
6884
6885 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
6886 as being properly aligned.
6887
f91f1c0f
MR
68882013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
6889
3d0f5d0c
MR
6890 * dlfcn/modstatic5.c: New file.
6891 * dlfcn/tststatic5.c: New file.
6892 * dlfcn/Makefile (tests): Add tststatic5.
6893 (tests-static): Likewise.
6894 (modules-names): Add modstatic5.
6895 (tststatic5-ENV): New variable.
6896 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
6897
f91f1c0f
MR
6898 [BZ #15022]
6899 * elf/dl-support.c (_dl_main_map): New variable.
6900 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
6901 (_dl_nns, _dl_load_adds): Set to 1.
6902 (_dl_initial_searchlist): Refer to _dl_main_map.
6903 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
6904 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
6905 call to _dl_get_origin.
6906 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
6907 around call_map.
6908 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
6909 * dlfcn/modstatic3.c: New file.
6910 * dlfcn/tststatic3.c: New file.
6911 * dlfcn/tststatic4.c: New file.
6912 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
6913 (tests-static): Likewise.
6914 (modules-names): Add modstatic3.
6915 (tststatic3-ENV, tststatic4-ENV): New variables.
6916 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
6917 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
6918
cbe7d24b
JM
69192013-06-26 Joseph Myers <joseph@codesourcery.com>
6920
6921 * configure.in (CC): Require GCC version 4.4 or later.
6922 * configure: Regenerated.
6923 * manual/install.texi (Tools for Compilation): Update GCC version
6924 requirement.
6925 * INSTALL: Regenerated.
6926
11b8a0e1
LD
69272013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6928
6929 [BZ #15674]
bb5bb87c
L
6930 * string/test-memcmp.c (check2): New.
6931 (main): Call check2.
6932
11b8a0e1
LD
6933 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
6934
b0037103
MR
69352013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
6936
6937 [BZ #15022]
6938 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
6939 over to...
6940 (dl_open_worker) [!SHARED]: ... here.
6941
c18c701d
RA
69422013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6943
6944 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
6945
1d17fa5f
RH
69462013-06-25 Richard Henderson <rth@redhat.com>
6947
6948 * locale/programs/locarchive.c: Include <libc-internal.h>
6949
8fcb833a
JM
69502013-06-25 Joseph Myers <joseph@codesourcery.com>
6951
6952 * manual/texinfo.tex: Update to version 2013-06-21.17, with
6953 trailing whitespace removed.
6954
17db6e8d
MF
69552013-06-24 Mike Frysinger <vapier@gentoo.org>
6956
6957 [BZ #10283]
17db6e8d
MF
6958 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
6959 * locale/programs/locarchive.c: Include libc-mmap.h.
6960 (prepare_address_space): Take two new outputs (the mmap base and len).
6961 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
6962 values.
6963 (create_archive): Declare new mmap base and len values for
6964 prepare_address_space, and store the result in ah.
6965 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
6966 (enlarge_archive): If ah->mmap_base is not NULL, use that and
6967 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6968 Declare new mmap base and len values for
6969 prepare_address_space, and store the result in new_ah.
6970 (open_archive): Declare new mmap base and len values for
6971 prepare_address_space, and store the result in ah.
6972 (close_archive): If ah->mmap_base is not NULL, use that and
6973 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6974 * sysdeps/generic/libc-mmap.h: New file.
6975
d605071e
MF
69762013-06-24 Mike Frysinger <vapier@gentoo.org>
6977
6978 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
6979 (ALIGN_UP): Likewise.
6980 (PTR_ALIGN_DOWN): Likewise.
6981 (PTR_ALIGN_UP): Likewise.
6982
2f063a6e
RA
69832013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6984
6985 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
6986 entry mapped to PPC_PLATFORM_POWER8.
6987 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
6988 POWER8.
6989 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
6990 (_dl_string_platform): Add case for exporting platform position for
6991 POWER8.
6992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
6993 search path to sysdeps/powerpc/powerpc32/power8 directory.
6994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
6995 search path to sysdeps/powerpc/powerpc64/power8 directory.
6996 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
6997 power7 directories.
6998 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
6999 power7 directories.
7000
a31ee4b3
SP
70012013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7002
a74ca98f
SP
7003 * INSTALL: Regenerate.
7004
a31ee4b3
SP
7005 * nscd/connections.c (nscd_init): Fix comment.
7006
695c378f
JM
70072013-06-22 Joseph Myers <joseph@codesourcery.com>
7008
d8412221
JM
7009 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
7010
695c378f
JM
7011 [BZ #15667]
7012 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
7013 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
7014
d1d54715
MR
70152013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
7016
7017 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
7018 DL_DST_REQ_STATIC.
7019 (DL_DST_REQ_STATIC): Remove macro.
7020
8fdda7af
JM
70212013-06-21 Joseph Myers <joseph@codesourcery.com>
7022
7023 [BZ #7006]
7024 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
7025 with a shift of 0 bits.
7026
f3bc5e5a
MR
70272013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
7028
7029 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
7030 $(tststatic-ENV).
7031
be09e8c9
KK
70322013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7033
7034 [BZ #15655]
7035 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
7036
85c2e611
AZ
70372013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7038
7039 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
7040 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
7041 accepts -fno-tree-loop-distribute-patterns.
7042 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
7043 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
7044 recursive call.
7045 * string/memset.c (memset): Likewise.
7046 * string/test-memmove.c (simple_memmove): Disable loop transformation
7047 to library calls.
7048 * string/test-memset.c (simple_memset): Likewise.
7049 * benchtests/bench-memmove.c (simple_memmove): Likewise.
7050 * benchtests/bench-memset.c (simple_memset): Likewise.
7051 * configure: Regenerated.
7052
c91e0825
JM
70532013-06-20 Joseph Myers <joseph@codesourcery.com>
7054
b8c792af
JM
7055 * math/test-misc.c (main): Ignore fesetround failure when failures
7056 of subsequent rounding tests would be ignored.
7057
c91e0825
JM
7058 [BZ #15654]
7059 * math/fedisblxcpt.c (fedisableexcept): Return 0.
7060 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
7061 * math/fegetenv.c (__fegetenv): Return 0.
7062 * math/fegetexcept.c (fegetexcept): Return 0.
7063 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
7064 FE_TONEAREST.
7065 * math/feholdexcpt.c (feholdexcept): Return 0.
7066 * math/fesetenv.c (__fesetenv): Return 0.
7067 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
7068 argument FE_TONEAREST.
7069 * math/feupdateenv.c (__feupdateenv): Return 0.
7070 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
7071
bfcacbde
RM
70722013-06-18 Roland McGrath <roland@hack.frob.com>
7073
7074 * elf/rtld-Rules (rtld-compile-command.S): New variable.
7075 (rtld-compile-command.s, rtld-compile-command.c): New variables.
7076 ($(objpfx)rtld-%.os rules): Use them.
7077
e55a9b25
AZ
70782013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7079
7080 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
7081 fields.
7082
346d65b3
RM
70832013-06-17 Roland McGrath <roland@hack.frob.com>
7084
12086fb4
RM
7085 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
7086 length of target pattern, then descending length of dependency pattern.
7087 * configure.in (AWK): Require gawk 3.1.2 or newer.
7088 * manual/install.texi (Tools for Compilation): Say that we do.
7089 * configure: Regenerated.
7090
346d65b3
RM
7091 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
7092 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
7093 * scripts/sysd-rules.awk: ... this new script.
7094 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
7095 than a glob-style pattern.
7096
1a846317
JM
70972013-06-17 Joseph Myers <joseph@codesourcery.com>
7098
7099 * math/test-misc.c (main): Do not treat incorrectly rounded
7100 conversions as failure unless ROUNDING_TESTS passes.
7101
8fc75e6f
JM
71022013-06-15 Joseph Myers <joseph@codesourcery.com>
7103
3711a167
JM
7104 [BZ #15631]
7105 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
7106 restore exception state around main square root computation, then
7107 check for inexactness explicitly.
7108
8fc75e6f
JM
7109 * math/libm-test.inc (fma_test_data): Add another test.
7110
61dd6208
SP
71112013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7112
adf23d2c
SP
7113 * manual/threads.texi (Non-POSIX Extensions): New document
7114 node. Document pthread_getattr_default_np and
7115 pthread_setattr_default_np.
7116
61dd6208
SP
7117 * Versions.def (libpthread): Add GLIBC_2.18.
7118 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
7119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7120 Likewise.
7121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7122 Likewise.
7123 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7124 Likewise.
7125 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7126 Likewise.
7127 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
7128 Likewise.
7129 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7130 Likewise.
7131 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7132 Likewise.
7133 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
7134 Likewise.
7135 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
7136 Likewise.
7137
d086fc7b
LD
71382013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7139
7140 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7141 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
7142
747ef469
SP
71432013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7144 H.J. Lu <hjl.tools@gmail.com>
7145
7146 [BZ #15627]
7147 * sysdeps/x86_64/rtld-memset.c: Remove file.
7148 * sysdeps/x86_64/rtld-memset.S: New file.
7149
1b2feed2
JM
71502013-06-14 Joseph Myers <joseph@codesourcery.com>
7151
7152 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
7153 (test_in_one_mode): Take arguments for whether the rounding mode
7154 is supported for each floating-point type.
7155 (do_test): Pass new arguments to test_in_one_mode using
7156 ROUNDING_TESTS.
7157
a58ad3f8
RM
71582013-06-13 Roland McGrath <roland@hack.frob.com>
7159
7160 * posix/tst-waitid.c (do_test): Distinguish different instances of
7161 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
7162 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
7163 before entering the kernel for waitpid.
7164
c204ab28
SP
71652013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7166
7167 * NEWS: Fix note on clock function precision. Text by Roland
7168 McGrath.
7169
f4a29fba
RM
71702013-06-13 Roland McGrath <roland@hack.frob.com>
7171
7172 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
7173 it into place only when and if the sanity check passes.
7174
1f24b9ad
JM
71752013-06-13 Joseph Myers <joseph@codesourcery.com>
7176
7177 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
7178 output for whether conversion result is exact. Take argument
7179 indicating whether type is IBM long double.
7180 (round_for_all): Change need_exact field to ibm_ld.
7181 * stdlib/tst-strtod-round.c (struct exactness): New type.
7182 (struct test): Change bool ld_ok field to struct exactness exact.
7183 (TEST): Update all definitions for change to field.
7184 (tests): Regenerate array contents.
7185 (test_in_one_mode): Take pointer to new field instead of old ld_ok
7186 field value. Check for IBM long double here.
7187 (do_test): Update calls to test_in_one_mode.
7188
58206c68
SP
71892013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7190
7191 [BZ #12515]
7192 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
7193 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
7194
2d6f4c5b 71952013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
7196
7197 [BZ #15605]
7198 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
7199 generated by the compiler on loop optimizations.
7200 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
7201 general definitions.
7202
94f2c076
JM
72032013-06-12 Joseph Myers <joseph@codesourcery.com>
7204
7205 * math/bug-nextafter.c: Include <math-tests.h>.
7206 (main): Only test for exceptions if EXCEPTION_TESTS is true for
7207 the relevant type.
7208 * math/bug-nexttoward.c: Include <math-tests.h>.
7209 (main): Only test for exceptions if EXCEPTION_TESTS is true for
7210 the relevant type.
7211 * math/test-misc.c: Include <math-tests.h>.
7212 (main): Only test for exceptions if EXCEPTION_TESTS is true for
7213 the relevant type.
7214
e0e50a0a
AJ
72152013-06-12 Andreas Jaeger <aj@suse.de>
7216
7217 * po/ia.po: Update Interlingua translation from translation
7218 project.
7219
25061094
SP
72202013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7221
7222 * include/fenv.h: Include stdbool.h.
7223 (struct rm_ctx): New structure.
7224 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
7225 Define macro.
7226 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
7227 (SET_RESTORE_ROUNDF): Likewise.
7228 (SET_RESTORE_ROUNDL): Likewise.
7229 (SET_RESTORE_ROUND_NOEX): Likewise.
7230 (SET_RESTORE_ROUND_NOEXF): Likewise.
7231 (SET_RESTORE_ROUND_NOEXL): Likewise.
7232 (SET_RESTORE_ROUND_53BIT): Likewise.
7233 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
7234 (libc_feresetround_noexf_ctx): Likewise.
7235 (libc_feresetround_noexl_ctx): Likewise.
7236 (libc_feholdsetround_53bit_ctx): Likewise.
7237 (libc_feresetround_53bit_ctx): Likewise.
7238 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
7239 (libc_feholdexcept_setround_sse_ctx): New function.
7240 (libc_fesetenv_sse_ctx): Likewise.
7241 (libc_feupdateenv_sse_ctx): Likewise.
7242 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
7243 (libc_feholdexcept_setround_387_ctx): Likewise.
7244 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
7245 (libc_feholdsetround_387_prec_ctx): Likewise.
7246 (libc_feholdsetround_387_ctx): Likewise.
7247 (libc_feholdsetround_387_53bit_ctx): Likewise.
7248 (libc_feholdsetround_sse_ctx): Likewise.
7249 (libc_feresetround_sse_ctx): Likewise.
7250 (libc_feresetround_387_ctx): Likewise.
7251 (libc_feupdateenv_387_ctx): Likewise.
7252 (libc_feholdexcept_setroundf_ctx): Define macro.
7253 (libc_fesetenvf_ctx): Likewise.
7254 (libc_feupdateenvf_ctx): Likewise.
7255 (libc_feholdsetroundf_ctx): Likewise.
7256 (libc_feresetroundf_ctx): Likewise.
7257 (libc_feholdexcept_setround_ctx): Likewise.
7258 (libc_fesetenv_ctx): Likewise.
7259 (libc_feupdateenv_ctx): Likewise.
7260 (libc_feholdsetround_ctx): Likewise.
7261 (libc_feresetround_ctx): Likewise.
7262 (libc_feholdexcept_setroundl_ctx): Likewise.
7263 (libc_feupdateenvl_ctx): Likewise.
7264 (libc_feholdsetroundl_ctx): Likewise.
7265 (libc_feresetroundl_ctx): Likewise.
7266 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
7267 (libc_feresetround_53bit_ctx): Likewise.
7268
59b30555
SP
72692013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7270
7271 * locale/iso-639.def: Convert to UTF-8.
7272
f1d73d30
JM
72732013-06-11 Joseph Myers <joseph@codesourcery.com>
7274
7275 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
7276 (EXCEPTION_TESTS_double): Likewise.
7277 (EXCEPTION_TESTS_long_double): Likewise.
7278 (EXCEPTION_TESTS): Likewise.
7279 * math/libm-test.inc (test_exceptions): Only test exceptions if
7280 EXCEPTION_TESTS (FLOAT).
7281
94aca5e7
SP
72822013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7283
7284 * benchtests/Makefile (string-bench): Add strcpy_chk and
7285 stpcpy_chk.
7286 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
7287 * benchtests/bench-stpcpy_chk.c: New file.
7288 * benchtests/bench-strcpy_chk-ifunc.c: New file.
7289 * benchtests/bench-strcpy_chk.c: New file.
7290 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
7291 code.
7292 (do_test): Likewise.
7293
fac0c5f2
RA
72942013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7295
7296 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
7297 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
7298 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
7299 with tabs where appropriate.
7300 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
7301 dl-procinfo.h.
7302 [PPC_PLATFORM_PPC440]: Likewise.
7303 [PPC_PLATFORM_PPC464]: Likewise.
7304 [PPC_PLATFORM_PPC476]: Likewise.
7305 (_dl_string_platform): Add support for detecting ppc405, ppc440,
7306 ppc464, and ppc476 platform strings merging from ports/
7307 dl-procinfo.h.
7308
f22bc486
AS
73092013-06-11 Andreas Schwab <schwab@suse.de>
7310
7311 [BZ #14991]
7312 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
7313 (from_ucs4_idx): Regenerate.
7314 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
7315 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
7316 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
7317 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
7318 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
7319 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
7320 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
7321 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
7322 from FROM_LOOP and TO_LOOP specific macros.
7323 (BODY): Handle combining characters.
7324 * iconvdata/BIG5HKSCS.irreversible: Update.
7325 * iconvdata/BIG5HKSCS.precomposed: New file.
7326 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
7327 characters.
7328 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
7329
c1f75dc3
SP
73302013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7331
4eacded2
SP
7332 * include/sys/time.h: Fix indentation and add copyright header.
7333
fec799f8
SP
7334 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
7335 (do_test): Likewise.
7336 * string/test-memchr.c (do_one_test): Likewise.
7337 (do_test): Likewise.
7338 * string/test-memcmp.c (do_one_test): Likewise.
7339 (do_test): Likewise.
7340 * string/test-memcpy.c (do_one_test): Likewise.
7341 (do_test): Likewise.
7342 * string/test-memmem.c (do_one_test): Likewise.
7343 (do_test): Likewise.
7344 (do_random_tests): Likewise.
7345 * string/test-memmove.c (do_one_test): Likewise.
7346 (do_test): Likewise.
7347 * string/test-memset.c (do_one_test): Likewise.
7348 (do_test): Likewise.
7349 * string/test-rawmemchr.c (do_one_test): Likewise.
7350 (do_test): Likewise.
7351 * string/test-strcasecmp.c (do_one_test): Likewise.
7352 (do_test): Likewise.
7353 * string/test-strcasestr.c (do_one_test): Likewise.
7354 (do_test): Likewise.
7355 * string/test-strcat.c (do_one_test): Likewise.
7356 (do_test): Likewise.
7357 * string/test-strchr.c (do_one_test): Likewise.
7358 (do_test): Likewise.
7359 * string/test-strcmp.c (do_one_test): Likewise.
7360 (do_test): Likewise.
7361 * string/test-strcpy.c (do_one_test): Likewise.
7362 (do_test): Likewise.
7363 * string/test-string.h: Likewise.
7364 (test_init): Likewise.
7365 * string/test-strlen.c (do_one_test): Likewise.
7366 (do_test): Likewise.
7367 * string/test-strncasecmp.c (do_one_test): Likewise.
7368 (do_test): Likewise.
7369 * string/test-strncat.c (do_one_test): Likewise.
7370 (do_test): Likewise.
7371 * string/test-strncmp.c (do_one_test): Likewise.
7372 (do_test_limit): Likewise.
7373 (do_test): Likewise.
7374 * string/test-strncpy.c (do_one_test): Likewise.
7375 (do_test): Likewise.
7376 * string/test-strnlen.c (do_one_test): Likewise.
7377 (do_test): Likewise.
7378 * string/test-strpbrk.c (do_one_test): Likewise.
7379 (do_test): Likewise.
7380 * string/test-strrchr.c (do_one_test): Likewise.
7381 (do_test): Likewise.
7382 * string/test-strspn.c (do_one_test): Likewise.
7383 (do_test): Likewise.
7384 * string/test-strstr.c (do_one_test): Likewise.
7385 (do_test): Likewise.
7386
97020474
SP
7387 * benchtests/Makefile (string-bench): Add string benchmarks.
7388 * benchtests/bench-bcopy-ifunc.c: New file.
7389 * benchtests/bench-bcopy.c: New file.
7390 * benchtests/bench-bzero-ifunc.c: New file.
7391 * benchtests/bench-bzero.c: New file.
7392 * benchtests/bench-memccpy-ifunc.c: New file.
7393 * benchtests/bench-memccpy.c: New file.
7394 * benchtests/bench-memchr-ifunc.c: New file.
7395 * benchtests/bench-memchr.c: New file.
7396 * benchtests/bench-memcmp-ifunc.c: New file.
7397 * benchtests/bench-memcmp.c: New file.
7398 * benchtests/bench-memmem-ifunc.c: New file.
7399 * benchtests/bench-memmem.c: New file.
7400 * benchtests/bench-memmove-ifunc.c: New file.
7401 * benchtests/bench-memmove.c: New file.
7402 * benchtests/bench-mempcpy-ifunc.c: New file.
7403 * benchtests/bench-mempcpy.c: New file.
7404 * benchtests/bench-memset-ifunc.c: New file.
7405 * benchtests/bench-memset.c: New file.
7406 * benchtests/bench-rawmemchr-ifunc.c: New file.
7407 * benchtests/bench-rawmemchr.c: New file.
7408 * benchtests/bench-stpcpy-ifunc.c: New file.
7409 * benchtests/bench-stpcpy.c: New file.
7410 * benchtests/bench-stpncpy-ifunc.c: New file.
7411 * benchtests/bench-stpncpy.c: New file.
7412 * benchtests/bench-strcasecmp-ifunc.c: New file.
7413 * benchtests/bench-strcasecmp.c: New file.
7414 * benchtests/bench-strcasestr-ifunc.c: New file.
7415 * benchtests/bench-strcasestr.c: New file.
7416 * benchtests/bench-strcat-ifunc.c: New file.
7417 * benchtests/bench-strcat.c: New file.
7418 * benchtests/bench-strchr-ifunc.c: New file.
7419 * benchtests/bench-strchr.c: New file.
7420 * benchtests/bench-strchrnul-ifunc.c: New file.
7421 * benchtests/bench-strchrnul.c: New file.
7422 * benchtests/bench-strcmp-ifunc.c: New file.
7423 * benchtests/bench-strcmp.c: New file.
7424 * benchtests/bench-strcpy-ifunc.c: New file.
7425 * benchtests/bench-strcpy.c: New file.
7426 * benchtests/bench-strcspn-ifunc.c: New file.
7427 * benchtests/bench-strcspn.c: New file.
7428 * benchtests/bench-strlen-ifunc.c: New file.
7429 * benchtests/bench-strlen.c: New file.
7430 * benchtests/bench-strncasecmp-ifunc.c: New file.
7431 * benchtests/bench-strncasecmp.c: New file.
7432 * benchtests/bench-strncat-ifunc.c: New file.
7433 * benchtests/bench-strncat.c: New file.
7434 * benchtests/bench-strncmp-ifunc.c: New file.
7435 * benchtests/bench-strncmp.c: New file.
7436 * benchtests/bench-strncpy-ifunc.c: New file.
7437 * benchtests/bench-strncpy.c: New file.
7438 * benchtests/bench-strnlen-ifunc.c: New file.
7439 * benchtests/bench-strnlen.c: New file.
7440 * benchtests/bench-strpbrk-ifunc.c: New file.
7441 * benchtests/bench-strpbrk.c: New file.
7442 * benchtests/bench-strrchr-ifunc.c: New file.
7443 * benchtests/bench-strrchr.c: New file.
7444 * benchtests/bench-strspn-ifunc.c: New file.
7445 * benchtests/bench-strspn.c: New file.
7446 * benchtests/bench-strstr-ifunc.c: New file.
7447 * benchtests/bench-strstr.c: New file.
7448
c1f75dc3
SP
7449 * benchtests/Makefile: Disable parallel execution of targets.
7450 (string-bench): Add memcpy.
7451 (benchset): New variable to store a list of benchmark sets.
7452 (bench-func): Renamed from bench.
7453 (bench-set): New target.
7454 (bench): Depend on bench-func and bench-set.
7455 * benchtests/README: Add section on benchmark sets.
7456 * benchtests/bench-memcpy-ifunc.c: New file.
7457 * benchtests/bench-memcpy.c: New file.
7458 * benchtests/bench-string.h: New file.
7459
50fd745b
AS
74602013-06-11 Andreas Schwab <schwab@suse.de>
7461
7462 [BZ #15577]
7463 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
7464 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
7465 values in the triple.
7466 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
7467 terminator in the group key.
7468
3ee7e9fe
AJ
74692013-06-11 Andreas Jaeger <aj@suse.de>
7470
7471 * po/zh_TW.po: Update Chinese (traditional) translation from
7472 translation project.
7473
89fb6835
SP
74742013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7475
7476 * include/time.h (__clock_gettime): Add libc_hidden_proto.
7477 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
7478 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
7479 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7480 (clock_getcpuclockid): Likewise.
7481 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
7482 Add weak_alias and libc_hidden_def.
7483 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
7484 * rt/clock_gettime.c (clock_gettime): Rename to
7485 __clock_gettime. Add weak_alias and libc_hidden_def.
7486 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
7487 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
7488 __clock_nanosleep. Add weak_alias and libc_hidden_def.
7489 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
7490 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
7491 Likewise.
7492 * rt/clock_settime.c (clock_settime): Rename to
7493 __clock_settime. Add weak_alias and libc_hidden_def.
7494 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
7495
0efa6f8b
JM
74962013-06-10 Joseph Myers <joseph@codesourcery.com>
7497
b8c61b4b
JM
7498 * mach/err_boot.sub: Remove trailing whitespace.
7499 * mach/err_ipc.sub: Likewise.
7500 * mach/err_mach.sub: Likewise.
7501
0efa6f8b
JM
7502 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
7503 (ROUNDING_TESTS_double): Likewise.
7504 (ROUNDING_TESTS_long_double): Likewise.
7505 (ROUNDING_TESTS): Likewise.
7506 * math/libm-test.inc: Include <math-tests.h>.
7507 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
7508 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
7509 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7510 (IF_ROUND_INIT_FE_UPWARD): Likewise.
7511
50b818bf
SP
75122013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7513
7514 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
7515 of assigning.
7516
60d2f8f3
JM
75172013-06-08 Joseph Myers <joseph@codesourcery.com>
7518
4902d2c3
JM
7519 * sysdeps/gnu/errlist.awk: Do not generate space at end of
7520 otherwise empty TRANS lines.
7521 * sysdeps/gnu/errlist.c: Regenerated.
7522
60d2f8f3
JM
7523 * catgets/gencat.c (error_print): Use (void) in function
7524 definition.
7525 * crypt/crypt_util.c (__init_des): Likewise.
7526 * crypt/speeds.c (Stop): Likewise.
7527 (main): Likewise.
7528 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
7529 * inet/ruserpass.c (token): Likewise.
7530 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
7531 * intl/localealias.c (extend_alias_table): Likewise.
7532 * intl/plural-exp.c (init_germanic_plural): Likewise.
7533 * libio/fcloseall.c (__fcloseall): Likewise.
7534 * libio/genops.c (_IO_flush_all): Likewise.
7535 (_IO_flush_all_linebuffered): Likewise.
7536 (_IO_cleanup): Likewise.
7537 (_IO_iter_begin): Likewise.
7538 (_IO_iter_end): Likewise.
7539 (_IO_list_lock): Likewise.
7540 (_IO_list_unlock): Likewise.
7541 (_IO_list_resetlock): Likewise.
7542 * libio/getchar.c (getchar): Likewise.
7543 * libio/getchar_u.c (getchar_unlocked): Likewise.
7544 * libio/getwchar.c (getwchar): Likewise.
7545 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
7546 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
7547 * login/getpt.c (__getpt): Likewise.
7548 * login/tst-utmp.c (main): Likewise.
7549 * malloc/hooks.c (__malloc_check_init): Likewise.
7550 * malloc/malloc.c (__malloc_stats): Likewise.
7551 * malloc/mtrace.c (tr_break): Likewise.
7552 (mtrace): Likewise.
7553 (muntrace): Likewise.
7554 * misc/fstab.c (endfsent): Likewise.
7555 * misc/getclktck.c (__getclktck): Likewise.
7556 * misc/getdtsz.c (__getdtablesize): Likewise.
7557 * misc/gethostid.c (gethostid): Likewise.
7558 * misc/getpagesize.c (__getpagesize): Likewise.
7559 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
7560 (__get_nprocs): Likewise.
7561 (__get_phys_pages): Likewise.
7562 (__get_avphys_pages): Likewise.
7563 * misc/getttyent.c (getttyent): Likewise.
7564 (setttyent): Likewise.
7565 (endttyent): Likewise.
7566 * misc/getusershell.c (getusershell): Likewise.
7567 (endusershell): Likewise.
7568 (setusershell): Likewise.
7569 (initshells): Likewise.
7570 * misc/hsearch.c (__hdestroy): Likewise.
7571 * misc/sync.c (sync): Likewise.
7572 * misc/syslog.c (closelog_internal): Likewise.
7573 (closelog): Likewise.
7574 * misc/ttyslot.c (ttyslot): Likewise.
7575 * misc/vhangup.c (vhangup): Likewise.
7576 * posix/fork.c (__fork): Likewise.
7577 * posix/getegid.c (__getegid): Likewise.
7578 * posix/geteuid.c (__geteuid): Likewise.
7579 * posix/getgid.c (__getgid): Likewise.
7580 * posix/getpid.c (__getpid): Likewise.
7581 * posix/getppid.c (__getppid): Likewise.
7582 * posix/getuid.c (__getuid): Likewise.
7583 * posix/pause.c (pause): Likewise.
7584 * posix/setpgrp.c (setpgrp): Likewise.
7585 * posix/setsid.c (__setsid): Likewise.
7586 * posix/test-vfork.c (noop): Likewise.
7587 * resolv/gethnamaddr.c (_endhtent): Likewise.
7588 (_gethtent): Likewise.
7589 (ht_endhostent): Likewise.
7590 (gethostent): Likewise.
7591 (dns_service): Likewise.
7592 * stdlib/drand48.c (drand48): Likewise.
7593 * stdlib/lrand48.c (lrand48): Likewise.
7594 * stdlib/mrand48.c (mrand48): Likewise.
7595 * stdlib/rand.c (rand): Likewise.
7596 * stdlib/random.c (__random): Likewise.
7597 * stdlib/setenv.c (clearenv): Likewise.
7598 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
7599 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
7600 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
7601 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
7602 (__get_nprocs): Likewise.
7603 (__get_phys_pages): Likewise.
7604 (__get_avphys_pages): Likewise.
7605 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
7606 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
7607 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
7608 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
7609 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
7610 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
7611 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
7612 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
7613 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
7614 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
7615 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
7616 * sysdeps/mach/hurd/sync.c (sync): Likewise.
7617 * sysdeps/posix/clock.c (clock): Likewise.
7618 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
7619 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
7620 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
7621 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
7622 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
7623 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
7624 (__get_nprocs_conf): Likewise.
7625 (__get_phys_pages): Likewise.
7626 (__get_avphys_pages): Likewise.
7627 * time/clock.c (clock): Likewise.
7628 * time/tzset.c (__tzname_max): Likewise.
7629
2e09a79a
JM
76302013-06-07 Joseph Myers <joseph@codesourcery.com>
7631
7632 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
7633 (__bswap_32): Do not use "register".
7634 * crypt/crypt.c (_ufc_doit_r): Likewise.
7635 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7636 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7637 * gmon/gmon.c (__monstartup): Likewise.
7638 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
7639 * hurd/hurdmalloc.c (more_memory): Likewise.
7640 (malloc): Likewise.
7641 (free): Likewise.
7642 (realloc): Likewise.
7643 (malloc_fork_prepare): Likewise.
7644 (malloc_fork_parent): Likewise.
7645 (malloc_fork_child): Likewise.
7646 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
7647 (_svcauth_des): Likewise.
7648 * inet/inet_lnaof.c (inet_lnaof): Likewise.
7649 * inet/inet_net.c (inet_network): Likewise.
7650 * inet/inet_netof.c (inet_netof): Likewise.
7651 * inet/rcmd.c (__validuser2_sa): Likewise.
7652 * io/fts.c (fts_open): Likewise.
7653 (fts_load): Likewise.
7654 (fts_close): Likewise.
7655 (fts_read): Likewise.
7656 (fts_children): Likewise.
7657 (fts_build): Likewise.
7658 (fts_stat): Likewise.
7659 (fts_sort): Likewise.
7660 (fts_alloc): Likewise.
7661 (fts_lfree): Likewise.
7662 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
7663 (_IO_file_xsgetn): Likewise.
7664 (_IO_file_xsgetn_mmap): Likewise.
7665 * libio/iofopncook.c (_IO_cookie_read): Likewise.
7666 (_IO_cookie_write): Likewise.
7667 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
7668 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
7669 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
7670 * malloc/obstack.c (_obstack_begin): Likewise.
7671 (_obstack_begin_1): Likewise.
7672 (_obstack_newchunk): Likewise.
7673 (_obstack_allocated_p): Likewise.
7674 (obstack_free): Likewise.
7675 (_obstack_memory_used): Likewise.
7676 * misc/getttyent.c (getttynam): Likewise.
7677 (getttyent): Likewise.
7678 (skip): Likewise.
7679 (value): Likewise.
7680 * misc/getusershell.c (initshells): Likewise.
7681 * misc/syslog.c (__vsyslog_chk): Likewise.
7682 * misc/ttyslot.c (ttyslot): Likewise.
7683 * nis/nis_hash.c (__nis_hash): Likewise.
7684 * posix/fnmatch_loop.c (FCT): Likewise.
7685 * posix/getconf.c (print_all): Likewise.
7686 (main): Likewise.
7687 * posix/getopt.c (exchange): Likewise.
7688 * posix/glob.c (globfree): Likewise.
7689 (prefix_array): Likewise.
7690 (__glob_pattern_type): Likewise.
7691 * resolv/arpa/nameser.h (NS_GET16): Likewise.
7692 (NS_GET32): Likewise.
7693 (NS_PUT16): Likewise.
7694 (NS_PUT32): Likewise.
7695 * resolv/gethnamaddr.c (getanswer): Likewise.
7696 (gethostbyname2): Likewise.
7697 (gethostbyaddr): Likewise.
7698 (_gethtent): Likewise.
7699 (_gethtbyname2): Likewise.
7700 (_gethtbyaddr): Likewise.
7701 * resolv/ns_print.c (dst_s_get_int16): Likewise.
7702 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
7703 * resolv/res_init.c (__res_vinit): Likewise.
7704 (net_mask): Likewise.
7705 * resolv/res_mkquery.c (outchar): Likewise.
7706 (PRINT): Likewise.
7707 * stdio-common/printf_fp.c (outchar): Likewise.
7708 (PRINT): Likewise.
7709 * stdio-common/printf_fphex.c (outchar): Likewise.
7710 (PRINT): Likewise.
7711 * stdio-common/printf_size.c (outchar): Likewise.
7712 (PRINT): Likewise.
7713 * stdio-common/test_rdwr.c (main): Likewise.
7714 * stdio-common/tfformat.c (matches): Likewise.
7715 * stdio-common/vfprintf.c (outchar): Likewise.
7716 (printf_unknown): Likewise.
7717 (buffered_vfprintf): Likewise.
7718 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7719 * stdio-common/xbug.c (AppendToBuffer): Likewise.
7720 (ReadFile): Likewise.
7721 * stdlib/qsort.c (SWAP): Likewise.
7722 (_quicksort): Likewise.
7723 * stdlib/setenv.c (__add_to_environ): Likewise.
7724 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7725 * stdlib/strtol_l.c (__strtol_l): Likewise.
7726 * stdlib/tst-strtod.c (main): Likewise.
7727 * stdlib/tst-strtol.c (main): Likewise.
7728 * stdlib/tst-strtoll.c (main): Likewise.
7729 * string/bits/string2.h (__strcmp_cc): Likewise.
7730 (__strcmp_cg): Likewise.
7731 (__strcspn_c1): Likewise.
7732 (__strcspn_c2): Likewise.
7733 (__strcspn_c3): Likewise.
7734 (__strspn_c1): Likewise.
7735 (__strspn_c2): Likewise.
7736 (__strspn_c3): Likewise.
7737 (__strsep_1c): Likewise.
7738 (__strsep_2c): Likewise.
7739 (__strsep_3c): Likewise.
7740 * string/memccpy.c (__memccpy): Likewise.
7741 * string/stpcpy.c (__stpcpy): Likewise.
7742 * string/strcmp.c (strcmp): Likewise.
7743 * string/strrchr.c (strrchr): Likewise.
7744 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
7745 Likewise.
7746 * sysdeps/mach/hurd/getcwd.c
7747 (_hurd_canonicalize_directory_name_internal): Likewise.
7748 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
7749 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
7750 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
7751 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
7752 Likewise, in both definitions.
7753 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
7754 definitions.
7755 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
7756 64] (__bswap_64): Likewise.
7757 * time/test_time.c (main): Likewise.
7758 * time/tzfile.c (__tzfile_read): Likewise.
7759 (__tzfile_compute): Likewise.
7760 * time/tzset.c (__tzset_parse_tz): Likewise.
7761 (tzset_internal): Likewise.
7762 (compute_change): Likewise.
7763 * wcsmbs/wcscat.c (__wcscat): Likewise.
7764 * wcsmbs/wcschr.c (wcschr): Likewise.
7765 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
7766 * wcsmbs/wcscspn.c (wcscspn): Likewise.
7767 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
7768 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
7769 * wcsmbs/wcsspn.c (wcsspn): Likewise.
7770 * wcsmbs/wcsstr.c (wcsstr): Likewise.
7771 * wcsmbs/wmemchr.c (wmemchr): Likewise.
7772 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7773 * wcsmbs/wmemset.c (wmemset): Likewise.
7774
9e54314b
JM
77752013-06-06 Joseph Myers <joseph@codesourcery.com>
7776
7777 * scripts/config.guess: Update to version 2013-05-16.
7778 * scripts/config.sub: Update to version 2013-04-24.
7779 * scripts/install-sh: Update to version 2011-11-20.07.
7780 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
7781 * scripts/move-if-change: Update to version 2012-01-06 07:23.
7782
350635a5
OB
77832013-06-06 Ondřej Bílka <neleai@seznam.cz>
7784
7785 * debug/fgetws_u_chk.c: Fix leading whitespaces.
7786 * elf/sln.c: Likewise.
7787 * hurd/hurd/ioctl.h: Likewise.
7788 * hurd/hurdmalloc.c: Likewise.
7789 * hurd/xattr.c: Likewise.
7790 * include/shlib-compat.h: Likewise.
7791 * inet/ruserpass.c: Likewise.
7792 * libio/iofgets_u.c: Likewise.
7793 * libio/iofgetws_u.c: Likewise.
7794 * locale/programs/ld-identification.c: Likewise.
7795 * locale/programs/ld-time.c: Likewise.
7796 * mach/msg-destroy.c: Likewise.
7797 * nss/nss_files/files-netgrp.c: Likewise.
7798 * resolv/res_data.c: Likewise.
7799 * soft-fp/op-1.h: Likewise.
7800 * soft-fp/op-2.h: Likewise.
7801 * soft-fp/op-4.h: Likewise.
7802 * soft-fp/op-common.h: Likewise.
7803 * stdio-common/printf_fphex.c: Likewise.
7804 * stdlib/strtod_l.c: Likewise.
7805 * sunrpc/rpc/clnt.h: Likewise.
7806 * sysdeps/generic/framestate.c: Likewise.
7807 * sysdeps/i386/bsd-_setjmp.S: Likewise.
7808 * sysdeps/i386/bsd-setjmp.S: Likewise.
7809 * sysdeps/i386/__longjmp.S: Likewise.
7810 * sysdeps/i386/setjmp.S: Likewise.
7811 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7812 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7813 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7814 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7815 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7816 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7817 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7818 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7819 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7820 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
7821 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7822 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7823 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7824 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7825 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7826 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7827 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7828 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
7829 * sysdeps/ieee754/support.c: Likewise.
7830 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7831 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
7832 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
7833 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
7834 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
7835 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
7836 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
7837 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
7838 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
7839 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
7840 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
7841 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
7842 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
7843 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
7844 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
7845 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
7846 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7848
44a988af
OB
78492013-06-05 Ondřej Bílka <neleai@seznam.cz>
7850
25506f09 7851 * posix/transbug.c: Remove executable mode.
44a988af 7852
9c84384c
JM
78532013-06-05 Joseph Myers <joseph@codesourcery.com>
7854
7855 * crypt/speeds.c: Remove trailing whitespace.
7856 * dlfcn/default.c: Likewise.
7857 * elf/ifuncdep2.c: Likewise.
7858 * elf/ifuncmain1.c: Likewise.
7859 * elf/ifuncmain1vis.c: Likewise.
7860 * elf/testobj.h: Likewise.
7861 * elf/tst-stackguard1.c: Likewise.
7862 * gmon/sys/gmon.h: Likewise.
7863 * hurd/hurdmsg.c: Likewise.
7864 * hurd/new-fd.c: Likewise.
7865 * hurd/ports-get.c: Likewise.
7866 * iconvdata/ibm1008_420.c: Likewise.
7867 * inet/tst-getni1.c: Likewise.
7868 * inet/tst-getni2.c: Likewise.
7869 * libio/ioungetc.c: Likewise.
7870 * libio/wfiledoalloc.c: Likewise.
7871 * manual/libm-err-tab.pl: Likewise.
7872 * math/w_dremf.c: Likewise.
7873 * misc/ftruncate.c: Likewise.
7874 * posix/bug-glob2.c: Likewise.
7875 * posix/tst-pcre.c: Likewise.
7876 * posix/wait4.c: Likewise.
7877 * resolv/README: Likewise.
7878 * resolv/res_debug.h: Likewise.
7879 * resolv/tst-inet_ntop.c: Likewise.
7880 * setjmp/bug269-setjmp.c: Likewise.
7881 * soft-fp/extended.h: Likewise.
7882 * soft-fp/op-1.h: Likewise.
7883 * soft-fp/op-2.h: Likewise.
7884 * soft-fp/op-4.h: Likewise.
7885 * soft-fp/op-8.h: Likewise.
7886 * soft-fp/testit.c: Likewise.
7887 * stdio-common/bug16.c: Likewise.
7888 * stdlib/random.c: Likewise.
7889 * sunrpc/rpcsvc/rquota.x: Likewise.
7890 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
7891 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7892 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7893 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7894 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7895 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7896 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7897 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7898 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7899 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7900 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7901 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7902 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7903 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7904 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7905 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7906 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7907 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7908 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7909 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7910 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7911 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7912 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
7913 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
7914 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7915 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7916 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7917 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
7918 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7919 * sysdeps/ieee754/s_lib_version.c: Likewise.
7920 * sysdeps/mach/hurd/check_fds.c: Likewise.
7921 * sysdeps/mach/hurd/getsockname.c: Likewise.
7922 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
7923 * sysdeps/mach/hurd/recvfrom.c: Likewise.
7924 * sysdeps/powerpc/bits/link.h: Likewise.
7925 * sysdeps/powerpc/dl-procinfo.c: Likewise.
7926 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
7927 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
7928 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
7929 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
7930 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7931 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
7932 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
7933 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
7934 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7935 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
7936 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
7937 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
7938 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7939 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7940 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7941 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
7942 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
7943 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7944 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7945 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7946 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
7947 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7948 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
7949 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
7950 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
7951 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
7952 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7953 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7954 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
7955 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
7956 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
7957 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7958 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7959 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
7960 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
7961 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
7962 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
7963 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
7964 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
7965 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
7966 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
7967 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
7968 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
7969 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
7970 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
7971 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
7972 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
7973 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
7974 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
7975 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7976 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7977 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
7978 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
7979 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
7980 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
7981 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
7982 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7983 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
7984 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
7985 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
7986 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
7987 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
7988 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
7989 * sysdeps/powerpc/sysdep.h: Likewise.
7990 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7991 * sysdeps/s390/s390-64/sub_n.S: Likewise.
7992 * sysdeps/sh/dl-trampoline.S: Likewise.
7993 * sysdeps/sh/memset.S: Likewise.
7994 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
7995 * sysdeps/sh/strlen.S: Likewise.
7996 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
7997 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
7998 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
7999 * sysdeps/sparc/sparc32/rem.S: Likewise.
8000 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
8001 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
8002 * sysdeps/sparc/sparc32/strchr.S: Likewise.
8003 * sysdeps/sparc/sparc32/udiv.S: Likewise.
8004 * sysdeps/sparc/sparc32/urem.S: Likewise.
8005 * sysdeps/sparc/sparc64/add_n.S: Likewise.
8006 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
8007 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
8008 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
8009 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
8010 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
8011 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
8012 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
8013 * sysdeps/unix/bsd/times.c: Likewise.
8014 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
8015 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
8016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
8017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
8018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
8019 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
8020 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
8021 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
8022 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
8023 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
8024 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
8025 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
8026 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
8027 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
8028 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
8029 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
8030 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
8031 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
8032 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
8033 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
8034 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
8035 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
8036 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
8037 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
8038 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
8039 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
8040 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
8041 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8042 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
8043 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
8044 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
8045 * sysdeps/x86_64/strcspn.S: Likewise.
8046
869378a5
RA
80472013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8048
8049 * locale/C-translit.h: Revert #include <stdint.h> because this is a
8050 generated file. Regenerate properly from gen-translit.pl.
8051 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
8052 locale/C-translit.h.
8053
840e2943
AS
80542013-06-05 Andreas Schwab <schwab@suse.de>
8055
8056 [BZ #15100]
8057 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
8058 week as 6 instead of -1.
8059 * time/tst-strptime.c (day_tests): Add test case.
8060
4c60cb0c
SP
80612013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8062
8063 * sysdeps/generic/math_private.h
8064 (libc_feholdexcept_setround_53bit): Replace with
8065 libc_feholdsetround_53bit.
8066 (libc_feupdateenv_53bit): Replace with
8067 libc_feresetround_53bit.
8068 (SET_RESTORE_ROUND_53BIT): Adjust.
8069
d180203e
SP
80702013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8071
96df079a
SP
8072 * string/test-strchrnul.c: Add copyright header.
8073
d180203e
SP
8074 * posix/tst-getaddrinfo4.c: Increase test timeout.
8075
8b0ccb2d
CD
80762013-06-03 Carlos O'Donell <carlos@redhat.com>
8077
8078 [BZ #15536]
8079 * math/libm-test.inc (MAX_EXP): Remove
8080 (MIN_EXP): Define.
8081 (ulp): Use MIN_EXP - MANT_DIG.
8082 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
8083
3b3c4d40
CD
80842013-05-31 Carlos O'Donell <carlos@redhat.com>
8085
8086 * po/be.po: Revert last change.
8087 * po/zh_CN.po: Likewise.
8088 * po/header.pot: Likewise.
8089
fab7ce3f
JM
80902013-05-31 Joseph Myers <joseph@codesourcery.com>
8091
8092 * Makefile ($(common-objpfx)linkobj/libc.so): Define
8093 link-libc-deps to empty as target-specific variable.
8094 * Makerules (link-libc-args): New variable.
8095 (libc-for-link): Likewise.
8096 (link-libc-deps): Likewise.
8097 (lib%.so): Depend on $(link-libc-deps). Link with
8098 $(link-libc-args).
8099 (build-module): Link with $(link-libc-args).
8100 (build-module-asneeded): Likewise.
8101 (build-module-helper-objlist): Filter out $(link-libc-deps) from
8102 list of objects.
8103 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
8104 target-specific variable.
8105 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
8106 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
8107 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
8108 libc.
8109 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
8110 libc and ld.so.
8111 ($(objpfx)libpcprofile.so): Likewise.
8112 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
8113 libc_nonshared.a.
8114 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
8115 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
8116 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
8117 $(link-libc-deps).
8118 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
8119 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
8120 * login/Makefile ($(objpfx)libutil.so): Likewise.
8121 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
8122 * math/Makefile ($(objpfx)libm.so): Likewise.
8123 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
8124 $(objpfx)libnsl.so): Define libc-for-link as target-specific
8125 variable instead of depending directly on libc.
8126 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
8127 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
8128 $(link-libc-deps).
8129 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
8130 libc.
8131 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
8132 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
8133 ($(objpfx)libanl.so): Likewise.
8134 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
8135 ld.so.
8136 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
8137 $(link-libc-deps).
8138 * sysdeps/i386/fpu/Makefile: Remove file.
8139 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
8140 ($(objpfx)libm.so): Remove dependency on ld.so.
8141
eca5920c
PF
81422013-05-30 Patsy Franklin <pfrankli@redhat.com>
8143
8144 [BZ # 15553]
8145 * nis/yp_xdr.c (XDRMAXNAME): Define.
8146 (XDRMAXRECORD): Define.
8147 (xdr_domainname): Use XDRMAXNAME.
8148 (xdr_mapname): Likewise.
8149 (xdr_peername): Likewise.
8150 (xdr_keydat): Use XDRMAXRECORD.
8151 (xdr_valdat): Likewise.
8152
81532013-05-30 Jeff Law <law@redhat.com>
96945714
JL
8154
8155 [BZ #14256]
8156 * manual/errno.texi (ESTALE): Update to account for more than
8157 just NFS file systems.
8158 * sysdeps/gnu/errlist.c: Regenerated.
8159
b9375348
SP
81602013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8161
8162 [BZ #15465]
8163 * elf/Makefile (tests): Add tst-null-argv.
8164 (modules-names): Add tst-null-argv-lib.
8165 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
8166 (tst-null-argv-ENV): Set environment for tst-null-argv.
8167 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
8168 (RTLD_PROGNAME): New macro.
8169 * elf/tst-null-argv.c: New test case.
8170 * elf/tst-null-argv-lib.c: Library for test case.
8171 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
8172 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
8173 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
8174 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
8175 * elf/dl-init.c (call_init): Likewise.
8176 (_dl_init): Likewise.
8177 * elf/dl-load.c (print_search_path): Likewise.
8178 (_dl_map_object): Likewise.
8179 * elf/dl-lookup.c (do_lookup_x): Likewise.
8180 (add_dependency): Likewise.
8181 (_dl_lookup_symbol_x): Likewise.
8182 (_dl_debug_bindings): Likewise.
8183 * elf/dl-open.c (_dl_show_scope): Likewise.
8184 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
8185 * elf/dl-version.c (match_symbol): Likewise.
8186 (_dl_check_map_versions): Likewise.
8187 * elf/rtld.c (dl_main): Likewise.
8188 (print_unresolved): Use RTLD_PROGNAME.
8189 (print_missing_version): Likewise.
8190 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
8191 (elf_machine_rela): Likewise.
8192 * sysdeps/powerpc/powerpc32/dl-machine.c
8193 (__process_machine_rela): Likewise.
8194 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8195 Likewise.
8196 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
8197 Likewise.
8198 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
8199 Likewise.
8200 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8201 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
8202 Likewise.
8203 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
8204 Likewise.
8205 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8206
8a9f20c8
CD
82072013-05-28 Carlos O'Donell <carlos@redhat.com>
8208
8209 * po/be.po: Add descriptive title.
8210 * po/zh_CN.po: Likewise.
8211 * po/header.pot: Likewise.
8212
0e60d68e
MF
82132013-05-28 Mike Frysinger <vapier@gentoo.org>
8214
8215 * locale/programs/locarchive.c (create_archive): Inlucde fname in
8216 error message.
8217 (enlarge_archive): Likewise.
8218
56b672e9
BN
82192013-05-28 Ben North <ben@redfrontdoor.org>
8220
8221 * manual/arith.texi (frexp): It is the magnitude of the return
8222 value which lies in [0.5, 1), not the return value itself.
8223
5e056687
AZ
82242013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8225
8226 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8227
2b66ef5d
TS
82282013-05-26 Thomas Schwinge <thomas@codesourcery.com>
8229
528c2405
TS
8230 * stdio-common/bug26.c (main): Correct fscanf template.
8231
07b4c13d
TS
8232 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
8233 declare _dl_skip_args.
8234
ec9dd97c
TS
8235 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
8236 Don't declare.
8237
2b66ef5d
TS
8238 * manual/platform.texi: Add missing @end deftypefun.
8239
4f8dfe27
JM
82402013-05-24 Joseph Myers <joseph@codesourcery.com>
8241
0323d086
JM
8242 [BZ #15529]
8243 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
8244 bit of mantissa of 2^16382.
8245 * math/libm-test.inc (hypot_test_data): Add more tests.
8246
dd4259b9
JM
8247 * math/libm-test.inc: Add drem and pow10 to list of tested
8248 functions.
8249 (pow10_test): New function.
8250 (drem_test): Likewise.
8251 (drem_test_tonearest): Likewise.
8252 (drem_test_towardzero): Likewise.
8253 (drem_test_downward): Likewise.
8254 (drem_test_upward): Likewise.
8255 (main): Call the new functions.
8256
4f8dfe27
JM
8257 * math/libm-test.inc (finite_test_data): Remove.
8258 (finite_test): Run tests from isfinite_test_data.
8259 (gamma_test_data): Remove.
8260 (gamma_test): Run tests from lgamma_test_data.
8261 * sysdeps/i386/fpu/libm-test-ulps: Update.
8262 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8263
d116b7c4
AZ
82642013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8265
8266 * manual/platform.texi: Add PowerPC PPR function set documentation.
8267 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
8268 implementation.
8269
e96e3767
CD
82702013-05-24 Carlos O'Donell <carlos@redhat.com>
8271
8272 * math/libm-test.inc (MAX_EXP): Define.
8273 (ULPDIFF): Define.
8274 (ulp): New function.
8275 (check_float_internal): Use ULPDIFF.
8276 (cpow_test): Disable failing test.
8277 (check_ulp): Test ulp() implemetnation.
8278 (main): Call check_ulp before starting tests.
8279
b679a606
JM
82802013-05-24 Joseph Myers <joseph@codesourcery.com>
8281
e8bdba36
JM
8282 * math/gen-libm-test.pl (generate_testfile): Do not handle
8283 START_DATA and END_DATA.
8284 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
8285 END_DATA.
8286 (acos_tonearest_test_data): Likewise.
8287 (acos_towardzero_test_data): Likewise.
8288 (acos_downward_test_data): Likewise.
8289 (acos_upward_test_data): Likewise.
8290 (acosh_test_data): Likewise.
8291 (asin_test_data): Likewise.
8292 (asin_tonearest_test_data): Likewise.
8293 (asin_towardzero_test_data): Likewise.
8294 (asin_downward_test_data): Likewise.
8295 (asin_upward_test_data): Likewise.
8296 (asinh_test_data): Likewise.
8297 (atan_test_data): Likewise.
8298 (atanh_test_data): Likewise.
8299 (atan2_test_data): Likewise.
8300 (cabs_test_data): Likewise.
8301 (cacos_test_data): Likewise.
8302 (cacosh_test_data): Likewise.
8303 (carg_test_data): Likewise.
8304 (casin_test_data): Likewise.
8305 (casinh_test_data): Likewise.
8306 (catan_test_data): Likewise.
8307 (catanh_test_data): Likewise.
8308 (cbrt_test_data): Likewise.
8309 (ccos_test_data): Likewise.
8310 (ccosh_test_data): Likewise.
8311 (ceil_test_data): Likewise.
8312 (cexp_test_data): Likewise.
8313 (cimag_test_data): Likewise.
8314 (clog_test_data): Likewise.
8315 (clog10_test_data): Likewise.
8316 (conj_test_data): Likewise.
8317 (copysign_test_data): Likewise.
8318 (cos_test_data): Likewise.
8319 (cos_tonearest_test_data): Likewise.
8320 (cos_towardzero_test_data): Likewise.
8321 (cos_downward_test_data): Likewise.
8322 (cos_upward_test_data): Likewise.
8323 (cosh_test_data): Likewise.
8324 (cosh_tonearest_test_data): Likewise.
8325 (cosh_towardzero_test_data): Likewise.
8326 (cosh_downward_test_data): Likewise.
8327 (cosh_upward_test_data): Likewise.
8328 (cpow_test_data): Likewise.
8329 (cproj_test_data): Likewise.
8330 (creal_test_data): Likewise.
8331 (csin_test_data): Likewise.
8332 (csinh_test_data): Likewise.
8333 (csqrt_test_data): Likewise.
8334 (ctan_test_data): Likewise.
8335 (ctan_tonearest_test_data): Likewise.
8336 (ctan_towardzero_test_data): Likewise.
8337 (ctan_downward_test_data): Likewise.
8338 (ctan_upward_test_data): Likewise.
8339 (ctanh_test_data): Likewise.
8340 (ctanh_tonearest_test_data): Likewise.
8341 (ctanh_towardzero_test_data): Likewise.
8342 (ctanh_downward_test_data): Likewise.
8343 (ctanh_upward_test_data): Likewise.
8344 (erf_test_data): Likewise.
8345 (erfc_test_data): Likewise.
8346 (exp_test_data): Likewise.
8347 (exp_tonearest_test_data): Likewise.
8348 (exp_towardzero_test_data): Likewise.
8349 (exp_downward_test_data): Likewise.
8350 (exp_upward_test_data): Likewise.
8351 (exp10_test_data): Likewise.
8352 (exp2_test_data): Likewise.
8353 (expm1_test_data): Likewise.
8354 (fabs_test_data): Likewise.
8355 (fdim_test_data): Likewise.
8356 (finite_test_data): Likewise.
8357 (floor_test_data): Likewise.
8358 (fma_test_data): Likewise.
8359 (fma_towardzero_test_data): Likewise.
8360 (fma_downward_test_data): Likewise.
8361 (fma_upward_test_data): Likewise.
8362 (fmax_test_data): Likewise.
8363 (fmin_test_data): Likewise.
8364 (fmod_test_data): Likewise.
8365 (fpclassify_test_data): Likewise.
8366 (frexp_test_data): Likewise.
8367 (gamma_test_data): Likewise.
8368 (hypot_test_data): Likewise.
8369 (ilogb_test_data): Likewise.
8370 (isfinite_test_data): Likewise.
8371 (isgreater_test_data): Likewise.
8372 (isgreaterequal_test_data): Likewise.
8373 (isinf_test_data): Likewise.
8374 (isless_test_data): Likewise.
8375 (islessequal_test_data): Likewise.
8376 (islessgreater_test_data): Likewise.
8377 (isnan_test_data): Likewise.
8378 (isnormal_test_data): Likewise.
8379 (issignaling_test_data): Likewise.
8380 (isunordered_test_data): Likewise.
8381 (j0_test_data): Likewise.
8382 (j1_test_data): Likewise.
8383 (jn_test_data): Likewise.
8384 (ldexp_test_data): Likewise.
8385 (lgamma_test_data): Likewise.
8386 (lrint_test_data): Likewise.
8387 (lrint_tonearest_test_data): Likewise.
8388 (lrint_towardzero_test_data): Likewise.
8389 (lrint_downward_test_data): Likewise.
8390 (lrint_upward_test_data): Likewise.
8391 (llrint_test_data): Likewise.
8392 (llrint_tonearest_test_data): Likewise.
8393 (llrint_towardzero_test_data): Likewise.
8394 (llrint_downward_test_data): Likewise.
8395 (llrint_upward_test_data): Likewise.
8396 (log_test_data): Likewise.
8397 (log10_test_data): Likewise.
8398 (log1p_test_data): Likewise.
8399 (log2_test_data): Likewise.
8400 (logb_test_data): Likewise.
8401 (logb_downward_test_data): Likewise.
8402 (lround_test_data): Likewise.
8403 (llround_test_data): Likewise.
8404 (modf_test_data): Likewise.
8405 (nearbyint_test_data): Likewise.
8406 (nextafter_test_data): Likewise.
8407 (nexttoward_test_data): Likewise.
8408 (pow_test_data): Likewise.
8409 (pow_tonearest_test_data): Likewise.
8410 (pow_towardzero_test_data): Likewise.
8411 (pow_downward_test_data): Likewise.
8412 (pow_upward_test_data): Likewise.
8413 (remainder_test_data): Likewise.
8414 (remainder_tonearest_test_data): Likewise.
8415 (remainder_towardzero_test_data): Likewise.
8416 (remainder_downward_test_data): Likewise.
8417 (remainder_upward_test_data): Likewise.
8418 (remquo_test_data): Likewise.
8419 (rint_test_data): Likewise.
8420 (rint_tonearest_test_data): Likewise.
8421 (rint_towardzero_test_data): Likewise.
8422 (rint_downward_test_data): Likewise.
8423 (rint_upward_test_data): Likewise.
8424 (round_test_data): Likewise.
8425 (scalb_test_data): Likewise.
8426 (scalbn_test_data): Likewise.
8427 (scalbln_test_data): Likewise.
8428 (signbit_test_data): Likewise.
8429 (sin_test_data): Likewise.
8430 (sin_tonearest_test_data): Likewise.
8431 (sin_towardzero_test_data): Likewise.
8432 (sin_downward_test_data): Likewise.
8433 (sin_upward_test_data): Likewise.
8434 (sincos_test_data): Likewise.
8435 (sinh_test_data): Likewise.
8436 (sinh_tonearest_test_data): Likewise.
8437 (sinh_towardzero_test_data): Likewise.
8438 (sinh_downward_test_data): Likewise.
8439 (sinh_upward_test_data): Likewise.
8440 (sqrt_test_data): Likewise.
8441 (tan_test_data): Likewise.
8442 (tan_tonearest_test_data): Likewise.
8443 (tan_towardzero_test_data): Likewise.
8444 (tan_downward_test_data): Likewise.
8445 (tan_upward_test_data): Likewise.
8446 (tanh_test_data): Likewise.
8447 (tgamma_test_data): Likewise.
8448 (trunc_test_data): Likewise.
8449 (y0_test_data): Likewise.
8450 (y1_test_data): Likewise.
8451 (yn_test_data): Likewise.
8452 (significand_test_data): Likewise.
8453
b679a606
JM
8454 * math/gen-libm-test.pl (@functions): Remove variable.
8455 (generate_testfile): Don't handle START and END lines.
8456 * math/libm-test.inc (START): New macro.
8457 (END): Likewise.
8458 (END_COMPLEX): Likewise.
8459 (acos_test): Use END macro without arguments.
8460 (acos_test_tonearest): Likewise.
8461 (acos_test_towardzero): Likewise.
8462 (acos_test_downward): Likewise.
8463 (acos_test_upward): Likewise.
8464 (acosh_test): Likewise.
8465 (asin_test): Likewise.
8466 (asin_test_tonearest): Likewise.
8467 (asin_test_towardzero): Likewise.
8468 (asin_test_downward): Likewise.
8469 (asin_test_upward): Likewise.
8470 (asinh_test): Likewise.
8471 (atan_test): Likewise.
8472 (atanh_test): Likewise.
8473 (atan2_test): Likewise.
8474 (cabs_test): Likewise.
8475 (cacos_test): Use END_COMPLEX macro without arguments.
8476 (cacosh_test): Likewise.
8477 (carg_test): Use END macro without arguments.
8478 (casin_test): Use END_COMPLEX macro without arguments.
8479 (casinh_test): Likewise.
8480 (catan_test): Likewise.
8481 (catanh_test): Likewise.
8482 (cbrt_test): Use END macro without arguments.
8483 (ccos_test): Use END_COMPLEX macro without arguments.
8484 (ccosh_test): Likewise.
8485 (ceil_test): Use END macro without arguments.
8486 (cexp_test): Use END_COMPLEX macro without arguments.
8487 (cimag_test): Use END macro without arguments.
8488 (clog_test): Use END_COMPLEX macro without arguments.
8489 (clog10_test): Likewise.
8490 (conj_test): Likewise.
8491 (copysign_test): Use END macro without arguments.
8492 (cos_test): Likewise.
8493 (cos_test_tonearest): Likewise.
8494 (cos_test_towardzero): Likewise.
8495 (cos_test_downward): Likewise.
8496 (cos_test_upward): Likewise.
8497 (cosh_test): Likewise.
8498 (cosh_test_tonearest): Likewise.
8499 (cosh_test_towardzero): Likewise.
8500 (cosh_test_downward): Likewise.
8501 (cosh_test_upward): Likewise.
8502 (cpow_test): Use END_COMPLEX macro without arguments.
8503 (cproj_test): Likewise.
8504 (creal_test): Use END macro without arguments.
8505 (csin_test): Use END_COMPLEX macro without arguments.
8506 (csinh_test): Likewise.
8507 (csqrt_test): Likewise.
8508 (ctan_test): Likewise.
8509 (ctan_test_tonearest): Likewise.
8510 (ctan_test_towardzero): Likewise.
8511 (ctan_test_downward): Likewise.
8512 (ctan_test_upward): Likewise.
8513 (ctanh_test): Likewise.
8514 (ctanh_test_tonearest): Likewise.
8515 (ctanh_test_towardzero): Likewise.
8516 (ctanh_test_downward): Likewise.
8517 (ctanh_test_upward): Likewise.
8518 (erf_test): Use END macro without arguments.
8519 (erfc_test): Likewise.
8520 (exp_test): Likewise.
8521 (exp_test_tonearest): Likewise.
8522 (exp_test_towardzero): Likewise.
8523 (exp_test_downward): Likewise.
8524 (exp_test_upward): Likewise.
8525 (exp10_test): Likewise.
8526 (exp2_test): Likewise.
8527 (expm1_test): Likewise.
8528 (fabs_test): Likewise.
8529 (fdim_test): Likewise.
8530 (finite_test): Likewise.
8531 (floor_test): Likewise.
8532 (fma_test): Likewise.
8533 (fma_test_towardzero): Likewise.
8534 (fma_test_downward): Likewise.
8535 (fma_test_upward): Likewise.
8536 (fmax_test): Likewise.
8537 (fmin_test): Likewise.
8538 (fmod_test): Likewise.
8539 (fpclassify_test): Likewise.
8540 (frexp_test): Likewise.
8541 (gamma_test): Likewise.
8542 (hypot_test): Likewise.
8543 (ilogb_test): Likewise.
8544 (isfinite_test): Likewise.
8545 (isgreater_test): Likewise.
8546 (isgreaterequal_test): Likewise.
8547 (isinf_test): Likewise.
8548 (isless_test): Likewise.
8549 (islessequal_test): Likewise.
8550 (islessgreater_test): Likewise.
8551 (isnan_test): Likewise.
8552 (isnormal_test): Likewise.
8553 (issignaling_test): Likewise.
8554 (isunordered_test): Likewise.
8555 (j0_test): Likewise.
8556 (j1_test): Likewise.
8557 (jn_test): Likewise.
8558 (ldexp_test): Likewise.
8559 (lgamma_test): Likewise.
8560 (lrint_test): Likewise.
8561 (lrint_test_tonearest): Likewise.
8562 (lrint_test_towardzero): Likewise.
8563 (lrint_test_downward): Likewise.
8564 (lrint_test_upward): Likewise.
8565 (llrint_test): Likewise.
8566 (llrint_test_tonearest): Likewise.
8567 (llrint_test_towardzero): Likewise.
8568 (llrint_test_downward): Likewise.
8569 (llrint_test_upward): Likewise.
8570 (log_test): Likewise.
8571 (log10_test): Likewise.
8572 (log1p_test): Likewise.
8573 (log2_test): Likewise.
8574 (logb_test): Likewise.
8575 (logb_test_downward): Likewise.
8576 (lround_test): Likewise.
8577 (llround_test): Likewise.
8578 (modf_test): Likewise.
8579 (nearbyint_test): Likewise.
8580 (nextafter_test): Likewise.
8581 (nexttoward_test): Likewise.
8582 (pow_test): Likewise.
8583 (pow_test_tonearest): Likewise.
8584 (pow_test_towardzero): Likewise.
8585 (pow_test_downward): Likewise.
8586 (pow_test_upward): Likewise.
8587 (remainder_test): Likewise.
8588 (remainder_test_tonearest): Likewise.
8589 (remainder_test_towardzero): Likewise.
8590 (remainder_test_downward): Likewise.
8591 (remainder_test_upward): Likewise.
8592 (remquo_test): Likewise.
8593 (rint_test): Likewise.
8594 (rint_test_tonearest): Likewise.
8595 (rint_test_towardzero): Likewise.
8596 (rint_test_downward): Likewise.
8597 (rint_test_upward): Likewise.
8598 (round_test): Likewise.
8599 (scalb_test): Likewise.
8600 (scalbn_test): Likewise.
8601 (scalbln_test): Likewise.
8602 (signbit_test): Likewise.
8603 (sin_test): Likewise.
8604 (sin_test_tonearest): Likewise.
8605 (sin_test_towardzero): Likewise.
8606 (sin_test_downward): Likewise.
8607 (sin_test_upward): Likewise.
8608 (sincos_test): Likewise.
8609 (sinh_test): Likewise.
8610 (sinh_test_tonearest): Likewise.
8611 (sinh_test_towardzero): Likewise.
8612 (sinh_test_downward): Likewise.
8613 (sinh_test_upward): Likewise.
8614 (sqrt_test): Likewise.
8615 (tan_test): Likewise.
8616 (tan_test_tonearest): Likewise.
8617 (tan_test_towardzero): Likewise.
8618 (tan_test_downward): Likewise.
8619 (tan_test_upward): Likewise.
8620 (tanh_test): Likewise.
8621 (tgamma_test): Likewise.
8622 (trunc_test): Likewise.
8623 (y0_test): Likewise.
8624 (y1_test): Likewise.
8625 (yn_test): Likewise.
8626 (significand_test): Likewise.
8627
bae143d2
OB
86282013-05-24 Ondřej Bílka <neleai@seznam.cz>
8629
8630 [BZ #15381]
8631 * libio/genops.c (_IO_no_init): Initialize wide struct info.
8632
9323d39b
EM
86332013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
8634
d4ea44a0 8635 [BZ #14894]
9323d39b
EM
8636 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
8637 __ppc_mdoio and __ppc_mdoom.
8638 * manual/platform.texi: Document new functions __ppc_yield,
8639 __ppc_mdoio and __ppc_mdoom.
8640
13e23af7
CD
86412013-05-22 Carlos O'Donell <carlos@redhat.com>
8642
8643 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
8644 (main): Mention "tls" pseudo-hwcap is legacy.
8645 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
8646
351fe550
JM
86472013-05-22 Joseph Myers <joseph@codesourcery.com>
8648
8649 * math/gen-libm-test.pl (parse_args): Output only string of
8650 arguments as text for test name, not full call or descriptions of
8651 tests for extra outputs.
8652 (generate_testfile): Do not pass function name to parse_args.
8653 Generate this_func variable from START.
8654 * math/libm-test.inc (struct test_f_f_data): Rename test_name
8655 field to arg_str.
8656 (struct test_ff_f_data): Likewise.
8657 (test_ff_f_data_nexttoward): Likewise.
8658 (struct test_fi_f_data): Likewise.
8659 (struct test_fl_f_data): Likewise.
8660 (struct test_if_f_data): Likewise.
8661 (struct test_fff_f_data): Likewise.
8662 (struct test_c_f_data): Likewise.
8663 (struct test_f_f1_data): Likewise. Remove field extra_name.
8664 (struct test_fF_f1_data): Likewise.
8665 (struct test_ffI_f1_data): Likewise.
8666 (struct test_c_c_data): Rename test_name field to arg_str.
8667 (struct test_cc_c_data): Likewise.
8668 (struct test_f_i_data): Likewise.
8669 (struct test_ff_i_data): Likewise.
8670 (struct test_f_l_data): Likewise.
8671 (struct test_f_L_data): Likewise.
8672 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
8673 and extra2_name.
8674 (COMMON_TEST_SETUP): New macro.
8675 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
8676 (COMMON_TEST_CLEANUP): Likewise.
8677 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
8678 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
8679 macros.
8680 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
8681 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
8682 macros.
8683 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
8684 (RUN_TEST_fff_f): Take argument string. Call new setup and
8685 cleanup macros.
8686 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
8687 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
8688 macros.
8689 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
8690 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
8691 macros.
8692 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8693 (RUN_TEST_fF_f1): Take argument string. Call new setup and
8694 cleanup macros.
8695 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8696 (RUN_TEST_fI_f1): Take argument string. Call new setup and
8697 cleanup macros.
8698 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8699 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
8700 cleanup macros.
8701 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8702 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
8703 macros.
8704 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
8705 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
8706 macros.
8707 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
8708 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
8709 macros.
8710 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
8711 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
8712 cleanup macros.
8713 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
8714 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
8715 cleanup macros.
8716 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
8717 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
8718 macros.
8719 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
8720 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
8721 cleanup macros.
8722 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
8723 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
8724 macros.
8725 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
8726 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
8727 macros.
8728 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
8729 (RUN_TEST_fFF_11): Take argument string. Call new setup and
8730 cleanup macros.
8731 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
8732
85118d4d
EBM
87332013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8734
8735 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
8736 to _sifields.sigfault.
8737 (si_addr_lsb): Define new macro.
8738 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8739 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8740 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
8741
7a44c18f
CD
87422013-05-03 Carlos O'Donell <carlos at redhat.com>
8743
8744 [BZ #15441]
8745 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
8746 returns -1.
8747 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
8748 null return -1.
8749 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
8750 loading the domain.
8751
b50a7181
JM
87522013-05-22 Joseph Myers <joseph@codesourcery.com>
8753
8754 * math/gen-libm-test.pl (parse_args): Do not include expected
8755 result in test name.
8756 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
8757 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8758 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8759 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8760 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8761 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8762
051063c8
SP
87632013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8764
3ce9e010
SP
8765 * benchtests/Makefile: Sort function entries.
8766
051063c8
SP
8767 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
8768 tanh, asinh, acosh, atanh.
8769 * benchtests/acos-inputs: New file.
8770 * benchtests/acosh-inputs: New file.
8771 * benchtests/asin-inputs: New file.
8772 * benchtests/asinh-inputs: New file.
8773 * benchtests/atanh-inputs: New file.
8774 * benchtests/cosh-inputs: New file.
8775 * benchtests/log-inputs: New file.
8776 * benchtests/sinh-inputs: New file.
8777 * benchtests/tanh-inputs: New file.
8778
47c22455
DL
87792013-05-21 Dmitry V. Levin <ldv@altlinux.org>
8780
8781 [BZ #15339]
8782 * posix/tst-getaddrinfo4.c: New test.
8783 * posix/Makefile (tests): Add it.
8784
3d04f5db
SP
87852013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8786
8787 [BZ #15339]
8788 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
8789 when no services were used.
8790 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
8791 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
8792
d5dd6189
AS
87932013-05-21 Andreas Schwab <schwab@suse.de>
8794
8795 [BZ #15014]
8796 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
8797 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
8798 successful.
8799 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
8800 redundant variable declarations and reallocation of buffer when
8801 parsing as IPv6 address. Always set NSS status when called from
8802 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
8803 buffer too small. Correct computation of needed size.
8804 * nss/Makefile (tests): Add test-digits-dots.
8805 * nss/test-digits-dots.c: New test.
8806
fef94eab
SP
88072013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8808
8809 * benchtests/Makefile: Remove instructions for adding
8810 benchmark tests.
8811 * benchtests/README: New file to explain how to execute and
8812 enhance the benchmark tests.
8813
e39adf43
AS
88142013-05-21 Andreas Schwab <schwab@suse.de>
8815
8816 [BZ #15493]
8817 * setjmp/Makefile (tests): Add tst-sigsetjmp.
8818 * setjmp/tst-sigsetjmp.c: New test.
8819
b2b671b6
OB
88202013-05-20 Ondřej Bílka <neleai@seznam.cz>
8821
8822 * sysdeps/x86_64/memset.S (memset): New implementation.
8823 (__bzero): Likewise.
8824 (__memset_tail): New function.
8825
2d48b41c
OB
88262013-05-20 Ondřej Bílka <neleai@seznam.cz>
8827
8828 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
8829 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
8830 __memcpy_sse2_unaligned ifunc selection.
8831 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8832 Add memcpy-sse2-unaligned.S.
8833 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8834 Add: __memcpy_sse2_unaligned.
8835
f16cc3eb
JM
88362013-05-19 Joseph Myers <joseph@codesourcery.com>
8837
3e694268
JM
8838 [BZ #15490]
8839 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8840 math_force_eval before restoring floating-point envrionment.
8841 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
8842 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
8843 Likewise.
8844 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
8845 <math_private.h>.
8846 (__nearbyintl): Use math_force_eval before restoring
8847 floating-point environment.
8848 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
8849
db62a907
JM
8850 * math/gen-libm-test.pl (special_functions): Remove.
8851 (parse_args): Don't handle TEST_extra. Handle functions with no
8852 return value.
8853 * math/libm-test.inc (struct test_sincos_data): Replace with
8854 struct test_fFF_11_data.
8855 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
8856 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
8857 (sincos_test_data): Change element type to struct
8858 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
8859 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
8860 RUN_TEST_LOOP_sincos.
8861 * math/README.libm-test: Don't mention special handling of
8862 individual functions.
8863 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
8864 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8865 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8866 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8867 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8868 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8869
f16cc3eb
JM
8870 * math/gen-libm-test.pl (get_variable): Remove function.
8871 (parse_args): Don't show pointer parameters to call in test
8872 names. Use "extra output N" in test names for extra outputs
8873 rather than naming variables.
8874
3779b5b6
JM
88752013-05-18 Joseph Myers <joseph@codesourcery.com>
8876
2ee094ff
JM
8877 [BZ #15488]
8878 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
8879 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
8880 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
8881 double tests.
8882 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
8883 disable.
8884 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
8885 check_long_double.
8886
3779b5b6
JM
8887 * math/gen-libm-test.pl (@tests): Remove variable.
8888 ($count): Likewise.
8889 (new_test): Remove function.
8890 (show_exceptions): New function.
8891 (special_functions): Use show_exceptions instead of new_test.
8892 (parse_args): Likewise.
8893 (generate_testfile): Pass only function name in generated call to
8894 print_max_error or print_complex_max_error.
8895 (get_ulps): Do not handle complex tests specially.
8896 (output_test): Rename to ...
8897 (get_all_ulps_for_test): ... this. Return a string rather than
8898 printing to a file. Require ulps to be present.
8899 (output_ulps): Generate arrays rather than #defines.
8900 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
8901 (struct ulp_data): New type.
8902 (BUILD_COMPLEX_ULP): Remove macro.
8903 (compare_ulp_data): New function.
8904 (find_ulps): Likewise.
8905 (find_test_ulps): Likewise.
8906 (find_function_ulps): Likewise.
8907 (find_complex_function_ulps): Likewise.
8908 (print_max_error): Determine allowed ulps using
8909 find_function_ulps.
8910 (print_complex_max_error): Determine allowed ulps using
8911 find_complex_function_ulps.
8912 (check_float_internal): Determine max ulps using find_test_ulps.
8913 (check_float): Do not take max_ulp parameter. Update call to
8914 check_float_internal.
8915 (check_complex): Likewise.
8916 (check_int): Do not take max_ulp parameter.
8917 (check_long): Likewise.
8918 (check_bool): Likewise.
8919 (check_longlong): Likewise.
8920 (struct test_f_f_data): Remove max_ulp field.
8921 (struct test_ff_f_data): Likewise.
8922 (struct test_ff_f_data_nexttoward): Likewise.
8923 (struct test_fi_f_data): Likewise.
8924 (struct test_fl_f_data): Likewise.
8925 (struct test_if_f_data): Likewise.
8926 (struct test_fff_f_data): Likewise.
8927 (struct test_c_f_data): Likewise.
8928 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
8929 (struct test_fF_f1_data): Likewise.
8930 (struct test_ffI_f1_data): Likewise.
8931 (struct test_c_c_data): Remove max_ulp field.
8932 (struct test_cc_c_data): Likewise.
8933 (struct test_f_i_data): Likewise.
8934 (struct test_ff_i_data): Likewise.
8935 (struct test_f_l_data): Likewise.
8936 (struct test_f_L_data): Likewise.
8937 (struct test_sincos_data): Likewise.
8938 (RUN_TEST_f_f): Do not handle ulps.
8939 (RUN_TEST_LOOP_f_f): Likewise.
8940 (RUN_TEST_2_f): Likewise.
8941 (RUN_TEST_LOOP_2_f): Likewise.
8942 (RUN_TEST_fff_f): Likewise.
8943 (RUN_TEST_LOOP_fff_f): Likewise.
8944 (RUN_TEST_c_f): Likewise.
8945 (RUN_TEST_LOOP_c_f): Likewise.
8946 (RUN_TEST_f_f1): Likewise.
8947 (RUN_TEST_LOOP_f_f1): Likewise.
8948 (RUN_TEST_fF_f1): Likewise.
8949 (RUN_TEST_LOOP_fF_f1): Likewise.
8950 (RUN_TEST_fI_f1): Likewise.
8951 (RUN_TEST_LOOP_fI_f1): Likewise.
8952 (RUN_TEST_ffI_f1): Likewise.
8953 (RUN_TEST_LOOP_ffI_f1): Likewise.
8954 (RUN_TEST_c_c): Likewise.
8955 (RUN_TEST_LOOP_c_c): Likewise.
8956 (RUN_TEST_cc_c): Likewise.
8957 (RUN_TEST_LOOP_cc_c): Likewise.
8958 (RUN_TEST_f_i): Likewise.
8959 (RUN_TEST_LOOP_f_i): Likewise.
8960 (RUN_TEST_f_i_tg): Likewise.
8961 (RUN_TEST_LOOP_f_i_tg): Likewise.
8962 (RUN_TEST_ff_i_tg): Likewise.
8963 (RUN_TEST_LOOP_ff_i_tg): Likewise.
8964 (RUN_TEST_f_b): Likewise.
8965 (RUN_TEST_LOOP_f_b): Likewise.
8966 (RUN_TEST_f_b_tg): Likewise.
8967 (RUN_TEST_LOOP_f_b_tg): Likewise.
8968 (RUN_TEST_f_l): Likewise.
8969 (RUN_TEST_LOOP_f_l): Likewise.
8970 (RUN_TEST_f_L): Likewise.
8971 (RUN_TEST_LOOP_f_L): Likewise.
8972 (RUN_TEST_sincos): Likewise.
8973 (RUN_TEST_LOOP_sincos): Likewise.
8974
8269107f
JM
89752013-05-17 Joseph Myers <joseph@codesourcery.com>
8976
bb38759d
JM
8977 [BZ #15480]
8978 [BZ #15485]
8979 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
8980 main case of finite arguments, set rounding mode to FE_TONEAREST
8981 and discard exceptions.
8982 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
8983 exceptions.
8984 (remainder_tonearest_test_data): New variable.
8985 (remainder_test_tonearest): New function.
8986 (remainder_towardzero_test_data): New variable.
8987 (remainder_test_towardzero): New function.
8988 (remainder_downward_test_data): New variable.
8989 (remainder_test_downward): New function.
8990 (remainder_upward_test_data): New variable.
8991 (remainder_test_upward): New function.
8992 (main): Call the new test functions.
8993
a00bdcf0
JM
8994 * math/libm-test.inc (struct test_f_f1_data): Remove field
8995 extra_init.
8996 (struct test_fF_f1_data): Likewise.
8997 (struct test_ffI_f1_data): Likewise.
8998 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
8999 based on value of EXTRA_EXPECTED.
9000 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
9001 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
9002 EXTRA_VAR based on value of EXTRA_EXPECTED.
9003 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
9004 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
9005 EXTRA_VAR based on value of EXTRA_EXPECTED.
9006 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
9007 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
9008 EXTRA_VAR based on value of EXTRA_EXPECTED.
9009 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
9010 * math/gen-libm-test.pl (parse_args): Don't output initializers
9011 for extra output values.
9012
de407f79
JM
9013 * math/libm-test.inc (check_int): Expect result to be exactly
9014 equal to expected value and do not handle ulps.
9015 (check_long): Likewise.
9016 (check_longlong): Likewise.
9017
8269107f
JM
9018 * math/libm-test.inc (ceil_test_data): Test for "inexact"
9019 exceptions.
9020 (cimag_test_data): Likewise.
9021 (conj_test_data): Likewise.
9022 (copysign_test_data): Likewise.
9023 (cproj_test_data): Likewise.
9024 (creal_test_data): Likewise.
9025 (fabs_test_data): Likewise.
9026 (fdim_test_data): Likewise.
9027 (finite_test_data): Likewise.
9028 (floor_test_data): Likewise.
9029 (fmax_test_data): Likewise.
9030 (fmin_test_data): Likewise.
9031 (fmod_test_data): Likewise.
9032 (fpclassify_test_data): Likewise.
9033 (frexp_test_data): Likewise.
9034 (ilogb_test_data): Likewise.
9035 (isfinite_test_data): Likewise.
9036 (isgreater_test_data): Likewise.
9037 (isgreaterequal_test_data): Likewise.
9038 (isinf_test_data): Likewise.
9039 (isless_test_data): Likewise.
9040 (islessequal_test_data): Likewise.
9041 (islessgreater_test_data): Likewise.
9042 (isnan_test_data): Likewise.
9043 (isnormal_test_data): Likewise.
9044 (issignaling_test_data): Likewise.
9045 (isunordered_test_data): Likewise.
9046 (ldexp_test_data): Likewise.
9047 (lrint_test_data): Likewise.
9048 (lrint_test_data) [TEST_FLOAT]: Disable one test.
9049 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
9050 (lrint_tonearest_test_data): Test for "inexact" exceptions.
9051 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
9052 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
9053 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
9054 test input.
9055 (lrint_towardzero_test_data): Test for "inexact" exceptions.
9056 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
9057 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
9058 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
9059 that test input.
9060 (lrint_downward_test_data): Test for "inexact" exceptions.
9061 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
9062 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
9063 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
9064 test input.
9065 (lrint_upward_test_data): Test for "inexact" exceptions.
9066 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
9067 test input.
9068 (llrint_test_data): Test for "inexact" exceptions.
9069 (llrint_test_data) [TEST_FLOAT]: Disable one test.
9070 (llrint_tonearest_test_data): Test for "inexact" exceptions.
9071 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
9072 (llrint_towardzero_test_data): Test for "inexact" exceptions.
9073 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
9074 (llrint_downward_test_data): Test for "inexact" exceptions.
9075 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
9076 (llrint_upward_test_data): Test for "inexact" exceptions.
9077 (logb_test_data): Likewise.
9078 (logb_downward_test_data): Likewise.
9079 (nextafter_test_data): Likewise.
9080 (nexttoward_test_data): Likewise.
9081 (remainder_test_data): Likewise.
9082 (remquo_test_data): Likewise.
9083 (scalbn_test_data): Likewise.
9084 (scalbln_test_data): Likewise.
9085 (signbit_test_data): Likewise.
9086 (sqrt_test_data): Likewise.
9087 (significand_test_data): Likewise.
9088
48a18de1
SP
90892013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9090
9091 [BZ #15424]
9092 * benchtests/bench-modf.c (struct args): Mark arg0 as
9093 volatile.
9094 * scripts/bench.pl: Mark members of struct args as volatile.
9095
13d3b41a
AZ
90962013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9097
68191c1d 9098 [BZ # 15497]
13d3b41a
AZ
9099 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
9100 negative infinity on POWER6 or lower.
9101 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
9102
2848b105
MR
91032013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
9104
9105 [BZ #15442]
9106 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
9107 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
9108 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
9109 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
9110 (_FP_SETQNAN): New macro.
9111 (_FP_SETQNAN_SEMIRAW): Likewise.
9112 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
9113 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
9114 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
9115 (FP_EXTEND): Use _FP_FRAC_SNANP.
9116 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
9117 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
9118 into account.
9119 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
9120 New macro.
9121 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
9122 Likewise.
9123
323e5cb7
JM
91242013-05-16 Joseph Myers <joseph@codesourcery.com>
9125
c58b274f
JM
9126 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
9127 with DIVIDE_BY_ZERO_EXCEPTION.
9128 (gamma_test_data): Likewise.
9129 (lgamma_test_data): Likewise.
9130 (log_test_data): Likewise.
9131 (log10_test_data): Likewise.
9132 (log2_test_data): Likewise.
9133 (tgamma_test_data): Likewise.
9134
0ab34904
JM
9135 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
9136 (acos_test_tonearest): Likewise.
9137 (acos_test_towardzero): Likewise.
9138 (acos_test_downward): Likewise.
9139 (acos_test_upward): Likewise.
9140 (acosh_test): Likewise.
9141 (asin_test): Likewise.
9142 (asin_test_tonearest): Likewise.
9143 (asin_test_towardzero): Likewise.
9144 (asin_test_downward): Likewise.
9145 (asin_test_upward): Likewise.
9146 (asinh_test): Likewise.
9147 (atan_test): Likewise.
9148 (atanh_test): Likewise.
9149 (atan2_test): Likewise.
9150 (cabs_test): Likewise.
9151 (cacos_test): Likewise.
9152 (cacosh_test): Likewise.
9153 (casin_test): Likewise.
9154 (casinh_test): Likewise.
9155 (catan_test): Likewise.
9156 (catanh_test): Likewise.
9157 (cbrt_test): Likewise.
9158 (ccos_test): Likewise.
9159 (ccosh_test): Likewise.
9160 (cexp_test): Likewise.
9161 (clog_test): Likewise.
9162 (clog10_test): Likewise.
9163 (cos_test): Likewise.
9164 (cos_test_tonearest): Likewise.
9165 (cos_test_towardzero): Likewise.
9166 (cos_test_downward): Likewise.
9167 (cos_test_upward): Likewise.
9168 (cosh_test): Likewise.
9169 (cosh_test_tonearest): Likewise.
9170 (cosh_test_towardzero): Likewise.
9171 (cosh_test_downward): Likewise.
9172 (cosh_test_upward): Likewise.
9173 (cpow_test): Likewise.
9174 (csin_test): Likewise.
9175 (csinh_test): Likewise.
9176 (csqrt_test): Likewise.
9177 (ctan_test): Likewise.
9178 (ctan_test_tonearest): Likewise.
9179 (ctan_test_towardzero): Likewise.
9180 (ctan_test_downward): Likewise.
9181 (ctan_test_upward): Likewise.
9182 (ctanh_test): Likewise.
9183 (ctanh_test_tonearest): Likewise.
9184 (ctanh_test_towardzero): Likewise.
9185 (ctanh_test_downward): Likewise.
9186 (ctanh_test_upward): Likewise.
9187 (erf_test): Likewise.
9188 (erfc_test): Likewise.
9189 (exp_test): Likewise.
9190 (exp_test_tonearest): Likewise.
9191 (exp_test_towardzero): Likewise.
9192 (exp_test_downward): Likewise.
9193 (exp_test_upward): Likewise.
9194 (exp10_test): Likewise.
9195 (exp2_test): Likewise.
9196 (expm1_test): Likewise.
9197 (fmod_test): Likewise.
9198 (gamma_test): Likewise.
9199 (hypot_test): Likewise.
9200 (j0_test): Likewise.
9201 (j1_test): Likewise.
9202 (jn_test): Likewise.
9203 (lgamma_test): Likewise.
9204 (log_test): Likewise.
9205 (log10_test): Likewise.
9206 (log1p_test): Likewise.
9207 (log2_test): Likewise.
9208 (logb_test_downward): Likewise.
9209 (pow_test): Likewise.
9210 (pow_test_tonearest): Likewise.
9211 (pow_test_towardzero): Likewise.
9212 (pow_test_downward): Likewise.
9213 (pow_test_upward): Likewise.
9214 (remainder_test): Likewise.
9215 (remquo_test): Likewise.
9216 (sin_test): Likewise.
9217 (sin_test_tonearest): Likewise.
9218 (sin_test_towardzero): Likewise.
9219 (sin_test_downward): Likewise.
9220 (sin_test_upward): Likewise.
9221 (sincos_test): Likewise.
9222 (sinh_test): Likewise.
9223 (sinh_test_tonearest): Likewise.
9224 (sinh_test_towardzero): Likewise.
9225 (sinh_test_downward): Likewise.
9226 (sinh_test_upward): Likewise.
9227 (sqrt_test): Likewise.
9228 (tan_test): Likewise.
9229 (tan_test_tonearest): Likewise.
9230 (tan_test_towardzero): Likewise.
9231 (tan_test_downward): Likewise.
9232 (tan_test_upward): Likewise.
9233 (tanh_test): Likewise.
9234 (tgamma_test): Likewise.
9235 (y0_test): Likewise.
9236 (y1_test): Likewise.
9237 (yn_test): Likewise.
9238
323e5cb7
JM
9239 * math/gen-libm-test.pl (adjust_arg): Remove function.
9240 (special_function): Remove argument $in_func. Only handle
9241 generating output for tables of tests, not inside functions.
9242 (parse_args): Likewise.
9243 (generate_testfile): Remove variable $in_func. Update call to
9244 parse_args.
9245 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
9246 (MINUS_ZERO_INIT): Rename macro to minus_zero.
9247 (PLUS_INFTY_INIT): Rename macro to plus_infty.
9248 (MINUS_INFTY_INIT): Rename macro to minus_infty.
9249 (QNAN_VALUE_INIT): Rename macro to qnan_value.
9250 (MAX_VALUE_INIT): Rename macro to max_value.
9251 (MIN_VALUE_INIT): Rename macro to min_value.
9252 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
9253 (plus_zero): Remove variable.
9254 (minus_zero): Likewise.
9255 (plus_infty): Likewise.
9256 (minus_infty): Likewise.
9257 (qnan_value): Likewise.
9258 (max_value): Likewise.
9259 (min_value): Likewise.
9260 (min_subnorm_value): Likewise.
9261
e054f494
RA
92622013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9263
9264 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
9265 uint64_t or uint32_t usage.
9266 * crypt/sha256-block.c: Likewise.
9267 * crypt/sha256-crypt.c: Likewise.
9268 * crypt/sha256.c: Likewise.
9269 * crypt/sha512-block.c: Likewise.
9270 * crypt/sha512-crypt.c: Likewise.
9271 * crypt/sha512.c: Likewise.
9272 * debug/backtrace-tst.c: Likewise.
9273 * debug/pcprofiledump.c: Likewise.
9274 * elf/cache.c: Likewise.
9275 * elf/dl-cache.c: Likewise.
9276 * elf/dl-misc.c: Likewise.
9277 * elf/dl-profile.c: Likewise.
9278 * elf/dl-support.c: Likewise.
9279 * elf/ldconfig.c: Likewise.
9280 * elf/sprof.c: Likewise.
9281 * iconv/dummy-repertoire.c: Likewise.
9282 * iconv/iconv_charmap.c: Likewise.
9283 * iconv/skeleton.c: Likewise.
9284 * iconvdata/8bit-generic.c: Likewise.
9285 * iconvdata/cp737.h: Likewise.
9286 * iconvdata/cp775.h: Likewise.
9287 * iconvdata/ibm1008.h: Likewise.
9288 * iconvdata/ibm1025.h: Likewise.
9289 * iconvdata/ibm1046.h: Likewise.
9290 * iconvdata/ibm1097.h: Likewise.
9291 * iconvdata/ibm1112.h: Likewise.
9292 * iconvdata/ibm1122.h: Likewise.
9293 * iconvdata/ibm1123.h: Likewise.
9294 * iconvdata/ibm1124.h: Likewise.
9295 * iconvdata/ibm1129.h: Likewise.
9296 * iconvdata/ibm1130.h: Likewise.
9297 * iconvdata/ibm1132.h: Likewise.
9298 * iconvdata/ibm1133.h: Likewise.
9299 * iconvdata/ibm1137.h: Likewise.
9300 * iconvdata/ibm1140.h: Likewise.
9301 * iconvdata/ibm1141.h: Likewise.
9302 * iconvdata/ibm1142.h: Likewise.
9303 * iconvdata/ibm1143.h: Likewise.
9304 * iconvdata/ibm1144.h: Likewise.
9305 * iconvdata/ibm1145.h: Likewise.
9306 * iconvdata/ibm1146.h: Likewise.
9307 * iconvdata/ibm1147.h: Likewise.
9308 * iconvdata/ibm1148.h: Likewise.
9309 * iconvdata/ibm1149.h: Likewise.
9310 * iconvdata/ibm1153.h: Likewise.
9311 * iconvdata/ibm1154.h: Likewise.
9312 * iconvdata/ibm1155.h: Likewise.
9313 * iconvdata/ibm1156.h: Likewise.
9314 * iconvdata/ibm1157.h: Likewise.
9315 * iconvdata/ibm1158.h: Likewise.
9316 * iconvdata/ibm1160.h: Likewise.
9317 * iconvdata/ibm1161.h: Likewise.
9318 * iconvdata/ibm1162.h: Likewise.
9319 * iconvdata/ibm1163.h: Likewise.
9320 * iconvdata/ibm1164.h: Likewise.
9321 * iconvdata/ibm1166.h: Likewise.
9322 * iconvdata/ibm1167.h: Likewise.
9323 * iconvdata/ibm12712.h: Likewise.
9324 * iconvdata/ibm1390.h: Likewise.
9325 * iconvdata/ibm1399.h: Likewise.
9326 * iconvdata/ibm16804.h: Likewise.
9327 * iconvdata/ibm4517.h: Likewise.
9328 * iconvdata/ibm4899.h: Likewise.
9329 * iconvdata/ibm4909.h: Likewise.
9330 * iconvdata/ibm4971.h: Likewise.
9331 * iconvdata/ibm5347.h: Likewise.
9332 * iconvdata/ibm803.h: Likewise.
9333 * iconvdata/ibm856.h: Likewise.
9334 * iconvdata/ibm901.h: Likewise.
9335 * iconvdata/ibm902.h: Likewise.
9336 * iconvdata/ibm9030.h: Likewise.
9337 * iconvdata/ibm9066.h: Likewise.
9338 * iconvdata/ibm921.h: Likewise.
9339 * iconvdata/ibm922.h: Likewise.
9340 * iconvdata/ibm9448.h: Likewise.
9341 * iconvdata/isiri-3342.h: Likewise.
9342 * iconvdata/jis0201.h: Likewise.
9343 * include/link.h: Likewise.
9344 * include/netdb.h: Likewise.
9345 * inet/check_native.c: Likewise.
9346 * inet/check_pf.c: Likewise.
9347 * inet/getipv4sourcefilter.c: Likewise.
9348 * inet/getnameinfo.c: Likewise.
9349 * inet/getsourcefilter.c: Likewise.
9350 * inet/htonl.c: Likewise.
9351 * inet/setipv4sourcefilter.c: Likewise.
9352 * inet/setsourcefilter.c: Likewise.
9353 * inet/test-inet6_opt.c: Likewise.
9354 * inet/tst-network.c: Likewise.
9355 * locale/C-collate.c: Likewise.
9356 * locale/C-ctype.c: Likewise.
9357 * locale/C-time.c: Likewise.
9358 * locale/C-translit.h: Likewise.
9359 * locale/loadarchive.c: Likewise.
9360 * locale/programs/3level.h: Likewise.
9361 * locale/programs/charmap.c: Likewise.
9362 * locale/programs/charmap.h: Likewise.
9363 * locale/programs/ld-address.c: Likewise.
9364 * locale/programs/ld-collate.c: Likewise.
9365 * locale/programs/ld-ctype.c: Likewise.
9366 * locale/programs/ld-identification.c: Likewise.
9367 * locale/programs/ld-measurement.c: Likewise.
9368 * locale/programs/ld-messages.c: Likewise.
9369 * locale/programs/ld-monetary.c: Likewise.
9370 * locale/programs/ld-name.c: Likewise.
9371 * locale/programs/ld-numeric.c: Likewise.
9372 * locale/programs/ld-paper.c: Likewise.
9373 * locale/programs/ld-telephone.c: Likewise.
9374 * locale/programs/ld-time.c: Likewise.
9375 * locale/programs/linereader.c: Likewise.
9376 * locale/programs/locale.c: Likewise.
9377 * locale/programs/locarchive.c: Likewise.
9378 * locale/programs/locfile.h: Likewise.
9379 * locale/programs/repertoire.c: Likewise.
9380 * locale/programs/simple-hash.c: Likewise.
9381 * locale/programs/simple-hash.h: Likewise.
9382 * malloc/memusage.c: Likewise.
9383 * malloc/memusagestat.c: Likewise.
9384 * nis/nis_defaults.c: Likewise.
9385 * nis/nis_hash.c: Likewise.
9386 * nis/nis_print.c: Likewise.
9387 * nis/nis_xdr.c: Likewise.
9388 * nscd/connections.c: Likewise.
9389 * nscd/hstcache.c: Likewise.
9390 * nscd/nscd_gethst_r.c: Likewise.
9391 * nscd/nscd_getserv_r.c: Likewise.
9392 * nscd/nscd_helper.c: Likewise.
9393 * nscd/servicescache.c: Likewise.
9394 * nss/makedb.c: Likewise.
9395 * nss/nss_db/db-XXX.c: Likewise.
9396 * nss/nss_db/db-initgroups.c: Likewise.
9397 * nss/nss_db/db-netgrp.c: Likewise.
9398 * nss/nss_files/files-network.c: Likewise.
9399 * nss/nss_files/files-parse.c: Likewise.
9400 * posix/bug-regex5.c: Likewise.
9401 * posix/fnmatch_loop.c: Likewise.
9402 * posix/regcomp.c: Likewise.
9403 * posix/regexec.c: Likewise.
9404 * posix/tst-rfc3484-2.c: Likewise.
9405 * posix/tst-rfc3484-3.c: Likewise.
9406 * posix/tst-rfc3484.c: Likewise.
9407 * resolv/nss_dns/dns-canon.c: Likewise.
9408 * resolv/nss_dns/dns-network.c: Likewise.
9409 * resolv/res_init.c: Likewise.
9410 * resolv/res_mkquery.c: Likewise.
9411 * resolv/tst-aton.c: Likewise.
9412 * stdlib/cxa_atexit.c: Likewise.
9413 * stdlib/cxa_finalize.c: Likewise.
9414 * stdlib/gen-fpioconst.c: Likewise.
9415 * stdlib/strtol_l.c: Likewise.
9416 * string/tst-endian.c: Likewise.
9417 * sunrpc/auth_des.c: Likewise.
9418 * sunrpc/clnt_udp.c: Likewise.
9419 * sunrpc/rtime.c: Likewise.
9420 * sunrpc/svcauth_des.c: Likewise.
9421 * sunrpc/xdr.c: Likewise.
9422 * sunrpc/xdr_intXX_t.c: Likewise.
9423 * sunrpc/xdr_rec.c: Likewise.
9424 * sysdeps/generic/ldconfig.h: Likewise.
9425 * sysdeps/generic/ldsodefs.h: Likewise.
9426 * sysdeps/generic/memusage.h: Likewise.
9427 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
9428 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
9429 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
9430 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9431 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9432 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9433 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
9434 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
9435 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9436 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9437 * sysdeps/posix/getaddrinfo.c: Likewise.
9438 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9439 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9440 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9441 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9442 * sysdeps/powerpc/test-gettimebase.c: Likewise.
9443 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9444 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
9445 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
9446 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
9447 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
9448 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9449 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9450 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
9451 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
9452 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
9453 * sysdeps/x86_64/dl-tls.h: Likewise.
9454 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
9455 * time/alt_digit.c: Likewise.
9456 * time/era.c: Likewise.
9457 * wcsmbs/tst-c16c32-1.c: Likewise.
9458
8c75f674
JM
94592013-05-16 Joseph Myers <joseph@codesourcery.com>
9460
9461 * math/libm-test.inc (struct test_sincos_data): New type.
9462 (RUN_TEST_LOOP_sincos): New macro.
9463 (sincos_test_data): New variable.
9464 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
9465
e6e49e59
RH
94662013-05-16 Richard Henderson <rth@redhat.com>
9467
9468 * math/atest-exp2.c (LIMB64): New macro.
9469 (CONSTSZ): New macro.
9470 (mp_exp1, mp_exp_m1, mp_log2): New variables.
9471 (hexdig): Move ...
9472 (print_mpn_fp): ... to function scope.
9473 (read_mpn_hex): Remove.
9474 (get_log2): Remove.
9475 (exp2_mpn): Use mp_log2.
9476 (main): Use mp_exp1.
9477
15c7c18d
JM
94782013-05-16 Joseph Myers <joseph@codesourcery.com>
9479
105a07df
JM
9480 * math/libm-test.inc: Remove comment about not testing "inexact"
9481 exceptions.
9482 (INEXACT_EXCEPTION): New macro.
9483 (NO_INEXACT_EXCEPTION): Likewise.
9484 (INVALID_EXCEPTION_OK): Update value.
9485 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9486 (OVERFLOW_EXCEPTION_OK): Likewise.
9487 (UNDERFLOW_EXCEPTION_OK): Likewise.
9488 (IGNORE_ZERO_INF_SIGN): Likewise.
9489 (ERRNO_UNCHANGED): Likewise.
9490 (ERRNO_EDOM): Likewise.
9491 (ERRNO_ERANGE): Likewise.
9492 (test_exceptions): Handle testing "inexact" exceptions.
9493 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
9494 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
9495 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
9496 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
9497 INEXACT_EXCEPTION.
9498 (rint_towardzero_test_data): Likewise.
9499 (rint_downward_test_data): Likewise.
9500 (rint_upward_test_data): Likewise.
9501
e9eee333
JM
9502 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
9503 with OVERFLOW_EXCEPTION.
9504 (exp10_test_data): Likewise.
9505 (exp2_test_data): Likewise.
9506 (expm1_test_data): Likewise.
9507 (lgamma_test_data): Likewise.
9508 (pow_test_data): Likewise.
9509 (tgamma_test_data): Likewise.
9510 (yn_test_data): Remove duplicate test of overflow.
9511
1c38ff73
JM
9512 * math/libm-test.inc (struct test_cc_c_data): New type.
9513 (RUN_TEST_LOOP_cc_c): New macro.
9514 (cpow_test_data): New variable.
9515 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
9516
15c7c18d
JM
9517 * math/libm-test.inc (struct test_f_L_data): New type.
9518 (RUN_TEST_LOOP_f_L): New macro.
9519 (llrint_test_data): New variable.
9520 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
9521 (llrint_tonearest_test_data): New variable.
9522 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
9523 (llrint_towardzero_test_data): New variable.
9524 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
9525 (llrint_downward_test_data): New variable.
9526 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
9527 (llrint_upward_test_data): New variable.
9528 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
9529 (llround_test_data): New variable.
9530 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
9531
f137ff13
PC
95322013-05-13 Peter Collingbourne <pcc@google.com>
9533
9534 * math/atest-exp2.c (get_log2): Remove const attribute.
9535
3608cb24
JM
95362013-05-15 Joseph Myers <joseph@codesourcery.com>
9537
9538 * math/libm-test.inc (struct test_f_l_data): New type.
9539 (RUN_TEST_LOOP_f_l): New macro.
9540 (lrint_test_data): New variable.
9541 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
9542 (lrint_tonearest_test_data): New variable.
9543 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
9544 (lrint_towardzero_test_data): New variable.
9545 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
9546 (lrint_downward_test_data): New variable.
9547 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
9548 (lrint_upward_test_data): New variable.
9549 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
9550 (lround_test_data): New variable.
9551 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
9552
39b1f617
PC
95532013-05-15 Peter Collingbourne <pcc@google.com>
9554
1deff3dc
PC
9555 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
9556 (EXTRACT_WORDS64) Use where appropriate.
9557 (INSERT_WORDS64) Likewise.
9558
791f3ba0
PC
9559 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
9560 constraints with x constraints.
9561 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
9562
39b1f617
PC
9563 * malloc/obstack.c (_obstack_compat): Add initializer.
9564
12fba011
EM
95652013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
9566
9567 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
9568 si_trapno and add si_addr_lsb to _sifields.sigfault.
9569 (si_trapno): Remove macro.
9570 (si_addr_lsb): Define new macro.
9571 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
9572
d369f531
JM
95732013-05-15 Joseph Myers <joseph@codesourcery.com>
9574
b861c6c4
JM
9575 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
9576 instead of TEST_f_l.
9577 (llrint_test_tonearest): Likewise.
9578 (llrint_test_towardzero): Likewise.
9579 (llrint_test_downward): Likewise.
9580 (llrint_test_upward): Likewise.
9581 (llround_test): Likewise.
9582
7abeee12
JM
9583 * math/libm-test.inc (struct test_f_i_data): Add comment.
9584 (RUN_TEST_LOOP_f_b): New macro.
9585 (RUN_TEST_LOOP_f_b_tg): Likewise.
9586 (finite_test_data): New variable.
9587 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
9588 (isfinite_test_data): New variable.
9589 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9590 (isinf_test_data): New variable.
9591 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9592 (isnan_test_data): New variable.
9593 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9594 (isnormal_test_data): New variable.
9595 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9596 (issignaling_test_data): New variable.
9597 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9598 (signbit_test_data): New variable.
9599 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9600
cbe8c4d3
JM
9601 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
9602 with INVALID_EXCEPTION.
9603 (acosh_test_data): Likewise.
9604 (asin_test_data): Likewise.
9605 (atanh_test_data): Likewise.
9606 (fmod_test_data): Likewise.
9607 (log_test_data): Likewise.
9608 (log10_test_data): Likewise.
9609 (log2_test_data): Likewise.
9610 (pow_test_data): Likewise.
9611 (sqrt_test_data): Likewise.
9612 (y0_test_data): Likewise.
9613 (y1_test_data): Likewise.
9614 (yn_test_data): Likewise.
9615
5575c0e5
JM
9616 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
9617 function contents.
9618
d369f531
JM
9619 * math/libm-test.inc (struct test_ff_i_data): New type.
9620 (RUN_TEST_LOOP_ff_i_tg): New macro.
9621 (isgreater_test_data): New variable.
9622 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9623 (isgreaterequal_test_data): New variable.
9624 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9625 (isless_test_data): New variable.
9626 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9627 (islessequal_test_data): New variable.
9628 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9629 (islessgreater_test_data): New variable.
9630 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9631 (isunordered_test_data): New variable.
9632 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9633
781fd748
DM
96342013-05-14 David S. Miller <davem@davemloft.net>
9635
9636 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9637
87aa21df
JM
96382013-05-14 Joseph Myers <joseph@codesourcery.com>
9639
5e908270
JM
9640 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
9641
f71172e5
JM
9642 * math/libm-test.inc (struct test_fF_f1_data): Change type of
9643 extra_test to int.
9644 (struct test_f_i_data): Change type of max_ulp to int.
9645
8cfa635a
JM
9646 * math/libm-test.inc (test_ffI_f1_data): New type.
9647 (RUN_TEST_LOOP_ffI_f1): New macro.
9648 (remquo_test_data): New variable.
9649 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
9650
2bcb36b2
JM
9651 * setjmp/tst-setjmp-fp.c: New file.
9652 * setjmp/Makefile (tests): Add tst-setjmp-fp.
9653 (link-libm): New variable.
9654 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
9655
acbd839a
JM
9656 * math/libm-test.inc (struct test_f_i_data): New type.
9657 (RUN_TEST_LOOP_f_i): New macro.
9658 (RUN_TEST_LOOP_f_i_tg): Likewise.
9659 (fpclassify_test_data): New variable.
9660 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
9661 (ilogb_test_data): New variable.
9662 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
9663
e414d745
JM
9664 * math/libm-test.inc (scalbln_test): Correct function name in END
9665 call.
9666
d9c2a0fd
JM
9667 * math/libm-test.inc (struct test_f_f1_data): Add comment.
9668 (RUN_TEST_LOOP_fI_f1): New macro.
9669 (frexp_test_data): New variable.
9670 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
9671
9dc9095d
JM
9672 * math/libm-test.inc (struct test_fF_f1_data): New type.
9673 (RUN_TEST_LOOP_fF_f1): New macro.
9674 (modf_test_data): New variable.
9675 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
9676
87aa21df
JM
9677 * math/libm-test.inc (struct test_f_f1_data): New type.
9678 (RUN_TEST_LOOP_f_f1): New macro.
9679 (gamma_test_data): New variable.
9680 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9681 (lgamma_test_data): New variable.
9682 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9683
141af660
CD
96842013-05-13 Carlos O'Donell <carlos@redhat.com>
9685
9686 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
9687 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
9688 (main): Comment "tls" pseudo-hwcap.
9689
6d33265c
JM
96902013-05-13 Joseph Myers <joseph@codesourcery.com>
9691
68fc074c
JM
9692 * math/libm-test.inc (struct test_fl_f_data): New type.
9693 (RUN_TEST_LOOP_fl_f): New variable.
9694 (scalbln_test_data): New variable.
9695 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
9696
243216e1
JM
9697 * math/libm-test.inc (struct test_fi_f_data): New type.
9698 (RUN_TEST_LOOP_fi_f): New macro.
9699 (ldexp_test_data): New variable.
9700 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
9701 (scalbn_test_data): New variable.
9702 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
9703
6a1992e2
JM
9704 * math/libm-test.inc (struct test_c_f_data): New type.
9705 (RUN_TEST_LOOP_c_f): New macro.
9706 (cabs_test_data): New variable.
9707 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
9708 (carg_test_data): New variable.
9709 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
9710 (cimag_test_data): New variable.
9711 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
9712 (creal_test_data): New variable.
9713 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
9714
0e400df5
JM
9715 * math/libm-test.inc (struct test_if_f_data): New type.
9716 (RUN_TEST_LOOP_if_f): New macro.
9717 (jn_test_data): New variable.
9718 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
9719 (yn_test_data): New variable.
9720 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
9721
6d33265c
JM
9722 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
9723
f98ece5f
AZ
97242013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9725
9726 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
9727 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
9728
0f7d347b
SP
97292013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
9730
43fe811b
SP
9731 * benchtests/Makefile (CPPFLAGS-nonlib): Add
9732 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
9733 (bench-deps): Add bench-timing.h.
9734 * benchtests-bench-skeleton.c: Include bench-timing.h.
9735 (main): Use TIMING_* macros instead of clock_gettime.
9736 * benchtests/bench-timing.h: New file.
9737
0f7d347b
SP
9738 [BZ #14582]
9739 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
9740 Renamed from _LIB_VERSION.
9741 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
9742
601a3a5f
JM
97432013-05-12 Joseph Myers <joseph@codesourcery.com>
9744
4f184d30
JM
9745 * math/libm-test.inc (struct test_fff_f_data): New type.
9746 (RUN_TEST_LOOP_fff_f): New macro.
9747 (fma_test_data): New variable.
9748 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
9749 (fma_towardzero_test_data): New variable.
9750 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
9751 (fma_downward_test_data): New variable.
9752 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
9753 (fma_upward_test_data): New variable.
9754 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
9755
08198877
JM
9756 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
9757 (struct test_c_c_data): New type.
9758 (RUN_TEST_LOOP_c_c): New macro.
9759 (cacos_test_data): New variable.
9760 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
9761 (cacosh_test_data): New variable.
9762 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
9763 (casin_test_data): New variable.
9764 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
9765 (casinh_test_data): New variable.
9766 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
9767 (catan_test_data): New variable.
9768 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
9769 (catanh_test_data): New variable.
9770 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
9771 (ccos_test_data): New variable.
9772 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
9773 (ccosh_test_data): New variable.
9774 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
9775 (cexp_test_data): New variable.
9776 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
9777 (clog_test_data): New variable.
9778 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
9779 (clog10_test_data): New variable.
9780 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
9781 (conj_test_data): New variable.
9782 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
9783 (cproj_test_data): New variable.
9784 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
9785 (csin_test_data): New variable.
9786 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
9787 (csinh_test_data): New variable.
9788 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
9789 (csqrt_test_data): New variable.
9790 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
9791 (ctan_test_data): New variable.
9792 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
9793 (ctan_tonearest_test_data): New variable.
9794 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9795 (ctan_towardzero_test_data): New variable.
9796 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9797 (ctan_downward_test_data): New variable.
9798 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9799 (ctan_upward_test_data): New variable.
9800 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9801 (ctanh_test_data): New variable.
9802 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
9803 (ctanh_tonearest_test_data): New variable.
9804 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9805 (ctanh_towardzero_test_data): New variable.
9806 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9807 (ctanh_downward_test_data): New variable.
9808 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9809 (ctanh_upward_test_data): New variable.
9810 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9811 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
9812 of BUILD_COMPLEX.
9813
601a3a5f
JM
9814 * math/libm-test.inc (struct test_ff_f_data): New type.
9815 (struct test_ff_f_data_nexttoward): Likewise.
9816 (RUN_TEST_LOOP_2_f): New macro.
9817 (RUN_TEST_LOOP_ff_f): Likewise.
9818 (atan2_test_data): New variable.
9819 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
9820 (copysign_test_data): New variable.
9821 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
9822 (fdim_test_data): New variable.
9823 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
9824 (fmax_test_data): New variable.
9825 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
9826 (fmin_test_data): New variable.
9827 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
9828 (fmod_test_data): New variable.
9829 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
9830 (hypot_test_data): New variable.
9831 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
9832 (nextafter_test_data): New variable.
9833 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
9834 (nexttoward_test_data): New variable.
9835 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
9836 (pow_test_data): New variable.
9837 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
9838 (pow_tonearest_test_data): New variable.
9839 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
9840 (pow_towardzero_test_data): New variable.
9841 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
9842 (pow_downward_test_data): New variable.
9843 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
9844 (pow_upward_test_data): New variable.
9845 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
9846 (remainder_test_data): New variable.
9847 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
9848 (scalb_test_data): New variable.
9849 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
9850 * sysdeps/i386/fpu/libm-test-ulps: Update.
9851
74c57478
JM
98522013-05-11 Joseph Myers <joseph@codesourcery.com>
9853
8329e4da
JM
9854 * math/libm-test.inc (fma_test): Use max_value instead of local
9855 variable fltmax.
9856 (nextafter_test): Likewise.
9857
74c57478
JM
9858 * math/libm-test.inc (acos_towardzero_test_data): New variable.
9859 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9860 (acos_downward_test_data): New variable.
9861 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9862 (acos_upward_test_data): New variable.
9863 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9864 (acosh_test_data): New variable.
9865 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
9866 (asin_test_data): New variable.
9867 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
9868 (asin_tonearest_test_data): New variable.
9869 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9870 (asin_towardzero_test_data): New variable.
9871 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9872 (asin_downward_test_data): New variable.
9873 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9874 (asin_upward_test_data): New variable.
9875 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9876 (asinh_test_data): New variable.
9877 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
9878 (atan_test_data): New variable.
9879 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
9880 (atanh_test_data): New variable.
9881 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
9882 (cbrt_test_data): New variable.
9883 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
9884 (ceil_test_data): New variable.
9885 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
9886 (cos_test_data): New variable.
9887 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
9888 (cos_tonearest_test_data): New variable.
9889 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9890 (cos_towardzero_test_data): New variable.
9891 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9892 (cos_downward_test_data): New variable.
9893 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9894 (cos_upward_test_data): New variable.
9895 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9896 (cosh_test_data): New variable.
9897 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
9898 (cosh_tonearest_test_data): New variable.
9899 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9900 (cosh_towardzero_test_data): New variable.
9901 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9902 (cosh_downward_test_data): New variable.
9903 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9904 (cosh_upward_test_data): New variable.
9905 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9906 (erf_test_data): New variable.
9907 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
9908 (erfc_test_data): New variable.
9909 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
9910 (exp_test_data): New variable.
9911 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
9912 (exp_tonearest_test_data): New variable.
9913 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9914 (exp_towardzero_test_data): New variable.
9915 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9916 (exp_downward_test_data): New variable.
9917 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9918 (exp_upward_test_data): New variable.
9919 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9920 (exp10_test_data): New variable.
9921 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
9922 (exp2_test_data): New variable.
9923 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
9924 (expm1_test_data): New variable.
9925 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
9926 (fabs_test_data): New variable.
9927 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
9928 (floor_test_data): New variable.
9929 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
9930 (j0_test_data): New variable.
9931 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
9932 (j1_test_data): New variable.
9933 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
9934 (log_test_data): New variable.
9935 (log_test): Run tests with RUN_TEST_LOOP_f_f.
9936 (log10_test_data): New variable.
9937 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
9938 (log1p_test_data): New variable.
9939 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
9940 (log2_test_data): New variable.
9941 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
9942 (logb_test_data): New variable.
9943 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
9944 (logb_downward_test_data): New variable.
9945 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9946 (nearbyint_test_data): New variable.
9947 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
9948 (rint_test_data): New variable.
9949 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
9950 (rint_tonearest_test_data): New variable.
9951 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9952 (rint_towardzero_test_data): New variable.
9953 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9954 (rint_downward_test_data): New variable.
9955 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9956 (rint_upward_test_data): New variable.
9957 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9958 (round_test_data): New variable.
9959 (round_test): Run tests with RUN_TEST_LOOP_f_f.
9960 (sin_test_data): New variable.
9961 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
9962 (sin_tonearest_test_data): New variable.
9963 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9964 (sin_towardzero_test_data): New variable.
9965 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9966 (sin_downward_test_data): New variable.
9967 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9968 (sin_upward_test_data): New variable.
9969 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9970 (sinh_test_data): New variable.
9971 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
9972 (sinh_tonearest_test_data): New variable.
9973 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9974 (sinh_towardzero_test_data): New variable.
9975 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9976 (sinh_downward_test_data): New variable.
9977 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9978 (sinh_upward_test_data): New variable.
9979 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9980 (sqrt_test_data): New variable.
9981 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
9982 (tan_test_data): New variable.
9983 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
9984 (tan_tonearest_test_data): New variable.
9985 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9986 (tan_towardzero_test_data): New variable.
9987 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9988 (tan_downward_test_data): New variable.
9989 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9990 (tan_upward_test_data): New variable.
9991 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9992 (tanh_test_data): New variable.
9993 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
9994 (tgamma_test_data): New variable.
9995 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
9996 (trunc_test_data): New variable.
9997 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
9998 (y0_test_data): New variable.
9999 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
10000 (y1_test_data): New variable.
10001 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
10002 (significand_test_data): New variable.
10003 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
10004
7187d844
CG
100052013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
10006
10007 [BZ #12387]
10008 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
10009
f63fae73
PT
100102013-05-10 Pino Toscano <toscano.pino@tiscali.it>
10011
10012 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
10013
8a67a4b3
AJ
100142013-05-10 Andreas Jaeger <aj@suse.de>
10015
10016 [BZ #15448]
10017 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
10018 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
10019
51df539d
JM
100202013-05-10 Joseph Myers <joseph@codesourcery.com>
10021
10022 * math/gen-libm-test.pl (adjust_arg): New function.
10023 (special_functions): Handle generating output in both functions
10024 and arrays.
10025 (parse_args): Likewise.
10026 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
10027 $in_func argument to parse_args.
10028 * math/libm-test.inc (struct test_f_f_data): New type.
10029 (IF_ROUND_INIT_): New macro.
10030 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
10031 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
10032 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
10033 (IF_ROUND_INIT_FE_UPWARD): Likewise.
10034 (ROUND_RESTORE_): Likewise.
10035 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
10036 (ROUND_RESTORE_FE_TONEAREST): Likewise.
10037 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
10038 (ROUND_RESTORE_FE_UPWARD): Likewise.
10039 (RUN_TEST_LOOP_f_f): New macro.
10040 (acos_test_data): New variable.
10041 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
10042 (acos_tonearest_test_data): New variable.
10043 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10044
5c637fe5
SP
100452013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10046
10047 * benchtests/bench-skeleton.c (startup): Fix coding style.
10048
ab2b9461
JM
100492013-05-10 Joseph Myers <joseph@codesourcery.com>
10050
10051 [BZ #6809]
10052 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
10053 negative infinity argument.
10054 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
10055 negative infinity argument.
10056 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
10057 negative infinity argument.
10058 * math/libm-test.inc (tgamma_test): Expect errno to be set for
10059 domain errors.
10060
4c0fe6fe
FW
100612013-05-10 Florian Weimer <fweimer@redhat.com>
10062
10063 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
10064 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
10065 * iconv/iconv_prog.c (main): Likewise.
10066 * locale/programs/charmap-dir.c (charmap_readdir)
10067 (fopen_uncompressed): Likewise.
10068 * locale/programs/locfile.c (siblings_uncached)
10069 (write_locale_data): Use lstat64 instead of lstat.
10070 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
10071 stat.
10072
a3375d29
AJ
100732013-05-10 Andreas Jaeger <aj@suse.de>
10074
10075 [BZ #15395]
10076 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
10077 localization.
10078 Include <locale.h>.
10079
36129722
CD
100802013-05-09 Carlos O'Donell <carlos@redhat.com>
10081
10082 * elf/dl-close.c (_dl_close_worker): Add comments.
10083
faa7f811
JM
100842013-05-09 Joseph Myers <joseph@codesourcery.com>
10085
ed41ffef
JM
10086 [BZ #15359]
10087 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
10088 high part of pi/2.
10089 (__ieee754_rem_pio2l): Update comments.
10090
d0213cd0
JM
10091 [BZ #15429]
10092 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
10093 high part of pi/2.
10094 (__ieee754_rem_pio2l): Update comments.
10095
0d3e777a
JM
10096 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
10097 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
10098
24f56066
JM
10099 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
10100 M_PI_4l.
10101
faa7f811
JM
10102 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
10103 (M_PI_34_LOG10El): Likewise.
10104 (M_PI2_LOG10El): Likewise.
10105 (M_PI4_LOG10El): Likewise.
10106 (M_PI_LOG10El): Likewise.
10107
e9a5e0fd
AZ
101082013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10109
10110 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10111
d8cd06db
JM
101122013-05-08 Joseph Myers <joseph@codesourcery.com>
10113
a0d9f9d7
JM
10114 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
10115 (MINUS_ZERO_INIT): Likewise.
10116 (PLUS_INFTY_INIT): Likewise.
10117 (MINUS_INFTY_INIT): Likewise.
10118 (QNAN_VALUE_INIT): Likewise.
10119 (MAX_VALUE_INIT): Likewise.
10120 (MIN_VALUE_INIT): Likewise.
10121 (MIN_SUBNORM_VALUE_INIT): Likewise.
10122 (plus_zero): Initialize with PLUS_ZERO_INIT.
10123 (minus_zero): Initialize with MINUS_ZERO_INIT.
10124 (plus_infty): Initialize with PLUS_INFTY_INIT.
10125 (minus_infty): Initialize with MINUS_INFTY_INIT.
10126 (qnan_value): Initialize with QNAN_VALUE_INIT.
10127 (max_value): Initialize with MAX_VALUE_INIT.
10128 (min_value): Initialize with MIN_VALUE_INIT.
10129 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
10130
ae08db3b
JM
10131 * math/libm-test.inc (RUN_TEST_if_f): New macro.
10132 (jn_test): Use TEST_if_f instead of TEST_ff_f.
10133 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
10134 (yn_test): Use TEST_if_f instead of TEST_ff_f.
10135
f44bf14a
JM
10136 * math/libm-test.inc (RUN_TEST_f_f): New macro.
10137 (RUN_TEST_2_f): Likewise.
10138 (RUN_TEST_ff_f): Likewise.
10139 (RUN_TEST_fi_f): Likewise.
10140 (RUN_TEST_fl_f): Likewise.
10141 (RUN_TEST_fff_f): Likewise.
10142 (RUN_TEST_c_f): Likewise.
10143 (RUN_TEST_f_f1): Likewise.
10144 (RUN_TEST_fF_f1): Likewise.
10145 (RUN_TEST_fI_f1): Likewise.
10146 (RUN_TEST_ffI_f1): Likewise.
10147 (RUN_TEST_c_c): Likewise.
10148 (RUN_TEST_cc_c): Likewise.
10149 (RUN_TEST_f_i): Likewise.
10150 (RUN_TEST_f_i_tg): Likewise.
10151 (RUN_TEST_ff_i_tg): Likewise.
10152 (RUN_TEST_f_b): Likewise.
10153 (RUN_TEST_f_b_tg): Likewise.
10154 (RUN_TEST_f_l): Likewise.
10155 (RUN_TEST_f_L): Likewise.
10156 (RUN_TEST_sincos): Likewise.
10157 * math/gen-libm-test.pl (new_test): Take new argument to indicate
10158 whether to show exceptions. Do not include ");\n" in return
10159 value.
10160 (special_functions): Output call to RUN_TEST_sincos instead of
10161 check_float calls. Update calls to new_test.
10162 (parse_args): Output call to single RUN_TEST_* macro instead of
10163 check_* calls and other assignments. Update calls to new_test.
10164
d8cd06db
JM
10165 [BZ #2546]
10166 [BZ #2560]
10167 [BZ #5159]
10168 [BZ #15426]
10169 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
10170 input to result for tgamma overflow.
10171 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
10172 (gamma_coeff): New variable.
10173 (NCOEFF): New macro.
10174 (gamma_positive): New function.
10175 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
10176 underflow here. Use gamma_positive instead of exp (lgamma) for
10177 other arguments.
10178 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
10179 (gamma_coeff): New variable.
10180 (NCOEFF): New macro.
10181 (gammaf_positive): New function.
10182 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
10183 underflow here. Use gamma_positive instead of exp (lgamma) for
10184 other arguments.
10185 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
10186 (gamma_coeff): New variable.
10187 (NCOEFF): New macro.
10188 (gammal_positive): New function.
10189 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
10190 underflow here. Use gamma_positive instead of exp (lgamma) for
10191 other arguments.
10192 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
10193 (gamma_coeff): New variable.
10194 (NCOEFF): New macro.
10195 (gammal_positive): New function.
10196 (__ieee754_gammal_r): Handle positive infinity, overflow and
10197 underflow here. Handle NaN the same as positive infinity. Remove
10198 check x < 0xffffffff for negative integers. Use gamma_positive
10199 instead of exp (lgamma) for other arguments.
10200 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
10201 (gamma_coeff): New variable.
10202 (NCOEFF): New macro.
10203 (gammal_positive): New function.
10204 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
10205 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
10206 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
10207 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
10208 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
10209 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
10210 * sysdeps/generic/math_private.h (__gamma_productf): New
10211 prototype.
10212 (__gamma_product): Likewise.
10213 (__gamma_productl): Likewise.
10214 * math/Makefile (libm-calls): Add gamma_product.
10215 * math/libm-test.inc (tgamma_test): Add more tests.
10216 * sysdeps/i386/fpu/libm-test-ulps: Update.
10217 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10218
bb7cf681
OB
102192013-05-08 Ondřej Bílka <neleai@seznam.cz>
10220
10221 * benchtests/bench-skeleton.c (main): Preheat CPU.
10222
ba853947
AJ
102232013-05-07 Aurelien Jarno <aurelien@aurel32.net>
10224
10225 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
10226
8347c74c
RM
102272013-05-07 Roland McGrath <roland@hack.frob.com>
10228
10229 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
10230 and _dl_skip_args_internal.
10231
e8dd4791
CD
102322013-05-07 Carlos O'Donell <carlos@redhat.com>
10233
10234 * manual/message.texi (Message Translation): Talk about users.
10235 Message to key mapping impacts design.
10236
c7405830
RM
102372013-05-06 Roland McGrath <roland@hack.frob.com>
10238
a9173057
RM
10239 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
10240
976e2f03
RM
10241 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
10242
9723ffc5
RM
10243 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
10244 * sysdeps/wordsize-64/glob64.c: ... here.
10245
962e6658
RM
10246 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
10247 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
10248 New macros.
10249
ee586a6d
RM
10250 * debug/getlogin_r_chk.c: Moved to ...
10251 * login/getlogin_r_chk.c: ... here.
10252 * debug/Makefile (routines): Move getlogin_r_chk to ...
10253 * login/Makefile (routines): ... here.
10254 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
10255 * login/Versions (libc: GLIBC_2.4): ... here.
10256
355f9165
RM
10257 * io/poll.c (__poll): Renamed from poll.
10258 Add libc_hidden_def.
10259 (poll): Define as weak alias.
10260
bd9ffde6
RM
10261 * debug/ptsname_r_chk.c: Moved to ...
10262 * login/ptsname_r_chk.c: ... here.
10263 * debug/Makefile (routines): Move ptsname_r_chk to ...
10264 * login/Makefile (routines): ... here.
10265 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
10266 * login/Versions (libc: GLIBC_2.4): ... here.
10267
8fb16a04
RM
10268 * posix/getlogin.c: Moved to ...
10269 * login/getlogin.c: ... here.
10270 * posix/getlogin_r.c: Moved to ...
10271 * login/getlogin_r.c: ... here.
10272 * posix/getlogin_r.c: Moved to ...
10273 * login/getlogin_r.c: ... here.
10274 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
10275 * login/Makefile (routines): ... here.
10276 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
10277 * login/Versions (libc: GLIBC_2.0): ... here.
10278
b99b892f
RM
10279 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
10280 (setrlimit): Define as weak alias.
10281
c7405830
RM
10282 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
10283 Call __ names for open, ftruncate, and close.
10284 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
10285 (truncate): Define as weak alias.
10286
5bf96de5
JM
102872013-05-06 Joseph Myers <joseph@codesourcery.com>
10288
9ea3513c
JM
10289 * math/gen-libm-test.pl (parse_args): Initialize x before each
10290 test of frexp, modf and remquo.
10291
5bf96de5
JM
10292 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
10293 test signgam value.
10294
16e616a7
AZ
102952013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10296
10297 [BZ #15418]
10298 [BZ #15419]
10299 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
10300 internal tests.
10301 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10302
d5e82754
RM
103032013-05-06 Roland McGrath <roland@hack.frob.com>
10304
10305 * elf/dl-writev.h: New file.
10306 * elf/dl-misc.c: Include it.
10307 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
10308 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
10309
a7548d41
JM
103102013-05-04 Joseph Myers <joseph@codesourcery.com>
10311
b7dab1e4
JM
10312 * math/libm-test.inc (noXFails): Remove variable.
10313 (noXPasses): Likewise.
10314 (BUILD_COMPLEX_INT): Remove macro.
10315 (print_screen): Remove xfail argument.
10316 (print_screen_max_error): Likewise.
10317 (update_stats): Likewise.
10318 (print_max_error): Likewise. Update calls to other affected
10319 functions.
10320 (print_complex_max_error): Likewise.
10321 (test_single_exception): Update calls to print_screen.
10322 (test_single_errno): Likewise.
10323 (check_float_internal): Remove xfail argument. Update calls to
10324 other affected functions.
10325 (check_float): Likewise.
10326 (check_complex): Likewise.
10327 (check_int): Likewise.
10328 (check_long): Likewise.
10329 (check_bool): Likewise.
10330 (check_longlong): Likewise.
10331 (main): Don't print noXFails and noXPasses.
10332 * math/gen-libm-test.pl (top level): Don't mention expected
10333 failure handling in comment.
10334 (new_test): Don't handle expected failures.
10335 (parse_args): Don't mention expected failure handling in comment.
10336 (generate_testfile): Don't handle expected failures.
10337 (parse_ulps): Likewise.
10338 (print_ulps_file): Likewise.
10339 (get_failure): Remove function.
10340 (output_test): Don't handle expected failures.
10341 * make/README.libm-test: Don't mention expected failure handling.
10342
a7548d41
JM
10343 * math/libm-test.inc (plus_zero): Make const. Add initializer.
10344 (minus_zero): Likewise.
10345 (plus_infty): Likewise.
10346 (minus_infty): Likewise.
10347 (qnan_value): Likewise.
10348 (max_value): Likewise.
10349 (min_value): Likewise.
10350 (min_subnorm_value): Likewise.
10351 (initialize): Do not initialize those variables dynamically.
10352
60bfd54c
RM
103532013-05-03 Roland McGrath <roland@hack.frob.com>
10354
cc0e6ed8
RM
10355 * io/open.c (__open_2): Moved to ...
10356 * io/open_2.c: ... this new file.
10357 * io/open64.c (__open64_2): Moved to ...
10358 * io/open64_2.c: ... this new file.
10359 * io/openat.c (__openat_2): Moved to ...
10360 * io/openat_2.c: ... this new file.
10361 * io/openat64.c (__openat64_2): Moved to ...
10362 * io/openat64_2.c: ... this new file.
10363 * io/Makefile (routines): Add them.
10364 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
10365 * sysdeps/unix/sysv/linux/open_2.c: File removed.
10366 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
10367 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
10368 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
10369 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
10370 (__openat64): Add hidden_ver.
10371 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
10372 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
10373
60bfd54c
RM
10374 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
10375 Separately conditionalize setting of GLRO(dl_sysinfo) so
10376 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
10377 as well, but the actual setting is only under [NEED_DL_SYSINFO].
10378
83e7640f
AZ
103792013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10380
10381 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
10382 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
10383 definition.
10384 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
10385 * sysdeps/unix/sysv/linux/powerpc/init-first.c
10386 (_libc_vdso_platform_setup): Add __vdso_time initialization.
10387 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
10388 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
10389
d5dc2af3
JM
103902013-05-03 Joseph Myers <joseph@codesourcery.com>
10391
c31a5b1e
JM
10392 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
10393 test signgam value.
10394
d5dc2af3
JM
10395 * math/libm-test.inc (hypot_test): Do not use
10396 IGNORE_ZERO_INF_SIGN.
10397
164fd39d
AJ
103982013-05-03 Andreas Jaeger <aj@suse.de>
10399
10400 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
10401 Linux 3.9.
10402 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
10403 (PF_MAX): Adjust for VSOCK change.
10404
8237f48c
AZ
104052013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10406
10407 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10408
9df02941
CD
104092013-05-02 Carlos O'Donell <carlos@redhat.com>
10410
10411 [BZ #15264]
10412 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
10413 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
10414 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
10415
d422395e
DM
104162013-05-02 David S. Miller <davem@davemloft.net>
10417
10418 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10419
a07c5731
OB
104202013-05-01 Ondřej Bílka <neleai@seznam.cz>
10421
10422 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
10423
1324e37f
RM
104242013-05-01 Roland McGrath <roland@hack.frob.com>
10425
10426 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
10427
0695940b
RS
104282013-05-01 Richard Smith <richard@metafoo.co.uk>
10429
bb5f27ad 10430 [BZ #14952]
0695940b
RS
10431 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
10432 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
10433 Use __attribute__ ((__gnu_inline__)).
10434 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
10435 Don't use __attribute__ ((__gnu_inline__)).
10436
10de07f5
JM
104372013-05-01 Joseph Myers <joseph@codesourcery.com>
10438
10439 [BZ #15423]
10440 * math/s_catan.c (__catan): Handle small real or imaginary part of
10441 input specially to avoid spurious underflow.
10442 * math/s_catanf.c (__catanf): Likewise.
10443 * math/s_catanh.c (__catanh): Likewise.
10444 * math/s_catanhf.c (__catanhf): Likewise.
10445 * math/s_catanhl.c (__catanhl): Likewise.
10446 * math/s_catanl.c (__catanl): Likewise.
10447 * math/libm-test.inc (catan_test): Add more tests.
10448 (catanh_test): Likewise.
10449 * sysdeps/i386/fpu/libm-test-ulps: Update.
10450 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10451
cb4d5414
AZ
104522013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10453
10454 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10455
caf84319
JM
104562013-04-30 Joseph Myers <joseph@codesourcery.com>
10457
10458 [BZ #15416]
10459 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
10460 accurately for denominator in atan2.
10461 * math/s_catanf.c (__catanf): Likewise.
10462 * math/s_catanh.c (__catanh): Likewise.
10463 * math/s_catanhf.c (__catanhf): Likewise.
10464 * math/s_catanhl.c (__catanhl): Likewise.
10465 * math/s_catanl.c (__catanl): Likewise.
10466 * math/libm-test.inc (catan_test): Add more tests.
10467 (catanh_test): Likewise.
10468 * sysdeps/i386/fpu/libm-test-ulps: Update.
10469 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10470
d569c6ee
SP
104712013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10472
6dbe713d
SP
10473 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
10474
f0ee064b
SP
10475 * benchtests/Makefile (bench): Remove slow benchmarks.
10476 * benchtests/atan-inputs: Add slow benchmark inputs.
10477 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
10478 (BENCH_FUNC): Accept variant offset.
10479 (VARIANT): Define.
10480 * benchtests/bench-skeleton.c (main): Run benchmark for each
10481 variant.
10482 * benchtests/cos-inputs: Add slow benchmark inputs.
10483 * benchtests/exp-inputs: Likewise.
10484 * benchtests/pow-inputs: Likewise.
10485 * benchtests/sin-inputs: Likewise.
10486 * benchtests/slowatan-inputs: Remove.
10487 * benchtests/slowatan.c: Remove.
10488 * benchtests/slowcos-inputs: Remove.
10489 * benchtests/slowcos.c: Remove.
10490 * benchtests/slowexp-inputs: Remove.
10491 * benchtests/slowexp.c: Remove.
10492 * benchtests/slowpow-inputs: Remove.
10493 * benchtests/slowpow.c: Remove.
10494 * benchtests/slowsin-inputs: Remove.
10495 * benchtests/slowsin.c: Remove.
10496 * benchtests/slowtan-inputs: Remove.
10497 * benchtests/slowtan.c: Remove.
10498 * benchtests/tan-inputs: Add slow benchmark inputs.
10499 * scripts/bench.pl: Parse comments and directives.
10500
d569c6ee
SP
10501 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
10502 in CPPFLAGS.
10503 ($(objpfx)bench-%.c): Remove *-ITER.
10504 * benchtests/bench-modf.c: Remove definition of ITER.
10505 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
10506 (main): Loop for DURATION seconds instead of fixed number of
10507 iterations.
10508 * scripts/bench.pl: Don't expect iterations in parameters.
10509
a6a242fe
RM
105102013-04-29 Roland McGrath <roland@hack.frob.com>
10511
10512 * io/fchdir.c (__fchdir): Renamed from fchdir.
10513 (fchdir): Define as weak alias.
10514
f2da7793
JM
105152013-04-29 Joseph Myers <joseph@codesourcery.com>
10516
10517 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
10518 (ERRNO_EDOM): Likewise.
10519 (ERRNO_ERANGE): Likewise.
10520 (noErrnoTests): New variable.
10521 (init_max_error): Set errno to 0.
10522 (test_single_errno): New function.
10523 (test_errno): Likewise.
10524 (check_float_internal): Call test_errno. Set errno to 0.
10525 (check_complex): Refer to errno tests in comment.
10526 (check_int): Call test_errno. Set errno to 0.
10527 (check_long): Likewise.
10528 (check_bool): Likewise.
10529 (check_longlong): Likewise.
10530 (cos_test): Use ERRNO_* flags for errno tests instead of
10531 check_int.
10532 (expm1_test): Likewise.
10533 (fmod_test): Likewise.
10534 (ilogb_test): Likewise.
10535 (lgamma_test): Likewise.
10536 (pow_test): Likewise.
10537 (remainder_test): Likewise.
10538 (sin_test): Likewise.
10539 (tan_test): Likewise.
10540 (yn_test): Likewise.
10541 (initialize): Set errno to 0.
10542 (main): Print number of errno tests.
10543 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
10544
b1a36ceb
AJ
105452013-04-29 Andreas Jaeger <aj@suse.de>
10546
c3ed8088
AJ
10547 [BZ #15084]
10548 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
10549 and RES_USEVC.
10550
f1a24198
AJ
10551 [BZ #15085]
10552 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
10553 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
10554 unimplemented.
10555
9ce3b2cb
AJ
10556 [BZ #15380]
10557 * stdlib/random.c (__initstate): Return NULL if
10558 __initstate fails.
10559
f1a24198 10560 [BZ #15086]
b1a36ceb
AJ
10561 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
10562 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
10563 RES_SNGLKUPREOP.
10564
7e7b6f36
AZ
105652013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10566
10567 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10568
4d14f449
JM
105692013-04-29 Joseph Myers <joseph@codesourcery.com>
10570
10571 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
10572 of individual tests.
10573 (casin_test): Likewise.
10574 (casinh_test): Likewise.
10575
5b4217d7
JM
105762013-04-27 Joseph Myers <joseph@codesourcery.com>
10577
10578 [BZ #15409]
10579 * math/s_catan.c (__catan): Handle arguments with large real or
10580 imaginary part separately without squaring.
10581 * math/s_catanf.c (__catanf): Likewise.
10582 * math/s_catanh.c (__catanh): Likewise.
10583 * math/s_catanhf.c (__catanhf): Likewise.
10584 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10585 and redefine.
10586 (__catanhl): Handle arguments with large real or imaginary part
10587 separately without squaring.
10588 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10589 and redefine.
10590 (__catanl): Handle arguments with large real or imaginary part
10591 separately without squaring.
10592 * math/libm-test.inc (catan_test): Add more tests.
10593 (catanh_test): Likewise.
10594 * sysdeps/i386/fpu/libm-test-ulps: Update.
10595 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10596
4220c3ef
AJ
105972013-04-27 Andreas Jaeger <aj@suse.de>
10598
10599 [BZ #15007]
10600 * stdlib/stdlib.h: Update guards for qecvt.
10601 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
10602 <stdlib.h>.
10603
4721b2d1
AM
106042013-04-27 Allan McRae <allan@archlinux.org>
10605
10606 * sysdeps/i386/fpu/libm-test-ulps: Update.
10607
f0302940
JM
106082013-04-26 Joseph Myers <joseph@codesourcery.com>
10609
9457fd95
JM
10610 [BZ #15406]
10611 * math/s_catan.c: Include <float.h>.
10612 (__catan): Ensure underflow exception occurs for underflowed
10613 result.
10614 * math/s_catanf.c: Include <float.h>.
10615 (__catanf): Ensure underflow exception occurs for underflowed
10616 result.
10617 * math/s_catanh.c: Include <float.h>.
10618 (__catanh): Ensure underflow exception occurs for underflowed
10619 result.
10620 * math/s_catanhf.c: Include <float.h>.
10621 (__catanhf): Ensure underflow exception occurs for underflowed
10622 result.
10623 * math/s_catanhl.c: Include <float.h>.
10624 (__catanhl): Ensure underflow exception occurs for underflowed
10625 result.
10626 * math/s_catanl.c: Include <float.h>.
10627 (__catanl): Ensure underflow exception occurs for underflowed
10628 result.
10629 * math/libm-test.inc (catan_test): Add more tests.
10630 (catanh_test): Likewise.
10631
f0302940
JM
10632 [BZ #15405]
10633 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
10634 underflowed result.
10635 * math/s_ccoshf.c (__ccoshf): Likewise.
10636 * math/s_ccoshl.c (__ccoshl): Likewise.
10637 * math/s_csin.c (__csin): Likewise.
10638 * math/s_csinf.c (__csinf): Likewise.
10639 * math/s_csinh.c (__csinh): Likewise.
10640 * math/s_csinhf.c (__csinhf): Likewise.
10641 * math/s_csinhl.c (__csinhl): Likewise.
10642 * math/s_csinl.c (__csinl): Likewise.
10643 * math/libm-test.inc (ccos_test): Add more tests.
10644 (ccosh_test): Likewise.
10645 (csin_test): Likewise.
10646 (csinh_test): Likewise.
10647
aa630f59
AZ
106482013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10649
10650 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
10651 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
10652 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
10653 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
10654 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
10655 powerpc/power5+/fpu folders.
10656 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
10657
10658
1b835983
MT
106592013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
10660
10661 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10662
73709b26
JM
106632013-04-25 Joseph Myers <joseph@codesourcery.com>
10664
10665 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
10666 additions to variable.
10667 [$(config-machine) = x86_64] (modules-names): Likewise.
10668 ($(objpfx)tst-audit3): Remove dependency.
10669 ($(objpfx)tst-audit3.out): Likewise.
10670 ($(objpfx)tst-audit4): Likewise.
10671 ($(objpfx)tst-audit4.out): Likewise.
10672 ($(objpfx)tst-audit5): Likewise.
10673 ($(objpfx)tst-audit5.out): Likewise.
10674 ($(objpfx)tst-audit6): Likewise.
10675 ($(objpfx)tst-audit6.out): Likewise.
10676 ($(objpfx)tst-audit7): Likewise.
10677 ($(objpfx)tst-audit7.out): Likewise.
10678 (tst-audit3-ENV): Remove variable.
10679 (tst-audit4-ENV): Likewise.
10680 (tst-audit5-ENV): Likewise.
10681 (tst-audit6-ENV): Likewise.
10682 (tst-audit7-ENV): Likewise.
10683 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
10684 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
10685 addition to variable.
10686 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
10687 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
10688 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
10689 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
10690 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
10691 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
10692 tst-audit3, tst-audit4 and tst-audit5.
10693 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
10694 tst-audit6 and tst-audit7.
10695 [$(subdir) = elf] (modules-names): Add audit modules for those
10696 tests.
10697 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
10698 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
10699 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
10700 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
10701 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
10702 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
10703 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
10704 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
10705 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
10706 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
10707 [$(subdir) = elf] (tst-audit3-ENV): New variable.
10708 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
10709 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
10710 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
10711 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
10712 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
10713 Likewise.
10714 [$(subdir) = elf && $(config-cflags-avx) = yes]
10715 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
10716 [$(subdir) = elf && $(config-cflags-avx) = yes]
10717 (CFLAGS-tst-auditmod4a.c): Likewise.
10718 [$(subdir) = elf && $(config-cflags-avx) = yes]
10719 (CFLAGS-tst-auditmod4b.c): Likewise.
10720 [$(subdir) = elf && $(config-cflags-avx) = yes]
10721 (CFLAGS-tst-auditmod6b.c): Likewise.
10722 [$(subdir) = elf && $(config-cflags-avx) = yes]
10723 (CFLAGS-tst-auditmod6c.c): Likewise.
10724 [$(subdir) = elf && $(config-cflags-avx) = yes]
10725 (CFLAGS-tst-auditmod7b.c): Likewise.
10726 * elf/tst-audit3.c: Move to ...
10727 * sysdeps/x86_64/tst-audit3.c: ... here.
10728 * elf/tst-audit4.c: Move to ...
10729 * sysdeps/x86_64/tst-audit4.c: ... here.
10730 * elf/tst-audit5.c: Move to ...
10731 * sysdeps/x86_64/tst-audit5.c: ... here.
10732 * elf/tst-audit6.c: Move to ...
10733 * sysdeps/x86_64/tst-audit6.c: ... here.
10734 * elf/tst-audit7.c: Move to ...
10735 * sysdeps/x86_64/tst-audit7.c: ... here.
10736 * elf/tst-auditmod3a.c: Move to ...
10737 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
10738 * elf/tst-auditmod3b.c: Move to ...
10739 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
10740 * elf/tst-auditmod4a.c: Move to ...
10741 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
10742 * elf/tst-auditmod4b.c: Move to ...
10743 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
10744 * elf/tst-auditmod5a.c: Move to ...
10745 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
10746 * elf/tst-auditmod5b.c: Move to ...
10747 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
10748 * elf/tst-auditmod6a.c: Move to ...
10749 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
10750 * elf/tst-auditmod6b.c: Move to ...
10751 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
10752 * elf/tst-auditmod6c.c: Move to ...
10753 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
10754 * elf/tst-auditmod7a.c: Move to ...
10755 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
10756 * elf/tst-auditmod7b.c: Move to ...
10757 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
10758
1ef74943
PP
107592013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
10760
10761 [BZ #15366]
10762 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
10763 define unconditionally.
10764 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
10765 define unconditionally.
10766 (INT8_C, INT16_C, etc.): Likewise.
10767
93fd48c5
MR
107682013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
10769
ae9552cf
MR
10770 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
10771 __ehdr_start with hidden visibility.
10772
93fd48c5
MR
10773 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
10774
418601aa
CD
107752013-04-24 Carlos O'Donell <carlos@redhat.com>
10776
10777 * math/libm-test.inc (cos_test): Use accurate hex constants.
10778 (sincost_test): Likewise.
10779
2f38fbfe
JM
107802013-04-24 Joseph Myers <joseph@codesourcery.com>
10781
5e221800
JM
10782 * math/libm-test.inc (catan_test): Add more tests.
10783 (catanh_test): Likewise.
10784
77f143fd
JM
10785 * math/s_catanf.c (__catanf): Use suffixed floating-point
10786 constants.
10787 * math/s_catanhf.c (__catanhf): Likewise.
10788 * math/s_catanhl.c (__catanhl): Likewise.
10789 * math/s_catanl.c (__catanl): Likewise.
10790
2f38fbfe
JM
10791 [BZ #15394]
10792 * math/s_catan.c (__catan): Calculate imaginary part of result
10793 with log1p not log unless computing log of number close to 0.
10794 * math/s_catanf.c (__catanf): Likewise.
10795 * math/s_catanl.c (__catanl): Likewise.
10796 * math/s_catanh.c (__catanh): Calculate real part of result with
10797 log1p not log unless computing log of number close to 0.
10798 * math/s_catanhf.c (__catanhf): Likewise.
10799 * math/s_catanhl.c (__catanhl): Likewise.
10800 * math/libm-test.inc (catan_test): Add more tests.
10801 (catanh_test): Likewise.
10802 * sysdeps/i386/fpu/libm-test-ulps: Update.
10803 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10804
45d69176
SP
108052013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10806
10807 * benchtests/Makefile: Mention files in which fast and slow
10808 paths of math functions are implemented.
10809
87f51853
RM
108102013-04-23 Roland McGrath <roland@hack.frob.com>
10811
10812 * sysdeps/posix/timespec_get.c: New file.
10813
3c026539
AZ
108142013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10815
10816 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
10817 POWER.
10818 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
10819 for POWER.
10820 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
10821 powerpc/power5/fpu folders.
10822 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
10823 * benchtests/Makefile: Add modf testcase.
10824 * benchtests/bench-modf.c: New file: Benchmark test for mo
10825
ff491d14
SP
108262013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10827
10828 [BZ #14888]
10829 * time/Makefile (tests): Add tst-strptime-whitespace.
10830 * time/strptime_l.c (get_number): Use ISSPACE.
10831 (__strptime_internal): Likewise.
10832 * time/tst-strptime-whitespace.c: New test case.
10833
7ed3f4e8
AS
108342013-04-23 Andreas Schwab <schwab@linux-m68k.org>
10835
10836 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
10837 member.
10838 (_nss_files_init): Set it here.
10839
5c95f7b6
HC
108402013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
10841
10842 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
10843 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
10844 unsigned.
10845
d34c9158
JBG
108462013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
10847
10848 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
10849
2169712d
SP
108502013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10851
10852 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
10853 size just once.
10854
29c5de99
DM
108552013-04-21 David S. Miller <davem@davemloft.net>
10856
10857 * po/ru.po: Update Russion translation from translation project.
10858
ccdad15d
AC
108592013-04-17 Adam Conrad <adconrad@0c3.net>
10860
10861 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
10862 and setfsgid.
10863
0f122b8d
CD
108642013-04-17 Carlos O'Donell <carlos@redhat.com>
10865
5c5b07da 10866 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 10867 * configure: Regenerate.
5c5b07da 10868 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
10869 Add example to error message.
10870 * sysdeps/i386/configure: Regenerate.
10871
037714dd
SP
108722013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10873
10874 * benchtests/Makefile (bench): Add cos, tan, slowcos and
10875 slowtan.
10876 * benchtests/cos-inputs: New file.
10877 * benchtests/slowcos-inputs: New file.
10878 * benchtests/slowcos.c: New file.
10879 * benchtests/slowtan-inputs: New file.
10880 * benchtests/slowtan.c: New file.
10881 * benchtests/tan-inputs: New file.
10882
e913141d
RM
108832013-04-16 Roland McGrath <roland@hack.frob.com>
10884
10885 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
10886 considered kosher.
10887
a2964074
SP
108882013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10889
4856bcd2
SP
10890 * benchtests/Makefile: Include cppflags-iterator.mk to add
10891 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
10892
a2964074
SP
10893 * Makefile.in (bench-clean): New target.
10894 * benchtests/Makefile (bench-clean): Likewise.
10895
9fbf9aca
DH
108962013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
10897
10898 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
10899
207d1e2a
TS
109002013-04-15 Thomas Schwinge <thomas@codesourcery.com>
10901
10902 * stdio-common/tstdiomisc.c: Fix coding-style violation.
10903
306dfba9
AS
109042013-04-15 Andreas Schwab <schwab@suse.de>
10905
10906 * nscd/grpcache.c (cache_addgr): Properly check for short write.
10907 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10908 * nscd/pwdcache.c (cache_addpw): Likewise.
10909 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
10910 more than recsize.
10911
206a6699
SP
109122013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10913
10914 * benchtests/Makefile (bench): Write all output to
10915 bench-out.tmp together.
10916
0582f6b3
AS
109172013-04-15 Andreas Schwab <schwab@suse.de>
10918
10919 * nscd/nscd.c (main): Don't fork again after closing files.
10920
acb4325f
SP
109212013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10922
5cb26d0a
SP
10923 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
10924
acb4325f
SP
10925 * benchtests/Rules (bench-deps): Collect dependencies into a
10926 single variable. Add Makefile to dependencies.
10927 ($(objpfx)bench-%.c): Depend on bench-deps.
10928
47792506
RM
109292013-04-12 Roland McGrath <roland@hack.frob.com>
10930 Xavier Roche <roche+kml2@exalead.com>
10931
10932 [BZ #15361]
10933 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
10934 just that it's a file descriptor.
10935 * manual/llio.texi (Synchronizing AIO Operations): Update description
10936 for EBADF error from aio_fsync.
10937
8fc1bee5
SP
109382013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10939
10940 * Rules (bench): Move target definition...
10941 * benchtests/Makefile: ... here.
10942
aba5e333
CD
109432013-04-11 Carlos O'Donell <carlos@redhat.com>
10944
10945 * math/libm-test.inc (cos_test): Fix PI/2 test.
10946 (sincos_test): Likewise.
10947 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
10948 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
10949
273cdee8
AS
109502013-04-11 Andreas Schwab <schwab@suse.de>
10951
6ecec3b6
AS
10952 [BZ #13988]
10953 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
10954 accept exponent character only when digits were seen.
10955 * stdio-common/Makefile (tests): Add bug26.
10956 * stdio-common/bug26.c: New file.
10957
273cdee8
AS
10958 [BZ #14293]
10959 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
10960 non-freeable.
10961
8da491f5
SP
109622013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10963
01dc6df9
SP
10964 * Makeconfig (rtld-prefix): Define built linker prefix.
10965 * Rules (run-bench): Use it.
10966 * math/Makefile (run-regen-ulps): Likewise.
10967
8da491f5
SP
10968 * Rules (bench): Remove eval.
10969
abe7f530
SP
109702013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10971 Roland McGrath <roland@hack.frob.com>
10972 Ondrej Bilka <neleai@seznam.cz>
10973
10974 [BZ #15346]
10975 * time/getdate.c: Include ctype.h and alloca.h.
10976 (__getdate_r): Trim leading and trailing spaces of input.
10977 * time/tst-getdate.c (tests): Add tests with leading and
10978 trailing spaces.
10979
61c23e62
RM
109802013-04-08 Roland McGrath <roland@hack.frob.com>
10981
10982 [BZ #14280]
10983 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
10984 when computing value.
10985
7208a313
CD
109862013-04-06 Carlos O'Donell <carlos@redhat.com>
10987
085b2d41
CD
10988 * math/README.libm-test (How can I generate "libm-test-ulps"?):
10989 Use testrun.sh to run libm tests.
10990
7208a313
CD
10991 [BZ #15309]
10992 * elf/dl-open.c (dl_open_worker): memset all of seen array.
10993
872c0acd
MM
109942013-04-06 Marko Myllynen <myllynen@redhat.com>
10995
10996 [BZ #15264]
10997 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
10998
26510bdd
CD
109992013-04-06 Carlos O'Donell <carlos@redhat.com>
11000
11001 * Makefile.in (regen-ulps): New target.
11002 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
11003 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
11004 [ifneq (no,$(PERL)] (regen-ulps): New target.
11005 [ifeq (no,$(PERL)] (regen-ulps): New target.
11006 * math/libm-test.inc (ulps_file_name): Define.
11007 (output_dir): New variable.
11008 (options): Add "output-dir" option.
11009 (parse_opt): Handle 'o' case.
11010 (main): If output_dir is non-NULL use it as a prefix
11011 otherwise use "".
11012 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
11013
a01f19c8
CD
110142013-04-06 Carlos O'Donell <carlos@redhat.com>
11015
11016 [BZ #10060, #10062]
11017 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
11018 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
11019 fail configure if __sync_val_compare_and_swap is not inlined.
11020 * sysdeps/i386/configure: Regenerate.
11021 * configure.in: Build for i686 when configured for i386.
11022 * configure: Regenerate.
11023 * README: Remove i386 reference.
11024
b7a329a5
CD
110252013-04-06 Carlos O'Donell <carlos@redhat.com>
11026
11027 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
11028 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11029
bf0f50df
TS
110302013-04-05 Thomas Schwinge <thomas@codesourcery.com>
11031
ee091edf
TS
11032 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
11033 (lmsnanval): New variables.
11034 (F): Add conversion tests.
11035 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
11036 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
11037
a8b792d6
TS
11038 * stdio-common/tstdiomisc.c (F): Properly collect individual
11039 tests' results.
11040
a1cbf437
TS
11041 [BZ #14686, #15336]
11042 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
11043 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
11044 Instead, use input NaN values or generate a qNaN by arithmetic
11045 operation. Also fix bugs to comply with the standard.
11046 * math/libm-test.inc (remainder_test): Add more tests.
11047
8b43a0c9
TS
11048 [BZ #15335, #15342]
11049 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
11050 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
11051 input NaN values or generate a qNaN by arithmetic operation.
11052
d91da4ce
TS
11053 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
11054 unreachable code.
11055
bf0f50df
TS
11056 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
11057 definitions.
11058
05e166c8
JM
110592013-04-03 Joseph Myers <joseph@codesourcery.com>
11060
11061 [BZ #14478]
11062 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
11063 underflowed result.
11064 * math/s_cexpf.c (__cexpf): Likewise.
11065 * math/s_cexpl.c (__cexpl): Likewise.
11066 * math/libm-test.inc (cexp_test): Add more tests.
11067
1cef1b19
AS
110682013-04-03 Andreas Schwab <schwab@suse.de>
11069
11070 [BZ #15330]
11071 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
11072 order arrays from heap if bigger than alloca cutoff.
11073
74d87055
TS
110742013-04-03 Thomas Schwinge <thomas@codesourcery.com>
11075
11076 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
11077 (SNAN_TESTS_double): Refer to GCC PR56831.
11078 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
11079 GCC PR56828.
11080
d755bba4
SP
110812013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
11082
90d5d5bb
SP
11083 * Rules (bench): Move bench.out after the run is complete.
11084
73e0cd5d
SP
11085 * Rules (bench): Echo currently running benchmark.
11086
64aabd4b
SP
11087 * benchtests/Makefile (bench): Add atan and slowatan.
11088 * benchtests/atan-inputs: New file.
11089 * benchtests/slowatan-inputs: New file.
11090 * benchtests/slowatan.c: New file.
11091
c871eccd
SP
11092 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
11093 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
11094 its value.
11095
d755bba4
SP
11096 [BZ #15305]
11097 * sysdeps/unix/sysv/linux/kernel-features.h
11098 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
11099 __ASSUME_XFS_RESTRICTED_CHOWN.
11100 * sysdeps/unix/sysv/linux/pathconf.c
11101 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
11102 Save and restore errno.
11103
52ce4860
JM
111042013-04-02 Joseph Myers <joseph@codesourcery.com>
11105
11106 [BZ #15327]
11107 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
11108 arguments using __kernel_casinh.
11109 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
11110 arguments using __kernel_casinhf.
11111 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
11112 arguments using __kernel_casinhl.
11113 * math/libm-test.inc (cacosh_test): Add more tests.
11114 * sysdeps/i386/fpu/libm-test-ulps: Update.
11115 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11116
81f311c2
SP
111172013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11118
e7906a47
SP
11119 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
11120 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
11121
92e3664b
SP
11122 * bench/Makefile (bench): Add sin and slowsin.
11123 * benchtests/sin-inputs: New file.
11124 * benchtests/slowsin-inputs: New file.
11125 * benchtests/slowsin.c: New file.
11126
81f311c2
SP
11127 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
11128 (bench): Add slowexp and slowpow.
11129 (exp-ITER): Increase iterations.
11130 (pow-ITER): Likewise.
11131 * benchtests/exp-inputs: Change input.
11132 * benchtests/pow-inputs: Likewise.
11133 * benchtests/slowexp-inputs: New file.
11134 * benchtests/slowexp.c: New file.
11135 * benchtests/slowpow-inputs: New file.
11136 * benchtests/slowpow.c: New file.
11137
ab0f1aa9
AZ
111382013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11139
11140 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
11141 instructions.
11142 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
11143 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
11144 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
11145 * benchtests/Makefile: Add rint benchtest.
11146 * benchtests/rint-inputs: Input for rint benchtest.
11147
57267616
TS
111482013-04-02 Thomas Schwinge <thomas@codesourcery.com>
11149
11150 * Versions.def (libm): Add GLIBC_2.18.
11151 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
11152 hidden libm prototypes.
11153 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
11154 * math/Makefile (libm-calls): Add s_issignaling.
11155 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
11156 __issignalingf, __issignalingl. Adjust all libm.abilist files.
11157 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
11158 declaration.
11159 * math/math.h [__USE_GNU] (issignaling): New macro.
11160 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
11161 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
11162 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
11163 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
11164 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
11165 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
11166 * manual/arith.texi (issignaling): New section.
11167 * manual/libm-err-tab.pl (@all_functions): Update comment.
11168 * math/gen-libm-test.pl (parse_args): Apply special handling for
11169 issignaling.
11170 * math/libm-test.inc (print_float, issignaling_test): New
11171 functions.
11172 (check_float_internal): Add issignaling checks.
11173 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
11174 default definition.
11175 * sysdeps/powerpc/math-tests.h: New file.
11176 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
11177 tests.
11178 * math/test-snan.c (TEST_FUNC): Likewise.
11179
6142896d
DM
111802013-03-30 David S. Miller <davem@davemloft.net>
11181
11182 * po/de.po: Update from translation team.
11183
ccc8cadf
JM
111842013-03-30 Joseph Myers <joseph@codesourcery.com>
11185
11186 [BZ #10357]
11187 * math/k_casinh.c (__kernel_casinh): Handle arguments with
11188 imaginary part less than 1.0 and real part less than 0.5
11189 specially.
11190 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11191 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11192 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
11193 (cacos_test): Add more tests.
11194 (casin_test): Likewise.
11195 (casinh_test): Likewise.
11196 * sysdeps/i386/fpu/libm-test-ulps: Update.
11197 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11198
0f6a8d4b
SP
111992013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11200
0d1029de
SP
11201 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
11202 ONE with its value.
11203
c2d94018
SP
11204 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
11205 (__pow_mp): Replace ONE and MONE with their values.
11206 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11207 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
11208 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11209 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
11210 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11211 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11212
27ec37f1
SP
11213 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
11214
a64d7e0e
SP
11215 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
11216 (__pow_mp): Replace ZERO and MZERO with their values.
11217 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
11218 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11219 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11220 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11221 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11222 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
11223 (__sqr): Likewise.
11224
d26dd3eb
SP
11225 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
11226
0f6a8d4b
SP
11227 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
11228
e57b0c61
RM
112292013-03-28 Roland McGrath <roland@hack.frob.com>
11230
11231 * include/stdlib.h [!SHARED] (__call_tls_dtors):
11232 Declare with __attribute__ ((weak)).
11233 * stdlib/exit.c (__libc_atexit) [!SHARED]:
11234 Call __call_tls_dtors only if it's not NULL.
11235
356b3480
RM
112362013-03-28 Roland McGrath <roland@hack.frob.com>
11237
288f7d79
RM
11238 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
11239 didn't do it already, then set _dl_phdr and _dl_phnum based on the
11240 magic __ehdr_start linker symbol if it's defined.
11241 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
11242 them up here if it was already done.
11243
dc0a0263
RM
11244 * elf/dl-support.c (_dl_phdr): Make pointer to const.
11245 (_dl_aux_init): Use const in cast when setting it.
11246 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
11247 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
11248 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
11249
3d3436ae
RM
11250 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
11251 Declare them here.
11252 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
11253 * csu/libc-tls.c: Nor here.
11254 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
11255
356b3480
RM
11256 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
11257 (__libc_message): Never call vsyslog.
11258
b0f1246a
AM
112592013-03-28 Alan Modra <amodra@gmail.com>
11260
11261 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
11262 Define as empty.
11263 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
11264 Likewise.
11265
fbbe2b9a
AZ
112662013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11267
11268 [BZ #15214]
11269 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
11270 underflow.
11271 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11272
1728ab37
SP
112732013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11274
7a86be6e
SP
11275 [BZ #15304]
11276 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
11277 Don't add gid passed as argument.
11278
1728ab37
SP
11279 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
11280
3a7182a1
JM
112812013-03-27 Joseph Myers <joseph@codesourcery.com>
11282
11283 [BZ #15307]
11284 * math/k_casinh.c (__kernel_casinh): Handle arguments with
11285 imaginary part between 1.0 and 1.5 and real part less than 0.5
11286 specially.
11287 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11288 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11289 * math/libm-test.inc (cacos_test): Add more tests.
11290 (casin_test): Likewise.
11291 (casinh_test): Likewise.
11292 * sysdeps/i386/fpu/libm-test-ulps: Update.
11293 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11294
6f2e90e7
SP
112952013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11296
5739f705
SP
11297 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
11298 constants.
11299 (norm): Likewise.
11300 (denorm): Likewise.
11301 (__dbl_mp): Likewise.
11302 (add_magnitudes): Likewise.
11303 (sub_magnitudes): Likewise.
11304 (__add): Likewise.
11305 (__sub): Likewise.
11306 (__mul): Likewise.
11307 (__sqr): Likewise.
11308 (__inv): Likewise.
11309 (__dvd): Likewise.
11310
e375e83d
SP
11311 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
11312 commented code.
11313 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
11314 (__dubcos): Likewise.
11315 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
11316 (__ieee754_acos): Likewise.
11317 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
11318 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
11319 (__exp1): Likewise.
11320 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11321 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
11322 (log1): Likewise.
11323 (my_log2): Likewise.
11324 (checkint): Likewise.
11325 * sysdeps/ieee754/dbl-64/e_remainder.c
11326 (__ieee754_remainder): Likewise.
11327 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11328 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
11329 (bsloww): Likewise.
11330 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11331
6f2e90e7
SP
11332 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11333 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
11334 MANTISSA_STORE_T to store computations on mantissa. Use
11335 macros for rounding and division.
11336 (denorm): Likewise.
11337 (__dbl_mp): Likewise.
11338 (add_magnitudes): Likewise.
11339 (sub_magnitudes): Likewise.
11340 (__mul): Likewise.
11341 (__sqr): Likewise.
11342 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
11343 powers of two in terms of TWOPOW macro.
11344 (mp_no): Make type of mantissa as MANTISSA_T.
11345 [!RADIXI]: Define RADIXI.
11346 [!TWO52]: Define TWO52.
11347 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11348
fce14d4e
AZ
113492013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11350
11351 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
11352 llroundl symbol when building for PPC32.
11353
9ad027fb
MW
113542013-03-24 Mark H Weaver <mhw@netris.org>
11355
11356 * manual/arith.texi (Normalization Functions): Fix prototypes for
11357 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
11358
e42a38dd
AZ
113592013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11360
11361 [BZ #13889]
11362 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
11363 high value to check if expl overflow.
11364 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
11365 to check for underflow and overflow.
11366 * math/libm-test.inc: Add exp test.
11367
2e0fb521
DL
113682013-03-21 Dmitry V. Levin <ldv@altlinux.org>
11369
11370 [BZ #11120]
11371 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
11372 with NOT_IN_libc.
11373
b5784d95
AZ
113742013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11375
11376 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
11377 symbol.
11378
5aa4a1a1
TS
113792013-03-21 Thomas Schwinge <thomas@codesourcery.com>
11380
bdef0be7
TS
11381 * math/gen-libm-test.pl (parse_args, special_functions): Properly
11382 wrap blocks consisting of several statements.
11383
5aa4a1a1
TS
11384 * sysdeps/generic/math-tests.h: New file.
11385 * sysdeps/i386/fpu/math-tests.h: Likewise.
11386 * math/test-snan.c: Include it.
11387 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
11388
98c48fe5
JM
113892013-03-21 Joseph Myers <joseph@codesourcery.com>
11390
11391 [BZ #15285]
11392 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
11393 (__ieee754_j0l): Do not improve calculations using cos of twice
11394 input for inputs above LDBL_MAX / 2.0L.
11395 (__ieee754_y0l): Likewise.
11396 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
11397 (__ieee754_j1l): Do not improve calculations using cos of twice
11398 input for inputs above LDBL_MAX / 2.0L.
11399 (__ieee754_y1l): Likewise.
11400 * math/libm-test.inc (j0_test): Add another test.
11401 (j1_test): Likewise.
11402 (y0_test): Likewise.
11403 (y1_test): Likewise.
11404 * sysdeps/i386/fpu/libm-test-ulps: Update.
11405
3775a8bc
SP
114062013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11407
11408 * Rules ($(objpfx)bench-%.c): Include code from a C source
11409 file.
11410
0a1b2ae6
JM
114112013-03-21 Joseph Myers <joseph@codesourcery.com>
11412
11413 [BZ #15287]
11414 * math/k_casinh.c (__kernel_casinh): Handle arguments with
11415 imaginary part 1.0 and real part less than 0.5 specially.
11416 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11417 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11418 * math/libm-test.inc (cacos_test): Add more tests.
11419 (casin_test): Likewise.
11420 (casinh_test): Likewise.
11421 * sysdeps/i386/fpu/libm-test-ulps: Update.
11422 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11423
b33d4ce4
SP
114242013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11425
11426 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
11427 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
11428
bef0b507
JM
114292013-03-20 Joseph Myers <joseph@codesourcery.com>
11430
11431 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
11432 * config.make.in (config-cflags-sse4): Remove variable.
11433 (config-cflags-avx): Likewise.
11434 (config-cflags-sse2avx): Likewise.
11435 (config-cflags-novzeroupper): Likewise.
11436 (config-asflags-i686): Likewise.
11437 (have-mfma4): Likewise.
11438 (have-as-vis3): Likewise.
11439 (MIG): Likewise.
11440 * configure.in (MIG): Do not AC_SUBST.
11441 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
11442 (libc_cv_cc_sse4): Do not AC_SUBST.
11443 (libc_cv_cc_avx): Likewise.
11444 (libc_cv_cc_sse2avx): Likewise.
11445 (libc_cv_cc_novzeroupper): Likewise.
11446 (libc_cv_cc_fma4): Likewise.
11447 (libc_cv_as_i686): Likewise.
11448 (libc_cv_sparc_as_vis3): Likewise.
11449 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
11450 LIBC_CONFIG_VAR.
11451 (config-asflags-i686): Likewise.
11452 (config-cflags-avx): Likewise.
11453 (config-cflags-sse2avx): Likewise.
11454 (have-mfma4): Likewise.
11455 (config-cflags-novzeroupper): Likewise.
11456 * sysdeps/mach/configure.in (MIG): Likewise.
11457 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
11458 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
11459 LIBC_CONFIG_VAR.
11460 (config-cflags-avx): Likewise.
11461 (config-cflags-sse2avx): Likewise.
11462 (have-mfma4): Likewise.
11463 (config-cflags-novzeroupper): Likewise.
11464 * configure: Regenerated.
11465 * sysdeps/i386/configure: Likewise.
11466 * sysdeps/mach/configure: Likewise.
11467 * sysdeps/sparc/configure: Likewise.
11468 * sysdeps/x86_64/configure: Likewise.
11469
912cc4b3
RM
114702013-03-20 Roland McGrath <roland@hack.frob.com>
11471
11472 [BZ #14812]
11473 * locale/programs/localedef.c (options): Put N_ translation marker
11474 on argument names, not just descriptions.
11475
04eed2b0
MS
114762013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11477
11478 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
11479
a065ceff
OB
114802013-03-20 Ondřej Bílka <neleai@seznam.cz>
11481
9bb2a810 11482 [BZ #14176]
a065ceff
OB
11483 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
11484
a600e5ce
RM
114852013-03-19 Roland McGrath <roland@hack.frob.com>
11486
11487 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
11488 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
11489 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
11490 [!BEFORE_ABORT] (before_abort): New function.
11491 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
11492 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
11493 (writev_for_fatal): New function.
11494 (WRITEV_FOR_FATAL): New macro; call that.
11495 (backtrace_and_maps): New function.
11496 (BEFORE_ABORT): New macro; call that.
11497 (struct str_list): Type removed.
11498 (__libc_message, __libc_fatal): Functions removed.
11499 Include <sysdeps/posix/libc_fatal.c> instead.
11500
6b18bea6
JM
115012013-03-19 Joseph Myers <joseph@codesourcery.com>
11502
11503 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
11504 constants.
11505 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
11506 double constants.
11507
aaa8cb4b
AS
115082013-03-19 Andreas Schwab <schwab@suse.de>
11509
44673770
AS
11510 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
11511 * sysdeps/gnu/configure: Regenerate.
11512
aaa8cb4b
AS
11513 * configure.in: Substitute libc_cv_rtlddir.
11514 * configure: Regenerate.
11515 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
11516 * Makeconfig (rtlddir, inst_rtlddir): New variables.
11517 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
11518 * elf/Makefile (install-others, CFLAGS-interp.c)
11519 (ldso_install, common-ldd-rewrite): Likewise.
11520 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
11521 $(inst_slibdir)/$(rtld-installed-name).
11522 * scripts/rellns-sh: Add -p option.
11523 * Makerules (make-shlib-link): Use rellns-sh to get relative name
11524 for source.
11525
d3cfc668
SP
115262013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11527
11528 * manual/nptl.texi: Renamed to ...
11529 * manual/threads.texi: ... this.
11530 * manual/Makefile (chapters): Update.
11531
0e2b9cdd
RM
115322013-03-18 Roland McGrath <roland@hack.frob.com>
11533
11534 [BZ #14812]
11535 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
11536 on argument names, not just descriptions.
0e2b9cdd
RM
11537 * malloc/memusagestat.c (options): Likewise.
11538 * nss/getent.c (options): Likewise.
63270c24
RM
11539
115402013-03-18 Benno Schulenberg <bensberg@justemail.net>
11541
11542 [BZ #14812]
11543 * iconv/iconv_prog.c (options): Put N_ translation marker
11544 on argument names, not just descriptions.
11545 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 11546
b2e1393c
OB
115472013-03-18 Ondrej Bilka <neleai@seznam.cz>
11548
11549 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
11550 implementation which is faster on all x86_64 architectures.
11551 Tested on AMD, Intel Nehalem, SNB, IVB.
11552 * sysdeps/x86_64/strnlen.S: Likewise.
11553
11554 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
11555 Remove all multiarch strlen and strnlen versions.
11556 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11557 Remove strlen and strnlen related parts.
11558
11559 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
11560 Inline strlen part.
11561 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
11562
11563 * sysdeps/x86_64/multiarch/strlen.S: Remove.
11564 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
11565 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
11566 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
11567 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
11568 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
11569
ec4ff04d
CD
115702013-03-17 Carlos O'Donell <carlos@redhat.com>
11571
11572 * manual/memory.texi (Malloc Tunable Parameters):
11573 Sort parameters alphabetically. Add comments for missing entries.
11574
cd18e90a
DM
115752013-03-17 David S. Miller <davem@davemloft.net>
11576
11577 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11578
2a185d32
JM
115792013-03-16 Joseph Myers <joseph@codesourcery.com>
11580
d2f9799e
JM
11581 [BZ #15283]
11582 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
11583 for arguments at most half maximum finite value.
11584 * math/libm-test.inc (j0_test): Add more tests.
11585 (j1_test): Likewise.
11586 (y0_test): Likewise.
11587 (y1_test): Likewise.
11588 * sysdeps/i386/fpu/libm-test-ulps: Update.
11589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11590
2a185d32
JM
11591 [BZ #14155]
11592 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
11593 1 / x and functions P and Q for arguments above 0x1p256L.
11594 (__ieee754_y0l): Likewise.
11595 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
11596 (__ieee754_y1l): Likewise.
11597 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
11598 (j1_test): Likewise.
11599 (y0_test): Likewise.
11600 (y1_test): Likewise.
11601
6cbec759
TS
116022013-03-16 Thomas Schwinge <thomas@codesourcery.com>
11603
11604 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
11605 variable.
11606
bc16e260
RM
116072013-03-15 Roland McGrath <roland@hack.frob.com>
11608
aefc9b8c
RM
11609 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
11610 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
11611 zero since it's initialized to EXEC_PAGESIZE.
11612
bc16e260
RM
11613 * sysdeps/unix/sysv/linux/ldsodefs.h
11614 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
11615 * sysdeps/generic/ldsodefs.h: ... here.
11616
a57da955
TS
116172013-03-15 Thomas Schwinge <thomas@codesourcery.com>
11618
af00a34d
TS
11619 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
11620
495ded2c
TS
11621 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
11622 math/test-snan.c.
11623 * math/test-snan.c: Renamed from
11624 sysdeps/powerpc/fpu/test-powerpc-snan.c.
11625 * math/Makefile (tests): Add test-snan.
11626 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
11627 test-powerpc-snan.
11628
777b0332
TS
11629 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
11630 SUFFIX. Initialize qNaN_var with __builtin_nan family of
11631 functions.
11632 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
11633 __builtin_nan family of functions.
11634 * math/libm-test.inc (initialize): Initialize qnan_value with
11635 __builtin_nan family of functions.
11636 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
11637 Remove variables.
11638 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
11639 Remove functions.
11640 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
11641 storage class. Initialize qNaN_var and sNaN_var with
11642 __builtin_nan and __builtin_nans families of functions,
11643 respectively.
11644
64d063b8
TS
11645 * math/libm-test.inc (acosh_test): Also test with qNaN input.
11646 (sqrt_test): Remove duplicate test with qNaN input.
11647 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
11648 (round_test, signbit_test, significand_test): Note missing +/-Inf
11649 as well as qNaN tests.
11650
67e971f1
TS
11651 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
11652 qNaN_var. Fix a few strings, too.
11653 * math/libm-test.inc (nan_value): Rename to qnan_value.
11654 * math/gen-libm-test.pl (%beautify): Adjust to that.
11655 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
11656 * math/test-misc.c (main): Likewise.
11657 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
11658 to __qnan_bytes, and __qnan_union, respectively.
11659 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
11660 Likewise.
11661 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
11662 and lqnanval, respectively.
11663 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
11664 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
11665 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
11666 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
11667
64487e12
TS
11668 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
11669 * math/test-misc.c (main) [__x86_64__]: Enable test for long
11670 doubles.
11671
e015e27b
TS
11672 * math/test-misc.c (main): Fix copy'n'pastos.
11673 * misc/tst-efgcvt.c (special): Likewise.
11674
a57da955
TS
11675 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
11676 Remove declarations.
11677
1e380345
SP
116782013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11679
11680 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
11681 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
11682 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
11683 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
11684
ef26eece
AZ
116852013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11686
11687 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
11688 macro to return vdso values correctly in IFUNC implementations.
11689 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11690 Optimization by using IFUNC.
11691
8cfdb7e0
SP
116922013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11693 Richard Henderson <rth@redhat.com>
11694 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11695
11696 * Makefile.in (bench): New target.
11697 * NEWS: Mention the benchmark framework.
11698 * Rules (bench): Likewise.
11699 (binaries-bench): Generate binaries for functions to
11700 benchmark.
11701 * benchtests/Makefile: New makefile for benchmark tests.
11702 * benchtests/bench-skeleton.c: New skeleton file for benchmark
11703 programs.
11704 * benchtests/exp-inputs: New input file for EXP function.
11705 * benchtests/pow-inputs: New input file for POW function.
11706 * scripts/bench.pl: New script to generate source files for
11707 benchmark programs.
11708
bcda9880
SP
117092013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11710
d22ca8cd
SP
11711 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11712 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
11713 computations on mantissa. Use macros for rounding and
11714 division.
11715 (denorm): Likewise.
11716 (__dbl_mp): Likewise.
11717 (add_magnitudes): Likewise.
11718 (sub_magnitudes): Likewise.
11719 (__mul): Likewise.
11720 (__sqr): Likewise.
11721 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
11722 powers of two in terms of TWOPOW macro.
11723 (mp_no): Make type of mantissa as MANTISSA_T.
11724 [!RADIXI]: Define RADIXI.
11725 [!TWO52]: Define TWO52.
11726 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11727
bcda9880
SP
11728 * manual/nptl.texi (cindex): Modify threads to pthreads.
11729
06d5adfb
JM
117302013-03-15 Joseph Myers <joseph@codesourcery.com>
11731
11732 * sysdeps/x86_64/preconfigure: Regenerated.
11733
41c7328e
JM
117342013-03-14 Joseph Myers <joseph@codesourcery.com>
11735
11736 [BZ #14155]
11737 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
11738 0x1p28 and above.
11739 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
11740 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
11741 0x1p28 and above.
11742 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
11743 * math/libm-test.inc (j0_test): Do not allow one spurious
11744 underflow exception.
11745 (y1_test): Likewise.
11746
e25cfa60
SP
117472013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11748
0409959c
SP
11749 * manual/Makefile (chapters): Add nptl.
11750 * manual/debug.texi (Debugging Support): Add link to Threads
11751 chapter.
11752 * manual/nptl.texi: New file.
11753
e25cfa60
SP
11754 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
11755
58a1335e
PB
117562013-03-14 Petr Baudis <pasky@ucw.cz>
11757
11758 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
11759 for non-NULL pointer before the memory validity test. Pointed
11760 out by Holger Brunck <holger.brunck@keymile.com>.
11761
9dc7c64f
AS
117622013-03-13 Andreas Schwab <schwab@suse.de>
11763
11764 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
11765 instead of .os.
11766
54206aa6
JM
117672013-03-13 Joseph Myers <joseph@codesourcery.com>
11768
11769 * timezone/zic.c: Update from tzcode 2013b.
11770
e98cdb38
CD
117712013-03-12 Carlos O'Donell <carlos@redhat.com>
11772
11773 * manual/install.texi (Configuring and compiling):
11774 Mention i686 and i586.
11775 * INSTALL: Regenerate.
11776
9967e003
RM
117772013-03-12 Roland McGrath <roland@hack.frob.com>
11778
11779 * sysdeps/init_array/elf-init.c: New file.
11780 * csu/elf-init.c
11781 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
11782 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
11783
11784 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
11785 __gmon_start__ as global, but as static with a .preinit_array pointer.
11786 * sysdeps/init_array/gmon-start.c: New file. Use that.
11787 * sysdeps/init_array/crti.S: New file, empty except for comments.
11788 * sysdeps/init_array/crtn.S: Likewise.
11789
e6b5a293 117902013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
11791
11792 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
11793 definining bcopy.
80f844c9
OB
11794 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11795 Remove Prefer_SSE_for_memop.
11796 * sysdeps/x86_64/multiarch/init-arch.h: Remove
11797 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
11798 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
11799 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
11800 memset-x86-64.
80f844c9 11801 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 11802 Remove bzero, memset ifunc support.
80f844c9
OB
11803 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
11804 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
11805 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11806 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11807
fb6b0fcb
AS
118082013-03-11 Andreas Schwab <schwab@suse.de>
11809
11810 [BZ #15234]
11811 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
11812 by SHLIB_COMPAT.
11813 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
11814 (GLIBC_2.16): Remove pthread_atfork.
11815
3e6bd4b1
PP
118162013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
11817
11818 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
11819 (ptestcases.h): Likewise.
11820
222d7f00
RM
118212013-03-08 Roland McGrath <roland@hack.frob.com>
11822
11823 * Makeconfig ($(common-objpfx)config.status): Depend on
11824 sysdeps/*/preconfigure{,.in} too.
11825
1ba4f030
JM
118262013-03-08 Joseph Myers <joseph@codesourcery.com>
11827
a222d91a
JM
11828 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
11829 (__free_hook): Use void * instead of __malloc_ptr_t.
11830 (__malloc_hook): Likewise.
11831 (__realloc_hook): Likewise.
11832 (__memalign_hook): Likewise.
11833 (__after_morecore_hook): Likewise.
11834 * malloc/arena.c (save_malloc_hook): Likewise.
11835 (save_free_hook): Likewise.
11836 * malloc/hooks.c (malloc_hook_ini): Likewise.
11837 (realloc_hook_ini): Likewise.
11838 (memalign_hook_ini): Likewise.
11839 * malloc/malloc.c (malloc_hook_ini): Likewise.
11840 (realloc_hook_ini): Likewise.
11841 (memalign_hook_ini): Likewise.
11842 (__free_hook): Likewise.
11843 (__malloc_hook): Likewise.
11844 (__realloc_hook): Likewise.
11845 (__memalign_hook): Likewise.
11846 (__libc_malloc): Likewise.
11847 (__libc_free): Likewise.
11848 (__libc_realloc): Likewise.
11849 (__libc_memalign): Likewise.
11850 (__libc_valloc): Likewise.
11851 (__libc_pvalloc): Likewise.
11852 (__libc_calloc): Likewise.
11853 (__posix_memalign): Likewise.
11854 * malloc/morecore.c (__sbrk): Likewise.
11855 (__default_morecore): Likewise.
11856
5cc45e10
JM
11857 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
11858
dd54b864
JM
11859 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
11860 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
11861 __malloc_ptrdiff_t.
11862
1ba4f030
JM
11863 * malloc/malloc.h (__malloc_size_t): Remove macro.
11864 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
11865 __malloc_size_t.
11866 (old_memalign_hook): Likewise.
11867 (old_realloc_hook): Likewise.
11868 (struct hdr): Likewise.
11869 (flood): Likewise.
11870 (mallochook): Likewise.
11871 (memalignhook): Likewise.
11872 (reallochook): Likewise.
11873 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
11874 (tr_old_realloc_hook): Likewise.
11875 (tr_old_memalign_hook): Likewise.
11876 (tr_mallochook): Likewise.
11877 (tr_reallochook): Likewise.
11878 (tr_memalignhook): Likewise.
11879
edf66e57
AZ
118802013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11881
11882 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
11883 default_ldbl_pack and using as default implementation.
11884 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
11885 implementation.
11886 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
11887 redundant definition.
11888 (ldbl_insert_mantissa): Likewise.
11889 (ldbl_canonicalize): Likewise.
11890 (ldbl_nearbyint): Likewise.
11891 (ldbl_pack): Rename to ldbl_pack_ppc.
11892 (ldbl_unpack): Rename to ldbl_unpack_ppc.
11893 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
11894 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
11895
6d9145d8
SP
118962013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11897
11898 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
11899 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
11900 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
11901 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
11902 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
11903 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
11904 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
11905 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
11906
4dd4e157
AJ
119072013-03-07 Andreas Jaeger <aj@suse.de>
11908
11909 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11910 bits/mman-linux.h.
11911
adbb8027
SP
119122013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
11913
ce544b5b
SP
11914 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
11915 Include mpa.h and declare __MPEXP.
11916 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
11917 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11918 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11919 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
11920 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11921 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11922 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
11923
4cc149fd
SP
11924 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
11925 (__slowpow): Use long double EXPL and LOGL functions to
11926 compute POW.
11927 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11928 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11929 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
11930 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11931 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11932 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
11933
e6ebd4a7
SP
11934 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
11935 intermediate variable to calculate exponent.
11936 (__sqr): Likewise.
11937 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
11938 Likewise.
11939 (__sqr): Likewise.
11940
82a9811d
SP
11941 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
11942 [!NO__SQR]: Define __sqr.
11943 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
11944 and NO__SQR. Remove all code except __mul and __sqr. Include
11945 sysdeps/ieee754/dbl-64/mpa.c.
11946 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11947
adbb8027
SP
11948 [BZ #12723]
11949 * posix/Makefile (tests): Add tst-pathconf.
11950 * posix/tst-pathconf.c: New test case.
11951 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
11952 _PC_PIPE_BUF.
11953 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
11954
39120df9
PF
119552013-03-06 Patsy Franklin <pfrankli@redhat.com>
11956
11957 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
11958
67525cb8
AJ
119592013-03-06 Andreas Jaeger <aj@suse.de>
11960
664a9ce4
AJ
11961 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
11962 definition via __MAP_ANONYMOUS.
11963
8e39047d
AJ
11964 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
11965 it's not part of Linux headers.
11966
67525cb8
AJ
11967 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
11968 (MAP_HUGE_MASK): Define.
11969
11970 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11971 Define.
11972 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11973 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11974 Define.
11975 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11976 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11977 Define.
11978 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11979 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
11980 Define.
11981 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11982
11983 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
11984 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
11985 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
11986 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
11987 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
11988 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
11989
11990 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
11991 Handle f2fs.
11992
11993 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11994 Handle f2fs and efivarfs.
11995
11996 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
11997 f2fs.
11998
11999 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
12000 (EFIVARFS_MAGIC): Add.
12001 (F2FS_LINK_MAX): Add.
12002
e1b42695
PP
120032013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
12004
12005 * stdio-common/vfprintf.c: Replace __builtin_expect with
12006 __glibc_unlikely.
12007
2d67d91a
JM
120082013-03-06 Joseph Myers <joseph@codesourcery.com>
12009
12010 [BZ #13550]
12011 * sysdeps/generic/bp-sym.h: Remove file.
12012 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
12013 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
12014 <bp-sym.h> and <bp-asm.h>.
12015 (__longjmp): Don't use BP_SYM.
12016 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
12017 and <bp-asm.h>.
12018 (memcpy): Don't use BP_SYM.
12019 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
12020 <bp-sym.h> and <bp-asm.h>.
12021 (memcpy): Don't use BP_SYM.
12022 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
12023 <bp-asm.h>.
12024 (memcpy): Don't use BP_SYM.
12025 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
12026 <bp-asm.h>.
12027 (memset): Don't use BP_SYM.
12028 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12029 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12030 (__bzero): Don't use BP_SYM.
12031 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12032 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12033 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
12034 <bp-sym.h> and <bp-asm.h>.
12035 (memcmp): Don't use BP_SYM. Remove comment about bounded
12036 pointers.
12037 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
12038 <bp-sym.h> and <bp-asm.h>.
12039 (memcpy): Don't use BP_SYM.
12040 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
12041 <bp-sym.h> and <bp-asm.h>.
12042 (memset): Don't use BP_SYM.
12043 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12044 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12045 (__bzero): Don't use BP_SYM.
12046 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12047 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12048 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
12049 <bp-sym.h> and <bp-asm.h>.
12050 (strncmp): Don't use BP_SYM. Remove comment about bounded
12051 pointers.
12052 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
12053 <bp-sym.h> and <bp-asm.h>.
12054 (memcpy): Don't use BP_SYM.
12055 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
12056 <bp-sym.h> and <bp-asm.h>.
12057 (memset): Don't use BP_SYM.
12058 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12059 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12060 (__bzero): Don't use BP_SYM.
12061 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12062 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12063 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
12064 <bp-sym.h> and <bp-asm.h>.
12065 (__memchr): Don't use BP_SYM.
12066 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
12067 <bp-sym.h> and <bp-asm.h>.
12068 (memcmp): Don't use BP_SYM. Remove comment about bounded
12069 pointers.
12070 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
12071 <bp-sym.h> and <bp-asm.h>.
12072 (memcpy): Don't use BP_SYM.
12073 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
12074 <bp-sym.h> and <bp-asm.h>.
12075 (__mempcpy): Don't use BP_SYM.
12076 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
12077 <bp-sym.h> and <bp-asm.h>.
12078 (__memrchr): Don't use BP_SYM.
12079 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
12080 <bp-sym.h> and <bp-asm.h>.
12081 (memset): Don't use BP_SYM.
12082 (__bzero): Likewise.
12083 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
12084 <bp-sym.h> and <bp-asm.h>.
12085 (__rawmemchr): Don't use BP_SYM.
12086 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
12087 <bp-sym.h> and <bp-asm.h>.
12088 (__STRCMP): Don't use BP_SYM.
12089 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
12090 <bp-sym.h> and <bp-asm.h>.
12091 (strchr): Don't use BP_SYM.
12092 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
12093 <bp-sym.h> and <bp-asm.h>.
12094 (__strchrnul): Don't use BP_SYM.
12095 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
12096 <bp-sym.h> and <bp-asm.h>.
12097 (strlen): Don't use BP_SYM.
12098 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
12099 <bp-sym.h> and <bp-asm.h>.
12100 (strncmp): Don't use BP_SYM. Remove comment about bounded
12101 pointers.
12102 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
12103 <bp-sym.h> and <bp-asm.h>.
12104 (__strnlen): Don't use BP_SYM.
12105 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
12106 <bp-sym.h> and <bp-asm.h>.
12107 (__GI__setjmp): Don't use BP_SYM.
12108 (_setjmp): Likewise.
12109 (__sigsetjmp): Likewise.
12110 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
12111 (L(start_addresses)): Don't use BP_SYM.
12112 (_start): Likewise.
12113 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
12114 <bp-asm.h>.
12115 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
12116 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
12117 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12118 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12119 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
12120 <bp-asm.h>.
12121 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
12122 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
12123 about bounded pointers.
12124 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12125 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12126 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
12127 <bp-asm.h>.
12128 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
12129 about bounded pointers. Remove GKM FIXME comments.
12130 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12131 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
12132 <bp-asm.h>.
12133 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
12134 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
12135 Remove GKM FIXME comments.
12136 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12137 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12138 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
12139 <bp-asm.h>.
12140 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
12141 about bounded pointers. Remove GKM FIXME comment.
12142 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
12143 and <bp-asm.h>.
12144 (strncmp): Don't use BP_SYM. Remove comment about bounded
12145 pointers.
12146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
12147 <bp-sym.h> and <bp-asm.h>.
12148 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
12149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
12150 <bp-sym.h> and <bp-asm.h>.
12151 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
12152 comment.
12153
cdcf361f
PP
121542013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12155
12156 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
12157 call free(NULL).
12158
3c4a2b15
DM
121592013-03-05 David S. Miller <davem@davemloft.net>
12160
12161 * po/es.po: Update from translation team.
12162
cdcf361f 121632013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
12164
12165 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
12166 <bits/mman-linux.h>.
12167 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12168 is fine.
12169 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
12170 <bits/mman-linux.h> to end of file.
12171 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12172 is fine.
12173 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
12174 <bits/mman-linux.h> to end of file.
12175 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12176 is fine.
12177 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
12178 <bits/mman-linux.h> to end of file.
12179
12180 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
12181 (MCL_CURRENT, MCL_FUTURE): Define here.
12182
5f67c04f
AK
121832013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12184
8a4473cc 12185 [BZ #15232]
5f67c04f
AK
12186 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
12187 attribute_hidden.
12188 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
12189
c3e94a95
AK
121902013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12191
12192 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
12193 fourth parameter needed for rt_sigprocmask syscall.
12194 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
12195 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12196 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
12197 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12198 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12199 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
12200
cfb6382a
JM
122012013-03-04 Joseph Myers <joseph@codesourcery.com>
12202
12203 [BZ #13550]
12204 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
12205 comment about bounded pointers.
12206 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
12207 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
12208
539d8e01
AJ
122092013-03-04 Andreas Jaeger <aj@suse.de>
12210
12211 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
12212 common definitions.
12213
12214 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
12215 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
12216 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
12217 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12218 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
12219 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12220
2e167a70 122212013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
12222
12223 [BZ #15055]
12224 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
12225 __ieee754_sqrl instead of __sqrl.
12226
68508633
JM
122272013-03-01 Joseph Myers <joseph@codesourcery.com>
12228
12229 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
12230 * sysdeps/powerpc/fpu_control.h: ... here.
12231 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
12232 * sysdeps/powerpc/bits/fenvinline.h: ... here.
12233 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
12234 * sysdeps/powerpc/bits/mathinline.h: ... here.
12235
7775448e
RM
122362013-03-01 Roland McGrath <roland@hack.frob.com>
12237
12238 * elf/dl-hwcaps.c (_dl_important_hwcaps):
12239 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
12240 to just [NEED_DL_SYSINFO_DSO].
12241 * elf/dl-support.c: Likewise.
12242 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
12243 * elf/rtld.c (dl_main): Likewise.
12244 * elf/setup-vdso.h (setup_vdso): Likewise.
12245 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
12246 * sysdeps/unix/sysv/linux/dl-sysdep.c
12247 (_dl_discover_osversion): Likewise.
12248
4e9b5995
CD
122492013-03-01 Carlos O'Donell <carlos@redhat.com>
12250
12251 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
12252 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
12253
e23872c8
SP
122542013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
12255
e5c74c63
SP
12256 * NEWS: Mention libm performance improvements and non-x86 PI
12257 futex support.
12258
e23872c8
SP
12259 * csu/libc-start.c (__pthread_initialize_minimal): Change
12260 function arguments.
12261 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
12262
b5510883
JM
122632013-02-28 Joseph Myers <joseph@codesourcery.com>
12264
12265 [BZ #13550]
12266 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
12267 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
12268 <bp-sym.h> and <bp-asm.h>.
12269 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12270 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
12271 and <bp-asm.h>.
12272 (memcpy): Don't use BP_SYM.
12273 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
12274 <bp-asm.h>.
12275 (__mpn_add_n): Don't use BP_SYM.
12276 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
12277 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
12278 and <bp-asm.h>.
12279 (__mpn_addmul_1): Don't use BP_SYM.
12280 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12281 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
12282 <bp-sym.h>.
12283 (_setjmp): Don't use BP_SYM.
12284 (__novmx_setjmp): Likewise.
12285 (__GI__setjmp): Likewise.
12286 (__vmx_setjmp): Likewise.
12287 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
12288 <bp-sym.h>.
12289 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
12290 (__bzero): Don't use BP_SYM.
12291 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12292 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12293 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
12294 <bp-sym.h> and <bp-asm.h>.
12295 (memcpy): Don't use BP_SYM.
12296 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
12297 <bp-sym.h> and <bp-asm.h>.
12298 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12299 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
12300 <bp-sym.h> and <bp-asm.h>.
12301 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12302 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
12303 <bp-asm.h>.
12304 (__mpn_lshift): Don't use BP_SYM.
12305 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12306 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
12307 <bp-asm.h>.
12308 (memset): Don't use BP_SYM.
12309 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12310 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12311 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
12312 <bp-asm.h>.
12313 (__mpn_mul_1): Don't use BP_SYM.
12314 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12315 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
12316 <bp-sym.h> and <bp-asm.h>.
12317 (memcmp): Don't use BP_SYM.
12318 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
12319 <bp-sym.h> and <bp-asm.h>.
12320 (memcpy): Don't use BP_SYM.
12321 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
12322 <bp-sym.h> and <bp-asm.h>.
12323 (memset): Don't use BP_SYM.
12324 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
12325 <bp-sym.h> and <bp-asm.h>.
12326 (strncmp): Don't use BP_SYM.
12327 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
12328 <bp-sym.h> and <bp-asm.h>.
12329 (memcpy): Don't use BP_SYM.
12330 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
12331 <bp-sym.h> and <bp-asm.h>.
12332 (memset): Don't use BP_SYM.
12333 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
12334 <bp-sym.h> and <bp-asm.h>.
12335 (__memchr): Don't use BP_SYM.
12336 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
12337 <bp-sym.h> and <bp-asm.h>.
12338 (memcmp): Don't use BP_SYM.
12339 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
12340 <bp-sym.h> and <bp-asm.h>.
12341 (memcpy): Don't use BP_SYM.
12342 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
12343 <bp-sym.h> and <bp-asm.h>.
12344 (__mempcpy): Don't use BP_SYM.
12345 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
12346 <bp-sym.h> and <bp-asm.h>.
12347 (__memrchr): Don't use BP_SYM.
12348 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
12349 <bp-sym.h> and <bp-asm.h>.
12350 (memset): Don't use BP_SYM.
12351 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
12352 <bp-sym.h> and <bp-asm.h>.
12353 (__rawmemchr): Don't use BP_SYM.
12354 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
12355 <bp-sym.h> and <bp-asm.h>.
12356 (__STRCMP): Don't use BP_SYM.
12357 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
12358 <bp-sym.h> and <bp-asm.h>.
12359 (strchr): Don't use BP_SYM.
12360 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
12361 <bp-sym.h> and <bp-asm.h>.
12362 (__strchrnul): Don't use BP_SYM.
12363 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
12364 <bp-sym.h> and <bp-asm.h>.
12365 (strlen): Don't use BP_SYM.
12366 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
12367 <bp-sym.h> and <bp-asm.h>.
12368 (strncmp): Don't use BP_SYM.
12369 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
12370 <bp-sym.h> and <bp-asm.h>.
12371 (__strnlen): Don't use BP_SYM.
12372 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
12373 <bp-asm.h>.
12374 (__mpn_rshift): Don't use BP_SYM.
12375 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12376 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
12377 <bp-sym.h> and <bp-asm.h>.
12378 (__sigsetjmp): Don't use BP_SYM.
12379 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
12380 (L(start_addresses)): Don't use BP_SYM.
12381 (_start): Likewise.
12382 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
12383 <bp-asm.h>.
12384 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
12385 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12386 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12387 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
12388 <bp-asm.h>.
12389 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
12390 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12391 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12392 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
12393 <bp-asm.h>.
12394 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
12395 comments.
12396 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12397 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
12398 <bp-asm.h>.
12399 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
12400 FIXME comments.
12401 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12402 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12403 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
12404 <bp-asm.h>.
12405 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
12406 comment.
12407 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
12408 and <bp-asm.h>.
12409 (strncmp): Don't use BP_SYM,
12410 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
12411 <bp-asm.h>.
12412 (__mpn_sub_n): Don't use BP_SYM.
12413 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12414 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
12415 and <bp-asm.h>.
12416 (__mpn_submul_1): Don't use BP_SYM.
12417 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
12419 <bp-sym.h> and <bp-asm.h>.
12420 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
12421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
12422 <bp-sym.h> and <bp-asm.h>.
12423 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
12424 comment.
12425
8d19fe64
SP
124262013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12427
12428 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
12429 Use ZK to minimize writes to Z.
12430 (sub_magnitudes): Simplify code a bit.
12431 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
12432 Use ZK to minimize writes to Z.
12433 (sub_magnitudes): Simplify code a bit.
12434
85bd816a
RM
124352013-02-27 Roland McGrath <roland@hack.frob.com>
12436
12437 * csu/gmon-start.c: Add special exception to license text.
12438
b5977bf2
RH
124392013-02-27 Richard Henderson <rth@redhat.com>
12440
12441 * scripts/config.guess: Update from config.git.
12442 * scripts/config.sub: Likewise.
12443
11d6e2f2
SP
124442013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12445
09c14ed2
SP
12446 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
12447
a688864e
SP
12448 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
12449
6295157a
SP
12450 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
12451
b8de2202
SP
12452 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
12453
11d6e2f2
SP
12454 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
12455
7e80ddb8
RM
124562013-02-26 Roland McGrath <roland@hack.frob.com>
12457
12458 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
12459 [$(build-shared = yes].
7e80ddb8 12460
7da6d9ed
SP
124612013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12462
45f05884
SP
12463 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
12464 (__mul): Reduce iterations for calculating mantissa.
12465
2236d359
SP
12466 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
12467 MPTWO.
12468 (__mpranred): Likewise.
12469
7da6d9ed
SP
12470 [BZ #15160]
12471 * malloc/memusagestat.c (main): Draw graphs for heap and stack
12472 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
12473
b7688c42
PE
124742013-02-26 Paul Eggert <eggert@cs.ucla.edu>
12475
12476 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
12477 Define __attribute__.
12478
53a5c423
SP
124792013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12480
12481 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
12482 unused.
12483 * posix/regex_internal.h (__attribute): Remove.
12484 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
12485 (re_string_context_at): Likewise.
12486 (bitset_not): Use __attribute__ and mark function as possibly
12487 unused.
12488 (bitset_merge): Likewise.
12489 (bitset_mask): Likewise.
12490 (re_string_char_size_at): Likewise.
12491 (re_string_wchar_at): Likewise.
12492 (re_string_elem_size_at): Likewise.
12493
60f5a8b5
SP
124942013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12495
2a983a2e
SP
12496 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
12497 code.
12498 (cc32): Likewise.
12499
e69804d1
SP
12500 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
12501 (__acr): Likewise.
12502 (__cpy): Likewise.
12503 (norm): Likewise.
12504 (denorm): Likewise.
12505 (__dbl_mp): Likewise.
12506 (add_magnitudes): Likewise.
12507 (sub_magnitudes): Likewise.
12508 (__mul): Likewise.
12509 (__inv): Likewise.
12510
2f22a1e8
SP
12511 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
12512 style.
12513
8930ddc7
SP
12514 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
12515 style.
12516
dc60cb11
SP
12517 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
12518 code.
12519
60f5a8b5
SP
12520 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
12521 up changes with default code.
12522 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
12523 Likewise.
12524
b4d1fd33
AM
125252013-02-24 Allan McRae <allan@archlinux.org>
12526
faf6f8bc
AM
12527 * manual/socket.texi (The Internet Namespace): Order menu items
12528 to match that in the file.
12529
b4d1fd33
AM
12530 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
12531 node listing of the info page menu.
12532
2366713d
JM
125332013-02-21 Joseph Myers <joseph@codesourcery.com>
12534
12535 [BZ #13550]
12536 * sysdeps/i386/bp-asm.h: Remove file.
12537 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12538 (PARMS): Do not use macros from bp-asm.h.
12539 (S1): Likewise.
12540 (S2): Likewise.
12541 (SIZE): Likewise.
12542 (__mpn_add_n): Do not use BP_SYM
12543 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
12544 "bp-asm.h".
12545 (PARMS): Do not use macros from bp-asm.h.
12546 (S1): Likewise.
12547 (SIZE): Likewise.
12548 (__mpn_addmul_1): Do not use BP_SYM
12549 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
12550 "bp-asm.h".
12551 (PARMS): Do not use macros from bp-asm.h.
12552 (SIGMSK): Likewise.
12553 (_setjmp): Likewise. Do not use BP_SYM.
12554 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
12555 "bp-asm.h".
12556 (PARMS): Do not use macros from bp-asm.h.
12557 (SIGMSK): Likewise.
12558 (setjmp): Likewise. Do not use BP_SYM.
12559 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
12560 "bp-asm.h".
12561 (PARMS): Do not use macros from bp-asm.h.
12562 (__frexp): Do not use BP_SYM.
12563 (frexp): Likewise.
12564 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
12565 "bp-asm.h".
12566 (PARMS): Do not use macros from bp-asm.h.
12567 (__frexpf): Do not use BP_SYM.
12568 (frexpf): Likewise.
12569 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
12570 "bp-asm.h".
12571 (PARMS): Do not use macros from bp-asm.h.
12572 (__frexpl): Do not use BP_SYM.
12573 (frexpl): Likewise.
12574 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
12575 "bp-asm.h".
12576 (PARMS): Do not use macros from bp-asm.h.
12577 (__remquo): Do not use BP_SYM.
12578 (remquo): Likewise.
12579 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
12580 "bp-asm.h".
12581 (PARMS): Do not use macros from bp-asm.h.
12582 (__remquof): Do not use BP_SYM.
12583 (remquof): Likewise.
12584 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
12585 "bp-asm.h".
12586 (PARMS): Do not use macros from bp-asm.h.
12587 (__remquol): Do not use BP_SYM.
12588 (remquol): Likewise.
12589 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
12590 "bp-asm.h".
12591 (PARMS): Do not use macros from bp-asm.h.
12592 (DEST): Likewise.
12593 (SRC): Likewise.
12594 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
12595 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
12596 "bp-asm.h".
12597 (PARMS): Do not use macros from bp-asm.h.
12598 (strlen): Do not use BP_SYM.
12599 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
12600 "bp-asm.h".
12601 (PARMS): Do not use macros from bp-asm.h.
12602 (S1): Likewise.
12603 (S2): Likewise.
12604 (SIZE): Likewise.
12605 (__mpn_add_n): Do not use BP_SYM.
12606 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
12607 "bp-asm.h".
12608 (PARMS): Do not use macros from bp-asm.h.
12609 (S1): Likewise.
12610 (SIZE): Likewise.
12611 (__mpn_addmul_1): Do not use BP_SYM.
12612 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
12613 weak_alias.
12614 (bzero): Likewise.
12615 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
12616 "bp-asm.h".
12617 (PARMS): Do not use macros from bp-asm.h.
12618 (S): Likewise.
12619 (SIZE): Likewise.
12620 (__mpn_lshift): Do not use BP_SYM.
12621 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
12622 "bp-asm.h".
12623 (PARMS): Do not use macros from bp-asm.h.
12624 (DEST): Likewise.
12625 (SRC): Likewise.
12626 (LEN): Likewise.
12627 (memcpy): Likewise. Do not use BP_SYM.
12628 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
12629 libc_hidden_def and weak_alias.
12630 (mempcpy): Do not use BP_SYM in weak_alias.
12631 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
12632 "bp-asm.h".
12633 (PARMS): Do not use macros from bp-asm.h.
12634 (DEST): Likewise.
12635 (LEN): Likewise.
12636 [!BZERO_P] (CHR): Likewise.
12637 (memset): Likewise. Do not use BP_SYM.
12638 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
12639 "bp-asm.h".
12640 (PARMS): Do not use macros from bp-asm.h.
12641 (S1): Likewise.
12642 (SIZE): Likewise.
12643 (__mpn_mul_1): Do not use BP_SYM.
12644 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
12645 "bp-asm.h".
12646 (PARMS): Do not use macros from bp-asm.h.
12647 (S): Likewise.
12648 (SIZE): Likewise.
12649 (__mpn_rshift): Do not use BP_SYM.
12650 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
12651 "bp-asm.h".
12652 (PARMS): Do not use macros from bp-asm.h.
12653 (STR): Likewise.
12654 (CHR): Likewise.
12655 (strchr): Likewise. Do not use BP_SYM.
12656 (index): Do not use BP_SYM in weak_alias.
12657 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
12658 "bp-asm.h".
12659 (PARMS): Do not use macros from bp-asm.h.
12660 (DEST): Likewise.
12661 (SRC): Likewise.
12662 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
12663 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
12664 "bp-asm.h".
12665 (PARMS): Do not use macros from bp-asm.h.
12666 (strlen): Do not use BP_SYM.
12667 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
12668 "bp-asm.h".
12669 (PARMS): Do not use macros from bp-asm.h.
12670 (S1): Likewise.
12671 (S2): Likewise.
12672 (SIZE): Likewise.
12673 (__mpn_sub_n): Do not use BP_SYM.
12674 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
12675 "bp-asm.h".
12676 (PARMS): Do not use macros from bp-asm.h.
12677 (S1): Likewise.
12678 (SIZE): Likewise.
12679 (__mpn_submul_1): Do not use BP_SYM.
12680 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
12681 "bp-asm.h".
12682 (PARMS): Do not use macros from bp-asm.h.
12683 (S1): Likewise.
12684 (S2): Likewise.
12685 (SIZE): Likewise.
12686 (__mpn_add_n): Do not use BP_SYM.
12687 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
12688 weak_alias.
12689 (bzero): Likewise.
12690 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
12691 "bp-asm.h".
12692 (PARMS): Do not use macros from bp-asm.h.
12693 (BLK2): Likewise.
12694 (LEN): Likewise.
12695 (memcmp): Do not use BP_SYM.
12696 (bcmp): Do not use BP_SYM in weak_alias.
12697 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
12698 "bp-asm.h".
12699 (PARMS): Do not use macros from bp-asm.h.
12700 (DEST): Likewise.
12701 (SRC): Likewise.
12702 (LEN): Likewise.
12703 (memcpy): Likewise. Do not use BP_SYM.
12704 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
12705 "bp-asm.h".
12706 (PARMS): Do not use macros from bp-asm.h.
12707 (DEST): Likewise.
12708 (SRC): Likewise.
12709 (LEN): Likewise.
12710 (memmove): Likewise. Do not use BP_SYM.
12711 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
12712 "bp-asm.h".
12713 (PARMS): Do not use macros from bp-asm.h.
12714 (DEST): Likewise.
12715 (SRC): Likewise.
12716 (LEN): Likewise.
12717 (__mempcpy): Likewise. Do not use BP_SYM.
12718 (mempcpy): Do not use BP_SYM in weak_alias.
12719 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
12720 "bp-asm.h".
12721 (PARMS): Do not use macros from bp-asm.h.
12722 (DEST): Likewise.
12723 (LEN): Likewise.
12724 [!BZERO_P] (CHR): Likewise.
12725 (memset): Likewise. Do not use BP_SYM.
12726 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
12727 "bp-asm.h".
12728 (PARMS): Do not use macros from bp-asm.h.
12729 (STR2): Likewise.
12730 (strcmp): Do not use BP_SYM.
12731 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
12732 "bp-asm.h".
12733 (PARMS): Do not use macros from bp-asm.h.
12734 (STR): Likewise.
12735 (DELIM): Likewise.
12736 [USE_AS_STRTOK_R] (SAVE): Likewise.
12737 (FUNCTION): Likewise. Do not use BP_SYM.
12738 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
12739 aliases.
12740 (strtok_r): Likewise.
12741 (__GI___strtok_r): Likewise.
12742 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12743 (PARMS): Do not use macros from bp-asm.h.
12744 (S): Likewise.
12745 (SIZE): Likewise.
12746 (__mpn_lshift): Do not use BP_SYM.
12747 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12748 (PARMS): Do not use macros from bp-asm.h.
12749 (STR): Likewise.
12750 (CHR): Likewise.
12751 (__memchr): Do not use BP_SYM.
12752 (memchr): Do not use BP_SYM in weak_alias.
12753 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12754 (PARMS): Do not use macros from bp-asm.h.
12755 (BLK2): Likewise.
12756 (LEN): Likewise.
12757 (memcmp): Do not use BP_SYM.
12758 (bcmp): Do not use BP_SYM in weak_alias.
12759 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
12760 (PARMS): Do not use macros from bp-asm.h.
12761 (S1): Likewise.
12762 (SIZE): Likewise.
12763 (__mpn_mul_1): Do not use BP_SYM.
12764 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
12765 "bp-asm.h".
12766 (PARMS): Do not use macros from bp-asm.h.
12767 (STR): Likewise.
12768 (CHR): Likewise.
12769 (__rawmemchr): Do not use BP_SYM.
12770 (rawmemchr): Do not use BP_SYM in weak_alias.
12771 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12772 (PARMS): Do not use macros from bp-asm.h.
12773 (S): Likewise.
12774 (SIZE): Likewise.
12775 (__mpn_rshift): Do not use BP_SYM.
12776 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12777 (PARMS): Do not use macros from bp-asm.h.
12778 (SIGMSK): Likewise.
12779 (__sigsetjmp): Likewise. Do not use BP_SYM.
12780 * sysdeps/i386/start.S: Do not include "bp-sym.h".
12781 (_start): Do not use BP_SYM.
12782 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
12783 (PARMS): Do not use macros from bp-asm.h.
12784 (DEST): Likewise.
12785 (SRC): Likewise.
12786 (__stpcpy): Likewise. Do not use BP_SYM.
12787 (stpcpy): Do not use BP_SYM in weak_alias.
12788 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
12789 "bp-asm.h".
12790 (PARMS): Do not use macros from bp-asm.h.
12791 (DEST): Likewise.
12792 (SRC): Likewise.
12793 (LEN): Likewise.
12794 (__stpncpy): Likewise. Do not use BP_SYM.
12795 (stpncpy): Do not use BP_SYM in weak_alias.
12796 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12797 (PARMS): Do not use macros from bp-asm.h.
12798 (STR): Likewise.
12799 (CHR): Likewise.
12800 (strchr): Likewise. Do not use BP_SYM.
12801 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
12802 "bp-asm.h".
12803 (PARMS): Do not use macros from bp-asm.h.
12804 (STR): Likewise.
12805 (CHR): Likewise.
12806 (__strchrnul): Likewise. Do not use BP_SYM.
12807 (strchrnul): Do not use BP_SYM in weak_alias.
12808 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
12809 "bp-asm.h".
12810 (PARMS): Do not use macros from bp-asm.h.
12811 (STOP): Likewise.
12812 (strcspn): Do not use BP_SYM.
12813 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
12814 "bp-asm.h".
12815 (PARMS): Do not use macros from bp-asm.h.
12816 (STR): Likewise.
12817 (STOP): Likewise.
12818 (strpbrk): Likewise. Do not use BP_SYM.
12819 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
12820 "bp-asm.h".
12821 (PARMS): Do not use macros from bp-asm.h.
12822 (STR): Likewise.
12823 (CHR): Likewise.
12824 (strrchr): Likewise. Do not use BP_SYM.
12825 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
12826 (PARMS): Do not use macros from bp-asm.h.
12827 (SKIP): Likewise.
12828 (strspn): Do not use BP_SYM.
12829 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
12830 (PARMS): Do not use macros from bp-asm.h.
12831 (STR): Likewise.
12832 (DELIM): Likewise.
12833 (SAVE): Likewise.
12834 (FUNCTION): Likewise. Do not use BP_SYM.
12835 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
12836 aliases.
12837 (strtok_r): Likewise.
12838 (__GI___strtok_r): Likewise.
12839 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12840 (PARMS): Do not use macros from bp-asm.h.
12841 (S1): Likewise.
12842 (S2): Likewise.
12843 (SIZE): Likewise.
12844 (__mpn_sub_n): Do not use BP_SYM.
12845 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
12846 "bp-asm.h".
12847 (PARMS): Do not use macros from bp-asm.h.
12848 (S1): Likewise.
12849 (SIZE): Likewise.
12850 (__mpn_submul_1): Do not use BP_SYM.
12851 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
12852 <bp-sym.h>.
12853 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
12854 and <bp-asm.h>.
12855 (PARMS): Do not use macros from bp-asm.h.
12856 (FLAGS): Likewise.
12857 (PTID): Likewise.
12858 (TLS): Likewise.
12859 (CTID): Likewise.
12860 (__clone): Do not use BP_SYM.
12861 (clone): Do not use BP_SYM in weak_alias.
12862 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
12863 and <bp-asm.h>.
12864 (PARMS): Do not use macros from bp-asm.h.
12865 (LEN): Likewise.
12866 (__mmap64): Do not use BP_SYM.
12867 (mmap64): Do not use BP_SYM in weak_alias.
12868 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
12869 <bp-sym.h> and <bp-asm.h>.
12870 (PARMS): Do not use macros from bp-asm.h.
12871 (__posix_fadvise64_l64): Do not use BP_SYM.
12872 * sysdeps/unix/sysv/linux/i386/semtimedop.S
12873 (PARMS): Do not use macros from bp-asm.h.
12874 (NSOPS): Likewise.
12875 (semtimedop): Do not use BP_SYM.
12876 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
12877 and <bp-asm.h>.
12878
582a3cff
AM
128792013-02-21 Allan McRae <allan@archlinux.org>
12880
12881 * manual/message.texi (Charset conversion in gettext):
12882 Move @end statement to beginning of line.
12883
bab8a695
SP
128842013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12885
80945231
SP
12886 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
12887 static.
12888 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
12889 Likewise.
12890
bab8a695
SP
12891 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
12892 (denorm): Likewise.
12893 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
12894 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
12895
e21d7aa7
AK
128962013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12897
12898 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
12899 tail-call to the resolved function if pltexit isn't needed.
12900
4c7a4263
SP
129012013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12902
12903 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
12904 or Y being zero as being unlikely.
12905 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
12906 Likewise.
12907
41f49342
CD
129082013-02-20 Carlos O'Donell <carlos@redhat.com>
12909
12910 * manual/nss.texi (System Databases and Name Service Switch):
12911 Remove frobnicate @pxref.
12912
50022a93
TS
129132013-02-20 Thomas Schwinge <thomas@codesourcery.com>
12914
12915 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12916 __attribute__ ((unused)) to __attribute__ ((__unused__)).
12917
08cbd996
PM
129182013-02-20 Petr Machata <pmachata@redhat.com>
12919
12920 * elf/elf.h (R_ARM_TARGET1): New macro.
12921 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
12922 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
12923 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
12924 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
12925 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
12926 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
12927 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
12928 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
12929 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
12930 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
12931 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
12932 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
12933 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
12934 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
12935 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
12936 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
12937 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
12938 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
12939 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
12940 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
12941 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
12942 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
12943 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
12944 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
12945 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
12946 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
12947 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
12948 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
12949 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
12950 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
12951 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
12952 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
12953 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
12954 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
12955 (R_ARM_THM_GOT_BREL12): Likewise.
12956 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
12957 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
12958 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
12959 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
12960 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
12961 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
12962 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
12963 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
12964 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
12965
c7b275d6
TS
129662013-02-20 Thomas Schwinge <thomas@codesourcery.com>
12967
12968 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12969 __attribute_used__ to __attribute__ ((unused)).
12970
20cd7fb3
SP
129712013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12972
12973 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
12974 powerpc mpa.c.
12975 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
12976 comment formatting.
12977 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
12978
92945b52
JM
129792013-02-19 Joseph Myers <joseph@codesourcery.com>
12980
12981 [BZ #13550]
12982 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
12983 Remove macro.
12984 (ENTER): Remove both macro definitions.
12985 (LEAVE): Likewise.
12986 (CHECK_BOUNDS_LOW): Likewise.
12987 (CHECK_BOUNDS_HIGH): Likewise.
12988 (CHECK_BOUNDS_BOTH): Likewise.
12989 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
12990 (RETURN_BOUNDED_POINTER): Likewise.
12991 (RETURN_NULL_BOUNDED_POINTER): Likewise.
12992 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
12993 (POP_ERRNO_LOCATION_RETURN): Likewise.
12994 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
12995 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12996 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
12997 macros.
12998 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12999 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
13000 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
13001 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
13002 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
13003 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
13004 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
13005 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
13006 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
13007 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
13008 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
13009 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
13010 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13011 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
13012 removed macros.
13013 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13014 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
13015 macros.
13016 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13017 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
13018 * sysdeps/i386/i586/memset.S (memset): Likewise.
13019 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
13020 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13021 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
13022 macros.
13023 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13024 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
13025 Change uses of L(2) to L(out).
13026 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
13027 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
13028 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
13029 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13030 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
13031 removed macros.
13032 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13033 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
13034 macros.
13035 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13036 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
13037 (RETURN): Do not use macro LEAVE.
13038 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
13039 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
13040 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
13041 * sysdeps/i386/i686/memset.S (memset): Likewise.
13042 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
13043 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
13044 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
13045 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
13046 Likewise.
13047 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13048 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
13049 L(1_2) and L(1_3) into L(1).
13050 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
13051 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
13052 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13053 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
13054 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
13055 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
13056 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
13057 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13058 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
13059 macros.
13060 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
13061 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13062 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
13063 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
13064 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
13065 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13066 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
13067 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
13068 * sysdeps/i386/strcspn.S (strcspn): Likewise.
13069 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
13070 * sysdeps/i386/strrchr.S (strrchr): Likewise.
13071 * sysdeps/i386/strspn.S (strspn): Likewise.
13072 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
13073 conditional code.
13074 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13075 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
13076 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
13077 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
13078 L(1_3) into L(1_1).
13079 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
13080 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13081 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
13082 macros.
13083 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13084
2389741a
JJ
130852013-02-19 Jakub Jelinek <jakub@redhat.com>
13086
13087 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
13088 macro.
13089
2016b3cd
SP
130902013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13091
e4f22324
SP
13092 * math/atest-exp.c (exp_mpn): Remove ROUND.
13093 * math/atest-exp2.c (exp_mpn): Likewise.
13094 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
13095
2016b3cd
SP
13096 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
13097 * stdlib/tst-tls-atexit-lib.c: Likewise.
13098 * stdlib/tst-tls-atexit.c: Likewise.
13099
4be9b544
MF
131002013-02-18 Mike Frysinger <vapier@gentoo.org>
13101
13102 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
13103 and __attribute_alloc_size__.
13104
2f62b9ee
MF
131052013-02-18 Mike Frysinger <vapier@gentoo.org>
13106
13107 * include/programs/xmalloc.h: Change __attribute_alloc_size to
13108 __attribute_alloc_size__.
13109 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
13110 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
13111
6ff444c4
MF
131122013-02-18 Mike Frysinger <vapier@gentoo.org>
13113
13114 * include/programs/xmalloc.h: New file.
13115 * catgets/gencat.c: Include it.
13116 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
13117 * elf/pldd.c: Likewise.
13118 * iconv/iconv_charmap.c: Likewise.
13119 * iconv/iconvconfig.c: Likewise.
13120 * iconv/strtab.c: Likewise.
13121 * locale/programs/locale.c: Likewise.
13122 * locale/programs/localedef.h: Likewise.
13123 * locale/programs/simple-hash.c: Likewise.
13124 * nscd/nscd.h: Likewise.
13125 * nss/makedb.c: Likewise.
13126 * sysdeps/generic/ldconfig.h: Likewise.
13127
be179c8a
SP
131282013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13129
ba384f6e
SP
13130 * Versions.def: Add GLIBC_2.18.
13131 * include/link.h (struct link_map): New member l_tls_dtor_count.
13132 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
13133 (__call_tls_dtors): Likewise.
13134 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
13135 __cxa_thread_atexit_impl.
13136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13137 Likewise.
13138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13139 Likewise.
13140 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
13141 Likewise.
13142 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
13143 Likewise.
13144 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
13145 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
13146 Likewise.
13147 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
13148 Likewise.
13149 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
13150 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
13151 Likewise.
13152 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
13153 (tests): Add test case tst-tls-atexit.
13154 (modules-names): Add shared library for tst-tls-atexit.
85891aca 13155 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
13156 (GLIBC_PRIVATE): Add __call_tls_dtors.
13157 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
13158 for libstdc++.
13159 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
13160 * stdlib/tst-tls-atexit.c: New test case.
13161 * stdlib/tst-tls-atexit-lib.c: New test case.
13162
ffaa74cf 13163 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 13164
be179c8a
SP
13165 * elf/Versions (ld): Add _dl_find_dso_for_object.
13166 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
13167 * elf/dl-open.c (_dl_find_dso_for_object): New function.
13168 (dl_open_worker): Use _dl_find_dso_for_object.
13169 * elf/dl-sym.c (do_sym): Likewise.
13170 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
13171
f78b5caa
AK
131722013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13173
13174 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
13175 Syntactic changes only.
13176 (_dl_runtime_profile): Do a tail-call to the resolved function.
13177
29691210
JM
131782013-02-17 Joseph Myers <joseph@codesourcery.com>
13179
13180 [BZ #13550]
13181 * sysdeps/x86_64/bp-asm.h: Remove file.
13182 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
13183 <bp-sym.h> and <bp-asm.h>.
13184 (__clone): Do not use BP_SYM.
13185 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
13186 <bp-sym.h> and <bp-asm.h>.
13187 * sysdeps/unix/x86_64/sysdep.S: Likewise.
13188 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
13189 "bp-asm.h".
13190 (_setjmp): Do not use BP_SYM.
13191 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
13192 "bp-asm.h".
13193 (setjmp): Do not use BP_SYM.
13194 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
13195 libc_hidden_def.
13196 (mempcpy): Do not use BP_SYM in weak_alias.
13197 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
13198 "bp-asm.h".
13199 (strchr): Do not use BP_SYM.
13200 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
13201 "bp-asm.h".
13202 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
13203 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
13204 (_start): Do not use BP_SYM.
13205 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
13206 "bp-asm.h".
13207 (strcat): Do not use BP_SYM.
13208 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
13209 "bp-asm.h".
13210 (STRCMP): Do not use BP_SYM.
13211 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
13212 "bp-asm.h".
13213 (STRCPY): Do not use BP_SYM.
13214 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
13215 "bp-asm.h".
13216 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
13217 "bp-asm.h".
13218 (FUNCTION): Do not use BP_SYM.
13219 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
13220 weak_alias.
13221 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
13222
f238fd19
AJ
132232013-02-17 Andreas Jaeger <aj@suse.de>
13224
13225 * time/Versions: Sort entries.
13226 * string/Versions: Likewise.
13227 * resolv/Versions: Likewise.
13228 * posix/Versions: Likewise.
13229 * iconv/Versions: Likewise.
13230 * elf/Versions: Likewise.
13231 * wcsmbs/Versions: Likewise.
13232
bd07f23c 132332013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 13234
22af19f9
SP
13235 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
13236 loop termination condition.
13237
4709fe76
SP
13238 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
13239 variable to calculate EZ.
13240 (__sqr): Likewise.
2d0e0f29
SP
13241
13242 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
13243 the lower precision input.
13244
daaa7713
JM
132452013-02-15 Joseph Myers <joseph@codesourcery.com>
13246
13247 [BZ #13550]
13248 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
13249 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
13250 (run-via-rtld-prefix): Do not handle %-bp tests.
13251 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
13252 (all-object-suffixes): Remove .ob.
13253 (bppfx): Remove variable.
13254 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
13255 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
13256 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
13257 [$(build-bounded) = yes] (libtype.ob): Likewise.
13258 * Makerules (elide-routines.ob): Remove variable.
13259 (do-tests-clean): Do not handle *-bp.out.
13260 (common-mostlyclean): Do not handle *-bp and *-bp.out.
13261 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
13262 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
13263 (tests): Do not include $(tests-bp.out).
13264 (xtests): Do not include $(xtests-bp.out).
13265 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
13266 [$(build-bounded) = yes] ($(addprefix
13267 $(objpfx),$(binaries-bounded))): Remove rule.
13268 ($(objpfx)%-bp.out): Remove rule.
13269 * config.make.in (build-bounded): Remove variable.
13270 * crypt/Makefile [$(build-bounded) = yes]
13271 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
13272 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
13273 append to variable.
13274 [$(build-bounded) = yes] (install-lib): Likewise.
13275 [$(build-bounded) = yes] (generated): Likewise.
13276 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
13277 Remove rule.
13278 * intl/Makefile [$(build-bounded) = yes]
13279 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
13280 * math/Makefile [$(build-bounded) = yes]
13281 ($(tests:%=$(objpfx)%-bp): Likewise.
13282 * misc/Makefile [$(build-bounded) = yes]
13283 ($(objpfx)tst-tsearch-bp): Likewise.
13284 * nptl/Makeconfig (bounded-thread-library): Remove variable.
13285 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
13286 Remove dependency.
13287 * string/Makefile (o-objects.ob): Remove variable.
13288 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
13289 (CFLAGS-.ob): Remove variable.
13290 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
13291 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
13292 both definitions of variable.
13293 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
13294 (ASFLAGS-.ob): Remove variable.
13295
e97ed6dd
JM
132962013-02-14 Joseph Myers <joseph@codesourcery.com>
13297
2bdd4ca6
JM
13298 [BZ #13550]
13299 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
13300 Remove __BOUNDED_POINTERS__ from condition.
13301 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
13302 * string/bits/string2.h [!__NO_STRING_INLINES &&
13303 !__BOUNDED_POINTERS__]: Likewise.
13304 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
13305 Likewise.
13306 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
13307 Remove conditional code.
13308 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
13309 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
13310 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
13311 condition.
13312
e97ed6dd
JM
13313 [BZ #13550]
13314 * csu/libc-start.c: Do not include <bp-sym.h>.
13315 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
13316 * elf/dl-open.c: Do not include <bp-sym.h>.
13317 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
13318 * math/fegetenv.c: Do not include <bp-sym.h>.
13319 (fegetenv): Do not use BP_SYM in versioned symbols.
13320 * nptl/sysdeps/pthread/bits/libc-lockP.h
13321 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
13322 <bp-sym.h>.
13323 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13324 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
13325 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13326 (__pthread_mutex_destroy): Likewise.
13327 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13328 (__pthread_mutex_lock): Likewise.
13329 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13330 (__pthread_mutex_trylock): Likewise.
13331 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13332 (__pthread_mutex_unlock): Likewise.
13333 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13334 (__pthread_mutexattr_init): Likewise.
13335 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13336 (__pthread_mutexattr_destroy): Likewise.
13337 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13338 (__pthread_mutexattr_settype): Likewise.
13339 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13340 (__pthread_rwlock_init): Likewise.
13341 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13342 (__pthread_rwlock_destroy): Likewise.
13343 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13344 (__pthread_rwlock_rdlock): Likewise.
13345 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13346 (__pthread_rwlock_tryrdlock): Likewise.
13347 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13348 (__pthread_rwlock_wrlock): Likewise.
13349 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13350 (__pthread_rwlock_trywrlock): Likewise.
13351 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13352 (__pthread_rwlock_unlock): Likewise.
13353 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13354 (__pthread_key_create): Likewise.
13355 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13356 (__pthread_setspecific): Likewise.
13357 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13358 (__pthread_getspecific): Likewise.
13359 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
13360 Likewise.
13361 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13362 (_pthread_cleanup_push_defer): Likewise.
13363 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13364 (_pthread_cleanup_pop_restore): Likewise.
13365 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13366 (pthread_setcancelstate): Likewise.
13367 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
13368 <bp-sym.h>.
13369 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
13370 (memchr): Do not use BP_SYM in weak_alias.
13371 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
13372 (fegetenv): Do not use BP_SYM in versioned symbols.
13373 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
13374 (fesetenv): Do not use BP_SYM in versioned symbols.
13375 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
13376 (feupdateenv): Do not use BP_SYM in versioned symbols.
13377 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
13378 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
13379 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
13380 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
13381 (open64): Do not use BP_SYM in weak_alias.
13382 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
13383 (fegetenv): Do not use BP_SYM in versioned symbols.
13384 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
13385 (fesetenv): Do not use BP_SYM in versioned symbols.
13386 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
13387 (feupdateenv): Do not use BP_SYM in versioned symbols.
13388 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
13389 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
13390 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
13391 (feraiseexcept): Do not use BP_SYM in versioned symbols.
13392 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
13393 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
13394 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
13395 <bp-sym.h>.
13396 (__libc_start_main): Do not use BP_SYM.
13397
d6752ccd
SP
133982013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13399
cb57ce60
SP
13400 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
13401 redundant return line.
13402 (norm): Likewise.
13403 (denorm): Likewise.
13404 (dbl_mp): Likewise.
13405 (sub_magnitudes): Likewise.
13406 (__add): Likewise.
13407 (__sub): Likewise.
13408 (__mul): Likewise.
13409 (__inv): Likewise.
13410 (__dvd): Likewise.
13411 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
13412 (norm): Likewise.
13413 (denorm): Likewise.
13414 (dbl_mp): Likewise.
13415 (sub_magnitudes): Likewise.
13416 (__add): Likewise.
13417 (__sub): Likewise.
13418 (__mul): Likewise.
13419 (__inv): Likewise.
13420 (__dvd): Likewise.
13421
f414520d
SP
13422 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
13423 instead of __mul.
13424 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
13425 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
13426 (cc32): Likewise.
13427
d6752ccd
SP
13428 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
13429 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
13430 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
13431 of __mul for squares.
13432 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
13433 function
13434 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
13435 Likewise.
13436 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
13437 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13438
70d9946a
JM
134392013-02-13 Joseph Myers <joseph@codesourcery.com>
13440
13441 [BZ #13550]
13442 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
13443 code.
13444 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
13445 prototype or function definition. Rename ubp_* variables and
13446 parameters. Remove argv definitions conditional on
13447 [__BOUNDED_POINTERS__].
13448 * debug/backtrace.c (__backtrace): Do not use __unbounded.
13449 * elf/dl-runtime.c (_dl_fixup): Likewise.
13450 * include/set-hooks.h (RUN_HOOK): Likewise.
13451 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
13452 definition.
13453 * string/strcpy.c (strcpy): Do not use __unbounded.
13454 * sysdeps/generic/frame.h (struct layout): Likewise.
13455 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
13456 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
13457 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
13458 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
13459 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
13460 (__backtrace): Likewise.
13461 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
13462 use __ptrvalue.
13463 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
13464 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13465 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
13466 Likewise.
13467 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
13468 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
13469 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
13470 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13471 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
13472 Do not use __unbounded.
13473 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
13474 Rename __unboundedrlimits parameter to rlimits in prototype.
13475 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
13476 Do not use __unbounded.
13477 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
13478 not use __ptrvalue.
13479 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13480 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
13481 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13482 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
13483 __ptrvalue or __unbounded.
13484 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
13485 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
13486 use __unbounded.
13487 (__new_msgctl): Do not use __ptrvalue.
13488 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
13489 __unbounded.
13490 (__libc_msgrcv): Do not use __ptrvalue.
13491 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
13492 startup_info): Do not use __unbounded.
13493 (__libc_start_main): Likewise. Rename ubp_* variables and
13494 parameters. Remove argv definitions conditional on
13495 [__BOUNDED_POINTERS__].
13496 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
13497 __ptrvalue.
13498 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
13499 use __unbounded.
13500 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
13501 or __ptrvalue.
13502 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
13503 use __unbounded.
13504 (__new_shmctl): Do not use __ptrvalue.
13505 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
13506 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
13507 Likewise.
13508 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
13509 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
13510 (__libc_sigaction): Likewise.
13511 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
13512 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
13513 Likewise.
13514 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13515
cc7834d6
OB
135162013-02-13 Ondřej Bílka <neleai@seznam.cz>
13517
ffb1ec7b 13518 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
13519
13520 * string/mempcpy.c: Implement by calling memcpy.
13521
bdf02814
SP
135222013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13523
c2af38aa
SP
13524 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
13525
4e92d59e
SP
13526 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
13527 evaluation.
13528
909279a5
SP
13529 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
13530 values in the mantissa.
13531
bdf02814
SP
13532 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
13533 minimize writes to Z.
13534 (sub_magnitudes): Simplify code a bit.
13535
cd525923
RM
135362013-02-12 Roland McGrath <roland@hack.frob.com>
13537
13538 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
13539 from the message. The linker prefixes all warnings with that already.
13540
7e2f0d2d
AS
135412013-02-12 Andreas Schwab <schwab@suse.de>
13542
a445af0b
AS
13543 [BZ #15078]
13544 * posix/regexec.c (extend_buffers): Add parameter min_len.
13545 (check_matching): Pass minimum needed length.
13546 (clean_state_log_if_needed): Likewise.
13547 (get_subexp): Likewise.
13548 * posix/Makefile (tests): Add bug-regex34.
13549 (bug-regex34-ENV): Define.
13550 * posix/bug-regex34.c: New file.
13551
7e2f0d2d
AS
13552 [BZ #11561]
13553 * posix/regcomp.c (parse_bracket_exp): When looking up collating
13554 elements compare against the byte sequence of it, not its name.
13555 * posix/Makefile (tests): Add bug-regex35.
13556 (bug-regex35-ENV): Define.
13557 * posix/bug-regex35.c: New file.
13558
a175b684
TV
135592013-02-11 Tom de Vries <tom@codesourcery.com>
13560
13561 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
13562 comment.
13563 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
13564 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
13565 (CHECK_EOL): Add undef.
13566
310998fe 135672013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
13568
13569 * bits/stdlib-bsearch.h: New file.
13570 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 13571 * stdlib/stdlib.h: Likewise.
41eda41d 13572
8ded91fb
RM
135732013-02-11 Roland McGrath <roland@hack.frob.com>
13574
13575 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
13576 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
13577 declaration.
13578 * manual/search.texi (Array Search Function): Add missing const in
13579 lfind prototype.
13580 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
13581 declaration to use rlim_t.
13582 (Basic Scheduling Functions): Remove erroneous const from
13583 sched_getparam prototype. Remove erroneous * from
13584 sched_get_priority_max and sched_get_priority_min prototypes.
13585 (Resource Usage): Fix summary @comment on vtimes to refer to
13586 sys/vtimes.h rather than vtimes.h.
13587 Add missing *s in vtimes prototype.
13588 (Limits on Resources): Fix ulimit prototype to return long int.
13589 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
13590 prototypes to use long int rather than double.
13591 (BSD Random): Fix initstate and setstate to use char *, not void *.
13592 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
13593 prototype to make second argument 'struct aiocb64 *const[]'.
13594 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
13595 (Status of AIO Operations): Remove erroneous const in aio_return and
13596 aio_return64 prototypes.
13597 (Synchronizing I/O): Fix sync prototype to return void.
13598 * manual/startup.texi (Suboptions): Remove an erroneous const in
13599 getsubopt prototype.
13600 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
13601 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
13602 use size_t rather than int.
13603 (Scanning All Users): Likewise for getpwent_r.
13604 (Setting Groups): Add missing const to setgroups prototype.
13605 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
13606 * manual/socket.texi (Host Names): Fix gethostbyaddr and
13607 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
13608 'const void *' rather than 'const char *'.
13609 (Host Address Functions): Likewise for inet_ntop.
13610 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
13611 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
13612 ssize_t for return value.
13613 (Sending Data): Likewise for send, sendto, sendmsg.
13614 (Socket Option Functions): Add a missing const in setsockopt prototype.
13615 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
13616 use wchar_t for the argument.
13617 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
13618 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
13619 take no arguments.
13620 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
13621 double/float/long double for second argument.
13622 Fix return types of significand, significandf, significandl.
13623 * manual/filesys.texi (Setting Permissions): Use mode_t for second
13624 argument in fchmod prototype.
13625 (File Owner): Use uid_t and gid_t in fchown prototype.
13626 (File Times): Add const to utimes, futimes, and lutimes prototypes.
13627 (Making Special Files): Use mode_t and dev_t in mknod prototype.
13628 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
13629 use 'const struct dirent **' as argument types to CMP function pointer
13630 argument.
13631 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
13632 (File Times): Fix summary magic @comment for struct utimbuf and utime
13633 to refer to utime.h, not time.h.
13634 * manual/string.texi (Argz Functions): Add missing const in
13635 argz_extract and argz_next prototypes.
13636 (Finding Tokens in a String): Likewise for basename.
13637 (String/Array Comparison): Fix typo in wcscasecmp prototype.
13638 (Copying and Concatenation): Fix typo in wmemmove prototype.
13639 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
13640 (Signal Stack): Remove erroneous const in sigstack prototype.
13641 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
13642 prototype.
13643 (Simple Calendar Time): Likewise for stime.
13644 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
13645 prototype.
13646 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
13647 say sys/sysctl.h instead.
13648 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
13649 and vsyslog prototypes.
13650
fe77fe6d
TV
136512013-02-11 Tom de Vries <tom@codesourcery.com>
13652
13653 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
13654 Remove.
13655
3a09b620
RM
136562013-02-11 Roland McGrath <roland@hack.frob.com>
13657
13658 * misc/sys/mman.h: Fix typo in mremap comment.
13659
550a0b89
RM
136602013-02-08 Roland McGrath <roland@hack.frob.com>
13661
13662 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
13663 the '\0' terminator.
13664
a2da1673
JM
136652013-02-08 Joseph Myers <joseph@codesourcery.com>
13666
13667 [BZ #13550]
13668 * debug/segfault.c: Don't include <bp-checks.h>.
13669 * sysdeps/generic/bp-checks.h: Remove file.
13670 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
13671 (__GETDENTS): Don't use CHECK_N.
13672 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
13673 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
13674 (__getgroups): Don't use CHECK_N.
13675 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
13676 (setgroups): Don't use CHECK_N.
13677 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
13678 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
13679 (__libc_msgrcv): Don't use CHECK_N.
13680 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
13681 (__libc_msgsnd): Don't use CHECK_N.
13682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
13683 <bp-checks.h>.
13684 (__libc_pread): Don't use CHECK_N.
13685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
13686 include <bp-checks.h>.
13687 (__libc_pread64): Don't use CHECK_N.
13688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
13689 include <bp-checks.h>.
13690 (__libc_pwrite): Don't use CHECK_N.
13691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
13692 include <bp-checks.h>.
13693 (__libc_pwrite64): Don't use CHECK_N.
13694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
13695 <bp-checks.h>.
13696 (__libc_pread): Don't use CHECK_N.
13697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
13698 include <bp-checks.h>.
13699 (__libc_pread64): Don't use CHECK_N.
13700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
13701 include <bp-checks.h>.
13702 (__libc_pwrite): Don't use CHECK_N.
13703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
13704 include <bp-checks.h>.
13705 (__libc_pwrite64): Don't use CHECK_N.
13706 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
13707 (do_pread): Don't use CHECK_N.
13708 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
13709 (do_pread64): Don't use CHECK_N.
13710 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
13711 (do_pwrite): Don't use CHECK_N.
13712 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
13713 (do_pwrite64): Don't use CHECK_N.
13714 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
13715 (__libc_readv): Don't use CHECK_N.
13716 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
13717 (semop): Don't use CHECK_N.
13718 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
13719 <bp-checks.h>.
13720 (semtimedop): Don't use CHECK_N.
13721 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
13722 (__libc_pread): Don't use CHECK_N.
13723 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
13724 <bp-checks.h>.
13725 (__libc_pread64): Don't use CHECK_N.
13726 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
13727 <bp-checks.h>.
13728 (__libc_pwrite): Don't use CHECK_N.
13729 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
13730 <bp-checks.h>.
13731 (__libc_pwrite64): Don't use CHECK_N.
13732 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
13733 <bp-checks.h>.
13734 (__libc_msgrcv): Don't use CHECK_N.
13735 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
13736 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
13737 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
13738 (__libc_writev): Don't use CHECK_N.
13739
b84660a8
RM
137402013-02-08 Roland McGrath <roland@hack.frob.com>
13741
7f3e75f8
RM
13742 * string/strcpy.c: Removed unused variable.
13743
b84660a8
RM
13744 * Makeconfig (+sysdep-includes): Define with := rather than =.
13745 Use an existing include/ subdir of each sysdeps dir before it.
13746
471514d3
CD
137472013-02-08 Carlos O'Donell <carlos@redhat.com>
13748
13749 * nscd/connection.c (register_traced_file): Comment function.
13750 [HAVE_INOTIFY] (union __inev): Define.
13751 [HAVE_INOTIFY] (inotify_check_files): New function.
13752 [HAVE_INOTIFY] (clear_db_cache): Likewise.
13753 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
13754 clear_db_cache.
13755 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
13756
b2d3c3be
CD
137572013-02-08 Carlos O'Donell <carlos@redhat.com>
13758
13759 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
13760 loaded if not already and that a failure is permanent.
13761
b39949d2
CD
137622013-02-08 Carlos O'Donell <carlos@redhat.com>
13763
ddacd1db 13764 [BZ #15006]
b39949d2
CD
13765 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
13766 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
13767
b2c9eff4
JM
137682013-02-08 Joseph Myers <joseph@codesourcery.com>
13769
f3aae3f3
JM
13770 [BZ #13550]
13771 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
13772 (CHECK_1_NULL_OK): Likewise.
13773 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
13774 (__fxstat): Do not use CHECK_1.
13775 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
13776 <bp-checks.h>.
13777 (___fxstat64): Do not use CHECK_1.
13778 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
13779 <bp-checks.h>.
13780 (__fxstatat): Do not use CHECK_1.
13781 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
13782 <bp-checks.h>.
13783 (__fxstatat64): Do not use CHECK_1.
13784 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
13785 <bp-checks.h>.
13786 (__fxstat): Do not use CHECK_1.
13787 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
13788 <bp-checks.h>.
13789 (__fxstatat): Do not use CHECK_1.
13790 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
13791 <bp-checks.h>.
13792 (__getresgid): Do not use CHECK_1.
13793 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
13794 <bp-checks.h>.
13795 (__getresuid): Do not use CHECK_1.
13796 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
13797 <bp-checks.h>.
13798 (__lxstat): Do not use CHECK_1.
13799 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
13800 <bp-checks.h>.
13801 (__old_msgctl): Do not use CHECK_1.
13802 (__new_msgctl): Likewise.
13803 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
13804 <bp-checks.h>.
13805 (__new_setrlimit): Do not use CHECK_1.
13806 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
13807 <bp-checks.h>.
13808 (__old_shmctl): Do not use CHECK_1.
13809 (__new_shmctl): Likewise.
13810 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
13811 <bp-checks.h>.
13812 (__xstat): Do not use CHECK_1.
13813 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
13814 (__lxstat): Do not use CHECK_1.
13815 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
13816 <bp-checks.h>.
13817 (___lxstat64): Do not use CHECK_1.
13818 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
13819 (__old_msgctl): Do not use CHECK_1.
13820 (__new_msgctl): Likewise.
13821 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
13822 <bp-checks.h>.
13823 (__gettimeofday): Do not use CHECK_1.
13824 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
13825 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
13826 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
13827 <bp-checks.h>.
13828 (__gettimeofday): Do not use CHECK_1.
13829 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
13830 (__old_shmctl): Do not use CHECK_1_NULL_OK.
13831 (__new_shmctl): Do not use CHECK_1.
13832 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
13833 <bp-checks.h>.
13834 (do_sigtimedwait): Do not use CHECK_1.
13835 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
13836 <bp-checks.h>.
13837 (do_sigwaitinfo): Do not use CHECK_1.
13838 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
13839 <bp-checks.h>.
13840 (msgctl): Do not use CHECK_1.
13841 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
13842 <bp-checks.h>.
13843 (shmctl): Do not use CHECK_1.
13844 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
13845 (ustat): Do not use CHECK_1.
13846 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
13847 <bp-checks.h>.
13848 (__fxstat): Do not use CHECK_1.
13849 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
13850 <bp-checks.h>.
13851 (__fxstatat): Do not use CHECK_1.
13852 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
13853 <bp-checks.h>.
13854 (__lxstat): Do not use CHECK_1.
13855 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
13856 <bp-checks.h>.
13857 (__xstat): Do not use CHECK_1.
13858 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
13859 (__xstat): Do not use CHECK_1.
13860 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
13861 (___xstat64): Do not use CHECK_1.
13862
b2c9eff4
JM
13863 [BZ #13550]
13864 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
13865 definitions.
13866 (CHECK_BOUNDS_HIGH): Likewise.
13867 * string/strcpy.c: Do not include <bp-checks.h>.
13868 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
13869
f1d70dad
RM
138702013-02-07 Roland McGrath <roland@hack.frob.com>
13871
13872 * nscd/nscd-client.h (__nscd_drop_map_ref):
13873 Add __attribute__ ((unused)).
13874 * nis/nss-nisplus.h (niserr2nss): Likewise.
13875
13876 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
13877 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
13878
13879 * csu/libc-tls.c (init_static_tls, init_slotinfo):
13880 Remove inline keyword.
13881 * include/rounding-mode.h (round_away): Likewise.
13882 * libio/wfileops.c (adjust_wide_data): Likewise.
13883 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
13884 (__m128i_strloadu_tolower): Likewise.
13885 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
13886 (__m128i_strloadu_tolower): Likewise.
13887 * time/mktime.c (ydhms_diff): Likewise.
13888 * locale/elem-hash.h (elem_hash): Likewise.
13889 * locale/setlocale.c (setdata): Likewise.
13890 * posix/regex_internal.h (re_string_char_size_at): Likewise.
13891 (re_string_wchar_at): Likewise.
13892 (bitset_not, bitset_merge, bitset_mask): Likewise.
13893 [!(__GNUC__ > 3)] (inline): Remove macro.
13894 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
13895 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
13896 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
13897 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
13898 * string/memcmp.c (memcmp_bytes): Likewise.
13899 * locale/programs/locarchive.c (compute_hashval): Likewise.
13900 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
13901 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
13902 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
13903 * nss/getent.c (print_rpc, print_protocols): Likewise.
13904 (print_passwd, print_group, print_aliases): Likewise.
13905 * nis/nss-nisplus.h (niserr2nss): Likewise.
13906 * nscd/connections.c (restart_p): Likewise.
13907 Change return type to bool.
13908
eab55bfb
RM
139092013-02-05 Roland McGrath <roland@hack.frob.com>
13910
7bd642f5
RM
13911 * Makeconfig (all-Depend-files): Add existing
13912 $(sorted-subdirs:=/Depend) files.
13913 (all-subdirs): Remove nss.
13914 * sysdeps/unix/inet/Subdirs: Add it here instead.
13915 * hesiod/Depend: New file.
13916
573c29b2
RM
13917 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
13918 instead of calling alloca.
13919
b2e25af0
RM
13920 * io/lseek.c (__lseek): Rename to __libc_lseek.
13921 Define __lseek as an alias.
13922
eab55bfb
RM
13923 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
13924
9a0d1941
CD
139252013-02-04 Carlos O'Donell <carlos@redhat.com>
13926
13927 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
13928 else clause and remove check for non-standard endianness.
13929
b83bbec4
DM
139302013-02-04 David S. Miller <davem@davemloft.net>
13931
13932 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13933
6277fdab
JM
139342013-02-04 Joseph Myers <joseph@codesourcery.com>
13935
13936 [BZ #13550]
13937 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
13938 (__ubp_memchr): Remove prototype.
13939 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
13940 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13941 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
13942 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13943 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
13944 Remove alias.
13945 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
13946 (__ubp_memchr): Likewise.
13947 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
13948 (__ubp_memchr): Likewise.
13949 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
13950 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
13951 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
13952 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
13953 CHECK_STRING.
13954 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13955 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
13956 (__getcwd): Do not use CHECK_STRING.
13957 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
13958 <bp-checks.h>.
13959 (__real_chown): Do not use CHECK_STRING.
13960 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
13961 <bp-checks.h>.
13962 (fchownat): Do not use CHECK_STRING.
13963 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
13964 CHECK_STRING.
13965 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
13966 <bp-checks.h>.
13967 (__lchown): Do not use CHECK_STRING.
13968 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13969 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13970 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13971 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
13972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
13973 include <bp-checks.h>.
13974 (truncate64): Do not use CHECK_STRING.
13975 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
13976 <bp-checks.h>.
13977 (__real_chown): Do not use CHECK_STRING.
13978 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
13979 <bp-checks.h>.
13980 (__lchown): Do not use CHECK_STRING.
13981 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
13982 <bp-checks.h>.
13983 (__chown): Do not use CHECK_STRING.
13984 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
13985 <bp-checks.h>.
13986 (truncate64): Do not use CHECK_STRING.
13987 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
13988 Likewise.
13989 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
13990 (__xmknod): Do not use CHECK_STRING.
13991 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
13992 <bp-checks.h>.
13993 (__xmknodat): Do not use CHECK_STRING.
13994 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13995 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
13996
903ae060
AS
139972013-02-04 Andreas Schwab <schwab@suse.de>
13998
13999 [BZ #14142]
14000 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
14001 * include/netdb.h: Likewise for h_errno.
14002 * elf/tst-stackguard1.c: Include <tls.h>.
14003
542f9466
JK
140042013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
14005
14006 * elf/link.h (struct link_map): Extend the l_addr comment.
14007 * include/link.h (struct link_map): Likewise.
14008
e782a927
JM
140092013-02-01 Joseph Myers <joseph@codesourcery.com>
14010
14011 [BZ #13550]
14012 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
14013 (BOUNDED_1): Remove macro.
14014 * debug/backtrace.c: Don't include <bp-checks.h>.
14015 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
14016 (__backtrace): Likewise.
14017 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
14018 <bp-checks.h>.
14019 (__backtrace): Don't use BOUNDED_1.
14020 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
14021 <bp-checks.h>.
14022 (__backtrace): Don't use BOUNDED_1.
14023 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
14024 (__backtrace): Don't use BOUNDED_1.
14025 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
14026 (shmat): Don't use BOUNDED_N.
14027
8cf28c5e
JM
140282013-01-31 Joseph Myers <joseph@codesourcery.com>
14029
3a7ac8a0
JM
14030 [BZ #13550]
14031 * sysdeps/generic/bp-start.h: Remove file.
14032 * csu/libc-start.c: Don't include <bp-start.h>.
14033 (LIBC_START_MAIN): Set up __environ directly instead of using
14034 INIT_ARGV_and_ENVIRON.
14035 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
14036 <bp-start.h>.
14037
f3499f95
JM
14038 [BZ #13550]
14039 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
14040 definitions.
14041 (CHECK_FCNTL): Likewise.
14042 (CHECK_N_PAGES): Likewise.
14043
32a45bea
JM
14044 [BZ #13550]
14045 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
14046 definitions.
14047 (CHECK_SIGSET_NULL_OK): Likewise.
14048 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
14049 <bp-checks.h>.
14050 (sigpending): Don't use CHECK_SIGSET.
14051 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
14052 <bp-checks.h>.
14053 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14054 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
14055 <bp-checks.h>.
14056 (do_sigsuspend): Don't use CHECK_SIGSET.
14057 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
14058 use CHECK_SIGSET.
14059 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
14060 (do_sigwait): Don't use CHECK_SIGSET.
14061 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
14062 use CHECK_SIGSET.
14063 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
14064 include <bp-checks.h>.
14065 (sigpending): Don't use CHECK_SIGSET.
14066 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
14067 include <bp-checks.h>.
14068 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14069 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
14070 <bp-checks.h>.
14071 (sigpending): Don't use CHECK_SIGSET.
14072 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
14073 <bp-checks.h>.
14074 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14075
2e8a5c8c
JM
14076 [BZ #13550]
14077 * sysdeps/generic/bp-semctl.h: Remove file.
14078 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
14079 <bp-checks.h> and <bp-semctl.h>.
14080 (__old_semctl): Don't use CHECK_SEMCTL.
14081 (__new_semctl): Likewise.
14082 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
14083 and <bp-semctl.h>.
14084 (__old_semctl): Don't use CHECK_SEMCTL.
14085 (__new_semctl): Likewise.
14086 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
14087 <bp-checks.h> and <bp-semctl.h>.
14088 (__old_semctl): Don't use CHECK_SEMCTL.
14089 (__new_semctl): Likewise.
14090 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
14091 <bp-checks.h> and <bp-semctl.h>.
14092 (semctl): Don't use CHECK_SEMCTL.
14093
c2d54929
JM
14094 [BZ #13550]
14095 * Makerules (elide-bp-thunks): Remove variable.
14096 (elide-routines.oS): Don't use $(elide-bp-thunks).
14097 (elide-routines.os): Likewise.
14098 (elide-routines.o): Likewise.
14099 (elide-routines.op): Likewise.
14100 (elide-routines.og): Likewise.
14101 (objects): Don't use $(bp-thunks).
14102 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
14103 include.
14104 (common-generated): Do not add s-proto-bp.d.
14105 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
14106 (int): Likewise.
14107 (typ): Likewise.
14108 Do not generate makefile rules for bounded-pointer thunks.
14109 * sysdeps/generic/bp-thunks.h: Remove file.
14110 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
14111 * sysdeps/unix/s-proto-bp.S: Likewise.
14112
8cf28c5e
JM
14113 [BZ #15062]
14114 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
14115 parts of result separately when argument is not close to line from
14116 -i to i and one part of argument is small.
14117 * math/k_casinhf.c (__kernel_casinhf): Likewise.
14118 * math/k_casinhl.c (__kernel_casinhl): Likewise.
14119 * math/libm-test.inc (cacos_test): Add more tests.
14120 (casin_test): Likewise.
14121 (casinh_test): Likewise.
14122 * sysdeps/i386/fpu/libm-test-ulps: Update.
14123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14124
c4e33b8d
DM
141252013-01-31 David S. Miller <davem@davemloft.net>
14126
14127 * po/de.po: Update from translation team.
14128
3b60b421
MK
141292013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
14130
14131 * time/tzfile.c: Include stdint.h for SIZE_MAX.
14132
bb931195
TS
141332013-01-25 Thomas Schwinge <thomas@codesourcery.com>
14134
b5a5da23
TS
14135 * configure.in (_AC_PROG_CC_C89): New definition.
14136 * configure: Regenerate.
14137
bb931195
TS
14138 * configure.in (AC_PROG_CPP): New definition.
14139 * configure: Regenerate.
14140
8c53a12c
JM
141412013-01-23 Joseph Myers <joseph@codesourcery.com>
14142
14143 * debug/tst-backtrace.h: New file.
14144 * debug/tst-backtrace2.c: Include tst-backtrace.h.
14145 (ret): Remove variable.
14146 (x): Likewise.
14147 (FAIL): Remove macro.
14148 (NO_INLINE): Likewise.
14149 (fn1): Use match function instead of strstr.
14150 * debug/tst-backtrace3.c: Include tst-backtrace.h.
14151 (ret): Remove variable.
14152 (x): Likewise.
14153 (FAIL): Remove macro.
14154 (NO_INLINE): Likewise.
14155 (fn): Use match function instead of strstr.
14156 * debug/tst-backtrace4.c: Include tst-backtrace.h.
14157 (ret): Remove variable.
14158 (x): Likewise.
14159 (FAIL): Remove macro.
14160 (NO_INLINE): Likewise.
14161 (handle_signal): Use match function instead of strstr.
14162 * debug/tst-backtrace5.c: Include tst-backtrace.h.
14163 (ret): Remove variable.
14164 (x): Likewise.
14165 (FAIL): Remove macro.
14166 (NO_INLINE): Likewise.
14167 (handle_signal): Use match function instead of strstr.
14168
4858fa2a
RM
141692013-01-23 Roland McGrath <roland@hack.frob.com>
14170
14171 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
14172
bae8e7f5
DM
141732013-01-23 David S. Miller <davem@davemloft.net>
14174
14175 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
14176 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
14177 argument of CAS if possible.
14178 * sysdeps/sparc/sparc64/bits/atomic.h
14179 (__arch_compare_and_exchange_val_32_acq): Likewise.
14180 (__arch_compare_and_exchange_val_64_acq): Likewise.
14181
9cbbc4ae
PT
141822013-01-23 Pino Toscano <toscano.pino@tiscali.it>
14183
14184 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
14185 * sysdeps/posix/ulimit.c: ... this.
92a601b8 14186 Include <limits.h>.
67b3f58c 14187 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 14188
5655a0b5
AC
141892013-01-23 Adam Conrad <adconrad@0c3.net>
14190
14191 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
14192 (LDFLAGS-tst-array5): Likewise.
14193
052aff95
JM
141942013-01-23 Joseph Myers <joseph@codesourcery.com>
14195
14196 [BZ #15036]
14197 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
14198 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
14199 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
14200 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
14201
7c1e01aa
DM
142022013-01-21 David S. Miller <davem@davemloft.net>
14203
14204 * sysdeps/sparc/backtrace.c: New file.
14205 * sysdeps/sparc/sparc32/backtrace.h: New file.
14206 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
14207 * sysdeps/sparc/sparc64/backtrace.h: New file.
14208 * sysdeps/sparc/sparc64/backtrace.c: Delete.
14209 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
14210 -funwind-tables.
14211
ab087e0a
AS
142122013-01-21 Andreas Schwab <schwab@suse.de>
14213
14214 [BZ #15020]
14215 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
14216 closed its stdout.
14217
ed689c2f
AS
142182013-01-20 Andreas Schwab <schwab@linux-m68k.org>
14219
14220 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
14221 "mpa2.h".
14222 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14223
31d470ac
JM
142242013-01-18 Joseph Myers <joseph@codesourcery.com>
14225 Mark Mitchell <mark@codesourcery.com>
14226 Tom de Vries <tom@codesourcery.com>
14227 Paul Pluzhnikov <ppluzhnikov@google.com>
14228
14229 * debug/tst-backtrace2.c: New file.
14230 * debug/tst-backtrace3.c: Likewise.
14231 * debug/tst-backtrace4.c: Likewise.
14232 * debug/tst-backtrace5.c: Likewise.
14233 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
14234 (CFLAGS-tst-backtrace3.c): Likewise.
14235 (CFLAGS-tst-backtrace4.c): Likewise.
14236 (CFLAGS-tst-backtrace5.c): Likewise.
14237 (LDFLAGS-tst-backtrace2): Likewise.
14238 (LDFLAGS-tst-backtrace3): Likewise.
14239 (LDFLAGS-tst-backtrace4): Likewise.
14240 (LDFLAGS-tst-backtrace5): Likewise.
14241 (tests): Add new tests tst-backtrace2, tst-backtrace3,
14242 tst-backtrace4 and tst-backtrace5.
14243
90567f30 142442013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
14245 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14246
14247 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
14248 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
14249 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
14250 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
14251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14252 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
14253 "+r" and remove output regs list as redundant. Add explicit inline
14254 asm to specify register of return val to work around compiler codegen
14255 bug. Remove (int) cast on return value. Add return type parameter to
14256 use in macro so that this macro does not truncate return value for
14257 64-bit values.
14258 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
14259 pass to INTERNAL_VSYSCALL_NCS.
14260 (INLINE_VSYSCALL): Add 'long int' as return type to
14261 INTERNAL_VSYSCALL_NCS macro invocation.
14262 (INTERNAL_VSYSCALL): Add 'long int' as return type to
14263 INTERNAL_VSYSCALL_NCS macro invocation.
14264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14265
d3b9ea61
SP
142662013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14267
0b57daeb
SP
14268 [BZ #14496]
14269 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
14270 Fix application of SIMD FP exception mask.
14271
caa99d06
SP
14272 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
14273 mp_no from a power of two.
14274 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
14275 __mpexp_twomm1. Use __pow_mp.
14276
d3b9ea61
SP
14277 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
14278 multiplication.
14279
1dbaee3c
DM
142802013-01-17 David S. Miller <davem@davemloft.net>
14281
14282 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14283
728d7b43
JM
142842013-01-17 Joseph Myers <joseph@codesourcery.com>
14285
14286 [BZ #15023]
14287 * include/complex.h: Condition contents on [!_COMPLEX_H].
14288 (__kernel_casinhf): New prototype.
14289 (__kernel_casinh): Likewise.
14290 (__kernel_casinhl): Likewise.
14291 * math/Makefile (libm_calls): Add k_casinh.
14292 * math/k_casinh.c: New file.
14293 * math/k_casinhf.c: Likewise.
14294 * math/k_casinhl.c: Likewise.
14295 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
14296 finite nonzero arguments.
14297 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
14298 finite nonzero arguments.
14299 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
14300 finite nonzero arguments.
14301 * math/s_casinh.c: Do not include <float.h>.
14302 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
14303 * math/s_casinhf.c: Do not include <float.h>.
14304 (__casinhf): Move code for finite nonzero arguments to
14305 k_casinhf.c.
14306 * math/s_casinhl.c: Do not include <float.h>.
14307 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
14308 redefine.
14309 (__casinhl): Move code for finite nonzero arguments to
14310 k_casinhl.c.
14311 * math/libm-test.inc (cacos_test): Add more tests.
14312 * sysdeps/i386/fpu/libm-test-ulps: Update.
14313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14314
2a26ef3a
PT
143152013-01-17 Pino Toscano <toscano.pino@tiscali.it>
14316
14317 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
14318 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
14319 [!HAVE_MREMAP]: Remove [defined linux] case.
14320 * malloc/arena.c: Do not include <malloc-sysdep.h>.
14321
a897655d
SP
143222013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14323
14324 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
14325
881ebe89 143262013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
14327
14328 * elf/elf.h (R_386_SIZE32): New relocation.
14329 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
14330 R_386_SIZE32.
14331 (elf_machine_rela): Likewise.
14332 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
14333 R_X86_64_SIZE64 and R_X86_64_SIZE32.
14334
59981e9b
JM
143352013-01-17 Joseph Myers <joseph@codesourcery.com>
14336
14337 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
14338 (FP_FAST_FMA): Do not define.
14339 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
14340 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
14341 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
14342 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
14343 !_SOFT_FLOAT]: Likewise.
14344 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
14345 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
14346 value.
14347 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
14348 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
14349 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
14350 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
14351 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
14352 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
14353 file.
14354
cfa8054f
AS
143552013-01-16 Andreas Schwab <schwab@suse.de>
14356
14357 [BZ #14327]
14358 * include/stdlib.h (__mktemp): Add declaration.
14359 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
14360 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
14361
dd930cc5
SP
143622013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14363
881ebe89
SP
14364 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
14365 definitions.
14366 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
14367 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
14368 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
14369 definitions here.
14370 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
14371 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
14372 definitions.
14373 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
14374 and ONE.
14375 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
14376 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
14377 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
14378 definitions.
14379 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
14380 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
14381 definitions.
14382 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 14383
dd930cc5
SP
14384 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
14385
c19a9f89
DM
143862013-01-15 David S. Miller <davem@davemloft.net>
14387
1aa61767
DM
14388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14389 trunc{,f} to libm-sysdep_routes.
14390 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
14392 file.
14393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
14394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
14395 file.
14396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
14397 file.
14398 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
14399 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
14400 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
14401 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
14402 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
14403 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
14404 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
14405 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
14406
c42d5e98
DM
14407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14408 nearbyint{,f} to libm-sysdep_routes.
14409 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
14411 New file.
14412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
14413 file.
14414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
14415 New file.
14416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
14417 file.
14418 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
14419 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
14420 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
14421 file.
14422 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
14423 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
14424 file.
14425 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
14426 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
14427 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
14428
c19a9f89
DM
14429 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
14430 libc_feholdexcept and libc_fesetenv.
14431
357679d2
MF
144322013-01-15 Mike Frysinger <vapier@gentoo.org>
14433
14434 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
14435
65a82e3d
DM
144362013-01-14 David S. Miller <davem@davemloft.net>
14437
8b954ab9
DM
14438 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
14439 (SPARC_ASM_VIS2_IFUNC): Likewise.
14440 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
14441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
14442 use of 'siam' instruction.
14443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
14444 Likewise.
14445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
14446 Likewise.
14447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
14448 Likewise.
14449 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
14450 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
14451 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
14452 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
14453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
14454 file.
14455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
14456 file.
14457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
14458 file.
14459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
14460 file.
14461 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
14462 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
14463 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
14464 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
14465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
14466 new VIS2 routines.
14467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
14468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
14470 Likewise.
14471 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
14472 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
14473 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
14474 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
14475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
14476 routines to libm-sysdep_routines.
14477 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14478
65a82e3d
DM
14479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14480 fdim/fdimf to libm-sysdep_routines.
14481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
14482 file.
14483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
14484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
14485 file.
14486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
14487 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
14488 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
14489 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
14490 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
14491 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
14492 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
14493
e34ab705
SP
144942013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
14495
2a91b573
SP
14496 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
14497 to optimize copies.
14498
1066a534
SP
14499 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
14500 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14501 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14502
e34ab705
SP
14503 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
14504 local variable MPTWO.
14505 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
14506 Likewise.
14507
aba5e596
MF
145082013-01-13 Mike Frysinger <vapier@gentoo.org>
14509
14510 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
14511 GLOB_NOESCAPE.
14512
e557e9e5
MF
145132013-01-13 Mike Frysinger <vapier@gentoo.org>
14514
14515 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
14516
0428cec9
MF
145172013-01-13 Mike Frysinger <vapier@gentoo.org>
14518
14519 * manual/pattern.texi (glob_t): Document gl_flags.
14520 (glob64_t): Likewise.
14521
8794a964
DM
145222013-01-11 David S. Miller <davem@davemloft.net>
14523
66438c3f
RM
14524 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
14525 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
14526 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
14527 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
14528 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
14529 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
14530 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
14531 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
14532 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
14533 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
14534 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
14535 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
14536 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
14537
4ae4244d
DM
14538 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14539 sparc V9 rather than using V8 code.
14540 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14541 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14542
8794a964
DM
14543 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
14544 Move to...
14545 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
14546 Here.
14547
6270516e
RM
145482013-01-11 Roland McGrath <roland@hack.frob.com>
14549
14550 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
14551 not in the main loop.
14552 * configure: Regenerated.
14553
6a57d931
JM
145542013-01-11 Joseph Myers <joseph@codesourcery.com>
14555
14556 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
14557 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
14558 to just #else.
14559 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
14560 [!__GLIBC_HAVE_LONG_LONG] case.
14561 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
14562 condition to just #else.
14563 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
14564 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
14565 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
14566 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
14567 unconditional.
14568 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
14569 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14570 #elif condition to just #else.
14571 * sysdeps/unix/sysv/linux/sys/sysmacros.h
14572 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
14573 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14574 #elif condition to just #else.
14575
0e8529e9
SE
145762013-01-11 Steve Ellcey <sellcey@mips.com>
14577
14578 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
14579 (EF_MIPS_ARCH_64): Fix value.
14580 (EF_MIPS_ARCH_32R2): New.
14581 (EF_MIPS_ARCH_64R2): New.
14582
740b3dbe
L
145832013-01-11 H.J. Lu <hongjiu.lu@intel.com>
14584
14585 * Makeconfig (+link-pie-before-libc): New.
14586 (+link-pie-after-libc): Likewise.
14587 (+link-pie-tests): Likewise.
14588 (+link-pie): Rewritten.
14589 (link-before-libc): Remove $(config-LDFLAGS).
14590 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
14591 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
14592 (config-LDFLAGS): Renamed to ...
14593 (rtld-LDFLAGS): This.
14594 (rtld-tests-LDFLAGS): New macro.
14595 (link-libc-rpath-link): Likewise.
14596 (link-libc-tests-rpath-link): Likewise.
14597 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
14598 (link-libc): Prepand $(link-libc-rpath-link).
14599 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
14600 (test-program-prefix): New macro.
14601 (test-via-rtld-prefix): Likewise.
14602 (test-program-cmd): Likewise.
14603 (host-test-program-cmd): Likewise.
14604 * Makefile ($(common-objpfx)testrun.sh): Replace
14605 $(run-program-prefix) with $(test-program-prefix).
14606 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
14607 $(rtld-LDFLAGS).
14608 ($(common-objpfx)shlib.lds): Likewise.
14609 (build-module-helper): Likewise.
14610 ($(common-objpfx)format.lds): Likewise.
14611 * Rules (binaries-pie-tests): New.
14612 (binaries-pie-notests): Likewise.
14613 (binaries-pie): Rewritten.
14614 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
14615 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
14616 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
14617 (make-test-out): Replace $(host-built-program-cmd) with
14618 $(host-test-program-cmd).
14619 * config.make.in (build-hardcoded-path-in-tests): New variable.
14620 * configure.in (--enable-hardcoded-path-in-tests): New configure
14621 option.
14622 (hardcoded_path_in_tests): New AC_SUBST.
14623 * configure: Regenerated.
14624 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
14625 $(built-program-cmd) with $(test-program-cmd).
14626 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
14627 (test_program_cmd): This.
14628 * elf/Makefile ($(objpfx)order.out): Run test with
14629 $(test-program-prefix).
14630 ($(objpfx)order2.out): Likewise.
14631 ($(objpfx)tst-initorder.out): Likewise.
14632 ($(objpfx)tst-initorder2.out): Likewise.
14633 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
14634 $(test-program-cmd).
14635 ($(objpfx)tst-array1-static.out): Likewise.
14636 ($(objpfx)tst-array2.out): Likewise.
14637 ($(objpfx)tst-array3.out): Likewise.
14638 ($(objpfx)tst-array4.out): Likewise.
14639 ($(objpfx)tst-array5.out): Likewise.
14640 ($(objpfx)tst-array5-static.out): Likewise.
14641 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
14642 $(test-program-cmd).
14643 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
14644 $(run-program-prefix) with $(test-program-prefix).
14645 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
14646 (test_program_prefix): This.
14647 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
14648 $(run-program-prefix) with $(test-program-prefix).
14649 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
14650 (test_program_prefix): This.
14651 * iconvdata/tst-tables.sh: Likewise.
14652 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
14653 $(run-program-prefix) with $(test-program-prefix).
14654 ($(objpfx)tst-translit.out): Likewise.
14655 ($(objpfx)tst-gettext2.out): Likewise.
14656 ($(objpfx)tst-gettext4.out): Likewise.
14657 ($(objpfx)tst-gettext6.out): Likewise.
14658 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
14659 (test_program_prefix): This.
14660 * intl/tst-gettext2.sh: Likewise.
14661 * intl/tst-gettext4.sh Likewise.
14662 * intl/tst-gettext6.sh: Likewise.
14663 * intl/tst-translit.sh: Likewise.
14664 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
14665 with $(test-program-cmd).
14666 * libio/Makefile ($(objpfx)test-freopen.out): Replace
14667 $(run-program-prefix) with $(test-program-prefix).
14668 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
14669 (test_program_prefix): This.
14670 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
14671 $(run-program-prefix) with $(test-program-prefix).
14672 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
14673 (test_program_prefix): This.
14674 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
14675 * posix/Makefile ($(objpfx)globtest.out): Replace
14676 $(run-via-rtld-prefix) and $(test-wrapper) with
14677 $(test-program-prefix) and $(test-via-rtld-prefix).
14678 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
14679 $(test-program-prefix).
14680 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
14681 $(host-test-program-cmd).
14682 (tst-spawn-ARGS): Likewise.
14683 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
14684 $(test-program-prefix).
14685 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
14686 (test_via_rtld_prefix): This.
14687 (test_wrapper): Renamed to ...
14688 (test_program_prefix): This.
14689 (run_program_prefix): Replaced by test_program_prefix.
14690 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
14691 (test_program_prefix): This.
14692 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
14693 with $(host-test-program-cmd).
14694 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
14695 $(run-program-prefix) with $(test-program-prefix).
14696 ($(objpfx)tst-printf.out): Likewise.
14697 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
14698 $(test-program-cmd).
14699 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
14700 (test_program_prefix): This.
14701 * stdio-common/tst-unbputc.sh: Likewise.
14702 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
14703 $(run-program-prefix) with $(test-program-prefix).
14704 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
14705 (test_program_prefix): This.
14706 * string/Makefile ($(objpfx)tst-svc.out): Replace
14707 $(built-program-cmd) with $(test-program-cmd).
14708
c6fe55cf
AJ
147092013-01-11 Andreas Jaeger <aj@suse.de>
14710
14711 [BZ #15003]
14712 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
14713 value. Sync with Linux 3.7.
14714
9e6919c8
DM
147152013-01-10 David S. Miller <davem@davemloft.net>
14716
14717 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
14718 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14719 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14720
1c9f1a02
RM
147212013-01-10 Roland McGrath <roland@hack.frob.com>
14722
14723 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
14724 never set.
14725 * configure: Regenerated.
14726
b9de2dde
DM
147272013-01-10 David S. Miller <davem@davemloft.net>
14728
14729 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14730 sparc V9 rather than using V8 code.
14731 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14732 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14733
e7f68ef4
RM
147342013-01-10 Roland McGrath <roland@hack.frob.com>
14735
14736 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
14737 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
14738 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
14739 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
14740 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
14741 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
14742 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
14743 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
14744 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
14745 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
14746 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
14747 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
14748 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
14749 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
14750 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
14751 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
14752 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
14753 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
14754 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
14755 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
14756 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
14757 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
14758 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
14759 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
14760 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
14761 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
14762 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
14763
5a47cc9c
DM
147642013-01-10 David S. Miller <davem@davemloft.net>
14765
14766 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14767
4cf8f209
L
147682013-01-10 H.J. Lu <hongjiu.lu@intel.com>
14769
14770 * posix/Makefile (tests-static): New variable.
14771 (tests): Add $(tests-static).
14772 (tst-exec-static-ARGS): New variable.
14773 (tst-spawn-static-ARGS): Likewise.
14774 * posix/tst-exec-static.c: New file.
14775 * posix/tst-spawn-static.c: Likewise.
14776 * posix/tst-exec.c: Support run directly.
14777 * posix/tst-spawn.c: Likewise.
14778
fed0faa1
JM
147792013-01-10 Joseph Myers <joseph@codesourcery.com>
14780
828beb13
JM
14781 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
14782 long.
14783 * math/bits/mathcalls.h (llrint): Likewise.
14784 (llround): Likewise.
14785 * stdlib/stdlib.h (struct drand48_data): Likewise.
14786 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
14787 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
14788 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
14789 Likewise.
14790 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
14791 Likewise.
14792 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
14793 (elf_greg_t): Likewise.
14794 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
14795 (__jmp_buf): Likewise.
14796 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
14797 definitions.
14798 (llrint): Likewise, for all definitions.
14799 (llrintl): Likewise.
14800
fed0faa1
JM
14801 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
14802 Remove [__GNUC__] condition.
14803 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
14804 condition to just [__USE_ISOC99].
14805 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
14806
1a20cb20
L
148072013-01-10 H.J. Lu <hongjiu.lu@intel.com>
14808
14809 [BZ #14200]
14810 * sysdeps/unix/sysv/linux/x86/bits/environments.h
14811 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
14812 defined.
14813 (_POSIX_V6_ILP32_OFF32): Likewise.
14814 (_XBS5_ILP32_OFF32): Likewise.
14815 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
14816 (__ILP32_OFFBIG_LDFLAGS): Likewise.
14817
751b85f7
SP
148182013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14819
7490eb81
SP
14820 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
14821
751b85f7
SP
14822 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
14823 doubles __mpexp_twomm1. Adjust usage.
14824 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
14825 Remove.
14826
988197f0
AS
148272013-01-10 Andreas Schwab <schwab@suse.de>
14828
14829 [BZ #14964]
14830 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
14831 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
14832
e83d7298
DM
148332013-01-09 David S. Miller <davem@davemloft.net>
14834
034ed64b 14835 [BZ #15003]
e83d7298
DM
14836 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
14837 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
14838 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
14839 TCP_FASTOPEN): Define.
14840 (tcp_repair_opt): New structure.
14841 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
14842 enum values.
14843 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
14844 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
14845 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
14846 (tcp_cookie_transactions): New structure.
14847
d5e0b9bd
AB
148482013-01-09 Anton Blanchard <anton@samba.org>
14849
14850 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
14851 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
14852 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
14853 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
14854
0c07e3ea
JM
148552013-01-09 Joseph Myers <joseph@codesourcery.com>
14856
14857 * include/features.h (__USE_ANSI): Remove.
14858
232f7002
RM
148592013-01-09 Roland McGrath <roland@hack.frob.com>
14860
ad98e30c
RM
14861 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
14862
232f7002
RM
14863 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
14864
950c99ca
SP
148652013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
14866
b5792741
SP
14867 * sysdeps/s390/fpu/libm-test-ulps: Update.
14868
47cf2278
SP
14869 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14870
950c99ca
SP
14871 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
14872 (__acr): Likewise.
14873 (__cpy): Likewise.
14874 (norm): Likewise.
14875 (denorm): Likewise.
14876 (__mp_dbl): Likewise.
14877 (__dbl_mp): Likewise.
14878 (add_magnitudes): Likewise.
14879 (sub_magnitudes): Likewise.
14880 (__add): Likewise.
14881 (__sub): Likewise.
14882 (__mul): Likewise.
14883 (__inv): Likewise.
14884 (__dvd): Likewise.
14885 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
14886 (__acr): Likewise.
14887 (__cpy): Likewise.
14888 (norm): Likewise.
14889 (denorm): Likewise.
14890 (__mp_dbl): Likewise.
14891 (__dbl_mp): Likewise.
14892 (add_magnitudes): Likewise.
14893 (sub_magnitudes): Likewise.
14894 (__add): Likewise.
14895 (__sub): Likewise.
14896 (__mul): Likewise.
14897 (__inv): Likewise.
14898 (__dvd): Likewise.
14899 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
14900 (__acr): Likewise.
14901 (__cpy): Likewise.
14902 (norm): Likewise.
14903 (denorm): Likewise.
14904 (__mp_dbl): Likewise.
14905 (__dbl_mp): Likewise.
14906 (add_magnitudes): Likewise.
14907 (sub_magnitudes): Likewise.
14908 (__add): Likewise.
14909 (__sub): Likewise.
14910 (__mul): Likewise.
14911 (__inv): Likewise.
14912 (__dvd): Likewise.
14913
eede9df9
JM
149142013-01-08 Joseph Myers <joseph@codesourcery.com>
14915
14916 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
14917 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
14918 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
14919 2 && __USE_EXTERN_INLINES]: Likewise.
14920
c40ea3d9
AJ
149212013-01-08 Andreas Jaeger <aj@suse.de>
14922
14923 [BZ# 14985]
14924 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
14925 Remove.
14926 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14927 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14928
2ccdea26
AB
149292013-01-07 Anton Blanchard <anton@samba.org>
14930
14931 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
14932 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
14933 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
14934 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
14935 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
14936 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14937 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
14938 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14939 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14940 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14941 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14942 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14943 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14944 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14945 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14946 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14947 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14948 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14949 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14950 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
14951 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14952 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
14953 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14954 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14955 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
14956 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
14957 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14958 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
14959 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
14960 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14961 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14962 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14963 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14964 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14965 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14966 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14967 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14968 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
14969 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
14970 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
14971 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
14972 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14973 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14974
a9708fed
JM
149752013-01-07 Joseph Myers <joseph@codesourcery.com>
14976
375607b9
JM
14977 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
14978 (__MALLOC_PMT): Likewise.
14979 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
14980 [__GNUC__], only on [_LIBC].
14981 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14982 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
14983 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14984 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
14985 forward declaration.
14986 (realloc_hook_ini): Likewise.
14987 (memalign_hook_ini): Likewise.
14988 (__libc_memalign): Do not use __MALLOC_PMT in variable
14989 declaration.
14990 (__libc_valloc): Likewise.
14991 (__libc_pvalloc): Likewise.
14992 (__libc_calloc): Likewise.
14993 (__posix_memalign): Likewise.
14994
a9708fed
JM
14995 [BZ #14996]
14996 * math/s_casinh.c: Include <float.h>.
14997 (__casinh): Do not do computation with squaring and square root
14998 for large arguments.
14999 * math/s_casinhf.c: Include <float.h>.
15000 (__casinhf): Do not do computation with squaring and square root
15001 for large arguments.
15002 * math/s_casinhl.c: Include <float.h>.
15003 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
15004 (__casinhl): Do not do computation with squaring and square root
15005 for large arguments.
15006 * math/libm-test.inc (casin_test): Add more tests.
15007 (casinh_test): Likewise.
15008 * sysdeps/i386/fpu/libm-test-ulps: Update.
15009 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15010
afec409a
L
150112013-01-04 H.J. Lu <hongjiu.lu@intel.com>
15012
15013 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
15014 (__x86_64_raw_data_cache_size): Likewise.
15015 (__x86_64_data_cache_size_half): Likewise.
15016 (__x86_64_raw_data_cache_size_half): Likewise.
15017 (__x86_64_shared_cache_size): Likewise.
15018 (__x86_64_raw_shared_cache_size): Likewise.
15019 (__x86_64_shared_cache_size_half): Likewise.
15020 (__x86_64_raw_shared_cache_size_half): Likewise.
15021 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
15022 to ...
15023 (__x86_data_cache_size): This.
15024 (__x86_64_raw_data_cache_size): Renamed to ...
15025 (__x86_raw_data_cache_size): This.
15026 (__x86_64_data_cache_size_half): Renamed to ...
15027 (__x86_data_cache_size_half): This.
15028 (__x86_64_raw_data_cache_size_half): Renamed to ...
15029 (__x86_raw_data_cache_size_half): This.
15030 (__x86_64_shared_cache_size): Renamed to ...
15031 (__x86_shared_cache_size): This.
15032 (__x86_64_raw_shared_cache_size): Renamed to ...
15033 (__x86_raw_shared_cache_size): This.
15034 (__x86_64_shared_cache_size_half): Renamed to ...
15035 (__x86_shared_cache_size_half): This.
15036 (__x86_64_raw_shared_cache_size_half): Renamed to ...
15037 (__x86_raw_shared_cache_size_half): This.
15038 * sysdeps/x86_64/memcpy.S: Updated.
15039 * sysdeps/x86_64/memset.S: Likewise.
15040 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
15041 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15042 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15043
0b3986d0
DM
150442013-01-04 David S. Miller <davem@davemloft.net>
15045
15046 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15047
e47686e9
AS
150482013-01-04 Andreas Schwab <schwab@linux-m68k.org>
15049
d643bac1
AS
15050 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
15051 1 to avoid redefinition warning.
15052 (__USE_GNU): Don't define.
15053 (init_signaling_nan): Protoize.
15054
e47686e9
AS
15055 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15056
b18decba
SP
150572013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15058
fffb407f
SP
15059 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
15060 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
15061 (__cpymn): Likewise.
15062 (norm): Remove commented code.
15063 (denorm): Likewise.
15064 (__mp_dbl): Likewise.
15065 (__inv): Likewise.
15066 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
15067 (__cpymn): Likewise.
15068 (norm): Remove commented code.
15069 (denorm): Likewise.
15070 (__mp_dbl): Likewise.
15071 (__inv): Likewise.
15072
b18decba
SP
15073 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
15074 mp_no value for 1.0 and 2.0.
15075 (norm): Use RADIXI instead of radixi.d.
15076 (denorm): Likewise.
15077 (__mul): Use 0.0 instead of zero.d.
15078 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
15079 mp_no value for 1.0 and 2.0.
15080 (norm): Use RADIXI instead of radixi.d.
15081 (denorm): Likewise.
15082 (__mul): Use 0.0 instead of zero.d.
15083
cdc1c96f
JM
150842013-01-04 Joseph Myers <joseph@codesourcery.com>
15085
15086 [BZ #14994]
15087 * math/s_casinh.c (__casinh): Reduce finite argument to first
15088 quadrant then set signs of results at the end.
15089 * math/s_casinhf.c (__casinhf): Likewise.
15090 * math/s_casinhl.c (__casinhl): Likewise.
15091 * math/libm-test.inc (casin_test): Add more tests.
15092 (casinh_test): Likewise.
15093 * sysdeps/i386/fpu/libm-test-ulps: Update.
15094 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15095
302913e1
SP
150962013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15097
6420d207
SP
15098 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
15099
a9e48ab4
SP
15100 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
15101
b7837264
SP
15102 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
15103 declarations.
15104 (denorm): Likewise.
15105 (__mp_dbl): Likewise.
15106 (__inv): Likewise.
15107
f8af25d2
SP
15108 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
15109 and adjust the header comment.
15110
302913e1
SP
15111 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
15112 variable name from declaration.
15113
5d7dd1ca
L
151142013-01-03 H.J. Lu <hongjiu.lu@intel.com>
15115
15116 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15117 Initialize COMMON_CPUID_INDEX_7 element.
15118 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
15119 (CPUID_RTM): Likewise.
15120 (HAS_RTM): Likewise.
15121 (COMMON_CPUID_INDEX_7): New enum.
15122
2f5f40f4
AS
151232013-01-03 Andreas Schwab <schwab@linux-m68k.org>
15124
15125 [BZ #14981]
15126 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
15127 size is zero, record memory as freed.
15128
4056f4a0
AJ
151292013-01-03 Andreas Jaeger <aj@suse.de>
15130
15131 * po/ia.po: Add new Interlingua translation.
15132
ab15736f 151332012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
15134
15135 * locale/programs/localedef.c: Fix description of '--posix' flag.
15136
568035b7
JM
151372013-01-02 Joseph Myers <joseph@codesourcery.com>
15138
e6898b8d
JM
15139 * NEWS: Update dates in second copyright notice.
15140 * README: Update copyright dates in example.
15141 * manual/libc.texinfo: Update copyright dates.
15142 * scripts/test-installation.pl: Update copyright date in --version
15143 output.
15144
0e2f9562
JM
15145 * hurd/ctty-input.c: Fix copyright notice formatting.
15146 * hurd/ctty-output.c: Likewise.
15147 * hurd/dtable.c: Likewise.
15148 * hurd/hurd-raise.c: Likewise.
15149 * hurd/hurdprio.c: Likewise.
15150 * hurd/msgportdemux.c: Likewise.
15151 * misc/sys/file.h: Likewise.
15152 * misc/sys/ioctl.h: Likewise.
15153 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
15154 * sysdeps/mach/hurd/chdir.c: Likewise.
15155 * sysdeps/mach/hurd/fchdir.c: Likewise.
15156 * sysdeps/mach/hurd/rename.c: Likewise.
15157 * sysdeps/mach/hurd/rmdir.c: Likewise.
15158 * sysdeps/mach/hurd/seekdir.c: Likewise.
15159 * sysdeps/mach/hurd/setsid.c: Likewise.
15160 * sysdeps/posix/wait3.c: Likewise.
15161
568035b7
JM
15162 * All files with FSF copyright notices: Update copyright dates
15163 using scripts/update-copyrights.
15164 * intl/plural.c: Regenerated.
15165 * locale/programs/charmap-kw.h: Likewise.
15166 * locale/programs/locfile-kw.h: Likewise.
15167
da08f647
SP
151682013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15169
0f5477af
SP
15170 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
15171 four values.
15172
44e0d4c2
SP
15173 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
15174 calculation loop and add branch prediction.
15175
4d55b4e5
SP
15176 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
15177 check access beyond bounds of m1np.
15178
da08f647
SP
15179 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
15180 MPTWO.
15181 (__inv): Remove local variable MPTWO to use the global
15182 constant.
15183 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
15184 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
15185 variable MPTWO.
15186 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
15187 MP3HALFS static const.
15188
8e051029
DM
151892013-01-01 David S. Miller <davem@davemloft.net>
15190
15191 * po/ca.po: Update from translation team.
15192
f4cf5f2d
JM
151932013-01-01 Joseph Myers <joseph@codesourcery.com>
15194
15195 * scripts/update-copyrights: New file.
15196 * Makeconfig: Reformat copyright notice.
15197 * ctype/ctype.h: Likewise.
15198 * debug/swprintf_chk.c: Likewise.
15199 * elf/dl-cache.c: Likewise.
15200 * elf/dl-debug.c: Likewise.
15201 * elf/dl-object.c: Likewise.
15202 * grp/initgroups.c: Likewise.
15203 * hurd/Makefile: Likewise.
15204 * hurd/hurd/signal.h: Likewise.
15205 * hurd/hurdfault.c: Likewise.
15206 * hurd/hurdioctl.c: Likewise.
15207 * hurd/hurdlookup.c: Likewise.
15208 * hurd/intr-msg.c: Likewise.
15209 * iconv/gconv_open.c: Likewise.
15210 * libio/swprintf.c: Likewise.
15211 * locale/lc-ctype.c: Likewise.
15212 * locale/nl_langinfo.c: Likewise.
15213 * mach/Machrules: Likewise.
15214 * mach/Makefile: Likewise.
15215 * malloc/obstack.h: Likewise.
15216 * manual/Makefile: Likewise.
15217 * manual/tsort.awk: Likewise.
15218 * misc/bits/stab.def: Likewise.
15219 * nis/nis_print_group_entry.c: Likewise.
15220 * nis/nis_table.c: Likewise.
15221 * nis/nss_compat/compat-pwd.c: Likewise.
15222 * nis/nss_compat/compat-spwd.c: Likewise.
15223 * po/Makefile: Likewise.
15224 * posix/fnmatch.c: Likewise.
15225 * posix/regex.h: Likewise.
15226 * resolv/Makefile: Likewise.
15227 * resolv/nss_dns/dns-network.c: Likewise.
15228 * resolv/res_hconf.c: Likewise.
15229 * scripts/gen-sorted.awk: Likewise.
15230 * soft-fp/soft-fp.h: Likewise.
15231 * stdio-common/printf.h: Likewise.
15232 * stdlib/monetary.h: Likewise.
15233 * stdlib/random.c: Likewise.
15234 * stdlib/random_r.c: Likewise.
15235 * sysdeps/generic/Makefile: Likewise.
15236 * sysdeps/gnu/Makefile: Likewise.
15237 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
15238 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15239 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15240 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15241 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15242 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15243 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15244 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15245 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15246 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15247 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15248 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15249 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
15250 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
15251 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
15252 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
15253 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15254 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15255 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15256 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15257 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
15258 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
15259 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15260 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
15261 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
15262 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
15263 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
15264 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
15265 * sysdeps/mach/hurd/errnos.awk: Likewise.
15266 * sysdeps/mach/hurd/fork.c: Likewise.
15267 * sysdeps/mach/hurd/getcwd.c: Likewise.
15268 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
15269 * sysdeps/mach/hurd/mmap.c: Likewise.
15270 * sysdeps/mach/hurd/utimes.c: Likewise.
15271 * sysdeps/mach/hurd/xmknod.c: Likewise.
15272 * sysdeps/posix/profil.c: Likewise.
15273 * sysdeps/posix/readdir_r.c: Likewise.
15274 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15275 * sysdeps/powerpc/bits/setjmp.h: Likewise.
15276 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
15277 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
15278 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
15279 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
15280 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
15281 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15282 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15283 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
15284 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
15285 * sysdeps/pthread/lio_listio.c: Likewise.
15286 * sysdeps/sparc/dl-procinfo.h: Likewise.
15287 * sysdeps/unix/i386/sysdep.S: Likewise.
15288 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
15289 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
15290 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
15291 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
15292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15293 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
15294 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
15295 * sysdeps/unix/sysv/linux/speed.c: Likewise.
15296 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
15297 * sysdeps/wordsize-32/divdi3.c: Likewise.
15298 * time/sys/time.h: Likewise.
15299 * wcsmbs/Makefile: Likewise.
15300
0549fbba
DM
153012013-01-01 David S. Miller <davem@davemloft.net>
15302
a141f1a7
DM
15303 * po/fr.po: Update from translation team.
15304
0549fbba
DM
15305 * catgets/gencat.c: Update copyright year.
15306 * csu/version.c: Likewise.
15307 * debug/catchsegv.sh: Likewise.
15308 * debug/pcprofiledump.c: Likewise.
15309 * debug/xtrace.sh: Likewise.
15310 * elf/ldconfig.c: Likewise.
15311 * elf/ldd.bash.in: Likewise.
15312 * elf/pldd.c: Likewise.
15313 * elf/sotruss.ksh: Likewise.
15314 * elf/sprof.c: Likewise.
15315 * iconv/iconv_prog.c: Likewise.
15316 * iconv/iconvconfig.c: Likewise.
15317 * locale/programs/locale.c: Likewise.
15318 * locale/programs/localedef.c: Likewise.
15319 * login/programs/pt_chown.c: Likewise.
15320 * malloc/memusage.sh: Likewise.
15321 * malloc/memusagestat.c: Likewise.
15322 * malloc/mtrace.pl: Likewise.
15323 * nscd/nscd.c: Likewise.
15324 * nss/getent.c: Likewise.
15325 * nss/makedb.c: Likewise.
15326 * posix/getconf.c: Likewise.
15327
18ea052c
SP
153282012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
15329
15330 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
15331 numbers.
15332
9c89fca6
MF
153332012-12-30 Mike Frysinger <vapier@gentoo.org>
15334
15335 * math/bits/mathcalls.h (modf): Use __nonnull.
15336
085ec079
SP
153372012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15338
15339 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
15340 (split): Use macro CN instead of the bare value.
15341 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
15342 could be used.
15343 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
15344 instead of the bare value.
15345 (power1): Likewise.
15346
6d9f97e1
SP
153472012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15348
d63f73be
SP
15349 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
15350 __ATAN_TWOM.
15351 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15352
6d9f97e1
SP
15353 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
15354 their values.
15355 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
15356 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15357 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
15358 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
15359
4c4febf5
AJ
153602012-12-28 Andreas Jaeger <aj@suse.de>
15361
af5843ef
AJ
15362 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
15363 values are from Linux 3.7.
15364
4c4febf5
AJ
15365 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
15366 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
15367
99136f82
SP
153682012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15369
2f216c3c 15370 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
15371 TRUE case.
15372
99136f82
SP
15373 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
15374 (norm): Likewise.
15375 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
15376 variables with preprocessor constants.
15377 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15378 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
15379 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
15380
7fffbdff
BH
153812012-12-27 Bruno Haible <bruno@clisp.org>
15382
15383 [BZ #14317]
15384 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
15385 only if needed.
15386
b76eb5f0
SP
153872012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15388
31a7fe5c
SP
15389 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
15390 and use variable directly.
15391 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
15392
b76eb5f0
SP
15393 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
15394 MPONE.
15395 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
15396 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
15397 variable MPONE.
15398 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15399 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15400 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
15401 include directive. Remove local variable MPONE.
15402 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
15403 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
15404 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
15405
2c8bfe7d
DM
154062012-12-25 David S. Miller <davem@davemloft.net>
15407
15408 * version.h (RELEASE): Set to "development".
15409 (VERSION): Set to "2.17.90".
15410 * NEWS: Add 2.18 section.
15411
147d03b0
DM
154122012-12-21 David S. Miller <davem@davemloft.net>
15413
15414 * po/hr.po: Update from translation team.
15415
a8ebb2b9
AK
154162012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15417
15418 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
15419
95b4f1b6
SE
154202012-12-19 Steve Ellcey <sellcey@mips.com>
15421
b2d94007 15422 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 15423
cedb2a90
MS
154242012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15425
15426 * manual/contrib.texi (Contributors): Spelling correction.
15427
bbf527d6
DM
154282012-12-15 David S. Miller <davem@davemloft.net>
15429
15430 * po/ru.po: Update from translation team.
15431
bc38c906
DM
154322012-12-13 David S. Miller <davem@davemloft.net>
15433
85429b1a
DM
15434 * NEWS: Mention IFUNC testsuite enhancements.
15435
d283e353
DM
15436 * po/pl.po: Update from translation team.
15437 * po/bg.po: Likewise.
15438
bc38c906
DM
15439 * manual/contrib.texi (Contributors): Update entries for Hongjiu
15440 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
15441
a181b0d7
DM
154422012-12-11 David S. Miller <davem@davemloft.net>
15443
4641d57e
DM
15444 * po/sv.po: Update from translation team.
15445
f7bc6495
DM
15446 * po/vi.po: Update from translation team.
15447
6fc9048f
DM
15448 * po/cs.po: Update from translation team.
15449
a181b0d7
DM
15450 * po/de.po: Update from translation team.
15451 * po/eo.po: Likewise.
15452 * po/nl.po: Likewise.
15453
f70bfe80
SP
154542012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15455
3c8b4190
SP
15456 [BZ #14246]
15457 * manual/argp.texi (Argp Helper Functions): Move node to follow
15458 Argp Parsing State.
15459
f70bfe80
SP
15460 [BZ #14872]
15461 * manual/conf.texi (Limits on File System Capacity): Mention if
15462 terminating null is included in the max size.
15463
188f0adf
AJ
154642012-12-10 Andreas Jaeger <aj@suse.de>
15465
15466 * po/cs.po: Update from translation team.
15467
56e7d3ad
SP
154682012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15469
15470 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
15471 void pointer and cast to uintptr_t.
15472 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
15473 path.
15474 * sysdeps/s390/s390-64/memcpy.S: Likewise.
15475 * sysdeps/s390/s390-64/memset.S: Likewise.
15476
76f2d2ea 154772012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
15478
15479 [BZ #14833]
15480 * menual/message.texi (Message Translation): Fix typos.
15481 (Helper programs for gettext): Likewise.
15482
67cbf9a2
AS
154832012-12-07 Andreas Schwab <schwab@linux-m68k.org>
15484
15485 [BZ #14898]
15486 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
15487 Change to -1.
15488
682d0e9a
DM
154892012-12-07 David S. Miller <davem@davemloft.net>
15490
15491 * po/libc.pot: Update.
15492
573cd484
RH
154932012-12-07 Richard Henderson <rth@redhat.com>
15494
7e9da188 15495 [BZ #10114]
573cd484
RH
15496 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
15497 normal/normal case to before the switch.
15498 (_FP_DIV): Likewise.
15499
e933a943
MF
155002012-12-06 Carlos O'Donell <carlos@systemhalted.org>
15501 Mike Frysinger <vapier@gentoo.org>
15502
15503 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
15504 check for __NR_fadvise64_64.
15505
82123268
CM
155062012-12-06 Chris Metcalf <cmetcalf@tilera.com>
15507
15508 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
15509 0, not just to plain "0" as a statement.
15510 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
15511 with cw.
15512
d9814526
JM
155132012-12-06 Joseph Myers <joseph@codesourcery.com>
15514
15515 * NEWS: Use sourceware.org in Bugzilla URL.
15516
7728c574
SP
155172012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15518
f16946dd
SP
15519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
15520 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15521
5704bbcb
SP
15522 * stdio-common/tst-put-error.c (do_test): Add newline to the
15523 padded test to ensure flush.
15524
17aa0516
JL
155252012-12-05 Jeff Law <law@redhat.com>
15526
15527 * sunrpc/etc.rpc (fedfs_admin): Add entry.
15528
363313b5
JM
155292012-12-05 Joseph Myers <joseph@codesourcery.com>
15530
effbd42a
JM
15531 * README: Don't refer to ports add-on as distributed separately.
15532 Mention AArch64 in list of systems supported in the ports add-on.
15533
87600365
JM
15534 * LICENSES: Add more non-FSF copyright and license notices.
15535
a0d7066a
JM
15536 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
15537 ((unused)).
15538
66ca5a5b
JM
15539 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
15540
363313b5
JM
15541 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
15542 10000 as width of padded output.
15543
b37984ad
JM
155442012-12-04 Joseph Myers <joseph@codesourcery.com>
15545
9003570a
JM
15546 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
15547
b37984ad
JM
15548 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
15549 variable LX with __attribute__ ((unused)).
15550 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15551 Likewise.
15552 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15553 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15554 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
15555 with __attribute__ ((unused)).
15556
c8df52ec
DM
155572012-12-04 David S. Miller <davem@abraco.davemloft.net>
15558
15559 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
15560
b3b099af
JM
155612012-12-04 Joseph Myers <joseph@codesourcery.com>
15562
c33aa6e3
JM
15563 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
15564 (CFLAGS-nldbl-acos.c): New variable.
15565 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
15566 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
15567 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
15568 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
15569 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
15570 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
15571 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
15572 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
15573 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
15574 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
15575 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
15576 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
15577 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
15578 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
15579 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
15580 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
15581 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
15582 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
15583 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
15584 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
15585 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
15586 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
15587 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
15588 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
15589 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
15590 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
15591 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
15592 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
15593 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
15594 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
15595 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
15596 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
15597 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
15598 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
15599 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
15600 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
15601 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
15602 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
15603 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
15604 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
15605 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
15606 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
15607 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
15608 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
15609 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
15610 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
15611 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
15612 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
15613 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
15614 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
15615 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
15616 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
15617 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
15618 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
15619 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
15620 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
15621 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
15622 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
15623 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
15624 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
15625 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
15626 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
15627 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
15628 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
15629 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
15630 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
15631 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
15632 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
15633 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
15634 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
15635 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
15636 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
15637 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
15638 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
15639 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
15640 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
15641 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
15642 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
15643 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
15644 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
15645 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
15646 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
15647 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
15648 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
15649 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
15650 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
15651 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
15652 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
15653 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
15654 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
15655 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
15656 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
15657 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
15658 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
15659 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
15660 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
15661 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
15662
20f0018d
JM
15663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15664 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15665
b3b099af
JM
15666 [BZ #14914]
15667 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
15668 whole low double instead of just low 47 bits when splitting values
15669 into two parts.
15670
029264d1
AM
156712012-12-03 Allan McRae <allan@archlinux.org>
15672
15673 * manual/stdio.texi (Predefined Printf Handlers): Remove
15674 @hsep and @vsep usage.
15675
c9d6789e
MF
156762012-12-03 Mike Frysinger <vapier@gentoo.org>
15677
15678 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
15679 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
15680
4b7634a5
JL
156812012-12-03 Jeff Law <law@redhat.com>
15682
15683 * time/sys/time.h (settimeofday): Do not mark TV argument
15684 as __nonnull.
15685
eb6cbd24
MF
156862012-12-01 Mike Frysinger <vapier@gentoo.org>
15687
15688 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
15689 when currently writing and seek to current position when not.
15690 * libio/Makefile (tests): Remove bug-fclose1.
15691 * libio/bug-fclose1.c: Delete.
15692
f638872a
JM
156932012-12-01 Joseph Myers <joseph@codesourcery.com>
15694
15695 * manual/arith.texi (feenableexcept): Fix typo.
15696 (fedisableexcept): Likewise.
15697
48085d14
RM
156982012-11-30 Roland McGrath <roland@hack.frob.com>
15699
15700 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
15701 second, differently-typed declaration, rather than a cast.
15702
1a538b9f
SP
157032012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15704
15705 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
15706 * include/rpc/svc.h: ... here.
15707
d07f2ff1 157082012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
15709
15710 [BZ #13013]
15711 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
15712 depending n and resplen2 to catch cases where answer
15713 equals answerp2.
15714
c93ec1f0
CD
157152012-11-29 Carlos O'Donell <carlos@systemhalted.org>
15716
15717 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
15718 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
15719
37db69de
MF
157202012-11-29 Mike Frysinger <vapier@gentoo.org>
15721
15722 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
15723
e10c4e4f
RM
157242012-11-29 Roland McGrath <roland@hack.frob.com>
15725
15726 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
15727
2af1b328
JL
157282012-11-28 Jeff Law <law@redhat.com>
15729
15730 [BZ #13761]
15731 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
15732 dataset_temporary. Track alloca usage into alloca_used.
15733 If dataset is large allocate and release it via malloc/free.
15734
111db5b1
FW
157352012-06-04 Florian Weimer <fweimer@redhat.com>
15736
f06cc227 15737 [BZ #14197]
111db5b1
FW
15738 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
15739
dd694abd
DM
157402012-11-28 David S. Miller <davem@davemloft.net>
15741
15742 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15743
9984dd01
JM
157442012-11-28 Joseph Myers <joseph@codesourcery.com>
15745
15746 [BZ #14803]
15747 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
15748 of pi/2 rounded to nearest to 64 bits.
15749 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
15750 nearest to 64 bits.
15751 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
15752 bits.
15753
14bc93a9
JL
157542012-11-28 Jeff Law <law@redhat.com>
15755 Martin Osvald <mosvald@redhat.com>
15756
15757 [BZ #14889]
15758 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
15759 * sunrpc/svc.c: Include time.h.
15760 (__svc_accept_failed): New function.
15761 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
15762 any reason other than EINTR, call __svc_accept_failed.
15763 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
15764 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
15765
e3c6aa3a
AS
157662012-11-28 Andreas Schwab <schwab@suse.de>
15767
15768 * scripts/abilist.awk: Also handle indirect functions in .opd
15769 section.
15770
1bead169
JM
157712012-11-28 Joseph Myers <joseph@codesourcery.com>
15772
15773 [BZ #13881]
15774 * sysdeps/x86/fpu/powl_helper.c: New file.
15775 * sysdeps/x86/fpu/Makefile: Likewise.
15776 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
15777 (p3): New object.
15778 (__ieee754_powl): Use __powl_helper for finite arguments except
15779 integer exponents below 8.
15780 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
15781 (p3): New object.
15782 (__ieee754_powl): Use __powl_helper for finite arguments except
15783 integer exponents below 8.
15784 * math/libm-test.inc (pow_test): Add more tests and enable some
15785 previously disabled tests.
15786 * sysdeps/i386/fpu/libm-test-ulps: Update.
15787 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15788
0817d63d
SP
157892012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15790 Carlos O'Donell <carlos_odonell@mentor.com>
15791
15792 * nss/makedb.c (is_prime): Assert that input is odd and greater
15793 than 4. Note that fact in a comment too.
15794 (next_prime): Add 4 to input.
15795
de2fd463
SP
157962012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15797
15798 [BZ #11741]
15799 * libio/Makefile (tests): Add test case tst-fwrite-error.
15800 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
15801 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
15802 * libio/tst-fwrite-error.c: New test case.
15803
c515fb51
L
158042012-11-26 H.J. Lu <hongjiu.lu@intel.com>
15805
15806 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
15807 before casting to void *.
15808 * include/libc-internal.h (__pointer_type): New macro.
15809 (__integer_if_pointer_type_sub): Likewise.
15810 (__integer_if_pointer_type): Likewise.
15811 (cast_to_integer): Likewise.
15812 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
15813 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
15814 before casting to atomic64_t.
15815 (atomic_exchange_acq): Likewise.
15816 (__arch_exchange_and_add_body): Likewise.
15817 (__arch_add_body): Likewise.
15818 (atomic_add_negative): Likewise.
15819 (atomic_add_zero): Likewise.
15820
4cf77aa9
JM
158212012-11-26 Joseph Myers <joseph@codesourcery.com>
15822
15823 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
15824 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
15825 (add_fdes): Likewise.
15826 (linear_search_fdes): Likewise.
15827 (binary_search_unencoded_fdes): Likewise.
15828
d260b3b4
AS
158292012-11-26 Andreas Schwab <schwab@linux-m68k.org>
15830
15831 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
15832
67060746
AC
158332012-11-24 Adam Conrad <adconrad@0c3.net>
15834
15835 * configure.in: Autodetect C++ header directories.
15836 * configure: Regenerated.
15837
800938a1
MF
158382012-11-23 Mike Frysinger <vapier@gentoo.org>
15839
15840 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
15841
4e6e34e6
AS
158422012-11-23 Andreas Schwab <schwab@linux-m68k.org>
15843
15844 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15845
7c7feb47
JM
158462012-11-22 Joseph Myers <joseph@codesourcery.com>
15847
7184dcdf
JM
15848 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
15849 LDBL_MANT_DIG == 106]: Disable some tests.
15850 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15851 Likewise.
15852 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15853 Likewise.
15854
0a42601f
JM
15855 [BZ #14871]
15856 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
15857 input for small inputs. Return +/- pi/2 for large inputs.
15858 * math/libm-test.inc (atan_test): Add more tests.
15859
79c9b9fe
JM
15860 * sysdeps/generic/unwind-dw2-fde-glibc.c
15861 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
15862 __attribute__ ((unused)).
15863
c60d3bf2
JM
15864 [BZ #14645]
15865 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
15866 x * y if x and y are nonzero and z is zero.
15867
ef1e0867
JM
15868 [BZ #14811]
15869 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
15870 nonzero exponents with absolute value below 0x1p-117 to +/-
15871 0x1p-117.
15872
1468ded3
JM
15873 [BZ #14869]
15874 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
15875 up arguments below 2**-450, not just those below 2**-500.
15876 * math/libm-test.inc (hypot_test): Add another test.
15877
8e27e3cc
JM
15878 [BZ #14868]
15879 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
15880 Return a+b for ratio over 2**120, not 2**60.
15881 * math/libm-test.inc (hypot_test): Add another test.
15882
c9c0279b
JM
15883 * math/libm-test.inc (clog_test): Use
15884 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
15885 (clog10_test): Likewise.
15886
7c7feb47
JM
15887 [BZ #6778]
15888 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
15889
fff1530e
AS
158902012-11-22 Andreas Schwab <schwab@suse.de>
15891
15892 * sysdeps/i386/fpu/libm-test-ulps: Update.
15893
94558d30
PT
158942012-11-22 Pino Toscano <toscano.pino@tiscali.it>
15895
15896 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
15897 printf output with newline.
15898
7e1be741
L
158992012-11-21 H.J. Lu <hongjiu.lu@intel.com>
15900
6bfea974
L
15901 [BZ #14865]
15902 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
15903 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
15904 -z nodlopen, -z initfirst and -z execstack support.
15905 * configure: Regenerated.
15906
7e1be741
L
15907 * elf/elf.h (DF_1_NODIRECT): New macro.
15908 (DF_1_IGNMULDEF): Likewise.
15909 (DF_1_NOKSYMS): Likewise.
15910 (DF_1_NOHDR): Likewise.
15911 (DF_1_EDITED): Likewise.
15912 (DF_1_NORELOC): Likewise.
15913 (DF_1_SYMINTPOSE): Likewise.
15914 (DF_1_GLOBAUDIT): Likewise.
15915 (DF_1_SINGLETON): Likewise.
15916 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
15917 DT_1_SUPPORTED_MASK bits.
15918 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
15919
105ce2ce
CD
159202012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
15921
15922 * sysdeps/unix/make-syscalls.sh: Document prefixes.
15923
123be9de
TS
159242012-11-20 Thomas Schwinge <thomas@codesourcery.com>
15925
d072f3f7
TS
15926 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
15927 macro.
15928
123be9de
TS
15929 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
15930 (sendmmsg): Move declarations...
15931 * socket/sys/socket.h: ... here.
15932 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
15933 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
15934 include it from...
15935 * socket/recvmmsg.c: ... this new file.
15936 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
15937 (sendmmsg): Rename to __sendmmsg, create weak alias and make
15938 definition of __sendmmsg hidden.
15939 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
15940 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
15941 Move ENOSYS stub into and include it from...
15942 * socket/sendmmsg.c: ... this new file.
15943 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
15944 (sysdep_routines): Move recvmmsg and sendmmsg...
15945 * socket/Makefile (routines): ... here.
15946 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
15947 (GLIBC_PRIVATE): Add __sendmmsg.
15948 * include/sys/socket.h (__sendmmsg): Add declarations.
15949 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
15950 sendmmsg.
15951
cf9a5d18
JM
159522012-11-20 Joseph Myers <joseph@codesourcery.com>
15953
15954 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
15955 variable I1 with __attribute__ ((unused)).
15956 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
15957
ecd4caf9
JM
159582012-11-19 Joseph Myers <joseph@codesourcery.com>
15959
be14d48f
JM
15960 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
15961 DUMMY variables with __attribute__ ((unused)).
15962
ecd4caf9
JM
15963 * bits/byteswap.h: Include <bits/types.h>.
15964 (__bswap_64): Use __uint64_t instead of unsigned long long int.
15965
986cab95
PT
159662012-11-19 Pino Toscano <toscano.pino@tiscali.it>
15967
15968 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
15969 string_t. Do not manually set errno.
15970 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
15971 length with __strnlen. Make sure to both set errno and return it on
15972 failure.
15973
6d33cc9d
DM
159742012-11-19 David S. Miller <davem@davemloft.net>
15975
15976 With help from Joseph Myers.
15977 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
15978 very large arguments properly.
15979 * math/libm-test.inc (atan_test): New tests.
15980 (atan2_test): New tests.
15981 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15982 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15983
ee663277
JM
159842012-11-19 Joseph Myers <joseph@codesourcery.com>
15985
877f2d8e
JM
15986 [BZ #14856]
15987 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
15988 Define to 3.
15989
116fc08a
JM
15990 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
15991 [POSIX] (EADDRNOTAVAIL): Likewise.
15992 [POSIX] (EAFNOSUPPORT): Likewise.
15993 [POSIX] (EALREADY): Likewise.
15994 [POSIX] (ECONNABORTED): Likewise.
15995 [POSIX] (ECONNREFUSED): Likewise.
15996 [POSIX] (ECONNRESET): Likewise.
15997 [POSIX] (EDESTADDRREQ): Likewise.
15998 [POSIX] (EDQUOT): Likewise.
15999 [POSIX] (EHOSTUNREACH): Likewise.
16000 [POSIX] (EIDRM): Likewise.
16001 [POSIX] (EISCONN): Likewise.
16002 [POSIX] (ELOOP): Likewise.
16003 [POSIX] (EMULTIHOP): Likewise.
16004 [POSIX] (ENETDOWN): Likewise.
16005 [POSIX] (ENETUNREACH): Likewise.
16006 [POSIX] (ENOBUFS): Likewise.
16007 [POSIX] (ENODATA): Likewise.
16008 [POSIX] (ENOLINK): Likewise.
16009 [POSIX] (ENOMSG): Likewise.
16010 [POSIX] (ENOPROTOOPT): Likewise.
16011 [POSIX] (ENOSR): Likewise.
16012 [POSIX] (ENOSTR): Likewise.
16013 [POSIX] (ENOTCONN): Likewise.
16014 [POSIX] (ENOTSOCK): Likewise.
16015 [POSIX] (EOPNOTSUPP): Likewise.
16016 [POSIX] (EOVERFLOW): Likewise.
16017 [POSIX] (EPROTO): Likewise.
16018 [POSIX] (EPROTONOSUPPORT): Likewise.
16019 [POSIX] (EPROTOTYPE): Likewise.
16020 [POSIX] (ESTALE): Likewise.
16021 [POSIX] (ETIME): Likewise.
16022 [POSIX] (ETXTBSY): Likewise.
16023 [POSIX] (EWOULDBLOCK): Likewise.
16024 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
16025 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
16026 [POSIX] (SEEK_CUR): Likewise.
16027 [POSIX] (SEEK_END): Likewise.
16028 [POSIX || UNIX98] (mode_t): Do not require.
16029 [POSIX] (off_t): Likewise.
16030 [POSIX] (pid_t): Likewise.
16031 [POSIX] (sys/stat.h): Do not allow header.
16032 [POSIX] (unistd.h): Likewise.
16033 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
16034 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
16035 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
16036 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
16037 require.
16038 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
16039 sigevent): Specify elements.
16040 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
16041 entry.
16042 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
16043 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
16044
a483863f
JM
16045 * conform/data/cpio.h-data [POSIX]: Disable whole file.
16046 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
16047 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
16048 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
16049 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
16050 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
16051 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
16052 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
16053 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
16054 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
16055 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
16056 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
16057 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
16058 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
16059 Likewise.
16060 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
16061 Likewise.
16062 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
16063 Likewise.
16064 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
16065 Likewise.
16066 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
16067 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
16068 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
16069 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
16070 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
16071 Specify lower bound on value.
16072 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
16073 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
16074 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
16075 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
16076 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
16077 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
16078 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
16079 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
16080 value.
16081 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
16082 as optional.
16083 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
16084 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
16085 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
16086 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
16087 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
16088 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
16089 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
16090 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
16091 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
16092 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
16093 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
16094 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
16095 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
16096 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
16097 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
16098 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
16099 entry.
16100 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
16101 optional.
16102 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
16103 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
16104 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
16105 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
16106 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
16107 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
16108 Likewise.
16109 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
16110 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
16111 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
16112 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
16113 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
16114 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
16115 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
16116 as optional.
16117 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
16118 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
16119 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
16120 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
16121 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
16122 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
16123 specify as optional.
16124 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
16125 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
16126 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
16127 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
16128 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
16129 [XPG3] (NL_LANGMAX): Likewise.
16130 [POSIX || XPG3] (NL_MSGMAX): Likewise.
16131 [POSIX || XPG3] (NL_NMAX): Likewise.
16132 [POSIX || XPG3] (NL_SETMAX): Likewise.
16133 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
16134 [XPG3] (NZERO): Likewise.
16135 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
16136 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
16137 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
16138 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
16139 (REG_ERANGE): Expect.
16140 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
16141 optional-constant.
16142 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
16143 Use (void) in prototype.
16144 [POSIX] (*_t): Allow.
16145 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
16146 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
16147 (WRDE_BADVAL): Expect.
16148
5ba924e3
JM
16149 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
16150 expect.
16151 [XPG3 || XPG4] (O_RSYNC): Likewise.
16152 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
16153 Likewise.
16154 [XPG3 || XPG4] (pthread_sigmask): Likewise.
16155 [XPG3 || XPG4] (sigqueue): Likewise.
16156 [XPG3 || XPG4] (sigtimedwait): Likewise.
16157 [XPG3 || XPG4] (sigwaitinfo): Likewise.
16158 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
16159 [XPG3 || XPG4] (vsnprintf): Likewise.
16160 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
16161 Likewise.
16162 [XPG3 || XPG4] (blksize_t): Likewise.
16163 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
16164 Likewise.
16165 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
16166 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
16167 [XPG3 || XPG4] (struct itimerspec): Likewise.
16168 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
16169 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
16170 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
16171 [XPG3 || XPG4] (clockid_t): Likewise.
16172 [XPG3 || XPG4] (timer_t): Likewise.
16173 [XPG3 || XPG4] (clock_getres): Likewise.
16174 [XPG3 || XPG4] (clock_gettime): Likewise.
16175 [XPG3 || XPG4] (clock_settime): Likewise.
16176 [XPG3 || XPG4] (nanosleep): Likewise.
16177 [XPG3 || XPG4] (timer_create): Likewise.
16178 [XPG3 || XPG4] (timer_delete): Likewise.
16179 [XPG3 || XPG4] (timer_gettime): Likewise.
16180 [XPG3 || XPG4] (timer_getoverrun): Likewise.
16181 [XPG3 || XPG4] (timer_settime): Likewise.
16182 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
16183 [XPG3 || XPG4] (getlogin_r): Likewise.
16184 [XPG3 || XPG4] (pread): Likewise.
16185 [XPG3 || XPG4] (pthread_atfork): Likewise.
16186 [XPG3 || XPG4] (pwrite): Likewise.
16187
ee663277
JM
16188 [BZ #14835]
16189 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
16190 <bits/siginfo.h>.
16191
942caa16
PT
161922012-11-19 Pino Toscano <toscano.pino@tiscali.it>
16193
e19af380
PT
16194 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
16195 finalizing MALLSTREAM.
16196
942caa16
PT
16197 * sysdeps/mach/hurd/syncfs.c: New file.
16198
cfde9b46
SP
161992012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16200
16201 [BZ #14719]
16202 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
16203 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
16204 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
16205 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
16206 (_nss_dns_gethostbyname4_r): Likewise.
16207 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
16208 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
16209
f6da27e5
PH
162102012-11-19 Peng Haitao <penght@cn.fujitsu.com>
16211
16212 [BZ #13763]
16213 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
16214
6665d4a2
SM
162152012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
16216
1f51ee92
SM
16217 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
16218 * elf/cache.c (print_entry): Print ",AArch64" for
16219 FLAG_AARCH64_LIB64
16220
6665d4a2
SM
16221 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
16222 * elf/cache.c (print_entry): Print ",hard-float" for
16223 FLAG_ARM_LIBHF.
16224
05b227bd
DM
162252012-11-18 David S. Miller <davem@davemloft.net>
16226
16227 With help from Joseph Myers.
16228 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
16229 cutoff to 2**-13.
16230 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
16231 cutoff to 2**-25.
16232 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
16233 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
16234 small.
16235 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
16236 * math/libm-test.inc (y0_test): New tests.
16237 (y1_test): New tests.
16238 * sysdeps/i386/fpu/libm-test-ulps: Update.
16239 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16240 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16241
786b0b67
AS
162422012-11-18 Andreas Schwab <schwab@linux-m68k.org>
16243
16244 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
16245 64-bit targets.
16246 * configure: Regenerated.
16247
8e18b86d
DM
162482012-11-17 David S. Miller <davem@davemloft.net>
16249
16250 [BZ #14811]
16251 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
16252 nonzero exponents with absolute value below 0x1p-128 to +/-
16253 0x1p-128.
16254
531f1ae0
JM
162552012-11-17 Joseph Myers <joseph@codesourcery.com>
16256
12df29e2
JM
16257 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
16258
150dc1a0
JM
16259 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
16260
531f1ae0
JM
16261 * posix/getconf-speclist.c: New file.
16262 * posix/posix-envs.def: Likewise.
16263 * posix/confstr.c (START_ENV_GROUP): New macro.
16264 (END_ENV_GROUP): Likewise.
16265 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
16266 (KNOWN_PRESENT_ENV_STRING): Likewise.
16267 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
16268 (UNKNOWN_ENVIRONMENT): Likewise.
16269 (confstr): Include posix-envs.def instead of handling
16270 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
16271 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
16272 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
16273 (END_ENV_GROUP): Likewise.
16274 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
16275 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
16276 (UNKNOWN_ENVIRONMENT): Likewise.
16277 (__sysconf): Include posix-envs.def instead of handling associated
16278 cases directly here.
16279 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
16280 preprocessing getconf-speclist.c rather than running getconf or
16281 generating empty file.
16282
a93f9cbc
PT
162832012-11-16 Pino Toscano <toscano.pino@tiscali.it>
16284
16285 * scripts/check-local-headers.sh: Ignore 'mach' headers.
16286
d64d9f87
AL
162872012-11-16 Andrej Lajovic <natrij@gmail.com>
16288
16289 [BZ #14672]
16290 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
16291
447885eb
DM
162922012-11-16 David S. Miller <davem@davemloft.net>
16293
16294 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
16295 smaller than LDBL_EPSILON/2.0L, just return xm1.
16296
bcbf9830
L
162972012-11-16 H.J. Lu <hongjiu.lu@intel.com>
16298
16299 * elf/tst-array1.c (init): Set constructor priority to 1000.
16300 (fini): Set destructor priority to 1000.
16301 * elf/tst-array2dep.c: Likewise.
16302
2b766585
SP
163032012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16304
16305 [BZ #11741]
16306 * libio/fileops.c (_IO_new_file_write): Correctly return error.
16307 (_IO_new_file_xsputn): Also return EOF if none of the input
16308 data was written when overflow failed.
16309 * libio/iopadn.c (_IO_padn): Likewise.
16310 * libio/iowpadn.c (_IO_wpadn): Likewise.
16311 * stdio-common/tst-put-error.c: Add copyright notice.
16312 (do_test): Add case for printing padded string.
16313 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
16314 _IO_padn returned error.
16315 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
16316 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
16317 return EOF.
16318
b1848fde
SP
163192012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16320
16321 * libio/libioP.h: Add comment note that the references to C++
16322 bits are now obsolete.
16323
2fd89785
MS
163242012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16325
16326 * math/libm-test.inc (check_complex): Use asprintf.
16327
e3ea5409
JM
163282012-11-14 Joseph Myers <joseph@codesourcery.com>
16329
16330 * debug/pcprofiledump.c (print_version): Update copyright year.
16331 * malloc/memusagestat.c (print_version): Likewise.
16332
2e64d265
L
163332012-11-14 H.J. Lu <hongjiu.lu@intel.com>
16334
16335 [BZ #14831]
16336 * elf/Makefile (tests): Add tst-audit8.
16337 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
16338 ($(objpfx)tst-audit8.out): New target.
16339 (tst-audit8-ENV): New variable.
16340 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
16341 audit if l_reloc_result is NULL.
16342 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
16343 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
16344 * elf/tst-audit8.c: New file.
16345
c485e4d2
MS
163462012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16347
16348 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
16349 * misc/Makefile (CFLAGS-select.c): Define.
16350 * posix/Makefile (CFLAGS-pause.c): Define.
16351
3a0d900a
DM
163522012-11-13 David S. Miller <davem@davemloft.net>
16353
16354 * crypt/Makefile: Move test targets after toplevel Rules
16355 inclusion. Grab any necessary sysdep routines when linking.
16356 * crypt/md5.c (md5_process_block): Remove define, we will always
16357 name it __md5_process_block.
16358 (md5_finish_ctx): Update md5_process_block call.
16359 (md5_stream): Likewise.
16360 (md5_process_bytes): Likewise.
16361 (md5_process_block): Rename to __md5_process_block and move to ...
16362 * crypt/md5-block.c: ... here.
16363 * crypt/sha256.c (sha256_process_block): Move to ...
16364 * crypt/sha256-block.c: ... here.
16365 * crypt/sha512.c (sha512_process_block): Move to ...
16366 * crypt/sha512-block.c: ... here.
16367 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
16368 path.
16369 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
16370 * sysdeps/sparc/sparc64/multiarch/Makefile
16371 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
16372 crypt subdir.
16373 (localedef-aux): Add md5 crypto assembler when in locale subdir.
16374 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
16375 multiarch changes.
16376 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
16377 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
16378 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
16379 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
16380 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
16381 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
16382 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
16383 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
16384 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
16385 file.
16386 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
16387 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
16388 file.
16389 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
16390
8ca89318
JM
163912012-11-13 Joseph Myers <joseph@codesourcery.com>
16392
e27d476a
JM
16393 * timezone/tzselect.ksh: Update from tzcode git revision
16394 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
16395 * timezone/zdump.c: Likewise.
16396 * timezone/zic.c: Likewise.
16397 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
16398 in TZVERSION setting, not $(PKGVERSION).
16399 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
16400 REPORT_BUGS_TO settings.
16401
8ca89318
JM
16402 [BZ #14838]
16403 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
16404 macro.
16405
47594329
MS
164062012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16407
16408 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
16409 detection to immediately after _FP_ROUND().
16410 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
16411 bits are 0.
16412
640ac3f1
DM
164132012-11-11 David S. Miller <davem@davemloft.net>
16414
16415 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
16416 inttypes.h
16417 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
16418 __close rather than their public counterparts.
16419
3d2577bb
JM
164202012-11-10 Joseph Myers <joseph@codesourcery.com>
16421
16422 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
16423 file.
16424 [UNIX98] (sem_timedwait): Do not expect.
16425 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
16426 [XPG4 || UNIX98] (sockatmark): Do not expect.
16427 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
16428 (clock_getcpuclockid): Do not expect.
16429 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
16430 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
16431 Do not expect.
16432 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
16433 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
16434 [UNIX98] (vwscanf): Likewise.
16435 [UNIX98] (vswscanf): Likewise.
16436
fb1ae1ee
JM
164372012-11-09 Joseph Myers <joseph@codesourcery.com>
16438
9ec6f8bd
JM
16439 * timezone/version.h: Remove file.
16440 * timezone/README: Do not refer to version.h.
16441 * timezone/Makefile ($(objpfx)zic.o): New dependency on
16442 $(objpfx)version.h.
16443 ($(objpfx)zdump.o): Likewise.
c3f81911 16444 ($(objpfx)version.h): New target.
9ec6f8bd 16445
0aa8f8a1
JM
16446 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
16447 2012i.
16448 * timezone/README: Don't mention modification to tzselect.ksh.
16449 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
16450 work on unmodified tzselect.ksh. Substitute version numbers in
16451 tzselect.ksh.
16452
4e87147f
JM
16453 * Makefile (format-me): Remove.
16454 (INSTALL): Adjust indentation. Use commands directly instead of
16455 using $(format-me).
16456
8b748aed
JM
16457 * aclocal.m4 (ACX_PKGVERSION): New macro.
16458 (ACX_BUGURL): Likewise.
16459 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
16460 (PKGVERSION): New AC_DEFINE_UNQUOTED.
16461 (REPORT_BUGS_TO): Likewise.
16462 * configure: Regenerated.
16463 * config.h.in (PKGVERSION): New macro.
16464 (REPORT_BUGS_TO): Likewise.
16465 * config.make.in (PKGVERSION): New variable.
16466 (PKGVERSION_TEXI): Likewise.
16467 (REPORT_BUGS_TO): Likewise.
16468 (REPORT_BUGS_TEXI): Likewise.
16469 * Makefile (format-me): Use -I$(common-objpfx)manual.
16470 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
16471 ($(common-objpfx)manual/%): New target.
16472 (manual/%): Remove target.
16473 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
16474 (print_version): Use PKGVERSION.
16475 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
16476 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
16477 and REPORT_BUGS_TO.
16478 ($(objpfx)xtrace): Likewise.
16479 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
16480 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
16481 (print_version): Use PKGVERSION.
16482 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
16483 (do_version): Use PKGVERSION.
16484 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
16485 REPORT_BUGS_TO.
16486 (common-ldd-rewrite): Likewise.
16487 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
16488 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
16489 (print_version): Use PKGVERSION.
16490 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
16491 * elf/pldd.c (argp_program_bug_address): Remove variable.
16492 (more_help): New function.
16493 (argp): Use more_help.
16494 (print_version): Use PKGVERSION.
16495 * elf/sln.c (main): Use PKGVERSION.
16496 (usage): Use REPORT_BUGS_TO.
16497 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
16498 (top level): Use PKGVERSION.
16499 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
16500 (print_version): Use PKGVERSION.
16501 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
16502 (print_version): Use PKGVERSION.
16503 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
16504 (print_version): Use PKGVERSION.
16505 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
16506 (print_version): Use PKGVERSION.
16507 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
16508 (print_version): Use PKGVERSION.
16509 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
16510 (print_version): Use PKGVERSION.
16511 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
16512 and BUGURL.
16513 ($(objpfx)memusage): Likewise.
16514 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
16515 (do_version): Use PKGVERSION.
16516 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
16517 (print_version): Use PKGVERSION.
16518 * malloc/mtrace.pl ($PACKAGE): Remove variable.
16519 ($PKGVERSION): New variable.
16520 ($REPORT_BUGS_TO): Likewise.
16521 (usage): Use $REPORT_BUGS_TO.
16522 (top level): Use $PKGVERSION.
16523 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
16524 ($(objpfx)pkgvers.texi): New rule.
16525 ($(objpfx)stamp-pkgvers): Likewise.
16526 * manual/install.texi: Include pkgvers.texi.
16527 (--with-pkgversion): Document new configure option.
16528 (--with-bugurl): Likewise.
16529 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
16530 than necessarily for this particular distribution. Use
16531 REPORT_BUGS_TO for where to report bugs.
16532 * INSTALL: Regenerated.
16533 * manual/libc.texinfo: Include pkgvers.texi.
16534 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
16535 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
16536 (print_version): Use PKGVERSION.
16537 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
16538 (print_version): Use PKGVERSION.
16539 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
16540 (print_version): Use PKGVERSION.
16541 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
16542 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
16543 macro.
16544 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
16545 (print_version): Use PKGVERSION.
16546 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
16547 (print_version): Use PKGVERSION.
16548 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
16549 and PKGVERSION.
16550
92e4b6a9
JM
16551 * timezone/checktab.awk: Update from tzcode 2012i.
16552 * timezone/ialloc.c: Likewise.
16553 * timezone/private.h: Likewise.
16554 * timezone/scheck.c: Likewise.
16555 * timezone/tzfile.h: Likewise.
16556 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
16557 (TZVERSION): Hardcode tzcode version number.
16558 * timezone/zdump.c: Update from tzcode 2012i.
16559 * timezone/zic.c: Likewise.
16560 * timezone/version.h: New file.
16561 * timezone/README: Describe version.h. Update upstream location.
16562
9bde902c
JM
16563 [BZ #14824]
16564 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
16565 (mktemp): Enable declaration.
16566 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
16567 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
16568 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
16569 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
16570 Likewise.
16571 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
16572 Likewise.
16573 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
16574 Likewise.
16575 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
16576 Likewise.
16577 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
16578 Likewise.
16579 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
16580 Likewise.
16581
fb1ae1ee
JM
16582 [BZ #14821]
16583 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
16584 offset in buffer as u_int32_t not u_long. Consistently use memcpy
16585 for copies of such integer values.
16586 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16587 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16588
2c1adbcb
AJ
165892012-11-09 Andreas Jaeger <aj@suse.de>
16590
16591 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
16592 definitions and declarations that are provided by
16593 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
16594
d0f8457e
AK
165952012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16596
3a235abb 16597 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
16598 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
16599 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
16600 definition.
16601
57241e26
MS
166022012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16603
16604 * elf/elf.h: Update comment before AArch64 relocations.
16605
60e8270d
DM
166062012-11-07 David S. Miller <davem@davemloft.net>
16607
16608 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
16609 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
16610 (__start_context): Declare.
16611 (__makecontext_ret): Delete.
16612 (__makecontext): Hook up __start_context instead of
16613 __makecontext_ret.
16614 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
16615 (sysdep_routines): Add __start_context when in stdlib.
16616
0fbb0fbc
JM
166172012-11-07 Joseph Myers <joseph@codesourcery.com>
16618
16619 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
16620 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
16621 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
16622 hardcoded "nm".
16623 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
16624 (READELF): New variable. Use it instead of hardcoded "readelf".
16625
eb48db7e
L
166262012-11-07 H.J. Lu <hongjiu.lu@intel.com>
16627
16628 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
16629 * sysdeps/x86/Makefile: Here.
16630 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
16631 * sysdeps/x86/tst-xmmymm.sh: This.
16632
05bcf62a
JM
166332012-11-07 Joseph Myers <joseph@codesourcery.com>
16634
c4b6cf53
JM
16635 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
16636 expectations.
16637 [UNIX98] (pthread_barrier_t): Do not expect.
16638 [UNIX98] (pthread_barrierattr_t): Likewise.
16639 [UNIX98] (pthread_spinlock_t): Likewise.
16640 [UNIX98] (pthread_barrier_destroy): Likewise.
16641 [UNIX98] (pthread_barrier_init): Likewise.
16642 [UNIX98] (pthread_barrier_wait): Likewise.
16643 [UNIX98] (pthread_barrierattr_destroy): Likewise.
16644 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
16645 [UNIX98] (pthread_barrierattr_init): Likewise.
16646 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
16647 [UNIX98] (pthread_getcpuclockid): Likewise.
16648 [UNIX98] (pthread_mutex_timedlock): Likewise.
16649 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
16650 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
16651 [UNIX98] (pthread_sigmask): Likewise.
16652 [UNIX98] (pthread_spin_destroy): Likewise.
16653 [UNIX98] (pthread_spin_init): Likewise.
16654 [UNIX98] (pthread_spin_lock): Likewise.
16655 [UNIX98] (pthread_spin_trylock): Likewise.
16656 [UNIX98] (pthread_spin_unlock): Likewise.
16657 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
16658 Do not expect.
16659 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
16660 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
16661 [XPG3 || XPG4] (pthread_cond_t): Likewise.
16662 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
16663 [XPG3 || XPG4] (pthread_key_t): Likewise.
16664 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
16665 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
16666 [XPG3 || XPG4] (pthread_once_t): Likewise.
16667 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
16668 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
16669 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
16670 [XPG3 || XPG4] (pthread_t): Likewise.
16671
cbe6e120
JM
16672 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
16673 not expect.
16674 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
16675
1b126443
JM
16676 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
16677 Change function return type to int.
16678
b961a573
JM
16679 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
16680 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
16681 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
16682 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
16683 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
16684 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
16685 [!POSIX] (posix_madvise): Likewise.
16686 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
16687 && !UNIX98].
16688 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
16689 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
16690 (mode_t): Likewise.
16691 (posix_mem_offset): Likewise.
16692 (posix_typed_mem_get_info): Likewise.
16693 (posix_typed_mem_open): Likewise.
16694
9e188909
JM
16695 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
16696 Change condition to [XOPEN2K8].
16697
05bcf62a
JM
16698 * conform/conformtest.pl: Preprocess allow-header data with -x c
16699 instead of from stdin.
16700 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
16701 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
16702 [C99-based standards] (cerfc): Likewise.
16703 [C99-based standards] (cexp2): Likewise.
16704 [C99-based standards] (cexpm1): Likewise.
16705 [C99-based standards] (clog10): Likewise.
16706 [C99-based standards] (clog1p): Likewise.
16707 [C99-based standards] (clog2): Likewise.
16708 [C99-based standards] (clgamma): Likewise.
16709 [C99-based standards] (ctgamma): Likewise.
16710 [C99-based standards] (cerff): Likewise.
16711 [C99-based standards] (cerfcf): Likewise.
16712 [C99-based standards] (cexp2f): Likewise.
16713 [C99-based standards] (cexpm1f): Likewise.
16714 [C99-based standards] (clog10f): Likewise.
16715 [C99-based standards] (clog1pf): Likewise.
16716 [C99-based standards] (clog2f): Likewise.
16717 [C99-based standards] (clgammaf): Likewise.
16718 [C99-based standards] (ctgammaf): Likewise.
16719 [C99-based standards] (cerfl): Likewise.
16720 [C99-based standards] (cerfcl): Likewise.
16721 [C99-based standards] (cexp2l): Likewise.
16722 [C99-based standards] (cexpm1l): Likewise.
16723 [C99-based standards] (clog10l): Likewise.
16724 [C99-based standards] (clog1pl): Likewise.
16725 [C99-based standards] (clog2l): Likewise.
16726 [C99-based standards] (clgammal): Likewise.
16727 [C99-based standards] (ctgammal): Likewise.
16728 * conform/data/inttypes.h-data [C99-based standards]: Include
16729 stdint.h-data. Remove all expectations for stdint.h contents.
16730 [C99-based standards] (PRI*): Do not allow.
16731 [C99-based standards] (SCN*): Likewise.
16732 [C99-based standards] (*_t): Likewise.
16733 [C99-based-standards] (PRId8): Expect macro.
16734 [C99-based-standards] (PRIi8): Likewise.
16735 [C99-based-standards] (PRIo8): Likewise.
16736 [C99-based-standards] (PRIu8): Likewise.
16737 [C99-based-standards] (PRIx8): Likewise.
16738 [C99-based-standards] (PRIX8): Likewise.
16739 [C99-based-standards] (SCNd8): Likewise.
16740 [C99-based-standards] (SCNi8): Likewise.
16741 [C99-based-standards] (SCNo8): Likewise.
16742 [C99-based-standards] (SCNu8): Likewise.
16743 [C99-based-standards] (SCNx8): Likewise.
16744 [C99-based-standards] (PRIdLEAST8): Likewise.
16745 [C99-based-standards] (PRIiLEAST8): Likewise.
16746 [C99-based-standards] (PRIoLEAST8): Likewise.
16747 [C99-based-standards] (PRIuLEAST8): Likewise.
16748 [C99-based-standards] (PRIxLEAST8): Likewise.
16749 [C99-based-standards] (PRIXLEAST8): Likewise.
16750 [C99-based-standards] (SCNdLEAST8): Likewise.
16751 [C99-based-standards] (SCNiLEAST8): Likewise.
16752 [C99-based-standards] (SCNoLEAST8): Likewise.
16753 [C99-based-standards] (SCNuLEAST8): Likewise.
16754 [C99-based-standards] (SCNxLEAST8): Likewise.
16755 [C99-based-standards] (PRIdFAST8): Likewise.
16756 [C99-based-standards] (PRIiFAST8): Likewise.
16757 [C99-based-standards] (PRIoFAST8): Likewise.
16758 [C99-based-standards] (PRIuFAST8): Likewise.
16759 [C99-based-standards] (PRIxFAST8): Likewise.
16760 [C99-based-standards] (PRIXFAST8): Likewise.
16761 [C99-based-standards] (SCNdFAST8): Likewise.
16762 [C99-based-standards] (SCNiFAST8): Likewise.
16763 [C99-based-standards] (SCNoFAST8): Likewise.
16764 [C99-based-standards] (SCNuFAST8): Likewise.
16765 [C99-based-standards] (SCNxFAST8): Likewise.
16766 [C99-based-standards] (PRId16): Likewise.
16767 [C99-based-standards] (PRIi16): Likewise.
16768 [C99-based-standards] (PRIo16): Likewise.
16769 [C99-based-standards] (PRIu16): Likewise.
16770 [C99-based-standards] (PRIx16): Likewise.
16771 [C99-based-standards] (PRIX16): Likewise.
16772 [C99-based-standards] (SCNd16): Likewise.
16773 [C99-based-standards] (SCNi16): Likewise.
16774 [C99-based-standards] (SCNo16): Likewise.
16775 [C99-based-standards] (SCNu16): Likewise.
16776 [C99-based-standards] (SCNx16): Likewise.
16777 [C99-based-standards] (PRIdLEAST16): Likewise.
16778 [C99-based-standards] (PRIiLEAST16): Likewise.
16779 [C99-based-standards] (PRIoLEAST16): Likewise.
16780 [C99-based-standards] (PRIuLEAST16): Likewise.
16781 [C99-based-standards] (PRIxLEAST16): Likewise.
16782 [C99-based-standards] (PRIXLEAST16): Likewise.
16783 [C99-based-standards] (SCNdLEAST16): Likewise.
16784 [C99-based-standards] (SCNiLEAST16): Likewise.
16785 [C99-based-standards] (SCNoLEAST16): Likewise.
16786 [C99-based-standards] (SCNuLEAST16): Likewise.
16787 [C99-based-standards] (SCNxLEAST16): Likewise.
16788 [C99-based-standards] (PRIdFAST16): Likewise.
16789 [C99-based-standards] (PRIiFAST16): Likewise.
16790 [C99-based-standards] (PRIoFAST16): Likewise.
16791 [C99-based-standards] (PRIuFAST16): Likewise.
16792 [C99-based-standards] (PRIxFAST16): Likewise.
16793 [C99-based-standards] (PRIXFAST16): Likewise.
16794 [C99-based-standards] (SCNdFAST16): Likewise.
16795 [C99-based-standards] (SCNiFAST16): Likewise.
16796 [C99-based-standards] (SCNoFAST16): Likewise.
16797 [C99-based-standards] (SCNuFAST16): Likewise.
16798 [C99-based-standards] (SCNxFAST16): Likewise.
16799 [C99-based-standards] (PRId32): Likewise.
16800 [C99-based-standards] (PRIi32): Likewise.
16801 [C99-based-standards] (PRIo32): Likewise.
16802 [C99-based-standards] (PRIu32): Likewise.
16803 [C99-based-standards] (PRIx32): Likewise.
16804 [C99-based-standards] (PRIX32): Likewise.
16805 [C99-based-standards] (SCNd32): Likewise.
16806 [C99-based-standards] (SCNi32): Likewise.
16807 [C99-based-standards] (SCNo32): Likewise.
16808 [C99-based-standards] (SCNu32): Likewise.
16809 [C99-based-standards] (SCNx32): Likewise.
16810 [C99-based-standards] (PRIdLEAST32): Likewise.
16811 [C99-based-standards] (PRIiLEAST32): Likewise.
16812 [C99-based-standards] (PRIoLEAST32): Likewise.
16813 [C99-based-standards] (PRIuLEAST32): Likewise.
16814 [C99-based-standards] (PRIxLEAST32): Likewise.
16815 [C99-based-standards] (PRIXLEAST32): Likewise.
16816 [C99-based-standards] (SCNdLEAST32): Likewise.
16817 [C99-based-standards] (SCNiLEAST32): Likewise.
16818 [C99-based-standards] (SCNoLEAST32): Likewise.
16819 [C99-based-standards] (SCNuLEAST32): Likewise.
16820 [C99-based-standards] (SCNxLEAST32): Likewise.
16821 [C99-based-standards] (PRIdFAST32): Likewise.
16822 [C99-based-standards] (PRIiFAST32): Likewise.
16823 [C99-based-standards] (PRIoFAST32): Likewise.
16824 [C99-based-standards] (PRIuFAST32): Likewise.
16825 [C99-based-standards] (PRIxFAST32): Likewise.
16826 [C99-based-standards] (PRIXFAST32): Likewise.
16827 [C99-based-standards] (SCNdFAST32): Likewise.
16828 [C99-based-standards] (SCNiFAST32): Likewise.
16829 [C99-based-standards] (SCNoFAST32): Likewise.
16830 [C99-based-standards] (SCNuFAST32): Likewise.
16831 [C99-based-standards] (SCNxFAST32): Likewise.
16832 [C99-based-standards] (PRId64): Likewise.
16833 [C99-based-standards] (PRIi64): Likewise.
16834 [C99-based-standards] (PRIo64): Likewise.
16835 [C99-based-standards] (PRIu64): Likewise.
16836 [C99-based-standards] (PRIx64): Likewise.
16837 [C99-based-standards] (PRIX64): Likewise.
16838 [C99-based-standards] (SCNd64): Likewise.
16839 [C99-based-standards] (SCNi64): Likewise.
16840 [C99-based-standards] (SCNo64): Likewise.
16841 [C99-based-standards] (SCNu64): Likewise.
16842 [C99-based-standards] (SCNx64): Likewise.
16843 [C99-based-standards] (PRIdLEAST64): Likewise.
16844 [C99-based-standards] (PRIiLEAST64): Likewise.
16845 [C99-based-standards] (PRIoLEAST64): Likewise.
16846 [C99-based-standards] (PRIuLEAST64): Likewise.
16847 [C99-based-standards] (PRIxLEAST64): Likewise.
16848 [C99-based-standards] (PRIXLEAST64): Likewise.
16849 [C99-based-standards] (SCNdLEAST64): Likewise.
16850 [C99-based-standards] (SCNiLEAST64): Likewise.
16851 [C99-based-standards] (SCNoLEAST64): Likewise.
16852 [C99-based-standards] (SCNuLEAST64): Likewise.
16853 [C99-based-standards] (SCNxLEAST64): Likewise.
16854 [C99-based-standards] (PRIdFAST64): Likewise.
16855 [C99-based-standards] (PRIiFAST64): Likewise.
16856 [C99-based-standards] (PRIoFAST64): Likewise.
16857 [C99-based-standards] (PRIuFAST64): Likewise.
16858 [C99-based-standards] (PRIxFAST64): Likewise.
16859 [C99-based-standards] (PRIXFAST64): Likewise.
16860 [C99-based-standards] (SCNdFAST64): Likewise.
16861 [C99-based-standards] (SCNiFAST64): Likewise.
16862 [C99-based-standards] (SCNoFAST64): Likewise.
16863 [C99-based-standards] (SCNuFAST64): Likewise.
16864 [C99-based-standards] (SCNxFAST64): Likewise.
16865 [C99-based-standards] (PRIdMAX): Likewise.
16866 [C99-based-standards] (PRIiMAX): Likewise.
16867 [C99-based-standards] (PRIoMAX): Likewise.
16868 [C99-based-standards] (PRIuMAX): Likewise.
16869 [C99-based-standards] (PRIxMAX): Likewise.
16870 [C99-based-standards] (PRIXMAX): Likewise.
16871 [C99-based-standards] (SCNdMAX): Likewise.
16872 [C99-based-standards] (SCNiMAX): Likewise.
16873 [C99-based-standards] (SCNoMAX): Likewise.
16874 [C99-based-standards] (SCNuMAX): Likewise.
16875 [C99-based-standards] (SCNxMAX): Likewise.
16876 [C99-based-standards] (PRIdPTR): Likewise.
16877 [C99-based-standards] (PRIiPTR): Likewise.
16878 [C99-based-standards] (PRIoPTR): Likewise.
16879 [C99-based-standards] (PRIuPTR): Likewise.
16880 [C99-based-standards] (PRIxPTR): Likewise.
16881 [C99-based-standards] (PRIXPTR): Likewise.
16882 [C99-based-standards] (SCNdPTR): Likewise.
16883 [C99-based-standards] (SCNiPTR): Likewise.
16884 [C99-based-standards] (SCNoPTR): Likewise.
16885 [C99-based-standards] (SCNuPTR): Likewise.
16886 [C99-based-standards] (SCNxPTR): Likewise.
16887 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
16888 allow.
16889 * conform/data/stdint.h-data: Update comments to clarify
16890 requirements.
16891 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
16892 type.
16893 [C99-based standards] (INT8_MAX): Likewise.
16894 [C99-based standards] (INT16_MIN): Likewise.
16895 [C99-based standards] (INT16_MAX): Likewise.
16896 [C99-based standards] (INT32_MIN): Likewise.
16897 [C99-based standards] (INT32_MAX): Likewise.
16898 [C99-based standards] (INT64_MIN): Likewise.
16899 [C99-based standards] (INT64_MAX): Likewise.
16900 [C99-based standards] (UINT8_MAX): Likewise.
16901 [C99-based standards] (UINT16_MAX): Likewise.
16902 [C99-based standards] (UINT32_MAX): Likewise.
16903 [C99-based standards] (UINT64_MAX): Likewise.
16904 [C99-based standards] (INT_LEAST8_MIN): Likewise.
16905 [C99-based standards] (INT_LEAST8_MAX): Likewise.
16906 [C99-based standards] (INT_LEAST16_MIN): Likewise.
16907 [C99-based standards] (INT_LEAST16_MAX): Likewise.
16908 [C99-based standards] (INT_LEAST32_MIN): Likewise.
16909 [C99-based standards] (INT_LEAST32_MAX): Likewise.
16910 [C99-based standards] (INT_LEAST64_MIN): Likewise.
16911 [C99-based standards] (INT_LEAST64_MAX): Likewise.
16912 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
16913 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
16914 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
16915 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
16916 [C99-based standards] (INT_FAST8_MIN): Likewise.
16917 [C99-based standards] (INT_FAST8_MAX): Likewise.
16918 [C99-based standards] (INT_FAST16_MIN): Likewise.
16919 [C99-based standards] (INT_FAST16_MAX): Likewise.
16920 [C99-based standards] (INT_FAST32_MIN): Likewise.
16921 [C99-based standards] (INT_FAST32_MAX): Likewise.
16922 [C99-based standards] (INT_FAST64_MIN): Likewise.
16923 [C99-based standards] (INT_FAST64_MAX): Likewise.
16924 [C99-based standards] (UINT_FAST8_MAX): Likewise.
16925 [C99-based standards] (UINT_FAST16_MAX): Likewise.
16926 [C99-based standards] (UINT_FAST32_MAX): Likewise.
16927 [C99-based standards] (UINT_FAST64_MAX): Likewise.
16928 [C99-based standards] (INTPTR_MIN): Likewise.
16929 [C99-based standards] (INTPTR_MAX): Likewise.
16930 [C99-based standards] (UINTPTR_MAX): Likewise.
16931 [C99-based standards] (INTMAX_MIN): Likewise.
16932 [C99-based standards] (INTMAX_MAX): Likewise.
16933 [C99-based standards] (UINTMAX_MAX): Likewise.
16934 [C99-based standards] (PTRDIFF_MIN): Likewise.
16935 [C99-based standards] (PTRDIFF_MAX): Likewise.
16936 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
16937 [C99-based standards] (SIZE_MAX): Likewise.
16938 [C99-based standards] (WCHAR_MAX): Likewise.
16939 [C99-based standards] (WINT_MAX): Likewise.
16940 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
16941 constraint on value.
16942 [C99-based standards] (WCHAR_MIN): Likewise.
16943 [C99-based standards] (WINT_MIN): Likewise.
16944 [C99-based standards] (*_t): Allow.
16945 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
16946 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
16947 Include math.h-data and complex.h-data. Remove all expectations
16948 of math.h and complex.h contents.
16949 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
16950 at end of line.
16951 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
16952 (struct tm): Expect tag.
16953 [C99-based-standards] (wcstof): Expect function.
16954 [C99-based-standards] (wcstold): Likewise.
16955 [C99-based-standards] (wcstoll): Likewise.
16956 [C99-based-standards] (wcstoull): Likewise.
16957 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
16958 macro-int-constant. Specify type.
16959 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
16960 constraint on value.
16961 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16962 Specify type.
16963 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
16964 Specify value.
16965 [ISO C standards]: Do not allow headers.
16966 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
16967 wcs[abcdefghijklmnopqrstuvwxyz]*.
16968 [ISO C standards] (*_t): Do not allow.
16969 * conform/data/wctype.h-data [C99-based standards] (iswblank):
16970 Expect function.
16971 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
16972 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16973 Specify type.
16974 [ISO C standards]: Do not allow headers.
16975 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
16976 is[abcdefghijklmnopqrstuvwxyz]*.
16977 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
16978 to[abcdefghijklmnopqrstuvwxyz]*.
16979 [ISO C standards] (*_t): Do not allow.
16980 * conform/data/stdalign.h-data: New file.
16981 * conform/data/stdbool.h-data: Likewise.
16982 * conform/data/stdnoreturn.h-data: Likewise.
16983
7514feb8
RM
169842012-11-07 Roland McGrath <roland@hack.frob.com>
16985
16986 [BZ #14815]
16987 * manual/filesys.texi (Directory Entries): Typo fix.
16988 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
16989
19b2ecfc
MS
169902012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16991
16992 * elf/elf.h (EM_AARCH64): New macro.
16993 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
16994 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
16995 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
16996 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
16997 (R_AARCH64_TLSDESC): Likewise.
16998 (NT_ARM_TLS): Likewise.
16999 (NT_ARM_HW_BREAK): Likewise.
17000 (NT_ARM_HW_WATCH): Likewise.
17001
60e235ee
JM
170022012-11-07 Joseph Myers <joseph@codesourcery.com>
17003
17004 [BZ #14811]
17005 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
17006 (__ieee754_powl): Saturate nonzero exponents with absolute value
17007 below 0x1p-79 to +/- 0x1p-79.
17008 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
17009 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
17010 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
17011 nonzero exponents with absolute value below 0x1p-32 to +/-
17012 0x1p-32.
17013 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
17014 (__ieee754_powl): Saturate nonzero exponents with absolute value
17015 below 0x1p-79 to +/- 0x1p-79.
17016 * math/libm-test.inc (pow_test): Add more tests.
17017
0ab234b7
AK
170182012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17019
17020 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
17021 _dl_s390_cap_flags with kernel. Increase string length.
17022 (_dl_s390_platforms): Add z196 and zEC12.
17023
45832f74
JM
170242012-11-07 Joseph Myers <joseph@codesourcery.com>
17025
17026 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
17027 Change XOPEN21K to XOPEN2K.
17028
19218757
MK
170292012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
17030
17031 * string/memmove.c: Use memcpy when possible.
17032
c5f45721
AJ
170332012-11-06 Andreas Jaeger <aj@suse.de>
17034
17035 * po/eo.po: Update from translation team.
17036
82477c28
JM
170372012-11-06 Joseph Myers <joseph@codesourcery.com>
17038
17039 [BZ #14793]
17040 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
17041 exponent and small x and y exponents, scale x or y up. Increase
17042 by 2 the exponent used in scaling up.
17043 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17044 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17045 * math/libm-test.inc (fma_test): Add more tests.
17046 (fma_test_towardzero): Likewise.
17047 (fma_test_downward): Likewise.
17048 (fma_test_upward): Likewise.
17049
99252c8c
JM
170502012-11-05 Joseph Myers <joseph@codesourcery.com>
17051
acfa885f
JM
17052 [BZ #14805]
17053 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
17054 fenv_t *.
17055
99252c8c
JM
17056 [BZ #14801]
17057 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
17058 namespace for names of struct fields.
17059 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
17060 fenv_t fields.
17061 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
17062 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
17063
d6d98dea
ST
170642012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
17065
17066 [BZ #3665]
17067 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
17068
e10bb107
TS
170692012-11-04 Thomas Schwinge <thomas@codesourcery.com>
17070
17071 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
17072 PTR_DEMANGLE.
17073
17074 [BZ #5246]
17075 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
17076 PTR_DEMANGLE.
17077
a0c2940d
JM
170782012-11-04 Joseph Myers <joseph@codesourcery.com>
17079
17080 [BZ #14797]
17081 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
17082 definitely overflow as x * y not x * y + z.
17083 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17084 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17085 * math/libm-test.inc (fma_test): Add more tests.
17086 (fma_test_towardzero): Likewise.
17087 (fma_test_downward): Likewise.
17088 (fma_test_upward): Likewise.
17089
b830319d
TS
170902012-11-04 Thomas Schwinge <thomas@codesourcery.com>
17091
17092 [BZ #157]
17093
17094 * include/stub-tag.h: Remove file.
17095 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
17096 '#include' of it.
17097 * manual/maint.texi (Porting): Don't reference it.
17098 * Makerules ($(objpfx)stubs): Likewise.
17099 * dirent/closedir.c: Don't include <stub-tag.h>.
17100 * dirent/dirfd.c: Likewise.
17101 * dirent/fdopendir.c: Likewise.
17102 * dirent/getdents.c: Likewise.
17103 * dirent/getdents64.c: Likewise.
17104 * dirent/opendir.c: Likewise.
17105 * dirent/readdir.c: Likewise.
17106 * dirent/readdir64.c: Likewise.
17107 * dirent/readdir64_r.c: Likewise.
17108 * dirent/readdir_r.c: Likewise.
17109 * dirent/rewinddir.c: Likewise.
17110 * dirent/seekdir.c: Likewise.
17111 * dirent/telldir.c: Likewise.
17112 * gmon/profil.c: Likewise.
17113 * grp/setgroups.c: Likewise.
17114 * inet/if_index.c: Likewise.
17115 * io/access.c: Likewise.
17116 * io/chdir.c: Likewise.
17117 * io/chmod.c: Likewise.
17118 * io/chown.c: Likewise.
17119 * io/close.c: Likewise.
17120 * io/dup.c: Likewise.
17121 * io/dup2.c: Likewise.
17122 * io/dup3.c: Likewise.
17123 * io/euidaccess.c: Likewise.
17124 * io/faccessat.c: Likewise.
17125 * io/fchdir.c: Likewise.
17126 * io/fchmod.c: Likewise.
17127 * io/fchmodat.c: Likewise.
17128 * io/fchown.c: Likewise.
17129 * io/fchownat.c: Likewise.
17130 * io/fcntl.c: Likewise.
17131 * io/flock.c: Likewise.
17132 * io/fstatfs.c: Likewise.
17133 * io/fstatfs64.c: Likewise.
17134 * io/fstatvfs.c: Likewise.
17135 * io/fstatvfs64.c: Likewise.
17136 * io/futimens.c: Likewise.
17137 * io/fxstat.c: Likewise.
17138 * io/fxstat64.c: Likewise.
17139 * io/fxstatat.c: Likewise.
17140 * io/fxstatat64.c: Likewise.
17141 * io/getcwd.c: Likewise.
17142 * io/isatty.c: Likewise.
17143 * io/lchmod.c: Likewise.
17144 * io/lchown.c: Likewise.
17145 * io/link.c: Likewise.
17146 * io/linkat.c: Likewise.
17147 * io/lseek.c: Likewise.
17148 * io/lseek64.c: Likewise.
17149 * io/lxstat64.c: Likewise.
17150 * io/mkdir.c: Likewise.
17151 * io/mkdirat.c: Likewise.
17152 * io/mkfifo.c: Likewise.
17153 * io/mkfifoat.c: Likewise.
17154 * io/open.c: Likewise.
17155 * io/open64.c: Likewise.
17156 * io/openat.c: Likewise.
17157 * io/openat64.c: Likewise.
17158 * io/pipe.c: Likewise.
17159 * io/pipe2.c: Likewise.
17160 * io/poll.c: Likewise.
17161 * io/posix_fadvise.c: Likewise.
17162 * io/posix_fadvise64.c: Likewise.
17163 * io/posix_fallocate.c: Likewise.
17164 * io/posix_fallocate64.c: Likewise.
17165 * io/read.c: Likewise.
17166 * io/readlink.c: Likewise.
17167 * io/readlinkat.c: Likewise.
17168 * io/rmdir.c: Likewise.
17169 * io/sendfile.c: Likewise.
17170 * io/sendfile64.c: Likewise.
17171 * io/statfs.c: Likewise.
17172 * io/statfs64.c: Likewise.
17173 * io/statvfs.c: Likewise.
17174 * io/statvfs64.c: Likewise.
17175 * io/symlink.c: Likewise.
17176 * io/symlinkat.c: Likewise.
17177 * io/ttyname.c: Likewise.
17178 * io/ttyname_r.c: Likewise.
17179 * io/umask.c: Likewise.
17180 * io/unlink.c: Likewise.
17181 * io/unlinkat.c: Likewise.
17182 * io/utime.c: Likewise.
17183 * io/utimensat.c: Likewise.
17184 * io/write.c: Likewise.
17185 * io/xmknod.c: Likewise.
17186 * io/xmknodat.c: Likewise.
17187 * io/xstat.c: Likewise.
17188 * io/xstat64.c: Likewise.
17189 * login/getpt.c: Likewise.
17190 * login/grantpt.c: Likewise.
17191 * login/unlockpt.c: Likewise.
17192 * math/e_acoshl.c: Likewise.
17193 * math/e_acosl.c: Likewise.
17194 * math/e_asinl.c: Likewise.
17195 * math/e_atan2l.c: Likewise.
17196 * math/e_atanhl.c: Likewise.
17197 * math/e_coshl.c: Likewise.
17198 * math/e_expl.c: Likewise.
17199 * math/e_fmodl.c: Likewise.
17200 * math/e_gammal_r.c: Likewise.
17201 * math/e_hypotl.c: Likewise.
17202 * math/e_j0l.c: Likewise.
17203 * math/e_j1l.c: Likewise.
17204 * math/e_jnl.c: Likewise.
17205 * math/e_lgammal_r.c: Likewise.
17206 * math/e_log10l.c: Likewise.
17207 * math/e_log2l.c: Likewise.
17208 * math/e_logl.c: Likewise.
17209 * math/e_powl.c: Likewise.
17210 * math/e_rem_pio2l.c: Likewise.
17211 * math/e_sinhl.c: Likewise.
17212 * math/e_sqrtl.c: Likewise.
17213 * math/fclrexcpt.c: Likewise.
17214 * math/fedisblxcpt.c: Likewise.
17215 * math/feenablxcpt.c: Likewise.
17216 * math/fegetenv.c: Likewise.
17217 * math/fegetexcept.c: Likewise.
17218 * math/fegetround.c: Likewise.
17219 * math/feholdexcpt.c: Likewise.
17220 * math/fesetenv.c: Likewise.
17221 * math/fesetround.c: Likewise.
17222 * math/feupdateenv.c: Likewise.
17223 * math/fgetexcptflg.c: Likewise.
17224 * math/fraiseexcpt.c: Likewise.
17225 * math/fsetexcptflg.c: Likewise.
17226 * math/ftestexcept.c: Likewise.
17227 * math/k_cosl.c: Likewise.
17228 * math/k_rem_pio2l.c: Likewise.
17229 * math/k_sinl.c: Likewise.
17230 * math/k_tanl.c: Likewise.
17231 * math/s_asinhl.c: Likewise.
17232 * math/s_atanl.c: Likewise.
17233 * math/s_cbrtl.c: Likewise.
17234 * math/s_erfl.c: Likewise.
17235 * math/s_expm1l.c: Likewise.
17236 * math/s_log1pl.c: Likewise.
17237 * math/s_tanhl.c: Likewise.
17238 * misc/acct.c: Likewise.
17239 * misc/brk.c: Likewise.
17240 * misc/chflags.c: Likewise.
17241 * misc/chroot.c: Likewise.
17242 * misc/fchflags.c: Likewise.
17243 * misc/fgetxattr.c: Likewise.
17244 * misc/flistxattr.c: Likewise.
17245 * misc/fremovexattr.c: Likewise.
17246 * misc/fsetxattr.c: Likewise.
17247 * misc/fsync.c: Likewise.
17248 * misc/ftruncate.c: Likewise.
17249 * misc/futimes.c: Likewise.
17250 * misc/futimesat.c: Likewise.
17251 * misc/getdomain.c: Likewise.
17252 * misc/getdtsz.c: Likewise.
17253 * misc/gethostid.c: Likewise.
17254 * misc/gethostname.c: Likewise.
17255 * misc/getloadavg.c: Likewise.
17256 * misc/getpagesize.c: Likewise.
17257 * misc/getsysstats.c: Likewise.
17258 * misc/getxattr.c: Likewise.
17259 * misc/gtty.c: Likewise.
17260 * misc/ioctl.c: Likewise.
17261 * misc/lgetxattr.c: Likewise.
17262 * misc/listxattr.c: Likewise.
17263 * misc/llistxattr.c: Likewise.
17264 * misc/lremovexattr.c: Likewise.
17265 * misc/lsetxattr.c: Likewise.
17266 * misc/lutimes.c: Likewise.
17267 * misc/madvise.c: Likewise.
17268 * misc/mincore.c: Likewise.
17269 * misc/mlock.c: Likewise.
17270 * misc/mlockall.c: Likewise.
17271 * misc/mmap.c: Likewise.
17272 * misc/mprotect.c: Likewise.
17273 * misc/msync.c: Likewise.
17274 * misc/munlock.c: Likewise.
17275 * misc/munlockall.c: Likewise.
17276 * misc/munmap.c: Likewise.
17277 * misc/preadv.c: Likewise.
17278 * misc/preadv64.c: Likewise.
17279 * misc/ptrace.c: Likewise.
17280 * misc/pwritev.c: Likewise.
17281 * misc/pwritev64.c: Likewise.
17282 * misc/readv.c: Likewise.
17283 * misc/reboot.c: Likewise.
17284 * misc/remap_file_pages.c: Likewise.
17285 * misc/removexattr.c: Likewise.
17286 * misc/revoke.c: Likewise.
17287 * misc/select.c: Likewise.
17288 * misc/setdomain.c: Likewise.
17289 * misc/setegid.c: Likewise.
17290 * misc/seteuid.c: Likewise.
17291 * misc/sethostid.c: Likewise.
17292 * misc/sethostname.c: Likewise.
17293 * misc/setregid.c: Likewise.
17294 * misc/setreuid.c: Likewise.
17295 * misc/setxattr.c: Likewise.
17296 * misc/sstk.c: Likewise.
17297 * misc/stty.c: Likewise.
17298 * misc/swapoff.c: Likewise.
17299 * misc/swapon.c: Likewise.
17300 * misc/sync.c: Likewise.
17301 * misc/syncfs.c: Likewise.
17302 * misc/syscall.c: Likewise.
17303 * misc/truncate.c: Likewise.
17304 * misc/ualarm.c: Likewise.
17305 * misc/usleep.c: Likewise.
17306 * misc/ustat.c: Likewise.
17307 * misc/utimes.c: Likewise.
17308 * misc/vhangup.c: Likewise.
17309 * misc/writev.c: Likewise.
17310 * posix/_exit.c: Likewise.
17311 * posix/alarm.c: Likewise.
17312 * posix/execve.c: Likewise.
17313 * posix/fexecve.c: Likewise.
17314 * posix/fork.c: Likewise.
17315 * posix/fpathconf.c: Likewise.
17316 * posix/getaddrinfo.c: Likewise.
17317 * posix/getegid.c: Likewise.
17318 * posix/geteuid.c: Likewise.
17319 * posix/getgid.c: Likewise.
17320 * posix/getgroups.c: Likewise.
17321 * posix/getlogin.c: Likewise.
17322 * posix/getlogin_r.c: Likewise.
17323 * posix/getpgid.c: Likewise.
17324 * posix/getpid.c: Likewise.
17325 * posix/getppid.c: Likewise.
17326 * posix/getresgid.c: Likewise.
17327 * posix/getresuid.c: Likewise.
17328 * posix/getsid.c: Likewise.
17329 * posix/getuid.c: Likewise.
17330 * posix/glob64.c: Likewise.
17331 * posix/nanosleep.c: Likewise.
17332 * posix/pathconf.c: Likewise.
17333 * posix/pause.c: Likewise.
17334 * posix/posix_madvise.c: Likewise.
17335 * posix/pread.c: Likewise.
17336 * posix/pread64.c: Likewise.
17337 * posix/pwrite.c: Likewise.
17338 * posix/pwrite64.c: Likewise.
17339 * posix/sched_getaffinity.c: Likewise.
17340 * posix/sched_getp.c: Likewise.
17341 * posix/sched_gets.c: Likewise.
17342 * posix/sched_primax.c: Likewise.
17343 * posix/sched_primin.c: Likewise.
17344 * posix/sched_rr_gi.c: Likewise.
17345 * posix/sched_setaffinity.c: Likewise.
17346 * posix/sched_setp.c: Likewise.
17347 * posix/sched_sets.c: Likewise.
17348 * posix/sched_yield.c: Likewise.
17349 * posix/setgid.c: Likewise.
17350 * posix/setlogin.c: Likewise.
17351 * posix/setpgid.c: Likewise.
17352 * posix/setresgid.c: Likewise.
17353 * posix/setresuid.c: Likewise.
17354 * posix/setsid.c: Likewise.
17355 * posix/setuid.c: Likewise.
17356 * posix/sleep.c: Likewise.
17357 * posix/spawni.c: Likewise.
17358 * posix/sysconf.c: Likewise.
17359 * posix/times.c: Likewise.
17360 * posix/wait.c: Likewise.
17361 * posix/wait3.c: Likewise.
17362 * posix/wait4.c: Likewise.
17363 * posix/waitpid.c: Likewise.
17364 * resolv/gai_sigqueue.c: Likewise.
17365 * resource/getpriority.c: Likewise.
17366 * resource/getrlimit.c: Likewise.
17367 * resource/getrusage.c: Likewise.
17368 * resource/nice.c: Likewise.
17369 * resource/setpriority.c: Likewise.
17370 * resource/setrlimit.c: Likewise.
17371 * resource/ulimit.c: Likewise.
17372 * rt/aio_cancel.c: Likewise.
17373 * rt/aio_fsync.c: Likewise.
17374 * rt/aio_read.c: Likewise.
17375 * rt/aio_sigqueue.c: Likewise.
17376 * rt/aio_suspend.c: Likewise.
17377 * rt/aio_write.c: Likewise.
17378 * rt/clock_getres.c: Likewise.
17379 * rt/clock_gettime.c: Likewise.
17380 * rt/clock_nanosleep.c: Likewise.
17381 * rt/clock_settime.c: Likewise.
17382 * rt/lio_listio.c: Likewise.
17383 * rt/mq_close.c: Likewise.
17384 * rt/mq_getattr.c: Likewise.
17385 * rt/mq_notify.c: Likewise.
17386 * rt/mq_open.c: Likewise.
17387 * rt/mq_receive.c: Likewise.
17388 * rt/mq_send.c: Likewise.
17389 * rt/mq_setattr.c: Likewise.
17390 * rt/mq_timedreceive.c: Likewise.
17391 * rt/mq_timedsend.c: Likewise.
17392 * rt/mq_unlink.c: Likewise.
17393 * rt/shm_open.c: Likewise.
17394 * rt/shm_unlink.c: Likewise.
17395 * rt/timer_create.c: Likewise.
17396 * rt/timer_delete.c: Likewise.
17397 * rt/timer_getoverr.c: Likewise.
17398 * rt/timer_gettime.c: Likewise.
17399 * rt/timer_settime.c: Likewise.
17400 * setjmp/__longjmp.c: Likewise.
17401 * setjmp/setjmp.c: Likewise.
17402 * signal/kill.c: Likewise.
17403 * signal/killpg.c: Likewise.
17404 * signal/raise.c: Likewise.
17405 * signal/sigaction.c: Likewise.
17406 * signal/sigaltstack.c: Likewise.
17407 * signal/sigblock.c: Likewise.
17408 * signal/sigignore.c: Likewise.
17409 * signal/sigintr.c: Likewise.
17410 * signal/signal.c: Likewise.
17411 * signal/sigpause.c: Likewise.
17412 * signal/sigpending.c: Likewise.
17413 * signal/sigqueue.c: Likewise.
17414 * signal/sigreturn.c: Likewise.
17415 * signal/sigset.c: Likewise.
17416 * signal/sigsetmask.c: Likewise.
17417 * signal/sigstack.c: Likewise.
17418 * signal/sigsuspend.c: Likewise.
17419 * signal/sigtimedwait.c: Likewise.
17420 * signal/sigvec.c: Likewise.
17421 * signal/sigwait.c: Likewise.
17422 * signal/sigwaitinfo.c: Likewise.
17423 * signal/sysv_signal.c: Likewise.
17424 * socket/accept.c: Likewise.
17425 * socket/accept4.c: Likewise.
17426 * socket/bind.c: Likewise.
17427 * socket/connect.c: Likewise.
17428 * socket/getpeername.c: Likewise.
17429 * socket/getsockname.c: Likewise.
17430 * socket/getsockopt.c: Likewise.
17431 * socket/isfdtype.c: Likewise.
17432 * socket/listen.c: Likewise.
17433 * socket/recv.c: Likewise.
17434 * socket/recvfrom.c: Likewise.
17435 * socket/recvmsg.c: Likewise.
17436 * socket/send.c: Likewise.
17437 * socket/sendmsg.c: Likewise.
17438 * socket/sendto.c: Likewise.
17439 * socket/setsockopt.c: Likewise.
17440 * socket/shutdown.c: Likewise.
17441 * socket/sockatmark.c: Likewise.
17442 * socket/socket.c: Likewise.
17443 * socket/socketpair.c: Likewise.
17444 * stdio-common/ctermid.c: Likewise.
17445 * stdio-common/cuserid.c: Likewise.
17446 * stdio-common/remove.c: Likewise.
17447 * stdio-common/rename.c: Likewise.
17448 * stdio-common/renameat.c: Likewise.
17449 * stdio-common/tempname.c: Likewise.
17450 * stdlib/getcontext.c: Likewise.
17451 * stdlib/makecontext.c: Likewise.
17452 * stdlib/setcontext.c: Likewise.
17453 * stdlib/swapcontext.c: Likewise.
17454 * stdlib/system.c: Likewise.
17455 * streams/fattach.c: Likewise.
17456 * streams/fdetach.c: Likewise.
17457 * streams/getmsg.c: Likewise.
17458 * streams/getpmsg.c: Likewise.
17459 * streams/putmsg.c: Likewise.
17460 * streams/putpmsg.c: Likewise.
17461 * sysdeps/unix/bsd/getpt.c: Likewise.
17462 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
17463 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
17464 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
17466 Likewise.
17467 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
17468 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
17469 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
17470 * sysvipc/msgctl.c: Likewise.
17471 * sysvipc/msgget.c: Likewise.
17472 * sysvipc/msgrcv.c: Likewise.
17473 * sysvipc/msgsnd.c: Likewise.
17474 * sysvipc/semctl.c: Likewise.
17475 * sysvipc/semget.c: Likewise.
17476 * sysvipc/semop.c: Likewise.
17477 * sysvipc/semtimedop.c: Likewise.
17478 * sysvipc/shmat.c: Likewise.
17479 * sysvipc/shmctl.c: Likewise.
17480 * sysvipc/shmdt.c: Likewise.
17481 * sysvipc/shmget.c: Likewise.
17482 * termios/tcdrain.c: Likewise.
17483 * termios/tcflow.c: Likewise.
17484 * termios/tcflush.c: Likewise.
17485 * termios/tcgetattr.c: Likewise.
17486 * termios/tcgetpgrp.c: Likewise.
17487 * termios/tcsendbrk.c: Likewise.
17488 * termios/tcsetattr.c: Likewise.
17489 * termios/tcsetpgrp.c: Likewise.
17490 * time/adjtime.c: Likewise.
17491 * time/clock.c: Likewise.
17492 * time/getitimer.c: Likewise.
17493 * time/gettimeofday.c: Likewise.
17494 * time/setitimer.c: Likewise.
17495 * time/settimeofday.c: Likewise.
17496 * time/stime.c: Likewise.
17497 * time/time.c: Likewise.
17498
174992012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 17500
a20492cf
PT
17501 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
17502 /usr/old/bin.
17503
72e182e3
PT
17504 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
17505 instead of spaces.
17506 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
17507
fbeafede
JM
175082012-11-03 Joseph Myers <joseph@codesourcery.com>
17509
5b5b04d6
JM
17510 [BZ #14796]
17511 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
17512 FE_TONEAREST before applying Dekker multiplication and Knuth
17513 addition. Clear inexact exceptions and check for exact zero
17514 results afterwards.
17515 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17516 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17517 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17518 * math/libm-test.inc (fma_test): Add more tests.
17519 (fma_test_towardzero): Likewise.
17520 (fma_test_downward): Likewise.
17521 (fma_test_upward): Likewise.
17522 * sysdeps/generic/math_private.h (default_libc_fesetround): New
17523 function.
17524 (libc_fesetround): New macro.
17525 (libc_fesetroundf): Likewise.
17526 (libc_fesetroundl): Likewise.
17527 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
17528 function.
17529 (libc_fesetround_387): Likewise.
17530 (libc_fesetroundf): New macro.
17531 (libc_fesetround): Likewise.
17532 (libc_fesetroundl): Likewise.
17533 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
17534 function.
17535 (libc_fesetroundf): New macro.
17536 (libc_fesetround): Likewise.
17537 (libc_fesetroundl): Likewise.
17538 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
17539 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
17540 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
17541 libm_hidden_ver.
17542 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
17543 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
17544 libm_hidden_def.
17545 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
17546 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
17547 libm_hidden_ver.
17548 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
17549 libm_hidden_def.
17550
fbeafede
JM
17551 [BZ #3439]
17552 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
17553 integer constant usable in #if and use that to give value to enum
17554 constant.
17555 (FE_DIVBYZERO): Likewise.
17556 (FE_UNDERFLOW): Likewise.
17557 (FE_OVERFLOW): Likewise.
17558 (FE_INVALID): Likewise.
17559 (FE_INVALID_SNAN): Likewise.
17560 (FE_INVALID_ISI): Likewise.
17561 (FE_INVALID_IDI): Likewise.
17562 (FE_INVALID_ZDZ): Likewise.
17563 (FE_INVALID_IMZ): Likewise.
17564 (FE_INVALID_COMPARE): Likewise.
17565 (FE_INVALID_SOFTWARE): Likewise.
17566 (FE_INVALID_SQRT): Likewise.
17567 (FE_INVALID_INTEGER_CONVERSION): Likewise.
17568 (FE_TONEAREST): Likewise.
17569 (FE_TOWARDZERO): Likewise.
17570 (FE_UPWARD): Likewise.
17571 (FE_DOWNWARD): Likewise.
17572 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
17573 (FE_DIVBYZERO): Likewise.
17574 (FE_OVERFLOW): Likewise.
17575 (FE_UNDERFLOW): Likewise.
17576 (FE_INEXACT): Likewise.
17577 (FE_TONEAREST): Likewise.
17578 (FE_DOWNWARD): Likewise.
17579 (FE_UPWARD): Likewise.
17580 (FE_TOWARDZERO): Likewise.
17581 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
17582 (FE_UNDERFLOW): Likewise.
17583 (FE_OVERFLOW): Likewise.
17584 (FE_DIVBYZERO): Likewise.
17585 (FE_INVALID): Likewise.
17586 (FE_TONEAREST): Likewise.
17587 (FE_TOWARDZERO): Likewise.
17588 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
17589 (FE_OVERFLOW): Likewise.
17590 (FE_UNDERFLOW): Likewise.
17591 (FE_DIVBYZERO): Likewise.
17592 (FE_INEXACT): Likewise.
17593 (FE_TONEAREST): Likewise.
17594 (FE_TOWARDZERO): Likewise.
17595 (FE_UPWARD): Likewise.
17596 (FE_DOWNWARD): Likewise.
17597 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
17598 (FE_DIVBYZERO): Likewise.
17599 (FE_OVERFLOW): Likewise.
17600 (FE_UNDERFLOW): Likewise.
17601 (FE_INEXACT): Likewise.
17602 (FE_TONEAREST): Likewise.
17603 (FE_DOWNWARD): Likewise.
17604 (FE_UPWARD): Likewise.
17605 (FE_TOWARDZERO): Likewise.
17606
105ca950
CM
176072012-11-02 Chris Metcalf <cmetcalf@tilera.com>
17608
17609 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
17610
a542b389
AS
176112012-11-03 Andreas Schwab <schwab@linux-m68k.org>
17612
17613 * scripts/cross-test-ssh.sh (command): Use newlines to separate
17614 commands. Quote $PWD.
17615 (blacklist_exports): Don't use remove_newlines. Replace "declare
17616 -x" by "export".
17617 (remove_newlines): Remove.
17618
f62c8abc
L
176192012-11-02 H.J. Lu <hongjiu.lu@intel.com>
17620
17621 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
17622 * stdlib/stdlib.h (atof): Moved to ...
17623 * include/bits/stdlib-float.h: Here. New file.
17624 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
17625 * stdlib/bits/stdlib-float.h: New file.
17626 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
17627 -mno-sse -mno-mmx.
17628 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
17629 <xmmintrin.h>.
17630
0155d5b2
JM
176312012-11-02 Joseph Myers <joseph@codesourcery.com>
17632
a68d0680
JM
17633 * conform/conformtest.pl (@headers): Add fenv.h.
17634 * conform/data/fenv.h-data: New file.
17635 * include/fenv.h [_ISOMAC]: Disable all contents of file except
17636 include of <math/fenv.h>.
17637
caf7f573
JM
17638 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
17639 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
17640 && !UNIX98]. Enables tests for XOPEN2K8.
17641 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
17642 POSIX2008]: Likewise.
17643
6c073ad6
JM
17644 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
17645 (struct rusage): Do not expect type or its members.
17646
0155d5b2
JM
17647 [BZ #3439]
17648 * math/math.h (FP_NAN): Define macro to integer constant usable in
17649 #if and use that to give value to enum constant.
17650 (FP_INFINITE): Likewise.
17651 (FP_ZERO): Likewise.
17652 (FP_SUBNORMAL): Likewise.
17653 (FP_NORMAL): Likewise.
17654
b5dcacb4
AS
176552012-11-02 Andreas Schwab <schwab@linux-m68k.org>
17656
17657 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
17658 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
17659 arguments.
17660
f7934be8
RM
176612012-11-02 Roland McGrath <roland@hack.frob.com>
17662
17663 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
17664 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
17665 autoconf-time if not.
17666 * configure.in: Remove AC_PREREQ.
17667
d7d08bde
TMQMF
176682012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17669
17670 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
17671 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
17672 of the internal implementation.
17673
dcdae19a
JM
176742012-11-02 Joseph Myers <joseph@codesourcery.com>
17675
17676 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
17677 except include of <misc/sys/syslog.h>.
17678
d6cffd3e
AS
176792012-11-01 Andreas Schwab <schwab@linux-m68k.org>
17680
17681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
17682 function returns with a NULL context exit with zero.
17683
b3563932
TMQMF
176842012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17685
17686 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
17687
b288a93d
L
176882012-11-01 H.J. Lu <hongjiu.lu@intel.com>
17689
17690 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
17691 (run_program_cmd): This.
17692 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
17693 (tst_langinfo): New variable. Use it.
17694
a2421a68
SAS
176952012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
17696
17697 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
17698 floating point opcodes.
17699
6f796e1b
TS
177002012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17701
7402596b
TS
17702 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
17703 variable.
17704
d0d4f868
TS
17705 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
17706
6f796e1b
TS
17707 * sysdeps/mach/hurd/powerpc: Remove directory.
17708 * sysdeps/mach/powerpc: Likewise.
17709
4da224a2
AS
177102012-11-01 Andreas Schwab <schwab@linux-m68k.org>
17711
17712 * scripts/check-local-headers.sh: Ignore c++ headers.
17713
341dd673
TS
177142012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17715
17716 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
17717 __libc_cleanup_region_start argument.
17718
473611b2
JM
177192012-11-01 Joseph Myers <joseph@codesourcery.com>
17720
17721 [BZ #14784]
17722 [BZ #14785]
17723 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
17724 x * y using scaling, not as x * y + z.
17725 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17726 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17727 * math/libm-test.inc (fma_test): Add more tests.
17728 (fma_test_towardzero): Likewise.
17729 (fma_test_downward): Likewise.
17730 (fma_test_upward): Likewise.
17731
4078da3d
TS
177322012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17733
17734 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
17735
903252aa
JM
177362012-10-31 Joseph Myers <joseph@codesourcery.com>
17737
17738 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
17739 New variable.
17740
cbc818d0
TS
177412012-10-31 Thomas Schwinge <thomas@codesourcery.com>
17742
17743 * rt/tst-shm.c (worker): Correct checking for mmap failure.
17744
5a03cb1e
AS
177452012-10-31 Andreas Schwab <schwab@linux-m68k.org>
17746
17747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17748 Fix sort order.
17749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17750 Likewise.
17751
90aff2ff
TMQMF
177522012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17753
17754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17755 Fix the order of the list for glibc 2.17.
17756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17757 Likewise.
17758
1818fcb7
AS
177592012-10-31 Andreas Schwab <schwab@linux-m68k.org>
17760
17761 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17762
ef82f4da
JM
177632012-10-31 Joseph Myers <joseph@codesourcery.com>
17764
16a0e2ec
JM
17765 [BZ #14610]
17766 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
17767 for low part of x being zero before using __atanl (y).
17768 * math/libm-test.inc (atan2_test): Add another test.
17769
0eb69512
JM
17770 * manual/install.texi (Configuring and compiling): Document
17771 general use of test-wrapper and test-wrapper-env.
17772 * INSTALL: Regenerated.
17773
ef82f4da
JM
17774 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
17775 (__fma): Do not extract and scale down low bits on after-rounding
17776 systems when result rounded to normal precision would have normal
17777 exponent.
17778 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
17779 (__fmal): Do not extract and scale down low bits on after-rounding
17780 systems when result rounded to normal precision would have normal
17781 exponent.
17782 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
17783 (__fmal): Do not extract and scale down low bits on after-rounding
17784 systems when result rounded to normal precision would have normal
17785 exponent.
17786 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
17787 macro.
17788 (fma_test): Add more tests.
17789 (fma_test_towardzero): Likewise.
17790 (fma_test_downward): Likewise.
17791 (fma_test_upward): Likewise.
17792
954ef0d9
L
177932012-10-30 H.J. Lu <hongjiu.lu@intel.com>
17794
17795 * sysdeps/i386/tininess.h: Renamed to ...
17796 * sysdeps/x86/tininess.h: This.
17797 * sysdeps/x86_64/tininess.h: Removed.
17798
df61ffb2
JM
177992012-10-30 Joseph Myers <joseph@codesourcery.com>
17800
17801 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
17802 input. Use $(build-program-cmd).
17803 ($(objpfx)tst-array1-static.out): Likewise.
17804 ($(objpfx)tst-array2.out): Likewise.
17805 ($(objpfx)tst-array3.out): Likewise.
17806 ($(objpfx)tst-array4.out): Likewise.
17807 ($(objpfx)tst-array5.out): Likewise.
17808 ($(objpfx)tst-array5-static.out): Likewise.
17809
01767843
CM
178102012-10-30 Chris Metcalf <cmetcalf@tilera.com>
17811
47cc1490
CM
17812 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
17813 if defined.
17814
01767843
CM
17815 * nss/nsswitch.h (nss_interface_function): Provide new
17816 macro for use with NSS functions.
17817 * grp/initgroups.c: Use new macro.
17818 * nss/getXXbyYY.c: Likewise.
17819 * nss/getXXbyYY_r.c: Likewise.
17820 * nss/getXXent.c: Likewise.
17821 * nss/getXXent_r.c: Likewise.
17822 * sysdeps/posix/getaddrinfo.c: Likewise.
17823
8321aa97
AJ
178242012-10-30 Andreas Jaeger <aj@suse.de>
17825
17826 * po/ru.po: Update Russion translation from translation project.
17827
2a27fd6d
JM
178282012-10-30 Joseph Myers <joseph@codesourcery.com>
17829
8627a232
JM
17830 [BZ #14152]
17831 [BZ #14783]
17832 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
17833 result and shift together with sticky bit instead of replicating
17834 round-to-nearest rounding.
17835 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17836 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17837 * math/libm-test.inc (fma_test): Add more tests. Do not permit
17838 missing underflow exceptions.
17839 (fma_test_towardzero): Add more tests.
17840 (fma_test_downward): Likewise.
17841 (fma_test_upward): Likewise.
17842
2a27fd6d
JM
17843 [BZ #14047]
17844 * sysdeps/generic/tininess.h: New file.
17845 * sysdeps/i386/tininess.h: Likewise.
17846 * sysdeps/sh/tininess.h: Likewise.
17847 * sysdeps/x86_64/tininess.h: Likewise.
17848 * stdlib/tst-strtod-underflow.c: Likewise.
17849 * stdlib/tst-tininess.c: Likewise.
17850 * stdlib/strtod_l.c: Include <tininess.h>.
17851 (round_and_return): Do not set errno for exact underflow cases.
17852 Force an underflow exception when setting errno for underflow.
17853 Determine underflow based on rounding to normal precision if
17854 TININESS_AFTER_ROUNDING.
17855 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
17856 ERANGE for exact underflow cases.
17857 * stdlib/Makefile (tests): Add tst-tininess and
17858 tst-strtod-underflow.
17859 ($(objpfx)tst-tininess): Use $(link-libm).
17860 ($(objpfx)tst-strtod-underflow): Likewise.
17861
e7170363
AJ
178622012-10-30 Andreas Jaeger <aj@suse.de>
17863
e5088dc6
AJ
17864 [BZ#14767]
17865 * elf/Makefile (tests): Remove conditional for have-initfini-array
17866 since this is now always required and the variable does not exist
17867 anymore.
17868 (tests-static): Likewise.
17869 (modules-names): Likewise.
17870
e7170363 17871 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
17872
17873 * elf/tst-array1.c (fini_array): Make writeable so that it can be
17874 merged with constructor/destructor.
17875 (init_array): Likewise.
17876 * elf/tst-array2dep.c (fini_array): Likewise.
17877 (init_array): Likewise.
17878
60457d8a
MF
178792012-10-29 Mike Frysinger <vapier@gentoo.org>
17880
17881 * manual/message.texi: Delete @cartouche tags.
17882
8bece752
PT
178832012-10-29 Pino Toscano <toscano.pino@tiscali.it>
17884
94ce799f
PT
17885 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
17886 EOPNOTSUPP.
17887 * sysdeps/mach/hurd/fsync.c: Likewise.
17888
8bece752
PT
17889 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
17890 [_POSIX_REALTIME_SIGNALS]: Change condition to
17891 [_POSIX_REALTIME_SIGNALS > 0].
17892
86ebe6b1
AJ
178932012-10-27 Andreas Jaeger <aj@suse.de>
17894
17895 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
17896 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
17897 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
17898 [__WORDSIZE != 64]: Likewise.
17899
54399c08
L
179002012-10-26 H.J. Lu <hongjiu.lu@intel.com>
17901
17902 * iconvdata/tst-table.sh: Remove ${SHELL}.
17903 * iconvdata/tst-tables.sh: Likewise.
17904
e2211bed
DM
179052012-10-25 David S. Miller <davem@davemloft.net>
17906
17907 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17908 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
17909 of strtoull.
17910
f303f97c
DM
17911 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
17912 ifunc-impl-list.c
17913 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17914 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
17915 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
17916 file.
17917
1e9d84cd
RM
179182012-10-25 Roland McGrath <roland@hack.frob.com>
17919
17920 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17921 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
17922 __getdirentries.
17923
df381762
JM
179242012-10-25 Joseph Myers <joseph@codesourcery.com>
17925 Jim Blandy <jimb@codesourcery.com>
17926
17927 * scripts/cross-test-ssh.sh: New file.
17928 * manual/install.texi (Configuring and compiling): Document use of
17929 cross-test-ssh.sh.
17930 * INSTALL: Regenerated.
17931
bff64913
PT
179322012-10-25 Pino Toscano <toscano.pino@tiscali.it>
17933
17934 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
17935 EOPNOTSUPP.
17936
25fe8932
JM
179372012-10-25 Joseph Myers <joseph@codesourcery.com>
17938
17939 * Makeconfig (run-program-prefix): Fix comment.
17940
cc1290d0
JM
179412012-10-24 Joseph Myers <joseph@codesourcery.com>
17942 Jim Blandy <jimb@codesourcery.com>
17943
17944 * Makeconfig (test-wrapper): New variable,
17945 (test-wrapper-env): Likewise.
17946 [$(cross-compiling) = yes && $(test-wrapper) != ""]
17947 (run-built-tests): Define to yes.
17948 (run-program-prefix): Use $(test-wrapper).
17949 (built-program-cmd): Likewise.
17950 * Rules (make-test-out): Use $(test-wrapper-env) and
17951 $(host-built-program-cmd).
17952 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
17953 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
17954 tst-pathopt.sh.
17955 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
17956 $(test-wrapper-env) to tst-rtld-load-self.sh.
17957 ($(objpfx)order2.out): Use $(test-wrapper).
17958 ($(objpfx)tst-initorder.out): Likewise.
17959 ($(objpfx)tst-initorder2.out): Likewise.
17960 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
17961 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
17962 (test_wrapper_env): New variable. Use it to run ld.so.
17963 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
17964 Use it to run ld.so.
17965 (test_wrapper_env): Likewise.
17966 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
17967 $(test-wrapper) to run-iconv-test.sh.
17968 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
17969 (ICONV): Use $test_wrapper.
17970 * posix/Makefile ($(objpfx)globtest.out): Pass
17971 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
17972 globtest.sh, not $(run-program-prefix).
17973 * posix/globtest.sh (run_via_rtld_prefix): New variable.
17974 (test_wrapper): Likewise.
17975 (test_wrapper_env): Likewise. Use it to run globtest with HOME
17976 set together with run_via_rtld_prefix.
17977 (run_program_prefix): Define in terms of test_wrapper and
17978 run_via_rtld_prefix.
17979
6e6249d0
RM
179802012-10-24 Roland McGrath <roland@hack.frob.com>
17981
17982 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
17983 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
17984 Targets removed.
17985
17986 [BZ #14743]
17987 * include/time.h: Remove librt_hidden_proto (clock_gettime).
17988 Declare __clock_getres, __clock_gettime, __clock_settime,
17989 __clock_nanosleep, and __clock_getcpuclockid.
17990 * rt/clock_gettime.c: Define __clock_gettime as an alias.
17991 Remove librt_hidden_def (clock_gettime).
17992 * sysdeps/unix/clock_gettime.c: Likewise.
17993 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
17994 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
17995 * rt/clock_getres.c: Define __clock_getres as an alias.
17996 * sysdeps/posix/clock_getres.c: Likewise.
17997 * rt/clock_settime.c: Define __clock_settime as an alias.
17998 * sysdeps/unix/clock_settime.c: Likewise.
17999 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
18000 * sysdeps/unix/clock_nanosleep.c: Likewise.
18001 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
18002 * rt/clock-compat.c: New file.
18003 * rt/Makefile (librt-routines): Add clock-compat and move
18004 $(clock-routines) to ...
18005 (routines): ... here, new variable.
18006 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
18007 Don't add get_clockfreq here.
18008 * rt/Versions (libc: GLIBC_2.17): New version set.
18009 Add clock_* symbols here.
18010 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
18011 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
18012 (GLIBC_2.17): Add clock_* symbols.
18013 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
18014 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
18015 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
18016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18017 Likewise.
18018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18019 Likewise.
18020 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
18021 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
18022 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
18023 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
18024 * NEWS: Mention the move.
18025
18026 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
18027 Use __open, __read, __close rather than their public counterparts.
18028 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18029 (__get_clockfreq_via_cpuinfo): Likewise.
18030 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
18031 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
18032
18033 * config.h.in (HAVE_IFUNC): New #undef.
18034 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
18035 was successful.
18036 * configure: Regenerated.
18037
0cae3f4b
MF
180382012-10-24 Mike Frysinger <vapier@gentoo.org>
18039
18040 * configure.in: Move READELF check to start of file.
18041 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
18042 libc_cv_asm_gnu_indirect_function in the process.
18043 * configure: Regenerated.
18044
8175a253
MF
180452012-10-24 Mike Frysinger <vapier@gentoo.org>
18046
18047 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
18048 send the output to /dev/null.
18049 (libc_cv_cc_with_libunwind): Likewise.
18050 (libc_cv_as_noexecstack): Likewise.
18051 * configure: Regenerate.
18052
0708a7d1
JM
180532012-10-24 Joseph Myers <joseph@codesourcery.com>
18054
10b40d85
JM
18055 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
18056
0708a7d1
JM
18057 * posix/globtest.sh (TMPDIR): Do not set.
18058 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
18059 (testout): Likewise.
18060
9fddec1a
AJ
180612012-10-24 Andreas Jaeger <aj@suse.de>
18062
3a8db22f
AJ
18063 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
18064 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
18065 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
18066 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
18067 posix_fadvise64, posix_fallocate64.
18068
9fddec1a
AJ
18069 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
18070 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
18071 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
18072 Likewise.
18073 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
18074 Likewise.
18075 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
18076
18077 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
18078 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
18079 <bits/fcntl-linux.h>.
18080 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
18081
18082 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
18083 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
18084 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
18085 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
18086 [__WORDSIZE != 64]: Likewise.
18087
ebfd1bbd
JM
180882012-10-23 Joseph Myers <joseph@codesourcery.com>
18089
03ac099f
JM
18090 * Makeconfig (run-built-tests): New variable.
18091 * Rules [$(cross-compiling) = yes]: Change condition to
18092 [$(run-built-tests) = no].
18093 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
18094 to [$(run-built-tests) = yes].
18095 * elf/Makefile [$(cross-compiling) = no]: Likewise
18096 * grp/Makefile [$(cross-compiling) = no]: Likewise.
18097 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
18098 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
18099 * intl/Makefile [$(cross-compiling) = no]: Likewise.
18100 * io/Makefile [$(cross-compiling) = no]: Likewise.
18101 * libio/Makefile [$(cross-compiling) = no]: Likewise.
18102 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
18103 * misc/Makefile [$(cross-compiling) = no]: Likewise.
18104 * posix/Makefile [$(cross-compiling) = no]: Likewise.
18105 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
18106 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
18107 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
18108 * string/Makefile [$(cross-compiling) = no]: Likewise.
18109
ebfd1bbd
JM
18110 * posix/Makefile ($(objpfx)globtest.out): Pass
18111 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
18112 $(rtld-installed-name).
18113 * posix/globtest.sh (elf_objpfx): Remove variable.
18114 (rtld_installed_name): Likewise.
18115 (library_path): Likewise.
18116 (run_program_prefix): New variable. Use for running globtest
18117 binary.
18118
166bca24
JB
181192012-10-23 Jim Blandy <jimb@codesourcery.com>
18120 Joseph Myers <joseph@codesourcery.com>
18121
18122 * Makeconfig (host-built-program-cmd): New variable.
18123 * elf/Makefile (tst-stackguard1-ARGS): Use
18124 $(host-built-program-cmd).
18125 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
18126 (tst-spawn-ARGS): Likewise.
18127 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
18128
88866099
JM
181292012-10-23 Joseph Myers <joseph@codesourcery.com>
18130 Jim Blandy <jimb@codesourcery.com>
18131
18132 * Makeconfig (run-via-rtld-prefix): New variable.
18133 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
18134 (built-program-cmd): Likewise.
18135
b4b4c296
AJ
181362012-10-22 Andreas Jaeger <aj@suse.de>
18137
18138 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
18139 __O_RSYNC if it exists, otherwise to O_SYNC.
18140
6fb54a22
JB
181412012-10-22 Jim Blandy <jimb@codesourcery.com>
18142 Joseph Myers <joseph@codesourcery.com>
18143
18144 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
18145 /dev/null.
18146 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
18147 from /dev/null
18148 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
18149 /dev/null.
18150
481b90b9
AJ
181512012-10-22 Andreas Jaeger <aj@suse.de>
18152
2a0e2669
AJ
18153 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
18154 Define always.
18155 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
18156
76e38f9a
AJ
18157 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18158 bits/fcntl-linux.h.
18159
7cd37b43
AJ
18160 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
18161 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
18162
481b90b9
AJ
18163 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
18164 to __O_LARGEFILE.
18165 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
18166 to __O_LARGEFILE.
18167
aba75984
JB
181682012-10-21 Jim Blandy <jimb@codesourcery.com>
18169 Joseph Myers <joseph@codesourcery.com>
18170
18171 * config.make.in (NM): New variable.
18172
88d4247f
AJ
181732012-10-21 Andreas Jaeger <aj@suse.de>
18174
18175 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
18176 definitions and declarations that are provided by
18177 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
18178
f2eed205
L
181792012-10-20 H.J. Lu <hongjiu.lu@intel.com>
18180
18181 [BZ #14683]
18182 * elf/Makefile (tests-static): Add tst-leaks1-static.
18183 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
18184 ($(objpfx)tst-leaks1-static): New rule.
18185 ($(objpfx)tst-leaks1-static-mem): Likewise.
18186 (tst-leaks1-static-ENV): New macro.
18187 * elf/dl-open.c (dl_open_worker): Check the main application
18188 only if SHARED is defined.
18189 * elf/tst-leaks1-static.c: New file.
18190
335e6931
AJ
181912012-10-20 Andreas Jaeger <aj@suse.de>
18192
18193 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
18194 generic values for Linux.
18195 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
18196 and declarations that are provided by <bits/fcntl-linux.h> and
18197 include <bits/fcntl-linux.h>.
18198 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18199 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18200
ac5c94d3
RM
182012012-10-20 Roland McGrath <roland@hack.frob.com>
18202
18203 * io/fcntl.h: Move include of <bits/types.h> to the top and
18204 include it unconditionally.
18205
de54b33a
L
182062012-10-20 H.J. Lu <hongjiu.lu@intel.com>
18207
228cfb01
L
18208 * wcsmbs/Makefile (tests-ifunc): New variable.
18209 (tests): Add $(tests-ifunc).
18210 * wcsmbs/test-wcschr-ifunc.c: New file.
18211 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
18212 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
18213 * wcsmbs/test-wcslen-ifunc.c: Likewise.
18214 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
18215 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
18216
69f07e5f
L
18217 * string/Makefile (tests-ifunc): New variable.
18218 (tests): Add $(tests-ifunc).
18219 * string/test-memccpy.c (TEST_NAME): New macro.
18220 * string/test-memchr.c (TEST_NAME): Likewise.
18221 * string/test-memcmp.c (TEST_NAME): Likewise.
18222 * string/test-memcpy.c (TEST_NAME): Likewise.
18223 * string/test-memmem.c (TEST_NAME): Likewise.
18224 * string/test-memmove.c (TEST_NAME): Likewise.
18225 * string/test-memset.c (TEST_NAME): Likewise.
18226 * string/test-rawmemchr.c (TEST_NAME): Likewise.
18227 * string/test-stpcpy.c (TEST_NAME): Likewise.
18228 * string/test-stpncpy.c (TEST_NAME): Likewise.
18229 * string/test-strcasecmp.c (TEST_NAME): Likewise.
18230 * string/test-strcasestr.c (TEST_NAME): Likewise.
18231 * string/test-strcat.c (TEST_NAME): Likewise.
18232 * string/test-strchr.c (TEST_NAME): Likewise.
18233 * string/test-strcmp.c(TEST_NAME): Likewise.
18234 * string/test-strcpy.c (TEST_NAME): Likewise.
18235 * string/test-strcspn.c (TEST_NAME): Likewise.
18236 * string/test-strlen.c (TEST_NAME): Likewise.
18237 * string/test-strncasecmp.c (TEST_NAME): Likewise.
18238 * string/test-strncmp.c (TEST_NAME): Likewise.
18239 * string/test-strncpy.c (TEST_NAME): Likewise.
18240 * string/test-strnlen.c (TEST_NAME): Likewise.
18241 * string/test-strpbrk.c (TEST_NAME): Likewise.
18242 * string/test-strrchr.c (TEST_NAME): Likewise.
18243 * string/test-strspn.c (TEST_NAME): Likewise.
18244 * string/test-strstr.c (TEST_NAME): Likewise.
18245 * string/test-bcopy-ifunc.c: New file.
18246 * string/test-bzero-ifunc.c: Likewise.
18247 * string/test-memccpy-ifunc.c: Likewise.
18248 * string/test-memchr-ifunc.c: Likewise.
18249 * string/test-memcmp-ifunc.c: Likewise.
18250 * string/test-memcpy-ifunc.c: Likewise.
18251 * string/test-memmem-ifunc.c: Likewise.
18252 * string/test-memmove-ifunc.c: Likewise.
18253 * string/test-mempcpy-ifunc.c: Likewise.
18254 * string/test-memset-ifunc.c: Likewise.
18255 * string/test-rawmemchr-ifunc.c: Likewise.
18256 * string/test-stpcpy-ifunc.c: Likewise.
18257 * string/test-stpncpy-ifunc.c: Likewise.
18258 * string/test-strcasecmp-ifunc.c: Likewise.
18259 * string/test-strcasestr-ifunc.c: Likewise.
18260 * string/test-strcat-ifunc.c: Likewise.
18261 * string/test-strchr-ifunc.c: Likewise.
18262 * string/test-strchrnul-ifunc.c: Likewise.
18263 * string/test-strcmp-ifunc.c: Likewise.
18264 * string/test-strcpy-ifunc.c: Likewise.
18265 * string/test-strcspn-ifunc.c: Likewise.
18266 * string/test-strlen-ifunc.c: Likewise.
18267 * string/test-strncasecmp-ifunc.c: Likewise.
18268 * string/test-strncat-ifunc.c: Likewise.
18269 * string/test-strncmp-ifunc.c: Likewise.
18270 * string/test-strncpy-ifunc.c: Likewise.
18271 * string/test-strnlen-ifunc.c: Likewise.
18272 * string/test-strpbrk-ifunc.c: Likewise.
18273 * string/test-strrchr-ifunc.c: Likewise.
18274 * string/test-strspn-ifunc.c: Likewise.
18275 * string/test-strstr-ifunc.c: Likewise.
18276
de54b33a
L
18277 * debug/Makefile (tests-ifunc): New variable.
18278 (tests): Add $(tests-ifunc).
18279 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
18280 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
18281 * debug/test-stpcpy_chk-ifunc.c: New file.
18282 * debug/test-strcpy_chk-ifunc.c: Likewise.
18283
88481c16
SP
182842012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18285
18286 [BZ #13601]
18287 * elf/dl-load.c (open_verify): Retry read if the entire ELF
18288 header is not read in.
18289
135948bd
JM
182902012-10-19 Joseph Myers <joseph@codesourcery.com>
18291
89f1c388
JM
18292 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
18293 script to $(SHELL) as $<. Pass $(common-objpfx) to script
18294 directly. Pass built executable to script as
18295 $(built-program-cmd).
18296 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
18297 $testprogram without using LD_LIBRARY_PATH and $ldso.
18298
e40a0d21
JM
18299 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
18300 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
18301 $(rtld-installed-name).
18302 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
18303 (rtld_installed_name): Likewise.
18304 (library_path): Likewise.
18305 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
18306 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
18307 $(run-program-prefix) to tst-tables.sh.
18308 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
18309 it to run tst-table-from and tst-table-to.
18310 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
18311 Pass it to tst-table.sh.
18312 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
18313 $(run-program-prefix) to tst-gettext.sh.
18314 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
18315 tst-translit.sh.
18316 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
18317 tst-gettext2.sh.
18318 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
18319 to run tst-gettext.
18320 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
18321 to run tst-gettext2.
18322 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
18323 to run tst-translit.
18324 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
18325 $(run-program-prefix) to tst-mtrace.sh.
18326 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
18327 to run tst-mtrace.
18328 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
18329 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
18330 $(rtld-installed-name).
18331 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
18332 (rtld_installed_name): Likewise.
18333 (run_program_prefix): New variable. Use it to run wordexp-test.
18334
728e272a
JM
18335 * Makeconfig (ARCH): Remove all definitions.
18336 (machine): Likewise.
18337 [ARCH]: Remove conditional code.
18338 [!objdir]: Give error.
18339 [!objdir] (objpfx): Remove.
18340 [!objdir] (common-objpfx): Likewise.
18341 [!objdir] (common-objdir): Likewise.
18342 * configure.in (config_makefile): Remove. Hardcode Makefile in
18343 AC_CONFIG_FILES call.
18344 * configure: Regenerated.
18345
d528cdcf
JM
18346 [BZ #13888]
18347 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
18348 or TMPDIR.
18349 (testout): Likewise.
18350
135948bd
JM
18351 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
18352 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
18353 $(rtld-installed-name).
18354 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
18355 (rtld_installed_name): Likwise.
18356 (runit): Remove function.
18357 (run_getconf): New variable, Use it for running getconf binary.
18358
38c78296
L
183592012-10-18 H.J. Lu <hongjiu.lu@intel.com>
18360
18361 [BZ #14716]
18362 * string/test-memmem.c (check_result): New function.
18363 (do_one_test): Use it.
18364 (check1): New function.
18365 (test_main): Use it.
18366
d077f65f
MT
183672012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
18368
18369 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
18370
ced52c71
JM
183712012-10-18 Joseph Myers <joseph@codesourcery.com>
18372
18373 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
18374 (_G_LSEEK64): Likewise.
18375 (_G_MMAP64): Likewise.
18376 (_G_FSTAT64): Likewise.
18377 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
18378 (_G_LSEEK64): Likewise.
18379 (_G_MMAP64): Likewise.
18380 (_G_FSTAT64): Likewise.
18381 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
18382 unconditional. Call __mmap64 directly.
18383 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
18384 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
18385 __lseek64 directly.
18386 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
18387 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
18388 __mmap64 directly.
18389 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
18390 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
18391 __lseek64 directly.
18392 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
18393 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
18394 __lseek64 directly.
18395 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
18396 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
18397 __lseek64 directly.
18398 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
18399 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
18400 __fxstat64 directly.
18401 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
18402 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
18403 unconditional.
18404 (freopen64) [!_G_OPEN64]: Remove conditional code.
18405 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
18406 unconditional.
18407 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
18408 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
18409 unconditional.
18410 (ftello64) [!_G_LSEEK64]: Remove conditional code.
18411 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
18412 unconditional.
18413 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
18414 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
18415 unconditional.
18416 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
18417 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
18418 unconditional.
18419 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
18420 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
18421 unconditional.
18422 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
18423 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
18424 unconditional.
18425 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
18426
b741de23
SP
184272012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18428
18429 [BZ #12140]
18430 * manual/memory.texi (Malloc Tunable Parameters): Add note
18431 about free list pointers overwriting some perturb bytes.
18432 Wording suggested by Roland McGrath.
18433
f9b9d9c9
JM
184342012-10-17 Joseph Myers <joseph@codesourcery.com>
18435
18436 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
18437 (lgamma_test): Likewise.
18438 (tgamma_test): Likewise.
18439
172a631a
FW
184402012-10-16 Florian Weimer <fweimer@redhat.com>
18441
18442 [BZ #14700]
18443 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
18444 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
18445
e9f37252
MK
184462012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
18447
18448 * NEWS: Mention BZ #14716.
18449 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
18450 when removing AVAILABLE1_USES_J macro.
18451
d394eb74
L
184522012-10-12 H.J. Lu <hongjiu.lu@intel.com>
18453
18454 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
18455 (__bswap_64): __uint64_t for unsigned 64-bit int.
18456
ca38dc17
AS
184572012-10-12 Andreas Schwab <schwab@linux-m68k.org>
18458
18459 * include/string.h (memmem): Declare libc hidden alias.
18460 * string/memmem.c (memmem): Define libc hidden alias.
18461 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
18462 __read, __close instead of open, read, close.
18463
9a387d1f
L
184642012-10-11 H.J. Lu <hongjiu.lu@intel.com>
18465
ac49ecaf
L
18466 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
18467 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
18468 global and hidden.
18469 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
18470 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
18471 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
18472 Likewise.
18473 (__rawmemchr_sse2): Likewise.
18474 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
18475 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
18476 (__strchr_sse2): Likewise.
18477 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
18478 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
18479 (__strcasecmp_sse2): Likewise.
18480 (__strncasecmp_sse2): Likewise.
18481 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
18482 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
18483 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
18484 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
18485 (__strrchr_sse2): Likewise.
18486 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
18487 ifunc-impl-list.c.
18488 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
18489 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
18490 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
18491 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18492 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
18493 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
18494 * sysdeps/x86_64/multiarch/memset.S: Likewise.
18495 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18496 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
18497 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
18498 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
18499 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
18500 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
18501 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
18502 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
18503 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18504 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
18505 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
18506 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
18507 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
18508 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
18509 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
18510 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
18511 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
18512 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
18513 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18514 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
18515 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
18516 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
18517 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
18518
b090e8ea
L
18519 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
18520 global and hidden.
18521 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
18522 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
18523 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
18524 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
18525 Likewise.
18526 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
18527 Likewise.
18528 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
18529 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
18530 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
18531 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
18532 ifunc-impl-list.c.
18533 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18534 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18535 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18536 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18537 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18538 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18539 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18540 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18541 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18542 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18543 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18544 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18545 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18546 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
18547 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
18548 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18549 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
18550 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
18551 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18552 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18553 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18554 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18555 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18556 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18557 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18558 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
18559 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
18560 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
18561 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
18562 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18563 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
18564 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18565 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18566 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
18567 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18568 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18569 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18570 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18571 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18572 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18573 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
18574
11dd4af6
L
18575 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
18576 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
18577 * include/ifunc-impl-list.h: New file.
18578 * misc/ifunc-impl-list.c: Likewise.
18579 * misc/Makefile (routines): Add ifunc-impl-list.
18580 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
18581 * string/test-string.h: Include <ifunc-impl-list.h>.
18582 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
18583 impl_array): New variables.
18584 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
18585 are defined.
18586 (test_init): Call __libc_ifunc_impl_list to initialize
18587 func_list if TEST_IFUNC and TEST_NAME are defined.
18588
9a387d1f
L
18589 * string/Makefile (strop-tests): Add bcopy and bzero.
18590 * string/test-bcopy.c: New file.
18591 * string/test-bzero.c: Likewise.
18592 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
18593 defined.
18594 * string/test-memset.c: Support bzero test if TEST_BZERO is
18595 defined.
18596 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
18597 __libc_memmove.
18598 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
18599 __libc_memset.
18600 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
18601 of memset.
18602
472371b9
JM
186032012-10-10 Joseph Myers <joseph@codesourcery.com>
18604
1e4a9536
JM
18605 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
18606 * configure: Regenerated.
18607
d173d12e
JM
18608 * Makeconfig (+link-static-before-libc): Don't include
18609 $(link-static-libc).
18610
472371b9
JM
18611 * libio/libio.h (_IO_pos_t): Remove.
18612
89a3ad0b
AO
186132012-10-10 Alexandre Oliva <aoliva@redhat.com>
18614
18615 * NEWS: Add note about FIPS mode. Wording suggested by Roland
18616 McGrath.
18617
e7451425
AO
186182012-10-10 Alexandre Oliva <aoliva@redhat.com>
18619
18620 * crypt/crypt-entry.c: Include fips-private.h.
18621 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
18622 * crypt/md5c-test.c (main): Tolerate disabled MD5.
18623 * sysdeps/unix/sysv/linux/fips-private.h: New file.
18624 * sysdeps/generic/fips-private.h: New file, dummy fallback.
18625
4ba74a35
AO
186262012-10-10 Alexandre Oliva <aoliva@redhat.com>
18627
18628 * crypt/crypt-private.h: Include stdbool.h.
18629 (_ufc_setup_salt_r): Return bool.
18630 * crypt/crypt-entry.c: Include errno.h.
18631 (__crypt_r): Return NULL with EINVAL for bad salt.
18632 * crypt/crypt_util.c (bad_for_salt): New.
18633 (_ufc_setup_salt_r): Check that salt is long enough and within
18634 the specified alphabet.
18635 * crypt/badsalttest.c: New file.
18636 * crypt/Makefile (tests): Add it.
18637 ($(objpfx)badsalttest): New.
18638
f96f1242
MK
186392012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
18640
18641 * NEWS: Add entry for BZ #14602.
18642
0e8e0c1c
JM
186432012-10-09 Joseph Myers <joseph@codesourcery.com>
18644
18645 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
18646 type-generic.
18647 * math/libm-test.inc: Update comment listing what functions and
18648 macros are tested.
18649 (isgreater_test): New function.
18650 (isgreaterequal_test): Likewise.
18651 (isless_test): Likewise.
18652 (islessequal_test): Likewise.
18653 (islessgreater_test): Likewise.
18654 (isunordered_test): Likewise.
18655 (main): Call the new functions.
18656
273edc5e
RM
186572012-10-09 Roland McGrath <roland@hack.frob.com>
18658
b8493de0
RM
18659 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
18660 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
18661 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
18662 * sysdeps/i386/configure: Regenerated.
18663 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
18664 * sysdeps/mach/configure: Regenerated.
18665 * sysdeps/mach/hurd/configure: Regenerated.
18666 * sysdeps/powerpc/configure: Regenerated.
18667 * sysdeps/powerpc/powerpc32/configure: Regenerated.
18668 * sysdeps/powerpc/powerpc64/configure: Regenerated.
18669 * sysdeps/s390/s390-32/configure: Regenerated.
18670 * sysdeps/s390/s390-64/configure: Regenerated.
18671 * sysdeps/sh/configure: Regenerated.
18672 * sysdeps/sparc/configure: Regenerated.
18673 * sysdeps/unix/sysv/linux/configure: Regenerated.
18674 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
18675 * sysdeps/x86_64/configure: Regenerated.
18676
273edc5e
RM
18677 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
18678 defined. Don't check if MAP is NULL.
18679
c8450f70
JM
186802012-10-09 Joseph Myers <joseph@codesourcery.com>
18681
18682 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
18683 (_G_stat64): Likewise.
18684 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
18685 (_G_stat64): Likewise.
18686 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
18687 instead of struct _G_stat64.
18688 * libio/fileops.c (mmap_remap_check): Likewise.
18689 (decide_maybe_mmap): Likewise.
18690 (_IO_new_file_seekoff): Likewise.
18691 (_IO_file_stat): Likewise.
18692 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
18693 _G_off64_t.
18694 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
18695 instead of struct _G_stat64.
18696 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18697
57e605ba
MK
186982012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
18699
18700 [BZ #14602]
18701 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18702 Replace with ...
18703 (CHECK_EOL): New macro.
18704 (two_way_short_needle): Check beginning of haystack for EOL. Use
18705 CHECK_EOL.
18706 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18707 Replace with CHECK_EOL.
18708 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18709 Replace with CHECK_EOL.
18710
ef1bb361
JM
187112012-10-08 Joseph Myers <joseph@codesourcery.com>
18712
18713 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
18714 type-generic.
18715 * math/libm-test.inc: Update comment listing what functions and
18716 macros are tested.
18717 (finite_test): New function.
18718 (isinf_test): Likewise.
18719 (isnan_test): Likewise.
18720 (fpclassify_test): Test subnormal input.
18721 (isfinite_test): Likewise.
18722 (isnormal_test): Likewise.
18723 (main): Call the new functions.
18724
55f11534
JN
187252012-10-08 Jonathan Nieder <jrnieder@gmail.com>
18726
18727 [BZ #14660]
18728 * Makerules (%.dynsym): Force C locale when running
18729 $(OBJDUMP) --dynamic-syms.
18730
1ab29350
AS
187312012-10-08 Andreas Schwab <schwab@linux-m68k.org>
18732
18733 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
18734 <stdint.h>.
18735
f1ecb7ef
DM
187362012-10-06 David S. Miller <davem@davemloft.net>
18737
18738 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
18739 upper 32-bits of the length value in %o2 since we use branch-on-register
18740 tests which consider the entire 64-bit register.
18741
5d41d91a
L
187422012-10-06 H.J. Lu <hongjiu.lu@intel.com>
18743
18744 * string/test-strstr.c (check2): Add a test for page boundary.
18745
3baddb72
DM
187462012-10-05 David S. Miller <davem@davemloft.net>
18747
18748 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
18749 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
18750 file.
18751 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18752 sysdep_routines.
18753 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18754 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
18755 and bzero when HWCAP_SPARC_CRYPTO is present.
18756
9cee5585
L
187572012-10-05 H.J. Lu <hongjiu.lu@intel.com>
18758
d7e0dab9
L
18759 [BZ #14602]
18760 * string/test-strstr.c (check2): New function.
18761 (test_main): Call check2.
18762
03759f47
L
18763 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
18764 and bug-strchr1.
18765 * string/bug-strcasestr1.c (do_test): Moved to ...
18766 * string/test-strcasestr.c (check1): Here. New function.
18767 (do_one_test): Break out result checking code into ...
18768 (check_result): This. New function.
18769 (do_one_test): Call check_result.
18770 (test_main): Call check1.
18771 * string/bug-strchr1.c (do_test): Moved to ...
18772 * string/test-strchr.c (check1): Here. New function.
18773 (do_one_test): Break out result checking code into ...
18774 (check_result): This. New function.
18775 (do_one_test): Call check_result.
18776 (test_main): Call check1.
18777 * string/bug-strstr1.c (main): Moved to ...
046f153e 18778 * string/test-strstr.c (check1): Here. New function.
03759f47
L
18779 (do_one_test): Break out result checking code into ...
18780 (check_result): This. New function.
18781 (do_one_test): Call check_result.
18782 (test_main): Call check1.
18783 * string/bug-strcasestr1.c: Removed.
18784 * string/bug-strchr1.c: Likewise.
18785 * string/bug-strstr1.c: Likewise.
18786
53cea63e
L
18787 * elf/Makefile (dl-routines): Add hwcaps.
18788 * elf/dl-support.c (_dl_important_hwcaps): Removed.
18789 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
18790 (_dl_important_hwcaps): Moved to ...
18791 * elf/dl-hwcaps.c: Here. New file.
18792 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
18793
9cee5585 18794 [BZ #14557]
bb859b06
L
18795 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
18796 if IS_IN_rtld isn't defined.
18797
9cee5585
L
18798 * elf/dl-support.c (_dl_sysinfo_map): New.
18799 Include "get-dynamic-info.h" and "setup-vdso.h".
18800 (_dl_non_dynamic_init): Call setup_vdso.
18801 * elf/dynamic-link.h: Don't include <assert.h>.
18802 (elf_get_dynamic_info): Moved to ...
18803 * elf/get-dynamic-info.h: Here. New file.
18804 * elf/dynamic-link.h: Include "get-dynamic-info.h".
18805 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
18806 * elf/setup-vdso.h: Here. New file.
18807 * elf/rtld.c: Include "setup-vdso.h".
18808 (dl_main): Call setup_vdso.
18809
23c31b76
JM
188102012-10-05 Joseph Myers <joseph@codesourcery.com>
18811
28234b07
JM
18812 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
18813 creal in comment listing functions tested. List finite, isinf,
18814 isnan, isless, islessequal, isgreater, isgreaterequal,
18815 islessgreater, isunordered, lgamma_r and pow10 as functions and
18816 macros not tested. Mention which functions not tested are aliases
18817 for other functions. Fix typo. Note that signs of NaNs are not
18818 tested.
18819
23c31b76
JM
18820 * scripts/config.guess: Update from config.git.
18821 * scripts/config.sub: Likewise.
18822
9043e228
RM
188232012-10-04 Roland McGrath <roland@hack.frob.com>
18824
18825 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
18826 * misc/madvise.c (madvise): Renamed to __madvise.
18827 Make madvise a weak alias.
18828 * include/sys/mman.h: Declare __madvise.
18829 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
18830 * sysdeps/unix/syscalls.list
18831 (madvise): Make __madvise the strong name, and madvise a weak alias.
18832 * sysdeps/unix/sysv/linux/syscalls.list
18833 (madvise, mmap): Remove redundant entries.
18834 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
18835 * malloc/malloc.c (mtrim): Likewise.
18836 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
18837
f57f8055
RM
188382012-10-03 Roland McGrath <roland@hack.frob.com>
18839
18840 * sysdeps/mach/hurd/dl-cache.c: File removed.
18841 * config.h.in (USE_LDCONFIG): New #undef.
18842 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
18843 * configure: Regenerated.
18844 * elf/Makefile (dl-routines): Add dl-cache only under
18845 [$(use-ldconfig) = yes].
18846 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
18847 cache on [USE_LDCONFIG].
18848 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
18849 [USE_LDCONFIG].
18850 * elf/rtld.c (dl_main): Likewise.
18851
5bb0c10a
PT
188522012-10-03 Pino Toscano <toscano.pino@tiscali.it>
18853
18854 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
18855 _SC_LEVEL4_CACHE_LINESIZE.
18856
010188c6
RM
188572012-10-03 Roland McGrath <roland@hack.frob.com>
18858
18859 * sysdeps/unix/bsd/confstr.h: File removed.
18860
b6c5ec07
AO
188612012-10-02 Alexandre Oliva <aoliva@redhat.com>
18862
18863 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
18864 sys/sdt-config.h.
18865
408223d4
RM
188662012-10-02 Roland McGrath <roland@hack.frob.com>
18867
18868 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
18869 Make 'mapoff' field ElfW(Off) rather than off_t.
18870
bb9510dc
DL
188712012-10-02 Dmitry V. Levin <ldv@altlinux.org>
18872
fc997c6e
DL
18873 * nscd/Makefile: Remove nscd-cflags and all its users.
18874 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
18875 (CFLAGS-nonlib): Add compiler flags for nscd modules.
18876
bb9510dc
DL
18877 [BZ #10631]
18878 * malloc.c (malloc_printerr): Clarify error message.
18879
05699367
L
188802012-10-02 H.J. Lu <hongjiu.lu@intel.com>
18881
18882 [BZ #14648]
18883 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18884 Set bit_FMA_Usable if FMA is supported.
18885 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
18886 macro.
18887 (bit_FMA4_Usable): Updated.
18888 (index_FMA_Usable): New macro.
18889 (CPUID_FMA): Likewise
18890 (HAS_FMA): Defined with bit_FMA_Usable.
18891
51367701
RM
188922012-10-01 Roland McGrath <roland@hack.frob.com>
18893
18894 * bits/types.h (__swblk_t): Type removed.
18895 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
18896 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
18897 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18898 (__SWBLK_T_TYPE): Likewise.
18899 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18900 (__SWBLK_T_TYPE): Likewise.
18901 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18902 (__SWBLK_T_TYPE): Likewise.
18903 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18904 (__SWBLK_T_TYPE): Likewise.
18905
4d57bf63 189062012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 18907 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
18908
18909 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
18910 (xdr_mapname): Use YPMAXMAP as maxsize.
18911 (xdr_peername): Use YPMAXPEER as maxsize.
18912 (xdr_keydat): Use YPAXRECORD as maxsize.
18913 (xdr_valdat): Use YPMAXRECORD as maxsize.
18914
93c65d43
RM
189152012-10-01 Roland McGrath <roland@hack.frob.com>
18916
497a03d6
RM
18917 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
18918
93c65d43
RM
18919 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
18920 * csu/init-first.c: ... here.
18921 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
18922 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
18923 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
18924 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
18925 * sysdeps/i386/init-first.c: File removed.
18926 * sysdeps/sh/init-first.c: File removed.
18927
bec749fd
JM
189282012-10-01 Joseph Myers <joseph@codesourcery.com>
18929
18930 [BZ #14645]
18931 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
18932 if x * y might underflow to zero and z is zero.
18933 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18934 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18935 * math/libm-test.inc (min_subnorm_value): New variable.
18936 (fma_test): Add more tests.
18937 (fma_test_towardzero): Likewise.
18938 (fma_test_downward): Likewise
18939 (fma_test_upward): Likewise.
18940 (initialize): Set min_subnorm_value.
18941
8ec5b013
JM
189422012-09-29 Joseph Myers <joseph@codesourcery.com>
18943
18944 [BZ #14638]
18945 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
18946 0 + 0.
18947 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
18948 mode for addition resulting in exact zero.
18949 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
18950 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
18951 exact 0 + 0.
18952 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18953 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18954 * math/libm-test.inc (fma_test): Add more tests.
18955 (fma_test_towardzero): New function.
18956 (fma_test_downward): Likewise.
18957 (fma_test_upward): Likewise.
18958 (main): Call the new functions.
18959
b1fa802e
DM
189602012-09-28 David S. Miller <davem@davemloft.net>
18961
18962 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
18963
d3b9fd9e
RM
189642012-09-28 Roland McGrath <roland@hack.frob.com>
18965
ea4d37b3
RM
18966 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
18967 instead of SIGALRM.
18968
ac51c949
RM
18969 * sysdeps/gnu/_G_config.h: Moved to ...
18970 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
18971 * sysdeps/mach/hurd/_G_config.h: Moved to ...
18972 * sysdeps/generic/_G_config.h: ... here.
18973
28c195f7
RM
18974 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
18975
848917f9
RM
18976 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
18977
6bacf05b
RM
18978 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
18979 Conditionalize target on [libnss_test1.so-version].
18980
91363dbb
RM
18981 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
18982
cc87f7d8
RM
18983 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
18984 (elfobjdir): Move out of conditionals.
18985
b1c608fe
RM
18986 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
18987 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
18988 (__nss_lookup_function): Conditionalize label remove_from_tree on
18989 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 18990
1d9a6d96
DM
189912012-09-28 David S. Miller <davem@davemloft.net>
18992
18993 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
18994 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
18995 file.
18996 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18997 sysdep_routines.
18998 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18999 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
19000 when HWCAP_SPARC_CRYPTO is present.
19001
72581615
PT
190022012-09-28 Pino Toscano <toscano.pino@tiscali.it>
19003
19004 * io/tst-mknodat.c: Create a FIFO instead of a socket.
19005
715a900c
JL
190062012-09-28 Andreas Schwab <schwab@linux-m68k.org>
19007
19008 [BZ #6530]
19009 * stdio-common/vfprintf.c (process_string_arg): Revert
19010 2000-07-22 change.
19011
190122011-09-28 Jonathan Nieder <jrnieder@gmail.com>
19013
19014 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
19015 for testcase.
19016 * stdio-common/tst-sprintf.c: Include <locale.h>
19017 (main): Test sprintf's handling of incomplete multibyte
19018 characters.
19019
9bac1d86
L
190202012-09-28 H.J. Lu <hongjiu.lu@intel.com>
19021
19022 * elf/dl-runtime.c (VERSYMIDX): Removed.
19023 * elf/dl-version.c (VERSYMIDX): Likewise.
19024 * elf/do-rel.h (VERSYMIDX): Likewise.
19025 (VALIDX): Likewise.
19026 * elf/dynamic-link.h (VERSYMIDX): Likewise.
19027 * elf/rtld.c (VALIDX): Likewise.
19028 (ADDRIDX): Likewise.
9bac1d86
L
19029 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
19030 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
19031 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
19032 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
19033 (VALIDX): Likewise.
19034 (ADDRIDX): Likewise.
9bac1d86 19035
b31606c0
PT
190362012-09-28 Pino Toscano <toscano.pino@tiscali.it>
19037
19038 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
19039
11541177
JL
190402012-09-28 Dmitry V. Levin <ldv@altlinux.org>
19041
19042 [BZ #11438]
19043 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
19044 to global scope.
19045 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
19046 addresses are in the same scope as 192.0.2/24.
19047 * posix/gai.conf: Document new scope table defaults.
19048
adb26fae
SP
190492012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19050
19051 [BZ #5298]
19052 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
19053 for ftell. Compute offsets from write pointers instead.
19054 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
19055
4573c6b0
SP
190562012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19057
19058 [BZ #14543]
19059 * libio/Makefile (tests): New test case tst-fseek.
19060 * libio/tst-fseek.c: New test case to verify that fseek/ftell
19061 combination works in wide mode.
19062 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
19063 state when the external buffer state changes.
19064
aa9bbfe6
DM
190652012-09-27 David S. Miller <davem@davemloft.net>
19066
19067 [BZ #14376]
19068 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
19069 pass reloc->r_addend in as the 'high' argument to
19070 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
19071
784421e7
DM
19072 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19073
c39bc8b8
PT
190742012-09-28 Pino Toscano <toscano.pino@tiscali.it>
19075
19076 * rt/tst-aio2.c: Include <pthread.h>.
19077 * rt/tst-aio3.c: Likewise.
19078
1ccc2399
SE
190792012-09-27 Steve Ellcey <sellcey@mips.com>
19080
19081 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
19082
31ed4153
L
190832012-09-27 H.J. Lu <hongjiu.lu@intel.com>
19084
25f5f885
L
19085 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
19086 contents on [SHARED].
31ed4153 19087
b7bfe116
MP
190882012-09-26 Marek Polacek <polacek@redhat.com>
19089
19090 [BZ #14530]
19091 [BZ #13741]
19092 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
19093 for C++ and GCC <4.3 as well as for non GCC compilers.
19094
43c4edba
MT
190952012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
19096
19097 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19098
6a1bf82f
RM
190992012-09-25 Roland McGrath <roland@hack.frob.com>
19100
19101 * Makefile.in (all, install): Declare with .PHONY.
19102 Reported by Michael Hope <michael.hope@linaro.org>.
19103
8ad11b9a
TMQMF
191042012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19105
19106 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
19107 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
19108 system header.
19109 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
19110 Likewise.
19111 (sydep_routines): Add the new and the internal functions.
19112 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
19113 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
19114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
19115 (GLIBC_2.17): Add the new function.
19116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
19117 (GLIBC_2.17): Likewise.
19118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
19119 (GLIBC_2.17): Likewise.
19120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
19121 (GLIBC_2.17): Likewise.
19122 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
19123
7e2fca8d
AM
191242012-09-25 Alan Modra <amodra@gmail.com>
19125
19126 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
19127 Add release barrier before setting once_control to say
19128 initialisation is done. Add hints on lwarx. Use macro in
19129 place of isync.
19130 (clear_once_control): Add release barrier.
19131
b87c4b24
JM
191322012-09-25 Joseph Myers <joseph@codesourcery.com>
19133
d032e0d2
JM
19134 [BZ #13629]
19135 * math/s_clog.c (__clog): Handle more values close to |z| = 1
19136 specially.
19137 * math/s_clog10.c (__clog10): Likewise.
19138 * math/s_clog10f.c (__clog10f): Likewise.
19139 * math/s_clog10l.c (__clog10l): Likewise.
19140 * math/s_clogf.c (__clogf): Likewise.
19141 * math/s_clogl.c (__clogl): Likewise.
19142 * math/Makefile (libm-calls): Add x2y2m1.
19143 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
19144 (__x2y2m1): Likewise.
19145 (__x2y2m1l): Likewise.
19146 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
19147 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
19148 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
19149 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
19150 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
19151 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
19152 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
19153 * sysdeps/i386/fpu/libm-test-ulps: Update.
19154 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19155
b87c4b24
JM
19156 [BZ #14621]
19157 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
19158 int as type of variable DEPTH.
19159 (glob): Use size_t instead of int as type of variables NEWCOUNT
19160 and OLD_PATHC.
19161
6d3bf199
LD
191622012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19163
22bf5c17
LD
19164 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19165 Add s_sincosf-sse2.
19166 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
19167 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
19168 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
19169 macros for using routine as __sincosf_ia32.
19170 Use macro for function declaration and weak_alias.
19171 * sysdeps/i386/fpu/libm-test-ulps: Update.
19172
19173 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
19174 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19175
19176 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
19177 subnormal argument.
19178 * math/s_cexpf.c (__cexpf): Likewise.
19179 * math/s_csinf.c (__csinf): Likewise.
19180 * math/s_csinhf.c (__csinhf): Likewise.
19181 * math/s_ctanf.c (__ctanf): Likewise.
19182 * math/s_ctanhf.c (__ctanhf): Likewise.
19183 * math/s_ccosh.c (__ccoshf): Likewise.
19184 * math/s_cexp.c (__cexpl): Likewise.
19185 * math/s_csin.c (__csin): Likewise.
19186 * math/s_csinh.c (__csinh): Likewise.
19187 * math/s_ctan.c (__ctan): Likewise.
19188 * math/s_ctanh.c (ctanh): Likewise.
19189 * math/s_ccoshl.c (__ccoshl): Likewise.
19190 * math/s_cexpl.c (__cexpl): Likewise.
19191 * math/s_csinl.c (__csinl): Likewise.
19192 * math/s_csinhl.c (__csinhl): Likewise.
19193 * math/s_ctanl.c (__ctanl): Likewise.
19194 * math/s_ctanhl.c (__ctanhl): Likewise.
19195
203e5603
JM
191962012-09-25 Joseph Myers <joseph@codesourcery.com>
19197
19198 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
19199 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
19200 (_IO_off_t): Define to __off_t, not _G_off_t.
19201 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
19202 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
19203 (_IO_wint_t): Define to wint_t, not _G_wint_t.
19204 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
19205 type of __dummy and __dummy2 fields.
19206 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
19207 (_G_ssize_t): Likewise.
19208 (_G_off_t): Likewise.
19209 (_G_pid_t): Likewise.
19210 (_G_uid_t): Likewise.
19211 (_G_wchar_t): Likewise.
19212 (_G_wint_t): Likewise.
19213 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
19214 (_G_ssize_t): Likewise.
19215 (_G_off_t): Likewise.
19216 (_G_pid_t): Likewise.
19217 (_G_uid_t): Likewise.
19218 (_G_wchar_t): Likewise.
19219 (_G_wint_t): Likewise.
19220 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
19221 (_G_ssize_t): Likewise.
19222 (_G_off_t): Likewise.
19223 (_G_pid_t): Likewise.
19224 (_G_uid_t): Likewise.
19225 (_G_wchar_t): Likewise.
19226 (_G_wint_t): Likewise.
19227
9fab36eb
SP
192282012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19229
19230 * malloc/arena.c: Include malloc-sysdep.h.
19231 (shrink_heap): Use check_may_shrink_heap to decide if madvise
19232 is sufficient to shrink the heap or an unmap is needed.
19233 * sysdeps/generic/malloc-sysdep.h: New file. Define
19234 new function check_may_shrink_heap.
19235 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
19236 new function check_may_shrink_heap.
19237
2b4f00d1
SP
192382012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19239
19240 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
19241 comments.
19242
9a9028b1
DL
192432012-09-24 Dmitry V. Levin <ldv@altlinux.org>
19244
57c69bef
DL
19245 * catgets/test-gencat.sh: Add "set -e".
19246 * elf/tst-pathopt.sh: Likewise.
19247 * grp/tst_fgetgrent.sh: Likewise.
19248 * iconvdata/run-iconv-test.sh: Likewise.
19249 * intl/tst-gettext.sh: Likewise.
19250 * intl/tst-gettext2.sh: Likewise.
19251 * intl/tst-gettext4.sh: Likewise.
19252 * intl/tst-gettext6.sh: Likewise.
19253 * intl/tst-translit.sh: Likewise.
19254 * io/ftwtest-sh: Likewise.
19255 * libio/test-freopen.sh: Likewise.
19256 * malloc/tst-mtrace.sh: Likewise.
19257 * posix/globtest.sh: Likewise.
19258 * posix/tst-getconf.sh: Likewise.
19259 * posix/wordexp-tst.sh: Likewise.
19260 * stdio-common/tst-printf.sh: Likewise.
19261 * stdio-common/tst-unbputc.sh: Likewise.
19262 * stdlib/tst-fmtmsg.sh: Likewise.
19263 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
19264 * catgets/Makefile: Do not specify -e option when running
19265 testsuite shell scripts.
19266 * elf/Makefile: Likewise.
19267 * grp/Makefile: Likewise.
19268 * iconvdata/Makefile: Likewise.
19269 * intl/Makefile: Likewise.
19270 * io/Makefile: Likewise.
19271 * libio/Makefile: Likewise.
19272 * malloc/Makefile: Likewise.
19273 * posix/Makefile: Likewise.
19274 * stdio-common/Makefile: Likewise.
19275 * stdlib/Makefile: Likewise.
19276 * sysdeps/x86_64/Makefile: Likewise.
19277
9a9028b1
DL
19278 * io/ftwtest-sh: Add copyright header.
19279 * posix/globtest.sh: Likewise.
19280 * posix/tst-getconf.sh: Likewise.
19281 * posix/wordexp-tst.sh: Likewise.
19282 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
19283
ced6f16e
L
192842012-09-24 H.J. Lu <hongjiu.lu@intel.com>
19285
94b32c39
L
19286 [BZ #13679]
19287 * Makeconfig (+link): Defined as $(+link-static) if
19288 $(build-shared) isn't yes.
19289 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
19290 isn't yes.
19291 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
19292
189e935b
L
19293 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
19294
ced6f16e
L
19295 [BZ #14562]
19296 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
19297 new chunk size with MALLOC_ALIGN_MASK.
19298
a9f8e53a
JM
192992012-09-24 Joseph Myers <joseph@codesourcery.com>
19300
19301 [BZ #5044]
19302 * stdio-common/printf_fphex.c: Include <stdbool.h> and
19303 <rounding-mode.h>.
19304 (__printf_fphex): Determine rounding using get_rounding_mode and
19305 round_away.
19306 * stdio-common/tst-printf-round.c (struct hex_test): New
19307 structure.
19308 (hex_tests): New variable.
19309 (test_hex_in_one_mode): New function.
19310 (do_test): Also run tests for hex float output.
19311
43153109
JM
193122012-09-21 Joseph Myers <joseph@codesourcery.com>
19313
19314 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
19315 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
19316 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
19317 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
19318 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
19319 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
19320 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
19321 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
19322
8a26625d
JM
193232012-09-20 Joseph Myers <joseph@codesourcery.com>
19324
19325 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
19326 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
19327 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
19328 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
19329
f3fd569c
DL
193302012-09-19 Dmitry V. Levin <ldv@altlinux.org>
19331
19332 [BZ #14579]
19333 * elf/rtld.c (dl_main): Limit the check for self loading to normal
19334 mode only.
19335 * elf/tst-rtld-load-self.sh: New test.
19336 * elf/Makefile: Run it.
19337
63bbedd4
JM
193382012-09-18 Joseph Myers <joseph@codesourcery.com>
19339
19340 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
19341 (tst-writev-ENV): Remove.
19342 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
19343
626f8b6a
CM
193442012-09-17 Chris Metcalf <cmetcalf@tilera.com>
19345
19346 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
19347
b7aaa4d6
JM
193482012-09-17 Joseph Myers <joseph@codesourcery.com>
19349
19350 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
19351 unconditional.
19352 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
19353 Likewise.
19354 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
19355 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
19356 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
19357 Likewise.
19358
65513990
L
193592012-09-14 H.J. Lu <hongjiu.lu@intel.com>
19360
19361 [BZ #14587]
19362 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
19363 * config.make.in (have-cpp-asm-debuginfo): Removed.
19364 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
19365 * configure: Regenerated.
19366
784761be
JM
193672012-09-14 Joseph Myers <joseph@codesourcery.com>
19368
19369 [BZ #5044]
19370 * stdio-common/printf_fp.c: Include <stdbool.h> and
19371 <rounding-mode.h>.
19372 (___printf_fp): Determine rounding using get_rounding_mode and
19373 round_away.
19374 * stdio-common/tst-printf-round.c: New file.
19375 * stdio-common/Makefile (tests): Add tst-printf-round.
19376 (link-libm): New variable.
19377 ($(objpfx)tst-printf-round): Depend in $(link-libm).
19378
9503345f
L
193792012-09-13 H.J. Lu <hongjiu.lu@intel.com>
19380
19381 [BZ #14576]
19382 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
19383 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
19384 Likewise.
19385 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
19386 Likewise.
19387
ad35fc00
JM
193882012-09-13 Joseph Myers <joseph@codesourcery.com>
19389
19390 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
19391 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19392 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19393 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19394
6c9b0f68
JM
193952012-09-12 Joseph Myers <joseph@codesourcery.com>
19396
19397 [BZ #14518]
19398 * include/rounding-mode.h: New file.
19399 * sysdeps/generic/get-rounding-mode.h: Likewise.
19400 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
19401 * stdlib/strtod_l.c: Include <rounding-mode.h>.
19402 (MAX_VALUE): New macro.
19403 (MIN_VALUE): Likewise.
19404 (overflow_value): New function.
19405 (underflow_value): Likewise.
19406 (round_and_return): Use overflow_value and underflow_value to
19407 determine return values in overflow and underflow cases. Use
19408 round_away to determine rounding depending on rounding mode.
19409 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
19410 determine return values in overflow and underflow cases.
19411 * stdlib/tst-strtod-round.c: Include <fenv.h>.
19412 (struct test_results): New structure.
19413 (struct test): Use struct test_results to store expected results
19414 for all rounding modes.
19415 (TEST): Include expected results for all rounding modes.
19416 (test_in_one_mode): New function.
19417 (do_test): Use test_in_one_mode to compute and check results.
19418 Check results for all rounding modes.
19419 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
19420 $(link-libm).
19421
19fcedd5
AM
194222012-12-09 Allan McRae <allan@archlinux.org>
19423
1e9d84cd 19424 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 19425
8bbfd2f1
JM
194262012-09-11 Joseph Myers <joseph@codesourcery.com>
19427
19428 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
19429 (_G_int32_t): Likewise.
19430 (_G_uint16_t): Likewise.
19431 (_G_uint32_t): Likewise.
19432 (_G_HAVE_BOOL): Likewise.
19433 (_G_HAVE_ATEXIT): Likewise.
19434 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19435 (_G_HAVE_IO_FILE_OPEN): Likewise.
19436 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
19437 (_G_int32_t): Likewise.
19438 (_G_uint16_t): Likewise.
19439 (_G_uint32_t): Likewise.
19440 (_G_HAVE_BOOL): Likewise.
19441 (_G_HAVE_ATEXIT): Likewise.
19442 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19443 (_G_HAVE_IO_FILE_OPEN): Likewise.
19444 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
19445 (_G_int32_t): Likewise.
19446 (_G_uint16_t): Likewise.
19447 (_G_uint32_t): Likewise.
19448 (_G_HAVE_BOOL): Likewise.
19449 (_G_HAVE_ATEXIT): Likewise.
19450 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19451 (_G_HAVE_IO_FILE_OPEN): Likewise.
19452
b1dc5912
L
194532012-09-11 H.J. Lu <hongjiu.lu@intel.com>
19454
19455 * csu/libc-tls.c: Update copyright years.
19456
0e886ef9
JM
194572012-09-10 Joseph Myers <joseph@codesourcery.com>
19458
28361c5e
JM
19459 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
19460 [!_G_USING_THUNKS]: Remove conditional code.
19461 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
19462 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
19463
0e886ef9
JM
19464 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
19465 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
19466 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19467 (_G_VTABLE_LABEL_PREFIX): Likewise.
19468 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19469 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19470 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19471 (_G_VTABLE_LABEL_PREFIX): Likewise.
19472 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19473 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19474 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19475 (_G_VTABLE_LABEL_PREFIX): Likewise.
19476 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19477
bcba7aa2
L
194782012-09-10 H.J. Lu <hongjiu.lu@intel.com>
19479
19480 * libio/Makefile: Include ../Makeconfig before tests.
19481 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
19482 only if $(build-shared) is yes.
19483
06585ee8
L
19484 * iconv/gconv_db.c: Update copyright years.
19485
80ccd52c
LD
194862012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19487
19488 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
19489 unwind info if defined PIC. Fix special cases description.
19490 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
19491
19492 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
19493 DP_HI_MASK entry.
19494 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
19495
691bc9c1
L
194962012-09-07 H.J. Lu <hongjiu.lu@intel.com>
19497
3d9b46b3
L
19498 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
19499
de2139a9
L
19500 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
19501 is NULL.
19502
5ca78dd0
L
19503 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
19504 (LDLIBS-tst-chk4): This.
19505 (LDFLAGS-tst-chk5): Renamed to ...
19506 (LDLIBS-tst-chk5): This.
19507 (LDFLAGS-tst-chk6): Renamed to ...
19508 (LDLIBS-tst-chk6): This.
19509 (LDFLAGS-tst-lfschk4): Renamed to ...
19510 (LDLIBS-tst-lfschk4): This.
19511 (LDFLAGS-tst-lfschk5): Renamed to ...
19512 (LDLIBS-tst-lfschk5): This.
19513 (LDFLAGS-tst-lfschk6): Renamed to ...
19514 (LDLIBS-tst-lfschk6): This.
19515
691bc9c1
L
19516 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
19517 on $(common-objpfx)soversions.mk.
19518
65cafb1c
JM
195192012-09-07 Joseph Myers <joseph@codesourcery.com>
19520
19521 [BZ #10014]
19522 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
19523 example host name.
19524
c78ab094
SP
195252012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
19526
19527 * malloc/arena.c (arena_get_retry): New function that gets
19528 another arena for the caller to try its request on.
19529 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
19530 current arena cannot fulfill the request.
19531 (__libc_memalign): Likewise.
19532 (__libc_memalign): Likewise.
19533 (__libc_pvalloc): Likewise.
19534 (__libc_calloc): Likewise.
19535
01f49f59
JT
195362012-09-05 John Tobey <john.tobey@gmail.com>
19537
19538 [BZ #13542]
19539 * manual/arith.texi (Operations on Complex): Fix description
19540 of carg branch cut.
19541
4c23fed5
JM
195422012-09-06 Joseph Myers <joseph@codesourcery.com>
19543
1d3c8572
JM
19544 [BZ #10014]
19545 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
19546 host name.
19547
4c23fed5
JM
19548 [BZ #10038]
19549 * manual/memory.texi (Memory): Make order of menu items match
19550 order of sections.
19551
04570aaa
L
195522012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19553
19554 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
19555 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
19556 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
19557
b80af2f4
L
195582012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19559
19560 * csu/libc-tls.c (static_dtv): Renamed to ...
19561 (_dl_static_dtv): This. Make it global.
19562 (_dl_initial_dtv): Removed.
19563 (__libc_setup_tls): Updated.
19564 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
19565 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
19566 DL_INITIAL_DTV.
19567
2abe9f15
PM
195682012-09-06 Petr Machata <pmachata@redhat.com>
19569
19570 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
19571 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
19572 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
19573 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
19574
0948c3af
L
195752012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19576
19577 [BZ #14545]
19578 * csu/libc-tls.c (_dl_initial_dtv): New variable.
19579 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
19580 freeing dtv[-1].
19581
a5055ad1
L
195822012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19583
19584 [BZ #14544]
19585 * Makeconfig (link-static-before-libc): Replace $(+prector)
19586 with $(+prectorT).
19587 (link-static-after-libc): Replace $(+postctor) with
19588 $(+postctorT).
19589 (link-bounded): Replace $(+prector)/$(+postctor) with
19590 $(+prectorT)/$(+postctorT).
19591 (+prectorT): New macro.
19592 (+postctorT): Likewise.
19593
ed8c2ecd
JM
195942012-09-06 Joseph Myers <joseph@codesourcery.com>
19595
19596 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
19597 (round_str): Handle values above the maximum for IBM long double
19598 as inexact.
19599 * stdlib/tst-strtod-round.c (tests): Regenerated.
19600
14c996c8
AK
196012012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19602
19603 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
19604 assembler flag.
19605 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
19606 zarch_nohighgprs around the zarch optimized routines.
19607 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
19608 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
19609 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
19610 for zarch.
19611
430d6ce6
DM
196122012-09-05 David S. Miller <davem@davemloft.net>
19613
19614 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19615
ff04dda4
DM
19616 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
19617 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
19618 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
19619 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19620 entries.
19621
24d4e01b
AO
196222012-09-05 Alexandre Oliva <aoliva@redhat.com>
19623
19624 * malloc/arena.c: Fold copyright years.
19625 * malloc/mcheck.c, malloc/memusage.c: Likewise.
19626
61d58174
AO
196272012-09-05 Alexandre Oliva <aoliva@redhat.com>
19628
19629 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
19630
20196a5e
AO
196312012-09-05 Alexandre Oliva <aoliva@redhat.com>
19632
19633 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
19634
5c447383
AO
196352012-09-05 Alexandre Oliva <aoliva@redhat.com>
19636
19637 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
19638 change internal state upon failure.
19639
fad64255
AO
196402012-09-05 Alexandre Oliva <aoliva@redhat.com>
19641
19642 * malloc/mcheck.c (mcheck_check_all): Fix typo.
19643 * malloc/memusage.c (mmap): Likewise.
19644 (mmap64, mremap): Likewise. Adjust name in comment.
19645
1ffb8c90
SP
196462012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19647
19648 * libio/fileops.c: Fix typos in comments.
19649 * libio/oldfileops.c: Likewise.
19650 * libio/wfileops.c: Likewise.
19651
6ef9cc37
SP
196522012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19653
19654 [BZ #1349]
19655 * malloc/Makefile (tests): Add tst-malloc-usable test case.
19656 (tst-malloc-usable-ENV): Set environment for test case.
19657 * malloc/hooks.c (malloc_check_get_size): New function to get
19658 requested size.
19659 * malloc/malloc.c (musable): Use malloc_check_get_size.
19660 * malloc/tst-malloc-usable.c: New test case.
19661
4d038ae3
AS
196622012-09-05 Andreas Schwab <schwab@linux-m68k.org>
19663
19664 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
19665
c4e85184
AM
196662012-09-05 Allan McRae <allan@archlinux.org>
19667
b9dafc56 19668 [BZ #13966]
c4e85184
AM
19669 * configure.in (CXX_SYSINCLUDES): Use compiler output to
19670 determine header location.
19671 * configure: Regenerated.
19672
e1343020
AS
196732012-09-05 Andreas Schwab <schwab@linux-m68k.org>
19674
19675 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
19676 float format.
19677 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
19678 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
19679 format.
e1343020
AS
19680 (test): Regenerate.
19681
0a9f1987
DM
196822012-09-04 David S. Miller <davem@davemloft.net>
19683
19684 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
19685 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
19686 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
19687
29237804
FW
196882012-09-04 Florian Weimer <fweimer@redhat.com>
19689
19690 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
19691 failures.
19692
edb3cb88
FW
19693 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
19694
60160d83
JM
196952012-09-04 Joseph Myers <joseph@codesourcery.com>
19696
19697 [BZ #9914]
19698 * libio/iogetdelim.c: Include <limits.h>.
19699 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
19700 + len + 1 would overflow.
19701
bcd6c8dc
AJ
197022012-09-03 Andreas Jaeger <aj@suse.de>
19703
19704 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19705 * sysdeps/i386/fpu/libm-test-ulps: Update.
19706
4ffffbd2
LD
197072012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19708
19709 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19710 Add s_sinf-sse2, s_conf-sse2.
19711
19712 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
19713 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
19714 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
19715 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
19716
19717 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
19718 for using routine as __sinf_ia32.
19719 Use macro for function declaration and weak_alias.
19720 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
19721 for using routine as __cosf_ia32.
19722 Use macro for function declaration and weak_alias.
19723
19724 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
19725 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
19726
19727 * sysdeps/x86_64/fpu/s_sinf.S: New file.
19728 * sysdeps/x86_64/fpu/s_cosf.S: New file.
19729 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19730
19731 * math/libm-test.inc (cos_test): Add more test cases.
19732 (sin_test): Likewise.
19733 (sincos_test): Likewise.
19734
511fa286
AK
197352012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19736
19737 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
19738 (IFUNC_RESOLVE): Make pointers to the specialized implementations
19739 hidden.
19740 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19741
5f30cfec
L
197422012-09-02 H.J. Lu <hongjiu.lu@intel.com>
19743
19744 [BZ #14538]
19745 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
19746 first element of the GOT.
19747 (elf_machine_load_address): Return the difference between
19748 the runtime address of _DYNAMIC and elf_machine_dynamic ().
19749
0786794f
AM
197502012-09-01 Allan McRae <allan@archlinux.org>
19751
5f30cfec
L
19752 [BZ #13412]
19753 * configure.in (AWK): Require gawk version 3.0 or later.
19754 * configure: Regenerated.
0786794f 19755
26889eac
JM
197562012-09-01 Joseph Myers <joseph@codesourcery.com>
19757
19758 * sysdeps/unix/sysv/linux/kernel-features.h
19759 (__ASSUME_POSIX_CPU_TIMERS): Remove.
19760 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19761 [__NR_clock_getres]: Make code unconditional.
19762 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
19763 (clock_getcpuclockid): Remove code left unreachable by removal of
19764 conditionals.
19765 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
19766 code unconditional.
19767 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19768 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19769 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
19770 Make code unconditional.
19771 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19772 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19773 * sysdeps/unix/sysv/linux/clock_settime.c
19774 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
19775 conditional code.
19776 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
19777 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19778
d22e28b0
L
197792012-08-29 H.J. Lu <hongjiu.lu@intel.com>
19780
19781 [BZ #14476]
19782 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
19783 scripts/test-installation.pl.
19784
19785 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
19786 and $ld_so_version if it is set.
19787
050af9c4
SP
197882012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19789
19790 [BZ #14516]
19791 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
19792 failure if reading from procfs failed.
19793 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
19794
ad845c0b
JM
197952012-08-27 Joseph Myers <joseph@codesourcery.com>
19796
19797 * sysdeps/unix/sysv/linux/kernel-features.h
19798 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
19799 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19800 Remove conditional code.
19801 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19802 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
19803 Remove conditional code.
19804 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19805 * sysdeps/unix/sysv/linux/i386/fxstat.c
19806 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19807 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19808 * sysdeps/unix/sysv/linux/i386/fxstatat.c
19809 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19810 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19811 * sysdeps/unix/sysv/linux/i386/lxstat.c
19812 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19813 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19814 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
19815 Remove conditional code.
19816 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19817 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19818 Remove conditional code.
19819 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19820 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
19821 <kernel-features.h>.
19822 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
19823 Remove.
19824 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
19825 Remove conditional code.
19826 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19827 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
19828 Remove conditional.
19829
5dbf56af
MF
198302012-08-27 Mike Frysinger <vapier@gentoo.org>
19831
19832 [BZ #5400]
19833 * NEWS: Add fixed bug number.
19834
d6e70f43
JM
198352012-08-27 Joseph Myers <joseph@codesourcery.com>
19836
7efb4737
JM
19837 [BZ #14519]
19838 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
19839 underflowing exponent in case of negative sign.
19840 * stdlib/tst-strtod-round-data: Add more tests.
19841 * stdlib/tst-strtod-round.c (tests): Regenerated.
19842
af92131a
JM
19843 [BZ #3479]
19844 * stdlib/strtod_l.c (NDIG): Remove.
19845 (HEXNDIG): Likewise.
19846 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
19847 smallest representable value.
19848 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
19849 lie within an exact representation of 1/2 ulp of the result.
19850 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
19851 unconditionally.
19852 (TENS_P9_IDX): Define unconditionally.
19853 (TENS_P9_SIZE): Likewise.
19854 (TENS_P10_IDX): Likewise.
19855 (TENS_P10_SIZE): Likewise.
19856 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
19857 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
19858 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
19859 entries for 10^2^13 and 10^2^14.
19860 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
19861 (TENS_P13_IDX): Define.
19862 (TENS_P13_SIZE): Likewise.
19863 (TENS_P14_IDX): Likewise.
19864 (TENS_P14_SIZE): Likewise.
19865 (_fpioconst_pow10): Change array size to
19866 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
19867 unconditional.
19868 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
19869 1024]: Add entries for 10^2^13 and 10^2^14.
19870 [LAST_POW10 > _LAST_POW10]: Remove #error.
19871 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
19872 (_fpioconst_pow10): Change array size to
19873 FPIOCONST_POW10_ARRAY_SIZE.
19874 * stdlib/gen-fpioconst.c: New file.
19875 * stdlib/gen-tst-strtod-round.c: Likewise.
19876 * stdlib/tst-strtod-round-data: Likewise.
19877 * stdlib/tst-strtod-round.c: Likewise.
19878 * stdlib/Makefile (tests): Add tst-strtod-round.
19879
d6e70f43
JM
19880 [BZ #14459]
19881 * stdlib/strtod_l.c: Include <stdint.h>.
19882 (NDEBUG): Do not define.
19883 (round_and_return): Change EXPONENT parameter to type intmax_t.
19884 Rearrange calculations to avoid internal overflow possibilities.
19885 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
19886 Rearrange calculations to avoid internal overflow possibilities.
19887 Assert that number fits inside MPNSIZE limbs.
19888 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
19889 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
19890 calculations and add assertions to avoid internal overflow
19891 possibilities. Add casts to avoid signed/unsigned operations.
19892 * stdlib/tst-strtod-overflow.c: New file.
19893 * stdlib/Makefile (tests): Add tst-strtod-overflow.
19894
1f529f7d
MP
198952012-08-25 Marek Polacek <polacek@redhat.com>
19896
19897 * time/time.h: Fix some typos in comments.
19898
59a629f1
RM
198992012-08-23 Roland McGrath <roland@hack.frob.com>
19900
19901 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
19902 * posix/tst-rfc3484-2.c: Likewise.
19903 * posix/tst-rfc3484-3.c: Likewise.
19904
d3bafbc9
SM
199052012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
19906
19907 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
19908 (EF_ARM_ABI_FLOAT_HARD): Likewise.
19909
4efcc022
JM
199102012-08-23 Joseph Myers <joseph@codesourcery.com>
19911
19912 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
19913 #include of fxstatat64.c.
19914
3cc3ef96
RM
199152012-08-22 Roland McGrath <roland@hack.frob.com>
19916
f04e2132
RM
19917 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
19918 * shadow/getspent_r.c: Likewise.
19919 * shadow/getspnam.c: Likewise.
19920 * shadow/getspnam_r.c: Likewise.
19921 * gshadow/getsgent.c: Likewise.
19922 * gshadow/getsgent_r.c: Likewise.
19923 * gshadow/getsgnam.c: Likewise.
19924 * gshadow/getsgnam_r.c: Likewise.
19925 * inet/getnetbyad.c: Likewise.
19926 * inet/getnetbyad_r.c: Likewise.
19927 * inet/getnetbynm.c: Likewise.
19928 * inet/getnetbynm_r.c: Likewise.
19929 * inet/getnetent.c: Likewise.
19930 * inet/getnetent_r.c: Likewise.
19931 * inet/getproto.c: Likewise.
19932 * inet/getproto_r.c: Likewise.
19933 * inet/getprtent.c: Likewise.
19934 * inet/getprtent_r.c: Likewise.
19935 * inet/getprtname.c: Likewise.
19936 * inet/getprtname_r.c: Likewise.
19937 * inet/getrpcbyname.c: Likewise.
19938 * inet/getrpcbyname_r.c: Likewise.
19939 * inet/getrpcbynumber.c: Likewise.
19940 * inet/getrpcbynumber_r.c: Likewise.
19941 * inet/getrpcent.c: Likewise.
19942 * inet/getrpcent_r.c: Likewise.
19943 * inet/getaliasent.c: Likewise.
19944 * inet/getaliasent_r.c: Likewise.
19945 * inet/getaliasname.c: Likewise.
19946 * inet/getaliasname_r.c: Likewise.
19947 * nscd/getgrgid_r.c: Likewise.
19948 * nscd/getgrnam_r.c: Likewise.
19949 * nscd/gethstbyad_r.c: Likewise.
19950 * nscd/gethstbynm3_r.c: Likewise.
19951 * nscd/getpwnam_r.c: Likewise.
19952 * nscd/getpwuid_r.c: Likewise.
19953 * nscd/getsrvbynm_r.c: Likewise.
19954 * nscd/getsrvbypt_r.c: Likewise.
19955 * nscd/gai.c: Likewise.
19956
c53d909c
RM
19957 * configure.in (build_nscd): New substituted variable, set
19958 by --disable-build-nscd and defaults to $use_nscd.
19959 * configure: Regenerated.
19960 * config.make.in (build-nscd): New substituted variable.
19961 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
19962 Change conditional to require [$(build-nscd) = yes] as well.
19963 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
19964
3cc3ef96
RM
19965 [BZ# 13696]
19966 * configure.in (use_nscd): New substituted variable, set by
19967 --disable-nscd. If enabled, define USE_NSCD.
19968 * configure: Regenerated.
19969 * config.h.in: Add USE_NSCD.
19970 * config.make.in (use-nscd): New substituted variable.
19971 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
19972 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
19973 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
19974 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
19975 (CFLAGS-getgrnam_r.c): Likewise.
19976 (CFLAGS-initgroups.c): Likewise.
19977 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
19978 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
19979 Variables removed.
19980 * inet/getnetgrent_r.c
19981 (nscd_setnetgrent): New function, broken out of ...
19982 (setnetgrent): ... here. Call it.
19983 (innetgr): Conditionalize nscd bits on [USE_NSCD].
19984 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
19985 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
19986 * nscd/Makefile (routines, aux): Move definitions after include of
19987 Makeconfig. Conditionalize on [$(use-nscd) != no].
19988 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
19989 Conditionalize on [USE_NSCD].
19990 (is_nscd, nscd_init_cb): Likewise.
19991 (nss_load_library): Conditionalize init callback on [USE_NSCD].
19992 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
19993 * nss/nss_db/db-init.c: Likewise.
19994 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
19995 [USE_NSCD].
19996 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
19997 (make_request): Use it.
19998 (cache_valid_p): New function.
19999 (__check_pf): Use it.
20000 * NEWS: Add item for --disable-nscd.
20001
07e51550
DL
200022012-08-22 Dmitry V. Levin <ldv@altlinux.org>
20003
20004 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
20005 to support sed >= 4.2.1-20-ga9bf076.
20006 * configure: Regenerated.
20007
35a5b08b
RM
200082012-08-22 Roland McGrath <roland@hack.frob.com>
20009
20010 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
20011 Conditionalize whole body on [IREL].
20012
8479f23a
JL
200132012-08-22 Jeff Law <law@redhat.com>
20014
20015 [BZ #14505]
20016 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
20017 if the family is PF_UNSPEC.
20018
48da0b21
MF
200192012-08-22 Mike Frysinger <vapier@gentoo.org>
20020
20021 * Makerules (lib-version): Rename from V.
20022 (install-lib-nosubdir): Change V to lib-version.
20023
15d0da8c
WS
200242012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
20025
20026 [BZ #14252]
20027 * powerpc32/power6/wcschr.c: New file.
20028 * powerpc32/power6/wcscpy.c: New file.
20029 * powerpc32/power6/wcsrchr.c: New file.
20030 * powerpc64/power6/wcschr.c: New file.
20031 * powerpc64/power6/wcscpy.c: New file.
20032 * powerpc64/power6/wcsrchr.c: New file.
20033
bcca0895
MK
200342012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
20035
20036 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
20037 (two_way_short_needle): Use it.
5a4aaa33
RM
20038 * string/strstr.c (AVAILABLE1_USES_J): Define.
20039 * string/strcasestr.c: Likewise.
99677e57
MK
20040
20041 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
20042 array references.
20043 * string/strcasestr.c (TOLOWER): Make side-effect safe.
20044
400726de
MK
20045 [BZ #11607]
20046 * NEWS: Add an entry.
20047 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
20048 define their defaults.
20049 (two_way_short_needle): Detect end-of-string on-the-fly.
20050 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
20051 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
20052 * string/bug-strcasestr1.c: New test.
20053 * string/Makefile: Run it.
20054
20a71f2c
MK
200552012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
20056
20057 [BZ #11607]
20058 * string/str-two-way.h (two_way_short_needle): Optimize matching of
20059 the first character.
20060
21ad0558
RM
200612012-08-21 Roland McGrath <roland@hack.frob.com>
20062
20063 * csu/elf-init.c (__libc_csu_irel): Function removed.
20064 * csu/libc-start.c (apply_irel): New function.
20065 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
20066
0e1d9911
JM
200672012-08-21 Joseph Myers <joseph@codesourcery.com>
20068
20069 * sysdeps/unix/sysv/linux/kernel-features.h
20070 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
20071 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
20072 <kernel-features.h>.
20073 [__NR_fadvise64_64]: Make code unconditional.
20074 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
20075 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
20076 !__NR_fadvise64_64)]: Likewise.
20077 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
20078 !__NR_fadvise64_64))]: Likewise.
20079 [__NR_fadvise64]: Make code unconditional.
20080 [!__NR_fadvise64]: Remove conditional code.
20081 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
20082 <kernel-features.h>.
20083 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20084 unconditional.
20085 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20086 conditional code.
20087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
20088 not include <kernel-features.h>.
20089 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20090 unconditional.
20091 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20092 conditional code.
20093 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
20094 include <kernel-features.h>.
20095 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20096 unconditional.
20097 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20098 conditional code.
20099
14a50c9d
WS
201002012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
20101
20102 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
20103 slight instruction rearrangements per scrollpipe analysis.
20104 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
20105
c0f4faf0
RM
201062012-08-20 Roland McGrath <roland@hack.frob.com>
20107
696da859
RM
20108 * manual/syslog.texi (syslog; vsyslog, closelog):
20109 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
20110 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
20111
c0f4faf0
RM
20112 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
20113 DSOCAPS to match condition on defining it.
20114
348363b2
JM
201152012-08-20 Joseph Myers <joseph@codesourcery.com>
20116
a35cbf28
JM
20117 * sysdeps/unix/sysv/linux/kernel-features.h
20118 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
20119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
20120 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20121 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
20123 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20124 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
20126 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20127 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20128
445f7ecd
JM
20129 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
20130 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
20131
348363b2
JM
20132 * sysdeps/unix/sysv/linux/kernel-features.h
20133 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
20134 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
20135 unconditional.
20136 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20137 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
20138 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
20139 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20140 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
20141 Make code unconditional.
20142 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20143 (__mmap64) [!__NR_mmap2]: Likewise.
20144 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
20145 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
20146 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20147 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
20148 [__NR_mmap2]: Make code unconditional.
20149 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20150 (__mmap64) [!__NR_mmap2]: Likewise.
20151
bc5bc0e5
AK
201522012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20153
20154 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
20155
88d506de
AJ
201562012-08-18 Andreas Jaeger <aj@suse.de>
20157
20158 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
20159
493387d2
MF
201602012-08-18 Mike Frysinger <vapier@gentoo.org>
20161
20162 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
20163 * include/unistd.h (__have_sock_cloexec): Likewise.
20164 (__have_pipe2): Likewise.
20165 (__have_dup3): Likewise.
20166
a277af22
MF
201672012-08-18 Mike Frysinger <vapier@gentoo.org>
20168
20169 [BZ #9685]
20170 * include/unistd.h (__have_pipe2): Change define into an extern int.
20171 (__have_dup3): Likewise.
20172 * socket/have_sock_cloexec.c: Include fcntl.h.
20173 (__have_pipe2): New variable.
20174 (__have_dup3): Likewise.
20175
fdab8fd3
MF
201762012-08-17 Mike Frysinger <vapier@gentoo.org>
20177
20178 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
20179
31035e80
MP
201802012-08-17 Marek Polacek <polacek@redhat.com>
20181
20182 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
20183 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
20184
3bd9e993
RM
201852012-08-17 Roland McGrath <roland@hack.frob.com>
20186
c91c505f
RM
20187 * configure.in: Add AC_SUBST for sysheaders.
20188 * configure: Regenerated.
20189 * config.make.in (sysheaders): New substituted variable.
20190
7c6f9d53
RM
20191 * sysdeps/unix/mkfifo.c: Moved ...
20192 * sysdeps/posix/mkfifo.c: ... here.
20193 * sysdeps/unix/mkfifoat.c: Moved ...
20194 * sysdeps/posix/mkfifoat.c: ... here.
20195
20196 * sysdeps/unix/utime.c: Moved ...
20197 * sysdeps/posix/utime.c: ... here.
20198
20199 * sysdeps/unix/time.c: Moved ...
20200 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
20201 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
20202 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
20203
20204 * sysdeps/unix/nice.c: Moved ...
20205 * sysdeps/posix/nice.c: ... here.
20206
20207 * sysdeps/unix/alarm.c: Moved ...
20208 * sysdeps/posix/alarm.c: ... here.
20209
3bd9e993
RM
20210 * intl/Makefile ($(codeset_mo)): Depend on the input file.
20211
d1f09384
JL
202122012-08-17 Jeff Law <law@redhat.com>
20213
20214 * intl/Makefile (codeset_mo): New variable.
20215 ($(codeset_mo)): New target.
20216 (tst-codeset.out): Depend on that. Remove explicit rule.
20217 (tst-gettext3.out, tst-gettext5.out): Likewise.
20218 (LOCPATH-ENV, tst-codeset-ENV): New variables.
20219 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
20220 * intl/tst-codeset.sh: Remove.
20221 * intl/tst-gettext3.sh: Likewise.
20222 * intl/tst-gettext5.sh: Likewise.
20223
2ae1ae5c
RM
202242012-08-17 Roland McGrath <roland@hack.frob.com>
20225
c31fdb83
RM
20226 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
20227 * sysdeps/unix/syscalls.list: ... here.
20228
a0844057
RM
20229 * sysdeps/posix/getaddrinfo.c
20230 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
20231 (gaiconf_init, gaiconf_reload): Use them.
20232 [!_STATBUF_ST_NSEC]
20233 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
20234 Define using time_t rather than struct timespec.
20235
750c1f2a
RM
20236 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
20237 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
20238 Macros removed.
20239 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
20240 [!NO_THREADS].
20241 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
20242 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
20243 Likewise.
20244
2ae1ae5c
RM
20245 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
20246 __libc_cleanup_push argument.
20247
e66a42f5
RM
20248 * bits/param.h: New file.
20249 * misc/sys/param.h: New file.
20250 * include/sys/param.h: New file.
20251 * misc/Makefile (headers): Add bits/param.h.
20252 * sysdeps/generic/sys/param.h: File removed.
20253 * sysdeps/unix/sysv/linux/bits/param.h: New file.
20254 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
20255 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 20256 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 20257
b7c08a66
RM
20258 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
20259 last change.
20260
b2e1c562
RM
20261 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
20262 [_IO_MTSAFE_IO].
20263 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
20264 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
20265 New macros.
20266
c75ccd4c
RM
20267 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
20268 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
20269 rather than -D_IO_MTSAFE_IO conditionally.
20270 * stdio-common/Makefile (CPPFLAGS): Likewise.
20271 * wcsmbs/Makefile (CPPFLAGS): Likewise.
20272 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
20273 Use $(libio-mtsafe).
20274 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
20275 of -D_IO_MTSAFE_IO.
20276 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
20277 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
20278 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
20279 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
20280 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
20281 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
20282 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
20283 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
20284 (CFLAGS-fread_u_chk.c): Likewise.
20285 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
20286 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
20287 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
20288 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
20289 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
20290 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
20291 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
20292 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
20293 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
20294
20295 * libio/Makefile: Test [$(libc-reentrant) = yes]
20296 instead of [$(filter %REENTRANT, $(defines)) nonempty].
20297
20298 * Makeconfig
20299 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
20300 * sysdeps/pthread/configure: File removed.
20301 * sysdeps/pthread/Makeconfig: New file.
20302 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
20303 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
20304
d9195db8
GB
203052012-08-16 Gary Benson <gbenson@redhat.com>
20306
20307 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
20308 unmapping the first object in a namespace.
20309
86466cd9
RM
203102012-08-16 Roland McGrath <roland@hack.frob.com>
20311
20312 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
20313 (__internal_setnetgrent): ... this. Add internal_function to
20314 definition. Add libc_hidden_def.
20315 (setnetgrent): Update caller.
20316 (internal_endnetgrent): Renamed to ...
20317 (__internal_endnetgrent): ... this. Add internal_function to
20318 definition. Add libc_hidden_def.
20319 (endnetgrent): Update caller.
20320 (internal_getnetgrent_r): Renamed to ...
20321 (__internal_getnetgrent_r): ... this. Add internal_function to
20322 definition. Add libc_hidden_def.
20323 (__getnetgrent_r): Update caller.
20324 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
20325
c3c8283c
JM
203262012-08-16 Joseph Myers <joseph@codesourcery.com>
20327
20328 * stdlib/longlong.h: Update from GCC.
20329
db1ee0a8
RM
203302012-08-16 Roland McGrath <roland@hack.frob.com>
20331
20332 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
20333 on _QL, which is set by umul_ppmm but never used.
20334 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
20335 variables, which are set by GMP macros but never used.
20336 * stdio-common/_itowa.c (_itowa): Likewise.
20337 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
20338 * stdlib/mod_1.c (mpn_mod_1): Likewise.
20339
30f69637
CD
203402012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
20341
20342 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
20343 struct La_sh_regs is not constant.
20344 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
20345 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
20346 and struct La_sparc64_regs are not constant.
20347
93a78ac4
JM
203482012-08-16 Joseph Myers <joseph@codesourcery.com>
20349
20350 * sysdeps/unix/sysv/linux/kernel-features.h
20351 (__ASSUME_POSIX_TIMERS): Remove.
20352 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
20353 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20354 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
20355 Make code unconditional.
20356 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20357 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
20358 Make code unconditional.
20359 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20360 * sysdeps/unix/sysv/linux/clock_nanosleep.c
20361 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
20362 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20363 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
20364 Make code unconditional.
20365 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20366 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
20367 (__libc_missing_posix_timers): Remove.
20368
dd924cd7
RM
203692012-08-15 Roland McGrath <roland@hack.frob.com>
20370
4b4f2771
RM
20371 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
20372 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
20373
601c888b
RM
20374 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
20375
176790a7
RM
20376 * elf/dl-sym.c: Include <stdlib.h>.
20377
329bc018
RM
20378 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
20379 constants, which avoids warnings in 32-bit builds.
20380
e04e272d
RM
20381 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
20382 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
20383
952bf94a
RM
20384 * misc/lseek.c: File moved to ...
20385 * io/lseek.c: ... here.
20386
7c99b50a
RM
20387 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
20388
dd924cd7
RM
20389 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
20390 shifting LEN more than 31 bits at once.
20391
b3f479a8
LD
203922012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20393
20394 [BZ #14195]
8c4ae0d4
RM
20395 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
20396 segmentation fault for a case of two empty input strings.
b3f479a8
LD
20397 * string/test-strncasecmp.c (check1): Renamed to...
20398 (bz12205): ...this.
20399 (bz14195): Add new testcase for two empty input strings and N > 0.
20400 (test_main): Call new testcase, adapt for renamed function.
20401
9c55864e
AJ
204022012-08-15 Andreas Jaeger <aj@suse.de>
20403
20404 [BZ #14090]
20405 * crypt/md5test2.c: New test, based on test supplied by Serge
20406 Belyshev <belyshev@depni.sinp.msu.ru>.
20407 * crypt/Makefile (xtests): Add md5test-giant..
20408 * crypt/Makefile ($(objpfx)md5test-giant): Add.
20409
02dcb6c5
PE
204102012-08-15 Paul Eggert <eggert@cs.ucla.edu>
20411
20412 [BZ #14090]
20413 * crypt/md5.c (md5_process_block): Don't assume the buffer
20414 length is less than 2**32.
20415 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
20416 length is less than 2**64.
20417
a3f95dcc
RM
204182012-08-15 Roland McGrath <roland@hack.frob.com>
20419
be75d758
RM
20420 * string/str-two-way.h: Include <sys/param.h>.
20421 (MAX): Macro removed.
20422
7312ca90
RM
20423 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
20424 Move #define and #undef of memmove to just before and after
20425 including <string.h>.
20426
9a0a5486
RM
20427 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
20428 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
20429 and after including <string.h>. Move declarations of
20430 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
20431 to before #include "string/memmove.c".
20432
67cc348d
RM
20433 * include/dirent.h: Declare __getdirentries.
20434
a3f95dcc
RM
20435 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
20436 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
20437
ca98e171
MF
204382012-08-14 Mike Frysinger <vapier@gentoo.org>
20439
20440 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
20441 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
20442 * sysdeps/i386/configure: Regenerated.
20443 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
20444 STABS_CURRENT_FILE, and STABS_FUN.
20445 (END): Remove call to STABS_FUN_END.
20446 (STABS_CURRENT_FILE1): Delete.
20447 (STABS_CURRENT_FILE): Likewise.
20448 (STABS_FUN): Likewise.
20449 (STABS_FUN_END): Likewise.
20450 (STABS_FUN2): Likewise.
20451 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
20452 * sysdeps/x86_64/configure: Regenerated.
20453
5908bf46
RM
204542012-08-14 Roland McGrath <roland@hack.frob.com>
20455
20456 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 20457 * elf/dl-lookup.c: Likewise.
5908bf46 20458
f2c05b9e
JM
204592012-08-14 Joseph Myers <joseph@codesourcery.com>
20460
20461 * sysdeps/unix/sysv/linux/kernel-features.h
20462 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
20463 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
20464 unconditionally.
20465 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
20466 unconditionally.
20467 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
20468 condition on __ASSUME_CLONE_THREAD_FLAGS.
20469
e11f5155
AJ
204702012-08-14 Andreas Jaeger <aj@suse.de>
20471
20472 * sysdeps/i386/fpu/libm-test-ulps: Update.
20473
51a9ba86
MK
204742012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
20475
2fdd4f78
AJ
20476 * include/atomic.h (atomic_exchange_and_add): Split into ...
20477 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
20478 New atomic macros.
51a9ba86 20479
ba6cba9e
MT
204802012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
20481
20482 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20483
42443a47
JL
204842012-08-13 Jeff Law <law@redhat.com>
20485
20486 * manual/stdio.texi (snprintf): Clarify handling of the trailing
20487 null byte in the output string.
20488
121dce05
JM
204892012-08-10 Joseph Myers <joseph@codesourcery.com>
20490
20491 * sysdeps/unix/sysv/linux/kernel-features.h
20492 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
20493 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
20494 (__ASSUME_ARG_MAX_STACK_BASED): Define.
20495 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
20496 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
20497 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
20498 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
20499
bf51f568
JL
205002012-08-09 Jeff Law <law@redhat.com>
20501
20502 [BZ #13939]
20503 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
20504 When avoid_arena is set, don't retry in the that arena. Pick the
20505 next one, whatever it might be.
20506 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
20507 (arena_lock): Pass in new parameter to arena_get2.
20508 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
20509 arena_get2.
20510 (__libc_malloc): Unify retrying after main arena failure with
20511 __libc_memalign version.
20512 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
20513
f85fa270
L
205142012-08-09 H.J. Lu <hongjiu.lu@intel.com>
20515
20516 [BZ #14166]
20517 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
20518 to __redirect_strstr.
20519 (__strstr_sse42): Use typeof __redirect_strstr.
20520 (__strstr_ia32): Likewise.
20521 (__libc_strstr): New prototype.
20522 (strstr): Renamed to ...
20523 (__libc_strstr): This.
20524 (strstr): New strong alias of __libc_strstr.
20525 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
20526 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
20527 __redirect_time.
20528 Include <time.h>.
20529 (__libc_time): New prototype.
20530 (time_ifunc): Replace time with __libc_time.
20531 (time): New strong alias and hidden definition of __libc_time.
20532 (__GI_time): Remove strong alias.
20533 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
20534 Include <stddef.h>.
20535 (memmove): Redefined to __redirect_memmove.
20536 (__memmove_sse2): Use typeof __redirect_memmove.
20537 (__memmove_ssse3): Likewise.
20538 (__memmove_ssse3_back): Likewise.
20539 (__libc_memmove): New prototype.
20540 (memmove): Renamed to ...
20541 (__libc_memmove): This.
20542 (memmove): New strong alias of __libc_memmove.
20543
33b4a91e
MS
205442012-08-08 Mark Salter <msalter@redhat.com>
20545
20546 * elf/elf.h
20547 (R_MN10300_TLS_GD): Define.
20548 (R_MN10300_TLS_LD): Likewise.
20549 (R_MN10300_TLS_LDO): Likewise.
20550 (R_MN10300_TLS_GOTIE): Likewise.
20551 (R_MN10300_TLS_IE): Likewise.
20552 (R_MN10300_TLS_LE): Likewise.
20553 (R_MN10300_TLS_DTPMOD): Likewise.
20554 (R_MN10300_TLS_DTPOFF): Likewise.
20555 (R_MN10300_TLS_TPOFF): Likewise.
20556 (R_MN10300_SYM_DIFF): Likewise.
20557 (R_MN10300_ALIGN): Likewise.
20558 (R_MN10300_NUM): Update.
20559
b36137f1
JM
205602012-08-08 Joseph Myers <joseph@codesourcery.com>
20561
20562 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
20563 Remove.
20564
cdd915fd
RM
205652012-08-08 Roland McGrath <roland@hack.frob.com>
20566
a2433aac
RM
20567 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
20568
cdd915fd
RM
20569 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
20570 sysdeps/unix -> sysdeps/posix move.
20571 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
20572
bf9b740a
AM
205732012-08-07 Allan McRae <allan@archlinux.org>
20574
20575 [BZ #14303]
20576 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
20577 (SUNOS_CPP): Likewise.
20578 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
20579 not found.
20580 (open_input): Call CPP using execvp.
20581
93df14ee
JM
205822012-08-07 Joseph Myers <joseph@codesourcery.com>
20583
20584 * sysdeps/unix/sysv/linux/kernel-features.h
20585 (__ASSUME_PROT_GROWSUPDOWN): Remove.
20586 (__ASSUME_NO_CLONE_DETACHED): Likewise.
20587 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20588 (__ASSUME_WAITID_SYSCALL): Likewise.
20589 * sysdeps/unix/sysv/linux/dl-execstack.c
20590 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
20591 code unconditional.
20592 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
20593 conditional code.
20594 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
20595 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
20596 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
20597 code.
20598 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
20599 unconditional.
20600 [__ASSUME_WAITID_SYSCALL]: Likewise.
20601 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
20602
d34689de
RM
206032012-08-07 Roland McGrath <roland@hack.frob.com>
20604
a281decc
RM
20605 * sysdeps/unix/closedir.c: Renamed to ...
20606 * sysdeps/posix/closedir.c: ... here.
20607 * sysdeps/unix/dirfd.c: Renamed to ...
20608 * sysdeps/posix/dirfd.c: ... here.
20609 * sysdeps/unix/dirstream.h: Renamed to ...
20610 * sysdeps/posix/dirstream.h: ... here.
20611 * sysdeps/unix/fdopendir.c: Renamed to ...
20612 * sysdeps/posix/fdopendir.c: ... here.
20613 * sysdeps/unix/opendir.c: Renamed to ...
20614 * sysdeps/posix/opendir.c: ... here.
20615 * sysdeps/unix/readdir.c: Renamed to ...
20616 * sysdeps/posix/readdir.c: ... here.
20617 * sysdeps/unix/readdir_r.c: Renamed to ...
20618 * sysdeps/posix/readdir_r.c: ... here.
20619 * sysdeps/unix/rewinddir.c: Renamed to ...
20620 * sysdeps/posix/rewinddir.c: ... here.
20621 * sysdeps/unix/seekdir.c: Renamed to ...
20622 * sysdeps/posix/seekdir.c: ... here.
20623 * sysdeps/unix/telldir.c: Renamed to ...
20624 * sysdeps/posix/telldir.c: ... here.
20625 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
20626 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
20627 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
20628 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
20629
22895b47
RM
20630 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
20631 * bits/fcntl.h: ... here.
20632
707a53b6
RM
20633 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
20634 not 0.
20635 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
20636 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
20637 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
20638 (struct flock): Move l_start, l_len to the beginning.
20639 Use __pid_t for l_pid.
20640 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
20641 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
20642 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
20643 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
20644 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
20645 [__USE_LARGEFILE64] (struct flock64): New type.
20646 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
20647
f0bd3e25
RM
20648 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
20649 * bits/dirent.h: ... here.
20650
d34689de
RM
20651 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
20652 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
20653
6dad2c06
JM
206542012-08-07 Joseph Myers <joseph@codesourcery.com>
20655
20656 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20657 Change from 2.6.0 to 2.6.16.
20658 * sysdeps/unix/sysv/linux/configure: Regenerated.
20659 * sysdeps/unix/sysv/linux/kernel-features.h
20660 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
20661 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
20662 version.
20663 (__ASSUME_UTIMES): Likewise.
20664 (__ASSUME_CLONE_STOPPED): Remove.
20665 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
20666 architectures, not kernel version.
20667 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
20668 (__ASSUME_NO_CLONE_DETACHED): Likewise.
20669 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20670 (__ASSUME_WAITID_SYSCALL): Likewise.
20671 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
20672 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
20673 * README: State 2.6.16 as minimum Linux kernel version. Do not
20674 refer to older versions.
20675
03af9520
RM
206762012-08-06 Roland McGrath <roland@hack.frob.com>
20677
8e49df1d
RM
20678 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
20679 Define alphasort64 as an alias.
20680 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
20681 Define versionsort64 as an alias.
20682 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
20683 Define scandir64 as an alias.
20684 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
20685 Define scandirat64 as an alias.
20686 * dirent/alphasort64.c (alphasort64):
20687 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
20688 * dirent/versionsort64.c: Likewise.
20689 * dirent/scandir64.c: Likewise.
20690 * dirent/scandirat64.c: Likewise.
20691 * sysdeps/wordsize-64/alphasort.c: File removed.
20692 * sysdeps/wordsize-64/alphasort64.c: File removed.
20693 * sysdeps/wordsize-64/scandir.c: File removed.
20694 * sysdeps/wordsize-64/scandir64.c: File removed.
20695 * sysdeps/wordsize-64/scandirat.c: File removed.
20696 * sysdeps/wordsize-64/scandirat64.c: File removed.
20697 * sysdeps/wordsize-64/versionsort.c: File removed.
20698 * sysdeps/wordsize-64/versionsort64.c: File removed.
20699 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
20700 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
20701 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
20702 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
20703 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
20704 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
20705 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
20706 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
20707
20708 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
20709 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20710 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
20711 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20712 [defined __arch64__ || defined __sparcv9]
20713 (__INO_T_MATCHES_INO64_T): New macro.
20714 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20715 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
20716 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
20717 * sysdeps/unix/sysv/linux/bits/dirent.h
20718 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
20719 (_DIRENT_MATCHES_DIRENT64): New macro.
20720
03af9520
RM
20721 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
20722 Define lockf64 as an alias.
20723 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
20724 Define fseeko64 as an alias.
20725 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
20726 Define ftello64 as an alias.
20727 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
20728 Define _IO_fgetpos64 and fgetpos64 as aliases.
20729 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
20730 Define _IO_fsetpos64 and fsetpos64 as aliases.
20731 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
20732 Conditionalize body on this.
20733 * libio/fseeko64.c: Likewise.
20734 * libio/ftello64.c: Likewise.
20735 * libio/iofgetpos64.c: Likewise.
20736 * libio/iofsetpos64.c: Likewise.
20737 * sysdeps/wordsize-64/lockf.c: File removed.
20738 * sysdeps/wordsize-64/lockf64.c: File removed.
20739 * sysdeps/wordsize-64/fseeko.c: File removed.
20740 * sysdeps/wordsize-64/fseeko64.c: File removed.
20741 * sysdeps/wordsize-64/ftello.c: File removed.
20742 * sysdeps/wordsize-64/ftello64.c: File removed.
20743 * sysdeps/wordsize-64/iofgetpos.c: File removed.
20744 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
20745 * sysdeps/wordsize-64/iofsetpos.c: File removed.
20746 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
20747 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
20748 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
20749 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
20750 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
20751 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
20752 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
20753 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
20754 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
20755 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
20756 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
20757
20758 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20759 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20760 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
20761 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20762 [defined __arch64__ || defined __sparcv9]
20763 (__OFF_T_MATCHES_OFF64_T): New macro.
20764 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20765 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20766 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20767 (__OFF_T_MATCHES_OFF64_T): New macro.
20768
c5757acd
L
207692012-08-06 H.J. Lu <hongjiu.lu@intel.com>
20770
20771 * stdlib/secure-getenv.c (__secure_getenv): Replace
20772 GLIBC_2_16 with GLIBC_2_17.
20773
3a31811e
L
207742012-08-06 H.J. Lu <hongjiu.lu@intel.com>
20775
20776 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
20777 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20778
faa2bccb
DM
207792012-08-03 David S. Miller <davem@davemloft.net>
20780
20781 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20782
85fe1997
JM
207832012-08-03 Joseph Myers <joseph@codesourcery.com>
20784
20785 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
20786 Remove.
20787 (__ASSUME_CORRECT_SI_PID): Likewise.
20788 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
20789 (__ASSUME_TMPFS_NAME): Likewise.
20790 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
20791 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
20792 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
20793 (HAVE_AUX_SECURE): Make definition unconditional.
20794 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
20795 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
20796
4f75b7a0
RM
207972012-08-03 Roland McGrath <roland@hack.frob.com>
20798
20799 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
20800 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
20801 * sysdeps/mach/hurd/eloop-threshold.h: New file.
20802 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
20803 __eloop_threshold instead of SYMLOOP_MAX.
20804
20805 * sysdeps/generic/eloop-threshold.h: New file.
20806 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
20807 of MAXSYMLINKS.
20808 * elf/chroot_canon.c (chroot_canon): Likewise.
20809
7aab07e4
JM
208102012-08-03 Joseph Myers <joseph@codesourcery.com>
20811
20812 [BZ #13717]
20813 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20814 Change to 2.6.0 everywhere.
20815 * sysdeps/unix/sysv/linux/configure: Regenerated.
20816 * sysdeps/unix/sysv/linux/kernel-features.h
20817 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
20818 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
20819 kernel versions.
20820 (__ASSUME_POSIX_TIMERS): Define unconditionally.
20821 (__ASSUME_FUTEX_REQUEUE): Remove.
20822 (__ASSUME_STATFS64): Define unconditionally.
20823 (__ASSUME_AT_SECURE): Likewise.
20824 (__ASSUME_CORRECT_SI_PID): Likewise.
20825 (__ASSUME_TGKILL): Define without depending on kernel version for
20826 i386.
20827 (__ASSUME_UTIMES): Likewise.
20828 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
20829 kernel version.
20830 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
20831 (__ASSUME_TMPFS_NAME): Likewise.
20832 * README: Update reference to Linux kernel versions.
20833
b67e9372
MP
208342012-08-02 Marek Polacek <polacek@redhat.com>
20835
1f529f7d 20836 [BZ# 14150]
b67e9372
MP
20837 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
20838 libc_cv_asm_type_prefix with %.
20839 * configure: Regenerated.
d2441631
RM
20840 * include/libc-symbols.h: Remove comment about
20841 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
20842 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
20843 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
20844 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
20845 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
20846 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20847 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
20848 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
20849 * elf/tst-unique2mod1.c: Likewise.
20850 * elf/tst-unique1mod2.c: Likewise.
20851 * elf/tst-unique1mod1.c: Likewise.
20852 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
20853 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
20854 Replace ASM_TYPE_DIRECTIVE with .type.
20855 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20856 * sysdeps/i386/sysdep.h: Likewise.
20857 * sysdeps/x86_64/sysdep.h: Likewise.
20858 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
20859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
20860 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 20861 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
20862 * sysdeps/powerpc/powerpc32/sysdep.h:
20863 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
20864 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
20865 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20866 * sysdeps/i386/fpu/e_powf.S: Likewise.
20867 * sysdeps/i386/fpu/e_expl.S: Likewise.
20868 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20869 * sysdeps/i386/fpu/e_acosh.S: Likewise.
20870 * sysdeps/i386/fpu/e_pow.S: Likewise.
20871 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20872 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20873 * sysdeps/i386/fpu/s_expm1.S: Likewise.
20874 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20875 * sysdeps/i386/fpu/e_log2.S: Likewise.
20876 * sysdeps/i386/fpu/e_log2l.S: Likewise.
20877 * sysdeps/i386/fpu/e_scalb.S: Likewise.
20878 * sysdeps/i386/fpu/e_powl.S: Likewise.
20879 * sysdeps/i386/fpu/e_log10f.S: Likewise.
20880 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20881 * sysdeps/i386/fpu/e_logl.S: Likewise.
20882 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20883 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20884 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20885 * sysdeps/i386/fpu/e_log2f.S: Likewise.
20886 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20887 * sysdeps/i386/fpu/e_log.S: Likewise.
20888 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20889 * sysdeps/i386/fpu/e_logf.S: Likewise.
20890 * sysdeps/i386/fpu/e_log10l.S: Likewise.
20891 * sysdeps/i386/fpu/e_atanh.S: Likewise.
20892 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20893 * sysdeps/i386/fpu/e_log10.S: Likewise.
20894 * sysdeps/i386/fpu/s_frexp.S: Likewise.
20895 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20896 * sysdeps/i386/fpu/s_asinh.S: Likewise.
20897 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20898 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20899 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
20900 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20901 * sysdeps/i386/i686/strtok.S: Likewise.
20902 * sysdeps/i386/i386-mcount.S: Likewise.
20903 * sysdeps/i386/strtok.S: Likewise.
20904 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
20905 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20906 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20907 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20908 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
20909 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20910 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20911 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20912 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20913 * sysdeps/x86_64/_mcount.S: Likewise.
20914 * sysdeps/x86_64/strtok.S: Likewise.
20915 * sysdeps/sh/_mcount.S: Likewise.
20916
2747bf9a
RM
209172012-08-01 Roland McGrath <roland@hack.frob.com>
20918
20919 * libio/iofopen.c: Include <fcntl.h>.
20920 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
20921 (_IO_fopen64, fopen64): Define as aliases.
20922 * libio/iofopen64.c: Include <fcntl.h>.
20923 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
20924 Conditionalize body on this.
20925 * sysdeps/wordsize-64/iofopen.c: File removed.
20926 * sysdeps/wordsize-64/iofopen64.c: File removed.
20927
3fb791b8
MP
209282012-08-01 Marek Polacek <polacek@redhat.com>
20929
20930 * libc/Makeconfig: Use elf in place of binfmt-subdir.
20931 Use dlfcn directly instead of a variable.
20932 (binfmt-subdir): Do not define.
20933 (dlfcn): Likewise.
20934
a9f1039f
JM
209352012-08-01 Joseph Myers <joseph@codesourcery.com>
20936
23bddc06
JM
20937 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
20938 Remove all definitions.
20939 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
20940 <kernel-features.h>.
20941 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20942 (miss_F_GETOWN_EX): Remove all definitions.
20943 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
20944 macro definition.
20945 [!__ASSUME_FCNTL64]: Remove conditional code.
20946 [__ASSUME_FCNTL64]: Make code unconditional.
20947 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
20948 <kernel-features.h>.
20949 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20950 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
20951 (lockf64) [__NR_fcntl64]: Make code unconditional.
20952 (lockf64) [__ASSUME_FCNTL64]: Likewise.
20953
a9f1039f
JM
20954 * sysdeps/unix/sysv/linux/kernel-features.h
20955 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
20956 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
20957 Make code unconditional.
20958 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20959 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
20961 [__NR_vfork]: Make code unconditional.
20962 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20963 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
20965 [__NR_vfork]: Make code unconditional.
20966 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20967 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20968
09c0ee5f
RM
209692012-08-01 Roland McGrath <roland@hack.frob.com>
20970
48aec5b9
RM
20971 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
20972 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
20973
cd97c966
RM
20974 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20975 Define mkstemp64 as an alias.
3f55550c
RM
20976 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20977 Define mkstemps64 as an alias.
cd97c966
RM
20978 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20979 Define mkostemp64 as an alias.
b8625cfc
RM
20980 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20981 Define mkostemps64 as an alias.
cd97c966
RM
20982 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
20983 Conditionalize body on this.
20984 * misc/mkostemp64.c: Likewise.
b8625cfc 20985 * misc/mkostemps64.c: Likewise.
3f55550c 20986 * misc/mkstemps64.c: Likewise.
cd97c966
RM
20987 * sysdeps/wordsize-64/mkstemp64.c: File removed.
20988 * sysdeps/wordsize-64/mkostemp64.c: File removed.
20989 * sysdeps/wordsize-64/mkostemp.c: File removed.
20990 * sysdeps/wordsize-64/mkstemp.c: File removed.
20991 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
20992 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
20993 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
20994 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
20995
09c0ee5f
RM
20996 [BZ #14138]
20997 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
20998 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
20999 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
21000 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
21001
21002 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
21003 compat_symbol macros from <shlib-compat.h> rather than the underlying
21004 default_symbol_version and symbol_version macros, so that DEFAULT
21005 lines in shlib-versions are respected.
21006 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
21007
7e66ee51
FW
210082012-08-01 Florian Weimer <fweimer@redhat.com>
21009
21010 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
21011 Declare with warn_unused_result.
21012 (setgid, setregid, setegid, setresgid): Likewise.
21013 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
21014 Likewise.
21015 * WUR-REPORT: Remove set*id functions.
21016
d2a54255
PT
210172012-07-31 Pino Toscano <toscano.pino@tiscali.it>
21018
21019 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
21020
7ecdb005
RM
210212012-07-31 Roland McGrath <roland@hack.frob.com>
21022
b4180a5e 21023 [BZ #10191]
789bd351
RM
21024 * include/sys/socket.h (__libc_accept, __libc_accept4):
21025 Add attribute_hidden.
21026 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
21027
40ce302d
RM
21028 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
21029 use of PTR_MANGLE.
21030 * inet/getnetgrent_r.c (setup): Likewise.
21031
7ecdb005
RM
21032 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
21033
e2eabb2c
DM
210342012-07-31 David S. Miller <davem@davemloft.net>
21035
21036 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21037
d0419dbf
JM
210382012-07-31 Joseph Myers <joseph@codesourcery.com>
21039
21040 [BZ #13629]
21041 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
21042 value between 1.0 and 2.0 and smaller part has absolute value less
21043 than 1.0.
21044 * math/s_clog10.c (__clog10): Likewise.
21045 * math/s_clog10f.c (__clog10f): Likewise.
21046 * math/s_clog10l.c (__clog10l): Likewise.
21047 * math/s_clogf.c (__clogf): Likewise.
21048 * math/s_clogl.c (__clogl): Likewise.
21049 * math/libm-test.inc (clog_test): Add more tests.
21050 (clog10_test): Likewise.
21051 * sysdeps/i386/fpu/libm-test-ulps: Update.
21052 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21053
2bc13872
FW
210542012-07-31 Florian Weimer <fweimer@redhat.com>
21055
21056 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
21057 Exit with zero in case no suitable GID is found, and write a
21058 message to standard error.
21059
bea9b193
RM
210602012-07-30 Roland McGrath <roland@hack.frob.com>
21061
21062 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
21063 rather than to 1.
21064 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
21065 (MAXPATHLEN): Removed.
21066 (NOGROUP, NODEV): New macros.
21067 (setbit, clrbit, isset, isclr): New macros.
21068 (howmany, roundup, powerof2): New macros.
21069 (DEV_BSIZE): New macro.
21070
21071 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
21072 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
21073
21074 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
21075 definition on [!__NO_LONG_DOUBLE_MATH].
21076
21077 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
21078 PTR_MANGLE and PTR_DEMANGLE.
21079
21080 * socket/accept4.c (accept4): Rename to __libc_accept4.
21081 Define accept4 as a weak alias.
21082
21083 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
21084 on [_DIRENT_HAVE_D_TYPE].
21085 * io/ftw.c (ftw_dir): Likewise.
21086
21087 * io/xmknod.c (__xmknod): Don't check PATH for being null.
21088
21089 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
21090
21091 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
21092 Use the BSD numbers rather than the arbitrary ones we had.
21093 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
21094 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
21095 (SIGXCPU, SIGXFSZ): New macros.
21096 (_NSIG): Now 32.
21097
21098 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
21099 initializer on [_LIBC_REENTRANT].
21100
21101 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
21102 definitions inside [_POSIX_MAPPED_FILES].
21103
21104 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
21105
21106 * dirent/opendir.c: Include <fcntl.h>.
21107
21108 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
21109 (__libc_getspecific): Likewise.
21110 (__libc_key_create): Likewise.
21111
21112 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
21113 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
21114 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
21115 (tmpfile64): Define as alias.
21116 * sysdeps/wordsize-64/tmpfile.c: File removed.
21117 * sysdeps/wordsize-64/tmpfile64.c: File removed.
21118 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
21119 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
21120
21121 * stdio-common/vfscanf.c: Include <stdbool.h>.
21122 * nss/makedb.c: Likewise.
21123 * stdio-common/_i18n_number.h: Likewise.
21124 * argp/argp-help.c: Likewise.
21125 * posix/wordexp.c: Likewise.
21126 * sysdeps/posix/spawni.c: Likewise.
21127 * nss/nss_files/files-initgroups.c: Likewise.
21128 * stdio-common/reg-modifier.c: Include <stdlib.h>.
21129 * nss/nss_files/files-initgroups.c: Likewise.
21130 * nss/nss_db/db-netgrp.c: Likewise.
21131 * nss/nss_db/db-initgroups.c: Likewise.
21132 * io/fchmodat.c: Include <sys/stat.h>.
21133
21134 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
21135 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
21136
21137 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
21138 [HAVE_MMAP].
21139
21140 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
21141 Add multiple inclusion protection.
21142
e5abc686
DM
211432012-07-27 David S. Miller <davem@davemloft.net>
21144
21145 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21146
815e6fa3
GB
211472012-07-27 Gary Benson <gbenson@redhat.com>
21148
21149 [BZ #14298]
21150 * elf/rtld.c: Include <stap-probe.h>.
21151 (dl_main): Added static probes "init_start" and "init_complete".
21152 * elf/dl-load.c: Include <stap-probe.h>.
21153 (lose): Take new parameter "nsid".
21154 Added static probe "map_failed".
21155 (_dl_map_object_from_fd): Pass namespace id to lose.
21156 Added static probe "map_start".
21157 (open_verify): Pass namespace id to lose.
21158 * elf/dl-open.c: Include <stap-probe.h>.
21159 (dl_open_worker) Added static probes "map_complete", "reloc_start"
21160 and "reloc_complete".
21161 * elf/dl-close.c: Include <stap-probe.h>.
21162 (_dl_close_worker): Added static probes "unmap_start" and
21163 "unmap_complete".
21164 * elf/rtld-debugger-interface.txt: New file documenting the above.
21165
9f98c16c
RM
211662012-07-26 Roland McGrath <roland@hack.frob.com>
21167
21168 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
21169 rather than a string variable.
21170 * sunrpc/rpc_main.c (h_output): Likewise.
21171 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
21172
f3c22df3
PT
211732012-07-26 Pino Toscano <toscano.pino@tiscali.it>
21174
21175 * inet/check_native.c: New file.
21176
3129cfc6
JM
211772012-07-26 Joseph Myers <joseph@codesourcery.com>
21178
da865e95
JM
21179 [BZ #13629]
21180 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
21181 if larger part has absolute value 1.0.
21182 * math/s_clog10.c (__clog10): Likewise.
21183 * math/s_clog10f.c (__clog10f): Likewise.
21184 * math/s_clog10l.c (__clog10l): Likewise.
21185 * math/s_clogf.c (__clogf): Likewise.
21186 * math/s_clogl.c (__clogl): Likewise.
21187 * math/libm-test.inc (clog_test): Add more tests.
21188 (clog10_test): Likewise.
21189 * sysdeps/i386/fpu/libm-test-ulps: Update.
21190 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21191
3129cfc6
JM
21192 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
21193 (pltexit): Likewise.
21194 (La_regs): Likewise.
21195 (La_retval): Likewise.
21196 (int_retval): Likewise.
21197 Update #error for removed macros to refer only to definitions in
21198 tst-audit.h.
21199 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
21200 macro.
21201 (pltexit): Likewise.
21202 (La_regs): Likewise.
21203 (La_retval): Likewise.
21204 (int_retval): Likewise.
21205 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
21206 macro.
21207 (pltexit): Likewise.
21208 (La_regs): Likewise.
21209 (La_retval): Likewise.
21210 (int_retval): Likewise.
21211 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
21212 macro.
21213 (pltexit): Likewise.
21214 (La_regs): Likewise.
21215 (La_retval): Likewise.
21216 (int_retval): Likewise.
21217 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
21218 macro.
21219 (pltexit): Likewise.
21220 (La_regs): Likewise.
21221 (La_retval): Likewise.
21222 (int_retval): Likewise.
21223 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
21224 macro.
21225 (pltexit): Likewise.
21226 (La_regs): Likewise.
21227 (La_retval): Likewise.
21228 (int_retval): Likewise.
21229 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
21230 macro.
21231 (pltexit): Likewise.
21232 (La_regs): Likewise.
21233 (La_retval): Likewise.
21234 (int_retval): Likewise.
21235 * sysdeps/generic/tst-audit.h: Update comment to refer only to
21236 macro definitions in tst-audit.h.
21237 * sysdeps/i386/tst-audit.h: New file.
21238 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
21239 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
21240 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
21241 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
21242 * sysdeps/sh/tst-audit.h: Likewise.
21243 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
21244 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
21245 * sysdeps/x86_64/tst-audit.h: Likewise.
21246
bfc07087
AJ
212472012-07-26 Andreas Jaeger <aj@suse.de>
21248
b1b2aaf8
AJ
21249 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
21250 ptrace.
21251
21252 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
21253 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
21254 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
21255 PTRACE_O_MASK.
21256 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
21257 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
21258 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
21259
bfc07087
AJ
21260 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
21261 value.
21262
21263 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
21264 _sigsys.
21265 (si_call_addr, si_syscall, si_arch): Define new macro.
21266 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
21267 _sigsys.
21268 (si_call_addr, si_syscall, si_arch): Define new marcro.
21269 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
21270 _sigsys.
21271 (si_call_addr, si_syscall, si_arch): Define new macro.
21272 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
21273 _sigsys.
21274 (si_call_addr, si_syscall, si_arch): Define new macro.
21275
89b4b02f
JM
212762012-07-25 Joseph Myers <joseph@codesourcery.com>
21277
21278 [BZ #13717]
21279 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21280 Change to 2.4.21 where previously 2.4.1.
21281 * sysdeps/unix/sysv/linux/configure: Regenerated.
21282 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
21283 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
21284 Linux kernel version.
21285 (__ASSUME_STD_AUXV): Remove.
21286 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
21287 kernel version.
21288 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
21289 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
21290 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
21291 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
21292 (__ASSUME_NETLINK_SUPPORT): Likewise.
21293 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
21294 (__no_netlink_support): Remove conditional definition.
21295 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
21296 Remove.
21297 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
21298 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
21299 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
21300 (if_nameindex_ioctl): Remove.
21301 (if_nameindex_netlink): Do not handle __no_netlink_support.
21302 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
21303 code.
21304 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
21305 Remove conditional code.
21306 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
21307 code.
21308 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
21309 unconditional.
21310 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
21311 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
21312 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
21313 Remove.
21314 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
21315 [!__ASSUME_STD_AUXV]: Remove conditional code.
21316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
21317 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
21318 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
21319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
21320 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
21321 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
21322 code.
21323 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
21324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21325 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
21326 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
21327 conditional code.
21328 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
21329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
21330 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
21331 code.
21332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21333 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
21334 conditional code.
21335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
21336 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21337 code unconditional.
21338 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21339 conditional code.
21340 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21341 unconditional.
21342 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21343 conditional code.
21344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21345 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21346 unconditional.
21347 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21348 conditional code.
21349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
21350 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21351 code unconditional.
21352 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21353 conditional code.
21354 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21355 unconditional.
21356 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21357 conditional code.
21358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
21359 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21360 code unconditional.
21361 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21362 conditional code.
21363 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21364 unconditional.
21365 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21366 conditional code.
21367
842a39cd
AS
213682012-07-25 Andreas Schwab <schwab@linux-m68k.org>
21369
21370 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
21371 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
21372 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
21373 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
21374 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
21375 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
21376 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
21377 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
21378 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
21379 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
21380 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
21381 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
21382 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
21383 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
21384 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
21385 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
21386 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
21387 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
21388 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
21389 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
21390 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
21391 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
21392 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
21393
84b3fd84
FW
213942012-07-25 Florian Weimer <fweimer@redhat.com>
21395
21396 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
21397 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
21398 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
21399 Introduce __libc_secure_getenv.
0c7936d5
FW
21400 * stdlib/Versions (2.17): Add secure_getenv
21401 (GLIBC_PRIVATE): Add __libc_secure_getenv.
21402 * stdlib/secure-getenv.c: Rename __secure_getenv to
21403 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
21404 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
21405 * stdlib/tst-secure-getenv.c: New.
21406 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
21407 * manual/startup.texi (Environment Access): Document
21408 secure_getenv.
84b3fd84
FW
21409 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
21410 __libc_secure_getenv.
21411 * inet/ruserpass.c (ruserpass): Likewise.
21412 * malloc/mtrace.c (mtrace): Likewise.
21413 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 21414 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
21415 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
21416 * sysdeps/posix/tempname.c: Likewise. Evaluate
21417 HAVE_SECURE_GETENV.
21418 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 21419 __secure_getenv to __libc_secure_getenv.
84b3fd84 21420 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
21421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21422 Likewise.
21423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21424 Likewise.
21425 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
21426 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
21427 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21428 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
21429 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
21430 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21431 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 21432
56e49b71
JM
214332012-07-25 Joseph Myers <joseph@codesourcery.com>
21434
21435 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
21436 (struct La_i86_retval): Likewise.
21437 (struct La_x86_64_regs): Likewise.
21438 (struct La_x86_64_retval): Likewise.
21439 (struct La_x32_regs): Likewise.
21440 (struct La_x32_retval): Likewise.
21441 (struct La_ppc32_regs): Likewise.
21442 (struct La_ppc32_retval): Likewise.
21443 (struct La_ppc64_regs): Likewise.
21444 (struct La_ppc64_retval): Likewise.
21445 (struct La_sh_regs): Likewise.
21446 (struct La_sh_retval): Likewise.
21447 (struct La_s390_32_regs): Likewise.
21448 (struct La_s390_32_retval): Likewise.
21449 (struct La_s390_64_regs): Likewise.
21450 (struct La_s390_64_retval): Likewise.
21451 (struct La_sparc32_regs): Likewise.
21452 (struct La_sparc32_retval): Likewise.
21453 (struct La_sparc64_regs): Likewise.
21454 (struct La_sparc64_retval): Likewise.
21455 (struct audit_ifaces): Remove architecture-specific pltenter and
21456 pltexit members.
21457 * sysdeps/i386/ldsodefs.h: New file.
21458 * sysdeps/powerpc/ldsodefs.h: Likewise.
21459 * sysdeps/s390/ldsodefs.h: Likewise.
21460 * sysdeps/sh/ldsodefs.h: Likewise.
21461 * sysdeps/sparc/ldsodefs.h: Likewise.
21462 * sysdeps/x86_64/ldsodefs.h: Likewise.
21463
354691b7
MP
214642012-07-25 Marek Polacek <polacek@redhat.com>
21465
21466 [BZ #6808]
21467 * math/libm-test.inc (yn_test): Add another test.
21468 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
21469 to ERANGE when the result is +-Inf.
21470 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
21471 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
21472 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
21473 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
21474
bf9e2071
JM
214752012-07-24 Joseph Myers <joseph@codesourcery.com>
21476
21477 * conform/data/time.h-data (NULL): Use macro-constant. Require
21478 equal to 0.
21479 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
21480 clock_t.
21481 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
21482
57633811
TS
214832012-07-23 Thomas Schwinge <thomas@codesourcery.com>
21484
21485 * configure.in <sysdeps resolving>: Correct printing
21486 Implies_before.
21487 * configure: Regenerate.
21488
c23c33b0
TS
214892012-07-22 Thomas Schwinge <thomas@codesourcery.com>
21490
21491 * math/w_ilogb.c: Include <limits.h>.
21492 * math/w_ilogbl.c: Likewise.
21493
b5982523
JM
214942012-07-20 Joseph Myers <joseph@codesourcery.com>
21495
21496 * manual/lang.texi (__va_copy): Document primarily as ISO C99
21497 va_copy. Document allowing for unavailable va_copy only as
21498 pre-C99 compatibility.
21499 * manual/string.texi (Copying and Concatenation): Use va_copy
21500 instead of __va_copy in concat example.
21501
ac4ea442
PT
215022012-07-20 Pino Toscano <toscano.pino@tiscali.it>
21503
21504 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
21505 (__sendto): Use create_address_port. Initialize APORT and deallocate
21506 it if not null.
21507
f98eafbd
PT
21508 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
21509 with O_NOLINK passed to __file_name_lookup.
21510
898c7aab
PT
21511 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
21512 with O_NOLINK passed to __file_name_lookup.
21513
0ced335a
PT
21514 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
21515 negative N or less than NGIDS.
21516
b3404dbd
PT
21517 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
21518 type to string_t. Set ERANGE as errno and return it if NAME is not big
21519 enough. Use memcpy instead of strncpy.
21520
0f48659e
JM
215212012-07-20 Joseph Myers <joseph@codesourcery.com>
21522
21523 * elf/Makefile (check-data): Remove.
21524 (localplt.data): New vpath directive.
21525 ($(objpfx)check-localplt.out): Use localplt.data from vpath
21526 instead of $(check-data).
21527 * scripts/data/localplt-generic.data: Move to ...
21528 * sysdeps/generic/localplt.data: ... here.
21529 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
21530 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
21531 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
21532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
21533 ... here.
21534 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
21535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
21536 ... here.
21537 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
21538 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
21539 ... here.
21540 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
21541 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
21542 ... here.
21543 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
21544 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
21545 ... here.
21546 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
21547 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
21548 ... here.
21549
d37cbdaa
AZ
215502012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21551
21552 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
21553 PPC32 and PPC64 files.
21554 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
21555 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
21556
46f85fc2
AK
215572012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21558
21559 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
21560 __makecontext_ret to ...
21561 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
21562 ... here and call exit if uc_link is NULL. New file.
21563 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
21564 __makecontext_ret.S.
21565 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
21566 __makecontext_ret to ...
21567 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
21568 ... here and call exit if uc_link is NULL. New file.
21569 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
21570 __makecontext_ret.S.
21571
08f43f9b
AK
215722012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21573
21574 * elf/elf.h (R_390_IRELATIVE): New definition.
21575 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
21576 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
21577 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
21578 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
21579 (elf_machine_lazy_rel): Likewise.
21580 * sysdeps/s390/dl-irel.h: New file.
21581 * sysdeps/s390/s390-64/memcpy.S: New asm code.
21582 * sysdeps/s390/s390-64/memset.S: New asm code.
21583 * sysdeps/s390/s390-64/memcmp.S: New asm code.
21584 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
21585 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
21586 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
21587 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
21588 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
21589 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
21590 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
21591 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
21592 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
21593 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
21594 * sysdeps/s390/s390-32/memcpy.S: New asm code.
21595 * sysdeps/s390/s390-32/memset.S: New asm code.
21596 * sysdeps/s390/s390-32/memcmp.S: New asm code.
21597
3b05db33
MP
215982012-07-17 Marek Polacek <polacek@redhat.com>
21599
21600 [BZ #14349]
21601 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
21602 * sysdeps/s390/s390-64/configure.in: Likewise.
21603 * sysdeps/sparc/configure.in: Likewise.
21604 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
21605 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
21606 * sysdeps/i386/configure.in: Likewise.
21607 * sysdeps/x86_64/configure.in: Likewise.
21608 * sysdeps/sh/configure.in: Likewise.
21609 * sysdeps/s390/s390-32/configure: Regenerated.
21610 * sysdeps/s390/s390-64/configure: Likewise.
21611 * sysdeps/x86_64/configure: Likewise.
21612 * sysdeps/sh/configure: Likewise.
21613 * sysdeps/powerpc/powerpc64/configure: Likewise.
21614 * sysdeps/powerpc/powerpc32/configure: Likewise.
21615 * sysdeps/sparc/configure: Likwise.
21616 * sysdeps/i386/configure: Likewise.
21617
a66877c6
MP
21618 * elf/dl-open.c: Comment fixes.
21619
cfc82fd8
JM
216202012-07-17 Joseph Myers <joseph@codesourcery.com>
21621
bd29910a
JM
21622 * Makefile [CXX] (check-data): Remove.
21623 [CXX] (c++-types.data): New vpath directive.
21624 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
21625 vpath. Do not allow for C++ type data being missing.
21626 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
21627 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
21628 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
21629 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
21630 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
21631 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
21632 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
21633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
21634 ... here.
21635 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
21636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
21637 ... here.
21638 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
21639 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
21640 ... here.
21641 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
21642 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
21643 ... here.
21644 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
21645 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
21646 ... here.
21647 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
21648 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
21649 ... here.
21650 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
21651 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
21652 ... here.
21653 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
21654 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
21655
cfc82fd8
JM
21656 * elf/tls-macros.h (TLS_LE): Move architecture-specific
21657 definitions to architecture-specific files.
21658 (TLS_IE): Likewise.
21659 (TLS_LD): Likewise.
21660 (TLS_GD): Likewise.
21661 * sysdeps/i386/tls-macros.h: New file.
21662 * sysdeps/powerpc/tls-macros.h: Likewise.
21663 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
21664 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
21665 * sysdeps/sh/tls-macros.h: Likewise.
21666 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
21667 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
21668 * sysdeps/x86_64/tls-macros.h: Likewise.
21669
f7db3170
TS
216702012-07-17 Thomas Schwinge <thomas@codesourcery.com>
21671
07cbfc23
TS
21672 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
21673 zero value for regular exit case.
21674
f7db3170
TS
21675 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
21676 (__start_context): Preserve zero value for regular exit case.
21677
dc97c227
TS
216782012-07-17 Thomas Schwinge <thomas@codesourcery.com>
21679 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21680
21681 * manual/setjmp.texi (setcontext): Clarify normal process
21682 termination when uc_link is the null pointer.
21683 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
21684 exit call.
21685
d0cd7d02
AS
216862012-07-16 Andreas Schwab <schwab@linux-m68k.org>
21687
21688 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
21689 preprocessor. Test for each exception mask separately.
21690
dd318934
AJ
216912012-07-16 Andreas Jaeger <aj@suse.de>
21692
21693 * po/ru.po: Update from translation team.
21694
8048311a
JM
216952012-07-15 Joseph Myers <joseph@codesourcery.com>
21696
21697 * conform/data/string.h-data (NULL): Use macro-constant. Require
21698 equal to 0.
21699 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
21700 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
21701 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
21702 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
21703 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21704
b637d46e
AJ
217052012-07-13 Andreas Jaeger <aj@suse.de>
21706
21707 * po/fr.po: Update from translation team.
21708
541428fe
MP
217092012-07-12 Marek Polacek <polacek@redhat.com>
21710
21711 [BZ #14173]
21712 * math/libm-test.inc (yn_test): Add test for BZ #14173.
21713 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
21714 loop condition.
21715
ec332e94
JM
217162012-07-12 Joseph Myers <joseph@codesourcery.com>
21717
21718 [BZ #13717]
21719 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21720 Change to 2.4.1 where previously 2.4.0.
21721 * sysdeps/unix/sysv/linux/configure: Regenerated.
21722 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
21723 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
21724 version.
21725 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
21726 (__ASSUME_AT_CLKTCK): Remove.
21727 (__ASSUME_AT_PAGESIZE): Likewise.
21728 (__ASSUME_AT_XID): Likewise.
21729 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
21730 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
21731 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
21732 unconditionally.
21733 (HAVE_AUX_PAGESIZE): Likewise.
21734 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
21735 [__ASSUME_AT_CLKTCK]: Make code unconditional.
21736 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
21737
7b6e99be
JB
217382012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
21739
21740 [BZ #14307]
21741 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
21742 the temporary buffer used to invoke __gethostbyname2_r,
21743 __gethostbyaddr_r and gethostbyname4_r to make room for struct
21744 host_data / struct gaih_addrtuple.
21745 * resolv/nss_dns/dns-host.c (global scope): Move definition of
21746 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
21747 header file nss/nsswitch.h.
21748 * nss/nsswitch.h (global scope): Add definition of implementation
21749 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
21750 resolv/nss_dns/dns-host.c).
21751
608404eb
AJ
217522012-07-11 Andreas Jaeger <aj@suse.de>
21753
21754 * po/fr.po: Update from translation team.
21755
71220aca
AJ
21756 * po/sv.po: Update from translation team
21757 * po/fr.po: Another update from translation team.
21758
28cfe843
AZ
217592012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21760
21761 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
21762 for subnormals or multiply small sinh result by itself.
21763 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21764 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21765
6b90f981
DM
217662012-07-11 David S. Miller <davem@davemloft.net>
21767
21768 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21769
c6825772
AS
217702012-07-10 Andreas Schwab <schwab@linux-m68k.org>
21771
21772 [BZ #14347]
21773 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
21774 (INTERNAL_MARK): Shift it here.
21775
7b8e0d49
MP
217762012-07-10 Marek Polacek <polacek@redhat.com>
21777
21778 [BZ #14151]
21779 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
21780 libc_cv_asm_global_directive with .globl.
21781 * configure: Regenerated.
21782 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
21783 with .globl.
21784 * sysdeps/i386/configure: Regenerated.
21785 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
21786 with .globl.
21787 * sysdeps/x86_64/configure: Regenerated.
21788 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
21789 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
21790 * elf/tst-unique2mod2.c: Likewise.
21791 * elf/tst-unique2mod1.c: Likewise.
21792 * elf/tst-unique1mod2.c: Likewise.
21793 * elf/tst-unique1mod1.c: Likewise.
21794 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21795 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
21796 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21797 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21798 * sysdeps/mach/sysdep.h: Likewise.
21799 * sysdeps/i386/sysdep.h: Likewise.
21800 * sysdeps/i386/i386-mcount.S: Likewise.
21801 * sysdeps/x86_64/_mcount.S: Likewise.
21802 * sysdeps/x86_64/sysdep.h: Likewise.
21803 * sysdeps/sh/_mcount.S: Likewise.
21804 * sysdeps/sh/sysdep.h: Likewise.
21805 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
21806 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
21807 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
21808 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21809 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
21810 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
21811 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
21812 * locale/localeinfo.h: Likewise.
21813 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
21814 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
21815
6c55cda3
RM
218162012-07-09 Roland McGrath <roland@hack.frob.com>
21817
21818 [BZ #14336]
21819 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
21820 system".
21821 * manual/message.texi (The Uniforum approach): Likewise.
21822 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
21823 (glibc iconv Implementation): Likewise.
21824
638a572e
JM
218252012-07-09 Joseph Myers <joseph@codesourcery.com>
21826
21827 [BZ #14337]
21828 * math/s_clog.c (__clog): Avoid scaling a value down where that
21829 could result in underflow.
21830 * math/s_clog10.c (__clog10): Likewise.
21831 * math/s_clog10f.c (__clog10f): Likewise.
21832 * math/s_clog10l.c (__clog10l): Likewise.
21833 * math/s_clogf.c (__clogf): Likewise.
21834 * math/s_clogl.c (__clogl): Likewise.
21835 * math/libm-test.inc (clog_test): Add more tests.
21836 (clog10_test): Likewise.
21837 * sysdeps/i386/fpu/libm-test-ulps: Update.
21838 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21839
261f4859
AS
218402012-07-06 Andreas Schwab <schwab@linux-m68k.org>
21841
0abaf3e4
AS
21842 [BZ #14283]
21843 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
21844 by 7 not 8 to examine high bit of fractional part.
21845
261f4859
AS
21846 [BZ #14042]
21847 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
21848 for call to __mcount_internal.
21849 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
21850 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
21851 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
21852
f17ac40d
JM
218532012-07-06 Joseph Myers <joseph@codesourcery.com>
21854
9ad63c23
JM
21855 [BZ #14154]
21856 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
21857 approximation for values within 0x1p-13f of an odd multiple of
21858 pi/4.
21859 * math/libm-test.inc (tan_test): Do not allow spurious underflow
21860 exception. Add more tests.
21861 * sysdeps/i386/fpu/libm-test-ulps: Update.
21862
f17ac40d
JM
21863 [BZ #6778]
21864 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
21865 inputs and return -1 for them. Do not check for +Inf in case not
21866 reachable for +Inf.
21867 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
21868 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
21869 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21870 and return -1 for them. Do not check for +Inf in case not
21871 reachable for +Inf.
21872 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
21873 define.
21874 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21875 and return -1 for them. Do not check for +Inf in case not
21876 reachable for +Inf.
21877 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
21878 spurious underflow.
21879 * sysdeps/i386/fpu/libm-test-ulps: Update.
21880 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21881
fb21f89b
MF
218822012-07-06 Mike Frysinger <vapier@gentoo.org>
21883
21884 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
21885
cdfe2c5e
JM
218862012-07-05 Joseph Myers <joseph@codesourcery.com>
21887
21888 [BZ #14157]
21889 [BZ #14331]
21890 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
21891 could result in spurious underflow. Scale down values above
21892 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
21893 * math/s_csqrtf.c (__csqrtf): Likewise.
21894 * math/s_csqrtl.c (__csqrtl): Likewise.
21895 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
21896 spurious underflow.
21897 * sysdeps/i386/fpu/libm-test-ulps: Update.
21898 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21899
70d35b67
AS
219002012-07-04 Andreas Schwab <schwab@linux-m68k.org>
21901
704bc459
AS
21902 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
21903 xopen-msg.sed.
21904 * catgets/xopen-msg.awk: New file.
21905 * catgets/xopen-msg.sed: Removed.
21906
70d35b67
AS
21907 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
21908 po2text.sed.
21909 * intl/po2test.awk: New file.
21910 * intl/po2test.sed: Removed.
21911
ca61cf32
JM
219122012-07-04 Joseph Myers <joseph@codesourcery.com>
21913
21914 [BZ #14328]
21915 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
21916 or multiply small sinh result by itself.
21917 * math/s_ctanf.c (__ctanf): Likewise.
21918 * math/s_ctanh.c (__ctanh): Likewise.
21919 * math/s_ctanhf.c (__ctanhf): Likewise.
21920 * math/s_ctanhl.c (__ctanhl): Likewise.
21921 * math/s_ctanl.c (__ctanl): Likewise.
21922 * math/libm-test.inc (ctan_test_tonearest): New function.
21923 (ctan_test_towardzero): Likewise.
21924 (ctan_test_downward): Likewise.
21925 (ctan_test_upward): Likewise.
21926 (ctanh_test_tonearest): Likewise.
21927 (ctanh_test_towardzero): Likewise.
21928 (ctanh_test_downward): Likewise.
21929 (ctanh_test_upward): Likewise.
21930 (main): Call these new functions.
21931 * sysdeps/i386/fpu/libm-test-ulps: Update.
21932 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21933
ca48a46a
MF
219342012-07-03 Mike Frysinger <vapier@gentoo.org>
21935
21936 * .gitignore: Delete /ports entry.
21937
9d63d37d
AJ
219382012-07-03 Andreas Jaeger <aj@suse.de>
21939
21940 * po/bg.po: Update from translation team.
21941 * po/cs.po: Likewise.
21942 * po/de.po: Likewise.
21943 * po/hr.po: Likewise.
21944 * po/nl.pl: Likewise.
21945 * po/pl.po: Likewise.
21946 * po/vi.po: Likewise.
21947
370ca3d2
JM
219482012-07-03 Joseph Myers <joseph@codesourcery.com>
21949
95f5a9a8
JM
21950 * Makeconfig [!+link] (+link-before-libc): New variable.
21951 [!+link] (+link-after-libc): Likewise.
21952 [!+link] (+link-tests): Likewise.
21953 [!+link] (+link): Define in terms of $(+link-before-libc) and
21954 $(+link-after-libc).
21955 [!+link-static] (+link-static-before-libc): New variable.
21956 [!+link-static] (+link-static-after-libc): Likewise.
21957 [!+link-static] (+link-static-tests): Likewise.
21958 [!+link-static] (+link-static): Define in terms of
21959 $(+link-static-before-libc) and $(+link-static-after-libc).
21960 [build-shared] (link-libc-before-gnulib): New variable.
21961 [build-shared] (link-libc-tests): Likewise.
21962 [build-shared] (link-libc): Define in terms of
21963 $(link-libc-before-gnulib).
21964 [!build-shared] (link-libc-tests): New variable.
21965 (link-libc-static-tests): New variable.
21966 [!gnulib] (gnulib-arch): New variable.
21967 [!gnulib] (gnulib-tests): Likewise.
21968 [!gnulib] (static-gnulib-arch): Likewise.
21969 [!gnulib] (static-gnulib-tests): Likewise.
21970 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
21971 Define with "=" instead of ":=".
21972 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
21973 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
21974 * Rules (binaries-all-notests): New variable.
21975 (binaries-all-tests): Likewise.
21976 (binaries-static-notests): Likewise.
21977 (binaries-static-tests): Likewise.
21978 (binaries-all): Define using $(binaries-all-notests) and
21979 $(binaries-all-tests).
21980 (binaries-static): Define using $(binaries-static-notests) and
21981 $(binaries-static-tests).
21982 (binaries-shared-tests): New variable.
21983 (binaries-shared-notests): Likewise.
21984 (binaries-shared): Remove variable.
21985 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
21986 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
21987 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
21988 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
21989 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
21990 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
21991 * elf/Makefile (sln-modules): New variable.
21992 (extra-objs): Add $(sln-modules:=.o).
21993 (ldconfig-modules): Add static-stubs.
21994 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
21995 * elf/static-stubs.c: New file.
21996
7a845b2c
JM
21997 [BZ #14283]
21998 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
21999 by 7 not 8 to examine high bit of fractional part. Use volatile
22000 variables when splitting into final array of floats if
22001 __FLT_EVAL_METHOD__ != 0.
22002 * math/libm-test.inc (cos_test): Add another test.
22003 (sin_test): Likewise.
22004 * sysdeps/i386/fpu/libm-test-ulps: Update.
22005
e2283f38
JM
22006 [BZ #14273]
22007 * math/libm-test.inc (cosh_test): Add more tests.
22008
370ca3d2
JM
22009 * version.h (RELEASE): Set to "development".
22010 (VERSION): Set to "2.16.90".
22011
ee9247c3
CD
220122012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
22013
22014 * NEWS: Update copyright. Remove last-updated date.
22015 Mention math library bug fixes and timezone data changes.
22016 * README: Mention GNU/Hurd, x32, and HPPA support status.
22017
4648c381
TS
220182012-06-28 Thomas Schwinge <thomas@codesourcery.com>
22019
22020 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
22021
aac78a43
AJ
220222012-06-27 Andreas Jaeger <aj@suse.de>
22023
22024 * manual/contrib.texi (Contributors): Add Samuel Thibault.
22025
ed3dbfad
AJ
220262012-06-25 Andreas Jaeger <aj@suse.de>
22027
22028 * sysdeps/s390/fpu/libm-test-ulps: Update.
22029
4d0ee855
AS
220302012-06-23 Andreas Schwab <schwab@linux-m68k.org>
22031 Thomas Schwinge <thomas@codesourcery.com>
22032
22033 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
22034 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
22035 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
22036 fanotify_mark.
22037
af1bce34
TS
220382012-06-23 Thomas Schwinge <thomas@codesourcery.com>
22039
a9fa33ba
TS
22040 * sysdeps/mach/start.c: Remove file.
22041 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
22042 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
22043 * sysdeps/sh/init-first.c: Likewise.
22044
58f902b8
TS
22045 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
22046 registers for frame unwinding purposes, add CFI directives.
22047 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
22048 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
22049 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
22050 Likewise.
22051
1518f58b
TS
22052 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
22053 __fortify_fail returning.
22054 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
22055
db9b5059
TS
22056 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
22057 sysdeps/sh/____longjmp_chk.S.
22058 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
22059 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
22060 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
22061 (gen-as-const-headers): Append sigaltstack-offsets.sym.
22062
967705fe
TS
22063 * sysdeps/sh/abort-instr.h: New file.
22064 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
22065 process in case exit returns.
22066
a9def8c4
TS
22067 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
22068 initialize the GOT register before use.
22069
2a649725
TS
22070 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
22071 calculation of ARGC > 4.
22072
af1bce34
TS
22073 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
22074 meaningful names to some local labels.
22075
d230f50a
KK
220762012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22077 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22078
22079 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
22080 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
22081 (__arch_compare_and_exchange_val_16_acq): Likewise.
22082 (__arch_compare_and_exchange_val_32_acq): Likewise.
22083 (atomic_exchange_and_add): Fix gUSA sequence.
22084 (atomic_add): Likewise.
22085 (atomic_add_negative): Likewise.
22086 (atomic_add_zero): Likewise.
22087 (atomic_bit_test_set): Likewise.
22088
0479b305
AS
220892012-06-22 Andreas Schwab <schwab@redhat.com>
22090
22091 [BZ #13579]
22092 * include/link.h (struct link_map): Add l_free_initfini.
22093 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
22094 l_initfini.
22095 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
22096 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
22097 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
22098 set.
22099
0e3933b9
CD
221002012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
22101
22102 * configure.in: Use AC_LANG_SOURCE.
22103 * configure: Regenerate.
22104
4248b1b1
RM
221052012-06-22 Roland McGrath <roland@hack.frob.com>
22106
22107 * configure.in (libc_cv_localstatedir): New substituted variable.
22108 * configure: Regenerated.
22109 * config.make.in (localstatedir): New variable, substituted from
22110 libc_cv_localstatedir.
22111 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
22112 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
22113 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
22114 * sysdeps/gnu/configure: Regenerated.
22115
006dd861
JL
221162012-06-21 Jeff Law <law@redhat.com>
22117
22118 [BZ #14277]
22119 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
22120 free. Simplify list management for _LIBC case.
22121
79662d42
JM
221222012-06-21 Joseph Myers <joseph@codesourcery.com>
22123
b7abb4bf
JM
22124 [BZ #14273]
22125 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
22126 Clear sign bit of 64-bit integer value before comparing against
22127 overflow value.
22128
79662d42
JM
22129 * sysdeps/mach/configure: Regenerated.
22130
1f150908
L
221312012-06-21 H.J. Lu <hongjiu.lu@intel.com>
22132
22133 [BZ #14278]
22134 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
22135
28363bbf
JL
221362012-06-21 Jeff Law <law@redhat.com>
22137
22138 [BZ #13882]
22139 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
22140 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 22141 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
22142 * elf/dl-open.c (dl_open_worker): Likewise.
22143
09615db4
CD
221442012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
22145
22146 * scripts/list-sources.sh: Scan PORTS for translations.
22147 * po/libc.pot: Regenerated.
22148
2174c6dd
AJ
221492012-06-21 Andreas Jaeger <aj@suse.de>
22150
22151 [BZ #12194]
22152 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
22153 warning.
22154 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
22155 * bits/byteswap-16.h (__bswap_16): Likewise.
22156 * bits/byteswap.h (__bswap_constant_16): Likewise.
22157
3ee947b1
L
221582012-06-18 H.J. Lu <hongjiu.lu@intel.com>
22159
22160 [BZ #14117]
a2f34833
L
22161 * sysdeps/i386/fpu_control.h: Removed.
22162 * sysdeps/x86_64/fpu_control.h: Moved to ...
22163 * sysdeps/x86/fpu_control.h: Here.
22164
3ee947b1
L
22165 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
22166 (_FPU_SETCW): Likewise.
22167
ed1825f8
L
221682012-06-15 H.J. Lu <hongjiu.lu@intel.com>
22169
25f1282a
L
22170 [BZ #14117]
22171 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
22172 * sysdeps/x86/fpu/bits/mathinline.h: This.
22173 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
22174
ed1825f8
L
22175 [BZ #14050]
22176 [BZ #14117]
22177 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
22178 functions if __x86_64__ is defined.
22179
36d54b74
CLT
221802012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
22181
22182 * string/endian.h: Add !__ASSEMBLER__ condition for including
22183 conversion interfaces.
22184
10285c21
JM
221852012-06-15 Joseph Myers <joseph@codesourcery.com>
22186
22187 [BZ #14241]
22188 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
22189 of ABS(x) in calculating zero to negative powers other than odd
22190 integers.
22191 * math/libm-test.inc (pow_test): Add more tests.
22192
06c5abbd
AJ
221932012-06-15 Andreas Jaeger <aj@suse.de>
22194
22195 * manual/contrib.texi (Contributors): Update entry of Liubov
22196 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
22197 Machado Filho.
22198
a3aeac40
CH
221992012-06-15 Cyril Hrubis <metan@ucw.cz>
22200
22201 * string/string.h: Add __wur to GNU version of strerror_r.
22202
49bdf4c1
L
222032012-06-14 H.J. Lu <hongjiu.lu@intel.com>
22204
22205 [BZ #14229]
22206 * string/Makefile (tests): Add tst-strtok_r.
22207 * string/tst-strtok_r.c: New file.
22208 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
22209 RAX_LP/RDX_LP on SAVE_PTR.
22210
834f9b8d
RM
222112012-06-14 Roland McGrath <roland@hack.frob.com>
22212
22213 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
22214
75fa1921
JM
222152012-06-14 Joseph Myers <joseph@codesourcery.com>
22216
22217 * libm_test.inc (csqrt_test): Allow more spurious underflow
22218 exceptions.
22219 (j0_test): Likewise.
22220 (j1_test): Likewise.
22221 (y0_test): Likewise.
22222 (y1_test): Likewise.
22223
771766df
CD
222242012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
22225
22226 * po/Makefile (libc.pot): Use UTF-8 charset.
22227
ceb9e56b
PP
222282012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
22229
22230 [BZ #14210]
22231 Suppress sign-conversion warning from FD_SET.
22232 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
22233 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
22234 not unsigned long int.
22235 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
22236
ddb28975
L
222372012-06-12 H.J. Lu <hongjiu.lu@intel.com>
22238
22239 [BZ #14050]
22240 [BZ #14117]
22241 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
22242 __extern_always_inline instead of __extern_inline.
22243 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
22244 (__signbit): Likewise.
22245 (__signbitl): Support C++ namespace.
22246 (lrintf): New inline function.
22247 (lrint): Likewise.
22248 (llrintf): Likewise.
22249 (llrint): Likewise.
22250 (fmaxf): Likewise.
22251 (fmax): Likewise.
22252 (fminf): Likewise.
22253 (fmin): Likewise.
22254 (rint): Likewise.
22255 (rintf): Likewise.
22256 (ceil): Likewise.
22257 (ceilf): Likewise.
22258 (floor): Likewise.
22259 (floorf): Likewise.
22260 (nearbyint): Likewise.
22261 (nearbyintf): Likewise.
22262
d7b4fb26
TS
222632012-06-12 Thomas Schwinge <thomas@codesourcery.com>
22264
22265 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
22266 non-default versions.
22267
eb55f5c2
RM
222682012-06-11 Roland McGrath <roland@hack.frob.com>
22269
22270 [BZ #14218]
22271 * manual/argp.texi (Argp): Reword argp_parse description slightly.
22272
366af02c
TS
222732012-06-09 Thomas Schwinge <thomas@codesourcery.com>
22274
99ff6e5c
TS
22275 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
22276 (FE_UPWARD, FE_DOWNWARD): Don't define.
22277 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
22278 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22279
366af02c
TS
22280 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
22281 reading it.
22282 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22283 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22284
793ea851
KK
222852012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22286
22287 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
22288 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
22289 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
22290 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
22291
a728a38f
L
222922012-06-06 H.J. Lu <hongjiu.lu@intel.com>
22293
22294 [BZ #14117]
c08010c7
L
22295 * sysdeps/i386/fpu/bits/fenv.h: Removed.
22296 * sysdeps/i386/fpu/Implies: New file.
22297 * sysdeps/x86_64/fpu/Implies: Likewise.
22298 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
22299 * sysdeps/x86/fpu/bits/fenv.h: This.
22300
a728a38f
L
22301 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
22302 __SSE_MATH__.
22303
6e230d11
SP
223042012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
22305
22306 [BZ #14134]
22307 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
22308 character 0xffff that matches the last element of the
22309 conversion table.
22310
1b671feb
AZ
223112012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22312
22313 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
22314 fmodl commit.
22315
6043738b
AZ
223162012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22317
22318 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
22319 values higher than 25.6283.
22320
34ae0b32
AZ
223212012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22322
22323 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
22324 subnormal exponent extraction and add some __builtin_expect.
22325 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
22326 Fix for subnormal mantissa calculation.
22327
1214ec8f
MF
223282012-06-04 Mike Frysinger <vapier@gentoo.org>
22329
22330 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
22331 cpu2 is -1 and errno is not ENOSYS.
22332
f3d1f93c
L
223332012-06-04 H.J. Lu <hongjiu.lu@intel.com>
22334
22335 [BZ #14117]
0e4a3cd7
L
22336 * sysdeps/i386/i486/bits/string.h: Renamed to ...
22337 * sysdeps/x86/bits/string.h: This.
22338 * sysdeps/x86_64/bits/string.h: Removed.
22339
6704c645
L
22340 * sysdeps/i386/i486/bits/string.h: Define inline functions only
22341 if not compiling for x86-64, but compiling for >= i486.
22342
48495318
L
22343 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
22344 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
22345
14adcbfc
L
22346 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
22347 New macro from Linux kernel 3.4.0.
22348 (FP_XSTATE_MAGIC2): Likewise.
22349 (FP_XSTATE_MAGIC2_SIZE): Likewise.
22350 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
22351 (struct _fpx_sw_bytes): New struct.
22352 (struct _xsave_hdr): Likewise.
22353 (struct _ymmh_state): Likewise.
22354 (struct _xstate): Likewise.
22355
68e408ab
L
22356 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
22357 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
22358 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
22359 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
22360 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
22361 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
22362
f3d1f93c
L
22363 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
22364 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
22365 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
22366 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
22367 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
22368 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
22369
d9dc34cd
TMQMF
223702012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22371
22372 [BZ #13743]
22373 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
22374 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
22375 (sysdep_headers): Include sys/platform/ppc.h.
22376 * sysdeps/powerpc/test-gettimebase.c: Test for
22377 __ppc_get_timebase() to catch future ISA opcode/insn changes.
22378 * manual/Makefile (appendices): Include platform.texi.
22379 * manual/contrib.texi (Contributors): Update @node pointers.
22380 * manual/maint.texi (Maintenance): Likewise.
22381 (Platform): New node.
22382 * manual/platform.texi: New file. Document the new features.
22383
4af3879c
SP
223842012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22385 Jakub Jelinek <jakub@redhat.com>
22386
22387 [BZ #14188]
22388 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
22389 where __builtin_expect is unavailable.
22390
2fd6ff13
DM
223912012-06-03 David S. Miller <davem@davemloft.net>
22392
22393 * stdlib/longlong.h: Updated from GCC.
22394
173f7220
AS
223952012-06-02 Andreas Schwab <schwab@linux-m68k.org>
22396
22397 [BZ #14042]
22398 * sysdeps/powerpc/powerpc32/mcount.c: New file.
22399 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
22400 __mcount_internal.
22401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
22402 (GLIBC_2.16): Likewise.
22403
f34a1c6f
L
224042012-06-01 H.J. Lu <hongjiu.lu@intel.com>
22405
22406 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
22407
88a4576f
JM
224082012-06-01 Joseph Myers <joseph@codesourcery.com>
22409
ea32bcdd
JM
22410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
22411 (default-abi): New variable.
22412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
22413 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
22414 variable.
22415 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
22416 Likewise.
22417 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
22418 Likewise.
22419 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
22420 Likewise.
22421
88a4576f
JM
22422 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
22423 definition. Document in comment.
22424
402fe938
DM
224252012-06-01 David S. Miller <davem@davemloft.net>
22426
22427 * stdlib/longlong.h: Updated from GCC.
22428
3553723f
L
224292012-06-01 H.J. Lu <hongjiu.lu@intel.com>
22430
22431 [BZ #14117]
3bd872c4
L
22432 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
22433 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
22434 sys/debugreg.h sys/io.h here.
22435 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
22436 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
22437 sys/io.h.
22438 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
22439 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
22440 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
22441 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
22442 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
22443 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
22444
3553723f
L
22445 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
22446 Define only if __x86_64__ is defined.
22447
4842e4fe
JM
224482012-06-01 Joseph Myers <joseph@codesourcery.com>
22449
c5bfe3d5
JM
22450 [BZ #14048]
22451 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
22452 Use int64_t for variable i.
22453 * math/libm-test.inc (fmod_test): Add more tests.
22454
4842e4fe
JM
22455 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
22456 z computation is not scheduled after fetestexcept.
22457 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
22458 Use math_force_eval instead of asm to ensure calculation scheduled
22459 before exception test.
22460 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
22461 Ensure a1 + u.d computation is not scheduled after fetestexcept.
22462
efb73488
AJ
224632012-06-01 Aurelien Jarno <aurelien@aurel32.net>
22464
22465 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
22466 computation is not scheduled after fetestexcept.
22467
29bcce7c
L
224682012-06-01 H.J. Lu <hongjiu.lu@intel.com>
22469
22470 [BZ #14117]
22471 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
22472 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
22473
73a68f94
AZ
224742012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22475
22476 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
22477 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22478
67b6df78
L
224792012-05-31 H.J. Lu <hongjiu.lu@intel.com>
22480
edf2933a 22481 [BZ #14117]
ebc64a18
L
22482 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
22483 <bits/wordsize.h>.
22484 (__WCHAR_MIN): Support __WORDSIZE == 64.
22485 (__WCHAR_MAX): Likewise.
22486
edf2933a
L
22487 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
22488 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
22489
57c6cf40
L
22490 [BZ #14183]
22491 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
22492 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
22493
67b6df78 22494 [BZ #14117]
8eb6281e
L
22495 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
22496 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
22497
aac639f4
L
22498 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
22499 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
22500
67b6df78
L
22501 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
22502 Defined to 1 if __x86_64__ isn't defined.
22503 (_STAT_VER_LINUX_OLD): New.
22504 (st_atime): Remove duplicate.
22505 (st_mtime): Likewise.
22506 (st_ctime): Likewise.
22507
1c2cfe81
DM
225082012-05-31 David S. Miller <davem@davemloft.net>
22509
22510 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
22511 entries.
22512
5be8418c
AS
225132012-06-01 Andreas Schwab <schwab@linux-m68k.org>
22514
e7725326
AS
22515 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
22516 gen-libm-test.pl.
22517
5be8418c
AS
22518 [BZ #14132]
22519 * elf/dl-reloc.c: Include <_itoa.h>.
22520 (_dl_reloc_bad_type): Remove use of INTUSE.
22521 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
22522 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
22523 * stdio-common/psiginfo.c (psiginfo): Likewise.
22524 * stdio-common/psignal.c (psignal): Likewise.
22525 * string/strsignal.c (strsignal): Likewise.
22526 * include/signal.h (_sys_siglist): Declare hidden proto.
22527 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
22528 INTVARDEF with libc_hidden_data_def.
22529 * stdio-common/itoa-udigits.c: Likewise.
22530 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
22531 (_itoa_lower_digits_internal): Remove declaration.
22532 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
22533 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
22534 (_sys_sigabbrev_internal): Remove aliases.
22535 (_sys_siglist): Define hidden alias.
22536
507352f1
MT
225372012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
22538
22539 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22540 bits/sysctl.h.
22541
42bbb1c3
L
225422012-05-31 H.J. Lu <hongjiu.lu@intel.com>
22543
22544 [BZ #14117]
6bd784b6
L
22545 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
22546 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
22547
8bca20f0
L
22548 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
22549 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
22550 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
22551 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
22552 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
22553 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
22554
f9e890a9
L
22555 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
22556 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
22557 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
22558
471101a1
L
22559 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
22560 with __addr.
22561 (insw): Likewise.
22562 (insl): Likewise.
22563 (outsb): Likewise.
22564 (outsw): Likewise.
22565 (outsl): Likewise.
22566
6451c862
L
22567 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
22568 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
22569 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
22570
a254b8c9
L
22571 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
22572 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
22573 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
22574 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
22575 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
22576 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
22577
b8dfdd92
L
22578 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
22579 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
22580
578cd270
L
22581 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
22582 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
22583
de662f5f
L
22584 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
22585 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
22586 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
22587
25653439
L
22588 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
22589 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
22590 to ...
22591 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
22592
6bad24a0
L
22593 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
22594 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
22595 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
22596
42bbb1c3
L
22597 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
22598 for x86-64.
22599 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
22600
2d10d547
JM
226012012-05-31 Joseph Myers <joseph@codesourcery.com>
22602
22603 * math/math.h (M_El): Use two more decimal places.
22604 (M_LOG2El): Likewise.
22605 (M_LOG10El): Likewise.
22606 (M_LN2l): Likewise.
22607 (M_LN10l): Likewise.
22608 (M_PIl): Likewise.
22609 (M_PI_2l): Likewise.
22610 (M_PI_4l): Likewise.
22611 (M_1_PIl): Likewise.
22612 (M_2_PIl): Likewise.
22613 (M_2_SQRTPIl): Likewise.
22614 (M_SQRT2l): Likewise.
22615 (M_SQRT1_2l): Likewise.
22616
f230c29b
DM
226172012-05-31 David S. Miller <davem@davemloft.net>
22618
22619 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
22620 values between float registers.
22621 * sysdeps/sparc/sparc64/memset.S: Likewise.
22622 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22623
fed806c3
MF
226242012-05-31 Mike Frysinger <vapier@gentoo.org>
22625
22626 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
22627 -D_FORTIFY_SOURCE=1.
22628 (CPPFLAGS-tst-longjmp_chk.c): Define.
22629 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
22630 (CPPFLAGS-tst-longjmp_chk2.c): Define.
22631 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
22632 CFLAGS-tst-wchar-h.c.
22633
30917259
MP
226342012-05-31 Marek Polacek <polacek@redhat.com>
22635
22636 [BZ #14132]
22637 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
22638 __endmntent_internal): Remove declaration.
22639 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
22640 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
22641 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
22642
1c58d5dc
DM
226432012-05-30 David S. Miller <davem@davemloft.net>
22644
22645 * sysdeps/sparc/sparc32/soft-fp/q_util.c
22646 (___Q_simulate_exceptions): Use real FP ops rather than writing
22647 into the %fsr.
22648 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
22649 Likewise.
22650
7dc00e0d
L
226512012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22652
22653 [BZ #14117]
0bd53985
L
22654 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
22655 * sysdeps/x86/bits/xtitypes.h: This.
22656
3a257e66
L
22657 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
22658 * sysdeps/x86/bits/wordsize.h: This.
22659
62f62904
L
22660 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
22661 * sysdeps/x86/bits/huge_vall.h: This.
22662
404fe9d9
L
22663 * sysdeps/i386/bits/select.h: Removed.
22664 * sysdeps/x86_64/bits/select.h: Renamed to ...
22665 * sysdeps/x86/bits/select.h: This.
22666
d48d0446
L
22667 * sysdeps/i386/bits/setjmp.h: Removed.
22668 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
22669 * sysdeps/x86/bits/setjmp.h: This.
22670
7dc00e0d
L
22671 * sysdeps/i386/bits/mathdef.h: Removed.
22672 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
22673 * sysdeps/x86/bits/mathdef.h: This.
22674
03277f8f
AS
226752012-05-30 Andreas Schwab <schwab@linux-m68k.org>
22676
22677 [BZ #14132]
22678 * include/sys/socket.h (__connect_internal)
22679 (__libc_sa_len_internal): Remove declaration.
22680 (__connect, __libc_sa_len): Declare hidden_proto.
22681 (SA_LEN): Remove use of INTUSE.
22682 * socket/connect.c: Add libc_hidden_def.
22683 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
22684 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
22685 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
22686 alias.
22687 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
22688 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
22689 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
22690 of adding _internal alias.
22691
13764867
L
226922012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22693
22694 [BZ #14117]
6bd97696
L
22695 * sysdeps/i386/bits/link.h: Removed.
22696 * sysdeps/i386/bits/linkmap.h: Likewise.
22697 * sysdeps/x86_64/bits/link.h: Renamed to ...
22698 * sysdeps/x86/bits/link.h: This.
22699 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
22700 * sysdeps/x86/bits/linkmap.h: This.
22701
f726f0bb
L
22702 * sysdeps/i386/bits/endian.h: Removed.
22703 * sysdeps/x86_64/bits/endian.h: Renamed to ...
22704 * sysdeps/x86/bits/endian.h: This.
22705
13764867
L
22706 * sysdeps/i386/bits/byteswap.h: Removed.
22707 * sysdeps/i386/bits/byteswap-16.h: Likewise.
22708 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
22709 * sysdeps/x86/bits/byteswap.h: This.
22710 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
22711 * sysdeps/x86/bits/byteswap-16.h: This.
22712 * sysdeps/i386/Implies: Add x86.
22713 * sysdeps/x86_64/Implies: Likewise.
22714
ae251b0b
DM
227152012-05-30 David S. Miller <davem@davemloft.net>
22716
22717 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
22718 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
22719 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
22720 (FP_TRAPPING_EXCEPTIONS): Define.
22721 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
22722 (FP_TRAPPING_EXCEPTIONS): Define.
22723 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
22724 subnormals only when inexact has been signalled or underflow
22725 exceptions are enabled.
22726 (_FP_PACK_CANONICAL): Likewise.
22727
d5c90867
L
227282012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22729
22730 [BZ #14183]
22731 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
22732 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
22733
63f1549e
RH
227342012-05-30 Richard Henderson <rth@twiddle.net>
22735
8d8f2279
RH
22736 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
22737 with #ifndef NOT_IN_libc.
22738
63f1549e
RH
22739 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
22740 marked to avoid plt entry.
22741
0ab0291b
L
227422012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22743
22744 [BZ #14112]
22745 * Makeconfig (default-abi): New macro.
22746 (abi-includes): Likewise.
22747 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
22748 $(abi-$(default-abi)-lib-soname) for soname if defined.
22749 ($(common-objpfx)gnu/lib-names.stmp): Generate from
22750 abi-variants.
22751 * Makefile (installed-stubs): Likewise.
22752 * include/stubs-biarch.h: Removed.
22753 * scripts/lib-names.awk: Only handle one library at a time.
22754 * scripts/soversions.awk: Remove WORDSIZE support.
22755 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
22756 entries.
22757 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
22758 Removed.
22759 (syscall-list-default-condition): Likewise.
22760 (syscall-list-default-condition): Likewise.
22761 (syscall-list-includes): Likewise.
22762 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
22763 syscall-list-* with abi-*. Handle undefined abi-variants.
22764 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
22765 * sysdeps/unix/sysv/linux/i386/Implies: New file.
22766 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
22767 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
22768 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
22769 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
22770 Removed.
22771 (syscall-list-32-options): Likewise.
22772 (syscall-list-32-condition): Likewise.
22773 (syscall-list-64-options): Likewise.
22774 (syscall-list-64-condition): Likewise.
22775 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
22776 macro.
22777 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
22778 Renamed to ...
22779 (abi-*): This.
22780 (abi-64-ld-soname): New macro.
22781 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
22782 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
22783 Renamed to ...
22784 (abi-*): This.
22785 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
22786 * sysdeps/x86_64/x32/shlib-versions: Likewise.
22787
4da0431d
JM
227882012-05-30 Joseph Myers <joseph@codesourcery.com>
22789
3a85279c
JM
22790 * sysdeps/unix/sysv/linux/kernel-features.h
22791 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
22792 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
22793 include <kernel-features.h>.
22794 [!__NR_ftruncate64]: Remove conditional code.
22795 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22796 [__NR_ftruncate64]: Make code unconditional.
22797 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22798 * sysdeps/unix/sysv/linux/truncate64.c: Do not
22799 include <kernel-features.h>.
22800 [!__NR_ftruncate64]: Remove conditional code.
22801 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22802 [__NR_ftruncate64]: Make code unconditional.
22803 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
22805 include <kernel-features.h>.
22806 [!__NR_ftruncate64]: Remove conditional code.
22807 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22808 [__NR_ftruncate64]: Make code unconditional.
22809 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22811 include <kernel-features.h>.
22812 [!__NR_ftruncate64]: Remove conditional code.
22813 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22814 [__NR_ftruncate64]: Make code unconditional.
22815 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22816
4da0431d
JM
22817 * configure.in (libc_cv_fpie): Weaken to a compile test using
22818 LIBC_TRY_CC_OPTION.
22819 * configure: Regenerated.
22820
11ef492c
AK
228212012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22822
22823 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
22824 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
22825 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
22826 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22827 Refreshed.
22828 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
22829 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
22830 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
22831 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
22832 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
22833 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22834 Refreshed.
22835
d66ef399
DM
228362012-05-27 David S. Miller <davem@davemloft.net>
22837
22838 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
22839 (___Q_zero): New.
22840 (__Q_simulate_exceptions): Return void. Change to simulate
22841 exceptions by writing into the %fsr.
22842 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
22843 (__Qp_handle_exceptions): Likewise.
22844 (numbers): Delete.
22845 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
22846 __Qp_handle_exceptions.
22847 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
22848 __Qp_handle_exceptions.
22849 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22850 as unused and give dummy FP_RND_NEAREST initializer.
22851 (FP_INHIBIT_RESULTS): Define.
22852 (___Q_simulate_exceptions): Update declaration.
22853 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
22854 formatting.
22855 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22856 as unused and give dummy FP_RND_NEAREST initializer.
22857 (__Qp_handle_exceptions): Update declaration.
22858 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
22859 formatting.
22860
04fb54b5
TS
228612012-05-27 Thomas Schwinge <thomas@codesourcery.com>
22862
22863 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
22864 the temporary FPU control word.
22865 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
22866 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
22867 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
22868 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22869 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22870 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
22871 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
22872 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22873 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22874 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
22875 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22876
3f99608f
KK
228772012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22878
22879 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
22880 fields.
22881
65a4de4e
CLT
228822012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
22883
22884 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
22885 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
22886 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
22887 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
22888 Likewise.
22889 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
22890 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
22891 Likewise.
22892
15749d40
UD
228932012-05-27 Ulrich Drepper <drepper@gmail.com>
22894
22895 * po/h.po: Update from translation team.
22896
25dbcb27
AS
228972012-05-26 Andreas Schwab <schwab@linux-m68k.org>
22898
3d3f8e55
AS
22899 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
22900
25dbcb27
AS
22901 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
22902 handling of denormals.
22903 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22904 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
22905 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
22906 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
22907 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22908 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
22909 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
22910 Likewise.
22911
7ad47a80 229122012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
22913
22914 [BZ #14152]
22915 * math/libm-test.inc (fma_test): Don't always expect underflow
22916 exception.
22917
9c6ea9fa
SP
229182012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22919
22920 [BZ #12416]
22921 * elf/tst-execstack.c: Include stackinfo.h.
22922 (do_test): Adjust test case to ensure that pthread_getattr_np
22923 behaviour remains the same after marking stack executable.
22924
a8239222
JM
229252012-05-25 Joseph Myers <joseph@codesourcery.com>
22926
22927 * sysdeps/unix/sysv/linux/kernel-features.h
22928 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
22929 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
22930 kernel-features.h.
22931 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22932 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22933 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
22934 kernel-features.h.
22935 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22936 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22937
918b5606
L
229382012-05-25 H.J. Lu <hongjiu.lu@intel.com>
22939
22940 * configure.in: Define the default includes to being none.
22941 * configure: Regenerated.
22942
3a097cc7
RM
229432012-05-25 Roland McGrath <roland@hack.frob.com>
22944
8422c9a5
RM
22945 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
22946 * sysdeps/x86_64/setjmp.S: Likewise.
22947 * sysdeps/i386/bsd-setjmp.S: Likewise.
22948 * sysdeps/i386/bsd-_setjmp.S: Likewise.
22949 * sysdeps/i386/setjmp.S: Likewise.
22950 * sysdeps/i386/__longjmp.S: Likewise.
22951 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
22952 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
22953
3a097cc7
RM
22954 * include/stap-probe.h: New file.
22955 * configure.in: Handle --enable-systemtap.
22956 * configure: Regenerated.
22957 * config.h.in (USE_STAP_PROBE): New #undef.
22958 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
22959 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
22960 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
22961
21708942
JM
229622012-05-25 Joseph Myers <joseph@codesourcery.com>
22963
22964 [BZ #13717]
22965 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
22966 to 2.4.0 where earlier.
22967 * sysdeps/unix/sysv/linux/configure: Regenerated.
22968 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
22969 <kernel-features.h>.
22970 [__ASSUME_32BITUIDS]: Make code unconditional.
22971 [!__ASSUME_32BITUIDS]: Remove conditional code.
22972 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
22973 <kernel-features.h>.
22974 [__ASSUME_32BITUIDS]: Make code unconditional.
22975 [!__ASSUME_32BITUIDS]: Remove conditional code.
22976 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
22977 [__ASSUME_32BITUIDS]: Make code unconditional.
22978 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
22979 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
22980 <kernel-features.h>.
22981 [__ASSUME_32BITUIDS]: Make code unconditional.
22982 [!__ASSUME_32BITUIDS]: Remove conditional code.
22983 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
22984 <kernel-features.h>.
22985 [__ASSUME_32BITUIDS]: Make code unconditional.
22986 [!__ASSUME_32BITUIDS]: Remove conditional code.
22987 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
22988 <kernel-features.h>.
22989 [__ASSUME_32BITUIDS]: Make code unconditional.
22990 [!__ASSUME_32BITUIDS]: Remove conditional code.
22991 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
22992 <kernel-features.h>.
22993 [__ASSUME_32BITUIDS]: Make code unconditional.
22994 [!__ASSUME_32BITUIDS]: Remove conditional code.
22995 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
22996 <kernel-features.h>.
22997 [__ASSUME_32BITUIDS]: Make code unconditional.
22998 [!__ASSUME_32BITUIDS]: Remove conditional code.
22999 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
23000 <kernel-features.h>.
23001 [__ASSUME_32BITUIDS]: Make code unconditional.
23002 [!__ASSUME_32BITUIDS]: Remove conditional code.
23003 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
23004 <kernel-features.h>.
23005 [__ASSUME_32BITUIDS]: Make code unconditional.
23006 [!__ASSUME_32BITUIDS]: Remove conditional code.
23007 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
23008 <kernel-features.h>.
23009 [__ASSUME_32BITUIDS]: Make code unconditional.
23010 [!__ASSUME_32BITUIDS]: Remove conditional code.
23011 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
23012 <kernel-features.h>.
23013 [__ASSUME_32BITUIDS]: Make code unconditional.
23014 [!__ASSUME_32BITUIDS]: Remove conditional code.
23015 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
23016 <kernel-features.h>.
23017 [__ASSUME_32BITUIDS]: Make code unconditional.
23018 [!__ASSUME_32BITUIDS]: Remove conditional code.
23019 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
23020 <kernel-features.h>.
23021 [__NR_setresgid] (__setresgid): Do not declare.
23022 [__ASSUME_32BITUIDS]: Make code unconditional.
23023 [!__ASSUME_32BITUIDS]: Remove conditional code.
23024 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
23025 <kernel-features.h>.
23026 [__NR_setresuid] (__setresuid): Do not declare.
23027 [__ASSUME_32BITUIDS]: Make code unconditional.
23028 [!__ASSUME_32BITUIDS]: Remove conditional code.
23029 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
23030 <kernel-features.h>.
23031 [__ASSUME_32BITUIDS]: Make code unconditional.
23032 [!__ASSUME_32BITUIDS]: Remove conditional code.
23033 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
23034 <kernel-features.h>.
23035 [__ASSUME_32BITUIDS]: Make code unconditional.
23036 [!__ASSUME_32BITUIDS]: Remove conditional code.
23037 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
23038 <kernel-features.h>.
23039 [__ASSUME_32BITUIDS]: Make code unconditional.
23040 [!__ASSUME_32BITUIDS]: Remove conditional code.
23041 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
23042 <kernel-features.h>.
23043 [__ASSUME_32BITUIDS]: Make code unconditional.
23044 [!__ASSUME_32BITUIDS]: Remove conditional code.
23045 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
23046 <kernel-features.h>.
23047 [__ASSUME_32BITUIDS]: Make code unconditional.
23048 [!__ASSUME_32BITUIDS]: Remove conditional code.
23049 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
23050 <kernel-features.h>.
23051 [__ASSUME_32BITUIDS]: Make code unconditional.
23052 [!__ASSUME_32BITUIDS]: Remove conditional code.
23053 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
23054 <kernel-features.h>.
23055 [__ASSUME_32BITUIDS]: Make code unconditional.
23056 [!__ASSUME_32BITUIDS]: Remove conditional code.
23057 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
23058 <kernel-features.h>.
23059 [__ASSUME_32BITUIDS]: Make code unconditional.
23060 [!__ASSUME_32BITUIDS]: Remove conditional code.
23061 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
23062 <kernel-features.h>.
23063 [__ASSUME_32BITUIDS]: Make code unconditional.
23064 [!__ASSUME_32BITUIDS]: Remove conditional code.
23065 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
23066 <kernel-features.h>.
23067 [__ASSUME_32BITUIDS]: Make code unconditional.
23068 [!__ASSUME_32BITUIDS]: Remove conditional code.
23069 * sysdeps/unix/sysv/linux/kernel-features.h
23070 (__ASSUME_SETRESUID_SYSCALL): Remove.
23071 (__ASSUME_SETRESGID_SYSCALL): Likewise.
23072 (__ASSUME_32BITUIDS): Likewise.
23073 (__ASSUME_LDT_WORKS): Likewise.
23074 (__ASSUME_O_DIRECTORY): Likewise.
23075 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
23076 architecture but not kernel version.
23077 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
23078 (__ASSUME_MMAP2_SYSCALL): Likewise.
23079 (__ASSUME_STAT64_SYSCALL): Likewise.
23080 (__ASSUME_IPC64): Likewise.
23081 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
23082 <kernel-features.h>.
23083 [__ASSUME_32BITUIDS]: Make code unconditional.
23084 [!__ASSUME_32BITUIDS]: Remove conditional code.
23085 * sysdeps/unix/sysv/linux/opendir.c: Do not include
23086 <kernel-features.h>.
23087 [__ASSUME_O_DIRECTORY]: Make code unconditional.
23088 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
23089 132096]: Remove conditional code.
23090 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
23091 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
23092 <kernel-features.h>.
23093 [__ASSUME_32BITUIDS]: Make code unconditional.
23094 [!__ASSUME_32BITUIDS]: Remove conditional code.
23095 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
23096 <kernel-features.h>.
23097 [__ASSUME_32BITUIDS]: Make code unconditional.
23098 [!__ASSUME_32BITUIDS]: Remove conditional code.
23099 * sysdeps/unix/sysv/linux/setegid.c: Do not include
23100 <kernel-features.h>.
23101 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
23102 unconditional.
23103 (__setresgid): Do not declare.
23104 [__ASSUME_32BITUIDS]: Make code unconditional.
23105 [!__ASSUME_32BITUIDS]: Remove conditional code.
23106 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
23107 <kernel-features.h>.
23108 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
23109 unconditional.
23110 (__setresuid): Do not declare.
23111 [__ASSUME_32BITUIDS]: Make code unconditional.
23112 [!__ASSUME_32BITUIDS]: Remove conditional code.
23113 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
23114 <kernel-features.h>.
23115 [__ASSUME_32BITUIDS]: Make code unconditional.
23116 [!__ASSUME_32BITUIDS]: Remove conditional code.
23117 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
23118 <kernel-features.h>.
23119 [__ASSUME_32BITUIDS]: Make code unconditional.
23120 [!__ASSUME_32BITUIDS]: Remove conditional code.
23121
a386f1cc
RH
231222012-05-25 Richard Henderson <rth@twiddle.net>
23123
23124 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
23125 dl_hwcap to ifunc resolver.
23126 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
23127 elf_ifunc_invoke.
23128 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
23129 dl_hwcap to ifunc resolver.
23130 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
23131
b6550497
JM
231322012-05-24 Joseph Myers <joseph@codesourcery.com>
23133
23134 [BZ #14153]
23135 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
23136 for |x| <= 2**-26, not 2**-57.
23137 * math/libm-test.inc (acos_test): Do not allow spurious underflow
23138 exception.
23139
b0bc23a1
JL
231402012-05-24 Jeff Law <law@redhat.com>
23141
23142 * stdio-common/Makefile (tests): Add bug25.
23143 * stdio-common/bug25.c: New test.
23144
347c92e9
L
231452012-05-24 H.J. Lu <hongjiu.lu@intel.com>
23146
23147 [BZ #13576]
23148 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
23149 multiple of MALLOC_ALIGNMENT in size.
23150 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
23151
6bcc8b3f
JM
231522012-05-24 Joseph Myers <joseph@codesourcery.com>
23153
23154 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
23155 Require >= 256.
23156 (FILENAME_MAX): Use macro-int-constant.
23157 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
23158 (_IOFBF): Use macro-int-constant.
23159 (_IOLBF): Likewise.
23160 (_IONBF): Likewise.
23161 (SEEK_CUR): Likewise.
23162 (SEEK_END): Likewise.
23163 (SEEK_SET): Likewise.
23164 (TMP_MAX): Likewise.
23165 (EOF): Use macro-int-constant. Require < 0.
23166 (NULL): Use macro-constant. Require == 0.
23167 (stdin): Require type to be FILE *.
23168 (stdout): Likewise.
23169 (stderr): Likewise.
23170 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
23171 macro-int-constant.
23172 (EXIT_SUCCESS): Likewise.
23173 (NULL): Use macro-constant. Require == 0.
23174 (RAND_MAX): Use macro-int-constant.
23175 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
23176 [C99-based standards] (strtof): Require function.
23177 [C99-based standards] (strtold): Likewise.
23178 [C99-based standards] (strtoll): Likewise.
23179 [C99-based standards] (strtoull): Likewise.
23180 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
23181 [ISO || ISO99 || ISO11] (limits.h): Likewise.
23182 [ISO || ISO99 || ISO11] (math.h): Likewise.
23183 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
23184 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
23185 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23186
d18ea0c5
AS
231872012-05-24 Andreas Schwab <schwab@linux-m68k.org>
23188
23189 [BZ #14132]
56d25bb8
AS
23190 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
23191 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
23192 * intl/dgettext.c (DCGETTEXT): Likewise.
23193 * intl/gettext.c (DCGETTEXT): Likewise.
23194 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
23195 * posix/regex_internal.h (gettext): Likewise.
23196 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
23197 Remove declaration.
23198 * include/argz.h (__argz_count_internal)
23199 (__argz_stringify_internal): Remove declaration.
23200 (__argz_count, __argz_stringify): Declare hidden proto.
23201 * intl/dcgettext.c: Remove use of INTDEF.
23202 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
23203 * string/argz-stringify.c: Likewise.
23204 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
23205 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
23206 Declare hidden proto.
d18ea0c5
AS
23207 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
23208 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
23209 Declare hidden proto.
23210 * include/stdio.h (__asprintf_internal): Don't declare.
23211 (__asprintf): Don't define as macro. Declare hidden proto.
23212 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
23213 (__fsetlocking): Declare hidden proto.
23214 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
23215 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
23216 hidden proto.
23217 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
23218 (_IO_setlinebuf): Remove use of INTUSE.
23219 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
23220 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
23221 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
23222 Remove declaration.
23223 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
23224 (_IO_do_flush): Remove use of INTUSE.
23225 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
23226 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
23227 (_IO_adjust_column, _IO_least_wmarker)
23228 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
23229 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
23230 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
23231 (_IO_default_doallocate, _IO_wdefault_doallocate)
23232 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
23233 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
23234 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
23235 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
23236 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
23237 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
23238 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
23239 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
23240 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
23241 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
23242 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
23243 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
23244 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
23245 proto.
23246 (_IO_flush_all_internal, _IO_adjust_column_internal)
23247 (_IO_default_uflow_internal, _IO_default_finish_internal)
23248 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
23249 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
23250 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
23251 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
23252 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
23253 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
23254 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
23255 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
23256 (_IO_file_close_internal, _IO_file_close_it_internal)
23257 (_IO_file_underflow_internal, _IO_file_overflow_internal)
23258 (_IO_file_init_internal, _IO_file_attach_internal)
23259 (_IO_file_fopen_internal, _IO_file_read_internal)
23260 (_IO_file_sync_internal, _IO_file_seek_internal)
23261 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
23262 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
23263 (_IO_str_underflow_internal, _IO_str_overflow_internal)
23264 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
23265 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
23266 (_IO_list_all_internal, _IO_link_in_internal)
23267 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
23268 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
23269 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
23270 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
23271 (_IO_do_write_internal, _IO_padn_internal)
23272 (_IO_getline_info_internal, _IO_getline_internal)
23273 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
23274 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
23275 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
23276 (_IO_vfscanf_internal, _IO_vfprintf_internal)
23277 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
23278 (_IO_init_internal, _IO_un_link_internal): Don't declare.
23279 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
23280 with libc_hidden_ver, remove use of INTUSE.
23281 * libio/genops.c: Likewise.
23282 * libio/freopen.c: Likewise.
23283 * libio/freopen64.c: Likewise.
23284 * libio/iofclose.c: Likewise.
23285 * libio/iofdopen.c: Likewise.
23286 * libio/iofflush.c: Likewise.
23287 * libio/iofflush_u.c: Likewise.
23288 * libio/iofgets.c: Likewise.
23289 * libio/iofgets_u.c: Likewise.
23290 * libio/iofopen.c: Likewise.
23291 * libio/iofopncook.c: Likewise.
23292 * libio/iofread.c: Likewise.
23293 * libio/iofread_u.c: Likewise.
23294 * libio/ioftell.c: Likewise.
23295 * libio/iofwrite.c: Likewise.
23296 * libio/iogetline.c: Likewise.
23297 * libio/iogets.c: Likewise.
23298 * libio/iogetwline.c: Likewise.
23299 * libio/iopadn.c: Likewise.
23300 * libio/iopopen.c: Likewise.
23301 * libio/ioseekoff.c: Likewise.
23302 * libio/ioseekpos.c: Likewise.
23303 * libio/iosetbuffer.c: Likewise.
23304 * libio/iosetvbuf.c: Likewise.
23305 * libio/ioungetc.c: Likewise.
23306 * libio/ioungetwc.c: Likewise.
23307 * libio/iovdprintf.c: Likewise.
23308 * libio/iovsprintf.c: Likewise.
23309 * libio/iovsscanf.c: Likewise.
23310 * libio/memstream.c: Likewise.
23311 * libio/obprintf.c: Likewise.
23312 * libio/oldfileops.c: Likewise.
23313 * libio/oldiofclose.c: Likewise.
23314 * libio/oldiofdopen.c: Likewise.
23315 * libio/oldiofopen.c: Likewise.
23316 * libio/oldiopopen.c: Likewise.
23317 * libio/oldstdfiles.c: Likewise.
23318 * libio/putc.c: Likewise.
23319 * libio/setbuf.c: Likewise.
23320 * libio/setlinebuf.c: Likewise.
23321 * libio/stdfiles.c: Likewise.
23322 * libio/strops.c: Likewise.
23323 * libio/vasprintf.c: Likewise.
23324 * libio/vscanf.c: Likewise.
23325 * libio/vsnprintf.c: Likewise.
23326 * libio/vswprintf.c: Likewise.
23327 * libio/wfiledoalloc.c: Likewise.
23328 * libio/wfileops.c: Likewise.
23329 * libio/wgenops.c: Likewise.
23330 * libio/wmemstream.c: Likewise.
23331 * libio/wstrops.c: Likewise.
23332 * libio/__fpurge.c: Likewise.
23333 * libio/__fsetlocking.c: Likewise.
23334 * assert/assert.c: Likewise.
23335 * debug/fgets_chk.c: Likewise.
23336 * debug/fgets_u_chk.c: Likewise.
23337 * debug/fread_chk.c: Likewise.
23338 * debug/fread_u_chk.c: Likewise.
23339 * debug/gets_chk.c: Likewise.
23340 * debug/obprintf_chk.c: Likewise.
23341 * debug/vasprintf_chk.c: Likewise.
23342 * debug/vdprintf_chk.c: Likewise.
23343 * debug/vsnprintf_chk.c: Likewise.
23344 * debug/vsprintf_chk.c: Likewise.
23345 * malloc/mtrace.c: Likewise.
23346 * misc/error.c: Likewise.
23347 * misc/syslog.c: Likewise.
23348 * stdio-common/asprintf.c: Likewise.
23349 * stdio-common/fxprintf.c: Likewise.
23350 * stdio-common/getw.c: Likewise.
23351 * stdio-common/isoc99_fscanf.c: Likewise.
23352 * stdio-common/isoc99_scanf.c: Likewise.
23353 * stdio-common/isoc99_vfscanf.c: Likewise.
23354 * stdio-common/isoc99_vscanf.c: Likewise.
23355 * stdio-common/isoc99_vsscanf.c: Likewise.
23356 * stdio-common/printf-prs.c: Likewise.
23357 * stdio-common/printf_fp.c: Likewise.
23358 * stdio-common/printf_fphex.c: Likewise.
23359 * stdio-common/printf_size.c: Likewise.
23360 * stdio-common/putw.c: Likewise.
23361 * stdio-common/scanf.c: Likewise.
23362 * stdio-common/sprintf.c: Likewise.
23363 * stdio-common/tmpfile.c: Likewise.
23364 * stdio-common/vfprintf.c: Likewise.
23365 * stdio-common/vfscanf.c: Likewise.
23366 * stdlib/strfmon_l.c: Likewise.
23367 * sunrpc/openchild.c: Likewise.
23368 * sunrpc/xdr_stdio.c: Likewise.
23369 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
23370 * sysdeps/mach/hurd/tmpfile.c: Likewise.
23371
d6c33fda
RM
233722012-05-24 Roland McGrath <roland@hack.frob.com>
23373
c1487492
RM
23374 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23375
23376 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
23377 in the third column, to generate for the shared library an IFUNC
23378 that uses _dl_vdso_vsym.
23379 * Makerules (COMPILE.c, compile-stdin.c): New variables.
23380 * Makeconfig (object-suffixes-noshared): New variable.
23381
23382 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
23383 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
23384 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
23385 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
23386
d6c33fda
RM
23387 [BZ #14132]
23388 * include/sys/time.h (__gettimeofday): Remove macro.
23389 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
23390 * time/gettimeofday.c (__gettimeofday): Remove #undef.
23391 Remove INTDEF.
23392 (__gettimeofday): Add libc_hidden_def.
23393 (gettimeofday): Add libc_hidden_weak.
23394 * sysdeps/mach/gettimeofday.c: Likewise.
23395 * sysdeps/posix/gettimeofday.c: Likewise.
23396 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
23397 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
23398 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
23399 (__gettimeofday_internal): Remove strong_alias.
23400 (__gettimeofday): Add libc_hidden_def.
23401 (gettimeofday): Add libc_hidden_weak.
23402 * sysdeps/unix/syscalls.list (gettimeofday):
23403 Remove __gettimeofday_internal alias.
23404
b5a2bbe6
L
234052012-05-24 Daniel Jacobowitz <drow@false.org>
23406 H.J. Lu <hongjiu.lu@intel.com>
23407
23408 [BZ #12495]
23409 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
23410 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
23411 (largebin_index_32_big): New.
23412 (largebin_index): Use it for 16-byte alignment.
23413 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
23414 correction with front_misalign.
23415
cfba4fda
L
234162012-05-24 H.J. Lu <hongjiu.lu@intel.com>
23417
7f907421
L
23418 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
23419 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
23420 Likewise.
23421 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
23422 Likewise.
23423 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
23424 Likewise.
23425 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
23426 Likewise.
23427 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
23428 Likewise.
23429 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
23430 Likewise.
23431 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
23432 Likewise.
23433 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
23434 Likewise.
23435 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
23436 Likewise.
23437 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
23438 Likewise.
23439 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
23440 Likewise.
23441 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
23442 Likewise.
23443
cfba4fda
L
23444 * scripts/data/c++-types-x32-linux-gnu.data: New file.
23445 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
23446
80bad0cc
JM
234472012-05-24 Joseph Myers <joseph@codesourcery.com>
23448
7a25eb06
JM
23449 [BZ #10846]
23450 [BZ #14036]
23451 * math/libm-test.inc (exp_test): Add test from bug 14036.
23452 (pow_test): Add test from bug 10846.
23453
795405f9
JM
23454 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
23455 and other flags.
23456 (special_function): Do not include flags in test name.
23457 (parse_args): Likewise.
23458 * sysdeps/i386/fpu/libm-test-ulps: Update.
23459 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23460 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23461 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23462 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23463
80bad0cc
JM
23464 * math/gen-libm-test.pl (%beautify): Add entries for underflow
23465 exceptions.
23466 * math/libm-test.inc ("Philosophy"): Update comment about
23467 exception testing.
23468 (UNDERFLOW_EXCEPTION): New macro.
23469 (UNDERFLOW_EXCEPTION_OK): Likewise.
23470 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
23471 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
23472 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
23473 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
23474 (INVALID_EXCEPTION_OK): Update value.
23475 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23476 (OVERFLOW_EXCEPTION_OK): Likewise.
23477 (IGNORE_ZERO_INF_SIGN): Likewise.
23478 (test_exceptions): Handle underflow exceptions.
23479 (acos_test): Update for underflow exception expectations.
23480 (cexp_test): Likewise.
23481 (clog_test): Likewise.
23482 (clog10_test): Likewise.
23483 (csqrt_test): Likewise.
23484 (ctan_test): Likewise.
23485 (ctanh_test): Likewise.
23486 (exp_test): Likewise.
23487 (exp10_test): Likewise.
23488 (exp2_test): Likewise.
23489 (expm1_test): Likewise.
23490 (fma_test): Likewise.
23491 (j0_test): Likewise.
23492 (jn_test): Likewise.
23493 (nexttoward_test): Likewise.
23494 (pow_test): Likewise.
23495 (scalbn_test): Likewise.
23496 (scalbln_test): Likewise.
23497 (tan_test): Likewise.
23498 (y1_test): Likewise.
23499 * sysdeps/i386/fpu/libm-test-ulps: Update.
23500 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23501
9e0e3d0b
DM
235022012-05-23 David S. Miller <davem@davemloft.net>
23503
23504 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
23505 (__libc_sigaction): Remove unused local variables.
23506
ccd0a08f
L
235072012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23508
23509 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
23510
62bdf9a6
PE
235112012-05-23 Paul Eggert <eggert@cs.ucla.edu>
23512
f8591f80
PE
23513 mktime: avoid signed integer overflow
23514 * time/mktime.c (__mktime_internal): Do not mishandle the case
23515 where diff == INT_MIN.
23516
94c7d826
PE
23517 mktime: simplify computation of average
23518 * time/mktime.c (ranged_convert): Use new time_t_avg function
23519 instead of rolling our own (probably-slower) code.
23520
ce73d683
PE
23521 mktime: do not assume signed right shift propagates sign bit
23522 * time/mktime.c (isdst_differ): New static function.
23523 (__mktime_internal): No need to normalize tm_isdst now.
23524 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
23525 tm_isdst values.
23526
72a22e59
PE
23527 mktime: merge another wrapv change from gnulib
23528 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
23529 from some compilers.
23530
68605433
PE
23531 mktime: remove incorrect attempt at unusual arithmetics
23532 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
23533 The code didn't really work on such machines anyway.
23534 (TYPE_MINIMUM): Assume two's complement.
23535 (twos_complement_arithmetic): Verify that long_int and time_t
23536 are two's complement (or unsigned, in the latter case).
23537
03cf7fe3
PE
23538 mktime: check signed shifts on long_int and time_t, too
23539 * time/mktime.c (SHR): Check that shifts work as desired
23540 on the types long_int and time_t too, as SHR is used on
23541 such types.
23542
f04dfbc2
PE
23543 mktime: do not assume 'long' is wide enough
23544 * time/mktime.c (verify): Move decl up.
23545 (long_int): New type.
23546 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
23547 to remove assumption in the code that 'long' is wide enough to
23548 store year values. This assumption is not true on x32 and on
23549 some non-glibc platforms.
23550
62bdf9a6
PE
23551 mktime: merge wrapv change from gnulib
23552 * time/mktime.c (WRAPV): New macro.
23553 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
23554 (guess_time_tm, __mktime_internal): Do not assume that signed
23555 integer overflow wraps around; modern compilers generate code
23556 where this assumption is no longer valid.
23557
5e292e4f
L
235582012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23559
23560 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23561 Replace "jmp L(pseudo_end)" with "ret".
23562 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
23563 Likewise.
23564
8caf8c87
AJ
235652012-05-23 Andreas Jaeger <aj@suse.de>
23566
23567 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
23568 * sysdeps/unix/sysv/linux/poll.c: Remove file.
23569
1a09dc56
AJ
235702012-05-23 Andreas Jaeger <aj@suse.de>
23571 Maximilian Attems <max@stro.at>
23572
23573 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
23574 New macros.
23575
1c87aba0
L
235762012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23577
23578 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
23579 code so that pseudo_end is just ret and the stack pointer is
23580 correct also for static library in error case.
23581
40e45bd5
JM
235822012-05-23 Joseph Myers <joseph@codesourcery.com>
23583
c2670533
JM
23584 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
23585 move to syscalls.list.
23586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
23587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
23588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
23589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
23590
40e45bd5
JM
23591 * manual/install.texi (Running make install): Do not mention Linux
23592 kernel version for which pt_chown is not needed.
23593 (Linux): Do not mention problems with nscd with 2.0 kernels.
23594 * INSTALL: Regenerated.
23595
be08eda5
AJ
235962012-05-23 Andreas Jaeger <aj@suse.de>
23597
23598 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
23599 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
23600 macro.
23601 * sysdeps/unix/sysv/linux/s390/bits/mman.h
23602 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23603 * sysdeps/unix/sysv/linux/sh/bits/mman.h
23604 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23605 * sysdeps/unix/sysv/linux/i386/bits/mman.h
23606 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23607 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
23608 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23609 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
23610 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23611 * sysdeps/unix/sysv/linux/bits/in.h
23612 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
23613
a6a056bb
RM
236142012-05-22 Roland McGrath <roland@hack.frob.com>
23615
23616 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
23617 (PREPARE_VERSION): Just use assert instead, it will be elided
23618 under [NDEBUG] anyway.
23619
c9009328
L
236202012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23621
23622 * sysdeps/unix/sysv/linux/Makefile: Include
23623 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 23624 (sysdep_routines): Remove sysctl.
c9009328
L
23625 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
23626 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
23627 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
23628 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
23629 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
23630
73338355
AJ
236312012-05-22 Andreas Jaeger <aj@suse.de>
23632
23633 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
23634 that pseudo_end is just ret and the stack pointer is correct also
23635 for static library in error case.
23636
d44638b0
PP
236372012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
23638
23639 [BZ #14122]
23640 * nss/nsswitch.c (defconfig_entries): New variable.
23641 (__nss_database_lookup): Don't leak defconfig entries.
23642 (nss_parse_service_list): Don't leak on error paths.
23643 (free_database_entries): New function.
23644 (free_defconfig): New function.
23645 (free_mem): Move common code to free_database_entries.
23646
31a39bd8
L
236472012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23648
da0331a8
L
23649 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
23650 Add arch_prctl.
23651 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
23652
31a39bd8
L
23653 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23654 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
23655 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
23656 New macro.
23657 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
23658 (INTERNAL_SYSCALL_TYPES): Likewise.
23659 (LOAD_ARGS_TYPES_[1-6]): Likewise.
23660 (LOAD_REGS_TYPES_[1-6]): Likewise.
23661 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
23662 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
23663
45470df3
AZ
236642012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23665
23666 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
23667 copysignl for GLIBC_2_0.
23668 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
23669 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
23670 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
23671 logbl for GLIBC_2_0.
23672 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
23673 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
23674
98a61bcb
L
236752012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23676
a4f6e481
L
23677 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
23678 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23679
f63d5db6
L
23680 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23681 Use "neg %eax".
23682
98a61bcb
L
23683 * time/mktime.c: Update copyright years.
23684
95770f14
PE
236852012-05-22 Paul Eggert <eggert@cs.ucla.edu>
23686
6226efbd
PE
23687 mktime: merge comment-quoting-style change from gnulib
23688 * time/mktime.c: Quote 'like this' in comments.
23689 The GNU coding standards suggest that we no longer quote `like this',
23690 as "`" and "'" are typically rendered asymmetrically nowadays.
23691 The typical gnulib style is to quote 'like this' when quoting
23692 code, and "like this" when quoting English.
23693
b99e4f78
PE
23694 * time/mktime.c (compile-command): Add "-I.".
23695
643e01e6
PE
23696 mktime: merge mktime-internal.h change from gnulib
23697 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
23698
2554247d
PE
23699 mktime: merge time_r change from gnulib
23700 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
23701
826dd0ab
PE
23702 mktime: merge DEBUG change from gnulib
23703 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
23704 case system <time.h> has a #define.
23705
bd83aabe
PE
23706 mktime: merge <sys/types.h> change from gnulib
23707 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
23708 since <time.t> is now guaranteed to define time_t.
23709
95770f14
PE
23710 mktime: merge HAVE_CONFIG_H change from gnulib
23711 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
23712
5e1a27a9
L
237132012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23714
0e44a77e
L
23715 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23716 Use "neg %eax".
23717
5e1a27a9
L
23718 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
23719 __rlim_t cast.
23720 (struct rusage): Use anonymous union to pad each field to
23721 __syscall_slong_t.
23722
46259bec
DM
237232012-05-21 David S. Miller <davem@davemloft.net>
23724
23725 * Makefules (o-iterator): Remove .s cases.
23726 (compile-command.s): Delete.
23727 (COMPILE.s): Delete.
23728 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
23729
59f0c22e
JM
237302012-05-21 Joseph Myers <joseph@codesourcery.com>
23731
23732 * configure.in (libc_cv_predef_stack_protector): Only consider
23733 "foobar" and "__stack_chk_fail" lines in libc_undefs.
23734 * configure: Regenerated.
23735
20c07380
L
237362012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23737
bbb3154b
L
23738 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23739 New macro. Use R*LP on int and pointer.
23740 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
23741 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
23742 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
23743 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
23744
20c07380
L
23745 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
23746 [__WORDSIZE_TIME64_COMPAT32] instead of
23747 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
23748 (struct utmp): Likewise.
23749 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
23750 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
23751 Renamed to ...
23752 (__WORDSIZE_TIME64_COMPAT32): This.
23753 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
23754 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
23755 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
23756 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
23757 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
23758 (__WORDSIZE_TIME64_COMPAT32): New macro.
23759
d8d1017e
AJ
237602012-05-21 Andreas Jaeger <aj@suse.de>
23761
23762 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
23763 only if [SHARED]. Add prototype for __wcschr_ia32.
23764
6c7fb145
RM
237652012-05-21 Roland McGrath <roland@hack.frob.com>
23766
23767 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
23768 of %rbp unmolested in the jmp_buf while mangling the low bits.
23769 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
23770 unmolested high bits of %rbp while demangling the low bits.
23771 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
23772
66274218
AJ
237732012-05-21 Andreas Jaeger <aj@suse.de>
23774
07c58f8f
AJ
23775 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
23776 * sunrpc/svc_simple.c: Use it for registerrpc.
23777 * sunrpc/xcrypt.c: Use it for passwd2des.
23778
66274218
AJ
23779 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
23780
61f65140
L
237812012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23782
23783 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
23784 Don't define if [__SYSCALL_WORDSIZE != 32].
23785 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
23786 New macro.
23787
5fefb436
AJ
237882012-05-21 Bruno Haible <bruno@clisp.org>
23789 Andreas Jaeger <aj@suse.de>
23790
23791 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
23792 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
23793 inptr and inend for must_buffer_ch.
23794 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
23795 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
23796 * stdio-common/Makefile (tests): Remove bug15.
23797 (bug15-ENV): Remove macro.
23798 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
23799 anymore.
23800
d8e272ab
AJ
238012012-05-19 Andreas Jaeger <aj@suse.de>
23802 Roland McGrath <roland@hack.frob.com>
23803
23804 * manual/contrib.texi: Completely rewritten. It contains now an
23805 alphabetical list of contributors and their contributions.
23806
4a56a162
RH
238072012-05-21 Richard Henderson <rth@twiddle.net>
23808
23809 * misc/getauxval.c (__getauxval): Use unsigned long int.
23810 * misc/sys/auxv.h: Include <sys/cdefs.h>.
23811 (getauxval): Use unsigned long int.
23812
d024d23c
L
238132012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23814
23815 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23816
cbc00a03
RM
238172012-05-21 Roland McGrath <roland@hack.frob.com>
23818
23819 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
23820 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
23821 __alignof__ (long double).
23822
478143fa
AZ
238232012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23824
23825 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23826
c7683a6d
RH
238272012-05-20 Richard Henderson <rth@twiddle.net>
23828
23829 * misc/getauxval.c: New file.
23830 * misc/sys/auxv.h: New file.
23831 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
23832 (routines): Add getauxval.
23833 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
23834 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
23835 * elf/dl-sysdep.c (_dl_auxv): Remove.
23836 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
23837 * elf/dl-support.c (_dl_auxv): New variable.
23838 (_dl_aux_init): Initialize it.
23839 * manual/startup.texi (Auxiliary Vector): New node.
23840 * sysdeps/generic/bits/hwcap.h: New file.
23841 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
23842 * sysdeps/powerpc/sysdep.h: ... here. Include it.
23843 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
23844 * sysdeps/sparc/sysdep.h: ... here. Include it.
23845 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
23846 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
23847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23848 Update.
c7683a6d
RH
23849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
23850 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
23851 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
23852 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
23853 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23854 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23855 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
23856 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
23857
a6f1845d
AZ
238582012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23859
23860 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23861
cbcbe830
DM
238622012-05-19 David S. Miller <davem@davemloft.net>
23863
23864 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23865
e0b16cc2
JM
238662012-05-19 Joseph Myers <joseph@codesourcery.com>
23867
23868 [BZ #14123]
23869 * math/s_ccosh.c: Include <float.h>
23870 (__ccosh): Avoid internal overflow calculating sinh and cosh
23871 values before multiplying by sin and cos values.
23872 * math/s_ccoshf.c: Likewise.
23873 * math/s_ccoshl.c: Likewise.
23874 * math/s_csin.c: Likewise.
23875 * math/s_csinf.c: Likewise.
23876 * math/s_csinl.c: Likewise.
23877 * math/s_csinh.c: Likewise.
23878 * math/s_csinhf.c: Likewise.
23879 * math/s_csinhl.c: Likewise.
23880 * math/libm-test.inc (ccos_test): Add more tests.
23881 (ccosh_test): Likewise.
23882 (csin_test): Likewise.
23883 (csinh_test): Likewise.
23884 * sysdeps/i386/fpu/libm-test-ulps: Update.
23885 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23886
6ad13e08
L
238872012-05-19 H.J. Lu <hongjiu.lu@intel.com>
23888
f66f0ce8
L
23889 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
23890 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
23891
6ad13e08
L
23892 * sysdeps/x86_64/x32/_itoa.h: Add comment.
23893
b1d072a7
JM
238942012-05-19 Joseph Myers <joseph@codesourcery.com>
23895
23896 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
23897 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
23898 * sysdeps/powerpc/soft-fp/Versions: Likewise.
23899 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
23900 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
23901 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
23902 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
23903 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
23904 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
23905 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
23906 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
23907 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
23908 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
23909 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
23910 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
23911 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
23912 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
23913 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
23914 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
23915 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
23916 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
23917 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
23918 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
23919 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
23920 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
23921 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
23922 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
23923 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
23924 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
23925 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
23926 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
23927
9eae47cb
AJ
239282012-05-18 Andreas Jaeger <aj@suse.de>
23929
23930 * csu/.gitignore: Delete.
23931
bb07f69f
L
239322012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23933
23934 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
23935 (timex): Use __syscall_slong_t.
23936
e6bdb741
AJ
239372012-05-18 Andreas Jaeger <aj@suse.de>
23938 Carlos O'Donell <carlos_odonell@mentor.com>
23939
23940 * manual/install.texi (Configuring and compiling): Update
23941 description about files modified in the source directory.
d6c33fda 23942 * INSTALL: Regenerated.
e6bdb741 23943
1b74487e
L
239442012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23945
23946 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
23947 value. Use "or" to set return value to -1.
23948 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
23949 negate return value.
23950
a88b64b9
TMQMF
239512012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23952
23953 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
23954 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
23955 failure if the compiler has Graphite support disabled.
23956 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
23957 Likewise.
23958 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
23959 CFLAGS-memmove.c): Likewise.
23960 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
23961 Likewise.
23962
3707636e
L
239632012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23964
610b8622
L
23965 * sysdeps/x86_64/x32/_itoa.h: New file.
23966
7cd195df
L
23967 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
23968 getdents system call only if kernel and user dirents have the
23969 same d_ino and d_off.
23970
94b07d20
L
23971 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
23972 LLONG_MAX != LONG_MAX.
23973 (_itoa_word): Use _ITOA_WORD_TYPE on value.
23974 (_fitoa_word): Likewise.
23975
18298070
L
23976 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
23977 years.
23978 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
23979 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
23980 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
23981
553c7ea4
L
23982 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
23983 include <bits/wordsize.h>. Check __x86_64__ instead of
23984 __WORDSIZE.
23985 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
23986 if __x86_64__ is defined. Use anonymous union on fpstate.
23987
3707636e
L
23988 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
23989 anonymous union.
23990
b53ef01a
AS
239912012-05-18 Andreas Schwab <schwab@linux-m68k.org>
23992
37fb1dc0
AS
23993 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
23994 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
23995 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
23996 Refer to _rtld_local_ro instead of _rtld_global_ro.
23997 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
23998 Likewise.
23999 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
24000 Likewise.
24001 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
24002 Likewise.
24003 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
24004 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
24005 of _rtld_global, and rtld_progname instead of _dl_argv[0].
24006
b53ef01a
AS
24007 * sysdeps/powerpc/powerpc32/dl-machine.c
24008 (__elf_machine_runtime_setup) [PROF]: Don't reference
24009 _dl_prof_resolve.
24010
7a185db2
AJ
240112012-05-18 Andreas Jaeger <aj@suse.de>
24012
24013 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
24014 function only available for GCCs before 3.4 since GCC 3.4
24015 introduced a builtin.
24016 (lrint): Likewise.
24017 (llrintf): Likewise.
24018 (llrint): Likewise.
24019 (fmaxf): Likewise.
24020 (fmax): Likewise.
24021 (fminf): Likewise.
24022 (fmin): Likewise.
24023 (rint): Likewise.
24024 (rintf): Likewise.
24025 (nearbyint): Likewise.
24026 (nearbyintf): Likewise.
24027 (ceil): Likewise.
24028 (ceilf): Likewise.
24029 (floor): Likewise.
24030 (floorf): Likewise.
24031
3e5aef87
L
240322012-05-17 H.J. Lu <hongjiu.lu@intel.com>
24033
428bd707
L
24034 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
24035 on both fields and cast pointer to __syscall_ulong_t.
24036
3e5aef87
L
24037 * bits/types.h (__fsword_t): New type.
24038 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
24039 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
24040 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24041 (__FSWORD_T_TYPE): Likewise.
24042 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24043 (__FSWORD_T_TYPE): Likewise.
24044 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24045 (__FSWORD_T_TYPE): Likewise.
24046 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
24047 (__FSWORD_T_TYPE): Likewise.
24048 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
24049 __SWORD_TYPE with __fsword_t.
24050 (statfs64): Likewise.
24051
1ba7c3dc
DM
240522012-05-17 David S. Miller <davem@davemloft.net>
24053
24054 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
24055
59910343
AJ
240562012-05-17 Andreas Jaeger <aj@suse.de>
24057
24058 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
24059 warning.
24060
2e4c1e9e
L
240612012-05-17 H.J. Lu <hongjiu.lu@intel.com>
24062
24063 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
24064
de7f5ce7
AJ
240652012-05-17 Andreas Jaeger <aj@suse.de>
24066
24067 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
24068 when it is used.
24069
286abc3d
CM
240702012-05-17 Chris Metcalf <cmetcalf@tilera.com>
24071
24072 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
24073
477cc68e
L
240742012-05-17 H.J. Lu <hongjiu.lu@intel.com>
24075
24076 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
24077 * sysdeps/x86_64/tst-mallocalign1.c: New file.
24078
1a0994f5
CD
240792012-05-17 Andreas Jaeger <aj@suse.de>
24080 Carlos O'Donell <carlos_odonell@mentor.com>
24081
24082 [BZ #14059]
24083 * sysdeps/x86_64/multiarch/init-arch.h
24084 (bit_YMM_Usable): Rename to...
24085 (bit_AVX_Usable): ... this.
24086 (bit_FMA4_Usable): New macro.
24087 (bit_XMM_state): New macro.
24088 (bit_YMM_state): New macro.
24089 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
24090 [__ASSEMBLER__] (index_AVX_Usable): ... this.
24091 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
24092 (CPUID_OSXSAVE): New macro.
24093 (CPUID_AVX): New macro.
24094 (CPUID_FMA4): New macro.
24095 (index_YMM_Usable): Rename to...
24096 (index_AVX_Usable): ... this.
24097 (HAS_AVX): Use HAS_ARCH_FEATURE.
24098 (HAS_FMA4): Likewise.
24099 (HAS_YMM_USABLE): Remove.
24100 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24101 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
24102 are present.
24103 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
24104 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
24105 * sysdeps/x86_64/multiarch/Makefile: Likewise.
24106 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
24107 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
24108
0af797de
CM
241092012-05-17 Chris Metcalf <cmetcalf@tilera.com>
24110
24111 * math/libm-test.c: Support platforms without multiple rounding modes.
24112 * math/bug-nextafter.c: Support platforms without FP exceptions.
24113 * math/bug-nexttoward.c: Likewise.
24114 * math/test-fenv.c: Likewise.
24115 * math/test-misc.c: Likewise.
24116 * stdlib/bug-getcontext.c: Likewise.
24117
e39745ff
AJ
241182012-05-17 Andreas Jaeger <aj@suse.de>
24119
24120 * manual/examples/search.c (critter_cmp): Change signature to
24121 avoid warnings.
24122 * manual/string.texi (Collation Functions): Likewise.
24123
48970aba
L
241242012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24125
24126 * bits/types.h: Fold copyright years.
24127 * bits/typesizes.h: Likewise.
24128 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
24129 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
24130 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
24131 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
24132 * time/time.h: Likewise.
24133
bedee953
PP
241342012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
24135
24136 [BZ #208]
24137 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
24138 in instead of returning them. Return void.
24139 (__libc_mallinfo): Accumulate over all arenas.
24140 (__malloc_stats): Adjust for change in int_mallinfo interface.
24141
61653dfb
RM
241422012-05-16 Roland McGrath <roland@hack.frob.com>
24143
30b99d79
RM
24144 [BZ #10375]
24145 * configure.in (NM): Add AC_CHECK_TOOL for it.
24146 (libc_extra_cflags): New substituted variable.
24147 Check for -fstack-protector being used implicitly.
24148 * configure: Regenerated.
24149 * config.make.in (config-extra-cflags): New variable,
24150 gets @libc_extra_cflags@.
24151 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
24152
61653dfb
RM
24153 [BZ #10375]
24154 * configure.in: Check for _FORTIFY_SOURCE being predefined.
24155 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
24156 * configure: Regenerated.
24157 * config.make.in (CPPUNDEFS): New substituted variable.
24158 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
24159 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
24160 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
24161
661768bb
L
241622012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24163
24164 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
24165 (mq_attr): Use __syscall_slong_t.
24166
d4261567
L
241672012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24168
24169 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
24170 Check __x86_64__ instead of __WORDSIZE.
24171 (_STAT_VER_LINUX): Likewise.
24172 (stat): Check __x86_64__ instead of __WORDSIZE. Use
24173 __syscall_ulong_t and __syscall_slong_t.
24174 (stat64): Likewise.
24175
cf3ff365
L
241762012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24177
24178 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
24179
76cf3e4d
L
241802012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24181
24182 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
24183
a637753a
L
241842012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24185
24186 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
24187 __syscall_ulong_t.
24188
d5e05119
L
24189 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
24190 include <bits/wordsize.h>. Check __x86_64__ instead of
24191 __WORDSIZE.
24192 (greg_t): Use "__extension__ long long int" if __x86_64__ is
24193 defined.
24194 (mcontext_t): Replace "unsigned long" with "unsigned long long".
24195
f62ee380
L
24196 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
24197 include <bits/wordsize.h>. Check __x86_64__ instead of
24198 __WORDSIZE.
24199 (user_regs_struct): Use "__extension__ unsigned long long"
24200 instead of "unsigned long" if __x86_64__ is defined.
24201 (user): Likewise. Pad after pointer field if __ILP32__ is
24202 defined.
24203
4e124ced
JM
242042012-05-16 Joseph Myers <joseph@codesourcery.com>
24205
6a3951a0
JM
24206 * configure.in (makeinfo): Require version 4.5 or later. Allow
24207 versions 5 to 9.
24208 * configure: Regenerated.
24209 * manual/install.texi (texinfo): Increase version requirement to
24210 4.5 or later.
24211 * INSTALL: Regenerated.
24212
4e124ced
JM
24213 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
24214
953ca31a
L
242152012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24216
24217 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
24218
617aca05
L
24219 * sysdeps/x86_64/x32/ffs.c: New file.
24220
5762f7ae
L
24221 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
24222 __syscall_ulong_t.
24223 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
24224 defined. Use __syscall_ulong_t.
24225 (shminfo): Use __syscall_ulong_t.
24226 (shm_info): Likewise.
24227
a26b6856
L
24228 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
24229 __syscall_ulong_t.
24230
cb2b9ef7
L
24231 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
24232 <bits/wordsize.h>.
24233 (msgqnum_t): Use __syscall_ulong_t.
24234 (msglen_t): Likewise.
24235 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
24236 __syscall_ulong_t.
24237
34683bb0
L
24238 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
24239 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
24240
84a68786
L
24241 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
24242
48baa5f1
L
24243 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
24244 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
24245
180be88b
L
24246 * sysvipc/sys/msg.h (msgbuf): Replace long int with
24247 __syscall_slong_t.
24248
5e90c8ad
L
24249 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
24250 include <bits/wordsize.h>. Check __x86_64__ instead of
24251 __WORDSIZE.
24252
23dfb58b
L
24253 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
24254 "unsigned long long int" if __x86_64__ is defined.
24255 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
24256
ce5d54b0
L
24257 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
24258 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
24259 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
24260
13dc9eac
L
24261 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
24262 <stdint.h>.
24263 (GET_PC): Cast to uintptr_t first.
24264 (GET_FRAME): Likewise.
24265 (GET_STACK): Likewise.
24266
a7895d15
L
24267 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
24268 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
24269 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
24270 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
24271 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
24272 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
24273 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
24274 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
24275 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
24276 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
24277 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
24278 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
24279 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
24280 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
24281 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
24282 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
24283 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
24284 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
24285 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
24286 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
24287 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
24288 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
24289 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
24290 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
24291 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
24292 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
24293 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
24294 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
24295 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
24296
656416c9
AS
242972012-05-16 Andreas Schwab <schwab@linux-m68k.org>
24298
5bd66283
AS
24299 * Makerules (+depfiles): Also collect depfiles from .oS in
24300 $(extra-objs).
24301 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
24302 .oS, $(libnldbl-routines)).
24303
656416c9
AS
24304 * Makerules (native-compile-mkdep-flags): Define.
24305 * sunrpc/Makefile (extra-objs): Add $(addprefix
24306 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
24307 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
24308 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
24309 calling $(make-target-directory).
24310
a46f2169
L
243112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24312
24313 * bits/types.h (__snseconds_t): Removed.
24314 * time/time.h (struct timespec): Replace __snseconds_t with
24315 __syscall_slong_t.
24316 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
24317 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
24318 Likewise.
24319 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24320 (__SNSECONDS_T_TYPE): Likewise.
24321 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24322 (__SNSECONDS_T_TYPE): Likewise.
24323 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24324 (__SNSECONDS_T_TYPE): Likewise.
24325
6af6528b
L
243262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24327
24328 * sysdeps/mach/hurd/bits/typesizes.h
24329 (__SYSCALL_SLONG_TYPE): New macro.
24330 (__SYSCALL_ULONG_TYPE): Likewise.
24331
de986b56
L
243322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24333
24334 * bits/types.h (__syscall_slong_t): New type.
24335 (__syscall_ulong_t): Likewise.
24336
24337 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
24338 (__SYSCALL_ULONG_TYPE): Likewise.
24339 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24340 (__SYSCALL_SLONG_TYPE): Likewise.
24341 (__SYSCALL_ULONG_TYPE): Likewise.
24342 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24343 (__SYSCALL_SLONG_TYPE): Likewise.
24344 (__SYSCALL_ULONG_TYPE): Likewise.
24345 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24346 (__SYSCALL_SLONG_TYPE): Likewise.
24347 (__SYSCALL_ULONG_TYPE): Likewise.
24348
85736dc7
L
243492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24350
24351 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
24352 Add sigaltstack-offsets.sym.
24353 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
24354 <sigaltstack-offsets.h>.
24355 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
24356 longjmp_msg pointer.
24357 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
24358 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
24359 signal stack.
24360 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
24361
cc03b296
JM
243622012-05-15 Joseph Myers <joseph@codesourcery.com>
24363
a9538892
JM
24364 * elf/stackguard-macros.h: Remove file.
24365 * sysdeps/generic/stackguard-macros.h: New file.
24366 * sysdeps/i386/stackguard-macros.h: Likewise.
24367 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
24368 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
24369 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
24370 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
24371 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
24372 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
24373 * sysdeps/x86_64/stackguard-macros.h: Likewise.
24374 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
24375 <elf/stackguard-macros.h>.
24376
cc03b296
JM
24377 [BZ #14109]
24378 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
24379 __aligned__ in attribute.
24380 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
24381 (gregset_t): Likewise.
24382
93171016
L
243832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24384
24385 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
24386 * sysdeps/x86_64/64/Implies-after: Here. New file.
24387 * sysdeps/x86_64/x32/Implies-after: New file.
24388
d86813a0
L
243892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24390
24391 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
24392 and access return value for _dl_profile_fixup. Use R10_LP to
24393 load frame size.
24394
2953ec75
L
243952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24396
24397 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
24398
3b550e9e
L
243992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24400
24401 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
24402 * sysdeps/x86_64/x32/sysdep.h: New file.
24403
eda41706
L
244042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24405
24406 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
24407 * sysdeps/x86_64/setjmp.S: Likewise.
24408
9ea01d93
AZ
244092012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24410
24411 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
24412 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
24413 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
24414 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
24415 remove unused global constant.
24416
02a91938
CM
244172012-05-15 Chris Metcalf <cmetcalf@tilera.com>
24418
24419 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
24420 include of <not-cancel.h>.
24421
6540185f
RM
244222012-05-15 Roland McGrath <roland@hack.frob.com>
24423
24424 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
24425
509072a0
AJ
244262012-05-15 Jeff Law <law@redhat.com>
24427 Andreas Jaeger <aj@suse.de>
24428
24429 [BZ #13594]
24430 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
24431 out from...
24432 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
24433 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
24434 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
24435 code changing __hst_map_handle.map.
24436
ba75122d
RM
244372012-05-15 Roland McGrath <roland@hack.frob.com>
24438
24439 * configure.in (sysnames): Look for Implies-before and Implies-after
24440 files.
24441 * configure: Regenerated.
24442
890d8bd8
L
244432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24444
24445 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
24446 8-byte data alignment with LP_SIZE alignment.
24447
f6ee6623
L
244482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24449
24450 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
24451 into R10_LP.
24452
ea2626f6
L
244532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24454
24455 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
24456
085f715e
L
244572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24458
24459 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
24460 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
24461 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
24462 Likewise.
24463 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
24464
be8498fc
L
244652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24466
24467 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
24468 (stackinfo_sub_sp): Likewise.
24469
70bc83b9
L
244702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24471
24472 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
24473 RAX_LP.
24474
9bc0b730
L
244752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24476
24477 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
24478 into R*_LP.
24479
6d2850e7
L
244802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24481
24482 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
24483 sizes into R*_LP.
24484
3cb84561
L
244852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24486
24487 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
24488
54e2ed81
L
244892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24490
24491 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
24492 into R11_LP and load __x86_64_shared_cache_size_half into
24493 R8_LP.
24494
8a17f349
L
244952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24496
24497 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
24498 R8_LP.
24499
777b1eea
AZ
245002012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24501
24502 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
24503 logb for POWER7.
24504 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
24505 logbf for POWER7.
24506 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
24507 logbl for POWER7.
24508 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
24509 powerpc32/power7/fpu/s_logb.c via #include.
24510 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
24511 powerpc32/power7/fpu/s_logbf.c via #include.
24512 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
24513 powerpc32/power7/fpu/s_logbl.c via #include.
24514
d20d4ac2
JM
245152012-05-15 Joseph Myers <joseph@codesourcery.com>
24516
24517 * README.libm: Remove file.
24518
6cdef1ab
L
245192012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24520
24521 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
24522 count for x32. Use R*_LP and omit operand-size suffix.
24523
0b254d8f
L
245242012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24525
24526 * shlib-versions: Move x86_64-.*-linux.* entries to ...
24527 * sysdeps/x86_64/64/shlib-versions: Here. New file.
24528 * sysdeps/x86_64/x32/shlib-versions: New file.
24529
ceb809dc
RM
245302012-05-14 Roland McGrath <roland@hack.frob.com>
24531
24532 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
24533 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
24534 Use _dl_fatal_printf instead.
24535
37f1abd4
JM
245362012-05-14 Joseph Myers <joseph@codesourcery.com>
24537
24538 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
24539 set if not set by the user. Do not allow for being unset.
24540 * sysdeps/unix/sysv/linux/configure: Regenerated.
24541
11de3a33
L
245422012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24543
24544 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
24545 the `q' suffix from lea and replace .quad with ASM_ADDR.
24546
e02f153a
L
245472012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24548
24549 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
24550 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
24551 instead of $17.
24552 (PTR_DEMANGLE): Likewise.
24553
520ae0fd
L
245542012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24555
24556 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
24557 (LP_OP): Likewise.
24558 (ASM_ADDR): Likewise.
24559 (RAX_LP): Likewise.
24560 (RBP_LP): Likewise.
24561 (RBX_LP): Likewise.
24562 (RCX_LP): Likewise.
24563 (RDI_LP): Likewise.
24564 (RSI_LP): Likewise.
24565 (RSP_LP): Likewise.
24566 (R8_LP): Likewise.
24567 (R9_LP): Likewise.
24568 (R10_LP): Likewise.
24569 (R10_LP): Likewise.
24570 (R11_LP): Likewise.
24571 (R12_LP): Likewise.
24572 (R13_LP): Likewise.
24573 (R14_LP): Likewise.
24574 (R15_LP): Likewise.
24575
b985be81
L
245762012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24577
24578 * sysdeps/x86_64/x32/dl-machine.h: New file.
24579
6a4888ff
AJ
245802012-05-14 Andreas Jaeger <aj@suse.de>
24581
24582 * manual/Makefile (subdir): Remove export of subdir.
24583 (all): Remove target.
24584 (.PHONY): Remove all from list.
24585 (mkinstalldirs): Remove.
24586 (.PHONY): Remove installdirs from list.
24587 ($(inst_infodir)/libc.info): Use make-target-directory.
24588 (installdirs): Remove.
24589 (subdir_%): Remove.
24590 (glibc-targets): Remove.
24591 (lib): Remove.
24592 (stubs): Remove.
24593 ($(objpfx)stubs ../po/manual.pot): Remove.
24594 ($(objpfx)stamp%): Remove.
24595 (make-target-directory): Remove.
24596 (subdir_install): Remove.
24597 (routines): Remove.
24598 (aux): Remove.
24599 (sources): Remove.
24600 (objects): Remove.
24601 (headers): Remove.
24602
24603 [BZ #13750]
24604 * manual/.gitignore: Remove, it's not needed anymore.
24605 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
24606 all files in it.
24607 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
24608 directory.
24609 (texis): Renamed to $(objpfx)texis.
24610 (texis-path): New, contains path to generated files.
24611 (chapters.%): Use texis-path for complete path, add extra argument
24612 libc-texinfo.sh.
24613 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
24614 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
24615 (summary,texi, stamp-summary): Use complete path of
24616 files. Generate files in build dir.
24617 (dir-add.texi): Build in build dir.
24618 (libm-err.texi,stamp-libm-err): Likewise.
24619 (version.texi, stamp-version): Likewise.
24620 (.%c.texi): Likewise.
24621 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
24622 (mostlyclean): Remove target.
24623 (realclean): Remove target.
24624 (generated): Add new variable with contents from mostlyclean and
24625 realclean, remove entries duplicated in common-mostlyclean, add
24626 stamp-libm-err and stamp-version.
24627 (generated-dirs): Add libc directory.
24628 ($(inst_infodir)/libc.info): Install files from build dir.
24629
24630 * manual/install.texi (Configuring and compiling): Adjust since
24631 the info files are not part of the tar ball anymore.
24632
7ac77294
AJ
246332012-05-14 Andreas Jaeger <aj@suse.de>
24634
24635 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
24636 variable.
24637
ffb7875d
JM
246382012-05-14 Joseph Myers <joseph@codesourcery.com>
24639
24640 [BZ #13717]
24641 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
24642 to 2.2.0 where earlier.
24643 * sysdeps/unix/sysv/linux/configure: Regenerated.
24644 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
24645 Remove conditional code.
24646 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
24647 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
24648 Remove conditional code.
24649 [!__NR_lchown]: Likewise.
24650 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24651 [__NR_lchown]: Likewise.
24652 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
24653 comment referencing __ASSUME_LCHOWN_SYSCALL.
24654 * sysdeps/unix/sysv/linux/i386/sigaction.c
24655 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24656 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24657 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
24658 Remove conditional code.
24659 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
24660 (__protocol_available): Remove #if 0 code.
24661 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
24662 conditional code.
24663 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
24664 * sysdeps/unix/sysv/linux/kernel-features.h
24665 (__ASSUME_GETCWD_SYSCALL): Don't define.
24666 (__ASSUME_REALTIME_SIGNALS): Likewise.
24667 (__ASSUME_PREAD_SYSCALL): Likewise.
24668 (__ASSUME_PWRITE_SYSCALL): Likewise.
24669 (__ASSUME_POLL_SYSCALL): Likewise.
24670 (__ASSUME_LCHOWN_SYSCALL): Likewise.
24671 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
24672 non-SPARC.
24673 (__ASSUME_SIOCGIFNAME): Don't define.
24674 (__ASSUME_MSG_NOSIGNAL): Likewise.
24675 (__ASSUME_SENDFILE): Define unconditionally.
24676 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
24677 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
24678 conditional code.
24679 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
24680 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
24681 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24682 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24683 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
24684 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24685 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
24687 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24688 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
24690 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24691 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
24693 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24694 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
24696 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24697 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
24699 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24700 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
24702 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24703 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
24705 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24706 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
24708 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24709 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24710 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
24711 Remove conditional code.
24712 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24713 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24714 Remove conditional code.
24715 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24716 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
24717 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
24718 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24719 Remove conditional code.
24720 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24721 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
24722 Remove conditional code.
24723 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24724 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
24725 Remove conditional code.
24726 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24727 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24728 Remove conditional code.
24729 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24730 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24731 Remove conditional code.
24732 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24733 * sysdeps/unix/sysv/linux/sh/pwrite64.c
24734 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24735 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24736 * sysdeps/unix/sysv/linux/sigaction.c
24737 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24738 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24739 * sysdeps/unix/sysv/linux/sigpending.c
24740 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24741 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24742 * sysdeps/unix/sysv/linux/sigprocmask.c
24743 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24744 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24745 * sysdeps/unix/sysv/linux/sigsuspend.c
24746 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24747 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24748 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
24749 (__libc_missing_rt_sigs): Remove.
24750 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
24751 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
24752 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
24753 Remove conditional code.
24754 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
24755 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
24756 return 1.
24757 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
24758 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
24759 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
24760 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
24761
1bfb7291
AJ
247622012-05-14 Andreas Jaeger <aj@suse.de>
24763
caae5a81
AJ
24764 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
24765 it's not used in glibc.
24766 (__coshm1): Likewise.
24767 (__acosh1p): Likewise.
24768 (__sgn): Likewise.
24769
1bfb7291
AJ
24770 * manual/string.texi (Copying and Concatenation): Add missing
24771 variable in concat example.
24772 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
24773
c044d724
L
247742012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24775
144c5467 24776 [BZ #14103]
c044d724
L
24777 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
24778 __builtin_clzl with __builtin_clzll.
24779
2523c62b
L
247802012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24781
24782 [BZ #14104]
24783 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
24784 libc_freeres_ptr.
24785
d7bb4c42
LD
247862012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24787
24788 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
24789 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
24790 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
24791 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
24792
9dc4e1fb
MF
247932012-05-14 Mike Frysinger <vapier@gentoo.org>
24794
24795 * NEWS: Update ia64 info.
24796
c7df0112
AS
247972012-05-12 Andreas Schwab <schwab@linux-m68k.org>
24798
24799 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
24800 used as bcopy.
24801
dc70356c
TS
248022012-05-12 Thomas Schwinge <thomas@codesourcery.com>
24803
24804 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
24805 * sysdeps/unix/syscalls.list (dup3): Likewise.
24806 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
24807 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
24808
9fb1a21f
L
248092012-05-11 H.J. Lu <hongjiu.lu@intel.com>
24810
24811 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
24812 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
24813
4822a2a5
L
248142012-05-11 H.J. Lu <hongjiu.lu@intel.com>
24815
24816 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
24817 thread pointer.
24818 (TLS_IE): Use mov/add instead of movq/addq to load thread
24819 pointer.
24820 (TLS_GD_PREFIX): New.
24821 (TLS_GD): Use it.
24822
842b81d6
DM
248232012-05-11 David S. Miller <davem@davemloft.net>
24824
24825 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
24826 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
24827 (_FPU_SETCW): Likewise.
24828
1cf463cd
L
248292012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24830
24831 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
24832 is 32-byte aligned.
24833
60cc4a18
AS
248342012-05-11 Andreas Schwab <schwab@linux-m68k.org>
24835
24836 [BZ #11837]
24837 * iconvdata/gb18030.c: Update tables.
24838 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
24839 characters specially.
24840 (BODY for TO_LOOP): Add encoding of missing ranges.
24841
febb44a4
TS
248422012-05-11 Thomas Schwinge <thomas@codesourcery.com>
24843
24844 [BZ #13673]
24845 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
24846 * sysdeps/mach/hurd/dup3.c: Likewise.
24847 * sysdeps/mach/hurd/readlinkat.c: Likewise.
24848 * sysdeps/powerpc/memmove.c:: Likewise.
24849
0a10fb9e
L
248502012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24851
24852 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
24853 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
24854
df8a552f
L
248552012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24856
24857 * elf/elf.h (R_X86_64_RELATIVE64): New.
24858 (R_X86_64_NUM): Updated.
24859 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24860 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
24861 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
24862 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
24863 tst-quad1pie tst-quad2pie
24864 (modules-names): Add tst-quadmod1 tst-quadmod2.
24865 ($(objpfx)tst-quad1): New dependency.
24866 ($(objpfx)tst-quad2): Likewise.
24867 ($(objpfx)tst-quad1pie): Likewise.
24868 ($(objpfx)tst-quad2pie): Likewise.
24869 * sysdeps/x86_64/tst-quad1.c: New file.
24870 * sysdeps/x86_64/tst-quad1pie.c: New file.
24871 * sysdeps/x86_64/tst-quad2.c: Likewise.
24872 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
24873 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
24874 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
24875 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
24876 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
24877
f34d6f84
ST
248782012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24879
f42d41d1
ST
24880 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
24881 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
24882 * streams/stropts.h (t_scalar_t): Define type.
24883
3c3571fc
ST
24884 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
24885 (_PATH_PRESERVE): Set to "/var/lib".
24886 (_PATH_RWHODIR): Set to "/var/spool/rwho".
24887
61f06bd3
ST
24888 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
24889 instead of int.
24890
918d4d71
ST
24891 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
24892 if __dir_mkfile succeeded.
24893
f34d6f84
ST
24894 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
24895 checking for _hurd_dtablesize. Unlock it right after having
24896 finished _hurd_dtable allocation.
24897
10589b4a
TS
248982012-05-10 Thomas Schwinge <thomas@schwinge.name>
24899
674cdbc7
TS
24900 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
24901 * sysdeps/mach/hurd/configure: Regenerated.
24902 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
24903 special-casing to...
24904 * sysdeps/gnu/configure.in: ... this new file.
24905 * sysdeps/unix/sysv/linux/configure: Regenerated.
24906 * sysdeps/gnu/configure: New generated file.
24907
8e41b99f
TS
24908 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
24909 for Linux: use nsec instead of usec, as well as:
24910 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
24911 members of type struct timespec.
24912 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
24913 New macros.
24914 (struct stat64): Likewise.
24915 (_STATBUF_ST_NSEC): New macro.
24916 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
24917
10589b4a
TS
24918 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
24919 __strtoul_internal rather than strtoul.
24920
63643c85
PT
249212012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24922
24923 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
24924 and reject them.
24925
3faebe6a
ST
249262012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24927
24928 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
24929 which preserves existing values.
24930 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
24931
c6474b07
PT
249322012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24933
24934 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
24935 TIMEOUT values. Return EINVAL for NFDS values either negative or
24936 greater than FD_SETSIZE.
24937
1043890b
ST
249382012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24939
24940 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
24941 allocated, call __vm_protect to finish enabling the existing space, and
24942 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
24943 allocate the remainder.
24944
37ed8b9b
PT
249452012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24946
24947 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
24948 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
24949
db653660
ST
249502012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24951
37ed8b9b
PT
24952 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
24953 sysdeps/mach/hurd/readlink.c.
b29d4053 24954
db653660
ST
24955 * posix/tst-sysconf.c (posix_options): Only use
24956 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
24957 _POSIX_SYNCHRONIZED_IO when they are defined
24958 * sysdeps/mach/hurd/bits/posix_opt.h:
24959 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
24960 (_XOPEN_REALTIME): Undefine macro.
24961 (_XOPEN_REALTIME_THREADS): Undefine macro.
24962 (_XOPEN_SHM): Undefine macro.
24963 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
24964 macro to -1.
24965 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
24966 macro to -1.
24967 (_POSIX_ASYNC_IO): Undefine macro.
24968 (_POSIX_PRIORITIZED_IO): Undefine macro.
24969 (_POSIX_SPIN_LOCKS): Define macro to -1.
24970
ee16e894
ST
24971 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
24972 SA_NODEFER, SA_RESETHAND.
24973 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
24974 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
24975 F_DUPFD_CLOEXEC.
24976
6103ae3b
TS
249772012-05-10 Thomas Schwinge <thomas@schwinge.name>
24978
24979 * elf/Makefile (pldd-modules): Define unconditionally.
24980
80b4e5f3
TS
249812012-05-10 Thomas Schwinge <thomas@schwinge.name>
24982
24983 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
24984
edadcbd6
ST
249852012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24986
24987 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
24988 Return ENOENT when name is empty.
24989 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
24990
80694780
TS
249912012-05-10 Thomas Schwinge <thomas@schwinge.name>
24992
1792c087
TS
24993 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
24994
80694780
TS
24995 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
24996
6b645f0d
ST
249972012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24998
80694780
TS
24999 Fix mlock in all cases except non-readable pages.
25000 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
25001 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 25002
6b645f0d
ST
25003 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
25004 (__mkdir): When path is `/', just fail with EEXIST.
25005 * sysdeps/mach/hurd/mkdirat.c: Likewise.
25006
e468f8a3
TS
250072012-05-10 Thomas Schwinge <thomas@schwinge.name>
25008
25009 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
25010 <sys/uio.h> (for writev).
25011 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
25012 and <sys/param.h> (for MIN).
25013
a4186cff
PT
250142012-05-10 Pino Toscano <toscano.pino@tiscali.it>
25015
25016 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
25017 REQUESTED_TIME. Properly set the remaining time and return EINTR
25018 if interrupted.
25019
510bbf14
TS
250202012-05-10 Thomas Schwinge <thomas@schwinge.name>
25021
25022 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
25023 Depend on against $(link-rpcuserlibs).
25024
5d5722e8
ST
250252012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25026
a4186cff
PT
25027 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
25028 (__libc_stack_end): Do not use attribute_relro.
25029 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
25030 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 25031 to libthread-provided value.
a4186cff
PT
25032 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
25033 attribute_relro.
5d5722e8 25034
37233df9
TS
250352012-05-10 Thomas Schwinge <thomas@schwinge.name>
25036
be971a2b
TS
25037 [BZ #3748]
25038 * bits/libc-lock.h (__libc_once_get): New macro.
25039 * sysdeps/mach/bits/libc-lock.h: Likewise.
25040 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
25041 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
25042 instead of using implementation details.
25043
37233df9
TS
25044 * libio/fileops.c: Unconditionally include <kernel-features.h>.
25045 * libio/freopen.c: Likewise.
25046 * libio/freopen64.c: Likewise.
25047 * misc/syslog.c: Likewise.
25048 * nscd/connections.c: Likewise.
25049 * nscd/netgroupcache.c: Likewise.
25050 * sysdeps/posix/getcwd.c: Likewise.
25051
38de94a5
RM
250522012-05-10 Roland McGrath <roland@hack.frob.com>
25053
25054 * math/w_ilogbf.c: Add #include <limits.h>.
25055
67530489
ST
250562012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25057
a4186cff 25058 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
25059 path instead of returning without unlocking.
25060
67530489
ST
25061 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
25062 immediate-write ioctls.
25063 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
25064
5aa3a74a
TS
250652012-05-10 Thomas Schwinge <thomas@schwinge.name>
25066
18bad2ae
TS
25067 * sysdeps/mach/hurd/i386/init-first.c (init): Use
25068 __builtin_frame_address instead of making assumptions about the
25069 location of the return address relative to DATA. Force early load of
25070 the return address.
25071 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
25072 __builtin_frame_address.
25073
5aa3a74a
TS
25074 dup3 for GNU Hurd.
25075 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
25076 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
25077 implement dup3 and do some further code clean-ups.
25078 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
25079 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
25080
ecd0de9a
ST
250812012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25082
cd9fa985
ST
25083 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
25084
a4186cff
PT
25085 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
25086 HURD_CRITICAL_END around holding _hurd_dtable_lock.
25087 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
25088 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
25089 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
25090 d->port.lock.
802ca5a5 25091
a4186cff
PT
25092 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
25093 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
25094 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 25095
bcf55240
TS
250962012-05-10 Thomas Schwinge <thomas@schwinge.name>
25097
6960eb42
TS
25098 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
25099 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
25100 definitions.
25101
eb43375f
TS
25102 accept4 for GNU Hurd.
25103 * include/sys/socket.h (__libc_accept4): New prototype.
25104 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
25105 to implement __libc_accept4.
25106 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
25107 __libc_accept4.
25108 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
25109
bcf55240
TS
25110 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
25111 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
25112 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
25113 signal-defines.sym.
25114
6178c55b
ST
251152012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25116
a4186cff 25117 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 25118
6f080c2f
TS
251192012-05-10 Thomas Schwinge <thomas@schwinge.name>
25120
25121 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
25122 assertion on O_CLOEXEC flag.
25123 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
25124 * hurd/intern-fd.c: Likewise.
25125 * hurd/port2fd.c: Likewise.
25126
bcfe3a54
ST
251272012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25128
25129 [BZ #3906]
25130 * bits/in.h (IPV6_PKTINFO): Define new macro.
25131 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
25132
89c9aa49
AZ
251332012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25134
25135 [BZ #13954]
25136 [BZ #13955]
25137 [BZ #13956]
25138 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
25139 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
25140 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
25141 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
25142 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25143 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
25144 * math/libm-test.inc (logb_test) : Additional logb tests.
25145
021db4be
AJ
251462012-05-09 Andreas Schwab <schwab@linux-m68k.org>
25147 Andreas Jaeger <aj@suse.de>
25148
25149 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
25150 * configure: Regenerated.
25151 * config.h.in (LINK_OBSOLETE_RPC): New macro.
25152 * config.make.in (link-obsolete-rpc): New substituted variable.
25153 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
25154 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
25155 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
25156 (shared-only-routines): Don't set it under [link-obsolete-rpc],
25157 so that libc.a contains the symbols.
25158 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
25159 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
25160 * sunrpc/auth_none.c: Likewise.
25161 * sunrpc/auth_unix.c: Likewise.
25162 * sunrpc/authdes_prot.c: Likewise.
25163 * sunrpc/authuxprot.c: Likewise.
25164 * sunrpc/clnt_gen.c: Likewise.
25165 * sunrpc/clnt_perr.c: Likewise.
25166 * sunrpc/clnt_raw.c: Likewise.
25167 * sunrpc/clnt_simp.c: Likewise.
25168 * sunrpc/clnt_tcp.c: Likewise.
25169 * sunrpc/clnt_udp.c: Likewise.
25170 * sunrpc/clnt_unix.c: Likewise.
25171 * sunrpc/des_crypt.c: Likewise.
25172 * sunrpc/des_soft.c: Likewise.
25173 * sunrpc/get_myaddr.c: Likewise.
25174 * sunrpc/key_call.c: Likewise.
25175 * sunrpc/key_prot.c: Likewise.
25176 * sunrpc/netname.c: Likewise.
25177 * sunrpc/pm_getmaps.c: Likewise.
25178 * sunrpc/pm_getport.c: Likewise.
25179 * sunrpc/pmap_clnt.c: Likewise.
25180 * sunrpc/pmap_prot.c: Likewise.
25181 * sunrpc/pmap_prot2.c: Likewise.
25182 * sunrpc/pmap_rmt.c: Likewise.
25183 * sunrpc/publickey.c: Likewise.
25184 * sunrpc/rpc_cmsg.c: Likewise.
25185 * sunrpc/rpc_common.c: Likewise.
25186 * sunrpc/rpc_dtable.c: Likewise.
25187 * sunrpc/rpc_prot.c: Likewise.
25188 * sunrpc/rpc_thread.c: Likewise.
25189 * sunrpc/rtime.c: Likewise.
25190 * sunrpc/svc.c: Likewise.
25191 * sunrpc/svc_auth.c: Likewise.
25192 * sunrpc/svc_raw.c: Likewise.
25193 * sunrpc/svc_run.c: Likewise.
25194 * sunrpc/svc_tcp.c: Likewise.
25195 * sunrpc/svc_udp.c: Likewise.
25196 * sunrpc/svc_unix.c: Likewise.
25197 * sunrpc/svcauth_des.c: Likewise.
25198 * sunrpc/xcrypt.c: Likewise.
25199 * sunrpc/xdr.c: Likewise.
25200 * sunrpc/xdr_array.c: Likewise.
25201 * sunrpc/xdr_float.c: Likewise.
25202 * sunrpc/xdr_intXX_t.c: Likewise.
25203 * sunrpc/xdr_mem.c: Likewise.
25204 * sunrpc/xdr_rec.c: Likewise.
25205 * sunrpc/xdr_ref.c: Likewise.
25206 * sunrpc/xdr_sizeof.c: Likewise.
25207 * sunrpc/xdr_stdio.c: Likewise.
25208
b5c086a2
RM
252092012-05-10 Roland McGrath <roland@hack.frob.com>
25210
25211 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
25212 change. Update copyright years.
25213
6d74dd09
JM
252142012-05-10 Joseph Myers <joseph@codesourcery.com>
25215
25216 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
25217
28e72501
MK
252182012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
25219 Joseph Myers <joseph@codesourcery.com>
25220 Paul Pluzhnikov <ppluzhnikov@google.com>
25221
25222 [BZ #14012]
25223 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
25224 requiring rpcgen.
25225 [cross-compiling] (extra-libs): Likewise.
25226 [cross-compiling] (extra-libs-others): Likewise.
25227 [cross-compiling] (librpcsvc-routines): Likewise.
25228 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
25229 [cross-compiling] (omit-deps): Likewise.
25230 (sunrpc-CPPFLAGS): New variable.
25231 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
25232 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
25233 (cross-rpcgen-objs): New variable.
25234 (extra-objs): Append $(cross-rpcgen-objs).
25235 ($(cross-rpcgen-objs)): New rule.
25236 ($(objpfx)cross-rpcgen): Likewise.
25237 (rpcgen-cmd): Define to use $(built-program-file). Expand
25238 comment.
25239 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
25240 ($(objpfx)x%.stmp): Likewise.
25241 * sunrpc/proto.h [IS_IN_build] (_): Define.
25242 [IS_IN_build] (_libc_intl_domainname): Likewise.
25243
c8c59454
L
252442012-05-10 H.J. Lu <hongjiu.lu@intel.com>
25245
25246 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
25247 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
25248 and R_X86_64_TPOFF64.
25249
6f27cd16
JM
252502012-05-10 Joseph Myers <joseph@codesourcery.com>
25251
25252 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
25253 sysdeps/unix/sysv/syscalls.list.
25254 (stime): Likewise.
25255 (utime): Likewise.
25256 * sysdeps/unix/sysv/syscalls.list: Remove file.
25257
02467e1c
PE
252582012-05-10 Paul Eggert <eggert@cs.ucla.edu>
25259
25260 [BZ #3440]
25261 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
25262 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
25263 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
25264 (__LC_IDENTIFICATION): Make these macros useful in #if
25265 expressions, as required by C99.
25266
da392631
AS
252672012-05-10 Andreas Schwab <schwab@linux-m68k.org>
25268
25269 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
25270 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
25271 after this.
25272
8115f29b
L
252732012-05-09 H.J. Lu <hongjiu.lu@intel.com>
25274
25275 * stdlib/longlong.h: Updated from GCC.
25276
bdd74070
AJ
252772012-05-09 Andreas Jaeger <aj@suse.de>
25278
edfe0dbe
AJ
25279 * nscd/nscd.c (run_modes): Make named enum, reorder so that
25280 default is first entry.
25281 (run_mode): Set type.
25282 (main): Remove informal message about syslog.
25283 (options): Fix typo.
25284
bcfe3a54
ST
25285 [BZ #14053]
25286 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 25287 to asm.
bcfe3a54
ST
25288 (lrint): Likewise.
25289 (llrintf): Likewise.
25290 (llrint): Likewise.
25291 (rint): Likewise.
25292 (rintf): Likewise.
25293 (nearbyint): Likewise.
25294 (nearbyintf): Likewise.
bdd74070 25295
91d8d69e
AJ
252962012-05-09 Andreas Jaeger <aj@suse.de>
25297 Pedro Alves <palves@redhat.com>
25298
25299 * nscd/nscd.c (run_mode): Use enum.
25300 (main): Cleanup coding style issue.
25301
bb90b80b
AJ
253022012-05-09 Alexandre Oliva <aoliva@redhat.com>
25303 Andreas Jaeger <aj@suse.de>
25304
bcfe3a54
ST
25305 * nscd/nscd.c (go_background): Replaced with...
25306 (run_mode): ... this.
bb90b80b 25307 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
25308 (options): Add -F --foreground.
25309 (main): Implement it.
25310 (parse_opt): Parse it.
bb90b80b 25311
1a4b75a1
AJ
253122012-05-09 Andreas Jaeger <aj@suse.de>
25313
25314 [BZ #14083]
25315 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
25316 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
25317 -Wconversion warning.
25318 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
25319 Likewise.
25320
b1cc2472
JM
253212012-05-09 Joseph Myers <joseph@codesourcery.com>
25322
25323 * conform/data/locale.h-data (NULL): Use macro-constant. Require
25324 == 0.
25325 (LC_ALL): Use macro-int-constant.
25326 (LC_COLLATE): Likewise.
25327 (LC_CTYPE): Likewise.
25328 (LC_MESSAGES): Likewise.
25329 (LC_MONETARY): Likewise.
25330 (LC_NUMERIC): Likewise.
25331 (LC_TIME): Likewise.
25332 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
25333 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
25334 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25335 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
25336 Specify type.
25337 [C99-based standards] (float_t): Expect type.
25338 [C99-based standards] (double_t): Expect type.
25339 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
25340 type.
25341 [C99-based standards] (HUGE_VALL): Likewise.
25342 [C99-based standards] (INFINITY): Likewise.
25343 [C99-based standards] (NAN): Likewise.
25344 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
25345 [C99-based standards] (FP_NAN): Likewise.
25346 [C99-based standards] (FP_NORMAL): Likewise.
25347 [C99-based standards] (FP_SUBNORMAL): Likewise.
25348 [C99-based standards] (FP_ZERO): Likewise.
25349 [C99-based standards] (FP_FAST_FMA): Use
25350 optional-macro-int-constant. Specify type. Require == 1.
25351 [C99-based standards] (FP_FAST_FMAF): Likewise.
25352 [C99-based standards] (FP_FAST_FMAL): Likewise.
25353 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
25354 [C99-based standards] (FP_ILOGBNAN): Likewise.
25355 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
25356 Specify type.
25357 [C99-based standards] (MATH_ERREXCEPT): Likewise.
25358 [C99-based standards] (math_errhandling): Specify type.
25359 [ISO99 || ISO11] (signgam): Do not allow.
25360 [non-C99-based standards] (copysignf): Do not allow.
25361 [non-C99-based standards] (exp2f): Likewise.
25362 [non-C99-based standards] (log2f): Likewise.
25363 [non-C99-based standards] (modff): Allow.
25364 [non-C99-based standards] (erff): Do not allow.
25365 [non-C99-based standards] (erfcf): Likewise.
25366 [non-C99-based standards] (gammaf): Likewise.
25367 [non-C99-based standards] (hypotf): Likewise.
25368 [non-C99-based standards] (j0f): Likewise.
25369 [non-C99-based standards] (j1f): Likewise.
25370 [non-C99-based standards] (jnf): Likewise.
25371 [non-C99-based standards] (lgammaf): Likewise.
25372 [non-C99-based standards] (tgammaf): Likewise.
25373 [non-C99-based standards] (y0f): Likewise.
25374 [non-C99-based standards] (y1f): Likewise.
25375 [non-C99-based standards] (ynf): Likewise.
25376 [non-C99-based standards] (isnanf): Likewise.
25377 [non-C99-based standards] (acoshf): Likewise.
25378 [non-C99-based standards] (asinhf): Likewise.
25379 [non-C99-based standards] (atanhf): Likewise.
25380 [non-C99-based standards] (cbrtf): Likewise.
25381 [non-C99-based standards] (expm1f): Likewise.
25382 [non-C99-based standards] (ilogbf): Likewise.
25383 [non-C99-based standards] (log1pf): Likewise.
25384 [non-C99-based standards] (logbf): Likewise.
25385 [non-C99-based standards] (nextafterf): Likewise.
25386 [non-C99-based standards] (remainderf): Likewise.
25387 [non-C99-based standards] (rintf): Likewise.
25388 [non-C99-based standards] (scalbf): Likewise.
25389 [non-C99-based standards] (copysignl): Likewise.
25390 [non-C99-based standards] (exp2l): Likewise.
25391 [non-C99-based standards] (log2l): Likewise.
25392 [non-C99-based standards] (modfl): Allow.
25393 [non-C99-based standards] (erfl): Do not allow.
25394 [non-C99-based standards] (erfcl): Likewise.
25395 [non-C99-based standards] (gammal): Likewise.
25396 [non-C99-based standards] (hypotl): Likewise.
25397 [non-C99-based standards] (j0l): Likewise.
25398 [non-C99-based standards] (j1l): Likewise.
25399 [non-C99-based standards] (jnl): Likewise.
25400 [non-C99-based standards] (lgammal): Likewise.
25401 [non-C99-based standards] (tgammal): Likewise.
25402 [non-C99-based standards] (y0l): Likewise.
25403 [non-C99-based standards] (y1l): Likewise.
25404 [non-C99-based standards] (ynl): Likewise.
25405 [non-C99-based standards] (isnanl): Likewise.
25406 [non-C99-based standards] (acoshl): Likewise.
25407 [non-C99-based standards] (asinhl): Likewise.
25408 [non-C99-based standards] (atanhl): Likewise.
25409 [non-C99-based standards] (cbrtl): Likewise.
25410 [non-C99-based standards] (expm1l): Likewise.
25411 [non-C99-based standards] (ilogbl): Likewise.
25412 [non-C99-based standards] (log1pl): Likewise.
25413 [non-C99-based standards] (logbl): Likewise.
25414 [non-C99-based standards] (nextafterl): Likewise.
25415 [non-C99-based standards] (remainderl): Likewise.
25416 [non-C99-based standards] (rintl): Likewise.
25417 [non-C99-based standards] (scalbl): Likewise.
25418 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25419 [non-C99-based standards] (FP_*): Do not allow.
25420 [C99-based standards] (FP_*): Change to
25421 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
25422 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25423 allow.
25424 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
25425 (SIG_ERR): Likewise.
25426 [X/Open-based standards] (SIG_HOLD): Likewise.
25427 (SIG_IGN): Likewise.
25428 (SIGABRT): Use macro-int-constant. Specify type. Require
25429 positive value.
25430 (SIGFPE): Likewise.
25431 (SIGILL): Likewise.
25432 (SIGINT): Likewise.
25433 (SIGSEGV): Likewise.
25434 (SIGTER): Likewise.
25435 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
25436 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
25437 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
25438 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
25439 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
25440 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
25441 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
25442 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
25443 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
25444 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
25445 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
25446 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
25447 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
25448 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
25449 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
25450 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
25451 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
25452 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
25453 [X/Open-based standards] (SIGTRAP): Likewise.
25454 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
25455 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
25456 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
25457 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
25458 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25459 allow.
25460
b9f1922d
IW
254612012-05-08 Ian Wienand <ianw@vmware.com>
25462
25463 [BZ #14080]
25464 * time/tzset.c (__tzset_parse_tz): Update default rules for
25465 daylight time changes in the Energy Policy Act of 2005.
25466
1db86e88
AJ
254672012-05-09 Andreas Jaeger <aj@suse.de>
25468
25469 [BZ #13983]
25470 * elf/ldconfig.c (parse_conf): Change string to make clear that
25471 ldconfig only issued a warning if ld.so.conf does not exist.
25472
dee4a4e3
DM
254732012-05-08 David S. Miller <davem@davemloft.net>
25474
ee0db190
DM
25475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
25476 movxtod instead of popping the value on the stack.
25477
dee4a4e3
DM
25478 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25479
6a43ec98
CD
254802012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
25481
25482 * config.h.in: Add HAVE_ARM_PCS_VFP.
25483
05c2c961
RMG
254842012-05-08 Roland Mc Grath <roland@hack.frob.com>
25485
bcfe3a54
ST
25486 [BZ #13979]
25487 * include/features.h: Warn if user requests __FORTIFY_SOURCE
25488 checking but the checks are disabled for any reason.
05c2c961 25489
4b30f61a
L
254902012-05-08 H.J. Lu <hongjiu.lu@intel.com>
25491
25492 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
25493 and ELF64_R_TYPE with ELFW(R_TYPE).
25494
eee2bc67
JM
254952012-05-08 Joseph Myers <joseph@codesourcery.com>
25496
7ea5391a
JM
25497 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
25498 (ulimit): Likewise.
25499
eee2bc67
JM
25500 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
25501 (settimeofday): Likewise.
25502
abb66a67
MF
255032012-05-08 Mike Frysinger <vapier@gentoo.org>
25504
25505 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
25506 a struct th_u2 inside the union, and move tu_block/tu_code into
25507 a new th_u3 union of tu_block/tu_code inside of that. Move
25508 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
25509 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
25510 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
25511 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
25512 (th_stuff): Change to th_u1.tu_stuff.
25513 (th_data): Define.
25514 (th_msg): Change to th_u1.th_u2.tu_data.
25515
7f18b530
DM
255162012-05-07 David S. Miller <davem@davemloft.net>
25517
05760585
DM
25518 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25519
7f18b530
DM
25520 [BZ #14074]
25521 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
25522 (SETUP_PIC_REG): Use it.
25523 (SETUP_PIC_REG_LEAF): Use it.
25524
495fd99f
JM
255252012-05-07 Joseph Myers <joseph@codesourcery.com>
25526
25527 [BZ #13885]
25528 [BZ #13923]
25529 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25530 USE_AS_EXPM1L.
25531 (EXPL_FINITE): Likewise.
25532 (FLDLOG): Likewise.
25533 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25534 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25535 e_expl.S.
25536 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25537 USE_AS_EXPM1L.
25538 (EXPL_FINITE): Likewise.
25539 (FLDLOG): Likewise.
25540 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25541 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25542 e_expl.S.
25543 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
25544 test of -max_value argument for long double.
25545 * sysdeps/i386/fpu/libm-test-ulps: Update.
25546 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25547
6693d694
DM
255482012-05-06 David S. Miller <davem@davemloft.net>
25549
25550 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
25551 quad soft-float symbols whose references which are compiler
25552 generated.
25553 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
25554
6c23e11c
JM
255552012-05-06 Joseph Myers <joseph@codesourcery.com>
25556
d8b82cad
JM
25557 [BZ #13884]
25558 [BZ #13914]
25559 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25560 USE_AS_EXP10L.
25561 (EXPL_FINITE): Likewise.
25562 (FLDLOG): Likewise.
25563 (c0): Likewise.
25564 (c1): Likewise.
25565 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
25566 Adjust comments for base varying.
25567 (__expl_finite): Change alias to EXPL_FINITE.
25568 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
25569 e_expl.S.
25570 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
25571 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
25572 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
25573 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
25574 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25575 USE_AS_EXP10L.
25576 (EXPL_FINITE): Likewise.
25577 (FLDLOG): Likewise.
25578 (c0): Likewise.
25579 (c1): Likewise.
25580 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
25581 Adjust comments for base varying.
25582 (__expl_finite): Change alias to EXPL_FINITE.
25583 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
25584 tests for bugs.
25585 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25586
6c23e11c
JM
25587 [BZ #14064]
25588 * math/libm-test.inc (check_float_internal): Correct ulp
25589 calculation for subnormal expected results.
25590
29ba805c
AJ
255912012-05-06 Andreas Jaeger <aj@suse.de>
25592
25593 * Makeconfig (+math-flags): New, set to -frounding-math.
25594 (+cflags): Add +math-flags so that all of glibc gets compiled with
25595 it.
25596
25597 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
25598
7b17aeda
JM
255992012-05-05 Joseph Myers <joseph@codesourcery.com>
25600
5779f134
JM
25601 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
25602 Disable one test.
25603
41498f4d
JM
25604 [BZ #13787]
25605 [BZ #13922]
25606 [BZ #14036]
25607 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
25608 (__ieee754_expl): Allow for and saturate large arguments.
25609 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
25610 (u_threshold): Likewise.
25611 (__exp): Call __ieee754_exp before checking for overflow and
25612 underflow.
25613 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
25614 (u_threshold): Likewise.
25615 (__expf): Call __ieee754_expf before checking for overflow and
25616 underflow.
25617 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
25618 (u_threshold): Likewise.
25619 (__expl): Call __ieee754_expl before checking for overflow and
25620 underflow.
25621 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
25622 (__ieee754_expl): Allow for and saturate large arguments.
25623 * math/libm-test.inc (exp_test): Add another test. Do not allow
25624 missing overflow exception on overflow.
25625 (expm1_test): Do not allow missing overflow exception on overflow.
25626
6698b8bf
JM
25627 * sysdeps/i386/fpu/e_expl.c: Move to ...
25628 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
25629 rather than using inline asm.
25630 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
25631 * sysdeps/x86_64/fpu/e_expl.S: Copy from
25632 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
25633
7b17aeda
JM
25634 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
25635 (nice): Likewise.
25636 (poll): Likewise.
25637 (signal): Likewise.
25638 (time): Likewise.
25639 (times): Likewise.
25640
f7c85819
JM
256412012-05-04 Joseph Myers <joseph@codesourcery.com>
25642
25643 * sysdeps/unix/syscalls.list (adjtime): Add entry from
25644 sysdeps/unix/common/syscalls.list.
25645 (fchmod): Likewise.
25646 (fchown): Likewise.
25647 (ftruncate): Likewise.
25648 (getrusage): Likewise.
25649 (gettimeofday): Likewise.
25650 (setpgid): Likewise.
25651 (setregid): Likewise.
25652 (setreuid): Likewise.
25653 (sigaction): Likewise.
25654 (truncate): Likewise.
25655 (vhangup): Likewise.
25656 * sysdeps/unix/common/syscalls.list: Remove file.
25657 * sysdeps/unix/bsd/Implies: Don't include unix/common.
25658 * sysdeps/unix/sysv/linux/Implies: Likewise.
25659
336270d0
L
256602012-05-04 H.J. Lu <hongjiu.lu@intel.com>
25661
25662 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
25663 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
25664 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
25665 Moved to ...
25666 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
25667 Here.
25668 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
25669 to ...
25670 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
25671 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
25672 to ...
25673 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
25674 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
25675 to ...
25676 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
25677 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
25678 to ...
25679 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
25680 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
25681 to ...
25682 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
25683 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
25684 to ...
25685 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
25686 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
25687 to ...
25688 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25689 Here.
25690 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
25691 to ...
25692 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
25693 Here.
25694 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
25695 to ...
25696 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
25697 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
25698 Moved to ...
25699 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
25700 Here.
25701 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
25702 to ...
25703 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
25704
d128e450
JM
257052012-05-04 Joseph Myers <joseph@codesourcery.com>
25706
fa8ee516
JM
25707 * sysdeps/unix/common/bits/dirent.h: Remove file.
25708 * sysdeps/unix/common/bits/fcntl.h: Likewise.
25709
d128e450
JM
25710 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
25711 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
25712 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
25713 * sysdeps/unix/bsd/isatty.c: Likewise.
25714 * sysdeps/unix/bsd/tcdrain.c: Likewise.
25715 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
25716 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
25717
ff8faaf0 257182012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 25719
62881be4 25720 [BZ #13563]
31dc8730
AZ
25721 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
25722 long double comparison inaccuracies.
25723 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
25724 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25725
6fef930c
AS
257262012-05-04 Andreas Schwab <schwab@linux-m68k.org>
25727
25728 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
25729 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
25730
8f203e6c
JM
257312012-05-04 Joseph Myers <joseph@codesourcery.com>
25732
25733 [BZ #14049]
25734 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
25735 nonzero digits before rounding a hex value.
25736 * stdlib/tst-strtod.c (tests): Add another test.
25737
5197d9c2
AK
257382012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25739
25740 * sysdeps/s390/fpu/libm-test-ulps: Update.
25741
f0c1dedf
AJ
257422012-05-03 Andreas Jaeger <aj@suse.de>
25743
25744 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
25745 does not get optimized out.
25746 (malloc_opt_barrier): New.
25747
a65ef2ae 257482012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 25749 Roland McGrath <roland@hack.frob.com>
a65ef2ae 25750
2b942cb7 25751 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 25752 intermediate file deletion.
2b942cb7 25753 (generated): Add .symlist files.
a65ef2ae 25754
54b71e02
JM
257552012-05-03 Joseph Myers <joseph@codesourcery.com>
25756
25757 [BZ #13775]
25758 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
25759 Redirect under this condition.
25760 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25761 [__USE_GNU] (__dprintf_chk): Not under this condition.
25762 [__USE_GNU] (__vdprintf_chk): Likewise.
25763 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
25764 under this condition.
25765 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25766 [__USE_XOPEN2K8] (dprintf): Define under this condition.
25767 [__USE_XOPEN2K8] (vdprintf): Likewise.
25768 [__USE_GNU] (__dprintf_chk): Not under this condition.
25769 [__USE_GNU] (__vdprintf_chk): Likewise.
25770 [__USE_GNU] (dprintf): Likewise.
25771 [__USE_GNU] (vdprintf): Likewise.
25772
d3dfcc41
RM
257732012-05-03 Roland McGrath <roland@hack.frob.com>
25774
25775 * elf/Makefile (common-generated): Set this instead of generated for
25776 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
25777 $(all-built-dso)-derived lists.
25778
7ac30cc5
AJ
257792012-05-03 Andreas Jaeger <aj@suse.de>
25780
0c51e550
AJ
25781 * sysdeps/i386/fpu/libm-test-ulps: Update.
25782
7ac30cc5
AJ
25783 * FAQ: Removed.
25784 * FAQ.in: Likewise.
25785 * scripts/gen-FAQ.pl: Likewise.
25786 * manual/install.texi (Installation): Point to online location of
25787 FAQ.
25788 * Makefile (files-for-dist): Remove FAQ.
25789 (FAQ): Remove.
25790
d4c2917f
AM
257912012-05-02 Allan McRae <allan@archlinux.org>
25792
25793 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
25794 (LDFLAGS-reldepmod5.so): Likewise.
25795 (LDFLAGS-reldep6mod1.so): Likewise.
25796 (LDFLAGS-reldep6mod4.so): Likewise.
25797 (LDFLAGS-reldep8mod3.so): Likewise.
25798 (LDFLAGS-unload4mod1.so): Likewise.
25799 (LDFLAGS-unload4mod2.so): Likewise.
25800 (LDFLAGS-tst-initorder): Likewise.
25801 (LDFLAGS-tst-initordera2.so): Likewise.
25802 (LDFLAGS-tst-initordera3.so): Likewise.
25803 (LDFLAGS-tst-initordera4.so): Likewise.
25804 (LDFLAGS-tst-initorderb2.so): Likewise.
25805 (LDFLAGS-noload): Likewise.
25806 (LDFLAGS-next): Likewise.
25807 (LDFLAGS-order2mod1.so): Likewise.
25808 (LDFLAGS-order2mod2.so): Likewise.
25809 (LDFLAGS-tst-initorder2): Likewise.
25810 (LDFLAGS-tst-initorder2a.so): Likewise.
25811 (LDFLAGS-tst-initorder2b.so): Likewise.
25812 (LDFLAGS-tst-initorder2c.so): Likewise.
25813 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
25814
d77f993f
DM
258152012-05-02 David S. Miller <davem@davemloft.net>
25816
25817 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25818
171a70b4
PP
258192012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
25820
25821 [BZ #14055]
25822 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
25823
0be196ad
AJ
258242012-05-02 Andreas Jaeger <aj@suse.de>
25825
25826 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
25827 since we manipulate rounding mode.
25828 (CPPFLAGS-test-idouble.c): Likewise.
25829 (CPPFLAGS-test-ifloat.c): Likewise.
25830 (CFLAGS-test-ldouble.c): Likewise.
25831 (CFLAGS-test-double.c): Likewise.
25832 (CFLAGS-test-float.c): Likewise.
25833 (CFLAGS-test-misc.c): Likewise.
25834 (CFLAGS-test-test-fenv.c): Likewise.
25835
4f9d04aa
AZ
258362012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25837
2b942cb7
RM
25838 [BZ #2550]
25839 [BZ #2570]
25840 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
25841 comparisons to determine direction to adjust input.
4f9d04aa 25842
82a79e7d
RM
258432012-05-01 Roland McGrath <roland@hack.frob.com>
25844
f5a01ca9
RM
25845 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
25846 output to the target.
25847
90fe4186
RM
25848 * scripts/localplt.awk: New file.
25849 * elf/Makefile ($(objpfx)check-localplt): Target removed.
25850 (check-localplt-CFLAGS): Variable removed.
25851 ($(all-built-dso:=.jmprel)): New static pattern rule.
25852 (generated): Add those targets.
25853 (localplt-built-dso): New variable.
25854 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
25855
25856 * elf/check-localplt.c: File removed.
25857
82397ed6
RM
25858 * scripts/check-execstack.awk: New file.
25859 * elf/Makefile ($(objpfx)check-execstack): Target removed.
25860 (check-execstack-CFLAGS): Variable removed.
25861 ($(objpfx)check-execstack.h): Target removed.
25862 ($(objpfx)execstack-default): New target.
25863 (generated): Add that instead of check-execstack.h.
25864 ($(all-built-dso:=.phdr)): New static pattern rule.
25865 (generated): Add those targets.
25866 * elf/check-execstack.c: File removed.
25867
82a79e7d
RM
25868 * scripts/check-textrel.awk: New file.
25869 * elf/Makefile ($(objpfx)check-textrel): Target removed.
25870 (check-textrel-CFLAGS): Variable removed.
25871 (all-built-dso): Use := to define.o
25872 ($(all-built-dso:=.dyn)): New static pattern rule.
25873 (generated): Add those targets.
25874 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
25875 * config.make.in (READELF): New substituted variable.
25876 * elf/check-textrel.c: File removed.
25877
62fde54f 258782012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 25879
615605c9
JM
25880 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25881 allow.
25882 * conform/data/ctype.h-data [C99-based standards] (isblank):
25883 Expect function.
25884 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
25885 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
25886 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25887 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
25888 Specify type. Require positive value.
25889 (EILSEQ): Likewise.
25890 (ERANGE): Likewise.
25891 [ISO || POSIX] (EILSEQ): Do not expect.
25892 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
25893 Specify type. Require positive value.
25894 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
25895 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
25896 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
25897 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
25898 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
25899 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
25900 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
25901 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
25902 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
25903 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
25904 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
25905 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
25906 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
25907 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
25908 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
25909 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
25910 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
25911 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
25912 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
25913 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
25914 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
25915 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
25916 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
25917 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
25918 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
25919 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
25920 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
25921 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
25922 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
25923 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
25924 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
25925 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
25926 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
25927 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
25928 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
25929 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
25930 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
25931 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
25932 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
25933 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
25934 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
25935 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
25936 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
25937 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
25938 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
25939 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
25940 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
25941 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
25942 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
25943 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
25944 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
25945 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
25946 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
25947 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
25948 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
25949 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
25950 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
25951 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
25952 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
25953 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
25954 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
25955 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
25956 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
25957 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
25958 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
25959 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
25960 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
25961 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
25962 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
25963 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
25964 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
25965 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
25966 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
25967 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
25968 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
25969 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
25970 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
25971 Require >= 2.
25972 (FLT_ROUNDS): Expect as macro, not constant.
25973 (FLT_MANT_DIG): Use macro-int-constant.
25974 (DBL_MANT_DIG): Likewise.
25975 (LDBL_MANT_DIG): Likewise.
25976 (FLT_DIG): Likewise.
25977 (DBL_DIG): Likewise.
25978 (LDBL_DIG): Likewise.
25979 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
25980 (DBL_MIN_EXP): Likewise.
25981 (LDBL_MIN_EXP): Likewise.
25982 (FLT_MAX_EXP): Use macro-int-constant.
25983 (DBL_MAX_EXP): Likewise.
25984 (LDBL_MAX_EXP): Likewise.
25985 (FLT_MAX_10_EXP): Likewise.
25986 (DBL_MAX_10_EXP): Likewise.
25987 (LDBL_MAX_10_EXP): Likewise.
25988 (FLT_MAX): Use macro-constant.
25989 (DBL_MAX): Likewise.
25990 (LDBL_MAX): Likewise.
25991 (FLT_EPSILON): Use macro-constant. Give upper bound.
25992 (DBL_EPSILON): Likewise.
25993 (LDBL_EPSILON): Likewise.
25994 (FLT_MIN): Likewise.
25995 (DBL_MIN): Likewise.
25996 (LDBL_MIN): Likewise.
25997 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
25998 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
25999 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
26000 [ISO11] (FLT_HAS_SUBNORM): Likewise.
26001 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
26002 [ISO11] (DBL_DECIMAL_DIG): Likewise.
26003 [ISO11] (FLT_DECIMAL_DIG): Likewise.
26004 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
26005 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
26006 [ISO11] (FLT_TRUE_MIN): Likewise.
26007 [ISO11] (LDBL_TRUE_MIN): Likewise.
26008 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26009 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
26010 (SCHAR_MIN): Use macro-int-constant. Specify type.
26011 (SCHAR_MAX): Likewise.
26012 (UCHAR_MAX): Likewise.
26013 (CHAR_MIN): Likewise.
26014 (CHAR_MAX): Likewise.
26015 (MB_LEN_MAX): Use macro-int-constant.
26016 (SHRT_MIN): Use macro-int-constant. Specify type.
26017 (SHRT_MAX): Likewise.
26018 (USHRT_MAX): Likewise.
26019 (INT_MAX): Likewise.
26020 (INT_MIN): Use macro-int-constant. Specify type. Make upper
26021 bound negative.
26022 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
26023 bound with "U".
26024 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
26025 bound with "L".
26026 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
26027 bound negative. Suffix upper bound with "L".
26028 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
26029 bound with "UL".
26030 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
26031 Specify type.
26032 [C99-based standards] (LLONG_MAX): Likewise.
26033 [C99-based standards] (ULLONG_MAX): Likewise.
26034 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
26035 == 0.
26036 [ISO11] (max_align_t): Require type.
26037 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26038
c9140a62
JM
26039 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
26040 from $CFLAGS, without defining away __attribute__ calls.
26041 (checknamespace): Use $CFLAGS_namespace.
26042
9af0bf29
JM
26043 * conform/conformtest.pl (@keywords): Only include C99 keywords
26044 for standards based on C99 or C11.
26045
343222a2
JM
26046 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
26047 Disable tests.
26048 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
26049 UNIX98]: Likewise.
26050
661f8cf0
JM
26051 * conform/conformtest.pl: Handle "macro-int-constant" and test for
26052 usability of symbols in #if.
26053
ee74b9cb
JM
26054 * conform/conformtest.pl: If macro or constant types start
26055 "promoted:", expect the symbol to be of the following type
26056 promoted by the integer promotions.
62fde54f 26057
aafc49b3
JM
26058 * conform/conformtest.pl: Parse all "constant" and "macro" lines
26059 in one place. Also handle "macro-constant".
26060
fefdf574
JM
26061 * conform/conformtest.pl: Only accept expected macro values with
26062 "==". Parse all "macro" lines in one place.
26063 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
26064
f2d922fe
JM
26065 * conform/conformtest.pl: Handle braced types on "constant" lines
26066 instead of handling "typed-constant".
26067 * conform/data/signal.h-data: Use "constant" instead of
26068 "typed-constant".
26069
d22956c9
JM
26070 * conform/conformtest.pl: Handle "optional-" at start of lines in
26071 one place rather than duplicating several cases. Handle each
26072 format of "macro" line with initial "optional-".
26073
028e2e38
JM
26074 * conform/conformtest.pl: Only accept expected constant or
26075 optional-constant values with "==". Parse all "constant" lines in
26076 one place. Parse all "optional-constant" lines in one place.
26077 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
26078 * conform/data/fmtmsg.h-data: Likewise.
26079 * conform/data/netinet/in.h-data: Likewise.
26080 * conform/data/tar.h-data: Likewise.
26081 * conform/data/limits.h-data: Use "==" form on "constant" and
26082 "optional-constant" lines.
26083
1b8f2850
JM
26084 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
26085 Use -std=c99 for XOPEN2K.
26086 (@knownproblems): Remove.
26087 (newtoken): Don't check %isknown.
26088
a05a144b
JM
26089 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
26090 Do not expect macro.
26091 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
26092 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
26093 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
26094 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
26095 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
26096 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
26097 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
26098 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
26099 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
26100 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
26101 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
26102 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
26103 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
26104 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
26105 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
26106 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
26107 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
26108 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
26109 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
26110 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
26111 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
26112 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
26113 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
26114 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
26115 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
26116 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
26117 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
26118 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
26119 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
26120 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
26121 [XPG3] (acosh): Likewise.
26122 [XPG3] (asinh): Likewise.
26123 [XPG3] (atanh): Likewise.
26124 [XPG3] (cbrt): Likewise.
26125 [XPG3] (expm1): Likewise.
26126 [XPG3] (ilogb): Likewise.
26127 [XPG3] (log1p): Likewise.
26128 [XPG3] (logb): Likewise.
26129 [XPG3] (nextafter): Likewise.
26130 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
26131 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
26132 [XPG3] (remainder): Likewise.
26133 [XPG3] (rint): Likewise.
26134 [XPG3 || XPG4 || UNIX98] (round): Likewise.
26135 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
26136 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
26137 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
26138 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
26139 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
26140 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
26141 [UNIX98 || XOPEN2K] (scalb): Expect.
26142 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
26143 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
26144 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
26145 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
26146 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
26147 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
26148 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
26149 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
26150 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
26151 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
26152 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
26153 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
26154 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
26155 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
26156 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
26157 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
26158 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
26159 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
26160 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
26161 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
26162 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
26163 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
26164 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
26165 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
26166 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
26167 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
26168 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
26169 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
26170 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
26171 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
26172 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
26173 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
26174 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
26175 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
26176 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
26177 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
26178 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
26179 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
26180 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
26181 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
26182 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
26183 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
26184 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
26185 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
26186 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
26187 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
26188 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
26189 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
26190 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
26191 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
26192 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
26193 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
26194 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
26195 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
26196 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
26197 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
26198 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
26199 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
26200 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
26201 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
26202 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
26203 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
26204 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
26205 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
26206 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
26207 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
26208 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
26209 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
26210 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
26211 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
26212 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
26213 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
26214 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
26215 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
26216 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
26217 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
26218 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
26219 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
26220 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
26221 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
26222 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
26223 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
26224 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
26225 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
26226 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
26227 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
26228 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
26229 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
26230 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
26231 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
26232 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
26233 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
26234 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
26235 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
26236 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
26237 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
26238 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
26239 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
26240 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
26241 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
26242 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
26243 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
26244 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
26245 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
26246 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
26247 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
26248 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
26249 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
26250 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
26251 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
26252 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
26253 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
26254 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
26255 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
26256 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
26257 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
26258 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
26259 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
26260 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
26261 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
26262 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
26263 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
26264 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
26265 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
26266 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
26267 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
26268 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
26269 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
26270 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
26271 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
26272 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
26273 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
26274 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
26275 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
26276 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
26277 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
26278 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
26279
73c5ebe3
JM
26280 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
26281 _XOPEN_SOURCE_EXTENDED for XPG4.
26282
39c33b6c
JM
26283 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
26284
62fde54f
JM
26285 * Makeconfig (localtime): Remove variable.
26286 (inst_localtime-file): Likewise.
26287
0741d64c
AS
262882012-05-01 Andreas Schwab <schwab@linux-m68k.org>
26289
26290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
26291 Update.
26292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26293 Update.
26294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
26295 Update.
26296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
26297 Update.
26298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
26299 Update.
26300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
26301 Update.
26302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26303 Update.
26304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
26305 Update.
26306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26307 Update.
26308
7cb029ee
JM
263092012-05-01 Joseph Myers <joseph@codesourcery.com>
26310
26311 [BZ #2550]
26312 [BZ #2570]
26313 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
26314 comparisons to determine direction to adjust input.
26315 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
26316 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
26317 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
26318 Likewise.
26319 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
26320 Likewise.
26321 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
26322 Likewise.
26323 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
26324 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
26325 Likewise.
26326 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
26327 Likewise.
26328 * math/libm-test.inc (nexttoward_test): Add more tests.
26329
412bd966
AS
263302012-05-01 Andreas Schwab <schwab@linux-m68k.org>
26331
26332 [BZ #14040]
26333 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
26334 in version GLIBC_2.1, not GLIBC_2.0.
26335 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
26336 Likewise.
26337
9568c0c2
JM
263382012-04-30 Joseph Myers <joseph@codesourcery.com>
26339
adfbc8ac
JM
26340 [BZ #13942]
26341 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
26342 (1 - x) * (1 + x).
26343 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
26344 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
26345 * math/libm-test.inc (acos_test): Add more tests.
26346 (asin_test): Likewise.
26347 * sysdeps/i386/fpu/libm-test-ulps: Update.
26348 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26349
5ba3cc69
JM
26350 [BZ #14034]
26351 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
26352 of square root.
26353 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
26354 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
26355 * math/libm-test.inc (acos_test_tonearest): New function.
26356 (acos_test_towardzero): Likewise.
26357 (acos_test_downward): Likewise.
26358 (acos_test_upward): Likewise.
26359 (asin_test_tonearest): Likewise.
26360 (asin_test_towardzero): Likewise.
26361 (asin_test_downward): Likewise.
26362 (asin_test_upward): Likewise.
26363 (main): Call the new functions.
26364 * sysdeps/i386/fpu/libm-test-ulps: Update.
26365 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26366
9568c0c2
JM
26367 [BZ #13884]
26368 [BZ #13924]
26369 * math/e_exp10.c: Include <float.h>.
26370 (__ieee754_exp10): Handle underflow here rather than multiplying
26371 large negative argument by M_LN10.
26372 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
26373 of __ieee754_expf.
26374 * math/e_exp10l.c: Include <float.h>.
26375 (__ieee754_exp10l): Handle underflow here rather than multiplying
26376 large negative argument by M_LN10l.
26377 * math/libm-test.inc (exp10_test): Add another test. Do not allow
26378 spurious overflow exception on underflow.
26379
5ac3ea17
MP
263802012-04-29 Marek Polacek <polacek@redhat.com>
26381
26382 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
26383 (__fortify_function): New macro.
26384 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
26385 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
26386 __extern_always_inline.
26387 * libio/bits/stdio2.h: Likewise.
26388 * libio/bits/stdio.h: Likewise.
26389 * string/string.h: Likewise.
26390 * string/bits/string3.h: Likewise.
26391 * include/stdio.h: Likewise.
26392 * stdlib/bits/stdlib.h: Likewise.
26393 * stdlib/stdlib.h: Likewise.
26394 * rt/bits/mqueue2.h: Likewise.
26395 * rt/mqueue.h: Likewise.
26396 * posix/bits/unistd.h: Likewise.
26397 * posix/unistd.h: Likewise.
26398 * io/bits/poll2.h: Likewise.
26399 * io/bits/fcntl2.h: Likewise.
26400 * io/fcntl.h: Likewise.
26401 * io/sys/poll.h: Likewise.
26402 * misc/bits/syslog.h: Likewise.
26403 * misc/bits/syslog-ldbl.h: Likewise.
26404 * misc/sys/syslog.h: Likewise.
26405 * socket/bits/socket2.h: Likewise.
26406 * socket/sys/socket.h: Likewise.
26407 * debug/tst-chk1.c: Likewise.
26408 * wcsmbs/bits/wchar2.h: Likewise.
26409 * wcsmbs/bits/wchar-ldbl.h: Likewise.
26410 * wcsmbs/wchar.h: Likewise.
26411
ecf0ebfb
AJ
264122012-04-29 Andreas Jaeger <aj@suse.de>
26413
26414 * Makerules (tests): Remove enable-check-abi protection.
26415 (check-abi-warn): Remove.
26416 (check-abi-%): Remove check-abi-warn usage.
26417
26418 * configure.in: Remove check-abi configure option.
26419 * configure: Regenerated.
26420 * config.make.in (enable-check-abi): Remove.
26421
6d5c57fa
AS
264222012-04-28 Andreas Schwab <schwab@linux-m68k.org>
26423
24c5d07e 26424 [BZ #14033]
ded5180a
AS
26425 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
26426 double functions to double *_finite functions.
26427
7e0d315d
AS
26428 [BZ #13941]
26429 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
26430 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
26431 LDBL_MIN_EXP.
26432 * stdio-common/Makefile (tests): Add tst-sprintf3.
26433 * stdio-common/tst-sprintf3.c: New file.
26434
6d5c57fa
AS
26435 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
26436 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
26437
0749ff8b
JM
264382012-04-28 Joseph Myers <joseph@codesourcery.com>
26439
26440 * conform/conformtest.pl: Remove duplicate typed-constant
26441 handling.
26442
8dbd5d7b
DM
264432012-04-28 David S. Miller <davem@davemloft.net>
26444
26445 * Makerules (%.abilist): Add vpath on sysdep_dirs.
26446 (check-abi-%): Remove AWK script prerequisite and explicit
26447 abilist directory.
26448 (check-abi): Rewrite to just diff the symlist with the abilist.
26449 (config-tls, config-abi-config): Delete, no longer used.
26450 (update-abi-%): Remove AWK script and explicit abilist directory.
26451 (update-abi): Rewrite to simply compare and conditionally copy the
26452 symlist and the sysdep abilist file. Remove update-abi-config
26453 checks.
26454 * abilist/ld.abilist: Remove.
26455 * abilist/libBrokenLocale.abilist: Remove.
26456 * abilist/libanl.abilist: Remove.
26457 * abilist/libcrypt.abilist: Remove.
26458 * abilist/libdl.abilist: Remove.
26459 * abilist/librt.abilist: Remove.
26460 * abilist/libthread_db.abilist: Remove.
26461 * abilist/libutil.abilist: Remove.
26462 * scripts/extract-abilist.awk: Remove.
26463 * scripts/merge-abilist.awk: Remove.
26464 * sysdeps/generic/libcidn.abilist: New file.
26465 * sysdeps/generic/libnss_compat.abilist: New file.
26466 * sysdeps/generic/libnss_db.abilist: New file.
26467 * sysdeps/generic/libnss_dns.abilist: New file.
26468 * sysdeps/generic/libnss_files.abilist: New file.
26469 * sysdeps/generic/libnss_hesiod.abilist: New file.
26470 * sysdeps/generic/libnss_nis.abilist: New file.
26471 * sysdeps/generic/libnss_nisplus.abilist: New file.
26472 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
26473 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
26474 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
26475 file.
26476 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
26477 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
26478 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
26479 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
26480 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
26481 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
26482 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
26483 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
26484 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
26485 file.
26486 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
26487 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
26488 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
26489 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
26490 file.
26491 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
26492 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
26493 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
26494 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
26495 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
26496 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
26497 file.
26498 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
26499 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
26500 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
26501 file.
26502 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
26503 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
26504 New file.
26505 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
26506 New file.
26507 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
26508 New file.
26509 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
26510 New file.
26511 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
26512 New file.
26513 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
26514 New file.
26515 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
26516 New file.
26517 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
26518 New file.
26519 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
26520 New file.
26521 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
26522 New file.
26523 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
26524 New file.
26525 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
26526 New file.
26527 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
26528 New file.
26529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
26530 file.
26531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
26532 New file.
26533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
26534 New file.
26535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
26536 file.
26537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
26538 New file.
26539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
26540 New file.
26541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
26542 file.
26543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
26544 New file.
26545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26546 New file.
26547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
26548 New file.
26549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
26550 New file.
26551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
26552 New file.
26553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
26554 New file.
26555 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
26556 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
26557 file.
26558 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
26559 New file.
26560 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
26561 file.
26562 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
26563 file.
26564 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
26565 file.
26566 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
26567 file.
26568 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
26569 file.
26570 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26571 New file.
26572 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
26573 file.
26574 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
26575 file.
26576 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
26577 New file.
26578 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
26579 file.
26580 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
26581 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
26582 file.
26583 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
26584 New file.
26585 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
26586 file.
26587 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
26588 file.
26589 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
26590 file.
26591 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
26592 file.
26593 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
26594 file.
26595 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26596 New file.
26597 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
26598 file.
26599 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
26600 file.
26601 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
26602 New file.
26603 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
26604 file.
26605 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26606 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
26607 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
26608 file.
26609 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
26610 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
26611 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
26612 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
26613 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
26614 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
26615 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
26616 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
26617 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
26618 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
26619 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
26620 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
26621 file.
26622 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
26623 New file.
26624 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
26625 file.
26626 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
26627 file.
26628 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
26629 file.
26630 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
26631 file.
26632 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
26633 file.
26634 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26635 New file.
26636 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
26637 New file.
26638 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
26639 file.
26640 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
26641 New file.
26642 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
26643 file.
26644 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
26645 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
26646 file.
26647 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
26648 New file.
26649 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
26650 file.
26651 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
26652 file.
26653 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
26654 file.
26655 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
26656 file.
26657 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
26658 file.
26659 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26660 New file.
26661 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
26662 New file.
26663 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
26664 file.
26665 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
26666 New file.
26667 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
26668 file.
26669
41d73a1b
JM
266702012-04-28 Joseph Myers <joseph@codesourcery.com>
26671
26672 * conform/conformtest.pl: Fix typo in handling typed-constant from
26673 allow-header.
26674
28aeeda4
JM
266752012-04-27 Joseph Myers <joseph@codesourcery.com>
26676
adae8f5e
JM
26677 * README: Cut down references to pre-2.6 Linux kernels and
26678 Linuxthreads. Update lists of configurations in libc and ports
26679 and sort alphabetically. Say "or newer" with Linux kernel version
26680 requirements.
26681
28aeeda4
JM
26682 * config.h.in [IS_IN_build]: Allow compiling without optimization.
26683
a462cb63
RA
266842012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26685
26686 [BZ #887]
26687 * math/libm-test.inc (logb_test_downward): New test to expose
26688 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
26689 rounding mode.
26690
6ad3493e
JM
266912012-04-27 Joseph Myers <joseph@codesourcery.com>
26692
26693 [BZ #14027]
26694 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
26695 to be done.
26696 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
26697 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
26698
2ce4f015
JM
266992012-04-26 Joseph Myers <joseph@codesourcery.com>
26700
5aeb141a
JM
26701 * sysdeps/unix/i386/brk.S: Remove file.
26702 * sysdeps/unix/i386/dl-brk.S: Likewise.
26703 * sysdeps/unix/i386/pipe.S: Likewise.
26704 * sysdeps/unix/i386/sigreturn.S: Likewise.
26705 * sysdeps/unix/i386/syscall.S: Likewise.
26706 * sysdeps/unix/i386/vfork.S: Likewise.
26707 * sysdeps/unix/i386/wait.S: Likewise.
26708
7143acae
JM
26709 * sysdeps/unix/common/tcsendbrk.c: Move to ...
26710 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
26711
2ce4f015
JM
26712 * configure.in (arm*-none*): Do not allow without
26713 --enable-hacker-mode.
26714 (netbsd*): Remove case setting base_os.
26715 (386bsd*): Likewise.
26716 (freebsd*): Likewise.
26717 (bsdi*): Likewise.
26718 (osf*): Likewise.
26719 (sunos*): Likewise.
26720 (ultrix*): Likewise.
26721 (newsos*): Likewise.
26722 (dynix*): Likewise.
26723 (*bsd*): Likewise.
26724 (sysv*): Likewise.
26725 (isc*): Likewise.
26726 (esix*): Likewise.
26727 (sco*): Likewise.
26728 (minix*): Likewise.
26729 (irix4*): Likewise.
26730 (irix6*): Likewise.
26731 (solaris[2-9]*): Likewise.
26732 (none): Likewise.
26733 * configure: Regenerated.
26734
0ac229c8
AZ
267352012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26736
26737 [BZ #11521]
26738 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
26739 overflow or cancellation in calculating denominator.
26740 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
26741 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
26742 down expression to avoid unexpected rounding in newer GCCs.
26743 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
26744
33f244f4
DM
267452012-04-26 David S. Miller <davem@davemloft.net>
26746
26747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
26748 long-double compat symbols.
26749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
26751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
26752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
26753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
26754 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
26755 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
26756 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
26757 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
26758 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
26759 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
26760 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
26761 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26762
cfa1f3e8
DM
267632012-04-25 David S. Miller <davem@davemloft.net>
26764
26765 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
26766 HWCAP_* values only after the memory barriers have been defined.
26767 (atomic_full_barrier): Define.
26768 (atomic_read_barrier): Define.
26769 (atomic_write_barrier): Define.
26770
6e236b92
SP
267712012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26772
26773 * shlib-versions: Add libgcc_s version information.
26774 * sysdeps/generic/libgcc_s.h: Remove.
26775 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
26776 libgcc_s.h.
26777 * sysdeps/gnu/unwind-resume.c: Likewise.
26778 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
26779
aab39a09
DM
267802012-04-25 David S. Miller <davem@davemloft.net>
26781
26782 * sysdeps/unix/sparc/brk.S: Delete.
26783 * sysdeps/unix/sparc/dl-brk.S: Delete.
26784 * sysdeps/unix/sparc/pipe.S: Delete.
26785 * sysdeps/unix/sparc/sysdep.S: Delete.
26786 * sysdeps/unix/sparc/sysdep.h: Delete.
26787 * sysdeps/unix/sparc/vfork.S: Delete.
26788 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
26789 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
26790 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
26791 ret_ERRVAL, r0, r1, MOVE): Define.
26792 (JUMPTARGET): Remove.
26793 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
26794 sysdeps/unix/sparc/sysdep.h
26795 (ENTRY, END): Remove.
26796 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26797
a3cc4f48
JM
267982012-04-25 Joseph Myers <joseph@codesourcery.com>
26799
2ed8cda2
JM
26800 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
26801 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
26802 -DIS_IN_build.
26803
35d76d59
JM
26804 * timezone/README: Update upstream location and email address for
26805 tzcode and tzdata.
26806 * timezone/zdump.c: Update from tzcode 2012b.
26807 * timezone/zic.c: Likewise.
26808
a3cc4f48
JM
26809 * configure.in (libc_cv_as_needed): Remove test.
26810 * configure: Regenerated.
26811 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
26812 conditional definition.
26813 [$(have-as-needed) != yes] (no-as-needed): Likewise.
26814 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
26815 * config.make.in (have-as-needed): Remove variable.
26816
ceab42c3
SP
268172012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26818 Paul Pluzhnikov <ppluzhnikov@google.com>
26819
26820 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
26821 strings correctly.
26822
3ce2865f
CLT
268232012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
26824
26825 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
26826 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
26827 * sysdeps/sh/strlen.S: Likewise.
26828
f37e0d68
JM
268292012-04-24 Joseph Myers <joseph@codesourcery.com>
26830
ae186e9a
JM
26831 * sysdeps/unix/fork.S: Remove file.
26832 * sysdeps/unix/i386/fork.S: Likewise.
26833 * sysdeps/unix/sparc/fork.S: Likewise.
26834
b96914af
JM
26835 * sysdeps/unix/system.c: Remove file.
26836 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
26837
f37e0d68
JM
26838 * sysdeps/unix/getegid.S: Remove file.
26839 * sysdeps/unix/geteuid.S: Likewise.
26840
87ef29ca
RM
268412012-04-24 Roland McGrath <roland@hack.frob.com>
26842
83bcd236
RM
26843 * scripts/check-localplt.awk: New file.
26844 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
26845 of diff.
26846 * scripts/data/localplt-generic.data: Add a comment.
26847
87ef29ca
RM
26848 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
26849 NODE when __dir_mkfile failed.
26850 * sysdeps/mach/hurd/symlinkat.c: Likewise.
26851 Reported by Ludovic Courtès <ludo@gnu.org>.
26852
e5a6e567
AJ
268532012-04-24 Andreas Jaeger <aj@suse.de>
26854
26855 * Makerules (common-clean): Also remove gen-as-const-headers
26856 files.
26857
c1820385
JM
268582012-04-24 Joseph Myers <joseph@codesourcery.com>
26859
26860 * Makerules (native-compile): Do not change working directory for
26861 build. Use $(OUTPUT_OPTION) in command.
26862 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
26863
94e02fc4
AZ
268642012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26865
26866 [BZ #13886]
26867 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
26868 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
26869 * math/libm-test.inc (floor_test): Add more tests.
26870 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
26871
3a533ca3
JM
268722012-04-24 Joseph Myers <joseph@codesourcery.com>
26873
940ab4b3
JM
26874 * sysdeps/unix/getdents.c: Remove file.
26875 * sysdeps/unix/sysv/getdents.c: Likewise.
26876 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
26877
90e037bd
JM
26878 * sysdeps/unix/syscalls.list (madvise): Add syscall from
26879 sysdeps/unix/mman/syscalls.list.
26880 (mmap): Likewise.
26881 (mprotect): Likewise.
26882 (msync): Likewise.
26883 (munmap): Likewise.
26884 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
26885 * sysdeps/unix/mman/syscalls.list: Remove.
26886 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
26887
3a533ca3
JM
26888 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
26889 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
26890 * configure: Regenerated.
26891 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
26892 $(libgcc_s_suffix).
26893 * config.make.in (libgcc_s_suffix): Remove variable.
26894
1ad743de
JM
268952012-04-23 Joseph Myers <joseph@codesourcery.com>
26896
4ad451e2
JM
26897 * sysdeps/unix/sysv/gethostname.c: Move to ...
26898 * sysdeps/posix/gethostname.c: ... here.
26899
5e37ce39
JM
26900 * sysdeps/unix/execve.S: Remove file.
26901
1ad743de
JM
26902 * sysdeps/unix/_exit.S: Remove file.
26903
4e681b5b
AJ
269042012-04-23 Andreas Jaeger <aj@suse.de>
26905
26906 [BZ #13739]
26907 * manual/Makefile: Remove make dist support, there's no
26908 need for a stand-alone documentation tar ball.
26909 (TEXI2DVI): Define always, it's not in Makeconfig.
26910 (dist): Removed.
26911 (tar-it): Removed.
26912 (edition): Removed.
26913 (glibc-doc-$(edition).tar): Removed
26914 (%.Z): Removed.
26915 (%.gz): Removed.
26916 (%.uu): Removed.
26917 (ETAGS): Remove, it's in Makeconfig.
26918 (move-if-change): Remove, it's in Makeconfig.
26919
38686a03 269202012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
26921
26922 [BZ #13970]
26923 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
26924 (strtod, strtof, strtold, strtol, strtoul, strtoq)
26925 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
26926 (strtod_l, strtof_l, strtold_l): Remove __wur.
26927 It is not necessarily an error to ignore strtol's return value.
26928 One can reliably look at the stored endptr to decide whether
26929 the number had valid syntax.
26930
7c0616fa
AJ
269312012-04-21 Andreas Jaeger <aj@suse.de>
26932
803cb6b7 26933 [BZ #13739]
7c0616fa
AJ
26934 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
26935
b0fe253f
JM
269362012-04-21 Joseph Myers <joseph@codesourcery.com>
26937
26938 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
26939 * sysdeps/unix/sysv/Versions: Remove file.
26940
8280f22d
MT
269412012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
26942
26943 [BZ #13927]
26944 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26945
75ce411f 269462012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
26947
26948 [BZ #7064]
26949 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
26950 version from __vm86.
26951
097d59fa
JM
269522012-04-20 Joseph Myers <joseph@codesourcery.com>
26953
a90f3bcb
JM
26954 * sysdeps/unix/common/lxstat.c: Remove file.
26955 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
26956
edc7ea78
JM
26957 * sysdeps/unix/sysv/Makefile: Remove file.
26958
cb78c221
JM
26959 * sysdeps/unix/sysv/direct.h: Remove file.
26960
efa6a45f
JM
26961 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
26962 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
26963 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
26964 * sysdeps/unix/sysv/bits/signum.h: Likewise.
26965 * sysdeps/unix/sysv/bits/stat.h: Likewise.
26966 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
26967 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
26968
9c9f2d0c
JM
26969 * sysdeps/unix/sysv/setrlimit.c: Remove file.
26970
4541c83b
JM
26971 * sysdeps/unix/xmknod.c: Remove file.
26972 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
26973
f5d153a0
JM
26974 * sysdeps/unix/sysv/settimeofday.c: Remove file.
26975
aa746595
JM
26976 * sysdeps/unix/sysv/i386/time.S: Remove file.
26977
cce5905e
JM
26978 * sysdeps/unix/fxstat.c: Remove file.
26979 * sysdeps/unix/xstat.c: Likewise.
26980 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
26981
37fa3841
JM
26982 * sysdeps/unix/sysv/sigaction.c: Remove file.
26983
ff1962a3
JM
26984 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
26985 (sysdep_headers): Remove variable.
26986 [termio.h not in sysdep_headers] (generated): Likewise.
26987 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
26988 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
26989 * sysdeps/unix/sysv/tcdrain.c: Likewise.
26990 * sysdeps/unix/sysv/tcflow.c: Likewise.
26991 * sysdeps/unix/sysv/tcflush.c: Likewise.
26992 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
26993 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
26994 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
26995 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
26996 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
26997
e7740d31
JM
26998 * sysdeps/unix/siglist.c: Remove file.
26999
ee06f18b
JM
27000 * sysdeps/unix/getppid.S: Remove file.
27001
097d59fa
JM
27002 * sysdeps/unix/mkdir.c: Remove file.
27003 * sysdeps/unix/rmdir.c: Likewise.
27004
ff3d51ec
AS
270052012-04-19 Andreas Schwab <schwab@linux-m68k.org>
27006
27007 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
27008 ERR_MAX value.
27009 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
27010 errlist-compat value.
27011
50f81fd7
DM
270122012-04-18 David S. Miller <davem@davemloft.net>
27013
27014 * sysdeps/generic/memcopy.h (reg_char): Delete.
27015 * debug/strcat_chk.c: Use char, not reg_char.
27016 * debug/strcpy_chk.c: Likewise.
27017 * debug/strncat_chk.c: Likewise.
27018 * debug/strncpy_chk.c: Likewise.
27019 * string/memchr.c: Likewise.
27020 * string/memrchr.c: Likewise.
27021 * string/rawmemchr.c: Likewise.
27022 * string/strcat.c: Likewise.
27023 * string/strchr.c: Likewise.
27024 * string/strchrnul.c: Likewise.
27025 * string/strcmp.c: Likewise.
27026 * string/strcpy.c: Likewise.
27027 * string/strncat.c: Likewise.
27028 * string/strncmp.c: Likewise.
27029 * string/strncpy.c: Likewise.
27030
8ff41c46
WS
270312012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
27032
27033 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
27034 __builtin_memcopy is called when src and dest ranges are known to not
27035 overlap.
27036
6b652f46
WS
270372012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
27038
27039 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
27040 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
27041 fwd_align_merge macro call.
27042 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
27043 bwd_align_merge macro call.
27044 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27045
b282631e
WS
270462012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
27047
27048 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
27049 bwd_align_merge macros.
27050 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
27051 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
27052 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27053
95aa737c
DM
270542012-04-18 David S. Miller <davem@davemloft.net>
27055
27056 * sysdeps/sparc/sparc64/memcopy.h: Delete.
27057
7a99a614
AJ
270582012-04-18 Andreas Jaeger <aj@suse.de>
27059
27060 [BZ# 6794]
27061 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
27062 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
27063 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27064
27065 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
27066 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
27067 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27068
27069 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
27070 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
27071 Adjust for changed ldbl-128 files.
27072
27073 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
27074 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
27075 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27076
e5270c23
DM
270772012-04-17 David S. Miller <davem@davemloft.net>
27078
27079 * sysdeps/sparc/sparc32/memcopy.h: Delete.
27080
fb5e92c9
AS
270812012-04-17 Andreas Schwab <schwab@linux-m68k.org>
27082
27083 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
27084 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
27085 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
27086 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
27087 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
27088 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
27089
76da7265
AZ
270902012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27091
27092 [BZ #6794]
27093 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
27094 * math/libm-test.inc: Add ilogb errno and exception tests.
27095 * math/w_ilogb.c: New file: ilogb wrapper.
27096 * math/w_ilogbf.c: New file: ilogbf wrapper.
27097 * math/w_ilogbl.c: New file: ilogbl wrapper.
27098 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
27099 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
27100 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
27101 exception being thrown with 0.0 as argument.
27102 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
27103 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
27104 exception being thrown with 0.0 as argument.
27105 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
27106 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
27107 exception being thrown with 0.0 as argument.
27108 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
27109 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
27110 exception being thrown with 0.0 as argument.
27111 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
27112 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 27113 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
27114 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
27115 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
27116 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
27117 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
27118 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
27119 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
27120
0396e69d
PB
271212012-04-17 Petr Baudis <pasky@ucw.cz>
27122
27123 * include/sys/uio.h: Change __vector to __iovec to avoid clash
27124 with altivec.
27125
750b5926
MP
271262012-04-16 Marek Polacek <polacek@redhat.com>
27127
27128 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
27129
751728a1
MP
271302012-04-16 Marek Polacek <polacek@redhat.com>
27131
27132 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
27133 operands of fdivp instruction.
27134
34a27407
L
271352012-04-13 H.J. Lu <hongjiu.lu@intel.com>
27136
27137 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
27138 * elf/tst-auditmod3b.c: Likewise.
27139 * elf/tst-auditmod4b.c: Likewise.
27140 * elf/tst-auditmod5b.c: Likewise.
27141 * elf/tst-auditmod6b.c: Likewise.
27142 * elf/tst-auditmod6c.c: Likewise.
27143 * elf/tst-auditmod7b.c: Likewise.
27144 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
27145 * sysdeps/x86_64/preconfigure.in: Likewise.
27146 * sysdeps/x86_64/preconfigure: Regenerated.
27147
7e73e17d
L
271482012-04-13 H.J. Lu <hongjiu.lu@intel.com>
27149
27150 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
27151 __ILP32__.
27152
c7a6ab72
AB
271532012-04-13 Antoine Balestrat <merkil33@gmail.com>
27154
27155 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27156 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
27157
a9e8e0e0
CL
271582012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
27159
27160 [BZ #13973]
27161 * locale/iso-639.def: Fix gl language name. Spotted by
27162 Yaron Shahrabani.
27163
ec98af7d
RM
271642012-04-12 Roland McGrath <roland@hack.frob.com>
27165
27166 [BZ #2074]
27167 * libio/libio.h (__io_write_fn): Update comment.
27168
247c3ede
PB
271692012-04-12 Petr Baudis <pasky@ucw.cz>
27170
27171 [BZ #2074]
27172 * stdio.texi (Hook Functions): The user provided writer function
27173 is not allowed to return -1.
27174
55939d6d
DM
271752012-04-11 David S. Miller <davem@davemloft.net>
27176
27177 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27178
90020f5a
MF
271792012-04-11 Mike Frysinger <vapier@gentoo.org>
27180
27181 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
27182 Add a leading slash to rtkaio.
27183
288f9098
JM
271842012-04-11 Jim Meyering <meyering@redhat.com>
27185
90020f5a
MF
27186 [BZ #11959]
27187 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
27188 It is not necessarily an error to ignore fwrite's return
27189 value. One can reliably use ferror to test for errors after
27190 the fact.
288f9098 27191
4be2b570
L
271922012-04-10 H.J. Lu <hongjiu.lu@intel.com>
27193
27194 * bits/types.h (__snseconds_t): New type.
27195 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
27196
27197 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
27198 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27199 (__SNSECONDS_T_TYPE): Likewise.
27200 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27201 (__SNSECONDS_T_TYPE): Likewise.
27202 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27203 (__SNSECONDS_T_TYPE): Likewise.
27204
288f9098 272052012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
27206
27207 [BZ #2636]
27208 * manual/time.texi (Processor Time): Return type of times is
27209 elapsed real time since an arbitrary point in the past.
27210 (CPU Time): Move CLK_TCK from here...
27211 (Processor Time): ...to here. Correct description.
27212 * manual/conf.texi (Constants for Sysconf): Correct description of
27213 _SC_CLK_TCK.
27214
d7dd4413
DM
272152012-04-10 David S. Miller <davem@davemloft.net>
27216
27217 [BZ #13967]
27218 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
27219 where the is a gap between DT_REL(A) and DT_JMPREL.
27220
b46068fc
L
272212012-04-10 H.J. Lu <hongjiu.lu@intel.com>
27222
27223 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
27224 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
27225 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
27226
73d65cc3
SP
272272012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27228
27229 * elf/dl-support.c (_dl_inhibit_cache): New variable.
27230 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
27231 (dl_main): Handle --inhibit-cache.
27232 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
27233 _dl_inhibit_cache.
27234 * elf/dl-load.c (_dl_map_object): Use it.
27235 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
27236
bcc8d661
JM
272372012-04-09 Joseph Myers <joseph@codesourcery.com>
27238
8f9a2fae
JM
27239 [BZ #13872]
27240 * sysdeps/i386/fpu/e_powl.S (p78): New object.
27241 (__ieee754_powl): Saturate large exponents rather than testing for
27242 overflow of y*log2(x).
27243 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27244 * math/libm-test.inc (pow_test): Do not permit spurious overflow
27245 exceptions.
27246
bcc8d661
JM
27247 [BZ #11521]
27248 * math/s_ctan.c: Include <float.h>.
27249 (__ctan): Avoid internal overflow or cancellation in calculating
27250 denominator.
27251 * math/s_ctanf.c: Likewise.
27252 * math/s_ctanl.c: Likewise.
27253 * math/s_ctanh.c: Likewise.
27254 * math/s_ctanhf.c: Likewise.
27255 * math/s_ctanhl.c: Likewise.
27256 * math/libm-test.inc (ctan_test): Add more tests.
27257 (ctanh_test): Likewise.
27258 * sysdeps/i386/fpu/libm-test-ulps: Update.
27259 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27260
823fbbb4
AJ
272612012-04-09 Andreas Jaeger <aj@suse.de>
27262
03879793
AJ
27263 [BZ #6894]
27264 * manual/filesys.texi (Directory Entries): Mention that d_namlen
27265 is an optional BSD extension.
27266
823fbbb4
AJ
27267 [BZ #10254]
27268 * manual/stdio.texi (Opening Streams): Document additional fopen
27269 parameters.
27270
8de131cb
RM
272712012-04-09 Roland McGrath <roland@hack.frob.com>
27272
27273 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
27274 %eax without telling the compiler.
27275
c0ed9d7d
CD
272762012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
27277
27278 [BZ # 13963]
27279 * manual/install.texi: Use sourceware.org.
27280
c483f6b4
JM
272812012-04-09 Joseph Myers <joseph@codesourcery.com>
27282
d7dd9453
JM
27283 [BZ #13873]
27284 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
27285 (__ieee754_pow): Generate overflow and underflow using huge*huge
27286 and tiny*tiny rather than just returning constant infinity or zero
27287 for large exponents.
27288 * math/libm-test.inc (pow_test): Require overflow exceptions for
27289 applicable cases of large exponents.
27290
c483f6b4
JM
27291 [BZ #706]
27292 * sysdeps/i386/fpu/e_pow.S (p10): New object.
27293 (__ieee754_pow): Use iterative multiplication algorithm only for
27294 integer exponents with absolute value below 1024. Check for odd
27295 integer exponents when using algorithm for real exponents.
27296 * math/libm-test.inc (pow_test): Add more tests.
27297 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27298
d2de7579
JM
272992012-04-08 Joseph Myers <joseph@codesourcery.com>
27300
27301 [BZ #13705]
27302 * math/libm-test.inc (exp_test): Do not allow overflow exception
27303 on underflow test.
27304
f77f1232
AJ
273052012-04-08 Aurelien Jarno <aurelien@aurel32.net>
27306
27307 [BZ #13705]
27308 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
27309 instead of __kernel_standard_f.
27310
3884932b
MF
273112012-04-08 Mike Frysinger <vapier@gentoo.org>
27312
27313 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
27314 * sysdeps/x86_64/memset_chk.S: Likewise.
27315
54472e9c
AJ
273162012-04-08 Andreas Jaeger <aj@suse.de>
27317
6ab0fbfc
AJ
27318 [BZ #10153]
27319 * manual/startup.texi (Environment Access): Describe return value
27320 for putenv and setenv.
27321
61efba8c
AJ
27322 [BZ #6895]
27323 * manual/filesys.texi (Directory Entries): Add description for
27324 DT_LNK.
27325
95c3f29a
AJ
27326 [BZ #6890]
27327 * manual/filesys.texi (Directory Entries): Clarify that it's file
27328 system not operating system in the description of DT_UNKNOWN.
27329
54472e9c
AJ
27330 [BZ #6578]
27331 * manual/syslog.texi (closelog): Fix reference, it's openlog.
27332
624254b1
SC
273332012-04-08 Stephen Compall <s11@member.fsf.org>
27334
27335 [BZ #6649]
27336 * manual/llio.texi (Opening and Closing Files): Add cross
27337 reference to explain mode argument.
27338
1e4920e0
MF
273392012-04-07 Mike Frysinger <vapier@gentoo.org>
27340
27341 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
27342 * sysdeps/x86_64/memset_chk.S: Likewise.
27343
5ed848f3
DM
273442012-04-07 David S. Miller <davem@davemloft.net>
27345
27346 * elf/elf.h (R_SPARC_WDISP10): Define.
27347 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
27348 R_SPARC_SIZE32.
27349 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
27350 R_SPARC_SIZE64 and R_SPARC_H34.
27351
96154cd8
CD
273522012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
27353
27354 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
27355 conditions and remove no longer applicable assertion.
27356
9904dc47
L
273572012-04-06 H.J. Lu <hongjiu.lu@intel.com>
27358
27359 * bits/byteswap.h: Include <features.h>.
27360 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
27361 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
27362
f8887d0a
L
273632012-04-06 H.J. Lu <hongjiu.lu@intel.com>
27364
27365 * bits/byteswap.h (__bswap_16): Removed.
27366 Include <bits/byteswap-16.h> to get __bswap_16.
27367 * sysdeps/i386/bits/byteswap.h: Likewise.
27368 * sysdeps/s390/bits/byteswap.h: Likewise.
27369 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27370 * bits/byteswap-16.h: New file.
27371 * sysdeps/i386/bits/byteswap-16.h: Likewise.
27372 * sysdeps/s390/bits/byteswap-16.h: Likewise.
27373 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
27374 * string/Makefile (headers): Add bits/byteswap-16.h.
27375
62470f60
PP
273762012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
27377
27378 [BZ #13895]
27379 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
27380 extra indirection.
27381 * nss/Makefile (tests-static, tests): Add tst-nss-static.
27382 * nss/tst-nss-static.c: New.
27383
4dad7bab
RM
273842012-04-06 Robert Millan <rmh@gnu.org>
27385
27386 [BZ #6486]
27387 * manual/llio.texi (File Position Primitive): lseek
27388 refers to WHENCE when it really means OFFSET.
27389
e9142a17
AJ
273902012-04-06 Andreas Jaeger <aj@suse.de>
27391
2c040eff
AJ
27392 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
27393 strncmp declarations.
27394
e9142a17
AJ
27395 * abilist/libc.abilist: Add __poll and __ppoll.
27396
ff9f1c5f
DM
273972012-04-05 David S. Miller <davem@davemloft.net>
27398
dcd2ae90
DM
27399 * scripts/check-local-headers.sh: Accept a host triplet in the
27400 path matched by the exclude regexp.
27401
993eb054
DM
27402 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
27403 definition.
27404 * sysdeps/powerpc/powerpc32/dl-machine.h
27405 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
27406 * sysdeps/s390/s390-32/dl-machine.h
27407 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27408 * sysdeps/sparc/sparc32/dl-machine.h
27409 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27410 * sysdeps/sparc/sparc64/dl-machine.h
27411 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27412
ff9f1c5f
DM
27413 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
27414 lazy binding.
48e2e132 27415 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
27416 undefined symbol errors.
27417
48e2e132 27418 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
27419 DT_NEEDED entries.
27420
e80d6f94
MM
274212012-04-05 Michael Matz <matz@suse.de>
27422
27423 [BZ #13592]
27424 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
27425
349fa79f
AJ
274262012-04-05 Andreas Jaeger <aj@suse.de>
27427
27428 [BZ #13908]
27429 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
27430 comment.
27431
f402708f
KK
274322012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27433
27434 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
27435 which ROUND is no valid rounding mode.
27436
2ecccfc9
KK
274372012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27438
27439 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
27440 read again.
27441 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
27442
8a53f50f
KK
274432012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27444
27445 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
27446 an exception using FPU order intentionally.
27447
274482012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27449
27450 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
27451 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
27452 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
27453 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
27454
d653abb7
SJ
274552012-04-05 Simon Josefsson <simon@josefsson.org>
27456
27457 [BZ #12340]
27458 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
27459 EINVAL when BUFLEN is too smal.
27460
c3b1bf7d
TS
274612012-04-05 Thomas Schwinge <thomas@codesourcery.com>
27462
27463 [BZ #13553]
27464 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
27465 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
27466
b1aa60f3
AJ
274672012-04-03 Andreas Jaeger <aj@suse.de>
27468
c3b1bf7d 27469 [BZ #13938]
67f60a26
AJ
27470 * manual/setjmp.texi (System V contexts): Fix sentence.
27471
b1aa60f3
AJ
27472 [BZ #13926]
27473 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
27474 New macro for this case.
27475 [!__GNUC__] (__bswap_64): New inline function for this case.
27476 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27477 * bits/byteswap.h: Likewise.
27478 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
27479 ull, guard with __GLIBC_HAVE_LONG_LONG.
27480
27481 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
27482 __GLIBC_HAVE_LONG_LONG.
27483
27484 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
27485 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
27486
39c59c35
TMQMF
274872012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27488
27489 [BZ #13691]
27490 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
27491 inptr and inend, rather than using last_ch.
27492
135ffda8
DM
274932012-04-02 David S. Miller <davem@davemloft.net>
27494
27495 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
27496 * stdio-common/printf-parse.h (read_int): Change return type to
27497 'int', return -1 on INT_MAX overflow.
27498 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
27499 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
27500 overflows INT_MAX. Check for overflow of in-format-string precision
27501 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
27502 SIZE_MAX not INT_MAX for integer overflow test.
27503 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
27504 skip the construct in the format string but do not record anything.
27505 * stdio-common/bug22.c: Adjust to test both width/prevision
27506 INT_MAX overflow as well as total length INT_MAX overflow. Check
27507 explicitly for proper errno values.
27508
228c019e
TS
275092012-04-02 Thomas Schwinge <thomas@codesourcery.com>
27510
302cadd3
TS
27511 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
27512 CHAR_MAX.
27513 * string/test-strcmp.c [! WIDE]: Likewise.
27514 * time/tst-mktime2.c: Likewise for INT_MAX.
27515 * string/test-string.h: #include <sys/param.h> for MIN.
27516
228c019e
TS
27517 * csu/init-first.c (__libc_init_first): Call __ctype_init.
27518 * sysdeps/i386/init-first.c (init): Likewise.
27519 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
27520 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
27521 * sysdeps/sh/init-first.c (init): Likewise.
27522
cfa633f5
UD
275232012-04-01 Ulrich Drepper <drepper@gmail.com>
27524
27525 * po/ru.po: Update from translation team.
d1635ef8 27526 * po/vi.po: Likewise.
cfa633f5 27527
6cd0a5ea
SP
275282012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
27529
27530 * resolv/nss_dns/dns-host.c: Merge copyright years.
27531
4b43400f
LD
275322012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27533
27534 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
27535 Optimize memcpy with prefetch if
27536 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
27537 src, dst pointers have unequal 16 byte alignments.
27538
48c41d04
SP
275392012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
27540
27541 [BZ #13928]
27542 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
27543 from a CNAME entry and return the minimum ttl for the query.
27544 (gaih_getanswer_slice): Likewise.
27545
b8dc394d
JL
275462012-03-30 Jeff Law <law@redhat.com>
27547
27548 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
27549 due to long keys.
27550 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
27551 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
27552
2f5a5ed0
JL
27553 * resolv/nss_dns/dns-host.c: Update copyright year.
27554
1d39e359
UD
275552012-03-30 Ulrich Drepper <drepper@gmail.com>
27556
c030f70c 27557 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 27558 requests to save a system call. Fix check that all bytes are sent.
c030f70c 27559
1d39e359
UD
27560 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
27561 comments for sendmmsg.
27562
275632012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
27564
27565 [BZ #13691]
27566 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
27567 with only 1 character between 0x0041 and 0x01b0.
27568 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
27569 * wcsmbs/tst-mbsnrtowcs.c: New file.
27570
20fde227
DM
275712012-03-29 David S. Miller <davem@davemloft.net>
27572
27573 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
27574 small copies by hand.
27575
984a4237
JL
275762012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27577
27578 [BZ #13761]
27579 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
27580 _nss_compat_initgroups_dyn): Fall back to malloc/free
27581 for large group memberships.
27582
18c9d62b
DM
275832012-03-28 David S. Miller <davem@davemloft.net>
27584
88d85d4f
DM
27585 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
27586 that branches into memcpy.
27587 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
27588 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
27589 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27590 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
27591 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
27592 bits.
27593 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
27594 implementation too.
27595 * sysdeps/sparc/mempcpy.S: New file.
27596
e5aa83e1
DM
27597 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
27598 the IFUNC routine in the libc case.
27599 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27600
88570753
DM
27601 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
27602 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
27603 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
27604 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
27605 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
27606 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
27607 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
27608 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
27609
249d7567
DM
27610 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
27611 loop to 256 bytes instead of 64 bytes and fix test signedness.
27612
18c9d62b
DM
27613 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
27614 * sysdeps/sparc/sparc32/Makefile: rather than here...
27615 * sysdeps/sparc/sparc64/Makefile: and here.
27616
05f3d1f6
UD
276172012-03-28 Ulrich Drepper <drepper@gmail.com>
27618
27619 * malloc/mallocbug.c: Avoid warnings about unused variables.
27620
86ae07a8
JL
276212012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
27622
27623 [BZ #13760]
27624 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
27625 in the right place. Discard and retry query if response is
27626 larger than input buffer size.
27627
41bf21a1
JM
276282012-03-28 Joseph Myers <joseph@codesourcery.com>
27629
d6270972
JM
27630 [BZ #369]
27631 [BZ #2678]
27632 [BZ #3866]
27633 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
27634 x for large integer exponent.
27635 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
27636 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
27637 sign of result as needed afterwards.
27638 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
27639 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
27640 result for underflowing pow the same as for overflow.
27641 (__kernel_standard_l): Handle powl overflow and underflow here
27642 rather than calling __kernel_standard.
27643 * math/libm-test.inc (pow_test): Add more tests.
27644
414fca03 27645 [BZ #3868]
41bf21a1
JM
27646 [BZ #13879]
27647 [BZ #13910]
27648 [BZ #13911]
27649 [BZ #13912]
27650 [BZ #13913]
27651 [BZ #13915]
27652 [BZ #13916]
27653 [BZ #13917]
27654 [BZ #13918]
27655 [BZ #13919]
27656 [BZ #13920]
27657 [BZ #13921]
27658 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
27659 * sysdeps/ieee754/k_standard.c: Include <float.h>.
27660 (__kernel_standard_l): New function.
27661 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
27662 __kernel_standard.
27663 * math/w_acosl.c (__acosl): Likewise.
27664 * math/w_asinl.c (__asinl): Likewise.
27665 * math/w_atan2l.c (__atan2l): Likewise.
27666 * math/w_atanhl.c (__atanhl): Likewise.
27667 * math/w_coshl.c (__coshl): Likewise.
27668 * math/w_exp10l.c (__exp10l): Likewise.
27669 * math/w_exp2l.c (__exp2l): Likewise.
27670 * math/w_fmodl.c (__fmodl): Likewise.
27671 * math/w_hypotl.c (__hypotl): Likewise.
27672 * math/w_j0l.c (__j0l, __y0l): Likewise.
27673 * math/w_j1l.c (__j1l, __y1l): Likewise.
27674 * math/w_jnl.c (__jnl, __ynl): Likewise.
27675 * math/w_lgammal.c (__lgammal): Likewise.
27676 * math/w_log10l.c (__log10l): Likewise.
27677 * math/w_log2l.c (__log2l): Likewise.
27678 * math/w_logl.c (__logl): Likewise.
27679 * math/w_powl.c (__powl): Likewise.
27680 * math/w_remainderl.c (__remainderl): Likewise.
27681 * math/w_scalbl.c (sysv_scalbl): Likewise.
27682 * math/w_sinhl.c (__sinhl): Likewise.
27683 * math/w_sqrtl.c (__sqrtl): Likewise.
27684 * math/w_tgammal.c (__tgammal): Likewise.
27685 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
27686 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
27687 * math/libm-test.inc (acos_test): Add more tests.
27688 (acosh_test): Likewise.
27689 (asin_test): Likewise.
27690 (atanh_test): Likewise.
27691 (exp_test): Likewise.
27692 (exp10_test): Likewise.
27693 (exp2_test): Likewise.
27694 (expm1_test): Likewise.
27695 (lgamma_test): Likewise.
27696 (log_test): Likewise.
27697 (log10_test): Likewise.
27698 (log1p_test): Likewise.
27699 (log2_test): Likewise.
27700 (pow_test): Do not allow some spurious overflow exceptions.
27701 (sqrt_test): Add more tests.
27702 (tgamma_test): Likewise.
27703 (y0_test): Likewise.
27704 (y1_test): Likewise.
27705 (yn_test): Likewise.
27706
dd62fda6
AB
277072012-03-27 Anton Blanchard <anton@samba.org>
27708
27709 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
27710 MAP_HUGETLB.
27711 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27712 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
27713 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27714
1e3cdfda
AJ
277152012-03-27 David S. Miller <davem@davemloft.net>
27716
b855ab85
DM
27717 * conform/Makefile: Run run-conformtest.sh using $(BASH).
27718
1e3cdfda
AJ
27719 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
27720 have-as-vis3 check.
27721
277222012-03-27 Andreas Jaeger <aj@suse.de>
27723
27724 * sysdeps/x86_64/elf/configure.in: Moved to ...
27725 * sysdeps/x86_64/configure.in: ... here.
27726 * sysdeps/x86_64/elf/start.S: Moved to ...
27727 * sysdeps/x86_64/start.S: ... here.
27728 * sysdeps/x86_64/elf/configure: Delete.
27729
27730 * sysdeps/x86_64/configure.in: Merge contents from
27731 sysdeps/i386/configure.in (without i686 check).
27732
27733 * sysdeps/i386/elf/Versions: Merge into ...
27734 * sysdeps/i386/Versions: ... this.
27735 * sysdeps/i386/elf/Versions: Delete file.
27736 * sysdeps/i386/elf/start.S: Moved to ...
27737 * sysdeps/i386/start.S: ...here.
27738 * sysdeps/i386/elf/configure.in: Merge into...
27739 * sysdeps/i386/configure.in: ...here.
27740 * sysdeps/i386/elf/configure.in: Delete file.
27741 * sysdeps/i386/elf/configure: Delete file.
27742
27743 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
27744 * debug/backtracesyms.c: ... here.
27745 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
27746 * debug/backtracesymsfd.c: ... here.
27747 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
27748 * sysdeps/generic/ifunc-sel.h: ... here.
27749
27750 * sysdeps/unix/i386/start.c: Delete file.
27751 * sysdeps/unix/sparc/start.c: Delete file.
27752 * sysdeps/unix/start.c: Delete file.
27753
27754 * sysdeps/sh/elf/configure.in: Moved to ...
27755 * sysdeps/sh/configure.in: ... here.
27756 * sysdeps/sh/elf/start.S: Moved to ...
27757 * sysdeps/sh/start.S: ... here.
27758 * sysdeps/sh/elf/configure: Delete file.
27759
27760 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
27761 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
27762 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
27763 * sysdeps/powerpc/powerpc64/entry.h: ... here.
27764 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
27765 * sysdeps/powerpc/powerpc64/start.S: here.
27766 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
27767 * sysdeps/powerpc/powerpc64/Makefile: ... this.
27768 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
27769 * sysdeps/powerpc/powerpc64/configure.in: ... this.
27770 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
27771
27772 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
27773 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
27774 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
27775 * sysdeps/powerpc/powerpc32/start.S: ... here.
27776 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
27777 * sysdeps/powerpc/powerpc32/configure.in: ... this.
27778 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
27779
27780 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
27781 * sysdeps/powerpc/ifunc-sel.h: ... here.
27782 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
27783 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
27784
27785 * sysdeps/sparc/elf/configure.in: Moved to ...
27786 * sysdeps/sparc/configure.in: ... here.
27787 * sysdeps/sparc/elf/configure: Delete file.
27788 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
27789 * sysdeps/sparc/sparc32/start.S: ... here.
27790 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
27791 * sysdeps/sparc/sparc64/start.S: ... here.
27792 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
27793 * sysdeps/sparc/sparc32/Makefile: ... this.
27794 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
27795 * sysdeps/sparc/sparc64/Makefile: ... this.
27796
27797 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
27798 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
27799 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
27800 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
27801 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
27802 * sysdeps/s390/s390-32/setjmp.S: ... here.
27803 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
27804 * sysdeps/s390/s390-32/configure.in: ... here.
27805 * sysdeps/s390/s390-32/elf/configure: Delete file.
27806 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
27807 * sysdeps/s390/s390-32/start.S: ... here.
27808
27809 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
27810 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
27811 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
27812 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
27813 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
27814 * sysdeps/s390/s390-64/setjmp.S: ... here.
27815 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
27816 * sysdeps/s390/s390-64/configure.in: ... here
27817 * sysdeps/s390/s390-64/elf/configure: Delete file.
27818 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
27819 * sysdeps/s390/s390-64/start.S: ... here.
27820 * sysdeps/s390/s390-64/elf/configure: Delete.
27821
27822 * configure.in: Remove support for elf directories in sysdeps.
27823
27824 * configure: Regenerated.
27825 * sysdeps/i386/configure: Regenerated.
27826 * sysdeps/powerpc/powerpc32/configure: Regenerated.
27827 * sysdeps/powerpc/powerpc64/configure: Regenerated.
27828 * sysdeps/s390/s390-32/configure: Regenerated.
27829 * sysdeps/s390/s390-64/configure: Regenerated.
27830 * sysdeps/sh/configure: Regenerated.
27831 * sysdeps/sparc/configure: Regenerated.
27832 * sysdeps/x86_64/configure: Regenerated.
27833
a3f61311
AS
278342012-03-26 Andreas Schwab <schwab@linux-m68k.org>
27835
c876e002
AS
27836 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27837
a3f61311
AS
27838 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
27839 denormal result into account.
27840
ac4c54f0
RM
278412012-03-25 Roland McGrath <roland@hack.frob.com>
27842
27843 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
27844 Reported by Allan McRae <allan@archlinux.org>.
27845
6a9b9c02
JL
278462012-03-23 Jeff Law <law@redhat.com>
27847
27848 * nss/getnssent.c (__nss_getent): Fix typo.
27849
4c42a0c1
DM
278502012-03-23 David S. Miller <davem@davemloft.net>
27851
27852 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27853
1532c7ac
L
278542012-03-23 H.J. Lu <hongjiu.lu@intel.com>
27855
27856 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
27857 to pad to uint64_t for each field.
27858 (dl_tls_index): Replace unsigned long with uint64_t.
27859
3ff42526
PP
278602012-03-23 Daniel Jacobowitz <dmj@google.com>
27861 Paul Pluzhnikov <ppluzhnikov@google.com>
27862
27863 [BZ #6528]
27864 * grp/Makefile (otherlibs): Don't set it.
27865 * inet/Makefile (otherlibs): Likewise.
27866 * login/Makefile (otherlibs): Likewise.
27867 * nscd/Makefile (otherlibs): Likewise.
27868 * posix/Makefile (otherlibs): Likewise.
27869 * pwd/Makefile (otherlibs): Likewise.
27870 * rt/Makefile (otherlibs): Likewise.
27871 * sunrpc/Makefile (otherlibs): Likewise.
27872 * nss/Makefile (otherlibs): Likewise.
27873 Add libnss_files to routines and static-only-routines.
27874 ($(objpfx)getent): Remove rule.
27875 * resolv/Makefile: Add libnss_dns and libresolv to routines and
27876 static-only-routines.
27877
7c69cd14
JM
278782012-03-22 Joseph Myers <joseph@codesourcery.com>
27879
27880 [BZ #13892]
27881 * math/s_cexp.c: Include <float.h>.
27882 (__cexp): Handle exp result overflowing not necessarily
27883 overflowing both real and imaginary parts of result.
27884 * math/s_cexpf.c: Likewise.
27885 * math/s_cexpl.c: Likewise.
27886 * math/libm-test.inc (cexp_test): Add more tests.
27887 * sysdeps/i386/fpu/libm-test-ulps: Update.
27888 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27889
81b035fe
L
278902012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27891
27892 * include/link.h (ELFW): New macro.
27893 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
27894 Replace ELF64_R_TYPE with ELFW(R_TYPE).
27895
1da7940c
L
278962012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27897
27898 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
27899 with uint64_t.
27900
b749dbb9
L
279012012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27902
27903 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
27904 declaration.
27905 (struct La_x32_retval): Likewise.
27906
2ff87f3f
L
279072012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27908
27909 * sysdeps/x86_64/preconfigure.in: New file.
27910 * sysdeps/x86_64/preconfigure: New generated file.
27911
c0df8e69
JM
279122012-03-22 Joseph Myers <joseph@codesourcery.com>
27913
48e44791
JM
27914 [BZ #13824]
27915 * math/e_exp2l.c: Include <float.h>.
27916 (__ieee754_exp2l): Handle overflow and underflow cases
27917 separately. Only pass fractional part of argument to
27918 __ieee754_expl.
27919 * math/libm-test.inc (exp2_test): Add more tests.
27920
c0df8e69
JM
27921 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
27922 negating x to take absolute value.
27923 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
27924 Likewise.
27925 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
27926 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
27927 Likewise.
27928 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
27929 computing low part if x was negated.
27930 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
27931
c8e43ba7
L
279322012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27933
27934 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
27935 la_x32_gnu_pltexit.
27936 (pltexit): Cast int_retval to ptrdiff_t.
27937 * elf/tst-auditmod3b.c: Likewise.
27938 * elf/tst-auditmod4b.c: Likewise.
27939 * elf/tst-auditmod5b.c: Likewise.
27940 * elf/tst-auditmod6b.c: Likewise.
27941 * elf/tst-auditmod6c.c: Likewise.
27942 * elf/tst-auditmod7b.c: Likewise.
27943
27944 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
27945 and x32_gnu_pltexit.
27946
27947 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
27948 __ELF_NATIVE_CLASS.
27949 (La_x32_regs): New macro.
27950 (La_x32_retval): Likewise.
27951 (la_x32_gnu_pltenter): New function prototype.
27952 (la_x32_gnu_pltexit): Likewise.
27953
7998fa78
AS
279542012-03-21 Andreas Schwab <schwab@linux-m68k.org>
27955
dcb33988
AS
27956 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
27957 exponent.
27958
233fc563
AS
27959 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27960
7998fa78
AS
27961 * configure.in (libc_cv_cc_nofma): Check for option to disable
27962 generation of FMA instructions.
27963 * configure: Regenerate.
27964 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
27965 * sysdeps/ieee754/dbl-64/Makefile: New file.
27966 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27967 Remove brandred-fma4.
27968 (CFLAGS-brandred-fma4.c): Remove.
27969 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
27970 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
27971 define.
27972 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
27973 define.
27974
8e95c99a
L
279752012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27976
27977 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
27978 LLONG_MAX != LONG_MAX.
27979 (_itoa_word): Use _ITOA_WORD_TYPE on value.
27980 (_fitoa_word): Likewise.
27981 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
27982 LLONG_MAX != LONG_MAX.
27983 * stdio-common/_itowa.h: Include <_itoa.h>.
27984 (_itowa_word): Use _ITOA_WORD_TYPE on value.
27985 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
27986 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
27987 only if not defined.
27988 (_ITOA_WORD_TYPE): Likewise.
27989 (_itoa_word): Use _ITOA_WORD_TYPE on value.
27990 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
27991
6f4db457
DM
279922012-03-21 David S. Miller <davem@davemloft.net>
27993
27994 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27995
7785fe5a
L
279962012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27997
27998 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
27999 of x86_64 when setting libc_cv_slibdir, libdir and
28000 libc_cv_localedir.
28001 * sysdeps/unix/sysv/linux/configure: Regenerated.
28002
4535cd55
JM
280032012-03-21 Joseph Myers <joseph@codesourcery.com>
28004
28005 * manual/lang.texi (Old Varargs): Remove section.
28006 (How Variadic): Update menu.
28007 (va_start): Do not mention varargs.h.
28008
17228132
TS
280092012-03-21 Thomas Schwinge <thomas@codesourcery.com>
28010 Joseph Myers <joseph@codesourcery.com>
28011
28012 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
28013 link test.
28014 * configure: Regenerated.
28015
8149f976
TS
280162012-03-21 Thomas Schwinge <thomas@codesourcery.com>
28017
05f3d1f6
UD
28018 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
28019 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
28020 conformtest.pl
8149f976 28021
1a4ac776
JM
280222012-03-21 Joseph Myers <joseph@codesourcery.com>
28023
be22ce65
JM
28024 * NOTES: Remove.
28025 * Makefile (files-for-dist): Remove NOTES.
28026 (NOTES): Remove rule.
28027 * README: Don't refer to NOTES.
28028 * manual/creature.texi: Don't include macros.texi.
28029 * manual/intro.texi (creature.texi): Remove comment referring to
28030 NOTES.
28031
40b601fb
JM
28032 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
28033 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
28034 * configure: Regenerated.
28035 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
28036 LIBC_TRY_CC_OPTION.
28037 (libc_cv_as_i686): Likewise.
28038 (libc_cv_cc_avx): Likewise.
28039 (libc_cv_cc_sse2avx): Likewise.
28040 (libc_cv_cc_fma4): Likewise.
28041 (libc_cv_cc_novzeroupper): Likewise.
28042 * sysdeps/i386/configure: Regenerated.
28043
1a4ac776
JM
28044 [BZ #13883]
28045 * sysdeps/i386/fpu/s_cexp.S: Remove.
28046 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
28047 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
28048 * math/libm-test.inc (cexp_test): Add more tests.
28049 * sysdeps/i386/fpu/libm-test-ulps: Update.
28050 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28051
a458e7fe
AM
280522012-03-21 Allan McRae <allan@archlinux.org>
28053
28054 * timezone/Makefile: Do not install iso3166.tab and zone.tab
28055
0cb7efc5
JM
280562012-03-21 Joseph Myers <joseph@codesourcery.com>
28057
28058 [BZ #13871]
28059 * math/w_exp2.c: Do not include <float.h>.
28060 (o_threshold, u_threshold): Remove.
28061 (__exp2): Calculate result before checking finiteness and calling
28062 __kernel_standard.
28063 * math/w_exp2f.c: Likewise.
28064 * math/w_exp2l.c: Likewise.
28065 * math/libm-test.inc (exp2_test): Require overflow exception for
28066 1e6 input.
2460d3aa
JM
28067
28068 [BZ #3866]
28069 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
28070 range of signed 64-bit integers before using fistpll. Remove
28071 checks for whether integers fit in mantissa bits.
28072 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
28073 the range of signed 32-bit integers before using fistpl. Remove
28074 checks for whether integers fit in mantissa bits.
28075 * sysdeps/i386/fpu/e_powl.S (p64): New object.
28076 (__ieee754_powl): Test for y outside the range of signed 64-bit
28077 integers before using fistpll. Reduce 64-bit values to 63-bit
28078 ones as needed.
28079 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
28080 divide-by-zero is raised for zero to large negative powers.
28081 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
28082 (__ieee754_powl): Test for y outside the range of signed 64-bit
28083 integers before using fistpll. Reduce 64-bit values to 63-bit
28084 ones as needed.
28085 * math/libm-test.inc (pow_test): Add more tests.
28086
eb96ffb0
L
280872012-03-20 H.J. Lu <hongjiu.lu@intel.com>
28088
28089 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
28090 <stdio-common/_itoa.h>.
28091 * debug/segfault.c: Likewise.
28092 * elf/dl-cache.c: Likewise.
28093 * elf/dl-minimal.c: Likewise.
28094 * elf/dl-misc.c: Likewise.
28095 * elf/dl-sysdep.c: Likewise.
28096 * elf/dl-version.c: Likewise.
28097 * elf/rtld.c: Likewise.
28098 * hurd/hurdsock.c: Likewise.
28099 * hurd/lookup-retry.c: Likewise.
28100 * malloc/malloc.c: Likewise.
28101 * malloc/mtrace.c: Likewise.
28102 * nscd/nscd_getgr_r.c: Likewise.
28103 * nscd/nscd_getpw_r.c: Likewise.
28104 * nscd/nscd_getserv_r.c: Likewise.
28105 * posix/getopt_init.c: Likewise.
28106 * posix/wordexp.c: Likewise.
28107 * stdio-common/_itoa.c: Likewise.
28108 * stdio-common/printf_fphex.c: Likewise.
28109 * stdio-common/vfprintf.c: Likewise.
28110 * string/_strerror.c: Likewise.
28111 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
28112 * sysdeps/i386/i686/hp-timing.h: Likewise.
28113 * sysdeps/mach/_strerror.c: Likewise.
28114 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
28115 * sysdeps/mach/hurd/sethostid.c: Likewise.
28116 * sysdeps/mach/hurd/xmknodat.c: Likewise.
28117 * sysdeps/mach/xpg-strerror.c: Likewise.
28118 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
28119 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
28120 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
28121 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
28122 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
28123 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
28124 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
28125 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
28126 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
28127 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
28128 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
28129 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
28130 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
28131 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
28132 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
28133 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
28134 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
28135 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
28136 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
28137 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
28138 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
28139
28140 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
28141
28142 * stdio-common/_itoa.h: Moved to ...
28143 * sysdeps/generic/_itoa.h: Here.
28144
28145 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
28146
28147 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
28148 instead of "_itoa.h" and "_itowa.h".
28149 * stdio-common/vfprintf.: Likewise.
28150
d1af992d
L
281512012-03-20 H.J. Lu <hongjiu.lu@intel.com>
28152
28153 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
28154 <bits/wordsize.h>.
28155 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
28156 (__signbit): Likwise.
28157 (llrintf): Likwise.
28158 (llrint): Likwise.
28159
114883e0
L
281602012-03-20 H.J. Lu <hongjiu.lu@intel.com>
28161
28162 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
28163 __WORDSIZE != 64.
28164
c135cc1b
JM
281652012-03-20 Joseph Myers <joseph@codesourcery.com>
28166
28167 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
28168 OVERFLOW_EXCEPTION_OK.
28169 * math/libm-test.inc ("Philosophy"): Update comment about
28170 exception testing.
28171 (OVERFLOW_EXCEPTION): Define.
28172 (OVERFLOW_EXCEPTION_OK): Likewise.
28173 (INVALID_EXCEPTION_OK): Renumber.
28174 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28175 (IGNORE_ZERO_INF_SIGN): Likewise.
28176 (test_exceptions): Handle FE_OVERFLOW.
28177 (exp10_test): Expect overflow exceptions.
28178 (exp2_test): Likewise.
28179 (expm1_test): Likewise.
28180 (nextafter_test): Likewise.
28181 (pow_test): Likewise.
28182 (scalbn_test): Likewise.
28183 (scalbln_test): Likewise.
28184
95443d88
L
281852012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28186
28187 * sysdeps/x86_64/bits/atomic.h
28188 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
28189 64bit integer.
28190 (atomic_exchange_acq): Likewise.
28191 (__arch_exchange_and_add_body): Likewise.
28192 (__arch_add_body): Likewise.
28193 (atomic_add_negative): Likewise.
28194 (atomic_add_zero): Likewise.
28195
490df6c4
L
281962012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28197
c2722551 28198 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
28199 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
28200
5e52b189
L
282012012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28202
28203 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
28204 Check __x86_64__ instead of __WORDSIZE.
28205
a9879d4c
L
282062012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28207
28208 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
28209
5df98260
DM
282102012-03-19 David S. Miller <davem@davemloft.net>
28211
e1497744
DM
28212 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28213
5df98260
DM
28214 * sysdeps/sparc/fpu/fenv_private.h: New file.
28215 * sysdeps/sparc/fpu/math_private.h: Use it.
28216 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
28217 Remove.
28218 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
28219 (libc_feholdexcept_setroundl): Remove.
28220 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
28221 Remove.
28222 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
28223 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
28224
b4c35121
L
282252012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28226
28227 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
28228 int64_t instead of long int.
28229 (INSERT_WORDS64): Likwise.
28230
56965fd7
L
282312012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28232
28233 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
28234 _Unwind_GetCFA return to _Unwind_Ptr first.
28235
83d1aec8
JM
282362012-03-19 Joseph Myers <joseph@codesourcery.com>
28237
1897ad44
JM
28238 [BZ #13629]
28239 * math/s_clog.c: Include <float.h>.
28240 (__clog): Scale large or subnormal inputs.
28241 * math/s_clogf.c: Likewise.
28242 * math/s_clogl.c: Likewise.
28243 * math/s_clog10.c: Include <float.h>.
28244 (M_LOG10_2): Define.
28245 (__clog10): Scale large or subnormal inputs.
28246 * math/s_clog10f.c: Likewise.
28247 * math/s_clog10l.c: Likewise.
28248 * math/libm-test.inc (clog_test): Add more tests.
28249 (clog10_test): Likewise.
28250 * sysdeps/i386/fpu/libm-test-ulps: Update.
28251 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28252
7726d6a9
JM
28253 [BZ #11451]
28254 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
28255 x and y.
28256 * math/libm-test.inc (atan2_test): Add another test.
28257
83d1aec8
JM
28258 * Makerules (common-objdir-compile): Remove.
28259 * sysdeps/unix/Makefile (config-generated): Do not add
28260 $(unix-generated) to variable.
28261 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
28262 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
28263 Remove rule.
28264 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
28265 Likewise.
28266 [generic bits/local_lim.h] (before-compile): Do not append to
28267 variable.
28268 [generic bits/local_lim.h] (common-generated): Likewise.
28269 [generic sys/param.h] (before-compile): Do not append to variable.
28270 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
28271 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
28272 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
28273 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
28274 include.
28275 [generic sys/param.h] (sys/param.h-includes): Remove variable.
28276 [generic sys/param.h] (sys/param.h-includes): Remove rule.
28277 [generic sys/param.h] ($(addprefix
28278 $(common-objpfx),$(sys/param.h-includes))): Likewise.
28279 [generic sys/param.h] (common-generated): Do not append to
28280 variable.
28281 [generic sys/param.h] (sysdep_headers): Likewise.
28282 [generic bits/errno.h] (before-compile): Do not append to
28283 variable.
28284 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
28285 rule.
28286 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
28287 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
28288 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
28289 [generic bits/errno.h] (common-generated): Do not append to
28290 variable.
28291 [generic bits/ioctls.h] (before-compile): Do not append to
28292 variable.
28293 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
28294 rule.
28295 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
28296 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
28297 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
28298 rule.
28299 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
28300 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
28301 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
28302 [generic bits/ioctls.h] (common-generated): Do not append to
28303 variable.
28304 [generic sys/syscall.h] (syscall.h): Remove variable.
28305 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
28306 rule.
28307 [generic sys/syscall.h] (before-compile): Do not append to
28308 variable.
28309 [generic sys/syscall.h] (common-generated): Likewise.
28310 * sysdeps/unix/errnos-tmpl.c: Remove file.
28311 * sysdeps/unix/errnos.awk: Likewise.
28312 * sysdeps/unix/ioctls-tmpl.c: Likewise.
28313 * sysdeps/unix/ioctls.awk: Likewise.
28314 * sysdeps/unix/mk-local_lim.c: Likewise.
28315 * sysdeps/unix/snarf-ioctls: Likewise.
28316
4851a949
RH
283172012-03-19 Richard Henderson <rth@twiddle.net>
28318
bd37f2ee
RH
28319 * sysdeps/i386/fpu/fenv_private.h: New file.
28320 * sysdeps/i386/fpu/math_private.h: Use it.
28321 (math_opt_barrier, math_force_eval): Remove.
28322 (libc_feholdexcept_setround_53bit): Remove.
28323 (libc_feupdateenv_53bit): Remove.
28324 * sysdeps/x86_64/fpu/math_private.h: Likewise.
28325 (math_opt_barrier, math_force_eval): Remove.
28326 (libc_feholdexcept): Remove.
28327 (libc_feholdexcept_setround): Remove.
28328 (libc_fetestexcept, libc_fesetenv): Remove.
28329 (libc_feupdateenv_test): Remove.
28330 (libc_feupdateenv, libc_feholdsetround): Remove.
28331 (libc_feresetround): Remove.
28332
d0adc922
RH
28333 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
28334 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
28335
0fe0f1f8
RH
28336 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
28337 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
28338 (libc_feupdateenv_testl): New.
28339 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
28340 (libc_feupdateenv_testf): New.
28341 (libc_feupdateenv): Use libc_feupdateenv_test.
28342 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
28343 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
28344
eb92c487
RH
28345 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
28346 (libc_feholdsetroundf, libc_feholdsetroundl): New.
28347 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
28348 (libc_feresetround_noex): New.
28349 (libc_feresetround_noexf): New.
28350 (libc_feresetround_noexl): New.
28351 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
28352 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
28353 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
28354 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
28355 SET_RESTORE_ROUND.
28356 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
28357 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
28358 (__cos): Likewise.
28359 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
28360 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
28361 SET_RESTORE_ROUND_NOEX.
28362 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
28363 SET_RESTORE_ROUND_NOEXF.
28364 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
28365 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
28366 (libc_feholdsetroundf): New.
28367 (libc_feresetround, libc_feresetroundf): New.
28368
7d2e8012
RH
28369 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
28370 (libc_feholdexcept_setround_53bit): Convert from macro to function.
28371 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
28372
b4dabbb4
RH
28373 * sysdeps/generic/math_private.h: Include <fenv.h>.
28374 (default_libc_feholdexcept): New.
28375 (default_libc_feholdexcept_setround): New.
28376 (default_libc_fesetenv, default_libc_feupdateenv): New.
28377 (libc_feholdexcept): Only define if undefined.
28378 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
28379 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
28380 (libc_feholdexcept_setroundl): Likewise.
28381 (libc_feholdexcept_setround_53bit): Likewise.
28382 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
28383 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
28384 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
28385 (libc_feupdateenv_53bit): Likewise.
28386 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
28387 (libc_feholdexcept): Convert from macro to inline function.
28388 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
28389 (libc_fesetenv, libc_feupdateenv): Likewise.
28390
4851a949
RH
28391 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
28392 not previously defined.
28393 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
28394 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
28395 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
28396 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
28397 * sysdeps/ieee754/flt-32/math_private.h: New file.
28398 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
28399 math_private.h below SET_FLOAT_WORD.
28400 (__isnan, __isinf_ns, __finite): Remove.
28401 (__isnanf, __isinf_nsf, __finitef): Remove.
28402
e79d442e
AS
284032012-03-18 Andreas Schwab <schwab@linux-m68k.org>
28404
28405 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28406
90b80344
DM
284072012-03-17 David S. Miller <davem@davemloft.net>
28408
28409 [BZ #6471]
28410 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
28411 for 2.16.
28412
edc21804
DM
284132012-03-16 David S. Miller <davem@davemloft.net>
28414
77e927af
DM
28415 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
28416 warnings.
28417
374976dd
DM
28418 [BZ #6471]
28419 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
28420 properly.
28421 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
28422 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
28423 sysdep_routines when subdir is sysvipc.
28424 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
28425 __getshmlba helper.
28426
edc21804
DM
28427 * sysdeps/sparc/fpu/libm-test/ulps: Update.
28428
473c3ef3
L
284292012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28430
28431 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
28432 [__LP64__].
28433
eb0f39b6
L
284342012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28435
28436 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
28437 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
28438 (__lround): Renamed to ...
28439 (__llround): This. Replace long int with long long int.
28440 Define lround functions as aliases of llround functions.
28441 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
28442
6b6cd74b
L
284432012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28444
28445 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
28446 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
28447 adresses to uintptr_t. Replace "long int" and "unsigned long
28448 int" with "greg_t" on va_arg.
28449
f1a77b01
L
284502012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28451
28452 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
28453 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
28454
28455 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
28456 Move e_machine check before EI_CLASS check. Handle x32
28457 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
28458 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
28459 SKIP_EM_IA_64 and include
28460 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
28461
28462 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
28463 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
28464 (add_system_dir): New macro.
28465
28466 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
28467 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
28468
11b90b9f
JM
284692012-03-16 Joseph Myers <joseph@codesourcery.com>
28470
c36e1d23
JM
28471 [BZ #2551]
28472 [BZ #2552]
28473 [BZ #2553]
28474 [BZ #2554]
28475 [BZ #2562]
28476 [BZ #2563]
28477 [BZ #2565]
28478 [BZ #2566]
28479 [BZ #2576]
28480 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
28481 (y0): Likewise.
28482 * math/w_j0f.c (j0f): Likewise.
28483 (y0f): Likewise.
28484 * math/w_j0l.c (__j0l): Likewise.
28485 (__y0l): Likewise.
28486 * math/w_j1.c (j1): Likewise.
28487 (y1): Likewise.
28488 * math/w_j1f.c (j1f): Likewise.
28489 (y1f): Likewise.
28490 * math/w_j1l.c (__j1l): Likewise.
28491 (__y1l): Likewise.
28492 * math/w_jn.c (jn): Likewise.
28493 (yn): Likewise.
28494 * math/w_jnf.c (jnf): Likewise.
28495 (ynf): Likewise.
28496 * math/w_jnl.c (__jnl): Likewise.
28497 (__ynl): Likewise.
28498 * math/libm-test.inc (j0_test): Add more tests.
28499 (j1_test): Likewise.
28500 (jn_test): Likewise. Add trailing semicolon to existing test.
28501 (y0_test): Likewise.
28502 (y1_test): Likewise.
28503 * sysdeps/i386/fpu/libm-test-ulps: Update.
28504 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28505
11b90b9f
JM
28506 [BZ #13851]
28507 [BZ #13854]
28508 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
28509 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
28510 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
28511 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
28512 (__tanl): Set errno for infinite argument.
28513 * sysdeps/i386/fpu/mptan.c: Remove.
28514 * sysdeps/i386/fpu/s_tan.S: Likewise.
28515 * sysdeps/i386/fpu/s_tanl.S: Likewise.
28516 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
28517 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
28518 * math/libm-test.inc (tan_test): Add more tests and enable more
28519 tests for double and long double.
28520 * sysdeps/i386/fpu/libm-test-ulps: Update.
28521 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28522
6a1bd2a1
JK
285232012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
28524
28525 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
28526 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
28527
10a803e0
RM
285282012-03-16 Roland McGrath <roland@hack.frob.com>
28529
28530 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
28531 * configure.in: Use it for both main tree and add-ons.
28532 * configure: Regenerated.
28533
f196c7f7
L
285342012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28535
28536 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
28537
8848d99d
JM
285382012-03-16 Joseph Myers <joseph@codesourcery.com>
28539
96cbe7f4
JM
28540 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
28541 in comment.
28542
8848d99d
JM
28543 [BZ #13851]
28544 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
28545 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
28546 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
28547 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
28548 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
28549 infinite argument.
28550 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
28551 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
28552 != 0 for prec == 2.
28553 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
28554 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
28555 * sysdeps/i386/fpu/s_cosl.S: Likewise.
28556 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
28557 * sysdeps/i386/fpu/s_sinl.S: Likewise.
28558 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
28559 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
28560 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
28561 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
28562 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
28563 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
28564 * math/libm-test.inc (cos_test): Add more tests and enable more
28565 tests for long double.
28566 (sin_test): Likewise.
28567 (sincos_test): Likewise.
28568 * sysdeps/i386/fpu/libm-test-ulps: Update.
28569 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28570
dd7f4703
DM
285712012-03-16 David S. Miller <davem@davemloft.net>
28572
28573 * sysdeps/sparc/fpu/math_private.h: New file.
28574
006f1daa
DM
285752012-03-15 David S. Miller <davem@davemloft.net>
28576
c0c83bc8
DM
28577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
28578 file.
e6a62e18 28579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
28580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
28581 file.
e6a62e18
DM
28582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
28583 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
28584 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
28585 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
28586 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
28587 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
28588 sysdep routines.
28589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28590
88cb87d9
DM
28591 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
28592 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
28593
006f1daa 28594 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
28595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
28596 sparc-ifunc.h
006f1daa 28597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
28598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
28599 Likewise.
28600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
28601 Likewise.
006f1daa
DM
28602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
28603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
28604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
28605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
28606 Likewise.
006f1daa
DM
28607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
28608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
28609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
28610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
28611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
28612 Likewise.
28613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
28614 Likewise.
006f1daa
DM
28615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
28616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
28617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
28618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
28619 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
28620 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
28621 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
28622 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
28623 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
28624 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
28625 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
28626 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
28627 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
28628 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
28629 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
28630 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
28631 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
28632 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
28633 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
28634 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
28635 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
28636 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
28637 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
28638 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
28639
11e0098e
AS
286402012-03-15 Andreas Schwab <schwab@linux-m68k.org>
28641
28642 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
28643 scaling.
28644 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28645
e85b09d0
AJ
286462012-03-15 Andreas Jaeger <aj@suse.de>
28647
28648 [BZ #13852]
28649 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
28650 ieee754/flt-32 implementation for sin, cos and sincos.
28651 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
28652 * sysdeps/i386/fpu/s_cosf.S: Likewise.
28653 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
28654 * sysdeps/i386/fpu/s_sinf.S: Likewise.
28655 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
28656 ieee754/flt-32 implementation for tan.
28657
28658 * math/libm-test.inc (cos_test): Enable some large input tests for
28659 float as well
28660 (sin_test): Likewise.
28661 (sincos_test): Likewise.
28662 (tan_test): Add tests for large input.
28663
28664 * sysdeps/i386/fpu/libm-test-ulps: Update.
28665
81c64153
AJ
286662012-03-15 Andreas Jaeger <aj@suse.de>
28667
28668 [BZ #13658]
28669 * math/libm-test.inc (cos_test): Add more test cases.
28670 (sin_test): Likewise.
28671 (sincos_test): Likewise.
28672
7bbfa5c6
AJ
286732012-03-15 Andreas Jaeger <aj@suse.de>
28674
28675 [BZ #13837]
28676 * math/libm-test.inc (cos_test): Add a test case for large input
28677 value.
28678 (sin_test): Likewise.
28679 (sincos_test): Likewise.
28680
286812012-03-15 Andreas Jaeger <aj@suse.de>,
28682 Joseph Myers <joseph@codesourcery.com>
28683
28684 [BZ #13658]
0671f479 28685 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
28686 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
28687 * sysdeps/i386/fpu/branred.c: Likewise.
28688 * sysdeps/i386/fpu/dosincos.c: Likewise.
28689 * sysdeps/i386/fpu/mpa.c: Likewise.
28690 * sysdeps/i386/fpu/s_cos.S: Likewise.
28691 * sysdeps/i386/fpu/s_sin.S: Likewise.
28692 * sysdeps/i386/fpu/s_sincos.S: Likewise.
28693 * sysdeps/i386/fpu/sincos32.c: Likewise.
28694
28695 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
28696 Define.
28697 (libc_feupdateenv_53bit): Define.
28698 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
28699 Define.
28700 (libc_feupdateenv_53bit): Define.
28701
28702 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
28703 53 bit (without extend i386 double precision).
28704
28705 * math/libm-test.inc (sincos_test): Add tests for large input.
28706 (sin): Likewise.
28707 (cos): Likewise.
28708
28709 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
28710
9cad04ea
AS
287112012-03-15 Andreas Schwab <schwab@linux-m68k.org>
28712
28713 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28714
f7062b9a
DM
287152012-03-15 David S. Miller <davem@davemloft.net>
28716
28717 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
28718 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
28719 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
28720 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
28721 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
28722 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
28723 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
28724 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
28725 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
28726 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
28727 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
28728 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
28729 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
28730 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
28731 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
28732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
28733 file.
f7062b9a 28734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
28735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
28736 file.
f7062b9a 28737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
28738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
28739 file.
f7062b9a 28740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
28741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
28742 file.
f7062b9a
DM
28743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
28744 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
28745 fmin/fmax sysdep routines.
28746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28747
7bd951ff
DM
287482012-03-14 David S. Miller <davem@davemloft.net>
28749
559398ab
DM
28750 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
28751 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
28752 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
28753 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
28754 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
28755 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
28756 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
28757 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
28758 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
28759 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
28760 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
28761 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
28762 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
28763 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
28764 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
28765 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
28766 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
28767 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
28768 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
28769 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
28770 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
28771 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
28772 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
28773 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
28774 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
28775 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
28776 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
28777 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
28778 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
28779 routines.
28780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
28781 file.
559398ab 28782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
28783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
28784 file.
559398ab 28785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
28786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
28787 file.
559398ab 28788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
28789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
28790 file.
559398ab 28791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
28792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
28793 file.
559398ab 28794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
28795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
28796 file.
28797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
28798 file.
28799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
28800 file.
28801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
28802 file.
28803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
28804 New file.
28805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
28806 file.
28807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
28808 file.
559398ab 28809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
28810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
28811 file.
559398ab 28812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
28813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
28814 file.
559398ab 28815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
28816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
28817 file.
559398ab 28818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
28819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
28820 VIS3 routines.
559398ab
DM
28821
28822 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
28823 New file.
28824
5a1c1e32
DM
28825 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28826
eae47a36
DM
28827 * sysdeps/sparc/configure.in: New file.
28828 * sysdeps/sparc/configure: Generate.
28829 * configure.in (libc_cv_sparc_as_vis3): Substitute.
28830 * configure: Regenerate.
28831 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
28832 * config.make.in (have-as-vis3): New.
28833 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
28834 available use -Av9d instead of -Av9a.
28835 * sysdeps/sparc/sparc64/Makefile: Likewise.
28836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
28837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
28838 New file.
28839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
28840 file.
28841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
28842 New file.
28843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
28844 file.
eae47a36
DM
28845 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
28846 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
28847 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
28848 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
28849 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
28850
c0c83bc8
DM
28851 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
28852 fzeros/fnegs to load 0x80000000 into a float register instead of
28853 using the stack.
7bd951ff
DM
28854 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
28855
bd951ccb
JM
288562012-03-14 Joseph Myers <joseph@codesourcery.com>
28857
28858 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28859 bits/syscall.h.
28860 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
28861 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
28862 ($(inst_includedir)/bits/syscall.h): Remove rule.
28863 ($(objpfx)bits/syscall.d): Include instead of
28864 $(objpfx)syscall-list.d.
28865 (generated): Change syscall-list.h and syscall-list.d to
28866 bits/syscall.h and bits/syscall.d.
28867
bb4e6db2
RM
288682012-03-14 Roland McGrath <roland@hack.frob.com>
28869
28870 [BZ #13846]
28871 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
28872
aa4a2ae1
JM
288732012-03-14 Joseph Myers <joseph@codesourcery.com>
28874
e456826d
JM
28875 [BZ #13841]
28876 * math/s_csqrt.c: Include <float.h>.
28877 (__csqrt): Scale large or subnormal inputs.
28878 * math/s_csqrtf.c: Likewise.
28879 * math/s_csqrtl.c: Likewise.
28880 * math/libm-test.inc (csqrt_test): Add more tests.
28881 * sysdeps/i386/fpu/libm-test-ulps: Update.
28882 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28883
aa4a2ae1
JM
28884 [BZ #13840]
28885 * math/libm-test.inc (hypot_test): Add more tests.
28886
7c10fd35
DM
288872012-03-13 David S. Miller <davem@davemloft.net>
28888
28889 [BZ #13840]
28890 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
28891 double-precision for the calculation instead of scaling.
28892
f453b98b
JM
288932012-03-13 Joseph Myers <joseph@codesourcery.com>
28894
28895 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
28896 manipulate bits before adding and subtracting TWO52[sx].
28897 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
28898 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
28899 Likewise.
28900 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
28901
09a3453f
DM
289022012-03-13 David S. Miller <davem@davemloft.net>
28903
8e59da90
DM
28904 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
28905 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
28906 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
28907 rtld-global-offsets.h
28908 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28909
2a8ab7f2
DM
28910 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
28911 large parameters.
28912
10f62770
DM
28913 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
28914
5f0bdb18
DM
28915 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
28916 'err' in the ifdef scope in which it is actually used.
28917
09a3453f
DM
28918 * nss/nss_db/db-init.c: Include string.h
28919
b4b2eb5e
DM
289202012-03-12 David S. Miller <davem@davemloft.net>
28921
98bb2f1c
DM
28922 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
28923 masking out of the most significant byte of random value used.
28924 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28925 Fix coding style in previous change.
28926
b4b2eb5e
DM
28927 * sysdeps/unix/sysv/linux/kernel-features.h
28928 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
28929 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
28930 expression.
28931 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
28932 later.
28933
6e226b09
DM
289342012-03-11 David S. Miller <davem@davemloft.net>
28935
a1bcbd40
DM
28936 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28937 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
28938 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
28939 for 'resultvar' otherwise things get truncated on 64-bit.
28940
cb9d6174
DM
28941 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28942 Fix masking out of the most significant byte of random value used.
28943
6e226b09
DM
28944 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28945
058c132d
AS
289462012-03-10 Andreas Schwab <schwab@linux-m68k.org>
28947
28948 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28949
2d2cd515
DM
289502012-03-09 David S. Miller <davem@davemloft.net>
28951
28952 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
28953 variables with appropriate CPP guards.
28954 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
28955 frame pointer, not the stack pointer. Correct layout comments. Fix test
28956 on resulting framesize and the management of the outregs buffer for pltexit.
28957 Preserve floating point return values across _dl_call_pltexit call.
28958 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
28959 framesize and the management of the outregs buffer for pltexit.
28960 Preserve floating point return values across _dl_call_pltexit
28961 call.
28962 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
28963 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
28964 (print_exit): Fix format string for return register value.
28965
9a07f9d0
JM
289662012-03-10 Joseph Myers <joseph@codesourcery.com>
28967
28968 * sunrpc/Makefile (others): Add rpcgen.
28969 ($(objpfx)rpcgen): Remove special build rule and dependency on
28970 libc.
28971 * sunrpc/rpcgen.c: New file.
28972
547b5e30
PE
289732012-03-09 Paul Eggert <eggert@cs.ucla.edu>
28974
c524201a
PE
28975 [BZ #13673]
28976 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
28977 * stdio-common/bug-vfprintf-nargs.c: Likewise.
28978 * sysdeps/i386/crti.S: Likewise.
28979 * sysdeps/i386/crtn.S: Likewise.
28980 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
28981 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
28982 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
28983 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
28984 * sysdeps/sh/crti.S: Likewise.
28985 * sysdeps/sh/crtn.S: Likewise.
28986 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
28987
7b6235f2
PE
28988 [BZ #13673]
28989 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
28990 with URL.
28991 * locale/programs/locfile-kw.gperf: Likewise.
28992 * locale/programs/charmap-kw.h: Regenerated.
28993 * locale/programs/locfile-kw.h: Likewise.
28994
547b5e30
PE
28995 [BZ #13673]
28996 * intl/plural.y: Replace FSF snail mail address with URL.
28997 * intl/plural.c: Regenerated.
28998
5f0a5dae
RH
289992012-03-09 Richard Henderson <rth@twiddle.net>
29000
29001 * include/math_private.h: Remove file.
29002 * math/math_private.h: Move file ...
29003 * sysdeps/generic/math_private.h: ... here.
29004
b8c03620
RH
29005 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
29006 * sysdeps/powerpc/fpu/math_private.h: Likewise.
29007 * sysdeps/x86_64/fpu/math_private.h: Likewise.
29008
4e234f5d 29009 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
29010 and <math_private.h>.
29011 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
29012 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
29013 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
29014 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
29015 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
29016 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
29017 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29018 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29019 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
29020 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29021 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29022 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29023 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
29024 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29025 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
29026 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
29027 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29028 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29029 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29030 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
29031 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29032 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
29033 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
29034 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29035 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
29036 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29037 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
29038 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29039 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29040 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29041 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
29042 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29043 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
29044 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29045 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
29046 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29047 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29048 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
29049 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
29050 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29051 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
29052 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
29053 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
29054 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
29055 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
29056 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
29057 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
29058 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
29059 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29060 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
29061 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
29062 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
29063 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
29064 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
29065 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
29066 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29067 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29068 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
29069 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
29070 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
29071 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29072 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
29073 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29074 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
29075 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
29076 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29077 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29078 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29079 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
29080 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
29081 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
29082 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29083 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
29084 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29085 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
29086 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
29087 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
29088 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
29089 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
29090 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
29091 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
29092 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
29093 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
29094 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
29095 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
29096 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
29097 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
29098 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
29099 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
29100 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29101 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29102 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
29103 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29104 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
29105 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
29106 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
29107 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29108 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
29109 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29110 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
29111 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
29112 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
29113 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
29114 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
29115 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
29116 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
29117 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
29118 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
29119 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
29120 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29121 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
29122 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
29123 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
29124 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
29125 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
29126 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29127 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
29128 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
29129 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
29130 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
29131 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
29132 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
29133 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29134 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
29135 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
29136 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
29137 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
29138 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
29139 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
29140 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
29141 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
29142 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
29143 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
29144 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
29145 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
29146 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
29147 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
29148 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
29149 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
29150 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
29151 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29152 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
29153 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
29154 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
29155 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
29156 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
29157 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
29158 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
29159 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
29160 * sysdeps/ieee754/k_standard.c: Likewise.
29161 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
29162 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
29163 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29164 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
29165 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
29166 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
29167 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
29168 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
29169 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
29170 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
29171 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29172 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
29173 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
29174 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
29175 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
29176 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
29177 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
29178 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
29179 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
29180 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
29181 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
29182 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
29183 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
29184 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
29185 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
29186 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
29187 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
29188 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
29189 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
29190 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
29191 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
29192 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
29193 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
29194 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
29195 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
29196 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
29197 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
29198 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
29199 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
29200 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
29201 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
29202 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
29203 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
29204 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
29205 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
29206 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
29207 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
29208 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
29209 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
29210 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
29211 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
29212 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
29213 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
29214 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
29215 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29216 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
29217 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
29218 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
29219 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
29220 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
29221 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
29222 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
29223 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
29224 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
29225 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29226 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29227 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
29228 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
29229 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
29230 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
29231 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
29232 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29233 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
29234 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
29235 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
29236 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
29237 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
29238 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
29239 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29240 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
29241 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
29242 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
29243 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
29244 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
29245 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
29246 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
29247 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
29248 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
29249 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29250 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
29251 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
29252 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
29253 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
29254 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
29255 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
29256 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
29257 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
29258 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
29259 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
29260 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
29261 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
29262 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
29263 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
29264 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
29265 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
29266 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
29267 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
29268 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
29269 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
29270 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
29271 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
29272 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
29273 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
29274 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29275 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
29276 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29277 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
29278 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29279 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29280 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
29281 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29282 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
29283 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
29284 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
29285 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29286 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
29287 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
29288 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
29289 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
29290 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
29291 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
29292 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
29293 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
29294 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
29295 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
29296 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
29297 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
29298 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
29299 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
29300 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
29301 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
29302 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
29303 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
29304 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
29305 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
29306 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
29307 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
29308 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
29309 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
29310 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
29311 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
29312 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
29313 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
29314 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
29315 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
29316 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
29317 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
29318 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
29319 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
29320 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
29321 * sysdeps/ieee754/s_lib_version.c: Likewise.
29322 * sysdeps/ieee754/s_matherr.c: Likewise.
29323 * sysdeps/ieee754/s_signgam.c: Likewise.
29324 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
29325 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29326 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
29327 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
29328 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
29329 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
29330 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
29331 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
29332 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
29333 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
29334 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
29335 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
29336 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
29337 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
29338 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
29339 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
29340 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
29341 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
29342 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
29343 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29344 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 29345
1991fa03
JM
293462012-03-09 Joseph Myers <joseph@codesourcery.com>
29347
29348 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
29349 * sunrpc/rpc_main.c: Likewise.
29350 * sunrpc/rpc_svcout.c: Likewise.
29351
60d6f5a6
DM
293522012-03-09 David S. Miller <davem@davemloft.net>
29353
29354 * include/math_private.h: New file.
29355
4962050e
JM
293562012-03-09 Joseph Myers <joseph@codesourcery.com>
29357
02a6f887
JM
29358 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
29359 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
29360 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
29361 from <bits/socket_type.h>.
29362 (enum __socket_type): Don't define here.
29363 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
29364 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29365 bits/socket_type.h.
29366
c6e013c1
JM
29367 [BZ #13566]
29368 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
29369 checking __USE_GNU.
29370
4962050e
JM
29371 * Makerules ($(inst_includedir)/%.h): New rule.
29372 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
29373 (install-others): Remove variable setting.
29374 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
29375
38842f45
RH
293762012-03-08 Richard Henderson <rth@twiddle.net>
29377
67bb6da6
RH
29378 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
29379 from macro to inline function; merge with the
29380 !__LIBC_INTERNAL_MATH_INLINES version.
29381 (__ieee754_sqrtf): Likewise.
29382
15194b4b
RH
29383 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
29384 to inline function.
29385 (__rintf, __floor, __floorf): Likewise.
29386
64e21ede
RH
29387 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
29388 macro to inline function.
29389 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
29390
38842f45
RH
29391 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
29392 not <math/math_private.h>.
29393
c64bf5fe
DM
293942012-03-08 David S. Miller <davem@davemloft.net>
29395
29396 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
29397 copyright year.
29398 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
29399
82d86f28
TS
294002012-03-08 Thomas Schwinge <thomas@codesourcery.com>
29401
29402 * resolv/gai_misc.c (handle_requests): Fix struct timespec
29403 normalization.
29404 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
29405 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
29406
aea5d727
UD
294072012-03-08 Ulrich Drepper <drepper@gmail.com>
29408
29409 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
29410 be defined individually, they must be defined as a block. Define
29411 S for printing a string instead of hidint the different by using a
29412 macro for adding the 'l'.
29413 * stdio-common/tst-fphex-wide.c: Adjust.
29414
70bca0a3
MP
294152012-03-07 Marek Polacek <polacek@redhat.com>
29416
29417 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
29418
65b81130
MP
294192012-03-08 Marek Polacek <polacek@redhat.com>
29420
29421 [BZ #13806]
29422 * stdio-common/Makefile (tests): Add tst-fphex-wide.
29423 * stdio-common/tst-fphex.c: Define a few macros to make the
29424 test reusable. Use them.
29425 * stdio-common/tst-fphex-wide.c: New file.
29426
07037eeb
JM
294272012-03-08 Joseph Myers <joseph@codesourcery.com>
29428
a7a93d50
JM
29429 [BZ #6911]
29430 * manual/macros.texi (gnusystems): New macro.
29431 (nongnusystems): Likewise.
29432 (gnulinuxhurdsystems): Likewise.
29433 (gnuhurdsystems): Likewise..
29434 (gnulinuxsystems): Likewise.
29435 * manual/charset.texi: Use new macros or @theglibc{} to refer to
29436 variants of the GNU system, not "GNU system".
29437 * manual/conf.texi: Likewise.
29438 * manual/errno.texi: Likewise. Update example of errno macro
29439 expansion.
29440 * manual/filesys.texi: Likewise.
29441 (getumask): Document as specific to GNU/Hurd.
29442 * manual/install.texi: Likewise. Reword some references to
29443 GNU/Linux.
29444 * manual/intro.texi: Likewise.
29445 * manual/io.texi: Likewise.
29446 (File Name Portability): Detail which constraints are inapplicable
29447 to all GNU systems and which are only inapplicable to GNU/Hurd.
29448 * manual/job.texi: Likewise.
29449 * manual/llio.texi: Likewise.
29450 (O_NOCTTY): Document as present on GNU/Linux.
29451 * manual/maint.texi: Likewise.
29452 * manual/memory.texi: Likewise.
29453 * manual/pattern.texi: Likewise.
29454 * manual/pipe.texi: Likewise.
29455 * manual/process.texi: Likewise.
29456 * manual/resource.texi: Likewise.
29457 (RUSAGE_CHILDREN): Remove statement about specifying a particular
29458 child on GNU/Hurd.
29459 * manual/setjmp.texi: Likewise.
29460 * manual/signal.texi: Likewise.
29461 * manual/startup.texi: Likewise.
29462 * manual/stdio.texi: Likewise.
29463 * manual/terminal.texi: Likewise.
29464 (ONLCR): Document as POSIX.
29465 (OXTABS): Document availability on GNU/Linux as XTABS.
29466 (ONOEOT): Document availability separately from other bits.
29467 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
29468 * manual/time.texi: Likewise.
29469 * manual/users.texi: Likewise.
29470 * INSTALL: Regenerated.
29471 * sysdeps/gnu/errlist.c: Regenerated.
29472
07037eeb
JM
29473 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
29474 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
29475 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
29476 puts.
29477 * configure: Regenerated.
29478
d1d3431a
JM
294792012-03-07 Joseph Myers <joseph@codesourcery.com>
29480
af6a1e37
JM
29481 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
29482 default includes instead of AC_HEADER_CHECK.
29483 * sysdeps/i386/configure: Regenerated.
29484
d1d3431a
JM
29485 [BZ #10716]
29486 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
29487 * math/s_cacoshf.c (__cacoshf): Likewise.
29488 * math/s_cacoshl.c (__cacoshl): Likewise.
29489 * math/s_casinh.c (__casinh): Set signs of result from argument.
29490 * math/s_casinhf.c (__casinhf): Likewise.
29491 * math/s_casinhl.c (__casinhl): Likewise.
29492 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
29493 (casinh_test): Add more tests.
29494 * sysdeps/i386/fpu/libm-test-ulps: Update.
29495 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29496
482ff4da
UD
294972012-03-07 Ulrich Drepper <drepper@gmail.com>
29498
872fda05
UD
29499 * po/zh_TW.po: Update from translation team.
29500
a4300c7a
UD
29501 * login/Makefile (distribute): Remove variable.
29502 * catgets/Makefile: Likewise.
29503 * mach/Makefile: Likewise.
29504 * malloc/Makefile: Likewise.
29505 * misc/Makefile: Likewise.
29506 * iconv/Makefile: Likewise.
29507 * nscd/Makefile: Likewise.
29508 * hurd/Makefile: Likewise.
29509 * manual/Makefile: Likewise.
29510 * locale/Makefile: Likewise.
29511 * intl/Makefile: Likewise.
29512 * conform/Makefile: Likewise.
29513 * nss/Makefile: Likewise.
29514 * time/Makefile: Likewise.
29515 * soft-fp/Makefile: Likewise.
29516 * dirent/Makefile: Likewise.
29517 * gmon/Makefile: Likewise.
29518 * po/Makefile: Likewise.
29519 * rt/Makefile: Likewise.
29520 * socket/Makefile: Likewise.
29521 * math/Makefile: Likewise.
29522 * signal/Makefile: Likewise.
29523 * debug/Makefile: Likewise.
29524 * elf/Makefile: Likewise.
29525 * timezone/Makefile: Likewise.
29526 * stdlib/Makefile: Likewise.
29527 * iconvdata/Makefile: Likewise.
29528 * sunrpc/Makefile: Likewise.
29529 * io/Makefile: Likewise.
29530 * argp/Makefile: Likewise.
29531 * inet/Makefile: Likewise.
29532 * hesiod/Makefile: Likewise.
29533 * grp/Makefile: Likewise.
29534 * csu/Makefile: Likewise.
29535 * wctype/Makefile: Likewise.
29536 * crypt/Makefile: Likewise.
29537 * libio/Makefile: Likewise.
29538 * string/Makefile: Likewise.
29539 * nis/Makefile: Likewise.
29540 * resolv/Makefile: Likewise.
29541 * stdio-common/Makefile: Likewise.
29542 * wcsmbs/Makefile: Likewise.
29543 * dlfcn/Makefile: Likewise.
29544 * posix/Makefile: Likewise.
29545
3b7c4e74 29546 [BZ #6959]
482ff4da
UD
29547 * timezone/Makefile: Don't install timezone files, just the programs
29548 and scripts.
29549
f72ed77d
UD
295502012-03-06 Ulrich Drepper <drepper@gmail.com>
29551
a000466f
UD
29552 * nss/databases.def: Add missing gshadow entry.
29553
f72ed77d
UD
29554 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
29555
a53b7a4e
MP
295562012-03-06 Marek Polacek <polacek@redhat.com>
29557
29558 [BZ #13726]
29559 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
29560 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
29561 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
29562 * stdio-common/tst-long-dbl-fphex.c: New file.
29563
e9258400
DM
295642012-03-06 David S. Miller <davem@davemloft.net>
29565
29566 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29567 (set_obp_int): New function.
29568 (get_obp_int): New function.
29569 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
29570 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
29571 Avoid unused variable warnings on 'val' and use builtin_expect.
29572 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
29573 __builtin_expect.
e9258400
DM
29574 (INLINE_CLONE_SYSCALL): Likewise.
29575
3bd2c723
DM
295762012-03-05 David S. Miller <davem@davemloft.net>
29577
29578 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29579
bbb78d03
AS
295802012-03-05 Andreas Schwab <schwab@linux-m68k.org>
29581
884c5db4
AS
29582 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29583
bbb78d03
AS
29584 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
29585 only for |x| >= 40.
29586 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29587
1c9f702a 295882012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
29589
29590 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
29591 Replace gettimeofday with __vdso_gettimeofday.
29592
7be16f82
RM
29593 * sysdeps/unix/sysv/linux/x86_64/init-first.c
29594 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
29595 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
29596
29597 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
29598 time with __vdso_time.
29599
ed58a00f
JM
296002012-03-05 Joseph Myers <joseph@codesourcery.com>
29601
29602 * manual/lang.texi (size_t): Note types to which size_t may be
29603 equivalent with the GNU C Library, but do not describe when
29604 differences between them are significant.
29605
30ee4ced
AJ
296062012-03-05 Andreas Jaeger <aj@suse.de>
29607
29608 * sysdeps/i386/fpu/libm-test-ulps: Update.
29609
b7cd39e8
JM
296102012-03-05 Joseph Myers <joseph@codesourcery.com>
29611
29612 [BZ #3976]
29613 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
29614 (__ieee754_pow): Save and restore rounding mode and use
29615 round-to-nearest for main computations.
29616 * math/libm-test.inc (pow_test_tonearest): New function.
29617 (pow_test_towardzero): Likewise.
29618 (pow_test_downward): Likewise.
29619 (pow_test_upward): Likewise.
29620 (main): Call the new functions.
29621 * sysdeps/i386/fpu/libm-test-ulps: Update.
29622 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
29623
29624 [BZ #3976]
29625 * math/libm-test.inc (cosh_test_tonearest): New function.
29626 (cosh_test_towardzero): Likewise.
29627 (cosh_test_downward): Likewise.
29628 (cosh_test_upward): Likewise.
29629 (sinh_test_tonearest): Likewise.
29630 (sinh_test_towardzero): Likewise.
29631 (sinh_test_downward): Likewise.
29632 (sinh_test_upward): Likewise.
29633 (main): Call the new functions.
29634 * sysdeps/i386/fpu/libm-test-ulps: Update.
29635 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29636
6c6a98c9
TV
296372012-03-05 Tom de Vries <tom@codesourcery.com>
29638
29639 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
29640 default stack guard is set in last bytes.
29641 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
29642
21bb2d2e 296432012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 29644
21bb2d2e 29645 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 29646
21bb2d2e
AJ
29647 [BZ #13656]
29648 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
29649 possibly allocate from heap instead of stack.
29650 * stdio-common/bug-vfprintf-nargs.c: New file.
29651 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 29652
c6922934
AS
296532012-03-03 Andreas Schwab <schwab@linux-m68k.org>
29654
29655 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29656
bc957d53
MP
296572012-03-03 Marek Polacek <polacek@redhat.com>
29658
29659 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
29660 * math/math_private.h: Likewise.
29661 * stdlib/tst-strtod.c: Likewise.
29662 * sysdeps/i386/i486/bits/atomic.h: Likewise.
29663 * sysdeps/x86_64/bits/atomic.h: Likewise.
29664
6358490d
DM
296652012-03-02 David S. Miller <davem@davemloft.net>
29666
29667 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
29668 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
29669 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
29670 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
29671 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
29672 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
29673 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
29674 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
29675
01ae168d
RM
296762012-03-02 Roland McGrath <roland@hack.frob.com>
29677
d9a17c07
RM
29678 [BZ #13792]
29679 * manual/examples/README: New file, says the example source files
29680 can be used under GPL>=2.
29681 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
29682 line containing just "*/".
29683 * manual/examples/add.c: Add copyright header (GPL>=2).
29684 * manual/examples/argp-ex1.c: Likewise.
29685 * manual/examples/argp-ex2.c: Likewise.
29686 * manual/examples/argp-ex3.c: Likewise.
29687 * manual/examples/argp-ex4.c: Likewise.
29688 * manual/examples/atexit.c: Likewise.
29689 * manual/examples/db.c: Likewise.
29690 * manual/examples/dir.c: Likewise.
29691 * manual/examples/dir2.c: Likewise.
29692 * manual/examples/execinfo.c: Likewise.
29693 * manual/examples/filecli.c: Likewise.
29694 * manual/examples/filesrv.c: Likewise.
29695 * manual/examples/fmtmsgexpl.c: Likewise.
29696 * manual/examples/genpass.c: Likewise.
29697 * manual/examples/inetcli.c: Likewise.
29698 * manual/examples/inetsrv.c: Likewise.
29699 * manual/examples/isockad.c: Likewise.
29700 * manual/examples/longopt.c: Likewise.
29701 * manual/examples/memopen.c: Likewise.
29702 * manual/examples/memstrm.c: Likewise.
29703 * manual/examples/mkfsock.c: Likewise.
29704 * manual/examples/mkisock.c: Likewise.
29705 * manual/examples/mygetpass.c: Likewise.
29706 * manual/examples/pipe.c: Likewise.
29707 * manual/examples/popen.c: Likewise.
29708 * manual/examples/rprintf.c: Likewise.
29709 * manual/examples/search.c: Likewise.
29710 * manual/examples/select.c: Likewise.
29711 * manual/examples/setjmp.c: Likewise.
29712 * manual/examples/sigh1.c: Likewise.
29713 * manual/examples/sigusr.c: Likewise.
29714 * manual/examples/stpcpy.c: Likewise.
29715 * manual/examples/strdupa.c: Likewise.
29716 * manual/examples/strftim.c: Likewise.
29717 * manual/examples/strncat.c: Likewise.
29718 * manual/examples/subopt.c: Likewise.
29719 * manual/examples/swapcontext.c: Likewise.
29720 * manual/examples/termios.c: Likewise.
29721 * manual/examples/testopt.c: Likewise.
29722 * manual/examples/testpass.c: Likewise.
29723 * manual/examples/timeval_subtract.c: Likewise.
29724
01ae168d
RM
29725 [BZ #13792]
29726 * manual/time.texi (Elapsed Time): Move timeval_subtract example
29727 function to ...
29728 * manual/timeval_subtract.c.texi: ... here, new file.
29729
49efa33d
DM
297302012-03-02 David S. Miller <davem@davemloft.net>
29731
29732 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
29733
28afd92d
JM
297342012-03-02 Joseph Myers <joseph@codesourcery.com>
29735
804360ed
JM
29736 [BZ #3976]
29737 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
29738 (__sin): Save and restore rounding mode and use round-to-nearest
29739 for all computations.
29740 (__cos): Save and restore rounding mode and use round-to-nearest
29741 for all computations.
29742 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
29743 <fenv.h>.
29744 (tan): Save and restore rounding mode and use round-to-nearest for
29745 all computations.
29746 * math/libm-test.inc (cos_test_tonearest): New function.
29747 (cos_test_towardzero): Likewise.
29748 (cos_test_downward): Likewise.
29749 (cos_test_upward): Likewise.
29750 (sin_test_tonearest): Likewise.
29751 (sin_test_towardzero): Likewise.
29752 (sin_test_downward): Likewise.
29753 (sin_test_upward): Likewise.
29754 (tan_test_tonearest): Likewise.
29755 (tan_test_towardzero): Likewise.
29756 (tan_test_downward): Likewise.
29757 (tan_test_upward): Likewise.
29758 (main): Call the new functions.
29759 * sysdeps/i386/fpu/libm-test-ulps: Update.
29760 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29761
a6d06d7b
JM
29762 [BZ #10135]
29763 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
29764 small n, then large n, before computing and testing k+n.
29765 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
29766 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
29767 Likewise.
29768 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
29769 Likewise.
29770 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
29771 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
29772 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
29773 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
29774 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
29775 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
29776 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
29777 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
29778 * math/libm-test.inc (scalbn_test): Add more tests.
29779 (scalbln_test): Likewise.
29780
07e12bb3
JM
29781 * manual/filesys.texi (mode_t): Describe constraints on size and
29782 signedness, not exact equivalence to a particular type.
29783 (ino_t): Likewise.
29784 (ino64_t): Likewise.
29785 (dev_t): Likewise.
29786 (nlink_t): Likewise.
29787 (blkcnt_t): Likewise.
29788 (blkcnt64_t): Likewise.
29789 * manual/llio.texi (off_t): Likewise.
29790
28afd92d
JM
29791 [BZ #3976]
29792 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
29793 (__ieee754_exp): Save and restore rounding mode and use
29794 round-to-nearest for all computations.
29795 * math/libm-test.inc (exp_test_tonearest): New function.
29796 (exp_test_towardzero): Likewise.
29797 (exp_test_downward): Likewise.
29798 (exp_test_upward): Likewise.
29799 (main): Call the new functions.
29800 * sysdeps/i386/fpu/libm-test-ulps: Update.
29801 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29802
b1eeb65d
CD
298032012-03-01 Chris Demetriou <cgd@google.com>
29804
29805 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
29806 have predictable order.
29807
53362a4b
DM
298082012-03-01 David S. Miller <davem@davemloft.net>
29809
3c969083
DM
29810 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
29811
759707de
DM
29812 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
29813 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
29814 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
29815 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
29816
dfdb8ff2
DM
29817 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
29818 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
29819 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
29820 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
29821 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
29822 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
29823 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
29824 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
29825 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
29826
ead89f96
DM
29827 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29828
7f66bd07
DM
29829 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
29830 * sysdeps/sparc/fpu/libm-test-ulps: to here.
29831 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
29832
53362a4b
DM
29833 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
29834 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29835 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29836 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
29837 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
29838 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
29839 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
29840 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29841 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29842 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
29843 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
29844 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29845 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29846 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29847 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29848 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29849 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
29850 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
29851 * sysdeps/sparc/elf/configure: Regenerated.
29852
7b1902cb
JM
298532012-03-01 Joseph Myers <joseph@codesourcery.com>
29854
bec039bc
JM
29855 * configure.in (AS, LD): Require binutils 2.20 or later.
29856 * configure: Regenerated.
29857 * manual/install.texi (Tools for Compilation): Give binutils 2.20
29858 as required minimum version.
29859 * INSTALL: Regenerated.
29860
7b1902cb
JM
29861 [BZ #2541]
29862 [BZ #4108]
29863 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
29864 before squaring exponent.
29865 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
29866 bottom long double and 27 bits of top long double before squaring
29867 exponent.
29868 * math/libm-test.inc (erfc_test): Add more tests.
29869 * sysdeps/i386/fpu/libm-test-ulps: Update.
29870 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29871 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29872
f775c276
KT
298732012-03-01 Kai Tietz <ktietz@redhat.com>
29874
29875 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
29876 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
29877 containing bit-fields.
29878 * soft-fp/extended.h (_FP_UNION_E): Likewise.
29879 * soft-fp/single.h (_FP_UNION_S): Likewise.
29880 * soft-fp/double.h (_FP_UNION_D): Likewise.
29881
5b8a4d4a
JM
298822012-02-29 Joseph Myers <joseph@codesourcery.com>
29883
0bab47b6
JM
29884 [BZ #13786]
29885 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
29886 not include ../strcmp.S.
29887 [USE_AS_STRNCASECMP_L]: Likewise.
29888 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
29889 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
29890 * sysdeps/i386/i686/multiarch/strncase_l-c.c
29891 (__strncasecmp_l_ia32): Define as alias to
29892 __strncasecmp_l_nonascii.
29893
0fcad3e2
JM
29894 [BZ #5794]
29895 * math/libm-test.inc (expm1_test): Add test for bug 5794.
29896 * sysdeps/i386/fpu/libm-test-ulps: Update.
29897 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29898
5b8a4d4a
JM
29899 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
29900 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29901
8fdceb2e
JL
299022012-02-29 Jeff Law <law@redhat.com>
29903
29904 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
29905 out of bounds read.
29906
1f393a11
MP
299072012-02-29 Marek Polacek <polacek@redhat.com>
29908
29909 [BZ #13706]
29910 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
29911 * elf/Makefile: Add rules to run tst-unused-dep.out.
29912
8847f037
DM
299132012-02-28 David S. Miller <davem@davemloft.net>
29914
29915 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
29916 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
29917 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
29918 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
29919 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
29920 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
29921
169d7f11
JM
299222012-02-29 Joseph Myers <joseph@codesourcery.com>
29923
29924 * math/libm-test.inc (llround_test): Move one test from
29925 lround_test. Use TEST_f_L in moved test.
29926 (lround_test): Move misplaced test to llround_test. Add testcase
29927 from bug 2561.
29928
39adf059
UD
299292012-02-28 Ulrich Drepper <drepper@gmail.com>
29930
29931 * sysdeps/x86_64/fpu/e_expf.S: New file.
29932 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
29933
71b5d1c5
SB
299342012-02-28 Stanislav Brabec <sbrabec@suse.cz>
29935
29936 [BZ #13637]
29937 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
29938 of remain_len that may cause incomplete multi-byte character and
29939 false match.
29940 * posix/bug-regex33.c: New file.
29941 * posix/Makefile (tests): Add bug-regex33.
29942
1f77f049
JM
299432012-02-28 Joseph Myers <joseph@codesourcery.com>
29944
29945 * manual/macros.texi: New file.
29946 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
29947 * manual/libc.texinfo: Include macros.texi.
29948 * manual/creatute.texi: Likewise.
29949 * manual/install.texi: Likewise.
29950 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
29951 @glibcadj{} in references to the GNU C Library.
29952 * manual/charset.texi: Likewise.
29953 * manual/conf.texi: Likewise.
29954 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
29955 when not using those macros.
29956 * manual/creature.texi: Likewise.
29957 * manual/crypt.texi: Likewise.
29958 * manual/errno.texi: Likewise.
29959 * manual/filesys.texi: Likewise.
29960 * manual/header.texi: Likewise.
29961 * manual/install.texi: Likewise.
29962 * manual/intro.texi: Likewise.
29963 * manual/io.texi: Likewise.
29964 * manual/job.texi: Likewise.
29965 * manual/lang.texi: Likewise.
29966 * manual/libc.texiinfo: Likewise.
29967 * manual/llio.texi: Likewise.
29968 * manual/locale.texi: Likewise.
29969 * manual/maint.texi: Likewise.
29970 * manual/math.texi: Likewise.
29971 * manual/memory.texi: Likewise.
29972 * manual/message.texi: Likewise.
29973 * manual/nss.texi: Likewise.
29974 * manual/pattern.texi: Likewise.
29975 * manual/process.texi: Likewise.
29976 * manual/resource.texi: Likewise.
29977 * manual/search.texi: Likewise.
29978 * manual/setjmp.texi: Likewise.
29979 * manual/signal.texi: Likewise.
29980 * manual/socket.texi: Likewise.
29981 * manual/startup.texi: Likewise.
29982 * manual/stdio.texi: Likewise.
29983 * manual/string.texi: Likewise.
29984 * manual/sysinfo.texi: Likewise.
29985 * manual/syslog.texi: Likewise.
29986 * manual/terminal.texi: Likewise.
29987 * manual/time.texi: Likewise.
29988 * manual/users.texi: Likewise.
29989 * INSTALL: Regenerated.
29990 * NOTES: Regenerated.
d40c5d54 29991 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 29992
450bf206
AS
299932012-02-28 Andreas Schwab <schwab@linux-m68k.org>
29994
29995 * include/dirent.h: Include <dirstream.h> before
29996 <dirent/dirent.h>.
29997
741a235b
DM
299982012-02-28 David S. Miller <davem@davemloft.net>
29999
30000 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
30001 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
30002 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
30003 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
30004
d6b5aa58
DM
300052012-02-27 David S. Miller <davem@davemloft.net>
30006
1aff59a3
DM
30007 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
30008 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
30009 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
30010 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
30011
d6b5aa58
DM
30012 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
30013 frame pointer instead of stack pointer relative arg slot.
30014 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
30015 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
30016 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
30017
433f48bf
CD
300182012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
30019
30020 [BZ #3992]
30021 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
30022
d674b76d
DM
300232012-02-27 David S. Miller <davem@davemloft.net>
30024
30025 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
30026 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
30027 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
30028 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
30029 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
30030 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
30031 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
30032 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
30033
0e7727f7
JM
300342012-02-27 Joseph Myers <joseph@codesourcery.com>
30035
30036 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
30037 later. Allow versions 5-9.
43be4ca2 30038 * configure: Regenerated.
0e7727f7
JM
30039 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
30040 required minimum version and 4.6 as recommended version. Do not
30041 mention bugs in GCC 2.7 and 2.8.
43be4ca2 30042 * INSTALL: Regenerated.
0e7727f7 30043
a78bc654
DM
300442012-02-27 David S. Miller <davem@davemloft.net>
30045
428d5830
DM
30046 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
30047 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
30048 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
30049 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
30050 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
30051 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
30052 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
30053 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
30054
a78bc654
DM
30055 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
30056 manipulate bits before adding and subtracting TWO112[sx].
30057 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
30058
4579f81c
RM
300592012-02-27 Roland McGrath <roland@hack.frob.com>
30060
36c8acb4
RM
30061 [BZ #13775]
30062 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
30063 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
30064 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
30065 being in POSIX, because they are in 1003.1-2008.
30066
84ad622b
RM
30067 * rt/tst-aio.c: Include <fcntl.h>.
30068 * rt/tst-aio7.c: Likewise.
30069 * rt/tst-aio64.c: Likewise.
30070
4579f81c
RM
30071 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
30072
abd923db
JM
300732012-02-27 Joseph Myers <joseph@codesourcery.com>
30074
30075 * manual/install.texi (--with-headers): Describe headers as
30076 interface headers, not private headers.
30077 (Specific advice for GNU/Linux systems): Describe use of headers
30078 from "make headers_install", not private headers from older
30079 kernels.
43be4ca2 30080 * INSTALL: Regenerated.
abd923db
JM
30081 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
30082 Change to 2.6.19.
30083 * sysdeps/unix/sysv/linux/configure: Regenerated.
30084
6664049b
JM
30085 * manual/llio.texi (fclean): Remove documentation.
30086
bb8b6697
JM
30087 * manual/Makefile (libc-texi-generated): New variable. Include
30088 version.texi.
30089 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
30090 $(libc-texi-generated), not duplicated list of files.
30091 (version.texi, stamp-version): New rules.
30092 (realclean): Remove $(libc-texi-generated), not individual files
30093 from that list. Do not remove dir-add.texinfo.
30094 * manual/libc.texinfo: Comment out uses of edition numbers and
30095 references to printed manual. Remove last-updated dates.
30096 (EDITION): Comment out.
30097 (ISBN): Likewise.
30098 (VERSION, UPDATED): Remove.
30099 (version.texi): Include.
30100
12e5c3b9
AS
301012012-02-27 Andreas Schwab <schwab@linux-m68k.org>
30102
30103 * sysdeps/posix/spawni.c: Include <signal.h>.
30104 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
30105 * sysdeps/pthread/aio_fsync.c: Likewise.
30106
4efeffc1 301072012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 30108
ba63ba08
UD
30109 * conform/Makefile (tests): Run only when not cross-compiling and
30110 when fast-check is not defined.
30111
d94a4670
UD
30112 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
30113 * conform/data/limits.h-data: Fixes for POSIX2008.
30114 * conform/run-conformtest.sh: Run all tests.
30115 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
30116 headers.
30117 * include/bits/dlfcn.h: Likewise.
30118 * include/langinfo.h: Likewise.
30119 * include/monetary.h: Likewise.
30120 * include/sys/poll.h: Likewise.
30121
30122 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
30123 for __USE_GNU.
30124 * posix/spawn.h: Define __need_sigset_t.
30125 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
30126 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
30127 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
30128 to get sigevent_t only.
30129 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
30130 only for __USE_GNU.
30131 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30132 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
30133 process_vm_writev only for __USE_GNU.
30134 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
30135
30136 * conform/Makefile: For now ignore errors from run-conformtest.
30137 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
30138 POSIX to avoid namespace pollution. Don't prepend headers.
30139 * conform/data/aio.h-data: Fixes for POSIX testing.
30140 * conform/data/fcntl.h-data: Likewise.
30141 * conform/data/glob.h-data: Likewise.
30142 * conform/data/grp.h-data: Likewise.
30143 * conform/data/pthread.h-data: Likewise.
30144 * conform/data/pwd.h-data: Likewise.
30145 * conform/data/signal.h-data: Likewise.
30146 * conform/data/spawn.h-data: Likewise.
30147 * conform/data/stdio.h-data: Likewise.
30148 * conform/data/stdlib.h-data: Likewise.
30149 * conform/data/stropts.h-data: Likewise.
30150 * conform/data/sys/mman.h-data: Likewise.
30151 * conform/data/sys/stat.h-data: Likewise.
30152 * conform/data/sys/types.h-data: Likewise.
30153 * conform/data/sys/wait.h-data: Likewise.
30154 * conform/data/time.h-data: Likewise.
30155 * conform/data/unistd.h-data: Likewise.
30156 * conform/data/utime.h-data: Likewise.
30157
30158 * io/sys/stat.h: fchmod was always in POSIX.
30159 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
30160 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
30161 * rt/aio.h: Define __need_timespec before including <time.h>.
30162 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
30163 struct. Add forward declaration of pthread_attr_t and use it in
30164 sigevent.
30165 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
30166 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30167 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
30168 always remove CLK_TCK definition.
30169
c20105c3
AS
301702012-02-26 Andreas Schwab <schwab@linux-m68k.org>
30171
30172 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
30173
7a270350
UD
301742012-02-25 Ulrich Drepper <drepper@gmail.com>
30175
31341567
UD
30176 * conform/run-conformtest.sh: New file.
30177 * conform/Makefile: Run run-conformtest for tests.
30178 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
30179 support.
30180
30181 * conform/data/uchar.h-data: New file.
30182 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
30183 * conform/data/arpa/inet.h-data: Likewise.
30184 * conform/data/assert.h-data: Likewise.
30185 * conform/data/complex.h-data: Likewise.
30186 * conform/data/cpio.h-data: Likewise.
30187 * conform/data/ctype.h-data: Likewise.
30188 * conform/data/dirent.h-data: Likewise.
30189 * conform/data/dlfcn.h-data: Likewise.
30190 * conform/data/errno.h-data: Likewise.
30191 * conform/data/fcntl.h-data: Likewise.
30192 * conform/data/float.h-data: Likewise.
30193 * conform/data/fmtmsg.h-data: Likewise.
30194 * conform/data/fnmatch.h-data: Likewise.
30195 * conform/data/ftw.h-data: Likewise.
30196 * conform/data/glob.h-data: Likewise.
30197 * conform/data/grp.h-data: Likewise.
30198 * conform/data/iconv.h-data: Likewise.
30199 * conform/data/inttypes.h-data: Likewise.
30200 * conform/data/langinfo.h-data: Likewise.
30201 * conform/data/libgen.h-data: Likewise.
30202 * conform/data/limits.h-data: Likewise.
30203 * conform/data/locale.h-data: Likewise.
30204 * conform/data/math.h-data: Likewise.
30205 * conform/data/monetary.h-data: Likewise.
30206 * conform/data/mqueue.h-data: Likewise.
30207 * conform/data/ndbm.h-data: Likewise.
30208 * conform/data/net/if.h-data: Likewise.
30209 * conform/data/netdb.h-data: Likewise.
30210 * conform/data/netinet/in.h-data: Likewise.
30211 * conform/data/nl_types.h-data: Likewise.
30212 * conform/data/poll.h-data: Likewise.
30213 * conform/data/pthread.h-data: Likewise.
30214 * conform/data/pwd.h-data: Likewise.
30215 * conform/data/regex.h-data: Likewise.
30216 * conform/data/sched.h-data: Likewise.
30217 * conform/data/search.h-data: Likewise.
30218 * conform/data/semaphore.h-data: Likewise.
30219 * conform/data/setjmp.h-data: Likewise.
30220 * conform/data/signal.h-data: Likewise.
30221 * conform/data/spawn.h-data: Likewise.
30222 * conform/data/stdarg.h-data: Likewise.
30223 * conform/data/stdio.h-data: Likewise.
30224 * conform/data/stdlib.h-data: Likewise.
30225 * conform/data/string.h-data: Likewise.
30226 * conform/data/strings.h-data: Likewise.
30227 * conform/data/stropts.h-data: Likewise.
30228 * conform/data/sys/ipc.h-data: Likewise.
30229 * conform/data/sys/mman.h-data: Likewise.
30230 * conform/data/sys/msg.h-data: Likewise.
30231 * conform/data/sys/resource.h-data: Likewise.
30232 * conform/data/sys/select.h-data: Likewise.
30233 * conform/data/sys/sem.h-data: Likewise.
30234 * conform/data/sys/shm.h-data: Likewise.
30235 * conform/data/sys/socket.h-data: Likewise.
30236 * conform/data/sys/stat.h-data: Likewise.
30237 * conform/data/sys/statvfs.h-data: Likewise.
30238 * conform/data/sys/time.h-data: Likewise.
30239 * conform/data/sys/timeb.h-data: Likewise.
30240 * conform/data/sys/times.h-data: Likewise.
30241 * conform/data/sys/types.h-data: Likewise.
30242 * conform/data/sys/uio.h-data: Likewise.
30243 * conform/data/sys/un.h-data: Likewise.
30244 * conform/data/sys/utsname.h-data: Likewise.
30245 * conform/data/sys/wait.h-data: Likewise.
30246 * conform/data/syslog.h-data: Likewise.
30247 * conform/data/tar.h-data: Likewise.
30248 * conform/data/termios.h-data: Likewise.
30249 * conform/data/utime.h-data: Likewise.
30250 * conform/data/utmpx.h-data: Likewise.
30251 * conform/data/varargs.h-data: Likewise.
30252 * conform/data/wchar.h-data: Likewise.
30253 * conform/data/wctype.h-data: Likewise.
30254 * conform/data/wordexp.h-data: Likewise.
30255
30256 * include/stropts.h: New file.
30257 * include/uchar.h: New file.
30258 * include/aio.h: Changes to allow conformtest.pl to use the headers.
30259 * include/assert.h: Likewise.
30260 * include/ctype.h: Likewise.
30261 * include/dirent.h: Likewise.
30262 * include/dlfcn.h: Likewise.
30263 * include/fcntl.h: Likewise.
30264 * include/fnmatch.h: Likewise.
30265 * include/glob.h: Likewise.
30266 * include/grp.h: Likewise.
30267 * include/libio.h: Likewise.
30268 * include/locale.h: Likewise.
30269 * include/math.h: Likewise.
30270 * include/net/if.h: Likewise.
30271 * include/netdb.h: Likewise.
30272 * include/netinet/in.h: Likewise.
30273 * include/pthread.h: Likewise.
30274 * include/pwd.h: Likewise.
30275 * include/regex.h: Likewise.
30276 * include/sched.h: Likewise.
30277 * include/search.h: Likewise.
30278 * include/setjmp.h: Likewise.
30279 * include/signal.h: Likewise.
30280 * include/stdio.h: Likewise.
30281 * include/stdlib.h: Likewise.
30282 * include/string.h: Likewise.
30283 * include/sys/cdefs.h: Likewise.
30284 * include/sys/mman.h: Likewise.
30285 * include/sys/msg.h: Likewise.
30286 * include/sys/resource.h: Likewise.
30287 * include/sys/select.h: Likewise.
30288 * include/sys/socket.h: Likewise.
30289 * include/sys/stat.h: Likewise.
30290 * include/sys/statvfs.h: Likewise.
30291 * include/sys/time.h: Likewise.
30292 * include/sys/times.h: Likewise.
30293 * include/sys/uio.h: Likewise.
30294 * include/sys/utsname.h: Likewise.
30295 * include/sys/wait.h: Likewise.
30296 * include/termios.h: Likewise.
30297 * include/time.h: Likewise.
30298 * include/ulimit.h: Likewise.
30299 * include/unistd.h: Likewise.
30300 * include/utime.h: Likewise.
30301 * include/wchar.h: Likewise.
30302 * include/wctype.h: Likewise.
30303 * include/wordexp.h: Likewise.
30304
30305 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
30306
7a270350
UD
30307 * time/time.h: TIME_UTC must be a macro.
30308 Make timespec_get available for ISO C11 only as well.
30309
7724defc
UD
303102012-02-24 Ulrich Drepper <drepper@gmail.com>
30311
30312 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
30313 Reported by Peng Haitao <penght@cn.fujitsu.com>.
30314
6b1d1d46
JM
303152012-02-24 Joseph Myers <joseph@codesourcery.com>
30316
30317 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 30318
0f8bbd69
JM
303192012-02-24 Joseph Myers <joseph@codesourcery.com>
30320
30321 * manual/texinfo.tex: Update to version 2012-01-19.16.
30322
66ab80bc
JM
303232012-02-24 Joseph Myers <joseph@codesourcery.com>
30324
30325 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
30326
74981cc5
RM
303272012-02-24 Roland McGrath <roland@hack.frob.com>
30328
ee968201
RM
30329 [BZ #13738]
30330 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
30331 * manual/fdl-1.3.texi: New file.
30332 * manual/fdl-1.1.texi: File removed.
30333
74981cc5
RM
30334 [BZ #13738]
30335 * manual/libc.texinfo (FDL_VERSION): New @set.
30336 Use it for mention of FDL in cover text.
30337 (Documentation License): Use it in @include file name.
30338
7bb764bc
JM
303392012-02-22 Joseph Myers <joseph@codesourcery.com>
30340 Roland McGrath <roland@hack.frob.com>
30341
30342 [BZ #5461]
30343 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
30344 not LONG_LONG_MAX and LONG_LONG_MIN.
30345 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
30346 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
30347 name.
30348 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
30349
6cbeae47
JM
303502012-02-22 Joseph Myers <joseph@codesourcery.com>
30351
30352 [BZ #2547]
30353 [BZ #11365]
30354 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
30355 manipulate bits before adding and subtracting TWO23[sx].
30356 * math/libm-test.inc (nearbyint_test): Add more tests.
30357
fe45ce09
JM
303582012-02-22 Joseph Myers <joseph@codesourcery.com>
30359
30360 [BZ #2548]
30361 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
30362 bits before adding and subtracting TWO23[sx].
30363 * math/libm-test.inc (rint_test): Add more tests.
30364 (rint_test_tonearest): Likewise.
30365 (rint_test_towardzero): Likewise.
30366 (rint_test_downward): Likewise.
30367 (rint_test_upward: Likewise.
30368
ff3b3d82
JM
303692012-02-22 Joseph Myers <joseph@codesourcery.com>
30370
30371 [BZ #10110]
30372 * include/stdc-predef.h: New file. Extracted from features.h.
30373 * include/features.h: Include stdc-predef.h.
30374 * Makefile (headers): Add stdc-predef.h.
30375 * CONFORMANCE (Compiler limitations): Update.
30376
ef0aab35
JM
303772012-02-22 Joseph Myers <joseph@codesourcery.com>
30378
30379 * manual/libc.texinfo (VERSION, UPDATED): Revert.
30380
58639409
DM
303812012-02-21 David S. Miller <davem@davemloft.net>
30382
30383 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
30384 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
30385
c0e70b25
DM
303862012-02-20 David S. Miller <davem@davemloft.net>
30387
30388 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
30389 using a normal save/restore sequence, rather than allocating a
30390 dummy stack frame just to store a frame pointer and restore.
30391 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30392
fb06851d
JM
303932012-02-21 Joseph Myers <joseph@codesourcery.com>
30394
30395 * manual/install.texi: Fix stray word in line-wrapped comment.
30396
7a8b71c3
DM
303972012-02-20 David S. Miller <davem@davemloft.net>
30398
d510c123
DM
30399 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
30400 both binutils and gcc support GOTDATA.
30401
0722d7c2
DM
30402 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
30403 "rd %pc" in the PIC register setup sequences.
30404
3d2b3019
DM
30405 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
30406 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
30407 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
30408 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
30409 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
30410 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
30411 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30412 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30413 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
30414 (SYSCALL_ERROR_HANDLER): Likewise.
30415 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
30416 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30417 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
30418 (SYSCALL_ERROR_HANDLER): Likewise.
30419
c80098a9
DM
30420 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
30421 (HAVE_GCC_GOTDATA): New.
30422 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
30423 relocation support in both binutils and gcc.
30424 * sysdeps/sparc/elf/configure: Regenerate.
30425
3a2545a0
DM
30426 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
30427 * sysdeps/sparc/sparc32/elf/configure: Delete.
30428 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
30429 * sysdeps/sparc/sparc64/elf/configure: Delete.
30430 * sysdeps/sparc/elf/configure.in: New file.
30431 * sysdeps/sparc/elf/configure: Generate.
30432
7a8b71c3
DM
30433 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
30434 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
30435 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
30436 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
30437 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
30438
f1e86fca
JM
304392012-02-21 Joseph Myers <joseph@codesourcery.com>
30440
30441 * manual/install.texi: Do not mention specific glibc version
30442 numbers.
30443 * manual/libc.texinfo (VERSION, UPDATED): Update.
30444 (@copying): Use @copyright{} and range of years.
30445
0e7dfaef
JM
304462012-02-21 Joseph Myers <joseph@codesourcery.com>
30447
30448 [BZ #13695]
30449 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
30450 [crti.S not in sysdirs] (generated): Do not append.
30451 [crti.S not in sysdirs] (omit-deps): Likewise.
30452 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
30453 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
30454 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
30455 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
30456 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
30457 Likewise.
30458 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
30459 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
30460 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
30461 * csu/defs.awk: Remove file.
30462 * sysdeps/generic/initfini.c: Likewise.
30463 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
30464 variable.
30465 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
30466 Likewise.
30467
599af3ca
JM
304682012-02-20 Joseph Myers <joseph@codesourcery.com>
30469
30470 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
30471 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
30472 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
30473 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
30474 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30475 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
30476 <bits/epoll.h>.
30477 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
30478 (__EPOLL_PACKED): Define to empty if not defined by
30479 <bits/epoll.h>.
30480 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
30481 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30482 bits/epoll.h.
30483
0e499750
JM
304842012-02-20 Joseph Myers <joseph@codesourcery.com>
30485
30486 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
30487 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
30488 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
30489 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
30490 <bits/timerfd.h>.
30491 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
30492 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30493 bits/timerfd.h.
30494
5ad91f6e
JM
304952012-02-20 Joseph Myers <joseph@codesourcery.com>
30496
30497 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
30498 in C locale.
30499 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30500 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
30501 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
30502 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30503
06b99b02
AJ
305042012-02-20 Aurelien Jarno <aurelien@aurel32.net>
30505
30506 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30507 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
30508
7638c0fd
AS
305092012-02-19 Andreas Schwab <schwab@linux-m68k.org>
30510
30511 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
30512 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
30513 defined.
30514 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
30515 Likewise.
30516 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
30517 entry for 2.16.
30518
92221550
AJ
305192012-02-19 Aurelien Jarno <aurelien@aurel32.net>
30520
30521 * math/w_acos.c: Use non-signaling floating-point comparisons.
30522 * math/w_acosf.c: Likewise.
30523 * math/w_acosh.c: Likewise.
30524 * math/w_acoshf.c: Likewise.
30525 * math/w_acoshl.c: Likewise.
30526 * math/w_acosl.c: Likewise.
30527 * math/w_asin.c: Likewise.
30528 * math/w_asinf.c: Likewise.
30529 * math/w_asinl.c: Likewise.
30530 * math/w_atanh.c: Likewise.
30531 * math/w_atanhf.c: Likewise.
30532 * math/w_atanhl.c: Likewise.
30533 * math/w_exp2.c: Likewise.
30534 * math/w_exp2f.c: Likewise.
30535 * math/w_exp2l.c: Likewise.
30536 * math/w_j0.c: Likewise.
30537 * math/w_j0f.c: Likewise.
30538 * math/w_j0l.c: Likewise.
30539 * math/w_j1.c: Likewise.
30540 * math/w_j1f.c: Likewise.
30541 * math/w_j1l.c: Likewise.
30542 * math/w_jn.c: Likewise.
30543 * math/w_jnf.c: Likewise.
30544 * math/w_log.c: Likewise.
30545 * math/w_log10.c: Likewise.
30546 * math/w_log10f.c: Likewise.
30547 * math/w_log10l.c: Likewise.
30548 * math/w_log2.c: Likewise.
30549 * math/w_log2f.c: Likewise.
30550 * math/w_log2l.c: Likewise.
30551 * math/w_logf.c: Likewise.
30552 * math/w_logl.c: Likewise.
30553 * math/w_sqrt.c: Likewise.
30554 * math/w_sqrtf.c: Likewise.
30555 * math/w_sqrtl.c: Likewise.
30556 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30557 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
30558 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30559 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
30560 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
30561
ebaf36eb
JM
305622012-02-19 Joseph Myers <joseph@codesourcery.com>
30563
30564 [BZ #9739]
30565 * manual/string.texi (strnlen): Use correct parameter name in
30566 equivalent expression.
30567
71c254a6
JM
305682012-02-19 Joseph Myers <joseph@codesourcery.com>
30569
30570 [BZ #11174]
30571 * manual/users.texi (seteuid): Consistently use neweuid for
30572 argument name.
30573
16d2c631
JM
305742012-02-19 Joseph Myers <joseph@codesourcery.com>
30575
30576 [BZ #13704]
30577 * manual/nss.texi (Services in the NSS configuration): Correct
30578 list of services in example configuration file.
30579
cd837b09
NB
305802012-02-19 Nick Bowler <nbowler@draconx.ca>
30581
30582 [BZ #11322]
30583 * manual/arith.texi: Remove statements about negative zero
30584 behaving identically to zero.
30585
02c4bbad
JM
305862012-02-18 Joseph Myers <joseph@codesourcery.com>
30587
30588 [BZ #5993]
30589 * manual/install.texi: Do not document upgrading from libc5.
30590
366842e7
JM
305912012-02-18 Joseph Myers <joseph@codesourcery.com>
30592
30593 [BZ #4596]
30594 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
30595
dd54084d
DM
305962012-02-18 David S. Miller <davem@davemloft.net>
30597
30598 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
30599 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
30600 %o7 across the call.
30601 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
30602 instead.
30603 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
30604 SETUP_PIC_REG_LEAF.
30605 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30606 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
30607 * sysdeps/sparc/crtn.S: Likewise.
30608
2bcc53a3
UD
306092012-02-17 Ulrich Drepper <drepper@gmail.com>
30610
30611 * aout/Makefile: Remove.
30612
09c093b5
RK
306132012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
30614
30615 [BZ #13058]
30616 * manual/examples/argp-ex1.c (main): Format definition in GNU
30617 style.
30618 * manual/examples/argp-ex2.c (main): Likewise.
30619 * manual/examples/argp-ex3.c (main): Likewise.
30620 * manual/examples/argp-ex4.c (main): Likewise.
30621 * manual/examples/longopt.c (main): Use new-style prototype
30622 definition.
30623 * manual/examples/strncat.c (main): Specify return type and use
30624 (void) for arguments.
30625 * manual/examples/subopt.c (main): Use char **argv argument.
30626
2ee633a2
JM
306272012-02-17 Joseph Myers <joseph@codesourcery.com>
30628
30629 [BZ #5077]
30630 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
30631 rounding modes.
30632
0520adde
FB
306332012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
30634
30635 [BZ #6907]
30636 * manual/string.texi (strchr): Change when strchrnul is
30637 recommended.
30638
3f4081cd
DGM
306392012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
30640
30641 [BZ #174]
30642 * manual/locale.texi (setlocale): Document LOCPATH.
30643
d1b10e78
JM
306442012-02-17 Joseph Myers <joseph@codesourcery.com>
30645
30646 [BZ #10210]
30647 * manual/process.texi (execle): Move @dots{} before last argument.
30648
79c6869c
PB
306492012-02-17 Paul Bolle <pebolle@tiscali.nl>
30650
30651 [BZ #12047]
30652 * manual/charset.texi (Generic Charset Conversion): Fix typo
30653 (LC_TYPE -> LC_CTYPE).
30654
cc6e48bc
NB
306552012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
30656
30657 [BZ #5805]
30658 * manual/arith.texi (scalbn): Use @var{} on parameter names.
30659 (scalbnf): Likewise.
30660 (scalbnl): Likewise.
30661 (scalbln): Likewise.
30662 (scalblnf): Likewise.
30663 (scalblnl): Likewise.
30664 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
30665 (vwarnx): Likewise.
30666 (verr): Likewise.
30667 (verrx): Likewise.
30668 * manual/filesys.texi (telldir): Use braces around return type.
30669 * manual/llio.texi (mmap): Add space after comma.
30670 (mmap64): Likewise.
30671 * manual/math.texi (jn): Use @var{} on parameter names.
30672 (jnf): Likewise.
30673 (jnl): Likewise.
30674 (yn): Likewise.
30675 (ynf): Likewise.
30676 (ynl): Likewise.
30677 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
30678 line.
30679 * manual/resource.texi (ulimit): Use @dots{} instead of literal
30680 "...".
30681 (sched_get_priority_min): Remove semicolon on @deftypefun line.
30682 (sched_get_priority_max): Likewise.
30683 * manual/signal.texi (sigvec): Add space after comma.
30684 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
30685 names.
30686 (if_indextoname): Likewise.
30687 (if_freenameindex): Likewise.
30688 (sendto): Use ',' instead of '.' in prototype.
30689 * manual/startup.texi (syscall): Use @dots{} instead of literal
30690 "...".
30691 * manual/stdio.texi (__fpending): Separate initial words of
30692 paragraph from @deftypefun line.
30693 * manual/syslog.texi (syslog): Use @dots{} instead of literal
30694 "...".
30695 (vsyslog): Use @var{} on parameter names.
30696 * manual/terminal.texi (stty): Use @var{} on parameter names.
30697 * manual/users.texi (getutmp): Use @var{} on parameter names.
30698 (getutmpx): Likewise.
30699
5b23062f
JM
307002012-02-17 Joseph Myers <joseph@codesourcery.com>
30701
30702 [BZ #6884]
30703 * manual/stdio.texi (fopen): Fix typos in description of
30704 ",ccs=STRING".
30705
8dee4833
AJ
307062012-02-17 Aurelien Jarno <aurelien@aurel32.net>
30707
30708 [BZ #4026]
30709 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
30710 get clock_id definition.
30711
9078ce93
TS
307122012-02-17 Thomas Schwinge <thomas@schwinge.name>
30713
30714 [BZ #4822]
30715 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
30716 (madvise): Cast every argument to void on its own.
30717
3835c55f
JM
307182012-02-17 Joseph Myers <joseph@codesourcery.com>
30719
30720 [BZ #9902]
30721 * manual/startup.texi (Exit Status): Fix typo.
30722
35c47e37
JM
307232012-02-17 Joseph Myers <joseph@codesourcery.com>
30724
30725 [BZ #10140]
30726 * manual/examples/argp-ex1.c: Include <stdlib.h>.
30727 * manual/examples/argp-ex2.c: Likewise.
30728 * manual/examples/argp-ex3.c: Likewise.
30729
e3b69ca7
RH
307302012-02-16 Richard Henderson <rth@redhat.com>
30731
30732 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
30733 * sysdeps/s390/s390-32/initfini.c: Remove.
30734 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
30735 * sysdeps/s390/s390-64/initfini.c: Remove.
30736
df83af67
KK
307372012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30738
30739 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
30740 compiler output for sysdeps/generic/initfini.c.
30741 * sysdeps/sh/elf/initfini.c: Remove file.
30742
f63f3380
DM
307432012-02-16 David S. Miller <davem@davemloft.net>
30744
fb59b3a4
DM
30745 [BZ #11494]
30746 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
30747
f63f3380
DM
30748 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
30749 * sysdeps/sparc/crti.S: New file.
30750 * sysdeps/sparc/crtn.S: New file.
30751 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
30752 * sysdeps/sparc/sparc64/Makefile: Likewise.
30753
df6a4a4a
MF
307542012-02-15 Mike Frysinger <vapier@gentoo.org>
30755
6dd8f3dc 30756 [BZ #3335]
df6a4a4a
MF
30757 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
30758
1cac7236
RM
307592012-02-15 Roland McGrath <roland@hack.frob.com>
30760
d2c736f8
RM
30761 [BZ #4822]
30762 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
30763
1cac7236
RM
30764 * mach/devstream.c (cookie_io_functions_t): Macro removed.
30765 (write, read, close): Likewise.
30766 Patch by Aurelien Jarno <aurelien@aurel32.net>.
30767
8e475601
JM
307682012-02-15 Joseph Myers <joseph@codesourcery.com>
30769
30770 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
30771 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
30772 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
30773 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
30774 <bits/signalfd.h>.
30775 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
30776 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30777 bits/signalfd.h.
30778
ed656b40
MP
307792012-02-14 Marek Polacek <polacek@redhat.com>
30780
30781 * sysdeps/x86_64/crti.S: New file.
30782 * sysdeps/x86_64/crtn.S: New file.
30783 * sysdeps/x86_64/elf/initfini.c: Remove file.
30784
2a979d3a
JM
307852012-02-13 Joseph Myers <joseph@codesourcery.com>
30786
30787 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
30788 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
30789 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
30790 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
30791 <bits/inotify.h>.
30792 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
30793 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30794 bits/inotify.h.
30795
2a418ac3
JM
307962012-02-13 Joseph Myers <joseph@codesourcery.com>
30797
30798 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
30799 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
30800 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
30801 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
30802 <bits/eventfd.h>.
30803 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
30804 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30805 bits/eventfd.h.
30806
fb779be7
TS
308072012-02-10 Thomas Schwinge <thomas@codesourcery.com>
30808
e19e83c5
RM
30809 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
30810 __feraiseexcept instead of feraiseexcept.
7c35ffed 30811
fb779be7
TS
30812 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
30813 nanosleep invocations.
30814 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
30815 strings, and add error checking for a nanosleep invocations.
30816
59ba27a6
PE
308172012-02-09 Paul Eggert <eggert@cs.ucla.edu>
30818
30819 Replace FSF snail mail address with URLs, as per GNU coding standards.
30820 Most of the snail mail addresses were wrong anyway, and omitting
30821 them makes the source code easier to maintain. Almost all of the
30822 changes are to license notices and to locale LC_IDENTIFICATION
30823 addresses, except for this one:
30824 * manual/libc.texinfo: In "Published by", give the FSF's URL,
30825 not its snail mail address.
30826
57b957eb
RH
308272012-02-09 Richard Henderson <rth@twiddle.net>
30828
af850b1c
RH
30829 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
30830 of kernel-features.h.
30831
57b957eb
RH
30832 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
30833
6b73181a
MP
308342012-02-08 Marek Polacek <polacek@redhat.com>
30835
30836 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
30837 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
30838 * sysdeps/gnu/_G_config.h: Likewise.
30839 * sysdeps/generic/_G_config.h: Likewise.
30840
26ecc33a
AS
308412012-02-08 Andreas Schwab <schwab@linux-m68k.org>
30842
6c6dbc63
AS
30843 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
30844 tests.
30845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30846
e216c012
AS
30847 * sysdeps/powerpc/powerpc32/crti.S: New file.
30848 * sysdeps/powerpc/powerpc32/crtn.S: New file.
30849 * sysdeps/powerpc/powerpc64/crti.S: New file.
30850 * sysdeps/powerpc/powerpc64/crtn.S: New file.
30851
26ecc33a
AS
30852 * Makeconfig (have-initfini): Don't set.
30853 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
30854 * configure.in (nopic_initfini): Don't substitute.
30855 * config.h.in (HAVE_INITFINI): Don't #undef.
30856 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
30857 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
30858
3add8e13
JM
308592012-02-08 Joseph Myers <joseph@codesourcery.com>
30860
30861 Support crti.S and crtn.S provided directly by architectures.
30862 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
30863 [crti.S in sysdirs] (omit-deps): Likewise.
30864 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
30865 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
30866 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
30867 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
30868 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
30869 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
30870 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
30871 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
30872 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
30873 compiler output for sysdeps/generic/initfini.c.
30874 * sysdeps/i386/elf/Makefile: Remove file.
30875 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
30876
a22f12b4
MP
308772012-02-07 Marek Polacek <polacek@redhat.com>
30878
30879 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
30880 * sysdeps/gnu/_G_config.h: Likewise.
30881 * sysdeps/mach/hurd/_G_config.h: Likewise.
30882
148cf100
MP
308832012-02-07 Marek Polacek <polacek@redhat.com>
30884
30885 * math/Makefile (tests): Add tst-CMPLX2.
30886 * math/tst-CMPLX2.c: New file.
30887
cfdc0dd7
AS
308882012-02-07 Andreas Schwab <schwab@linux-m68k.org>
30889
84ba42c4
AS
30890 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30891
cfdc0dd7
AS
30892 * math/libm-test.inc (jn_test): Add missing L suffix.
30893
622c86f4
MP
308942012-02-06 Marek Polacek <polacek@redhat.com>
30895
30896 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
30897 * sysdeps/i386/fpu/e_powf.S: Likewise.
30898 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30899 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
30900 * sysdeps/i386/fpu/e_acosh.S: Likewise.
30901 * sysdeps/i386/fpu/e_pow.S: Likewise.
30902 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30903 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30904 * sysdeps/i386/fpu/s_expm1.S: Likewise.
30905 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30906 * sysdeps/i386/fpu/e_log2.S: Likewise.
30907 * sysdeps/i386/fpu/e_log2l.S: Likewise.
30908 * sysdeps/i386/fpu/e_scalb.S: Likewise.
30909 * sysdeps/i386/fpu/e_powl.S: Likewise.
30910 * sysdeps/i386/fpu/s_log1p.S: Likewise.
30911 * sysdeps/i386/fpu/e_log10f.S: Likewise.
30912 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30913 * sysdeps/i386/fpu/e_logl.S: Likewise.
30914 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30915 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
30916 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30917 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30918 * sysdeps/i386/fpu/e_log2f.S: Likewise.
30919 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30920 * sysdeps/i386/fpu/e_log.S: Likewise.
30921 * sysdeps/i386/fpu/s_cexp.S: Likewise.
30922 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30923 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
30924 * sysdeps/i386/fpu/e_logf.S: Likewise.
30925 * sysdeps/i386/fpu/e_log10l.S: Likewise.
30926 * sysdeps/i386/fpu/e_atanh.S: Likewise.
30927 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
30928 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30929 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
30930 * sysdeps/i386/fpu/e_log10.S: Likewise.
30931 * sysdeps/i386/fpu/s_frexp.S: Likewise.
30932 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30933 * sysdeps/i386/fpu/s_asinh.S: Likewise.
30934 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30935 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30936 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30937 * sysdeps/i386/asm-syntax.h: Likewise.
30938 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30939 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30940 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30941 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
30942 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
30943 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30944 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30945 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30946 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30947 * sysdeps/powerpc/sysdep.h: Likewise.
30948 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
30949 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30950
d4a54ac6
JM
309512012-02-06 Joseph Myers <joseph@codesourcery.com>
30952
30953 [BZ #411]
30954 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
30955
314054ea
JM
309562012-02-06 Joseph Myers <joseph@codesourcery.com>
30957
30958 * sysdeps/i386/sysdep.h: Include <features.h>.
30959 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
30960 version.
30961
d8e0ca50
JM
309622012-02-05 Joseph Myers <joseph@codesourcery.com>
30963
30964 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
30965 Define.
30966 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
30967 LOAD_PIC_REG_STR.
30968
b1da7dd9
JM
309692012-02-03 Joseph Myers <joseph@codesourcery.com>
30970
30971 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
30972 (SETUP_PIC_REG): Use GET_PC_THUNK.
30973 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
30974 macro.
30975
9a1d9254
JM
309762012-02-03 Joseph Myers <joseph@codesourcery.com>
30977
30978 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
30979 for non-PIC compilation.
30980 (SETUP_PIC_REG): Add .p2align directive.
30981 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
30982 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
30983 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30984 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30985 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
30986 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30987 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
30988 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30989 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30990 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30991 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30992 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30993 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30994 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30995 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30996 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
30997 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
30998 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30999 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
31000 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
31001 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31002 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
31003 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
31004 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
31005 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
31006 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
31007 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31008 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
31009 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
31010 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
31011 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
31012 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31013 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
31014 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
31015 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
31016 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
31017 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
31018 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
31019 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
31020 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
31021 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
31022
65dc3b75
JM
310232012-02-03 Joseph Myers <joseph@codesourcery.com>
31024
31025 * math/tst-CMPLX.c: Include <stdio.h>.
31026
d55bf177
JM
310272012-01-31 Joseph Myers <joseph@codesourcery.com>
31028
31029 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
31030 float.
31031 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
31032 * sysdeps/sparc/bits/mathdef.h: Likewise.
31033
69db4f8f
MP
310342012-01-31 Marek Polacek <polacek@redhat.com>
31035
31036 * libio/libio.h: Don't define _PARAMS.
31037 * locale/programs/config.h: Don't define PARAMS.
31038 * stdlib/strtol_l.c: Likewise.
31039 (__strtol_l): Remove PARAMS from the prototype.
31040
41b81892
UD
310412012-01-31 Ulrich Drepper <drepper@gmail.com>
31042
3b49edc0
UD
31043 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
31044 names. Just use the correct names. Remove unnecessary wrapper
31045 functions.
31046 * malloc/arena.c: Likewise.
31047 * malloc/hooks.c: Likewise.
31048
41b81892
UD
31049 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
31050 ARENA_TEST says not to. Simplify test for creation of a new arena.
31051 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
31052
27a25b6e
UD
310532012-01-30 Ulrich Drepper <drepper@gmail.com>
31054
31055 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
31056 into tail calls.
31057 (update_get_addr): New function.
31058 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
31059 GET_ADDR_MODULE parameter.
31060
c8a89e7d
JM
310612012-01-30 Joseph Myers <joseph@codesourcery.com>
31062
31063 * crypt/cert.c: Remove __STDC__ conditionals.
31064 * crypt/crypt-entry.c: Likewise.
31065 * crypt/crypt_util.c: Likewise.
31066 * libio/filedoalloc.c: Likewise.
31067 * libio/fileops.c: Likewise.
31068 * libio/genops.c: Likewise.
31069 * libio/iofclose.c: Likewise.
31070 * libio/iofdopen.c: Likewise.
31071 * libio/iofopen.c: Likewise.
31072 * libio/iofopen64.c: Likewise.
31073 * libio/iogetdelim.c: Likewise.
31074 * libio/iopopen.c: Likewise.
31075 * libio/obprintf.c: Likewise.
31076 * libio/oldfileops.c: Likewise.
31077 * libio/oldiofclose.c: Likewise.
31078 * libio/oldiofdopen.c: Likewise.
31079 * libio/oldiofopen.c: Likewise.
31080 * libio/oldiopopen.c: Likewise.
31081 * libio/wfiledoalloc.c: Likewise.
31082 * libio/wgenops.c: Likewise.
31083 * locale/programs/xmalloc.c: Likewise.
31084 * misc/syslog.c: Likewise.
31085 * stdio-common/xbug.c: Likewise.
31086 * string/memchr.c: Likewise.
31087 * string/memcmp.c: Likewise.
31088 * string/memrchr.c: Likewise.
31089 * string/rawmemchr.c: Likewise.
31090 * sysdeps/posix/getcwd.c: Likewise.
31091 * time/strftime_l.c: Likewise.
31092
3b100462
JM
310932012-01-30 Joseph Myers <joseph@codesourcery.com>
31094
31095 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
31096 * config.make.in (config-cflags-sse2avx): Define.
31097 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
31098 Fix typo.
31099
607998af
CM
311002012-01-29 Chris Metcalf <cmetcalf@tilera.com>
31101
31102 * scripts/config.guess: Update from upstream config git repository.
31103 * scripts/config.sub: Likewise.
31104
3601428f
CM
311052012-01-28 Chris Metcalf <cmetcalf@tilera.com>
31106
3ac8b282
CM
31107 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
31108 (EM_NUM): Update.
31109 (R_TILEPRO_*, R_TILEGX_*): New macros.
31110
e034841e
CM
31111 * scripts/firstversions.awk: Fix bug in version range handling.
31112
540d7568
CM
31113 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
31114
3601428f
CM
31115 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
31116
463de862
CM
31117 * include/sys/epoll.h: New file.
31118 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
31119 libc_hidden_def.
31120
73139a76
UD
311212012-01-28 Ulrich Drepper <drepper@gmail.com>
31122
96bc5b45
UD
31123 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
31124 Avoid unnecessary __WORDSIZE == 64 test.
31125 (fmaxf): Use VEX format if possible.
31126 (fmax): Likewise.
31127 (fminf): Likewise.
31128 (fmin): Likewise.
31129
56f6f6a2
UD
31130 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
31131 * math/math_private.h: Remove libc_fegetround* and
31132 libc_fesetround*.
31133 * sysdeps/i386/configure.in: Check for -msse2avx.
31134 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
31135 also if SSE2AVX is defined.
31136 Remove libc_fegetround* and libc_fesetround*.
31137 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
31138 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
31139 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
31140 of HAS_YMM_USABLE.
31141 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31142 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31143 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31144 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31145 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31146
73139a76
UD
31147 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
31148
d73f93a4
AZ
311492012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31150
31151 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
31152 size is not set.
31153 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
31154
6ee65ed6
UD
311552012-01-27 Ulrich Drepper <drepper@gmail.com>
31156
31157 [BZ #13618]
31158 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
31159 relocation.
31160 * Makeconfig (libm): Define.
31161 * elf/Makefile: Add rules to build and run tst-relsort1.
31162 * elf/tst-relsort1.c: New file.
31163 * elf/tst-relsort1mod1.c: New file.
31164 * elf/tst-relsort1mod2.c: New file.
31165
8db21882
JM
311662012-01-27 Joseph Myers <joseph@codesourcery.com>
31167
31168 * math/s_ldexp.c: Remove __STDC__ conditionals.
31169 * math/s_ldexpf.c: Likewise.
31170 * math/s_ldexpl.c: Likewise.
31171 * math/s_nextafter.c: Likewise.
31172 * math/s_nexttowardf.c: Likewise.
31173 * math/s_significand.c: Likewise.
31174 * math/s_significandf.c: Likewise.
31175 * math/s_significandl.c: Likewise.
31176 * math/w_jnl.c: Likewise.
31177 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
31178 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
31179 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
31180 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
31181 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
31182 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
31183 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
31184 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
31185 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
31186 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
31187 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
31188 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31189 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
31190 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
31191 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
31192 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
31193 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
31194 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
31195 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
31196 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
31197 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
31198 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
31199 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
31200 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31201 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
31202 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
31203 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
31204 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
31205 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
31206 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
31207 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
31208 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
31209 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
31210 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
31211 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
31212 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
31213 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
31214 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
31215 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
31216 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
31217 * sysdeps/ieee754/k_standard.c: Likewise.
31218 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
31219 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
31220 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
31221 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
31222 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
31223 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
31224 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
31225 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
31226 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
31227 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
31228 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
31229 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
31230 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
31231 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
31232 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
31233 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
31234 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
31235 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
31236 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
31237 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
31238 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
31239 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
31240 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
31241 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
31242 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
31243 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
31244 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
31245 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
31246 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
31247 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
31248 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
31249 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
31250 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
31251 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
31252 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
31253 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
31254 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
31255 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
31256 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
31257 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
31258 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
31259 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
31260 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
31261 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
31262 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
31263 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
31264 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
31265 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
31266 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
31267 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
31268 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
31269 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
31270 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
31271 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
31272 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
31273 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
31274 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
31275 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
31276 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
31277 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
31278 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
31279 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
31280 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
31281 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
31282 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
31283 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
31284 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
31285 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
31286 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
31287 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
31288 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
31289 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
31290 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
31291 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
31292 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
31293 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
31294 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
31295 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
31296 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
31297 * sysdeps/ieee754/s_matherr.c: Likewise.
31298 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
31299 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
31300 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
31301 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
31302
965a54a4
JM
313032012-01-26 Joseph Myers <joseph@codesourcery.com>
31304
31305 * crypt/md5.h: Remove __STDC__ conditionals.
31306 * libio/libioP.h: Likewise.
31307 * locale/programs/config.h: Likewise.
31308 * sysdeps/generic/sysdep.h: Likewise.
31309 * sysdeps/i386/asm-syntax.h: Likewise.
31310 * sysdeps/s390/asm-syntax.h: Likewise.
31311 * sysdeps/unix/sysdep.h: Likewise.
31312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
31313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31314
7071ad79
JM
313152012-01-26 Joseph Myers <joseph@codesourcery.com>
31316
31317 * libio/libio.h: Remove __STDC__ conditionals.
31318 * malloc/obstack.h: Likewise.
31319 * math/complex.h: Likewise.
31320 * math/math.h: Likewise.
31321 * sysdeps/generic/_G_config.h: Likewise.
31322 * sysdeps/gnu/_G_config.h: Likewise.
31323 * sysdeps/mach/hurd/_G_config.h: Likewise.
31324 * sysdeps/powerpc/bits/mathdef.h: Likewise.
31325 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
31326 * sysdeps/sparc/bits/mathdef.h: Likewise.
31327
afc5ed09
UD
313282012-01-26 Ulrich Drepper <drepper@gmail.com>
31329
31330 [BZ #13583]
31331 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 31332 Clean up HAS_* macros.
afc5ed09 31333 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
31334 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
31335 possible.
31336 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
31337 HAS_AVX.
31338 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31339 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31340 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31341 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31342 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 31343
bdb6de1d
JM
313442012-01-25 Joseph Myers <joseph@codesourcery.com>
31345
31346 * elf/tst-unique3.cc (gets): Remove declaration.
31347 * elf/tst-unique3lib.cc (gets): Likewise.
31348 * elf/tst-unique3lib2.cc (gets): Likewise.
31349 * elf/tst-unique4.cc (gets): Likewise.
31350
b15549e6
UD
313512012-01-24 Ulrich Drepper <drepper@gmail.com>
31352
31353 * include/stdio.h: Add C++ protection. Add gets declarations and
31354 definitions.
31355 * debug/tst-chk1.c: Don't declare gets here.
31356 * stdio-common/tst-gets.c: Likewise.
31357
a037381f
JM
313582012-01-24 Joseph Myers <joseph@codesourcery.com>
31359
31360 * posix/glob: Remove directory.
31361
f1d4aa75
JM
313622012-01-24 Joseph Myers <joseph@codesourcery.com>
31363
31364 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
31365
81c0c964
PT
313662012-01-22 Pino Toscano <toscano.pino@tiscali.it>
31367
31368 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
31369 of the non-standard EPFNOSUPPORT.
31370
0ea698ae
ST
313712011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
31372
31373 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
31374 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
31375 ANYWHERE set to 1 only on KERN_NO_SPACE error.
31376
d220b117
UD
313772012-01-21 Ulrich Drepper <drepper@gmail.com>
31378
31379 * wcsmbs/uchar.h: Test __STDC_VERSION__.
31380
3e1aa84e
UD
313812012-01-20 Ulrich Drepper <drepper@gmail.com>
31382
31383 * nscd/aicache.c (addhstaiX): Do not cache negative results of
31384 transient errors.
31385 * nscd/grpcache.c (cache_addgr): Likewise.
31386 * nscd/hstcache.c (cache_addhst): Likewise.
31387 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31388 * nscd/pwdcache.c (cache_addpw): Likewise.
31389 * nscd/servicescache.c (cache_addserv): Likewise.
31390
400aa020
UD
313912012-01-16 Ulrich Drepper <drepper@gmail.com>
31392
d77e7869
UD
31393 * malloc/malloc.c: Various cleanups.
31394 * malloc/hooks.c: Likewise.
31395
400aa020
UD
31396 * stdlib/Makefile (tests): Add bug-fmtmsg1.
31397 * stdlib/bug-fmtmsg1.c: New file.
31398
31399 * stdlib/fmtmsg.c (init): Add missing unlock.
31400 Patch by Peng Haitao <penght@cn.fujitsu.com>.
31401
e0a309cf
MP
314022012-01-12 Marek Polacek <polacek@redhat.com>
31403
31404 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
31405 and _GNU_SOURCE.
31406
929d11c7
WS
314072012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
31408
31409 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
31410 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
31411 macro to ensure uniqueness of label name.
31412 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
31413 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
31414
41d0e869
UD
314152012-01-11 Ulrich Drepper <drepper@gmail.com>
31416
0cc5ed3b
UD
31417 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
31418
41d0e869
UD
31419 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
31420 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
31421 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
31422 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
31423
a47a831a
UD
314242012-01-10 Ulrich Drepper <drepper@gmail.com>
31425
daa891c0
UD
31426 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
31427
31428 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
31429 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
31430 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
31431
e58ef0f2
UD
31432 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
31433
a47a831a 31434 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
31435 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
31436 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 31437 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
31438
31439 * math/bits/math-finite.h: Add ldexp support.
31440
a0bfc9c7
MP
314412012-01-10 Marek Polacek <polacek@redhat.com>
31442
31443 * locale/programs/localedef.h (show_archive_content): Add noreturn
31444 attribute.
31445
d6e97a1d
UD
314462012-01-09 Ulrich Drepper <drepper@gmail.com>
31447
31448 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
31449
d5835c26
UD
314502012-01-08 Ulrich Drepper <drepper@gmail.com>
31451
e5f484c6
UD
31452 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
31453
d5835c26
UD
31454 * io/Makefile (headers): Add bits/poll2.h.
31455
d1f741e9
WS
314562011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
31457
31458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
31459 typo #include statement.
31460
ec09c1c4
UD
314612012-01-08 Ulrich Drepper <drepper@gmail.com>
31462
31463 * include/sys/cdefs.h: Define __attribute_alloc_size.
31464 * catgets/gencat.c: Add alloc_size attribute and apply consistently
31465 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
31466 * elf/pldd.c: Likewise.
31467 * iconv/iconv_charmap.c: Likewise.
31468 * iconv/iconvconfig.c: Likewise.
31469 * iconv/strtab.c: Likewise.
31470 * locale/programs/locale.c: Likewise.
31471 * locale/programs/localedef.h: Likewise.
31472 * locale/programs/simple-hash.c: Likewise.
31473 * nscd/nscd.h: Likewise.
31474 * nss/makedb.c: Likewise.
31475 * sysdeps/generic/ldconfig.h: Likewise.
31476 * locale/programs/localedef.c: Remove xmalloc prototype.
31477 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
31478
20b38e03
PP
314792012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
31480
31481 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
31482 appropriate.
31483
a0da5fe1
UD
314842012-01-08 Ulrich Drepper <drepper@gmail.com>
31485
1d5a644a 31486 * math/Makefile (tests): Add tst-CMPLX.
669704fd 31487 * math/tst-CMPLX.c: New file.
1d5a644a 31488
8784a6db
UD
31489 * math/complex.h (CMPLXL): Fix typo.
31490
d9a216c0
UD
31491 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
31492 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
31493 GLIBC_2.16.
31494 * debug/tst-chk1.c: Add poll and ppoll tests.
31495 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
31496 * include/sys/poll.h: Add hidden proto for ppoll.
31497 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
31498 * sysdeps/mach/hurd/ppoll.c: Likewise.
31499 * io/ppoll.c: Likewise.
31500 * debug/poll_chk.c: New file.
31501 * debug/ppoll_chk.c: New file.
31502 * include/bits/poll2.h: New file.
31503 * io/bits/poll2.h: New file.
31504
ac097f5c
UD
31505 [BZ #1350]
31506 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
31507
2119dcfa
UD
31508 * configure.in: static is always set to yes. Remove.
31509 * config.make.in: Don't set build-static.
31510 * Makeconfig: Remove use of build-static.
31511 * dlfcn/Makefile: Likewise.
31512 * elf/Makefile: Likewise.
31513 * math/Makefile: Likewise.
31514 * misc/Makefile: Likewise.
31515 * nptl/Makefile: Likewise.
31516 * sysdeps/mach/hurd/Makefile: Likewise.
31517
121766a9
UD
31518 * configure.in: PWD_P is not used anymore.
31519 * config.make.in: Remove PWD_P entry.
31520
51a1d39c 31521 * configure.in: Remove last remnants of RANLIB.
8720d066 31522 No need to check for signed size_t anymore.
215f4bdc
UD
31523 Don't set libc_commonpagesize and libc_relro_required here for Alpha
31524 and IA-64.
3857022a 31525 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
31526 * aclocal.m4: Likewise.
31527
d3ed7225
UD
31528 * wcsmbs/mbrtoc16.c: Implement using towc function.
31529 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
31530 * wcsmbs/wcsmbsload.c: Likewise.
31531 * iconv/gconv_simple.c: Likewise.
31532 * iconv/gconv_int.h: Likewise.
31533 * iconv/gconv_builtin.h: Likewise.
31534 * iconv/iconv_prog.c: Remove CHAR16 handling.
31535
31536 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
31537
31538 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
31539
a0da5fe1
UD
31540 * configure.in: Remove --with-elf and --enable-bounded options.
31541 Dont set base_machine for ia64. More non-ELF conditions removed.
31542 Remove testing and setting of leading underscore information.
31543 * config.make.in (build-bounded): Set to no.
31544 * config.h.in: Remove NO_UNDERSCORES entry.
31545 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
31546 them.
31547 * csu/start.c: Remove !NO_UNDERSCORE code.
31548 * locale/localeinfo.h: Likewise.
31549 * sysdeps/generic/machine-gmon.h: Likewise.
31550 * sysdeps/generic/sysdep.h: Likewise.
31551 * sysdeps/i386/sysdep.h: Likewise.
31552 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31553 * sysdeps/mach/sysdep.h: Likewise.
31554 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31555 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31556 * sysdeps/sh/sysdep.h: Likewise.
31557 * sysdeps/sparc/sparc32/alloca.S: Likewise.
31558 * sysdeps/unix/i386/sysdep.S: Likewise.
31559 * sysdeps/unix/sparc/start.c: Likewise.
31560 * sysdeps/unix/sparc/sysdep.S: Likewise.
31561 * sysdeps/unix/sparc/sysdep.h: Likewise.
31562 * sysdeps/unix/start.c: Likewise.
31563 * sysdeps/unix/x86_64/sysdep.S: Likewise.
31564 * sysdeps/x86_64/sysdep.h: Likewise.
31565
df78418a
UD
315662012-01-07 Ulrich Drepper <drepper@gmail.com>
31567
a784e502
UD
31568 [BZ #13553]
31569 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
31570 for non-gcc.
31571 * argp/argp-fmtstream.h: Use const instead __const.
31572 * argp/argp.h: Likewise.
31573 * assert/assert.h: Likewise.
31574 * bits/fenv.h: Likewise.
31575 * bits/sched.h: Likewise.
31576 * bits/sigset.h: Likewise.
31577 * bits/sigthread.h: Likewise.
31578 * catgets/nl_types.h: Likewise.
31579 * conform/data/pthread.h-data: Likewise.
31580 * crypt/crypt-private.h: Likewise.
31581 * crypt/crypt.h: Likewise.
31582 * crypt/crypt_util.c: Likewise.
31583 * ctype/ctype.h: Likewise.
31584 * debug/execinfo.h: Likewise.
31585 * debug/mbsnrtowcs_chk.c: Likewise.
31586 * debug/mbsrtowcs_chk.c: Likewise.
31587 * debug/wcsnrtombs_chk.c: Likewise.
31588 * debug/wcsrtombs_chk.c: Likewise.
31589 * debug/wcstombs_chk.c: Likewise.
31590 * dirent/dirent.h: Likewise.
31591 * dlfcn/dlfcn.h: Likewise.
31592 * elf/neededtest4.c: Likewise.
31593 * grp/grp.h: Likewise.
31594 * gshadow/gshadow.h: Likewise.
31595 * iconv/gconv.h: Likewise.
31596 * iconv/gconv_int.h: Likewise.
31597 * iconv/gconv_simple.c: Likewise.
31598 * iconv/iconv.h: Likewise.
31599 * iconv/loop.c: Likewise.
31600 * iconv/skeleton.c: Likewise.
31601 * include/aio.h: Likewise.
31602 * include/aliases.h: Likewise.
31603 * include/argz.h: Likewise.
31604 * include/arpa/inet.h: Likewise.
31605 * include/assert.h: Likewise.
31606 * include/dirent.h: Likewise.
31607 * include/dlfcn.h: Likewise.
31608 * include/execinfo.h: Likewise.
31609 * include/fcntl.h: Likewise.
31610 * include/fenv.h: Likewise.
31611 * include/glob.h: Likewise.
31612 * include/grp.h: Likewise.
31613 * include/libintl.h: Likewise.
31614 * include/mntent.h: Likewise.
31615 * include/netdb.h: Likewise.
31616 * include/pwd.h: Likewise.
31617 * include/rpc/netdb.h: Likewise.
31618 * include/sched.h: Likewise.
31619 * include/search.h: Likewise.
31620 * include/shadow.h: Likewise.
31621 * include/signal.h: Likewise.
31622 * include/stdio.h: Likewise.
31623 * include/stdlib.h: Likewise.
31624 * include/string.h: Likewise.
31625 * include/sys/socket.h: Likewise.
31626 * include/sys/stat.h: Likewise.
31627 * include/sys/statfs.h: Likewise.
31628 * include/sys/statvfs.h: Likewise.
31629 * include/sys/syslog.h: Likewise.
31630 * include/sys/time.h: Likewise.
31631 * include/sys/uio.h: Likewise.
31632 * include/time.h: Likewise.
31633 * include/unistd.h: Likewise.
31634 * include/utmp.h: Likewise.
31635 * include/wchar.h: Likewise.
31636 * include/wctype.h: Likewise.
31637 * inet/aliases.h: Likewise.
31638 * inet/arpa/inet.h: Likewise.
31639 * inet/netinet/ether.h: Likewise.
31640 * inet/netinet/in.h: Likewise.
31641 * intl/libintl.h: Likewise.
31642 * io/bits/fcntl2.h: Likewise.
31643 * io/fcntl.h: Likewise.
31644 * io/ftw.h: Likewise.
31645 * io/sys/poll.h: Likewise.
31646 * io/sys/stat.h: Likewise.
31647 * io/sys/statfs.h: Likewise.
31648 * io/sys/statvfs.h: Likewise.
31649 * io/utime.h: Likewise.
31650 * libio/bits/stdio.h: Likewise.
31651 * libio/bits/stdio2.h: Likewise.
31652 * libio/libio.h: Likewise.
31653 * libio/libioP.h: Likewise.
31654 * libio/stdio.h: Likewise.
31655 * locale/lc-ctype.c: Likewise.
31656 * locale/locale.h: Likewise.
31657 * login/utmp.h: Likewise.
31658 * malloc/arena.c: Likewise.
31659 * malloc/malloc.c: Likewise.
31660 * malloc/malloc.h: Likewise.
31661 * malloc/mcheck.c: Likewise.
31662 * malloc/mtrace.c: Likewise.
31663 * math/bits/mathcalls.h: Likewise.
31664 * math/fenv.h: Likewise.
31665 * math/math_private.h: Likewise.
31666 * misc/bits/error.h: Likewise.
31667 * misc/bits/syslog.h: Likewise.
31668 * misc/err.h: Likewise.
31669 * misc/error.h: Likewise.
31670 * misc/fstab.h: Likewise.
31671 * misc/mntent.h: Likewise.
31672 * misc/regexp.h: Likewise.
31673 * misc/search.h: Likewise.
31674 * misc/sgtty.h: Likewise.
31675 * misc/sys/mman.h: Likewise.
31676 * misc/sys/syslog.h: Likewise.
31677 * misc/sys/uio.h: Likewise.
31678 * misc/sys/xattr.h: Likewise.
31679 * misc/ttyent.h: Likewise.
31680 * nis/rpcsvc/ypclnt.h: Likewise.
31681 * nss/nss.h: Likewise.
31682 * posix/bits/unistd.h: Likewise.
31683 * posix/fnmatch.h: Likewise.
31684 * posix/glob.h: Likewise.
31685 * posix/sched.h: Likewise.
31686 * posix/spawn.h: Likewise.
31687 * posix/sys/wait.h: Likewise.
31688 * posix/unistd.h: Likewise.
31689 * posix/wordexp.h: Likewise.
31690 * pwd/pwd.h: Likewise.
31691 * resolv/netdb.h: Likewise.
31692 * resource/sys/resource.h: Likewise.
31693 * rt/aio.h: Likewise.
31694 * rt/bits/mqueue2.h: Likewise.
31695 * rt/mqueue.h: Likewise.
31696 * shadow/shadow.h: Likewise.
31697 * signal/signal.h: Likewise.
31698 * socket/send.c: Likewise.
31699 * socket/sendto.c: Likewise.
31700 * socket/sys/socket.h: Likewise.
31701 * stdio-common/printf.h: Likewise.
31702 * stdlib/bits/stdlib.h: Likewise.
31703 * stdlib/fmtmsg.h: Likewise.
31704 * stdlib/monetary.h: Likewise.
31705 * stdlib/stdlib.h: Likewise.
31706 * stdlib/ucontext.h: Likewise.
31707 * streams/stropts.h: Likewise.
31708 * string/argz.h: Likewise.
31709 * string/bits/string2.h: Likewise.
31710 * string/string.h: Likewise.
31711 * string/strings.h: Likewise.
31712 * sunrpc/rpc/auth.h: Likewise.
31713 * sunrpc/rpc/auth_des.h: Likewise.
31714 * sunrpc/rpc/clnt.h: Likewise.
31715 * sunrpc/rpc/netdb.h: Likewise.
31716 * sunrpc/rpc/pmap_clnt.h: Likewise.
31717 * sunrpc/rpc/xdr.h: Likewise.
31718 * sysdeps/generic/inttypes.h: Likewise.
31719 * sysdeps/generic/net/if.h: Likewise.
31720 * sysdeps/generic/sys/swap.h: Likewise.
31721 * sysdeps/gnu/net/if.h: Likewise.
31722 * sysdeps/gnu/utmpx.h: Likewise.
31723 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
31724 * sysdeps/i386/i486/bits/string.h: Likewise.
31725 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
31726 * sysdeps/s390/bits/string.h: Likewise.
31727 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
31728 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
31729 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
31730 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
31731 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
31732 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
31733 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
31734 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
31735 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
31736 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
31737 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
31738 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
31739 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
31740 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
31741 * sysdeps/unix/sysv/linux/readv.c: Likewise.
31742 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
31743 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
31744 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31745 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
31746 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
31747 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31748 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
31749 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
31750 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
31751 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
31752 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
31753 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
31754 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31755 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
31756 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
31757 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
31758 * sysvipc/sys/ipc.h: Likewise.
31759 * sysvipc/sys/msg.h: Likewise.
31760 * sysvipc/sys/sem.h: Likewise.
31761 * sysvipc/sys/shm.h: Likewise.
31762 * termios/termios.h: Likewise.
31763 * time/sys/time.h: Likewise.
31764 * time/time.h: Likewise.
31765 * wcsmbs/bits/wchar2.h: Likewise.
31766 * wcsmbs/uchar.h: Likewise.
31767 * wcsmbs/wchar.h: Likewise.
31768 * wctype/wctype.h: Likewise.
31769
0269750c
UD
31770 [BZ #13551]
31771 * Makeconfig: Remove all but ELF support including AIX support.
31772 * Makerules: Likewise.
31773 * config.h.in: Likewise.
31774 * config.make.in: Likewise.
31775 * configure: Likewise.
31776 * configure.in: Likewise.
31777 * csu/Makefile: Likewise.
31778 * csu/version.c: Likewise.
31779 * debug/Makefile: Likewise.
31780 * dlfcn/Makefile: Likewise.
31781 * elf/Makefile: Likewise.
31782 * extra-lib.mk: Likewise.
31783 * iconv/Makefile: Likewise.
31784 * include/libc-symbols.h: Likewise.
31785 * include/shlib-compat.h: Likewise.
31786 * resolv/Makefile: Likewise.
31787 * resolv/res_libc.c: Likewise.
31788 * rt/Makefile: Likewise.
31789 * sysdeps/i386/asm-syntax.h: Likewise.
31790 * sysdeps/i386/sysdep.h: Likewise.
31791 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31792 * sysdeps/mach/sysdep.h: Likewise.
31793 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
31794 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
31795 * sysdeps/s390/asm-syntax.h: Likewise.
31796 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31797 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31798 * sysdeps/sh/sysdep.h: Likewise.
31799 * sysdeps/unix/sparc/sysdep.h: Likewise.
31800 * sysdeps/wordsize-32/divdi3.c: Likewise.
31801 * sysdeps/x86_64/sysdep.h: Likewise.
31802
00bbd29b
UD
31803 * argp/Versions: Remove _argp_unlock_xxx.
31804
31805 [BZ #13559]
31806 * abilist/ld.abilist: Update. Adjust for removal of tls option.
31807 * abilist/libBrokenLocale.abilist: Likewise.
31808 * abilist/libanl.abilist: Likewise.
31809 * abilist/libc.abilist: Likewise.
31810 * abilist/libcrypt.abilist: Likewise.
31811 * abilist/libdl.abilist: Likewise.
31812 * abilist/libm.abilist: Likewise.
31813 * abilist/libnsl.abilist: Likewise.
31814 * abilist/libpthread.abilist: Likewise.
31815 * abilist/libresolv.abilist: Likewise.
31816 * abilist/librt.abilist: Likewise.
31817 * abilist/libthread_db.abilist: Likewise.
31818 * abilist/libutil.abilist: Likewise.
31819 * abilist/libnss_db.abilist: New file.
31820
31821 * scripts/abilist.awk: Add support for indirect functions.
31822
a2693a0e
UD
31823 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
31824
3f05895f
UD
31825 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
31826
ecb6fb48
UD
31827 * shlib-versions: Remove entries for ports architectures.
31828
664f8cb9
UD
31829 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
31830 files in ports.
31831 * elf/stackguard-macros.h: Remove support for IA-64.
31832 * elf/tst-auditmod1.c: Likewise.
31833 * sysdeps/generic/ldsodefs.h: Likewise.
31834
7ae81d88
UD
31835 * sysdeps/unix/sysv/linux/configure.in: Ports should define
31836 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
31837 configure files.
31838
bdeba135
UD
31839 [BZ #13552]
31840 * configure.in: Remove --enable-omitfp support.
31841 * FAQ.in: Adjust.
31842 * config.make.in: Likewise.
31843 * Makeconfig: Likewise.
31844 * manual/install.texi: Likewise.
31845
d75a0a62
UD
31846 In case anyone cares, the IA-64 architecture could move to ports.
31847 * sysdeps/ia64/*: Removed.
31848 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 31849 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 31850
dcc9756b
UD
31851 [BZ #13555]
31852 * configure.in: Remove entries for unsupported architectures.
31853
d3761ebc 31854 [BZ #13533]
9954432e
UD
31855 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
31856 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
31857 routines.
31858 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
31859 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
31860 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
31861 fall back to using wcrtomb.
31862 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
31863 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
31864 renaming.
31865 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
31866 * wcsmbs/tst-c16c32-1.c: New file.
31867
31868 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
31869 local variable.
31870
c3a87236
UD
31871 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
31872
28926a1b
UD
31873 * elf/tst-unique3.cc: Add explicit declaration of gets.
31874 * elf/tst-unique3lib.cc: Likewise.
31875 * elf/tst-unique3lib2.cc: Likewise.
31876 * elf/tst-unique4.cc: Likewise.
31877
df78418a
UD
31878 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
31879
8ecd6b2a
JM
318802012-01-06 Joseph Myers <joseph@codesourcery.com>
31881
31882 [BZ #13566]
31883 * assert/assert.h (static_assert): Don't define for C++.
31884 * libio/stdio.h (gets): Do declare for C++ <= C++11.
31885 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
31886
9f115170
UD
318872012-01-03 Ulrich Drepper <drepper@gmail.com>
31888
5e0d0300
UD
31889 * iconv/loop.c (single loop): Fix assertion in storing of
31890 remaining bytes.
31891
9f115170
UD
31892 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
31893
81fb02b0
UD
318942012-01-01 Ulrich Drepper <drepper@gmail.com>
31895
31896 * posix/getconf.c: Update copyright year.
31897 * nss/getent.c: Likewise.
a316c1f6 31898 * nss/makedb.c: Likewise.
81fb02b0
UD
31899 * iconv/iconvconfig.c: Likewise.
31900 * iconv/iconv_prog.c: Likewise.
31901 * elf/ldconfig.c: Likewise.
a316c1f6
UD
31902 * elf/pldd.c: Likewise.
31903 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
31904 * catgets/gencat.c: Likewise.
31905 * csu/version.c: Likewise.
31906 * elf/ldd.bash.in: Likewise.
31907 * elf/sprof.c (print_version): Likewise.
31908 * locale/programs/locale.c: Likewise.
31909 * locale/programs/localedef.c: Likewise.
a316c1f6 31910 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
31911 * nscd/nscd.c (print_version): Likewise.
31912 * debug/xtrace.sh: Likewise.
31913 * malloc/memusage.sh: Likewise.
31914 * malloc/mtrace.pl: Likewise.
31915 * debug/catchsegv.sh: Likewise.
31916
2ba92745
JJ
319172011-12-30 Jakub Jelinek <jakub@redhat.com>
31918
31919 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
31920 pure attribute.
31921
dadebdae
UD
319222011-12-24 Ulrich Drepper <drepper@gmail.com>
31923
d3761ebc 31924 [BZ #13533]
db6af3eb
UD
31925 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
31926 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
31927 transformations.
31928 * iconv/gconv_int.h: Likewise.
31929 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
31930 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
31931 from libc for GLIBC_2.16.
31932 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
31933 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
31934 * wcsmbs/uchar.h: Really define mbstate_t.
31935 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
31936 * wcsmbs/c16rtomb.c: New file.
31937 * wcsmbs/mbrtoc16.c: New file.
31938 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
31939 for C/POSIX locale.
31940 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
31941 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
31942
dadebdae
UD
31943 * wcsmbs/wchar.h: Add missing __restrict.
31944
67371b56
UD
319452011-12-23 Ulrich Drepper <drepper@gmail.com>
31946
74033a25
UD
31947 [BZ #13532]
31948 * time/Makefile (routines): Add timespec_get.
31949 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
31950 * time/time.h: Define TIME_UTC and declare timespec_get. Define
31951 timespec for ISO C11.
31952 * time/timespec_get.c: New file.
31953 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
31954 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
31955
380d7e87
UD
31956 [BZ #13531]
31957 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
31958 * stdlib/stdlib.h: Declare aligned_alloc.
31959 * Versions.def: Add GLIBC_2.16 for libc.
31960 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
31961
4e9e7a35
UD
31962 [BZ 13527]
31963 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
31964 ISO C11.
31965
380d7e87 31966 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
31967 code.
31968
03a71829
UD
31969 [BZ #13528]
31970 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
31971
839e283e
UD
31972 [BZ #13529]
31973 * assert/assert.h (static_assert): Define.
31974
ce5294e2 31975 * version.h: Update for 2.16 development version.
90fa7312 31976
8d44e150 31977 [BZ #13526]
d7809905
UD
31978 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
31979 _ISOC11_SOURCE.
31980
c0da14cd
UD
31981 * version.h (RELEASE): Bump for 2.15 release.
31982 * include/features.h (__GLIBC_MINOR__): Bump to 15.
31983
530a3249
MP
31984 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
31985 Patch by Marek Polacek <mpolacek@redhat.com>.
31986
67371b56
UD
31987 * bits/byteswap.h: Protect long long constants with __extension__.
31988 * sysdeps/i386/bits/byteswap.h: Likewise.
31989 * sysdeps/ia64/bits/byteswap.h: Likewise.
31990 * sysdeps/s390/bits/byteswap.h: Likewise.
31991 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31992
15db4de1
LD
319932011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31994
31995 [BZ #13540]
bbe315ea
LD
31996 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
31997 destination buffer.
15db4de1
LD
31998 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
31999
2b2596b1
MP
320002011-12-23 Marek Polacek <polacek@redhat.com>
32001
32002 * elf/dl-addr.c (determine_info): Add inline keyword.
32003 * elf/tst-auditmod4b.c (check_avx): Likewise.
32004 * elf/tst-auditmod6b.c (check_avx): Likewise.
32005 * elf/tst-auditmod6c.c (check_avx): Likewise.
32006 * elf/tst-auditmod7b.c (check_avx): Likewise.
32007
70c6c246
UD
320082011-12-23 Ulrich Drepper <drepper@gmail.com>
32009
32010 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
32011 !__SSE_MATH__.
32012
c044cf14
LD
320132011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32014
15db4de1 32015 [BZ #13540]
c044cf14
LD
32016 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
32017 processing for last bytes.
32018
6b13d9d9
BH
320192011-08-06 Bruno Haible <bruno@clisp.org>
32020
d455f537
BH
32021 [BZ #13061]
32022 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
32023 U+0385, not to U+1FEE.
32024
6b13d9d9
BH
32025 [BZ #13062]
32026 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
32027 entry for U+00A5 U+0301.
32028
db910efd
UD
320292011-12-22 Ulrich Drepper <drepper@gmail.com>
32030
27deeafc
UD
32031 [BZ #13166]
32032 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
32033 buffer for the output is too small.
32034
aed9d171
UD
32035 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
32036 optimization.
32037
db910efd
UD
32038 [BZ #13185]
32039 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
32040 SSE flags if possible.
32041
2bd779ae
LD
320422011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32043
e7f9dac3 32044 [BZ #13540]
2bd779ae
LD
32045 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
32046 processing for last bytes.
32047
154bfc16
JM
320482011-12-22 Joseph Myers <joseph@codesourcery.com>
32049
32050 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
32051 (syscall-list-default-options, syscall-list-default-condition)
32052 (syscall-list-includes): Define.
32053 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
32054 list of ABIs and options and #if conditions for each ABI. Do not
32055 handle common syscalls between ABIs specially.
32056 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
32057 Remove.
32058 (syscall-list-variants, syscall-list-32bit-options)
32059 (syscall-list-32bit-condition, syscall-list-64bit-options)
32060 (syscall-list-64bit-condition): Define.
32061 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
32062 (syscall-list-variants, syscall-list-32bit-options)
32063 (syscall-list-32bit-condition, syscall-list-64bit-options)
32064 (syscall-list-64bit-condition): Define.
32065 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
32066 Remove.
32067 (syscall-list-variants, syscall-list-32bit-options)
32068 (syscall-list-32bit-condition, syscall-list-64bit-options)
32069 (syscall-list-64bit-condition): Define.
32070 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
32071 Remove.
32072 (syscall-list-variants, syscall-list-32bit-options)
32073 (syscall-list-32bit-condition, syscall-list-64bit-options)
32074 (syscall-list-64bit-condition): Define.
32075
21eaf3a5
UD
320762011-12-22 Ulrich Drepper <drepper@gmail.com>
32077
16c6f992
UD
32078 * locale/iso-639.def: Add brx entry.
32079
41043168
UD
32080 [BZ #13328]
32081 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
32082 Proposed by Mariusz_Cukr <marcukr@op.pl>.
32083
21eaf3a5
UD
32084 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
32085 __feraiseexcept_renamed.
32086
e3a851a2
UD
320872011-12-21 Ulrich Drepper <drepper@gmail.com>
32088
4920765e
UD
32089 [BZ #13538]
32090 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
32091 EPOLLET with unsigned values.
32092 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
32093 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
32094
e3a851a2
UD
32095 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
32096 to large cancellation.
32097 * math/s_cacoshf.c: Likewise.
32098 * math/s_cacoshl.c: Likewise.
32099
b27e24b8
RK
321002011-11-18 Richard B. Kreckel <kreckel@ginac.de>
32101
32102 [BZ #13305]
aebefeee 32103 [BZ #12786]
b27e24b8
RK
32104 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
32105 * math/s_cacoshf.c: Likewise.
32106 * math/s_cacoshl.c: Likewise.
32107
ee190f67
UD
321082011-12-21 Ulrich Drepper <drepper@gmail.com>
32109
32110 [BZ #13439]
32111 * iconv/gconv.h: Define __GCONV_SWAP.
32112 * iconvdata/unicode.c: The swap bit must be stored in __flags.
32113 * iconvdata/utf-16.c: Likewise.
32114 * iconvdata/utf-32.c: Likewise.
32115
707f25df
AS
321162011-12-21 Andreas Schwab <schwab@linux-m68k.org>
32117
32118 [BZ #13524]
32119 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
32120 numerator after shifting it by one limb.
32121
d2daaa1e
RÁE
321222011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
32123
32124 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
32125 under [__USE_EXTERN_INLINES].
32126
a4647e72
UD
321272011-12-17 Ulrich Drepper <drepper@gmail.com>
32128
32129 [BZ #13446]
32130 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
32131
f0b264f1
AZ
321322011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32133
32134 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
32135 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
32136 optimized code.
32137 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
32138 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
32139 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
32140 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
32141 for strncasecmp/strncasecmp_l compilation.
32142 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
32143 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
32144
8ef4f244
MP
321452011-12-08 Marek Polacek <mpolacek@redhat.com>
32146
32147 [BZ #13484]
32148 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
32149 of __asm__.
32150
97ac2654
UD
321512011-12-17 Ulrich Drepper <drepper@gmail.com>
32152
32153 [BZ #13506]
32154 * time/tzfile.c (__tzfile_read): Check values from file header.
32155
91d2a845
WS
321562011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
32157
32158 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
32159 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
32160 * powerpc/powerpc32/dl-start.S: Likewise.
32161 * powerpc/powerpc32/elf/start.S: Likewise.
32162 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
32163 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
32164 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
32165 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
32166 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
32167 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
32168 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
32169 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
32170 * powerpc/powerpc32/fpu/s_round.S: Likewise.
32171 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
32172 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
32173 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
32174 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
32175 * powerpc/powerpc32/memset.S: Likewise.
32176 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
32177 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
32178 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
32179 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
32180 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
32181 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
32182 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
32183 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
32184 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
32185 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
32186 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
32187 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
32188 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
32189
a1267ba1
AZ
321902011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32191
32192 * math/libm-test.inc: Added more nearbyint tests.
32193 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
32194 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
32195 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
32196 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
32197
ad8ac1bd
RL
321982011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
32199
32200 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
32201 FD_CLOEXEC.
32202
1d3e4b61
UD
322032011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32204
32205 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
32206 Add wcscpy-ssse3 wcscpy-c.
32207 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
32208 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
32209 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
32210 * sysdeps/x86_64/wcschr.S: New file.
32211 * sysdeps/x86_64/wcsrchr.S: New file.
32212 * string/test-strcmp.c: Remove checking of wcscmp function for
32213 wrong alignments.
32214 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
32215 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
32216 wcsrchr-sse2 wcsrchr-c.
32217 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
32218 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
32219 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
32220 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
32221 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
32222 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
32223 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
32224 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
32225 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
32226 * wcsmbc/wcschr.c (WCSCHR): New macro.
32227
5b330a2d
UD
322282011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32229
32230 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
32231 * wcsmbs/test-wcsrchr.c: New file.
32232 * string/test-strrchr.c: Add wcsrchr support.
32233 (WIDE): New macro.
32234 * wcsmbs/test-wcscpy.c: New file.
32235 * string/test-strcpy.c: Add wcscpy support.
32236 (WIDE): New macro.
26428b7c 32237
f039c043
UD
322382011-12-10 Ulrich Drepper <drepper@gmail.com>
32239
32240 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
32241 the inner loop.
32242
850fb039
AS
322432011-12-06 Andreas Schwab <schwab@linux-m68k.org>
32244
32245 [BZ #13472]
32246 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
32247
4efbd5cb
UD
322482011-12-04 Ulrich Drepper <drepper@gmail.com>
32249
52ff5dd0 32250 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 32251 Minor optimizations.
52ff5dd0 32252
4efbd5cb
UD
32253 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
32254 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
32255 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
32256
8a426e12
UD
322572011-12-03 Ulrich Drepper <drepper@gmail.com>
32258
aff2453d
UD
32259 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
32260 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
32261 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
32262 for gcc to avoid warnings.
32263 * inet/Makefile (tests): Add tst-checks.
32264 * inet/tst-checks.c: New file.
32265
32266 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
32267 warning.
32268
32269 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
32270 __wmemcmp_sse2.
32271
32272 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
32273 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
32274
8a426e12
UD
32275 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
32276
9bea3473
UD
322772011-12-02 Ulrich Drepper <drepper@gmail.com>
32278
3a965496
UD
32279 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
32280 problem.
32281
9bea3473
UD
32282 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
32283
f101631b
UD
322842011-11-29 Joseph Myers <joseph@codesourcery.com>
32285
32286 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
32287 conditional on GCC version.
32288 (__arch_compare_and_exchange_val_8_acq)
32289 (__arch_compare_and_exchange_val_16_acq)
32290 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
32291 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
32292 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
32293
a98275aa
UD
322942011-12-02 Joseph Myers <joseph@codesourcery.com>
32295
32296 * sysdeps/sh/backtrace.c: New file.
32297
d4cc29a2
AS
322982011-12-02 Andreas Schwab <schwab@redhat.com>
32299
32300 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
32301 parenthesis.
32302
6257af2d
AS
323032011-12-01 Andreas Schwab <schwab@redhat.com>
32304
32305 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
32306 falling back to utime.
32307
b5f44c1a
AS
323082011-11-30 Andreas Schwab <schwab@redhat.com>
32309
32310 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
32311 expectations for float.
32312
f3a6cc0a
AS
323132011-11-29 Andreas Schwab <schwab@redhat.com>
32314
32315 * locale/weight.h (findidx): Add parameter len.
32316 * locale/weightwc.h (findidx): Likewise.
32317 * posix/fnmatch_loop.c (FCT): Adjust caller.
32318 * posix/regcomp.c (build_equiv_class): Likewise.
32319 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
32320 * posix/regexec.c (check_node_accept_bytes): Likewise.
32321 * string/strcoll_l.c (STRCOLL): Likewise.
32322 * string/strxfrm_l.c (STRXFRM): Likewise.
32323
9d65ea3a
UD
323242011-11-17 Ulrich Drepper <drepper@gmail.com>
32325
32326 * Makefile.in: Remove CVSOPT handling.
32327 * configure.in: Remove use of AC_REVISION.
32328 * iconvdata/Makefile (distribute): No need to filter out CVS.
32329 * scripts/list-sources.sh: Remove CVS, subversion and monotone
32330 handling.
32331
5583a086
AS
323322011-11-16 Andreas Schwab <schwab@redhat.com>
32333
32334 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
32335 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
32336 [USE_AS_STRNCASECMP_L]: Likewise.
32337 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
32338 NO_TLS_DIRECT_SEG_REFS.
32339 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
32340 Fix argument offsets for non-PIC.
32341 [USE_AS_STRNCASECMP_L]: Likewise.
32342 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
32343 NO_TLS_DIRECT_SEG_REFS.
32344
d62a8200
UD
323452011-11-15 Ulrich Drepper <drepper@gmail.com>
32346
9d65ea3a 32347 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
32348 O_CLOEXEC.
32349 * locale/loadlocale.c (_nl_load_locale): Likewise.
32350
09f93bd3
AS
323512011-11-15 Andreas Schwab <schwab@redhat.com>
32352
446514f9
AS
32353 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
32354 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
32355 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
32356 (SYSCALL_GETTIME): Set errno on error.
32357
09f93bd3
AS
32358 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
32359 count references to noai6ai_cached.
32360
312be3f9
UD
323612011-11-15 Ulrich Drepper <drepper@gmail.com>
32362
32363 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
32364
32365 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
32366 FD_CLOEXEC for /proc/self/maps.
32367
32368 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
32369 FD_CLOEXEC for /proc/meminfo.
32370
32371 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
32372 gai.conf.
32373
32374 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
32375 FD_CLOEXEC for given file.
32376
32377 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
32378
32379 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
32380 FD_CLOEXEC for /etc/hosts.
32381 (_gethtent): Likewise.
32382
32383 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
32384
32385 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
32386 cancellation and set FD_CLOEXEC for /etc/netgroup.
32387
32388 * nss/nss_files/files-key.c (search): Don't allow cancellation when
32389 reading /etc/publickey.
32390
32391 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
32392 allow cancellation when reading /etc/group.
32393
32394 * nss/nss_files/files-alias.c (internal_setent): Don't allow
32395 cancellation.
32396 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
32397
32398 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
32399 when using data file.
32400
32401 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
32402
32403 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
32404 (write_nis_obj): Use "c" and "e" in fopen.
32405
32406 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
32407
32408 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
32409
32410 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
32411
32412 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
32413
32414 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
32415 locale.alias.
32416
32417 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
32418
32419 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
32420
32421 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
32422
32423 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
32424 file parsing and set FD_CLOEXEC.
32425
82af0fa8
UD
324262011-11-14 Ulrich Drepper <drepper@gmail.com>
32427
32428 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
32429
a5fb313c
AS
324302011-11-14 Andreas Schwab <schwab@redhat.com>
32431
32432 * malloc/arena.c (arena_get2): Don't call reused_arena when
32433 _int_new_arena failed.
32434
6abf3465
UD
324352011-11-14 Ulrich Drepper <drepper@gmail.com>
32436
32437 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
32438 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
32439 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
32440 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32441 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32442 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
32443 to compile strcasecmp and strncasecmp.
32444 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
32445 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
32446
32447 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
32448
76e3966e
UD
324492011-11-13 Ulrich Drepper <drepper@gmail.com>
32450
32451 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
32452 locale-defines.sym to gen-as-const-headers.
32453 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
32454 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
32455 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
32456 to compile strcasecmp and strncasecmp.
32457 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
32458 strcasecmp_l and strncasecmp_l.
32459 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
32460 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
32461 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
32462 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
32463 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
32464 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
32465 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
32466 * sysdeps/i386/i686/multiarch/strncase.S: New file.
32467 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
32468 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
32469 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
32470
ab26144e
UD
324712011-11-12 Ulrich Drepper <drepper@gmail.com>
32472
7edb22ef
UD
32473 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
32474 result of SYSDEP_GETTIME_CPU to retval.
32475 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
32476 parameter list to macro. Remove trailing semicolon. Adjust users.
32477
9694fc44
UD
32478 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
32479 variable.
32480
8ad89ef8
UD
32481 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
32482 mantissa words.
32483 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
32484
0c822ef9
UD
32485 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
32486 from unused variable.
32487
874e0564
UD
32488 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
32489 DWARF definitions.
32490 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
32491 for assembling.
32492
3a2edc79
UD
32493 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
32494 over namespaces.
32495
f3c2577f
UD
32496 * sunrpc/rpc_prot.c (rejected): Fix case value.
32497
294ce126
UD
32498 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
32499 unsigned long long int to avoid warnings in shift.
32500
5e2b63c6
UD
32501 * posix/regex_internal.c (re_string_reconstruct): Actually use result
32502 of use of trans.
32503 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
32504 variable tmp.
32505
e7f4b08e
UD
32506 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
32507 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
32508 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
32509
ab26144e
UD
32510 * nis/nis_table.c (nis_list): Use variable of correct type for
32511 result of __follow_path call.
32512
8a6d5255
AZ
325132011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32514
32515 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
32516 of math functions ceil, trunc, floor, round, and sqrt, when
32517 avaliable on the platform.
32518 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
32519 name clash.
32520 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32521 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
32522 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
32523
aaddc98c
MP
325242011-10-30 Marek Polacek <mpolacek@redhat.com>
32525
32526 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
32527 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
32528
95b7042b
RM
325292011-11-11 Roland McGrath <roland@hack.frob.com>
32530
32531 * include/unistd.h: Fix __readlink return type.
32532 Reported by Chris Metcalf <cmetcalf@tilera.com>.
32533
57769839
UD
325342011-11-11 Ulrich Drepper <drepper@gmail.com>
32535
32536 * stdlib/ucontext.h: Undo last change for makecontext.
32537
edc5984d
AS
325382011-11-11 Andreas Schwab <schwab@redhat.com>
32539
98591e58
AS
32540 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
32541
edc5984d
AS
32542 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
32543 * setjmp/setjmp.h: Mark functions as non-leaf.
32544 * setjmp/bits/setjmp2.h: Likewise.
32545 * stdlib/ucontext.h: Likewise.
32546
77cdc054
AS
325472011-11-10 Andreas Schwab <schwab@redhat.com>
32548
32549 * malloc/arena.c (_int_new_arena): Don't increment narenas.
32550 (reused_arena): Don't check arena limit.
32551 (arena_get2): Atomically check arena limit.
32552
fe72eebd
UD
325532011-11-08 Ulrich Drepper <drepper@gmail.com>
32554
5f078c32
UD
32555 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
32556 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
32557
fe72eebd
UD
32558 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
32559 instructions.
32560
ae1bc2fa
AS
325612011-11-07 Andreas Schwab <schwab@redhat.com>
32562
7583a88d
AS
32563 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
32564 handler when locking.
32565
ae1bc2fa
AS
32566 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
32567 Fix size of allocated buffer.
32568
10fb0bfa
AS
325692011-11-04 Andreas Schwab <schwab@redhat.com>
32570
998832a4
AS
32571 [BZ #10103]
32572 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
32573 declarations for long double functions.
32574 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
32575
10fb0bfa
AS
32576 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
32577
3d7ba52b
AS
325782011-11-03 Andreas Schwab <schwab@redhat.com>
32579
a9ae54a1
AS
32580 * nscd/nscd.c (main): Don't start AVC thread until credentials are
32581 installed.
32582
3d7ba52b
AS
32583 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
32584 is disabled.
32585
bc8db248
ST
325862011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
32587
32588 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
32589
45b96dd6
AS
325902011-11-01 Andreas Schwab <schwab@linux-m68k.org>
32591
647776f6
AS
32592 * include/alloca.h (stackinfo_alloca_round): Define.
32593 (extend_alloca): Use it.
32594 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
32595 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
32596 here.
32597
d91a8b93
AS
32598 * scripts/check-local-headers.sh: Ignore libaudit.h.
32599
45b96dd6
AS
32600 * nscd/Makefile (extra-objs): Make recursively expanded.
32601
432d41ce
UD
326022011-11-01 Ulrich Drepper <drepper@gmail.com>
32603
34372fc6
UD
32604 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
32605 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
32606
fadb59f8
UD
32607 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
32608 * posix/tst-rfc3484-2.c: Likewise.
32609 * posix/tst-rfc3484-3.c: Likewise.
32610
78239589
UD
32611 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
32612 process_vm_writev.
32613 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
32614 process_vm_writev.
32615 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
32616 process_vm_writev from libc using GLIBC_2.15 version.
32617
432d41ce
UD
32618 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
32619
02f9c6cf
PP
326202011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
32621
32622 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
32623 stack usage.
32624
3a2c0242
UD
326252011-10-31 Ulrich Drepper <drepper@gmail.com>
32626
f4ec4833
UD
32627 [BZ #13367]
32628 * nss/getent.c (initgroups_keys): Show error message in case no group
32629 names are given.
32630
3a2c0242
UD
32631 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
32632 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
32633 __bump_nl_timestamp.
32634 * nscd/connections (nscd_init): When host database is served open
32635 netlink socket and request notification about configuration changes.
32636 (main_loop_poll): Track netlink file descriptor and bump timestamp
32637 in case data becomes available.
32638 (main_loop_epoll): Likewise.
32639 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
32640 (database_pers_head): Add extra_data fileds.
32641 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
32642 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
32643 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
32644 Adjust caller.
32645 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
32646 in6ai data, call __free_in6ai.
32647 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
32648 Add -DHAVE_NETLINK.
32649 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
32650 interface information. Reuse previous data if netlink timestamp
32651 is not changed.
32652 (__bump_nl_timestamp): New function.
32653 (__free_in6ai): New function.
32654
636064eb
UD
326552011-10-30 Ulrich Drepper <drepper@gmail.com>
32656
32657 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
32658 close_not_cancel_no_status here.
32659 (__check_pf): Reorganize code a bit to not call close twice if OOM.
32660
9beb2334
UD
326612011-10-29 Ulrich Drepper <drepper@gmail.com>
32662
6ef76f3b
UD
32663 [BZ #13276]
32664 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
32665 return value.
32666
0ffc4f3e 32667 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
32668 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
32669 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
32670
cb95113e
UD
326712011-07-03 Andreas Jaeger <aj@suse.de>
32672
32673 [BZ #10709]
32674 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
32675 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
32676 * math/libm-test.inc (sin_test): Add test case.
32677
a1b560ff
UD
326782011-10-29 Ulrich Drepper <drepper@gmail.com>
32679
c9aaface
UD
32680 [BZ #13337]
32681 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
32682 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32683
d272e7f1
UD
32684 * elf/chroot_canon.c (chroot_canon): Cleanups.
32685
1bc33071
UD
32686 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
32687
1760874d
TJ
32688 [BZ #13335]
32689 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
32690 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32691
51d91b18
UD
32692 * string/test-strchr.c: Make usable for strchrnul testing.
32693 * string/test-strchrnul.c: New file.
32694 * string/Makefile (strop-tests): Add strchrnul.
32695
a1b560ff 32696 * po/it.po: Update from translation team.
b611fb81 32697 * po/es.po: Likewise.
a1b560ff 32698
a5b81e1f
UD
326992011-10-28 Ulrich Drepper <drepper@gmail.com>
32700
fd52bc6d
UD
32701 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
32702 the three constants needed as parameters. Drop the others.
32703 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
32704 __m128i_strloadu_tolower.
52e4b9eb
UD
32705 Create and initialize variable zero and use it in all the places
32706 where _mm_setzero_si128 was used.
fd52bc6d 32707
a5b81e1f
UD
32708 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
32709 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
32710 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
32711 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
32712 anymore.
32713 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
32714 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
32715 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
32716 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
32717 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
32718 __mpranred, __mptan.
32719 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
32720 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
32721 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
32722 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
32723 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
32724 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
32725 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
32726 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
32727 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
32728
b4343346
AS
327292011-10-28 Andreas Schwab <schwab@redhat.com>
32730
0c92d8a8
AS
32731 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
32732 redefine if SHARED.
32733 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
32734
b4343346
AS
32735 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
32736 wide char related routines to wcsmbs subdir.
32737
3871f58f
AS
327382011-10-27 Andreas Schwab <schwab@redhat.com>
32739
32740 [BZ #13344]
32741 * misc/sys/cdefs.h (__THROWNL): Define.
32742 * posix/unistd.h: Use __THREADNL instead of __THREAD
32743 for memory synchronization functions.
32744
94d44d9f
RM
327452011-10-26 Roland McGrath <roland@hack.frob.com>
32746
21b64b15 32747 [BZ #13349]
94d44d9f
RM
32748 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
32749 doesn't exist.
32750 * manual/stdio.texi (Obstack Streams): Node removed.
32751
f6ce9294
AS
327522011-10-26 Andreas Schwab <schwab@redhat.com>
32753
80479147
AS
32754 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
32755 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32756 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32757
f6ce9294
AS
32758 * math/math_private.h (math_force_eval): Allow non-addressable
32759 arguments.
32760 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
32761
618280a1
UD
327622011-10-25 Ulrich Drepper <drepper@gmail.com>
32763
e0016b11
UD
32764 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
32765 file is not needed.
32766
32767 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
32768 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
32769 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32770 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32771 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32772 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32773 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32774 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
32775 Add AVX variants.
32776 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
32777 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
32778 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
32779 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
32780 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
32781 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
32782 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
32783 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
32784 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
32785 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
32786 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
32787 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
32788 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
32789 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
32790 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
32791 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
32792 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
32793 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
32794 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
32795
32796 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
32797 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
32798
618280a1
UD
32799 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
32800 place. Use VEX encoding when compiling for AVX.
32801
37822576
AS
328022011-10-25 Andreas Schwab <schwab@redhat.com>
32803
1f1e1947
AS
32804 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
32805 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
32806
37822576
AS
32807 * string/test-strchr.c (do_test): Don't generate NUL bytes.
32808
31ea014d
UD
328092011-10-25 Ulrich Drepper <drepper@gmail.com>
32810
d7826aa1 32811 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 32812 useless if() expression.
d7826aa1
UD
32813 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32814 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
32815 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32816 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32817 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32818 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32819 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32820 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32821 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32822 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32823 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32824 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32825 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
32826 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32827 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
32828 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32829 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32830 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32831 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
32832
31ea014d
UD
32833 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
32834
16437fec
AS
328352011-10-25 Andreas Schwab <schwab@redhat.com>
32836
32837 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
32838 condition.
32839 * elf/dl-fini.c (_dl_sort_fini): Likewise.
32840
31d3cc00
UD
328412011-10-25 Ulrich Drepper <drepper@gmail.com>
32842
32843 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
32844 .text section. Avoid duplicate constants.
32845 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32846 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32847 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32848 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32849 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32850 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32851 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32852 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32853 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32854 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
32855 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32856 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32857 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
32858 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
32859 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
32860 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
32861 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
32862 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32863 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32864 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32865 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32866 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32867 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32868 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
32869 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
32870 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
32871 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
32872 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
32873 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
32874 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
32875 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
32876 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
32877 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32878 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
32879 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
32880 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
32881 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
32882 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
32883 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
32884 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
32885 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
32886 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
32887 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
32888 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
32889 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
32890
58985aa9
UD
328912011-10-24 Ulrich Drepper <drepper@gmail.com>
32892
202c9deb
UD
32893 * sysdeps/x86_64/dla.h: Move to ...
32894 * sysdeps/x86_64/fpu/dla.h: ...here.
32895 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
32896 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 32897
af968f62
UD
32898 * config.make.in: Add have-mfma4 entry.
32899 * configure.in: Substitute libc_cv_cc_fma4.
32900 * math/Makefile (dbl-only-routines): Add sincostab.
32901 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
32902 Use __sincostab not sincos.
32903 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
32904 name is a macro.
32905 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32906 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32907 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32908 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
32909 using __copysign.
32910 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
32911 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
32912 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
32913 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
32914 and __inv.
32915 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
32916 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
32917 __copysign.
32918 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
32919 define aliases when function name is a macro.
32920 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
32921 sysdeps/ieee754/dbl-64/sincos.tbl.
32922 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
32923 fma4-enabled routines.
32924 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
32925 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
32926 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
32927 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
32928 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
32929 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
32930 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
32931 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
32932 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
32933 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
32934 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
32935 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
32936 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
32937 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
32938 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
32939 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
32940 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
32941 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
32942 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
32943 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
32944 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
32945 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
32946 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
32947 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
32948 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
32949 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
32950 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
32951 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
32952 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
32953 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
32954
58985aa9
UD
32955 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
32956 rename.
32957 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32958 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32959 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32960 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32961 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32962 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32963 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32964 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32965
a201fbcf
AS
329662011-10-24 Andreas Schwab <schwab@redhat.com>
32967
32968 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
32969
fc2ee42a
LD
329702011-10-23 Ulrich Drepper <drepper@gmail.com>
32971
bb3129bd
UD
32972 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
32973
0275fff8
UD
32974 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
32975 prediction.
32976 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
32977
2fa2ae85
UD
32978 * string/strnlen.c: Don't define STRNLEN, reverse logic.
32979 Remove unused variable magic_bits.
32980 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
32981
fc2ee42a
LD
32982 * string/strnlen.c: Define and use STRNLEN macro.
32983 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
32984 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
32985 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
32986 * wcsmbs/wcslen.c: Define and use WCSLEN.
32987 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
32988 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
32989 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
32990 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
32991 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
32992 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
32993 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
32994
ce7dd29f
LD
329952011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32996
32997 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32998 strnlen-sse2-no-bsf.
32999 Rename strlen-no-bsf to strlen-sse2-no-bsf.
33000 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
33001 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
33002 Add strnlen support.
33003 (USE_AS_STRNLEN): New macro.
33004 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
33005 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
33006 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
33007 * sysdeps/x86_64/wcslen.S: New file.
33008
979c70a3
MZ
330092011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
33010
33011 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
33012 XMM-moves are used for copying on small sizes.
33013
2d09f82f
LD
330142011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33015
33016 * wcsmbs/Makefile (strop-tests): Add wcschr.
33017 * wcsmbs/test-wcschr.c: New file.
33018 * string/test-strchr.c: Update.
33019 Add wcschr support.
33020 (WIDE): New macro.
33021
619fccca
LD
330222011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33023
2d09f82f 33024 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
33025 * wcsmbs/test-wcslen.c: New file.
33026 * string/test-strlen.c: Update.
33027 Add wcslen support.
33028 (WIDE): New macro.
33029
09f699ea
UD
330302011-10-23 Ulrich Drepper <drepper@gmail.com>
33031
33032 * po/it.po: Update from translation team.
33033
95584d3b
LD
330342011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33035
33036 * sysdeps/x86_64/wcscmp.S: Update.
33037 Fix wrong comparison semantics.
33038 wcscmp shall use signed comparison not unsigned.
33039 Don't use substraction to avoid overflow bug.
33040 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
33041 * wcsmbc/wcscmp.c: Likewise.
33042 * string/test-strcmp.c: Likewise.
33043 Add new tests to check cases with negative values.
33044
c8b3296b
UD
330452011-10-23 Ulrich Drepper <drepper@gmail.com>
33046
33047 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
33048 * sysdeps/x86_64/dla.h: ...here. New file.
33049 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
33050 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33051 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33052 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33053 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33054 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33055 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33056 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33057 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33058
246ad57a
AS
330592011-10-23 Andreas Schwab <schwab@linux-m68k.org>
33060
33061 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
33062 __ynl_finite aliases.
33063
a1a87169
UD
330642011-10-22 Ulrich Drepper <drepper@gmail.com>
33065
0d355eb7
UD
33066 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33067
a1a87169
UD
33068 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
33069 define DLA_FMA.
33070 [DLA_FMA] (EMULV): Use DLA_FMA.
33071 [DLA_FMA] (MUL12): Use EMULV.
33072 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
33073 that are not needed.
33074 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33075 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33076 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33077 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33078 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33079 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33080 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33081
ee2aafe0
AS
330822011-10-22 Andreas Schwab <schwab@linux-m68k.org>
33083
33084 * math/s_nan.c: Undef __nan.
33085 * math/s_nanf.c: Undef __nanf.
33086 * math/s_nanl.c: Undef __nanl.
33087 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
33088 "math_private.h".
33089
bc62c2fb
UD
330902011-10-22 Ulrich Drepper <drepper@gmail.com>
33091
77425c63
UD
33092 * math/s_catan.c: Add branch predictions.
33093 * math/s_catanf.c: Likewise.
33094 * math/s_catanh.c: Likewise.
33095 * math/s_catanhf.c: Likewise.
33096 * math/s_catanhl.c: Likewise.
33097 * math/s_catanl.c: Likewise.
33098 * math/s_cexp.c: Likewise.
33099 * math/s_cexpf.c: Likewise.
33100 * math/s_cexpl.c: Likewise.
33101 * math/s_clog.c: Likewise.
33102 * math/s_clog10.c: Likewise.
33103 * math/s_clog10f.c: Likewise.
33104 * math/s_clog10l.c: Likewise.
33105 * math/s_clogf.c: Likewise.
33106 * math/s_clogl.c: Likewise.
33107 * math/s_csqrt.c: Likewise.
33108 * math/s_csqrtf.c: Likewise.
33109 * math/s_csqrtl.c: Likewise.
33110 * math/s_ctanf.c: Likewise.
33111 * math/s_ctanh.c: Likewise.
33112 * math/s_ctanhf.c: Likewise.
33113 * math/s_ctanhl.c: Likewise.
33114 * math/s_ctanl.c: Likewise.
33115
bc62c2fb
UD
33116 * math/math_private.h: Define __nan, __nanf, __nanl.
33117 * math/s_cacosh.c: Include <math_private.h>.
33118 * math/s_cacoshl.c: Likewise.
33119 * math/s_casinh.c: Likewise.
33120 * math/s_casinhf.c: Likewise.
33121 * math/s_casinhl.c: Likewise.
33122 * math/s_ccos.c: Rely entire on ccosh.
33123 * math/s_ccosf.c: Rely entire on ccoshf.
33124 * math/s_ccosl.c: Rely entirely on ccoshl.
33125 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
33126 Remove tests for FE_INVALID.
33127 * math/s_ccoshf.c: Likewise.
33128 * math/s_ccoshl.c: Likewise.
33129 * math/s_csin.c: Likewise.
33130 * math/s_csinf.c: Likewise.
33131 * math/s_csinh.c Likewise.
33132 * math/s_csinhf.c: Likewise.
33133 * math/s_csinhl.c: Likewise.
33134 * math/s_csinl.c: Likewise.
33135 * math/s_ctan.c: Likewise.
33136 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
33137 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
33138 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
33139
8ec250a4
UD
331402011-10-21 Ulrich Drepper <drepper@gmail.com>
33141
c196fed8
UD
33142 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
33143 compilation problems.
33144
8ec250a4
UD
33145 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
33146 __builtin_expect.
33147
8d4f46c6
UD
331482011-10-20 Ulrich Drepper <drepper@gmail.com>
33149
ed72b654
UD
33150 * sysdeps/i386/configure.in: Test for -mfma4 option.
33151 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
33152 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
33153 COMMON_CPUID_INDEX_80000001.
33154 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
33155 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
33156 use it if FMA3 is not supported.
33157 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
33158
8d4f46c6
UD
33159 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
33160 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
33161
d45c60c2
AS
331622011-10-20 Andreas Schwab <schwab@redhat.com>
33163
33164 [BZ #12892]
33165 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
33166 it would create a cycle with a link time dependency.
33167
d9a4d2ab
UD
331682011-10-19 Ulrich Drepper <drepper@gmail.com>
33169
855d1560
UD
33170 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
33171 instruction.
33172 * string/Makefile (strop-tests): Add rawmemchr.
33173 * string/test-rawmemchr.c: New file.
33174
d9a4d2ab
UD
33175 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
33176 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
33177 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
33178 when compiling str{,n}casecmp and when AVX is available. Hook up
33179 new optimized code in initializers.
33180
8f3b1ffe
AS
331812011-10-19 Andreas Schwab <schwab@redhat.com>
33182
33183 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
33184 __feraiseexcept instead of feraiseexcept.
33185
d38f1dba
UD
331862011-10-18 Ulrich Drepper <drepper@gmail.com>
33187
d9a8d0ab
UD
33188 * math/math_private.h: Define defaults for libc_fetestexcept and
33189 libc_feupdateenv.
33190 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
33191 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
33192 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33193 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
33194 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33195 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
33196 libc_fetestexcept and libc_feupdateenv.
33197
4855e3dd
UD
33198 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
33199 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
33200 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
33201 * sysdeps/x86_64/fpu/math_private.h: Define special version of
33202 libc_feholdexcept_setround.
33203
581d30e3
UD
33204 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
33205 Add s_nearbyint-c and s_nearbyintf-c.
33206 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
33207 nearbyintf inlines.
33208 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
33209 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
33210 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
33211 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
33212
d38f1dba
UD
33213 * math/math_private.h: Define defaults for libc_fegetround,
33214 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
33215 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
33216 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
33217 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
33218 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
33219 standard functions.
33220 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33221 Remove comments and hacks for old compiler versions.
33222 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
33223 libc_fegetround, libc_fesetround, libc_feholdexcept, and
33224 libc_feholdexceptl.
33225
caa6c9d8
AS
332262011-10-18 Andreas Schwab <schwab@redhat.com>
33227
33228 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
33229 (__feraiseexcept_renamed): Add __NTH.
33230 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
33231 namespace violations.
33232
97c066e6
UD
332332011-10-17 Ulrich Drepper <drepper@gmail.com>
33234
99ce7b04
UD
33235 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
33236
1004d182
UD
33237 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
33238
228a984d
UD
33239 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
33240 recently added interfaces.
33241 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
33242
c8553a6a
UD
33243 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
33244 about macro parameter expansion.
33245
ed22dcf6
UD
33246 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
33247 __NO_MATH_INLINES is defined. Cleanups.
33248
33249 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
33250 and __floorf is target has SSE4.1.
33251 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
33252 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
33253 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
33254 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
33255
b171c137
UD
33256 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
33257 name.
33258 (floorf): Likewise.
33259
97c066e6
UD
33260 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
33261
629f62ef
AS
332622011-10-17 Andreas Schwab <schwab@redhat.com>
33263
49a43d80
AS
33264 * misc/sys/cdefs.h: Fix last change.
33265
629f62ef
AS
33266 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
33267 database lookup.
33268
e453f6cd
UD
332692011-10-16 Ulrich Drepper <drepper@gmail.com>
33270
aa78043a
UD
33271 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
33272
ad0f5cad
UD
33273 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
33274 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33275 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33276 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33277 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33278 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33279 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33280 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33281 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33282 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
33283 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
33284 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
33285 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
33286 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
33287 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
33288 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
33289 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
33290 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
33291 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
33292 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
33293 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
33294 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
33295
33296 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
33297 ceil, ceilf, floor, floorf.
33298
33299 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
33300 Perform IRELATIVE relocations last.
33301
e453f6cd
UD
33302 * elf/do-rel.h: Add another parameter nrelative, replacing the
33303 local variable with the same name. Change name of the function
33304 to end in Rel or Rela (uppercase).
33305 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
33306 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
33307 elf_dynamic_do_##reloc function.
33308
fd5bdc09
UD
333092011-10-15 Ulrich Drepper <drepper@gmail.com>
33310
79b195b5
UD
33311 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
33312 is sufficient, at least on modern CPUs.
33313
d4a28569
UD
33314 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
33315
b61099b5
UD
33316 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
33317 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
33318
bcf01e6d
UD
33319 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
33320 __expl_finite.
33321 * math/bits/math-finite.h: Add entries for exp.
33322 * math/e_expl.c: Add __*_finite alias.
33323 * sysdeps/i386/fpu/e_exp.S: Likewise.
33324 * sysdeps/i386/fpu/e_expf.S: Likewise.
33325 * sysdeps/i386/fpu/e_expl.c: Likewise.
33326 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33327 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
33328 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
33329 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
33330 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
33331 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
33332 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
33333
ba1a0d59
UD
33334 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
33335 is sufficient, at least on modern CPUs.
33336
fd5bdc09
UD
33337 * ctype/ctype-info.c (__ctype_init): Define.
33338 * include/ctype.h (__ctype_init): Declare.
33339 (__ctype_b_loc): The variable is always initialized.
33340 (__ctype_toupper_loc): Likewise.
33341 (__ctype_tolower_loc): Likewise.
33342 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
33343 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
33344
7872cfb0
AS
333452011-10-15 Andreas Schwab <schwab@linux-m68k.org>
33346
b468825a
AS
33347 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
33348
7872cfb0
AS
33349 * configure.in: Also look in $cxxmachine/include for C++ system
33350 headers.
33351
be13f7bf
LD
333522011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33353
33354 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
33355 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
33356 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
33357 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
33358 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
33359 (USE_AS_WMEMCMP): New macro.
33360 Fixing indents.
33361 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
33362 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
33363 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
33364 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
33365 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33366 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
33367 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
33368 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
33369 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
33370 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
33371 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
33372 (USE_AS_WMEMCMP): New macro.
33373 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
33374 * sysdeps/string/test-memcmp.c: Update.
33375 Fix simple_wmemcmp.
33376 Add new tests.
33377 * wcsmbs/wmemcmp.c: Update.
33378 (WMEMCMP): New macro.
33379 Fix overflow bug.
33380
556a2007
AJ
333812011-10-12 Andreas Jaeger <aj@suse.de>
33382
33383 [BZ #13268]
33384 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
33385
538faaa7
UD
333862011-10-15 Ulrich Drepper <drepper@gmail.com>
33387
ab6737ff
UD
33388 * libio/iofwide.c (do_length): Avoid warning.
33389
538faaa7
UD
33390 * ctype/ctype.h (__isctype_f): Add missing __THROW.
33391
396a21b1
UD
333922011-10-14 Ulrich Drepper <drepper@gmail.com>
33393
cdf2901f
UD
33394 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
33395
38ad40ce
UD
33396 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
33397 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
33398 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
33399 * sysdeps/i386/i686/fpu/e_log.S: New file.
33400 * sysdeps/i386/i686/fpu/e_logf.S: New file.
33401 * sysdeps/i386/i686/fpu/e_logl.S: New file.
33402
396a21b1
UD
33403 * ctype/ctype.h: Add support for inlined isXXX functions when
33404 compiling C++ code.
33405
6b1f68c9
AS
334062011-10-14 Andreas Schwab <schwab@redhat.com>
33407
349290c0
AS
33408 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33409
6b1f68c9
AS
33410 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
33411
f2282d42
RM
334122011-10-13 Roland McGrath <roland@hack.frob.com>
33413
33414 [BZ #13291]
33415 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
33416
5298ffa8
AS
334172011-10-13 Andreas Schwab <schwab@redhat.com>
33418
714fad23
AS
33419 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
33420 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
33421 feraiseexcept.
33422
81dcc7fb
AS
33423 * sysdeps/x86_64/memrchr.S: Check for zero size.
33424
5298ffa8
AS
33425 * string/stratcliff.c: Add memrchr tests.
33426
951fbcec
LD
334272011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33428
33429 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33430 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
33431 rawmemchr-sse2 rawmemchr-sse2-bsf.
33432 * sysdeps/i386/i686/multiarch/memchr.S: New file.
33433 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
33434 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
33435 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
33436 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
33437 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
33438 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
33439 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
33440 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
33441 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
33442 * string/memrchr.c (MEMRCHR): New macro.
33443
0ac5ae23
UD
334442011-10-12 Ulrich Drepper <drepper@gmail.com>
33445
33446 Add integration with gcc's -ffinite-math-only and optimize wrapper
33447 functions in libm.
33448 * Versions.def: Define GLIBC_2.15 version for libm.
33449 * math/Makefile (headers): Add bits/math-finite.h.
33450 * math/bits/math-finite.h: New file.
33451 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
33452 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
33453 * math/e_acoshl.c: Add __*_finite alias.
33454 * math/e_acosl.c: Likewise.
33455 * math/e_asinl.c: Likewise.
33456 * math/e_atan2l.c: Likewise.
33457 * math/e_atanhl.c: Likewise.
33458 * math/e_coshl.c: Likewise.
33459 * math/e_exp10.c: Likewise.
33460 * math/e_exp10f.c: Likewise.
33461 * math/e_exp10l.c: Likewise.
33462 * math/e_exp2l.c: Likewise.
33463 * math/e_fmodl.c: Likewise.
33464 * math/e_gammal_r.c: Likewise.
33465 * math/e_hypotl.c: Likewise.
33466 * math/e_j0l.c: Likewise.
33467 * math/e_j1l.c: Likewise.
33468 * math/e_jnl.c: Likewise.
33469 * math/e_lgammal_r.c: Likewise.
33470 * math/e_log10l.c: Likewise.
33471 * math/e_log2l.c: Likewise.
33472 * math/e_logl.c: Likewise.
33473 * math/e_powl.c: Likewise.
33474 * math/e_sinhl.c: Likewise.
33475 * math/e_sqrtl.c: Likewise.
33476 * math/e_scalb.c: Completely rewritten and optimized.
33477 * math/e_scalbf.c: Likewise.
33478 * math/e_scalbl.c: Likewise.
33479 * math/w_acos.c: Likewise.
33480 * math/w_acosf.c: Likewise.
33481 * math/w_acosl.c: Likewise.
33482 * math/w_acosh.c: Likewise.
33483 * math/w_acoshf.c: Likewise.
33484 * math/w_acoshl.c: Likewise.
33485 * math/w_asin.c: Likewise.
33486 * math/w_asinf.c: Likewise.
33487 * math/w_asinl.c: Likewise.
33488 * math/w_atan2.c: Likewise.
33489 * math/w_atan2f.c: Likewise.
33490 * math/w_atan2l.c: Likewise.
33491 * math/w_atanh.c: Likewise.
33492 * math/w_atanhf.c: Likewise.
33493 * math/w_atanhl.c: Likewise.
33494 * math/w_exp10.c: Likewise.
33495 * math/w_exp10f.c: Likewise.
33496 * math/w_exp10l.c: Likewise.
33497 * math/w_fmod.c: Likewise.
33498 * math/w_fmodf.c: Likewise.
33499 * math/w_fmodl.c: Likewise.
33500 * math/w_j0.c: Likewise.
33501 * math/w_j0f.c: Likewise.
33502 * math/w_j0l.c: Likewise.
33503 * math/w_j1.c: Likewise.
33504 * math/w_j1f.c: Likewise.
33505 * math/w_j1l.c: Likewise.
33506 * math/w_jn.c: Likewise.
33507 * math/w_jnf.c: Likewise.
33508 * math/w_log.c: Likewise.
33509 * math/w_logf.c: Likewise.
33510 * math/w_logl.c: Likewise.
33511 * math/w_log10.c: Likewise.
33512 * math/w_log10f.c: Likewise.
33513 * math/w_log10l.c: Likewise.
33514 * math/w_log2.c: Likewise.
33515 * math/w_log2f.c: Likewise.
33516 * math/w_log2l.c: Likewise.
33517 * math/w_pow.c: Likewise.
33518 * math/w_powf.c: Likewise.
33519 * math/w_powl.c: Likewise.
33520 * math/w_remainder.c: Likewise.
33521 * math/w_remainderf.c: Likewise.
33522 * math/w_remainderl.c: Likewise.
33523 * math/w_scalb.c: Likewise.
33524 * math/w_scalbf.c: Likewise.
33525 * math/w_scalbl.c: Likewise.
33526 * math/w_sqrt.c: Likewise.
33527 * math/w_sqrtf.c: Likewise.
33528 * math/w_sqrtl.c: Likewise.
33529 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
33530 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
33531 used.
33532 * math/math_private.h: Declare __kernel_standard_f.
33533 * math/w_cosh.c: Remove cruft and optimize a bit.
33534 * math/w_coshf.c: Likewise.
33535 * math/w_coshl.c: Likewise.
33536 * math/w_exp2.c: Likewise.
33537 * math/w_exp2f.c: Likewise.
33538 * math/w_exp2l.c: Likewise.
33539 * math/w_hypot.c: Likewise.
33540 * math/w_hypotf.c: Likewise.
33541 * math/w_hypotl.c: Likewise.
33542 * math/w_lgamma.c: Likewise.
33543 * math/w_lgamma_r.c: Likewise.
33544 * math/w_lgammaf.c: Likewise.
33545 * math/w_lgammaf_r.c: Likewise.
33546 * math/w_lgammal.c: Likewise.
33547 * math/w_lgammal_r.c: Likewise.
33548 * math/w_sinh.c: Likewise.
33549 * math/w_sinhf.c: Likewise.
33550 * math/w_sinhl.c: Likewise.
33551 * math/w_tgamma.c: Likewise.
33552 * math/w_tgammaf.c: Likewise.
33553 * math/w_tgammal.c: Likewise.
33554 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33555 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33556 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
33557 Minor optimizations. Pretty printing. Remove cruft.
33558 * sysdeps/i386/fpu/e_acosf.S: Likewise.
33559 * sysdeps/i386/fpu/e_acosh.S: Likewise.
33560 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
33561 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
33562 * sysdeps/i386/fpu/e_acosl.c: Likewise.
33563 * sysdeps/i386/fpu/e_asin.S: Likewise.
33564 * sysdeps/i386/fpu/e_asinf.S: Likewise.
33565 * sysdeps/i386/fpu/e_atan2.S: Likewise.
33566 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
33567 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
33568 * sysdeps/i386/fpu/e_atanh.S: Likewise.
33569 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
33570 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
33571 * sysdeps/i386/fpu/e_exp10.S: Likewise.
33572 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
33573 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
33574 * sysdeps/i386/fpu/e_exp2.S: Likewise.
33575 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
33576 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
33577 * sysdeps/i386/fpu/e_fmod.S: Likewise.
33578 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
33579 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
33580 * sysdeps/i386/fpu/e_hypot.S: Likewise.
33581 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
33582 * sysdeps/i386/fpu/e_log.S: Likewise.
33583 * sysdeps/i386/fpu/e_log10.S: Likewise.
33584 * sysdeps/i386/fpu/e_log10f.S: Likewise.
33585 * sysdeps/i386/fpu/e_log10l.S: Likewise.
33586 * sysdeps/i386/fpu/e_log2.S: Likewise.
33587 * sysdeps/i386/fpu/e_log2f.S: Likewise.
33588 * sysdeps/i386/fpu/e_log2l.S: Likewise.
33589 * sysdeps/i386/fpu/e_logf.S: Likewise.
33590 * sysdeps/i386/fpu/e_logl.S: Likewise.
33591 * sysdeps/i386/fpu/e_pow.S: Likewise.
33592 * sysdeps/i386/fpu/e_powf.S: Likewise.
33593 * sysdeps/i386/fpu/e_powl.S: Likewise.
33594 * sysdeps/i386/fpu/e_remainder.S: Likewise.
33595 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
33596 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
33597 * sysdeps/i386/fpu/e_scalb.S: Likewise.
33598 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
33599 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
33600 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
33601 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
33602 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
33603 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33604 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33605 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33606 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33607 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33608 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33609 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
33610 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33611 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33612 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33613 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33614 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33615 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33616 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33617 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33618 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33619 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33620 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33621 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33622 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33623 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33624 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33625 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33626 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33627 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33628 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33629 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33630 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33631 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
33632 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33633 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33634 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33635 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33636 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33637 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33638 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33639 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33640 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33641 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33642 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33643 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33644 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33645 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33646 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33647 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33648 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33649 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33650 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33651 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33652 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
33653 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33654 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33655 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33656 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33657 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33658 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33659 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33660 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33661 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33662 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33663 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33664 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33665 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33666 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33667 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33668 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33669 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33670 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33671 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
33672 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33673 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33674 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33675 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33676 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33677 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33678 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33679 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33680 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33681 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33682 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33683 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33684 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33685 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
33686 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33687 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33688 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33689 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33690 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33691 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33692 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33693 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33694 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33695 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33696 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
33697 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33698 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
33699 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
33700 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
33701 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
33702 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
33703 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
33704 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
33705 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
33706 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
33707 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
33708 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
33709 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
33710 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33711 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
33712 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
33713 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
33714 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
33715 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
33716 (__isnanf): Likewise.
33717 (__isinf_ns): Likewise.
33718 (__isinf_nsf): Likewise.
33719 (__finite): Likewise.
33720 (__finitef): Likewise.
33721 (__ieee754_sqrt): Define as macro.
33722 (__ieee754_sqrtf): Define as macro.
33723 (__ieee754_sqrtl): Define as macro.
33724 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
33725 inlined copy.
33726 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
33727 __FINITE_MATH_ONLY__ consistent.
33728 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
33729
12cc2fcd
AS
337302011-10-10 Andreas Schwab <schwab@linux-m68k.org>
33731
a843a204
AS
33732 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
33733 of rawmemchr.
33734
12cc2fcd
AS
33735 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
33736
c853acd5
UD
337372011-10-09 Ulrich Drepper <drepper@gmail.com>
33738
33739 * po/ja.po: Update from translation team.
33740
c658d255
RM
337412011-10-08 Roland McGrath <roland@hack.frob.com>
33742
110946e4
RM
33743 * locale/programs/locarchive.c (prepare_address_space): New function.
33744 (create_archive, enlarge_archive, open_archive): Use it.
33745
50604220
RM
33746 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
33747 inside [SHARED], where it is used.
33748
c658d255
RM
33749 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
33750
33751 * nss/getent.c (netgroup_keys): Remove unused variable.
33752 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33753
6a621eb7
UD
337542011-10-08 Ulrich Drepper <drepper@gmail.com>
33755
7edb55ce
UD
33756 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
33757 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
33758 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
33759 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
33760 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
33761 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
33762 * math/Makefile (libm-calls): Add s_isinf_ns.
33763 * math/divtc3.c: Use __isinf_nsl instead of isinf.
33764 * math/multc3.c: Likewise.
33765 * math/s_casin.c: Likewise.
33766 * math/s_casinf.c: Likewise.
33767 * math/s_casinl.c: Likewise.
33768 * math/s_ccos.c: Likewise.
33769 * math/s_ccosf.c: Likewise.
33770 * math/s_ccosl.c: Likewise.
33771 * math/s_ctan.c: Likewise.
33772 * math/s_ctanf.c: Likewise.
33773 * math/s_ctanh.c: Likewise.
33774 * math/s_ctanhf.c: Likewise.
33775 * math/s_ctanhl.c: Likewise.
33776 * math/s_ctanl.c: Likewise.
33777 * math/w_fmod.c: Likewise.
33778 * math/w_fmodf.c: Likewise.
33779 * math/w_fmodl.c: Likewise.
33780 * math/w_remainder.c: Likewise.
33781 * math/w_remainderf.c: Likewise.
33782 * math/w_remainderl.c: Likewise.
33783 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
33784 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
33785 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
33786 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
33787 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
33788 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
33789 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
33790 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
33791
187da0ae
UD
33792 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
33793 of the number.
33794 * stdio-common/printf_fphex.c: Likewise.
33795 * stdio-common/printf_size.c: Likewise.
33796
9277c064
UD
33797 * math/e_exp10.c: Include math_private.h using <...> not "...".
33798 * math/e_exp10f.c: Likewise.
33799 * math/e_exp10l.c: Likewise.
33800 * math/e_exp2l.c: Likewise.
33801 * math/e_j0l.c: Likewise.
33802 * math/e_j1l.c: Likewise.
33803 * math/e_jnl.c: Likewise.
33804 * math/e_lgammal_r.c: Likewise.
33805 * math/e_rem_pio2l.c: Likewise.
33806 * math/e_scalb.c: Likewise.
33807 * math/e_scalbf.c: Likewise.
33808 * math/e_scalbl.c: Likewise.
33809 * math/k_cosl.c: Likewise.
33810 * math/k_sinl.c: Likewise.
33811 * math/k_tanl.c: Likewise.
33812 * math/s_cacoshf.c: Likewise.
33813 * math/s_catan.c: Likewise.
33814 * math/s_catanf.c: Likewise.
33815 * math/s_catanh.c: Likewise.
33816 * math/s_catanhf.c: Likewise.
33817 * math/s_catanhl.c: Likewise.
33818 * math/s_catanl.c: Likewise.
33819 * math/s_ccosh.c: Likewise.
33820 * math/s_ccoshf.c: Likewise.
33821 * math/s_ccoshl.c: Likewise.
33822 * math/s_cexp.c: Likewise.
33823 * math/s_cexpf.c: Likewise.
33824 * math/s_cexpl.c: Likewise.
33825 * math/s_clog.c: Likewise.
33826 * math/s_clog10.c: Likewise.
33827 * math/s_clog10f.c: Likewise.
33828 * math/s_clog10l.c: Likewise.
33829 * math/s_clogf.c: Likewise.
33830 * math/s_clogl.c: Likewise.
33831 * math/s_csin.c: Likewise.
33832 * math/s_csinf.c: Likewise.
33833 * math/s_csinh.c: Likewise.
33834 * math/s_csinhf.c: Likewise.
33835 * math/s_csinhl.c: Likewise.
33836 * math/s_csinl.c: Likewise.
33837 * math/s_csqrt.c: Likewise.
33838 * math/s_csqrtf.c: Likewise.
33839 * math/s_csqrtl.c: Likewise.
33840 * math/s_ctan.c: Likewise.
33841 * math/s_ctanf.c: Likewise.
33842 * math/s_ctanh.c: Likewise.
33843 * math/s_ctanhf.c: Likewise.
33844 * math/s_ctanhl.c: Likewise.
33845 * math/s_ctanl.c: Likewise.
33846 * math/s_ldexp.c: Likewise.
33847 * math/s_ldexpf.c: Likewise.
33848 * math/s_ldexpl.c: Likewise.
33849 * math/s_significand.c: Likewise.
33850 * math/s_significandf.c: Likewise.
33851 * math/s_significandl.c: Likewise.
33852 * math/w_acos.c: Likewise.
33853 * math/w_acosf.c: Likewise.
33854 * math/w_acosh.c: Likewise.
33855 * math/w_acoshf.c: Likewise.
33856 * math/w_acoshl.c: Likewise.
33857 * math/w_acosl.c: Likewise.
33858 * math/w_asin.c: Likewise.
33859 * math/w_asinf.c: Likewise.
33860 * math/w_asinl.c: Likewise.
33861 * math/w_atan2.c: Likewise.
33862 * math/w_atan2f.c: Likewise.
33863 * math/w_atan2l.c: Likewise.
33864 * math/w_atanh.c: Likewise.
33865 * math/w_atanhf.c: Likewise.
33866 * math/w_atanhl.c: Likewise.
33867 * math/w_cosh.c: Likewise.
33868 * math/w_coshf.c: Likewise.
33869 * math/w_coshl.c: Likewise.
33870 * math/w_dremf.c: Likewise.
33871 * math/w_exp10.c: Likewise.
33872 * math/w_exp10f.c: Likewise.
33873 * math/w_exp10l.c: Likewise.
33874 * math/w_exp2.c: Likewise.
33875 * math/w_exp2f.c: Likewise.
33876 * math/w_fmod.c: Likewise.
33877 * math/w_fmodf.c: Likewise.
33878 * math/w_fmodl.c: Likewise.
33879 * math/w_hypot.c: Likewise.
33880 * math/w_hypotf.c: Likewise.
33881 * math/w_hypotl.c: Likewise.
33882 * math/w_j0.c: Likewise.
33883 * math/w_j0f.c: Likewise.
33884 * math/w_j0l.c: Likewise.
33885 * math/w_j1.c: Likewise.
33886 * math/w_j1f.c: Likewise.
33887 * math/w_j1l.c: Likewise.
33888 * math/w_jn.c: Likewise.
33889 * math/w_jnf.c: Likewise.
33890 * math/w_jnl.c: Likewise.
33891 * math/w_lgamma.c: Likewise.
33892 * math/w_lgamma_r.c: Likewise.
33893 * math/w_lgammaf.c: Likewise.
33894 * math/w_lgammaf_r.c: Likewise.
33895 * math/w_lgammal.c: Likewise.
33896 * math/w_lgammal_r.c: Likewise.
33897 * math/w_log.c: Likewise.
33898 * math/w_log10.c: Likewise.
33899 * math/w_log10f.c: Likewise.
33900 * math/w_log10l.c: Likewise.
33901 * math/w_log2.c: Likewise.
33902 * math/w_log2f.c: Likewise.
33903 * math/w_log2l.c: Likewise.
33904 * math/w_logf.c: Likewise.
33905 * math/w_logl.c: Likewise.
33906 * math/w_pow.c: Likewise.
33907 * math/w_powf.c: Likewise.
33908 * math/w_powl.c: Likewise.
33909 * math/w_remainder.c: Likewise.
33910 * math/w_remainderf.c: Likewise.
33911 * math/w_remainderl.c: Likewise.
33912 * math/w_scalb.c: Likewise.
33913 * math/w_scalbf.c: Likewise.
33914 * math/w_scalbl.c: Likewise.
33915 * math/w_sinh.c: Likewise.
33916 * math/w_sinhf.c: Likewise.
33917 * math/w_sinhl.c: Likewise.
33918 * math/w_sqrt.c: Likewise.
33919 * math/w_sqrtf.c: Likewise.
33920 * math/w_sqrtl.c: Likewise.
33921 * math/w_tgamma.c: Likewise.
33922 * math/w_tgammaf.c: Likewise.
33923 * math/w_tgammal.c: Likewise.
33924
6a621eb7
UD
33925 * po/ja.po: Update from translation team.
33926
bf582445
AJ
339272011-09-29 Andreas Jaeger <aj@suse.de>
33928
f9efbf3a
AJ
33929 [BZ #13179]
33930 * sunrpc/netname.c (netname2host): Fix logic.
33931
bf582445
AJ
33932 [BZ #6779]
33933 [BZ #6783]
33934 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
33935 correctly.
33936 * math/w_remainder.c (__remainder): Likewise.
33937 * math/w_remainderf.c (__remainderf): Likewise.
33938 * math/libm-test.inc (remainder_test): Add test cases.
33939
48693bea
AK
339402011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33941
33942 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
33943 sdiv_qrnnd.
33944
42622229
LD
339452011-10-07 Ulrich Drepper <drepper@gmail.com>
33946
33947 * string/test-memcmp.c: Avoid unncessary #defines.
33948 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
33949
093ecf92
LD
339502011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33951
33952 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
33953 Use new sse2 version for core i3 - i7 as it's faster
33954 than sse42 version.
33955 (bit_Prefer_PMINUB_for_stringop): New.
33956 * sysdeps/x86_64/rawmemchr.S: Update.
33957 Replace with faster SSE2 version.
33958 * sysdeps/x86_64/memrchr.S: New file.
33959 * sysdeps/x86_64/memchr.S: Update.
33960 Replace with faster SSE2 version.
33961
fde56e5c
MP
339622011-09-12 Marek Polacek <mpolacek@redhat.com>
33963
33964 * elf/dl-load.c (lose): Add cast to avoid warning.
33965
21fd49a9
UD
339662011-10-07 Ulrich Drepper <drepper@gmail.com>
33967
5a06e643
UD
33968 * po/ca.po: Update from translation team.
33969
684ae515
UD
33970 * inet/getnetgrent_r.c: Hook up nscd.
33971 * nscd/Makefile (routines): Add nscd_netgroup.
33972 (nscd-modules): Add netgroupcache.
33973 (CFLAGS-netgroupcache.c): Define.
33974 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
33975 (cache_search): Add const to second parameter.
33976 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
33977 INNETGR.
33978 (dbs): Add netgrdb entry.
33979 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
33980 (verify_persistent_db): Handle netgrdb.
33981 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
33982 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
33983 GETFDNETGR.
33984 (netgroup_response_header): Define.
33985 (innetgroup_response_header): Define.
33986 (datahead): Add netgroup_response_header and innetgroup_response_header
33987 elements.
33988 * nscd/nscd.conf: Add entries for netgroup cache.
33989 * nscd/nscd.h (dbtype): Add netgrdb.
33990 (_PATH_NSCD_NETGROUP_DB): Define.
33991 (netgroup_iov_disabled): Declare.
33992 (xmalloc, xcalloc, xrealloc): Move declarations here.
33993 (cache_search): Adjust prototype.
33994 Add netgroup-related prototypes.
33995 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
33996 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
33997 (__nscd_innetgr): Declare.
33998 * nscd/selinux.c (perms): Use access_vector_t as element type and
33999 add netgroup-related initializers.
34000 * nscd/netgroupcache.c: New file.
34001 * nscd/nscd_netgroup.c: New file.
34002 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
34003 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
34004 For four parameters use innetgr.
34005 * nss/nss_files/files-init.c: Add definition and callback for netgr.
34006 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
34007 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
34008 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
34009
21fd49a9
UD
34010 * nscd/connections.c (register_traced_file): Don't register file
34011 for disabled databases.
34012
054c0457
UD
340132011-10-06 Ulrich Drepper <drepper@gmail.com>
34014
32b63198
UD
34015 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
34016
054c0457
UD
34017 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
34018 from tree and freeing node.
34019
64031225
JO
340202011-09-25 Jiri Olsa <jolsa@redhat.com>
34021
34022 * nss/nsswitch.c (__nss_database_lookup): Handle
34023 nss_parse_service_list out of memory case.
34024
0490345c
JO
340252011-09-15 Jiri Olsa <jolsa@redhat.com>
34026
34027 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
34028 out of memory case.
34029
3a62d00d
AS
340302011-10-04 Andreas Schwab <schwab@redhat.com>
34031
34032 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
34033 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
34034 pass it down.
34035 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
34036 elf_machine_rela, elf_machine_lazy_rel.
34037 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
34038 (ELF_DYNAMIC_DO_REL): Likewise.
34039 (ELF_DYNAMIC_DO_RELA): Likewise.
34040 (ELF_DYNAMIC_RELOCATE): Likewise.
34041 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
34042 to ELF_DYNAMIC_DO_REL.
34043 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
34044 (dl_main): In trace mode always set __RTLD_NOIFUNC.
34045 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
34046 elf_machine_rela.
34047 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
34048 skip_ifunc, don't call ifunc function if non-zero.
34049 (elf_machine_rela): Likewise.
34050 (elf_machine_lazy_rel): Likewise.
34051 (elf_machine_lazy_rela): Likewise.
34052 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
34053 (elf_machine_lazy_rel): Likewise.
34054 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
34055 Likewise.
34056 (elf_machine_lazy_rel): Likewise.
34057 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34058 Likewise.
34059 (elf_machine_lazy_rel): Likewise.
34060 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
34061 (elf_machine_lazy_rel): Likewise.
34062 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
34063 (elf_machine_lazy_rel): Likewise.
34064 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
34065 (elf_machine_lazy_rel): Likewise.
34066 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
34067 (elf_machine_lazy_rel): Likewise.
34068 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
34069 (elf_machine_lazy_rel): Likewise.
34070 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
34071 (elf_machine_lazy_rel): Likewise.
34072
68577918
UD
340732011-09-28 Ulrich Drepper <drepper@gmail.com>
34074
34075 * nss/nss_files/files-init.c (_nss_files_init): Use static
34076 initialization for all the *_traced_file variables.
34077
68822d74
AS
340782011-09-28 Andreas Schwab <schwab@redhat.com>
34079
34080 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34081
2056100b
RM
340822011-09-27 Roland McGrath <roland@hack.frob.com>
34083
34084 [BZ #13226]
34085 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
34086
32c76b63
AS
340872011-09-27 Andreas Schwab <schwab@redhat.com>
34088
34089 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
34090 Reread the line before reparsing it.
34091
bf972c9d
AS
340922011-09-26 Andreas Schwab <schwab@redhat.com>
34093
34094 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
34095
e057a1b5
JM
340962011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
34097 Maxim Kuvyrkov <maxim@codesourcery.com>
34098 Joseph Myers <joseph@codesourcery.com>
34099
34100 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
34101 if needed for __stack_chk_guard.
34102
bc7e1c36
RM
341032011-09-19 Roland McGrath <roland@hack.frob.com>
34104
ecb1482f
RM
34105 * sysdeps/posix/spawni.c (script_execute): Always define it.
34106 It will be optimized away if unused.
34107 (maybe_script_execute): New function.
34108 (__spawni): Call it.
34109
bc7e1c36
RM
34110 * Makerules: Don't include tls.make.
34111 (config-tls): Always set to thread.
34112 * tls.make.c: File removed.
34113
1c3b002b
MF
341142011-09-19 Mike Frysinger <vapier@gentoo.org>
34115
34116 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
34117 * config.make.in (CPPFLAGS-config): New substituted variable.
34118
2840865d
UD
341192011-09-15 Ulrich Drepper <drepper@gmail.com>
34120
88738eb6
UD
34121 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
34122
cbf645a6 34123 [BZ #13192]
2840865d
UD
34124 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
34125 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
34126
b402e91a
RM
341272011-09-15 Roland McGrath <roland@hack.frob.com>
34128
34129 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
34130 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
34131 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
34132 (CALL_FAIL): Likewise.
34133 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
34134 (CALL_FAIL): Macro removed.
34135 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
34136
4c1a1f71
UD
341372011-09-15 Ulrich Drepper <drepper@gmail.com>
34138
34139 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
34140 for __FINITE_MATH_ONLY__ == 1.
34141
edc121be
AS
341422011-09-15 Andreas Schwab <schwab@redhat.com>
34143
34144 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
34145 __ieee754_sqrt instead of sqrt.
34146 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
34147 __ieee754_sqrtf instead of sqrtf.
34148 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
34149 __floorf instead of floorf.
34150 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
34151 __floorf, __truncf instead of floorf, truncf.
34152
cd205654
UD
341532011-09-14 Ulrich Drepper <drepper@gmail.com>
34154
ee4d0315
UD
34155 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
34156
cd205654
UD
34157 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
34158 __extern_always_inline.
34159 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
34160 32-bit.
34161
48b67d71
AS
341622011-09-14 Andreas Schwab <schwab@redhat.com>
34163
34164 * elf/rtld.c (dl_main): Also relocate in dependency order when
34165 doing symbol dependency testing.
34166
1ae12c75
AS
341672011-09-13 Andreas Schwab <schwab@linux-m68k.org>
34168
34169 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34170 Always define `refsym'.
34171
995a80df
AS
341722011-09-13 Andreas Schwab <schwab@redhat.com>
34173
e529793b
AS
34174 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
34175 (__FD_ELT): Renamed from __FDELT.
34176 * misc/bits/select2.h (__FD_ELT): Likewise.
34177 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
34178 __FD_MASK instead of __FDELT, __FDMASK.
34179 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
34180 Likewise.
34181 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
34182 Likewise.
34183
52d4fef8
AS
34184 * elf/Makefile (gen-ldd): Fix pattern.
34185
995a80df
AS
34186 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
34187 (init_tls): Likewise.
34188
8682f8b0
UD
341892011-09-12 Ulrich Drepper <drepper@gmail.com>
34190
34191 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
34192
de82006d
AS
341932011-09-12 Andreas Schwab <schwab@redhat.com>
34194
a7c8e6a1
AS
34195 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
34196 `struct cmsghdr *' instead of `void *'.
34197 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
34198 Likewise.
34199
0f31fe77
AS
342002011-09-11 Andreas Schwab <schwab@linux-m68k.org>
34201
34202 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
34203 if non-absolute.
34204 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
34205 ldd_rewrite_script.
0f31fe77 34206
32b4c839
UD
342072011-09-11 Ulrich Drepper <drepper@gmail.com>
34208
83cd1420
UD
34209 * configure.in: Remove --with-tls option.
34210 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
34211 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
34212 out in case it is missing.
34213 * sysdeps/ia64/elf/configure.in: Likewise.
34214 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
34215 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
34216 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
34217 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
34218 * sysdeps/sh/elf/configure.in: Likewise.
34219 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
34220 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
34221 * sysdeps/x86_64/elf/configure.in: Likewise.
34222 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
34223 * sysdeps/mach/hurd/tls.h: Likewise.
34224
633f745d
UD
34225 [BZ #13067]
34226 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
34227
f318beb8
UD
34228 [BZ #13090]
34229 * configure.in: Fix use of AC_INIT.
34230
32b4c839
UD
34231 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
34232
3ce1f295
UD
342332011-09-10 Ulrich Drepper <drepper@gmail.com>
34234
bb016596
UD
34235 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
34236 __set_errno.
8e58439c
UD
34237 * malloc/hooks.c: Likewise.
34238
aebae053 34239 [BZ #11929]
02d46fc4
UD
34240 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
34241 variables statically.
34242 (narenas): Initialize.
34243 (list_lock): Initialize.
bb016596
UD
34244 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
34245 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
34246 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
34247 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
34248 Add initializers to main_arena and mp_.
34249 (malloc_state): Remove pagesize member. Change all users to use
34250 GLRO(dl_pagesize).
34251
34252 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
34253 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
34254 is always initialized.
34255
22a89187
UD
34256 * malloc/malloc.c: Removed unused configurations and dead code.
34257 * malloc/arena.c: Likewise.
34258 * malloc/hooks.c: Likewise.
02d46fc4 34259 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 34260
d063d164
UD
34261 * include/tls.h: Removed. USE___THREAD must always be defined.
34262 * bits/libc-tsd.h: Don't handle !USE___THREAD.
34263 * elf/dl-libc.c: Likewise.
34264 * elf/dl-tsd.c: Likewise.
34265 * include/errno.h: Likewise.
34266 * include/netdb.h: Likewise.
34267 * include/resolv.h: Likewise.
34268 * inet/herrno-loc.c: Likewise.
34269 * inet/herrno.c: Likewise.
34270 * malloc/arena.c: Likewise.
34271 * malloc/hooks.c: Likewise.
34272 * malloc/malloc.c: Likewise.
34273 * resolv/res-state.c: Likewise.
34274 * resolv/res_libc.c: Likewise.
34275 * sysdeps/i386/dl-machine.h: Likewise.
34276 * sysdeps/ia64/dl-machine.h: Likewise.
34277 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
34278 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
34279 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
34280 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
34281 * sysdeps/sh/dl-machine.h: Likewise.
34282 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34283 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34284 * sysdeps/unix/i386/sysdep.S: Likewise.
34285 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
34286 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
34287 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
34288 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
34289 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
34290 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
34291 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
34292 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34293 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34294 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
34295 * sysdeps/unix/x86_64/sysdep.S: Likewise.
34296 * sysdeps/x86_64/dl-machine.h: Likewise.
34297 * tls.make.c: Likewise.
34298
3ce1f295
UD
34299 * configure.in: Remove --with-__thread option. Make tests for
34300 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
34301 tls_model attribute fail if no support is available. Remove
34302 USE_IN_LIBIO.
34303 * Makeconfig: Adjust for dropped configure option. All features are
34304 now mandatory.
34305 * Makerules: Likewise.
34306 * Versions.def: Likewise.
34307 * argp/argp-fmtstream.c: Likewise.
34308 * argp/argp-fmtstream.h: Likewise.
34309 * argp/argp-help.c: Likewise.
34310 * assert/assert.c: Likewise.
34311 * config.h.in: Likewise.
34312 * config.make.in: Likewise.
34313 * configure: Likewise.
34314 * configure.in: Likewise.
34315 * csu/Versions: Likewise.
34316 * csu/init.c: Likewise.
34317 * elf/tst-audit2.c: Likewise.
34318 * elf/tst-tls10.c: Likewise.
34319 * elf/tst-tls10.h: Likewise.
34320 * elf/tst-tls11.c: Likewise.
34321 * elf/tst-tls12.c: Likewise.
34322 * elf/tst-tls14.c: Likewise.
34323 * elf/tst-tlsmod11.c: Likewise.
34324 * elf/tst-tlsmod12.c: Likewise.
34325 * elf/tst-tlsmod13.c: Likewise.
34326 * elf/tst-tlsmod13a.c: Likewise.
34327 * elf/tst-tlsmod14a.c: Likewise.
34328 * elf/tst-tlsmod15b.c: Likewise.
34329 * elf/tst-tlsmod16a.c: Likewise.
34330 * elf/tst-tlsmod16b.c: Likewise.
34331 * elf/tst-tlsmod7.c: Likewise.
34332 * elf/tst-tlsmod8.c: Likewise.
34333 * elf/tst-tlsmod9.c: Likewise.
34334 * gmon/gmon.c: Likewise.
34335 * grp/fgetgrent_r.c: Likewise.
34336 * grp/putgrent.c: Likewise.
34337 * hurd/fopenport.c: Likewise.
34338 * include/libc-symbols.h: Likewise.
34339 * include/tls.h: Likewise.
34340 * intl/gettextP.h: Likewise.
34341 * intl/loadinfo.h: Likewise.
34342 * locale/global-locale.c: Likewise.
34343 * locale/localeinfo.h: Likewise.
34344 * mach/devstream.c: Likewise.
34345 * malloc/arena.c: Likewise.
34346 * malloc/set-freeres.c: Likewise.
34347 * misc/err.c: Likewise.
34348 * misc/getttyent.c: Likewise.
34349 * misc/mntent_r.c: Likewise.
34350 * posix/getopt.c: Likewise.
34351 * posix/wordexp.c: Likewise.
34352 * pwd/fgetpwent_r.c: Likewise.
34353 * resolv/Versions: Likewise.
34354 * resolv/res_hconf.c: Likewise.
34355 * shadow/fgetspent_r.c: Likewise.
34356 * shadow/putspent.c: Likewise.
34357 * stdio-common/printf_fphex.c: Likewise.
34358 * stdio-common/tmpfile.c: Likewise.
34359 * stdlib/abort.c: Likewise.
34360 * stdlib/fmtmsg.c: Likewise.
34361 * sunrpc/auth_unix.c: Likewise.
34362 * sunrpc/clnt_perr.c: Likewise.
34363 * sunrpc/clnt_tcp.c: Likewise.
34364 * sunrpc/clnt_udp.c: Likewise.
34365 * sunrpc/clnt_unix.c: Likewise.
34366 * sunrpc/openchild.c: Likewise.
34367 * sunrpc/svc_simple.c: Likewise.
34368 * sunrpc/svc_tcp.c: Likewise.
34369 * sunrpc/svc_udp.c: Likewise.
34370 * sunrpc/svc_unix.c: Likewise.
34371 * sunrpc/xdr.c: Likewise.
34372 * sunrpc/xdr_array.c: Likewise.
34373 * sunrpc/xdr_rec.c: Likewise.
34374 * sunrpc/xdr_ref.c: Likewise.
34375 * sunrpc/xdr_stdio.c: Likewise.
34376
1248c1c4
PB
343772011-09-09 Ulrich Drepper <drepper@gmail.com>
34378
34379 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34380
343812011-07-03 Andreas Jaeger <aj@suse.de>
34382
34383 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
34384 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
34385 regenerate with gen-libm-tests.pl.
34386
343872010-05-12 Petr Baudis <pasky@suse.cz>
34388
34389 [BZ #11589]
34390 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
34391 around j0() zero points by switching to j1().
34392 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34393 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34394 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
34395 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34396
f22e1074
UD
343972011-09-09 Ulrich Drepper <drepper@gmail.com>
34398
f19009c1
UD
34399 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
34400 instead of 0.
34401 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 34402 instead of 0.
f19009c1
UD
34403 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34404 Patch in part by Pavel Roskin <proski@gnu.org>.
34405
3f8cc204
UD
34406 [BZ #13138]
34407 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
34408 realloc.
34409 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
34410 Free memory block if necessary.
34411
f22e1074
UD
34412 [BZ #12847]
34413 * libio/genops.c (INTDEF): For string streams the _lock pointer can
34414 be NULL. Don't lock in this case.
34415
0a2349f9
RM
344162011-09-09 Roland McGrath <roland@hack.frob.com>
34417
34418 * elf/elf.h (ELFOSABI_GNU): New macro.
34419 (ELFOSABI_LINUX): Define to that.
34420
f3cdd467
DZ
344212011-07-29 Denis Zaitceff <zaitceff@gmail.com>
34422
34423 * string/strncat.c (strncat): Undef the symbol in case it has been
34424 defined in bits/string.h.
34425
74718d13
UD
344262011-09-09 Ulrich Drepper <drepper@gmail.com>
34427
633e9e0f
UD
34428 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
34429
0a2349f9 34430 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
34431 link map.
34432
f9924780
AJ
344332011-08-17 Andreas Jaeger <aj@suse.de>
34434
34435 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
34436
7f5517aa
PP
344372011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
34438 Ian Lance Taylor <iant@google.com>
34439
34440 * math/libm-test.inc (lround_test): New testcase.
34441 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
34442
762011fe
UD
344432011-09-08 Ulrich Drepper <drepper@gmail.com>
34444
92963737
UD
34445 * Makefile: Remove support for automatic cvs check-ins.
34446 * Makerules: Likewise.
34447 * config.make.in: Likewise.
34448 * configure.in: Likewise.
34449 * intl/Makefile: Likewise.
34450 * locale/Makefile: Likewise.
34451 * po/Makefile: Likewise.
34452 * posix/Makefile: Likewise.
34453 * sysdeps/gnu/Makefile: Likewise.
34454 * sysdeps/mach/hurd/Makefile: Likewise.
34455 * sysdeps/sparc/sparc32/Makefile: Likewise.
34456
b0727fd8
JS
34457 [BZ #13118]
34458 * posix/Makefile (bug-regex32-ENV): Define.
34459 Patch by John Stanley <jpsinthemix@verizon.net>.
34460
a0f33f99
UD
34461 * misc/Makefile (headers): Add bits/select2.h.
34462 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
34463 * misc/bits/select2.h: New file.
34464 * include/bits/select2.h: New file.
34465 * debug/Makefile (routines): Add fdelt_chk.
34466 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
34467 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
34468 FD_ISSET.
34469 * debug/fdelt_chk.c: New file.
34470
762011fe
UD
34471 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
34472 * wcsmbs/test-wmemcmp.c: Likewise.
34473 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 34474 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
34475
344762011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34477
34478 * string/Makefile (strop-tests): Add memcmp.
34479 * string/test-wmemcmp.c: New file.
34480 * string/test-memcmp.c: Add wmemcmp support.
34481
7f513ec8
RM
344822011-09-08 Roland McGrath <roland@hack.frob.com>
34483
0442afb4
RM
34484 [BZ #13153]
34485 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
34486 2011-07-19 change.
34487
7f513ec8
RM
34488 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
34489 garbage value in a __mach_port_mod_refs call in the cases of the
34490 task-self and thread-self ports.
34491
a12b2239
ST
344922011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
34493
34494 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
34495
610f9ab4
AS
344962011-09-08 Andreas Schwab <schwab@redhat.com>
34497
7f513ec8 34498 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 34499
48882a1a
LD
345002011-09-07 Ulrich Drepper <drepper@gmail.com>
34501
b49865be
UD
34502 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
34503
fdc86bc9
UD
34504 * elf/dl-libc.c (dlerror_run): Pass back error code from
34505 dl_catch_error.
34506
c966526a
UD
34507 [BZ #13123]
34508 * elf/dl-load.c (lose): Free l_origin if it is valid.
34509
48882a1a
LD
34510 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
34511 names.
34512 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
34513 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34514 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34515 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34516 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
34517 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
34518
77a2a8b4
AZ
345192011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34520
34521 * sysdeps/powerpc/fpu/e_hypot.c: New file.
34522 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
34523 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
34524 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
34525 * sysdeps/powerpc/fpu/k_cosf.c: New file.
34526 * sysdeps/powerpc/fpu/k_sinf.c: New file.
34527 * sysdeps/powerpc/fpu/s_cosf.c: New file.
34528 * sysdeps/powerpc/fpu/s_sinf.c: New file.
34529 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
34530 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
34531
24f579d8
AM
345322011-08-15 Alan Modra <amodra@gmail.com>
34533
34534 [BZ #13092]
34535 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
34536 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
34537 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
34538 ppc_mcount to static-only-routines.
34539 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
34540 __mcount_internal.
34541 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
34542 __mcount_internal with usual JUMPTARGET. Remove useless nop.
34543
3d4837df
UD
345442011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
34545
34546 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
34547 for finite and infinity parameters.
34548
22700377
WS
345492011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
34550
34551 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
34552 and add nop instructions for throughput optimization.
34553 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34554
5025581e
WS
345552011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
34556
34557 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
34558 aligned copy for power7 with vector-scalar instructions.
34559 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
34560
08a300c9
L
345612011-07-24 H.J. Lu <hongjiu.lu@intel.com>
34562
34563 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
34564 AVX check.
34565
59178ef9
AS
345662011-09-07 Andreas Schwab <schwab@redhat.com>
34567
34568 [BZ #13144]
34569 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
34570 last change.
34571
e38ba7ab
UD
345722011-09-07 Ulrich Drepper <drepper@gmail.com>
34573
34574 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34575 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
34576 syscall wrapper around clock_gettime in __vdso_clock_gettime.
34577 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
34578 clock_gettime.
34579
d53a73ac
UD
345802011-09-06 Ulrich Drepper <drepper@gmail.com>
34581
fc8bffcc
UD
34582 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
34583 Forgot to demangle the pointer.
34584
ceaa0c5d
UD
34585 * sysdeps/i386/sysdep.h: Define atom_text_section.
34586 * sysdeps/x86_64/sysdep.h: Likewise.
34587 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
34588 section with atom_text_section.
34589 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34590 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34591 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
34592 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34593 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
34594
a77d3c17
UD
34595 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
34596 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
34597 already be defined. Change to take two parameters and don't assign
34598 result to variable. Adjust all users.
34599 Define INTERNAL_GETTIME if not already defined.
34600 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
34601 call.
34602 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
34603 HAVE_CLOCK_GETTIME_VSYSCALL.
34604 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
34605
d53a73ac
UD
34606 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
34607 gettimeofday vsyscall, just use time.
34608
a8f84144
AS
346092011-09-06 Andreas Schwab <schwab@redhat.com>
34610
34611 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
34612 <errno.h>.
34613
ef606249
UD
346142011-09-06 Ulrich Drepper <drepper@gmail.com>
34615
34616 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
34617 syscall on x86-64.
34618 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
34619 syscall.
34620 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
34621 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
34622 syscall if possible.
34623
6585cb60
UD
346242011-09-05 Ulrich Drepper <drepper@gmail.com>
34625
34626 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
34627 e_ident. Don't pass to find_mapsXX.
34628 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
34629
a5f524e4
LD
346302011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34631
34632 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34633 strchr-sse2-no-bsf strrchr-sse2-no-bsf
34634 * sysdeps/x86_64/multiarch/strchr.S: Update.
34635 Check bit_slow_BSF bit.
34636 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34637 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
34638 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
34639
554881ef
UD
346402011-09-05 Ulrich Drepper <drepper@gmail.com>
34641
d96de963
UD
34642 [BZ #13134]
34643 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
34644 before glibc 2.15.
34645 (tryshell): Define.
34646 (__spawni): Change last parameter to be flag. Test
34647 SPAWN_XFLAGS_USE_PATH flag to use path or not.
34648 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
34649 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
34650 * posix/spawni.c: Likewise.
34651 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
34652 * posix/spawnp.c: Likewise. Change normal version to use
34653 SPAWN_XFLAGS_USE_PATH.
34654 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
34655 SPAWN_XFLAGS_TRY_SHELL.
34656
d48e5868
UD
34657 [BZ #13150]
34658 * posix/glob.h: Remove gcc 1.x support.
34659
554881ef
UD
34660 [BZ #13068]
34661 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
34662
693fb948
LD
346632011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34664
34665 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34666 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
34667 strrchr-sse2-bsf
34668 * sysdeps/i386/i686/multiarch/strchr.S: New file.
34669 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
34670 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
34671 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
34672 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
34673 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
34674
1b48c537
UD
346752011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34676
49d42c37
UD
34677 * sysdeps/x86_64/wcscmp.S: New file.
34678
1b48c537
UD
34679 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
34680 wcscmp-c wcscmp-sse2
34681 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
34682 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
34683 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
34684 * wcsmbs/wcscmp.c: Allow renaming.
34685
15c95c5d
DM
346862011-09-05 David S. Miller <davem@davemloft.net>
34687
34688 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
34689 stack slot, rather than the struct return pointer slot.
34690 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
34691 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
34692 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
34693 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
34694
2f0ad8f3
UD
346952011-09-05 Ulrich Drepper <drepper@gmail.com>
34696
d88ae418
UD
34697 * po/ja.po: Update from translation team.
34698
2f0ad8f3
UD
34699 [BZ #13144]
34700 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
34701 kernel in 64-bit binaries.
34702
5f4318d1
DM
347032011-09-01 David S. Miller <davem@davemloft.net>
34704
34705 * elf/elf.h (HWCAP_SPARC_*): Move to..
34706 * sysdeps/sparc/sysdep.h: this new file and add new values.
34707 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
34708 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
34709 _DL_HWCAP_COUNT to 24.
34710 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
34711 entries.
34712 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
34713 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
34714 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
34715 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
34716 instead of magic constants.
34717 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34718
3ba57516
DM
347192011-08-31 David S. Miller <davem@davemloft.net>
34720
34721 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
34722 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
34723 Reimplement to do errno handling inline.
34724 (SYSCALL_ERROR_HANDLER): New macro.
34725 (__SYSCALL_STRING): Do not do errno handling in asm.
34726 (__CLONE_SYSCALL_STRING): Delete.
34727 (__INTERNAL_SYSCALL_STRING): Delete.
34728 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
34729 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
34730 (PSEUDO): Reimplement to do errno handling inline.
34731 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
34732 (SYSCALL_ERROR_HANDLER): New macro.
34733 (__SYSCALL_STRING): Do not do errno handling in asm.
34734 (__CLONE_SYSCALL_STRING): Delete.
34735 (__INTERNAL_SYSCALL_STRING): Delete.
34736 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
34737 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
34738 i386.
34739 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
34740 (inline_syscall*): Add 'err' argument.
34741 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
34742 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
34743 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
34744 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
34745
34746 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
34747 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34748
2bc17433
AS
347492011-08-30 Andreas Schwab <schwab@redhat.com>
34750
34751 * elf/rtld.c (dl_main): Relocate objects in dependency order.
34752
fbeb5f4d
JO
347532011-08-29 Jiri Olsa <jolsa@redhat.com>
34754
34755 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
34756 directive.
34757
ad69cc26
DM
347582011-08-24 David S. Miller <davem@davemloft.net>
34759
34760 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
34761
39dd69df
AS
347622011-08-24 Andreas Schwab <schwab@redhat.com>
34763
34764 * elf/Makefile: Add rules to build and run unload8 test.
34765 * elf/unload8.c: New file.
34766 * elf/unload8mod1.c: New file.
34767 * elf/unload8mod1x.c: New file.
34768 * elf/unload8mod2.c: New file.
34769 * elf/unload8mod3.c: New file.
34770
34771 * elf/dl-close.c (_dl_close_worker): Reset private search list if
34772 it wasn't used.
34773
2c0b250a
DM
347742011-08-23 David S. Miller <davem@davemloft.net>
34775
34776 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
34777 subtract stack bias.
34778 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
34779 %sp not %fp in calculations.
34780 (_JMPBUF_UNWINDS_ADJ): Likewise.
34781
22044b48
DM
34782 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
34783 (aio_suspend): Call it to force an exception region around the
34784 AIO_MISC_WAIT() invocation.
34785
2cae4995
AS
347862011-08-23 Andreas Schwab <schwab@redhat.com>
34787
34788 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
34789 backslash.
34790
873a772e
AJ
347912011-07-04 Aurelien Jarno <aurelien@aurel32.net>
34792
34793 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
34794 protection macro.
34795 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
34796 and <dl-machine.h>.
34797 (Elf64_FuncDesc): Remove.
34798
25ad0df1
DM
347992011-08-22 David S. Miller <davem@davemloft.net>
34800
34801 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
34802 sigaltstack check, add missing cfi directives.
34803 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
34804 missing cfi directives, and sigaltstack handling.
34805
e888bcbe
AS
348062011-08-16 Andreas Schwab <schwab@redhat.com>
34807
34808 [BZ #11724]
34809 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
34810 object is seen twice.
34811 * elf/dl-fini.c (_dl_sort_fini): Likewise.
34812
34813 * elf/Makefile (distribute): Add tst-initorder2.c.
34814 (tests): Add tst-initorder2.
34815 (modules-names): Add tst-initorder2a tst-initorder2b
34816 tst-initorder2c tst-initorder2d. Add rules to build them.
34817 ($(objpfx)tst-initorder2.out): New rule.
34818 * elf/tst-initorder2.c: New file.
34819 * elf/tst-initorder2.exp: New file.
34820
87162f46
AS
348212011-08-22 Andreas Schwab <schwab@redhat.com>
34822
70538b7f
AS
34823 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
34824
f55ffe58
AS
34825 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
34826 dependencies back to end of function.
34827
87162f46
AS
34828 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34829 $(elfobjdir)/ld.so.
34830
91b392a4
UD
348312011-08-21 Ulrich Drepper <drepper@gmail.com>
34832
34833 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
34834 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
34835 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
34836 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
34837 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
34838 of __vdso_gettimeofday.
34839 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
34840 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
34841 attribute_hidden.
34842 (_libc_vdso_platform_setup): Remove initialization of
34843 __vdso_gettimeofday and __vdso_time.
34844
5c43483f
UD
348452011-08-20 Ulrich Drepper <drepper@gmail.com>
34846
775a77e7
UD
34847 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
34848 and fgetc_unlocked.
34849 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
34850 getc_unlocked.
89f447ed 34851
49c74ba9
UD
34852 * elf/dl-open.c (add_to_global): Report additions to the global scope
34853 for LD_DEBUG=scopes.
34854 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 34855 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 34856
5c43483f
UD
34857 [BZ #13114]
34858 * stdio-common/Makefile (tests): Add bug24.
34859 * stdio-common/bug24.c: New file.
34860
a101b025
AJ
348612011-08-19 Andreas Jaeger <aj@suse.de>
34862
34863 [BZ #13114]
34864 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
34865 non-existant file when using close-on-exec mode.
34866
c88f1766
UD
348672011-08-20 Ulrich Drepper <drepper@gmail.com>
34868
0276a718
UD
34869 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
34870 the very first instruction.
34871
c88f1766
UD
34872 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
34873 the CFI state in the end.
34874 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
34875 inclusion of dl-trampoline.h.
34876 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
34877
51ccffa0
AS
348782011-08-19 Andreas Schwab <schwab@redhat.com>
34879
94d7165f
AS
34880 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
34881 expectations for long double.
34882
51ccffa0
AS
34883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
34884 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
34885
fd708658 348862011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
34887
34888 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
34889 artificual limit depends upon the system page size.
34890
44f0a71e
UD
348912011-08-17 Ulrich Drepper <drepper@gmail.com>
34892
34893 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
34894 * resolv/Makefile: Define CFLAGS-libresolv.
34895
8de79a24
AS
348962011-08-17 Andreas Schwab <schwab@redhat.com>
34897
34898 * nss/makedb.c (compute_tables): Make variables used in nested
34899 function static.
34900
27724598
UD
349012011-08-17 Ulrich Drepper <drepper@gmail.com>
34902
c5305d88
UD
34903 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
34904 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
34905 if buffer was too small.
34906
27724598
UD
34907 * elf/pldd.c (main): Attach to all threads in the process.
34908 Rewrite /proc handling to use *at functions.
34909
076fe015
UD
349102011-08-16 Ulrich Drepper <drepper@gmail.com>
34911
174baab3
UD
34912 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
34913 specifies first scope to show.
34914 (dl_open_worker): Update callers. Move printing scope of new
34915 object to before the relocation.
44f0a71e 34916 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
34917 * sysdeps/generic/ldsodefs.h: Update declaration.
34918
076fe015
UD
34919 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
34920 string for the scope number.
34921
a60df2c3
UD
349222011-08-14 Ulrich Drepper <drepper@gmail.com>
34923
34924 * nscd/servicescache.c (cache_addserv): Make sure written is always
34925 initialized.
34926
5e4287d1
RM
349272011-08-14 Roland McGrath <roland@hack.frob.com>
34928
85ae0589
RM
34929 * sysdeps/i386/i486/bits/atomic.h
34930 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
34931 statement expression, so as to suppress "set but not used" warning.
34932 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
34933
69f63097
RM
34934 * string/strncat.c (STRNCAT): Use prototype definition.
34935
675456ef
RM
34936 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
34937 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
34938 -Iprograms here.
34939 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
34940 (localedef-modules): Add localedef.
34941 (locale-modules): Add locale.
34942
5e4287d1
RM
34943 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
34944 * elf/rtld.c (dl_main): Invert order of assignment in last change,
34945 to avoid a warning.
34946
9c96ff23
DM
349472011-08-14 David S. Miller <davem@davemloft.net>
34948
34949 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
34950 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
34951
f9ddf089
UD
349522011-08-13 Ulrich Drepper <drepper@gmail.com>
34953
44f0a71e 34954 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
34955 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
34956 * elf/rtld.c (dl_main): Set l_name of vDSO.
34957 Call _dl_show_scope when DL_DEBUG_SCOPES.
34958 (process_dl_debug): Recognize scopes flag and also set it for all.
34959 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
34960 Declare _dl_show_scope.
34961
1dc27704
UD
34962 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
34963 (do_dlopen): Pass caller_dlopen to dl_open.
34964 (__libc_dlopen_mode): Initialize caller_dlopen.
34965
f9ddf089
UD
34966 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
34967 of libc. Make tolower call locale-independent. Optimize a bit by
34968 using isdigit instead of isalnum.
34969 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
34970
9ac533d3
UD
349712011-08-12 Ulrich Drepper <drepper@gmail.com>
34972
34973 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
34974 was a dependency or dynamically loaded.
34975
89edf2e9
UD
349762011-08-11 Ulrich Drepper <drepper@gmail.com>
34977
8e999d29
UD
34978 * intl/l10nflist.c: Allow architecture-specific pop function.
34979 * sysdeps/x86_64/l10nflist.c: New file.
34980
89edf2e9
UD
34981 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
34982 classification.
34983
14d96785
AS
349842011-08-10 Andreas Schwab <schwab@redhat.com>
34985
34986 * include/dirent.h: Add libc_hidden_proto for scandirat and
34987 scandirat64. Don't declare __scandirat64.
34988 * dirent/scandirat.c: Add libc_hidden_def.
34989 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
34990 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
34991
6761ac04
DM
349922011-08-10 David S. Miller <davem@davemloft.net>
34993
34994 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
34995 enum.
34996 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34997 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34998 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34999
c55fbd1e
UD
350002011-08-09 Ulrich Drepper <drepper@gmail.com>
35001
35002 * Versions.def [libc]: Add GLIBC_2.15.
35003 * dirent/Makefile (routines): Add scandirat and scandirat64.
35004 * dirent/Versions [libc]: Export scandirat and scandirat64 for
35005 GLIBC_2.15.
35006 * dirent/dirent.h: Declare scandirat and scandirat64.
35007 * dirent/scandirat.c: New file.
35008 * dirent/scandirat64.c: New file.
35009 * sysdeps/wordsize-64/scandirat.c: New file.
35010 * sysdeps/wordsize-64/scandirat64.c: New file.
35011 * dirent/opendir.c: Define opendirat.
35012 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
35013 using scandirat.
35014 * dirent/scandir64.c: Adjust for scandir.c change.
35015 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
35016 __scandirat64, and __scandir_cancel_handler.
35017 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
35018 additional parameter and use openat instead of open (outside of ld.so).
35019 Add new __opendir as wrapper around __opendirat.
35020 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
35021 here without requiring old scandirat implementation.
35022
879165f2
UD
350232011-08-08 Ulrich Drepper <drepper@gmail.com>
35024
35025 * dirent/scandir.c (cancel_handler): Renamed to
35026 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
35027 defined. Adjust users.
35028 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
35029 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
35030
cb7e923b
UD
350312011-08-04 Ulrich Drepper <drepper@gmail.com>
35032
16292edd
UD
35033 * string/test-string.h (IMPL): Use __STRING to expand name and then
35034 stringify it.
35035
cb7e923b
UD
35036 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
35037 of cleanups.
35038
cff82933
LD
350392011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35040
35041 * string/Makefile: Update.
35042 (strop-tests): Append strncat.
35043 * string/test-wcscmp.c: New file.
35044 New comprehensive test for wcscmp.
35045 * string/test-strcmp.c: Update.
35046 (WIDE): New define.
35047
9be9bfcc
AS
350482011-07-22 Andreas Schwab <schwab@redhat.com>
35049
35050 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
35051 line.
35052
2e96f1c7
AS
350532011-07-26 Andreas Schwab <schwab@redhat.com>
35054
35055 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
35056 encoding to ACE if AI_IDN.
35057
85188888
JJ
350582011-08-01 Jakub Jelinek <jakub@redhat.com>
35059
35060 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
35061 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
35062
5fa16e9b
LD
350632011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35064
35065 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
35066 Fix overflow bug in strncat.
35067 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
35068
35069 * string/test-strncat.c: Update.
35070 Add new tests for checking overflow bugs.
35071
350722011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35073
35074 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35075 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
35076 * sysdeps/i386/i686/multiarch/strcat.S: New file.
35077 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
35078 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
35079 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
35080 * sysdeps/i386/i686/multiarch/strncat.S: New file.
35081 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
35082 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
35083
35084 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
35085 (USE_AS_STRCAT): Define.
35086 Add strcat and strncat support.
35087 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
35088
8c1a459f
AS
350892011-07-25 Andreas Schwab <schwab@redhat.com>
35090
35091 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
35092 __n bigger than INT_MAX+1.
35093 (__strncmp_g): Likewise.
35094
bba33c28
UD
350952011-07-23 Ulrich Drepper <drepper@gmail.com>
35096
798be72d
UD
35097 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
35098 * libio/stido.h: Likewise.
35099
8accd4dc
UD
35100 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
35101 (AF_NFC): Define.
35102 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
35103 (AF_NFC): Define.
35104
cbff0d96
UD
35105 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
35106 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35107 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35108 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
35109 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35110
9191c04a
UD
35111 [BZ #13021]
35112 * scripts/test-installation.pl: Don't expect libnss_test1 to be
35113 installed.
35114
bba33c28
UD
35115 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
35116 typo.
35117 (_dl_x86_64_save_sse): Likewise.
35118
90f139dd
UD
351192011-07-22 Ulrich Drepper <drepper@gmail.com>
35120
1aae088a
UD
35121 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
35122 OSXSAVE.
35123 (_dl_x86_64_save_sse): Likewise.
35124
8e2045f5
UD
35125 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
35126
90f139dd
UD
35127 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
35128
1d002f25
AS
351292011-07-21 Andreas Schwab <schwab@redhat.com>
35130
35131 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
35132 change.
35133 (_dl_x86_64_save_sse): Use correct AVX check.
35134
21137f89
UD
351352011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35136
35137 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
35138 bug in strncpy/strncat.
35139 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
35140
a65c0b7a
UD
351412011-07-21 Ulrich Drepper <drepper@gmail.com>
35142
35143 * string/tester.c (test_strcat): Add tests for different alignments
35144 of source and destination.
35145 (test_strncat): Likewise.
35146
6986b98a
UD
351472011-07-20 Ulrich Drepper <drepper@gmail.com>
35148
90bb2039
UD
35149 [BZ #12852]
35150 * posix/glob.c (glob): Check passed in values before using them in
35151 expressions to avoid some overflows.
35152 (glob_in_dir): Likewise.
35153
5644ef54
UD
35154 [BZ #13007]
35155 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
35156 check for AVX enablement so that we don't crash with old kernels and
35157 new hardware.
35158 * elf/tst-audit4.c: Add same checks here.
35159 * elf/tst-audit6.c: Likewise.
35160
35161 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 35162
bfc9dc9b
AS
351632011-07-09 Andreas Schwab <schwab@linux-m68k.org>
35164
35165 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
35166
702e64bb
UD
351672011-07-20 Ulrich Drepper <drepper@gmail.com>
35168
35169 * po/cs.po: Update from translation team.
35170 * po/bg.po: Likewise.
35171
295e904f
MP
351722011-07-12 Marek Polacek <mpolacek@redhat.com>
35173
35174 * misc/sys/cdefs.h: Add support for const attribute.
35175 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
35176 to gnu_dev_{major,minor,makedev} functions.
35177
3ff94596
MP
351782011-07-20 Marek Polacek <mpolacek@redhat.com>
35179
35180 * intl/dcigettext.c (get_output_charset): Add missing bracket.
35181
28b59fca
AS
351822011-07-20 Andreas Schwab <schwab@redhat.com>
35183
35184 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
35185 strlen results.
35186
19df733e
AK
351872011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35188
35189 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
35190 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
35191 register in order to avoid conflicts with the soft frame pointer
35192 being held in r11 when necessary.
35193 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
35194 (INTERNAL_VSYSCALL_NCS): Likewise.
35195
c8835729
MP
351962011-07-14 Marek Polacek <mpolacek@redhat.com>
35197
35198 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
35199 * elf/dl-fini.c (_dl_fini): Adjust caller.
35200 * elf/dl-close.c (_dl_close_worker): Likewise.
35201 * sysdeps/generic/ldsodefs.h: Adjust declaration.
35202
b902330c
MP
352032011-07-15 Marek Polacek <mpolacek@redhat.com>
35204
8991e135
MP
35205 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
35206 "aux_cache->nlibs < 0".
35207
b902330c
MP
35208 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
35209 in the reload-count case.
35210
99710781
LD
352112011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35212
35213 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35214 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
35215 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
35216 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
35217 * sysdeps/x86_64/multiarch/strcat.S: New file.
35218 * sysdeps/x86_64/multiarch/strncat.S: New file.
35219 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
35220 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
35221 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
35222 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
35223 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
35224 (USE_AS_STRCAT): Define.
35225 Add strcat and strncat support.
35226 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
35227 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
35228 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
35229 * string/strncat.c: Update.
35230 (USE_AS_STRNCAT): Define.
35231 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35232 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
35233 and i7.
35234 * sysdeps/x86_64/multiarch/init-arch.h
35235 (bit_Prefer_PMINUB_for_stringop): New.
35236 (index_Prefer_PMINUB_for_stringop): Likewise.
35237 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
35238 bit_Prefer_PMINUB_for_stringop.
35239
7dc6bd90
UD
352402011-07-19 Ulrich Drepper <drepper@gmail.com>
35241
35242 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
35243 buffer64.
35244 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
35245 of casting of buffer.
35246 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
35247 buffer32 and buffer64.
35248 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
35249 writes instead of casting of buffer.
35250 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
35251 buffer32.
35252 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
35253 casting of buffer.
35254
e0e72284
AS
352552011-07-19 Andreas Schwab <schwab@redhat.com>
35256
35257 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
35258
feb1eb0b
UD
352592011-07-19 Ulrich Drepper <drepper@gmail.com>
35260
35261 * nscd/nscd.c (termination_handler): Don't do anything for a database
35262 if it has not yet been initialized.
35263
298711ff
UD
352642011-07-18 Ulrich Drepper <drepper@gmail.com>
35265
35266 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
35267
352682011-07-15 Marek Polacek <mpolacek@redhat.com>
35269
35270 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
35271
f9d68389
UD
352722011-07-18 Ulrich Drepper <drepper@gmail.com>
35273
35274 * po/nl.po: Update from translation team.
35275 * po/sv.po: Likewise.
35276
db290cf5
RM
352772011-07-16 Roland McGrath <roland@hack.frob.com>
35278
35279 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
35280 now disallowed by GCC.
5c550700 35281
fd5e21c7
RM
35282 * configure.in (use-default-link): Default to yes if a test -shared
35283 link meets our qualifications.
35284 * configure: Regenerated.
35285
5c550700
RM
35286 * config.make.in (output-format): New variable.
35287 * configure.in: Check for ld --print-output-format support.
35288 * configure: Regenerated.
35289 * Makerules ($(common-objpfx)format.lds)
35290 [$(output-format) != unknown]: Just use $(output-format),
35291 instead of the linker-script munging.
35292
9fa2c032
RM
352932011-07-14 Roland McGrath <roland@hack.frob.com>
35294
a6928d51
RM
35295 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
35296 of $(common-objpfx)shlib.lds.
35297 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
35298
661607b3
RM
35299 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
35300 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
35301
9fa2c032
RM
35302 * configure.in (-z relro check): Adjust test code to add a large
35303 writable data section after it.
35304 * configure: Regenerated.
35305
defe9061
RM
353062011-07-11 Roland McGrath <roland@hack.frob.com>
35307
35308 * configure.in (-z relro check): Fix test code to make the variable
35309 truly const.
35310 * configure: Regenerated.
35311
319b9ad4
UD
353122011-07-11 Ulrich Drepper <drepper@gmail.com>
35313
35314 * nscd/nscd.h (struct traced_file): Define.
35315 (struct database_dyn): Remove inotify_descr, reset_res, and filename
35316 elements. Add traced_files.
35317 (inotify_fd): Declare.
35318 (register_traced_file): Declare.
35319 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
35320 (inotify_fd): Export.
35321 (resolv_conf_descr): Remove.
35322 (nscd_init): Move inotify descriptor creation to main.
35323 Don't register files for notification here.
35324 (register_traced_file): New function.
35325 (invalidate_cache): Don't use reset_res to determine whether to call
35326 res_init, go through the list of registered files.
35327 (main_loop_poll): The inotify descriptors are now stored in the
35328 structures for the traced files.
35329 (main_loop_epoll): Likewise
35330 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
35331 to __nss_disable_nscd.
35332 * nscd/cache.c (prune_cache): There is no single inotify descriptor
35333 for a database anymore. Check the records for all the registered
35334 files instead.
35335 * nss/Makefile (libnss_files-routines): Add files-init.
35336 (libnss_db-routines): Add db-init.
35337 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
35338 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
35339 * nss/nss_db/db-init.c: New file.
35340 * nss/nss_files/files-init.c: New file.
35341 * nss/nsswitch.c (nss_load_library): New function. Broken out of
35342 __nss_lookup_function.
35343 (__nss_lookup_function): Call nss_load_library.
35344 (nss_load_all_libraries): New function.
35345 (__nss_disable_nscd): Take parameter with callback function for files
35346 to register. Set is_nscd. Load all the DSOs for the NSS modules
35347 used for the cached services.
35348 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
35349 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
35350 options for features to all the files in nscd.
35351
35352 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
35353
23bee3e8
RM
353542011-07-10 Roland McGrath <roland@hack.frob.com>
35355
35356 * csu/elf-init.c (__libc_csu_init): Comment typo.
35357
46a5b7f0
UD
353582011-07-09 Ulrich Drepper <drepper@gmail.com>
35359
35360 * po/pl.po: Update from translation team.
35361 * po/ja.po: Likewise.
35362 * po/ru.po: Likewise.
35363 * po/ko.po: Likewise.
35364 * po/fr.po: Likewise.
35365
d30cf5bb
RM
353662011-07-09 Roland McGrath <roland@hack.frob.com>
35367
113ddea4
RM
35368 * configure.in (.ctors/.dtors header and trailer check):
35369 Use an empirical test on a built program.
35370 * configure: Regenerated.
35371
574920b4
RM
35372 * configure.in (-z relro check): Use an empirical test on a built DSO.
35373 Detect, but do not require, on ia64.
35374 * configure: Regenerated.
35375
d30cf5bb
RM
35376 * configure.in (READELF): Find it with AC_CHECK_TOOL.
35377 Update tests that use readelf to use $READELF instead.
35378 * configure: Regenerated.
35379
8538fdb3
UD
353802011-07-08 Ulrich Drepper <drepper@gmail.com>
35381
35382 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
35383 if the result is not used.
35384
04d08991
AJ
353852011-07-05 Andreas Jaeger <aj@suse.de>
35386
35387 [BZ#9696]
35388 * stdlib/tst-strtod.c: Add testcase.
35389
de283087
AD
353902011-07-07 Ulrich Drepper <drepper@gmail.com>
35391
4e5f31c8 35392 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 35393 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
35394 The latter has a higher limit. Take additional parameter to pass to
35395 the new function.
35396 (__pathconf): Pass file to __statfs_link_max.
35397 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
35398 __statfs_link_max.
35399 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
35400 __statfs_link_max.
35401
de283087
AD
35402 [BZ #12868]
35403 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
35404 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35405 Handle Lustre.
35406 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
35407 (__statfs_filesize_max): Likewise.
35408 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
35409
c75fa153
AJ
354102011-07-05 Andreas Jaeger <aj@suse.de>
35411
35412 * resolv/res_comp.c (dn_skipname): Remove unused variable.
35413
1a544854
UD
354142011-07-06 Marek Polacek <mpolacek@redhat.com>
35415
35416 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
35417 `status' variable.
35418 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
35419 Likewise.
35420
6f0eec67
UD
354212011-07-04 H.J. Lu <hongjiu.lu@intel.com>
35422
35423 * Makefile (strop-tests): Add strncat.
35424 * string/test-strncat.c: New file.
35425
aae30307
UD
354262011-06-30 Marek Polacek <mpolacek@redhat.com>
35427
35428 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
35429
c0cfb5eb
UD
354302011-06-21 Andreas Jaeger <aj@suse.de>
35431
35432 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
35433 Copy rule from iconvdata/Makefile.
35434
01636b21
UD
354352011-07-06 Ulrich Drepper <drepper@gmail.com>
35436
35437 [BZ #12922]
35438 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
35439 but no long options are defined, just return 'W'.
35440
9895c8bc
UD
354412011-06-22 Marek Polacek <mpolacek@redhat.com>
35442
35443 [BZ #9696]
35444 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
35445
5d4cf042
UD
354462011-07-06 Ulrich Drepper <drepper@gmail.com>
35447
35448 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
35449 netgroups to read.
960e5535 35450 (innetgr): Likewise.
5d4cf042 35451
751eb97e
RM
354522011-07-05 Roland McGrath <roland@hack.frob.com>
35453
35454 * config.make.in (install_root): Default to $(DESTDIR).
35455
f15f1e45
UD
354562011-07-05 Ulrich Drepper <drepper@gmail.com>
35457
35458 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
35459
4e34ac6a
RM
354602011-07-02 Roland McGrath <roland@hack.frob.com>
35461
5e9b6af4
RM
35462 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
35463
84f9ea0f
RM
35464 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
35465 containing directory rather than embedding absolute directory names.
35466
ea5ee9f7
RM
35467 * scripts/check-local-headers.sh: Rewritten using awk.
35468 Match by word, not by line. Print error messages for matches.
35469 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
35470
1b74661a
RM
35471 * Makerules [shlib-lds-flags empty]:
35472 ($(common-objpfx)libc_pic.opts): New target.
35473 ($(common-objpfx)libc_pic.os.clean): New target.
35474 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
35475
35476 * config.make.in (OBJCOPY): New variable.
35477 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
35478 * configure: Regenerated.
35479
f781ef40
RM
35480 * config.make.in (use-default-link): New variable.
35481 * configure.in (use_default_link): Grok --with-default-link to set it.
35482 * configure: Regenerated.
35483 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
35484 (shlib-lds, shlib-lds-flags): Define to empty.
35485
2d4fa81e
RM
35486 * Makerules (shlib-lds): New variable.
35487 (shlib-lds-flags): New variable.
35488 (build-shlib, build-moduile, build-module-asneeded): Use it.
35489 ($(common-objpfx)libc.so): Use $(shlib-lds).
35490 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
35491 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
35492
31fffa6b
RM
35493 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
35494 DT_FLAGS/DT_FLAGS_1 with zero flags.
35495
4e34ac6a
RM
35496 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
35497 linker script munging.
35498
fcfc776b
UD
354992011-07-02 Ulrich Drepper <drepper@gmail.com>
35500
35501 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
35502 as 128-bit value.
35503 * crypt/sha512.c (sha512_process_block): Perform total addition using
35504 128-bit if possible.
35505 (__sha512_finish_ctx): Likewise.
35506 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
35507 as 64-bit value.
35508 * crypt/sha256.c (SWAP64): Define.
35509 (sha256_process_block): Perform total addition using 64-bit if
35510 possible.
35511 (__sha256_finish_ctx): Likewise.
35512
99231d9a
UD
355132011-07-01 Ulrich Drepper <drepper@gmail.com>
35514
35515 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
35516 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35517 * nscd/hstcache.c (cache_addhst): Likewise.
35518 * nscd/grpcache.c (cache_addgr): Likewise.
35519 * nscd/aicache.c (addhstaiX): Likewise
35520 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
35521
445b4a53
TK
355222011-07-01 Thorsten Kukuk <kukuk@suse.de>
35523
35524 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
35525 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35526 * nscd/hstcache.c (cache_addhst): Likewise.
35527 * nscd/grpcache.c (cache_addgr): Likewise.
35528 * nscd/aicache.c (addhstaiX): Likewise
35529
6d4d8e8e
AS
355302011-07-01 Andreas Schwab <schwab@redhat.com>
35531
35532 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
35533 domain only when needed.
35534
89f654c5
AS
355352011-06-30 Andreas Schwab <schwab@redhat.com>
35536
35537 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
35538 is always restored.
35539
cf3b23ff
UD
355402011-06-29 Ulrich Drepper <drepper@gmail.com>
35541
35542 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
35543 are re-adding the entry.
35544 * nscd/servicescache.c (cache_addserv): Likewise.
35545
751626f9
AJ
355462011-06-30 Aurelien Jarno <aurelien@aurel32.net>
35547
35548 * sysdeps/generic/dl-irel.h: fix protection against multiple
35549 inclusions.
35550 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
35551
9113ea1f
UD
355522011-06-28 Ulrich Drepper <drepper@gmail.com>
35553
5c0b8d90
UD
35554 [BZ #12935]
35555 * malloc/memusage.sh: Fix quoting in message.
35556 * debug/xtrace.sh: Likewise.
35557
9113ea1f
UD
35558 * configure.in: Remove support for --experimental-malloc option, make
35559 it the default.
35560 * config.make.in: Likewise.
35561 * malloc/Makefile: Likewise.
35562
a4172181
AS
355632011-06-27 Andreas Schwab <schwab@redhat.com>
35564
35565 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
35566 two-byte characters.
35567
78a7eee7
RM
355682011-06-27 Roland McGrath <roland@hack.frob.com>
35569
62bede13
RM
35570 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
35571 AC_CACHE_CHECK invocation.
35572 * configure: Regenerated.
35573
78a7eee7
RM
35574 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
35575
5ce33a62
UD
355762011-06-27 Ulrich Drepper <drepper@gmail.com>
35577
034807a9
UD
35578 [BZ #12350]
35579 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
35580 bit from old_res_options.
35581
4902da17
UD
35582 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
35583
5ce33a62
UD
35584 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
35585 value type for setfct.
35586
c2344f56
L
355872011-06-23 H.J. Lu <hongjiu.lu@intel.com>
35588
35589 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35590 __gettimeofday instead of gettimeofday.
35591
68468076
UD
355922011-06-26 Ulrich Drepper <drepper@gmail.com>
35593
35594 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
35595
acb0d739
L
355962011-06-24 H.J. Lu <hongjiu.lu@intel.com>
35597
35598 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
35599
35600 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
35601 info.
35602
8912479f
L
356032011-06-22 H.J. Lu <hongjiu.lu@intel.com>
35604
35605 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35606 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35607 strcpy-sse2-unaligned strncpy-sse2-unaligned
35608 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
35609 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
35610 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
35611 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
35612 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
35613 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
35614 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
35615 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
35616 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
35617 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
35618 (STRCPY): Support SSE2 and SSSE3 versions.
35619
d5495a11
UD
356202011-06-24 Ulrich Drepper <drepper@gmail.com>
35621
35622 [BZ #12874]
35623 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
35624 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
35625 kernels which artificially limit size of requests.
35626
0b1cbaae
L
356272011-06-22 H.J. Lu <hongjiu.lu@intel.com>
35628
35629 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35630 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35631 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
35632 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
35633 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
35634 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
35635 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
35636 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
35637 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
35638 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
35639 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
35640 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
35641 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
35642 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
35643 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
35644 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35645 Enable unaligned load optimization for Intel Core i3, i5 and i7
35646 processors.
35647 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
35648 Define.
35649 (index_Fast_Unaligned_Load): Define.
35650 (HAS_FAST_UNALIGNED_LOAD): Define.
35651
07f494a0
MP
356522011-06-23 Marek Polacek <mpolacek@redhat.com>
35653
35654 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
35655
fa3fc0fe
UD
356562011-06-22 Ulrich Drepper <drepper@gmail.com>
35657
35658 [BZ #12907]
35659 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
35660 until it is clear that the information is realy needed.
35661 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
35662
e12df166
AS
356632011-06-22 Andreas Schwab <schwab@redhat.com>
35664
35665 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
35666
852eb34d
UD
356672011-06-22 Ulrich Drepper <drepper@gmail.com>
35668
84e2a551
UD
35669 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35670 /sys/devices/system/cpu/online if it is usable.
35671
852eb34d
UD
35672 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
35673 reading the information from the /proc filesystem to once a second.
35674
6e502e19
UD
356752011-06-21 Andreas Jaeger <aj@suse.de>
35676
35677 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
35678 NULL after inclusion of kernel headers.
35679
75d39ff2
UD
356802011-06-21 Ulrich Drepper <drepper@gmail.com>
35681
51f9aa6a
UD
35682 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
35683 calls to internal_setent.
35684
c0244a9d
UD
35685 [BZ #12885]
35686 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
35687 addresses using gethostbyname4_r ignore IPv4 addresses.
35688
c5e3c2ae
UD
35689 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
35690 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
35691
75d39ff2
UD
35692 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
35693
42675c6f
DM
356942011-06-20 David S. Miller <davem@davemloft.net>
35695
35696 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
35697 inclusions.
35698 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
35699
35700 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
35701 (elf_irel): Use it.
35702 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
35703 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
35704 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
35705 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
35706 * sysdeps/x86_64/dl-irel.h: Likewise.
35707
35708 * elf/dl-runtime.c: Use elf_ifunc_invoke.
35709 * elf/dl-sym.c: Likewise.
35710
57912a71
UD
357112011-06-15 Ulrich Drepper <drepper@gmail.com>
35712
35713 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
35714 need to dereference resplen2.
35715
ee22793d
AS
357162011-06-14 Andreas Schwab <schwab@redhat.com>
35717
35718 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
35719
a9e836b0
UD
357202011-06-15 Ulrich Drepper <drepper@gmail.com>
35721
77fb9117
UD
35722 * Makeconfig: Define vardbdir and inst_vardbdir.
35723 * nss/Makefile: Add rules to install db-Makefile.
35724
40c1b22c
UD
35725 * nss/nss_db/db-XXX.c: Cleanup.
35726
9f2da732
UD
35727 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
35728 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
35729 GLIBC_PRIVATE.
35730 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
35731 * nss/makedb.c: Implement -g option to specify that value strings
35732 are generated and should not be added to table iterated over for
35733 get*ent calls.
35734 * nss/nss_db/db-initgroups.c: New file.
35735
82e9a1f7
UD
35736 * nss/getent.c: Add support for initgroups lookups through getgrouplist
35737 interface.
35738
c41af17e
UD
35739 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
35740 (internal_getgrouplist): Adjust to name change.
35741 Update use_initgroups_entry if this is not the first call.
35742 * nss/databases.def: Add initgroups entry.
35743
a9e836b0
UD
35744 * nss/makedb.c (compute_tables): Check result of multiple hash table
35745 sizes to minimize maximum chain length.
35746
2666d441
UD
357472011-06-14 Ulrich Drepper <drepper@gmail.com>
35748
35749 * Versions.def: Add entry for libnss_db.
35750 * shlib-versions: Likewise.
35751 * nss/Makefile: Add rules to build libnss_db.
35752 * nss/Versions: Add libnss_db information. Organize libnss_files
35753 entries better.
35754 * nss/db-Makefile: Add gshadow support. Change rules for the new
35755 makedb progra. Some minor improvements to generate smaller files.
35756 * nss/nss_db/nss_db.h: Move NSS database header data structures to
35757 here from...
35758 * nss/makedb.c: ...here.
35759 Improve database format to be smaller and require less memory at
35760 runtime.
35761 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
35762 db anymore.
35763 * nss/nss_db/db-netgrp.c: Likewise.
35764 * nss/nss_db/db-open.c: Likewise.
35765 * nss/nss_files/flies-XXX.x: Adjust comments.
35766 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
35767 * nss/nss_files/files-grp.c: Likewise.
35768 * nss/nss_files/files-hosts.c: Likewise.
35769 * nss/nss_files/files-network.c: Likewise.
35770 * nss/nss_files/files-proto.c: Likewise.
35771 * nss/nss_files/files-pwd.c: Likewise.
35772 * nss/nss_files/files-rpc.c: Likewise.
35773 * nss/nss_files/files-service.c: Likewise.
35774 * nss/nss_files/files-sgrp.c: Likewise.
35775 * nss/nss_files/files-spwd.c: Likewise.
35776 * nss/nss_db/db-alias.c: Removed.
35777 * nss/nss_db/dummy-db.h: Removed.
35778
9ee76b5a
UD
357792011-06-02 Ulrich Drepper <drepper@gmail.com>
35780
35781 * nss/makedb.c: Rewritten to not use database library.
35782 * nss/Makefile: Update to build new makedb program.
35783
c71ca1f8
AJ
357842011-06-14 Andreas Jaeger <aj@suse.de>
35785
35786 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
35787 memset declaration.
35788
3154bfb8
UD
357892011-06-10 Andreas Schwab <schwab@redhat.com>
35790
35791 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
35792 tmpbuf.
35793
b350afab
RM
357942011-06-10 Roland McGrath <roland@hack.frob.com>
35795
decd4e50
RM
35796 * Makerules (shlib.lds): Fail if the linker script comes out empty.
35797 * elf/Makefile ($(objpfx)ld.so): Likewise.
35798
5615eaf2
RM
35799 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
35800 Don't list ld.so twice in dependencies.
35801
35802 * posix/bug-regex31.c: Include <stdlib.h>.
35803
35804 * nscd/hstcache.c (cache_addhst): Remove unused variable.
35805
35806 * nis/nss_compat/compat-spwd.c
35807 (getspent_next_nss_netgr): Remove unused variable.
35808 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
35809
35810 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
35811 nonmembers" output to use the right array.
35812
35813 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
35814
35815 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
35816
35817 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
35818 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
35819 * catgets/gencat.c (read_input_file): Likewise.
35820 * locale/programs/locarchive.c (enlarge_archive): Likewise.
35821
35822 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
35823 variable definition inside #if's controlling its use.
35824
35825 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
35826
35827 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
35828
35829 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
35830
35831 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
35832 unreachable code.
35833
35834 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
35835
b68e08db
RM
35836 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
35837 * configure: Regenerated.
35838
b350afab
RM
35839 * Makerules: Revert last change.
35840 * elf/Makefile: Likewise.
35841
28368601
RM
358422011-06-09 Roland McGrath <roland@hack.frob.com>
35843
35844 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
35845 * elf/Makefile ($(objpfx)librtld.os): Likewise.
35846 (reloc-link): Likewise.
35847
11988f8f
UD
358482011-06-09 Ulrich Drepper <drepper@gmail.com>
35849
35850 * elf/Makefile: Add rules to build pldd.
35851 * elf/pldd.c: New file.
35852 * elf/pldd-xx.c: New file.
35853
e80fab37
UD
358542011-06-07 Ulrich Drepper <drepper@gmail.com>
35855
35856 * version.h: Update for 2.15 development version.
35857
9b849836
DM
358582011-06-07 David S. Miller <davem@davemloft.net>
35859
35860 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
35861 ifuncs.
35862 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
35863 elf_machine_lazy_rel): Likewise.
35864 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
35865 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
35866 elf_machine_lazy_rel): Likewise.
35867 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
35868 dl_hwcap via passed in argument.
35869 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
35870 Likewise.
35871
5a31b283
AK
358722011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35873
35874 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
35875
069e52f8
RM
358762011-06-06 Roland McGrath <roland@hack.frob.com>
35877
35878 [BZ #12849]
35879 * manual/fdl-1.1.texi: New file, verbatim from:
35880 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
35881 * manual/lgpl-2.1.texi: New file, verbatim from:
35882 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
35883 * manual/Makefile (licenses): New variable, list those new file names.
35884 (texis): Use it.
35885 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
35886
35887 * manual/fdl.texi: File removed.
35888 * manual/lesser.texi: File removed.
35889 * manual/libc.texinfo (Copying, Documentation License):
35890 Use new @include file names, put @appendix directive before @include.
35891
f16846a5
JJ
358922011-06-04 Jakub Jelinek <jakub@redhat.com>
35893
35894 [BZ #12841]
35895 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
35896 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
35897 (mq_open): Add __NTH.
35898
3d29045b
L
358992011-06-02 H.J. Lu <hongjiu.lu@intel.com>
35900
35901 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35902 Assume Intel Core i3/i5/i7 processor if AVX is available.
35903
8c297311
UD
359042011-05-31 Ulrich Drepper <drepper@gmail.com>
35905
35906 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
35907 typo.
35908
c8fc0c91
UD
359092011-05-31 Andreas Schwab <schwab@redhat.com>
35910
35911 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
35912 memory. Use alloca_account. Fix memory leak when retrying.
35913
5b27a807
UD
359142011-05-31 Ulrich Drepper <drepper@gmail.com>
35915
356f8bc6
UD
35916 * version.h (RELEASE): Bump for 2.14 release.
35917 * include/features.h (__GLIBC_MINOR__): Bump to 14.
35918
5b27a807
UD
35919 * config.make.in (RANLIB): Remove entry.
35920
01f16ab0
UD
359212011-05-30 Ulrich Drepper <drepper@gmail.com>
35922
41fce8bd
UD
35923 * po/Makefile (po-sed-cmd): Add ksh to extensions.
35924 (libc.pot): Work around missing support for .ksh extension in xgettext.
35925
4769ae77
UD
35926 [BZ #12684]
35927 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
35928 if both request failed.
35929 (send_dg): In case of server errors clear resplen or *resplen2.
35930
6b1e7d19
UD
35931 [BZ #12454]
35932 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
35933 when there are multiple maps.
35934 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
35935 (_dl_fini): Remove test here.
35936
01f16ab0
UD
35937 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
35938
b1ebd700
UD
359392011-05-29 Ulrich Drepper <drepper@gmail.com>
35940
7ae22829
UD
35941 [BZ #12350]
35942 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
35943 bit from old_res_options.
35944 (gaih_inet): Likewise.
35945
553149f6 35946 [BZ #11099]
18a84741 35947 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
35948 as signed.
35949
652ffab1
UD
35950 * resolv/res_init.c (res_setoptions): Make the code more compact.
35951
16985fd0
UD
35952 [BZ #11558]
35953 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
35954 set RES_USEVC.
35955
0464f746
UD
35956 [BZ #11634]
35957 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
35958
7d17596c
UD
35959 * malloc/malloc.h: Mark malloc hook variables as deprecated.
35960
cf6bbbd7
UD
35961 [BZ #11781]
35962 * malloc/malloc.h: Declare malloc hook variables as volatile.
35963
13f1ab36
UD
35964 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
35965 in last patch.
35966
b1ebd700
UD
35967 [BZ #11799]
35968 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 35969 raise in the comment.
80e2212d
UD
35970 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
35971 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35972 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 35973
ce67228d
UD
359742011-05-28 Ulrich Drepper <drepper@gmail.com>
35975
8887a920
UD
35976 [BZ #12811]
35977 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
35978 grow the buffers more if it already has to be sufficient.
35979 (build_wcs_upper_buffer): Likewise.
35980 * posix/regexec.c (check_matching): Likewise.
35981 (clean_state_log_if_needed): Likewise.
35982 (extend_buffers): Don't enlarge buffers beyond size of the input
35983 buffer.
35984 Patches mostly by Emil Wojak <emil@wojak.eu>.
35985 * posix/bug-regex32.c: New file.
35986 * posix/Makefile (tests): Add bug-regex32.
35987
4f031072
UD
35988 * locale/findlocale.c (_nl_find_locale): Return right away if
35989 _nl_explode_name failed.
35990 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
35991
d0478f0c
UD
35992 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
35993
de81b246
UD
35994 * debug/xtrace.sh: Unify messages.
35995 * malloc/memusage.sh: Likewise.
35996
c738465a
UD
35997 [BZ #12813]
35998 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
35999 time symbol from vDSO. Substitute with vsyscall if not available.
36000 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
36001 __vdso_time.
36002
f1f929d7
UD
36003 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
36004 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
36005 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
36006 Add sendmmsg and internal_sendmmsg.
36007 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
36008 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
36009 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
36010
ce67228d
UD
36011 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
36012 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
36013 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
36014
e57420c6
UD
360152011-05-27 Ulrich Drepper <drepper@gmail.com>
36016
a8509ca5
UD
36017 [BZ #12813]
36018 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
36019 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
36020 available.
36021 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
36022 __vdso_getcpu.
36023
e57420c6
UD
36024 [BZ #12814]
36025 * iconvdata/Makefile (tests): Add bug-iconv9.
36026 * iconvdata/bug-iconv9.c: New file.
36027
4d07db15
AS
360282011-05-27 Andreas Schwab <schwab@redhat.com>
36029
36030 [BZ #12814]
36031 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
36032
ea486f69
JJ
360332011-05-25 Jakub Jelinek <jakub@redhat.com>
36034
36035 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
36036 (struct user_regs_struct): Change intcs field back to cs.
36037
6f038433
UD
360382011-05-25 Ulrich Drepper <drepper@gmail.com>
36039
36040 * po/ja.po: Update from translation team.
36041
67f86a25
UD
360422011-05-23 Ulrich Drepper <drepper@gmail.com>
36043
36044 [BZ #12795]
36045 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
36046 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
36047
def7fbd6
AS
360482011-05-20 Andreas Schwab <schwab@redhat.com>
36049
36050 * stdlib/longlong.h: Update from GCC.
36051
f50ef8f1
AS
360522011-05-23 Andreas Schwab <schwab@redhat.com>
36053
36054 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
36055 parameter name.
36056 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
36057 Add parameter name.
36058 (__sysconf): Pass it down.
36059
de7ce8f1
UD
360602011-05-22 Ulrich Drepper <drepper@gmail.com>
36061
f2962a71
UD
36062 [BZ #12671]
36063 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
36064 some situations.
36065 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
36066 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
36067 add in in __libc_use_alloca calls. Adjust callers.
36068 (glob): Use malloc in some situations.
36069
de7ce8f1
UD
36070 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
36071 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
36072 pltexit.
36073
aec84f53
UD
360742011-05-21 Ulrich Drepper <drepper@gmail.com>
36075
05bb4a68
UD
36076 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
36077 and CLOCK_BOOTTIME_ALARM.
36078
7ea72f99
UD
36079 [BZ #12782]
36080 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
36081 is returned.
36082
7e4afad5
UD
36083 * string/_strerror.c (__strerror_r): Print negative errors as signed
36084 numbers.
36085
8e211fec
UD
36086 [BZ #12777]
36087 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
36088 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
36089 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
36090
f7d82dc9
UD
36091 * configure.in: Fix typo in redirection and correct removal of test
36092 files in two cases.
36093
cc9e536d
UD
36094 [BZ #12788]
36095 * locale/setlocale.c (new_composite_name): Fix test to check for
36096 identical name of all categories.
36097
aec84f53
UD
36098 [BZ #12792]
36099 * libio/filedoalloc.c (local_isatty): New function.
36100 (_IO_file_doallocate): Use local_isatty.
36101 * stdio-common/perror.c (perror): In case a new stream is used
36102 forward the stream error.
36103 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
36104 error flag.
36105
78e64fdc
RT
361062011-05-20 Ulrich Drepper <drepper@gmail.com>
36107
34a9094f
UD
36108 [BZ #11869]
36109 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
36110 alloca.
36111 * include/alloca.h (extend_alloca_account): Define.
36112
78e64fdc
RT
36113 [BZ #11857]
36114 * posix/regex.h: Fix comments with documentation of user-accessible
36115 fields after compilation and describe correct free'ing of pattern
36116 after re_compile_pattern.
36117 Patch by Reuben Thomas <rrt@sc3d.org>.
36118
457bddfc
RA
361192011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
36120
36121 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
36122 and -mno-altivec to prevent the compiler from using Altivec and/or
36123 VSX instructions when the corresponding registers are not available.
36124
a4527b51
AS
361252011-05-19 Andreas Schwab <schwab@redhat.com>
36126
36127 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
36128
ed690b2f
UD
361292011-05-19 Ulrich Drepper <drepper@gmail.com>
36130
36131 * libio/freopen.c (freopen): Use __dup2, not dup2.
36132 * libio/freopen64.c (freopen64): Likewise.
36133
8db73634
L
361342011-05-17 H.J. Lu <hongjiu.lu@intel.com>
36135
36136 [BZ #12775]
36137 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
36138 * math/Makefile (tests): Add test-powl.
36139 (CFLAGS-test-powl.c): Define.
36140 * math/test-powl.c: New file.
36141
0a197a9d
L
361422011-05-16 H.J. Lu <hongjiu.lu@intel.com>
36143
36144 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
36145
ee30c380
UD
361462011-05-17 Ulrich Drepper <drepper@gmail.com>
36147
36148 [BZ #11837]
36149 * iconvdata/gb18030.c: Update to GB18020-2005.
36150
6ce75379
UD
361512011-05-16 Ulrich Drepper <drepper@gmail.com>
36152
a4b89fd8
AR
36153 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
36154 RE_SYNTAX_POSIX_AWK): Update to match recent development.
36155 Patch by Aharon Robbins <arnold@skeeve.com>.
36156
ea389b12
UD
36157 [BZ #11892]
36158 * stdlib/putenv.c (putenv): Don't always create copy of the variable
36159 on the stack.
36160
68a3f91f
UD
36161 [BZ #11895]
36162 * misc/pselect.c (__pselect): Handle timeout value errors hidden
36163 through underflows.
36164
15cc7dd1
UD
36165 [BZ #12766]
36166 * misc/error.c (error_at_line): Ensure file_name and old_file_name
36167 point to strings before performing equality test for error_one_per_line
36168 mode.
36169
f3799213
UD
36170 [BZ #11697]
36171 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
36172
d79a9c94
UD
36173 [BZ #11820]
36174 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
36175 (struct user_fpregs_struct): Avoid __uint*_t types.
36176
56e5eb46
UD
36177 [BZ #6420]
36178 * malloc/mtrace.c (tr_where): Add additional parameter to point to
36179 symbol info. Use it instead of calling _dl_addr locally.
36180 (lock_and_info): New function.
36181 (tr_freehook): Call lock_and_info and pass symbol info as additional
36182 parameter to tr_where.
36183 (tr_mallochook): Likewise.
36184 (tr_reallochook): Likewise.
36185 (tr_memalignhook): Likewise.
36186
6ce75379
UD
36187 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
36188 used and couldn't be at all thread-safe.
36189
f8a3b5bf
UD
361902011-05-15 Ulrich Drepper <drepper@gmail.com>
36191
94b7cc37
UD
36192 * libio/freopen.c (freopen): Don't close old file descriptor
36193 before the new one is opened. Instead dup the new file descriptor
36194 to the old one after the new stream is created.
36195 * libio/freopen64.c (freopen64): Likewise.
36196 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
36197 * libio/fileops.c (_IO_new_file_close_it): Handle new
36198 _IO_FLAGS2_NOCLOSE flag.
36199 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
36200 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
36201 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
36202 _IO_FLAGS2_NOCLOSE flag.
36203 * include/unistd.h: Add hidden_proto for dup3.
36204 Define __have_dup3.
36205 * io/dup3.c: Define hidden symbol.
36206 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
36207
bd25564e
UD
36208 [BZ #7101]
36209 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
36210 when an incomplete long option is used.
36211 * posix/tst-getopt_long1.c: New file.
36212 * posix/Makefile (tests): Add tst-getopt_long1.
36213
c84cfef4
UD
36214 [BZ #10138]
36215 * scripts/config.guess: Update from autoconf-2.68.
36216 * scripts/config.sub: Likewise.
36217
3b85df27
UD
36218 [BZ #10157]
36219 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
36220 tests into ...
36221 (has_cpuclock): ...this. New function.
36222 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
36223 macro here based on has_cpuclock code.
36224
15a856b1
UD
36225 [BZ #10149]
36226 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36227 First byte (not low byte) is now always NUL.
36228 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
36229
05f399e6
UD
36230 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36231 Use non-cancelable interfaces.
36232
10a52685 36233 [BZ #9809]
94ecc67d
UD
36234 * locale/iso-639.def: Add entry for Sorani.
36235
f8a3b5bf
UD
36236 [BZ #11901]
36237 * include/stdlib.h: Move include protection to the right place.
36238 Define abort_msg_s. Declare __abort_msg with it.
36239 * stdlib/abort.c (__abort_msg): Adjust type.
36240 * assert/assert.c (__assert_fail_base): New function. Majority
36241 of code from __assert_fail. Allocate memory for __abort_msg with
36242 mmap.
36243 (__assert_fail): Now call __assert_fail_base.
36244 * assert/assert-perr.c: Remove bulk of implementation. Use
36245 __assert_fail_base.
36246 * include/assert.hL Declare __assert_fail_base.
36247 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
36248 mmap.
36249 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
36250
1af4e298
UD
362512011-05-14 Ulrich Drepper <drepper@gmail.com>
36252
f8a3b5bf 36253 [BZ #11952]
d26dfc60
MG
36254 [BZ #12453]
36255 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
36256 until all modules are registered in the DTV.
36257 * elf/Makefile: Add rules to build and run tst-tls19.
36258 * elf/tst-tls19.c: New file.
36259 * elf/tst-tls19mod1.c: New file.
36260 * elf/tst-tls19mod2.c: New file.
36261 * elf/tst-tls19mod3.c: New file.
36262 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
36263
2fc54d6f
UD
36264 [BZ #12083]
36265 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
36266 correctly.
36267
98d76b46
UD
36268 [BZ #12601]
36269 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
36270 two-byte sequence errors.
36271 * iconvdata/Makefile (tests): Add bug-iconv8.
36272 * iconvdata/bug-iconv8.c: New file.
36273
da3c19ef
UD
36274 [BZ #12626]
36275 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
36276 buf2 definition.
36277
ca408c15
UD
36278 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
36279
d6f67f7d
UD
36280 [BZ #12432]
36281 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
36282 (dummy_getcfa): New function.
36283 (init): Get _Unwind_GetCFA address, use dummy if not found.
36284 (backtrace_helper): In recursion check, also check whether CFA changes.
36285 (__backtrace): Completely initialize arg.
36286
1af4e298 36287 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
36288 storing incomplete byte sequence in state object. Avoid testing for
36289 guaranteed too small input if we know there is enough data available.
1af4e298 36290
da62f81b
AS
362912011-05-11 Andreas Schwab <schwab@redhat.com>
36292
36293 * Makeconfig (+link-pie): Indent.
36294 * Rules (binaries-pie): Define if $(have-fpie) and
36295 $(build-shared).
36296 (binaries-shared): Also filter out $(binaries-pie).
36297 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
36298 * nscd/Makefile (others-pie): Add nscd.
36299 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
36300 ($(objpfx)nscd): Remove command override.
36301 * login/Makefile (others-pie): Add pt_chown.
36302 ($(objpfx)pt_chown): Remove command override.
36303 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
36304 remove command overrides.
36305
fcabc0f8
UD
363062011-05-13 Ulrich Drepper <drepper@gmail.com>
36307
20030ae6
UD
36308 * libio/tst_putwc.c: Fix error messages.
36309
fcabc0f8
UD
36310 [BZ #12724]
36311 * libio/fileops.c (_IO_new_file_close_it): Always flush when
36312 currently writing and seek to current position when not.
36313 * libio/Makefile (tests): Add bug-fclose1.
36314 * libio/bug-fclose1.c: New file.
36315
320a5dc0
PB
363162011-05-12 Ulrich Drepper <drepper@gmail.com>
36317
36318 [BZ #12511]
36319 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
36320 don't set DF_1_NODELETE here.
36321 (do_lookup_x): When entering new entry test for copy relocation
36322 and if necessary set DF_1_NODELETE flag.
36323 * elf/tst-unique4.cc: New file.
36324 * elf/tst-unique4.h: New file.
36325 * elf/tst-unique4lib.cc: New file.
36326 * elf/Makefile: Add rules to build and run tst-unique4.
36327 Patch by Piotr Bury <pbury@goahead.com>.
36328
22836f52
UD
363292011-05-11 Ulrich Drepper <drepper@gmail.com>
36330
f574184a
UD
36331 [BZ #12052]
36332 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
36333
e1fb097f
UD
36334 [BZ #12625]
36335 * misc/mntent_r.c (addmntent): Flush the stream after the output
36336
22836f52
UD
36337 [BZ #12393]
36338 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
36339 (is_trusted_path_normalize): Skip initial colon. Append slash
36340 to empty buffer. Duplicate is_trusted_path code but allow
36341 constructed patch to be prefix.
36342 (is_dst): Allow $ORIGIN followed by /.
36343 (_dl_dst_substitute): Correct clearing of check_for_trusted.
36344 Correct testing of result of is_trusted_path_normalize
36345 (decompose_rpath): Fix warning.
36346
7b3b0b2a
UD
363472011-05-10 Ulrich Drepper <drepper@gmail.com>
36348
36349 [BZ #11257]
36350 * grp/initgroups.c (internal_getgrouplist): When we found the service
36351 list through the initgroups entry in nsswitch.conf do not always
36352 continue on a successful lookup. Don't always use the
eac80ce2 36353 __nss_group_database value if it is set.
7b3b0b2a
UD
36354 * nss/nsswitch.conf (initgroups): Change action for successful db
36355 lookup to continue for compatibility.
36356
2a81eaa5
UD
363572011-05-09 Ulrich Drepper <drepper@gmail.com>
36358
be97a69e
UD
36359 [BZ #11532]
36360 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
36361 and CP774 modules.
36362 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
36363 and CP774 modules.
36364 * iconvdata/tst-tables.sh: Likewise.
36365 * iconvdata/cp770.c: New file.
36366 * iconvdata/cp771.c: New file.
36367 * iconvdata/cp772.c: New file.
36368 * iconvdata/cp773.c: New file.
36369 * iconvdata/cp774.c: New file.
36370 * iconvdata/testdata/CP770: New file.
36371 * iconvdata/testdata/CP770..UTF8: New file.
36372 * iconvdata/testdata/CP771: New file.
36373 * iconvdata/testdata/CP771..UTF8: New file.
36374 * iconvdata/testdata/CP772: New file.
36375 * iconvdata/testdata/CP772..UTF8: New file.
36376 * iconvdata/testdata/CP773: New file.
36377 * iconvdata/testdata/CP773..UTF8: New file.
36378 * iconvdata/testdata/CP774: New file.
36379 * iconvdata/testdata/CP774..UTF8: New file.
36380
36381 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
36382 END CHARMAP line.
36383 * iconvdata/gen-8bit-gap.sh: Likewise.
36384 * iconvdata/gen-8bit.sh: Likewise.
36385
c1e9e399
UD
36386 * locale/iso-639.def: Add ary entry.
36387
24c55fb3 36388 [BZ #11258]
96b4b1b0
UD
36389 * locale/C-translit.h.in: Add U20A1 transliteration.
36390
bdc2f971
KB
36391 [BZ #12178]
36392 * locale/iso-639.def: Add wae entry.
36393 Patch by Kevin Bortis <bortis@translate-wae.ch>.
36394
2952b117
UD
36395 [BZ #12545]
36396 * locale/programs/localedef.c (construct_output_path): Use ssize_t
36397 for n.
36398
2a81eaa5
UD
36399 [BZ #12711]
36400 * locale/C-translit.h.in: Add entry for U20B9.
36401 Patch by pravin.d.s@gmail.com.
36402
28377d1b
UD
364032011-05-08 Ulrich Drepper <drepper@gmail.com>
36404
7fb90fb8
UD
36405 [BZ #12713]
36406 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
36407 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
36408 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
36409 in rtld. Use *stat64.
7fb90fb8 36410 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 36411 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 36412 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
36413 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
36414 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
36415 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
36416 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
36417 __fstatat64 macros.
7fb90fb8
UD
36418 * include/dirent.h: Add libc_hidden_proto for rewinddir.
36419 * dirent/rewinddir.c: Add libc_hidden_def.
36420 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 36421 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 36422
28377d1b
UD
36423 * include/dirent.h (__alloc_dir): Add flags parameter.
36424 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
36425 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
36426 __alloc_dir.
36427 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
36428 from fdopendir if O_CLOEXEC is already set.
36429
66bdbaa4
AM
364302011-03-15 Alan Modra <amodra@gmail.com>
36431
36432 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
36433 l_tls_firstbyte_offset non-zero. Save padding offset in
36434 l_tls_firstbyte_offset for later use.
36435 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
36436 freeing static tls block.
36437
95721191
JN
364382011-03-05 Jonathan Nieder <jrnieder@gmail.com>
36439
36440 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
36441 where #ifdef was intended. The intent is to prevent ARG_MAX from
36442 being defined by the kernel headers.
36443
f87dfb1f
UD
364442011-05-07 Ulrich Drepper <drepper@gmail.com>
36445
36446 [BZ #12734]
36447 * resolv/resolv.h: Define RES_NOTLDQUERY.
36448 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
36449 no-tld-query and set RES_NOTLDQUERY.
36450 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
36451 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
36452 modern BIND to search name as TLD unless forbidden.
36453
47c3cd7a
UD
364542011-05-07 Petr Baudis <pasky@suse.cz>
36455 Ulrich Drepper <drepper@gmail.com>
36456
36457 [BZ #12393]
36458 * elf/dl-load.c (fillin_rpath): Move trusted path check...
36459 (is_trusted_path): ...to here.
c1e9ea35 36460 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 36461 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 36462 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 36463
8a35c912
PP
364642011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
36465
36466 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
36467 __BEGIN/__END_DECLS.
36468
acd41f47
UD
364692011-05-06 Ulrich Drepper <drepper@gmail.com>
36470
36471 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
36472 NSS_STATUS_NOTFOUND if no record was found.
36473
597df647
AS
364742011-05-05 Andreas Schwab <schwab@redhat.com>
36475
36476 * sunrpc/Makefile (headers): Add rpc/netdb.h.
36477 (headers-not-in-tirpc): Remove rpc/netdb.h
36478 * resolv/netdb.h: Revert last change.
36479
b9af1301
PP
364802011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
36481
36482 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
36483 circular dependency between libgcc.a and libc.a.
36484
4e34d5f5
AS
364852011-05-05 Andreas Schwab <schwab@redhat.com>
36486
36487 * resolv/netdb.h: Don't include <rpc/netdb.h>.
36488 * nis/Makefile: Don't install rpcsvc/*.
36489 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
36490 instead of <rpc/types.h>.
36491 (MAXHOSTNAMELEN): Define.
36492
00ee369c
AS
364932011-05-03 Andreas Schwab <schwab@redhat.com>
36494
36495 * elf/ldconfig.c (add_dir): Don't crash on empty path.
36496
0b592a30
MB
364972011-04-28 Maciej Babinski <mbabinski@google.com>
36498
36499 [BZ #12714]
36500 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
36501 gethostbyname4_r when IPv6 results are possible.
36502
6e04cbbe
UD
365032011-05-02 Ulrich Drepper <drepper@gmail.com>
36504
36505 [BZ #12723]
36506 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
36507 _PC_PIPE_BUF handling.
36508
e4ecafe0
BH
365092011-04-30 Bruno Haible <bruno@clisp.org>
36510
36511 [BZ #12717]
36512 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
36513 * resolv/netdb.h (getnameinfo): Change type of flags parameter
36514 to 'int'.
36515 * inet/getnameinfo.c (getnameinfo): Likewise.
36516
125ee683
UD
365172011-04-29 Ulrich Drepper <drepper@gmail.com>
36518
36519 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
36520 to groups setting in database lookup.
36521 * nss/nsswitch.conf: Add initgroups entry.
36522
b722481a
EB
365232011-04-22 Ulrich Drepper <drepper@gmail.com>
36524
36525 [BZ #12685]
36526 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
36527 mode string.
36528 Patch by Eric Blake <eblake@redhat.com>.
36529
4df46dbd
L
365302011-04-20 H.J. Lu <hongjiu.lu@intel.com>
36531
36532 * sunrpc/Makefile (need-export-routines): Add svc_run.
36533 (routines): Remove svc_run.
36534 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
36535 * sunrpc/clnt_perr.c (clnt_perrno): Export.
36536 * sunrpc/svc_run.c (svc_run): Likewise.
36537 * sunrpc/svc_udp.c (svcudp_create): Likewise.
36538
e84142d2
UD
365392011-04-21 Ulrich Drepper <drepper@gmail.com>
36540
36541 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
36542 problem in reallocation in last patch.
36543
877175d8
UD
365442011-04-20 Ulrich Drepper <drepper@gmail.com>
36545
36546 * sunrpc/Makefile: Move inclusion of Rules.
36547
ab8eed78
UD
365482011-04-19 Ulrich Drepper <drepper@gmail.com>
36549
36550 * nss/nss_files/files-initgroups.c: New file.
36551 * nss/Makefile (libnss_files-routines): Add files-initgroups.
36552 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
36553 _nss_files_initgroups_dyn.
36554
e3d8f584
RS
365552011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
36556
36557 * elf/elf.h (R_ARM_IRELATIVE): Define.
36558
af190f45
UD
365592011-04-19 Ulrich Drepper <drepper@gmail.com>
36560
36561 * po/ru.po: Update from translation team.
36562
53cf59ef
UD
365632011-04-17 Ulrich Drepper <drepper@gmail.com>
36564
36565 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
36566 dependencies.
36567
4c559bcd
MF
365682011-02-06 Mike Frysinger <vapier@gentoo.org>
36569
36570 [BZ #12653]
36571 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
36572 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
36573 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36574 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36575 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
36576
4420675c
AS
365772011-03-28 Andreas Schwab <schwab@linux-m68k.org>
36578
36579 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
36580 differing bytes.
36581 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
36582 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
36583 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36584
75ea32ab
UD
365852011-04-17 Ulrich Drepper <drepper@gmail.com>
36586
36587 [BZ #12420]
36588 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
36589 storing it.
36590 * stdlib/bug-getcontext.c: New file.
36591 * stdlib/Makefile: Add rules to build and run bug-getcontext.
36592
27390476
AK
365932011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36594
36595 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
36596 instructions into .machine "z9-109".
36597 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
36598 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
36599
10442705
AK
366002011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36601
36602 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
36603 between environment variables and auxiliary vector.
36604
7b57bfe5
UD
366052011-04-16 Ulrich Drepper <drepper@gmail.com>
36606
36607 * Makefile: Add rules to build linkobj/libc.so.
36608 * include/libc-symbols.h: Define libc_hidden_nolink.
36609 * include/rpc/auth.h: Mark functions which are to be hidden.
36610 * include/rpc/auth_des.h: Likewise.
36611 * include/rpc/auth_unix.h: Likewise.
36612 * include/rpc/clnt.h: Likewise.
36613 * include/rpc/des_crypt.h: Likewise.
36614 * include/rpc/key_prot.h: Likewise.
36615 * include/rpc/pmap_clnt.h: Likewise.
36616 * include/rpc/pmap_prot.h: Likewise.
36617 * include/rpc/pmap_rmt.h: Likewise.
36618 * include/rpc/rpc_msg.h: Likewise.
36619 * include/rpc/svc.h: Likewise.
36620 * include/rpc/svc_auth.h: Likewise.
36621 * include/rpc/xdr.h: Likewise.
36622 * nis/Makefile: Link all DSOs against linkobj/libc.so.
36623 * nss/Makefile: Likewise.
36624 * sunrpc/Makefile: Don't install headers. Build library with normal
36625 entry points. Don't build rpcinfo. Link RPC tests appropriately.
36626 * sunrpc/auth_des.c: Hide exported symbols by default, export some
36627 for the compat linking library. Remove use of INTDEF/INTUSE.
36628 * sunrpc/auth_none.c: Likewise.
36629 * sunrpc/auth_unix.c: Likewise.
36630 * sunrpc/authdes_prot.c: Likewise.
36631 * sunrpc/authuxprot.c: Likewise.
36632 * sunrpc/clnt_gen.c: Likewise.
36633 * sunrpc/clnt_perr.c: Likewise.
36634 * sunrpc/clnt_raw.c: Likewise.
36635 * sunrpc/clnt_simp.c: Likewise.
36636 * sunrpc/clnt_tcp.c: Likewise.
36637 * sunrpc/clnt_udp.c: Likewise.
36638 * sunrpc/clnt_unix.c: Likewise.
36639 * sunrpc/des_crypt.c: Likewise.
36640 * sunrpc/des_soft.c: Likewise.
36641 * sunrpc/get_myaddr.c: Likewise.
36642 * sunrpc/key_call.c: Likewise.
36643 * sunrpc/key_prot.c: Likewise.
36644 * sunrpc/netname.c: Likewise.
36645 * sunrpc/pm_getmaps.c: Likewise.
36646 * sunrpc/pm_getport.c: Likewise.
36647 * sunrpc/pmap_clnt.c: Likewise.
36648 * sunrpc/pmap_prot.c: Likewise.
36649 * sunrpc/pmap_prot2.c: Likewise.
36650 * sunrpc/pmap_rmt.c: Likewise.
36651 * sunrpc/publickey.c: Likewise.
36652 * sunrpc/rpc_cmsg.c: Likewise.
36653 * sunrpc/rpc_common.c: Likewise.
36654 * sunrpc/rpc_dtable.c: Likewise.
36655 * sunrpc/rpc_prot.c: Likewise.
36656 * sunrpc/rpc_thread.c: Likewise.
36657 * sunrpc/rtime.c: Likewise.
36658 * sunrpc/svc.c: Likewise.
36659 * sunrpc/svc_auth.c: Likewise.
36660 * sunrpc/svc_authux.c: Likewise.
36661 * sunrpc/svc_raw.c: Likewise.
36662 * sunrpc/svc_run.c: Likewise.
36663 * sunrpc/svc_simple.c: Likewise.
36664 * sunrpc/svc_tcp.c: Likewise.
36665 * sunrpc/svc_udp.c: Likewise.
36666 * sunrpc/svc_unix.c: Likewise.
36667 * sunrpc/svcauth_des.c: Likewise.
36668 * sunrpc/xcrypt.c: Likewise.
36669 * sunrpc/xdr.c: Likewise.
36670 * sunrpc/xdr_array.c: Likewise.
36671 * sunrpc/xdr_float.c: Likewise.
36672 * sunrpc/xdr_intXX_t.c: Likewise.
36673 * sunrpc/xdr_mem.c: Likewise.
36674 * sunrpc/xdr_rec.c: Likewise.
36675 * sunrpc/xdr_ref.c: Likewise.
36676 * sunrpc/xdr_sizeof.c: Likewise.
36677 * sunrpc/xdr_stdio.c: Likewise.
36678
e6c61494
UD
366792011-04-10 Ulrich Drepper <drepper@gmail.com>
36680
36681 [BZ #12650]
36682 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
36683 * sysdeps/ia64/dl-tls.h: Likewise.
36684 * sysdeps/powerpc/dl-tls.h: Likewise.
36685 * sysdeps/s390/dl-tls.h: Likewise.
36686 * sysdeps/sh/dl-tls.h: Likewise.
36687 * sysdeps/sparc/dl-tls.h: Likewise.
36688 * sysdeps/x86_64/dl-tls.h: Likewise.
36689 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
36690
34fe483e
AS
366912011-03-14 Andreas Schwab <schwab@redhat.com>
36692
36693 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
36694 rpath element also skip the following colon.
36695 (expand_dynamic_string_token): Add is_path parameter and pass
36696 down to DL_DST_REQUIRED and _dl_dst_substitute.
36697 (decompose_rpath): Call expand_dynamic_string_token with
36698 non-zero is_path. Ignore empty rpaths.
36699 (_dl_map_object_from_fd): Call expand_dynamic_string_token
36700 with zero is_path.
36701
f12a32e6
AS
367022011-04-08 Andreas Schwab <schwab@linux-m68k.org>
36703
36704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36705 Make cancelable.
36706
38a7d692
UD
367072011-04-09 Ulrich Drepper <drepper@gmail.com>
36708
36709 [BZ #12655]
36710 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
36711 Patch by Filipe David Manana <fdmanana@apache.org>.
36712
e451d22b
AS
367132011-04-07 Andreas Schwab <schwab@redhat.com>
36714
36715 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
36716 Maintain aligned stack.
36717 (CHECK_RSP): Remove unused macro.
36718
dedc7c7b
UD
367192011-04-03 Ulrich Drepper <drepper@gmail.com>
36720
36721 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
36722 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
36723
94521213
UD
367242011-04-02 Ulrich Drepper <drepper@gmail.com>
36725
36726 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
36727
8cb700c0 36728 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 36729
0354e355
L
367302011-03-26 H.J. Lu <hongjiu.lu@intel.com>
36731
36732 [BZ #12518]
36733 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
36734 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
36735 * sysdeps/x86_64/memmove.c: New file.
36736 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
36737 (memcpy): Renamed to ...
36738 (__new_memcpy): This.
36739 (memcpy): Provide GLIBC_2_14 memcpy.
36740 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
36741 (memcpy): Provide GLIBC_2_2_5 memcpy.
36742
8593482f
UD
367432011-04-01 Ulrich Drepper <drepper@gmail.com>
36744
36745 [BZ #12631]
36746 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
36747
81a5726b
AS
367482011-03-30 Andreas Schwab <schwab@redhat.com>
36749
36750 * misc/syncfs.c: New file.
36751 * misc/Makefile (routines): Add syncfs.
36752 * posix/unistd.h: Declare syncfs.
36753 * sysdeps/unix/syscalls.list: Add syncfs.
36754
00e5419f
AS
367552011-04-01 Andreas Schwab <schwab@redhat.com>
36756
36757 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
36758 open_by_handle_at.
36759 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
36760 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36761 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36762 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36763 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36764 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
36765 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36766
748876bf
UD
367672011-04-01 Ulrich Drepper <drepper@gmail.com>
36768
658e451d
UD
36769 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
36770 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36771 * sysdeps/unix/sysv/linux/powerpc/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
748876bf
UD
36777 * io/Makefile: Compile fallocate.c, fallocate64.c, and
36778 sync_file_range.c with -fexceptions.
36779 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
36780 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
36781 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
36782 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
36783 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
36784 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36785 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
36786 sync_file_range as cancellation point
36787 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
36788 now a wrapper around __call_sync_file_range with cancellation handling.
36789 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
36790 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
36791 function name to __call_sync_file_range.
36792 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
36793 Add call_sync_file_range.
748876bf 36794
6e63d5e1
AS
367952011-04-01 Andreas Schwab <schwab@redhat.com>
36796
36797 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 36798 bits/timex.h.
6e63d5e1 36799
46998f74
UD
368002011-04-01 Ulrich Drepper <drepper@gmail.com>
36801
4c1423ed
UD
36802 * iconv/iconv.h: Fix typo in comment.
36803 * io/fcntl.h: Likewise.
36804 * libio/stdio.h: Likewise.
36805 * posix/spawn.h: Likewise.
36806 * posix/unistd.h: Likewise.
36807 * stdlib/stdlib.h: Likewise.
36808 * time/time.h: Likewise.
36809 * wcsmbs/wchar.h: Likewise.
36810
158648c0
UD
36811 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
36812 open_by_handle): Add.
36813 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
36814 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
36815 Augment a few comments.
36816 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36817 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36818 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36819 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36820 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36821 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
36822 open_by_handle.
36823
46998f74
UD
36824 * io/fcntl.h (AT_EMPTY_PATH): Define.
36825
83fe108b
UD
368262011-03-30 Ulrich Drepper <drepper@gmail.com>
36827
36828 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
36829 * sysdeps/unix/sysv/linux/bits/time.h: New file.
36830 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
36831 to...
36832 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
36833 * Versions.def: Add GLIBC_2.14.
36834 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
36835 Export.
83fe108b 36836
bb242059
UD
368372011-03-22 Ulrich Drepper <drepper@gmail.com>
36838
36839 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
36840 round counter.
36841 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36842
c97a1282
L
368432011-03-20 H.J. Lu <hongjiu.lu@intel.com>
36844
36845 [BZ #12597]
36846 * string/test-strncmp.c (do_page_test): New function.
36847 (check2): Likewise.
36848 (test_main): Call check2.
36849 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
36850
2a115601
UD
368512011-03-20 Ulrich Drepper <drepper@gmail.com>
36852
36853 [BZ #12587]
36854 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
36855 Handle cache information in CPU leaf 4.
36856 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36857
8126d904
UD
368582011-03-18 Ulrich Drepper <drepper@gmail.com>
36859
042c49c6 36860 [BZ #12583]
8126d904
UD
36861 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
36862 character representation.
36863 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
36864
ccfe366e
RA
368652011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
36866
36867 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
36868 END(__isnan) to END(__isnanf) to match function entry point/label
36869 EALIGN(__isnanf,...).
36870
c6e13027
JJ
368712011-03-10 Jakub Jelinek <jakub@redhat.com>
36872
36873 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
36874
33f85a3f
UD
368752011-03-10 Ulrich Drepper <drepper@gmail.com>
36876
028478fa
UD
36877 [BZ #12510]
36878 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
36879 copy from the symbol referenced in the relocation to initialize the
36880 used variable.
36881 Patch by Piotr Bury <pbury@goahead.com>.
36882 * elf/Makefile: Add rules to build and tst-unique3.
36883 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
36884 * elf/tst-unique3.cc: New file.
36885 * elf/tst-unique3.h: New file.
36886 * elf/tst-unique3lib.cc: New file.
36887 * elf/tst-unique3lib2.cc: New file.
36888
33f85a3f
UD
36889 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
36890
03592fc7
MF
368912011-03-10 Mike Frysinger <vapier@gentoo.org>
36892
36893 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
36894 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
36895 to _start.
03592fc7 36896
6a5ee102
UD
368972011-03-06 Ulrich Drepper <drepper@gmail.com>
36898
36899 * elf/dl-load.c (_dl_map_object): If we are looking for the first
36900 to-be-loaded object along a path to loader is ld.so.
36901
7e4ba49c
HJ
369022011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
36903 Ulrich Drepper <drepper@gmail.com>
36904
36905 * sysdeps/x86_64/memset.S: After aligning destination, code
36906 branches to different locations depending on the value of
36907 misalignment, when multiarch is enabled. Fix this.
36908
369092011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
36910
36911 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
36912 Set _x86_64_preferred_memory_instruction for AMD processsors.
36913 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36914 Set bit_Prefer_SSE_for_memop for AMD processors.
36915
13a804de
UD
369162011-03-04 Ulrich Drepper <drepper@gmail.com>
36917
36918 * libio/fmemopen.c (fmemopen): Optimize a bit.
36919
9d25c392
AS
369202011-03-03 Andreas Schwab <schwab@redhat.com>
36921
36922 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
36923
a5543c6a
RM
369242011-03-03 Roland McGrath <roland@redhat.com>
36925
36926 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
36927
012d35f7
DM
369282011-02-28 Aurelien Jarno <aurelien@aurel32.net>
36929
7e4ba49c 36930 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
36931 __bzero_ultra1 instead of __memset_ultra1.
36932
4bff6e01
AS
369332011-02-23 Andreas Schwab <schwab@redhat.com>
36934 Ulrich Drepper <drepper@gmail.com>
36935
36936 [BZ #12509]
36937 * include/link.h (struct link_map): Add l_orig_initfini.
36938 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
36939 returning unsuccessfully.
36940 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
36941 close of a file loaded at startup, restore the original l_initfini
36942 list.
36943 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
36944 list, store the pointer.
36945 * elf/Makefile ($(objpfx)noload-mem): New rule.
36946 (noload-ENV): Define.
36947 (tests): Add $(objpfx)noload-mem.
36948 * elf/noload.c: Include <memcheck.h>.
36949 (main): Call mtrace. Close all opened handles.
36950
f2092faf
AS
369512011-02-17 Andreas Schwab <schwab@redhat.com>
36952
36953 [BZ #12454]
36954 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
36955 dependencies are missing.
36956
6c8a2e88
ST
369572011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
36958
f2092faf 36959 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
36960 Hurd needs munmap.
36961 * sysdeps/mach/hurd/ifreq.h: New file.
36962
84a42118
PB
369632011-01-27 Petr Baudis <pasky@suse.cz>
36964 Ulrich Drepper <drepper@gmail.com>
36965
071f805e 36966 [BZ 12445]#
84a42118
PB
36967 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
36968 to extend_alloca().
36969 * stdio-common/bug23.c: New file.
36970 * stdio-common/Makefile (tests): Add bug23.
36971
e23fe25b
AS
369722010-09-28 Andreas Schwab <schwab@redhat.com>
36973 Ulrich Drepper <drepper@gmail.com>
36974
36975 [BZ #12489]
36976 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
36977 before performing relro protection. At old place add assertion
36978 to make sure nothing changed.
36979
d3f02e10
NS
369802011-02-17 Nathan Sidwell <nathan@codesourcery.com>
36981 Glauber de Oliveira Costa <glommer@gmail.com>
36982
36983 * elf/elf.h: Add new ARM TLS relocs.
36984
d55fd7a5
RA
369852011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
36986
36987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
36988 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
36989 cast from r3.
36990 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
36991 'tests' variable.
36992 * sysdeps/wordsize-64/tst-writev.c: New file.
36993
2206397e
RA
369942011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
36995
36996 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
36997 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
36998 insns in _dl_start to prevent a TOC reference before relocs are
36999 resolved.
37000
e9433893
UD
370012011-02-15 Ulrich Drepper <drepper@gmail.com>
37002
37003 [BZ #12469]
37004 * Makeconfig: Remove RANLIB definition.
37005 * Makerules: Don't use RANLIB.
37006 * aclocal.m4: Remove ranlib test.
37007 * configure.in: No need to check for ranlib.
37008 * elf/rtld-Rules: Don't use RANLIB.
37009
f75286c6
ST
370102011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
37011
8e31c82d
ST
37012 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
37013 protection macro.
37014 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
37015 inclusion protection macro.
37016
f75286c6
ST
37017 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
37018 SIGRTMIN and SIGRTMAX and print information in that case only when
37019 SIGRTMIN is defined.
37020
c1d0e639
JJ
370212011-02-11 Jakub Jelinek <jakub@redhat.com>
37022
37023 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
37024 arginfo fn returning -1.
37025
37026 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
37027 and thousands string is zero terminated.
37028
edf9294e
AS
370292011-02-03 Andreas Schwab <schwab@redhat.com>
37030
37031 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
37032 sysdeps/unix/sysv/linux/bits/socket.h.
37033
2b7e92df
ST
370342011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
37035
edf9294e
AS
37036 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
37037 (__CPU_COUNT): Remove old macros.
37038 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
37039 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
37040 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
37041 (__sched_cpualloc, __sched_cpufree): Add declarations.
37042
a4c7ea7b
UD
370432011-02-05 Ulrich Drepper <drepper@gmail.com>
37044
37045 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
37046 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
37047 * nscd/aicache.c (addhstaiX): Return timeout of added value.
37048 (readdhstai): Return value of addhstaiX call.
37049 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
37050 (addgrbyX): Return value returned by cache_addgr.
37051 (readdgrbyname): Return value returned by addgrbyX.
37052 (readdgrbygid): Likewise.
37053 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
37054 (addpwbyX): Return value returned by cache_addpw.
37055 (readdpwbyname): Return value returned by addhstbyX.
37056 (readdpwbyuid): Likewise.
37057 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
37058 (addservbyX): Return value returned by cache_addserv.
37059 (readdservbyname): Return value returned by addservbyX:
37060 (readdservbyport): Likewise.
37061 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
37062 (addhstbyX): Return value returned by cache_addhst.
37063 (readdhstbyname): Return value returned by addhstbyX.
37064 (readdhstbyaddr): Likewise.
37065 (readdhstbynamev6): Likewise.
37066 (readdhstbyaddrv6): Likewise.
37067 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
37068 (readdinitgroups): Return value returned by addinitgroupsX.
37069 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
37070 (prune_cache): Keep track of timeout value of re-added entries.
37071 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
37072 * nscd/nscd.h: Adjust prototypes of readd* functions.
37073
a0bf67cc
RM
370742011-02-04 Roland McGrath <roland@redhat.com>
37075
37076 * nis/nis_server.c (nis_servstate): Use the right name for 0.
37077 (nis_stats): Likewise.
37078 * nis/nis_modify.c (nis_modify): Likewise.
37079 * nis/nis_remove.c (nis_remove): Likewise.
37080 * nis/nis_add.c (nis_add): Likewise.
37081
37082 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
37083
37084 * posix/fnmatch_loop.c: Add some consts.
37085
37086 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
37087
435b95eb
L
370882011-02-02 H.J. Lu <hongjiu.lu@intel.com>
37089
37090 [BZ #12460]
37091 * config.make.in (config-cflags-novzeroupper): Define.
37092 * configure.in: Substitute libc_cv_cc_novzeroupper.
37093 * elf/Makefile (AVX-CFLAGS): Define.
37094 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
37095 (CFLAGS-tst-auditmod4a.c): Likewise.
37096 (CFLAGS-tst-auditmod4b.c): Likewise.
37097 (CFLAGS-tst-auditmod6b.c): Likewise.
37098 (CFLAGS-tst-auditmod6c.c): Likewise.
37099 (CFLAGS-tst-auditmod7b.c): Likewise.
37100 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
37101
8517b15e
UD
371022011-02-02 Ulrich Drepper <drepper@gmail.com>
37103
37104 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
37105 function to the callback.
37106 Patch partly by Jiri Olsa <jolsa@redhat.com>.
37107
10a656fe
AS
371082011-02-02 Andreas Schwab <schwab@redhat.com>
37109
37110 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
37111 of errno.
37112
968dad0a
UD
371132011-01-19 Ulrich Drepper <drepper@gmail.com>
37114
9f94d2ea 37115 [BZ #11724]
968dad0a
UD
37116 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
37117 of constructors.
37118 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
37119 of destructors.
37120 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
37121
37122 [BZ #11724]
37123 * elf/Makefile: Add rules to build and run new test.
37124 * elf/tst-initorder.c: New file.
37125 * elf/tst-initorder.exp: New file.
37126 * elf/tst-initordera1.c: New file.
37127 * elf/tst-initordera2.c: New file.
37128 * elf/tst-initordera3.c: New file.
37129 * elf/tst-initordera4.c: New file.
37130 * elf/tst-initorderb1.c: New file.
37131 * elf/tst-initorderb2.c: New file.
37132 * elf/tst-order-a1.c: New file.
37133 * elf/tst-order-a2.c: New file.
37134 * elf/tst-order-a3.c: New file.
37135 * elf/tst-order-a4.c: New file.
37136 * elf/tst-order-b1.c: New file.
37137 * elf/tst-order-b2.c: New file.
37138 * elf/tst-order-main.c: New file.
37139 New test case by George Gensure <werkt0@gmail.com>.
37140
86e92359
UD
371412010-10-01 Andreas Schwab <schwab@redhat.com>
37142
37143 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
37144 decoding ACE if AI_CANONIDN.
37145
5d5732b0
UD
371462011-01-18 Ulrich Drepper <drepper@gmail.com>
37147
37148 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
37149
a77e8cbc
UD
371502011-01-17 Ulrich Drepper <drepper@gmail.com>
37151
6392473f
UD
37152 * version.h (RELEASE): Bump for 2.13 release.
37153 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
37154
620a0529
UD
37155 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
37156
18ba70a5
UD
37157 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
37158 MADV_NOHUGEPAGE.
32465c3e
UD
37159 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
37160 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
37161 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37162 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
37163 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37164 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
37165
c0dafcf1
UD
37166 * posix/getconf.c: Update copyright year.
37167 * catgets/gencat.c: Likewise.
37168 * csu/version.c: Likewise.
37169 * debug/catchsegv.sh: Likewise.
37170 * debug/xtrace.sh: Likewise.
37171 * elf/ldconfig.c: Likewise.
37172 * elf/ldd.bash.in: Likewise.
37173 * elf/sprof.c (print_version): Likewise.
37174 * iconv/iconv_prog.c: Likewise.
37175 * iconv/iconvconfig.c: Likewise.
37176 * locale/programs/locale.c: Likewise.
37177 * locale/programs/localedef.c: Likewise.
37178 * malloc/memusage.sh: Likewise.
37179 * malloc/mtrace.pl: Likewise.
37180 * nscd/nscd.c (print_version): Likewise.
37181 * nss/getent.c: Likewise.
37182
a77e8cbc
UD
37183 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
37184 PF_CAIF, and PF_ALG.
37185 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37186
77e8bddf
AS
371872011-01-16 Andreas Schwab <schwab@linux-m68k.org>
37188
1f20b93a
AS
37189 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
37190 (modules-names): Use them.
37191 (ifunc-test-modules, ifunc-pie-tests): Define.
37192 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
37193 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
37194 (test-extras): Likewise.
37195 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
37196 $(compile-command.c).
37197 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
37198 (all-built-dso): Define.
37199 (check-textrel.out, check-execstack.out): Depend on it.
37200
77e8bddf
AS
37201 * configure.in: Don't override --enable-multi-arch.
37202
bc425b33
UD
372032011-01-15 Ulrich Drepper <drepper@gmail.com>
37204
37205 [BZ #6812]
37206 * nscd/hstcache.c (tryagain): Define.
37207 (cache_addhst): Return tryagain not notfound for temporary errors.
37208 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
37209 failed.
37210
794c3ad3
UD
372112011-01-14 Ulrich Drepper <drepper@gmail.com>
37212
70181fdd
UD
37213 [BZ #10563]
37214 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
37215 to make the syscall.
37216 * sysdeps/unix/sysv/linux/setgroups.c: New file.
37217
794c3ad3
UD
37218 [BZ #12378]
37219 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
37220 and fall back to matching as normal character if the string ends before
37221 the matching ']' is found. This is what POSIX requires.
37222 * posix/testfnm.c: Adjust test result.
37223 * posix/globtest.sh: Adjust test result. Add new test.
37224 * posix/tst-fnmatch.input: Likewise.
37225 * posix/tst-fnmatch2.c: Add new test.
37226
68dc9497
AS
372272010-12-28 Andreas Schwab <schwab@linux-m68k.org>
37228
37229 * elf/Makefile (check-execstack): Revert last change. Depend on
37230 check-execstack.h.
37231 (check-execstack.h): New target.
37232 (generated): Add check-execstack.h.
37233 * elf/check-execstack.c: Include "check-execstack.h".
37234 (main): Revert last change.
37235 (handle_file): Return zero if GNU_STACK is absent and
37236 DEFAULT_STACK_PERMS doesn't include PF_X.
37237
451f001b
UD
372382011-01-13 Ulrich Drepper <drepper@gmail.com>
37239
cfa28e56
UD
37240 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
37241 in child fails because the descriptor is already closed.
8cf8ce17
UD
37242 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
37243 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
37244 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 37245
1086d70d
UD
37246 [BZ #12397]
37247 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
37248 syscall.
37249
451f001b
UD
37250 [BZ #10484]
37251 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
37252 temporary buffer used to handle multi lookups locally.
a85b5cb4 37253 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 37254
08769175
UD
372552011-01-12 Ulrich Drepper <drepper@gmail.com>
37256
37257 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
37258 loader is ld.so.
37259
5e49c52e
UD
372602011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
37261
37262 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
37263 alignment for SSE2.
37264
60522a5f
UD
372652011-01-12 Ulrich Drepper <drepper@gmail.com>
37266
37267 [BZ #12394]
37268 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
37269 characters. When rounding increased number of integer digits recompute
37270 number of groups.
37271 * stdio-common/tst-grouping.c: New file.
37272 * stdio-common/Makefile: Add rules to build and run tst-grouping.
37273
f257bbd7
UD
372742011-01-09 Ulrich Drepper <drepper@gmail.com>
37275
37276 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
37277 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
37278
37279 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
37280 void.
37281 * bits/select.h: Likewise.
37282
fa9c15cb
UD
372832011-01-08 Ulrich Drepper <drepper@gmail.com>
37284
37285 * po/ja.po: Update from translation team.
37286
16c2895f
DM
372872011-01-04 David S. Miller <davem@sunset.davemloft.net>
37288
37289 [BZ #11155]
37290 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
37291 implementation just like for lxstat, fxstatat, et al.
37292
2543fef2
JM
372932010-12-27 Jim Meyering <meyering@redhat.com>
37294
37295 [BZ #12348]
37296 * posix/regexec.c (build_trtable): Return failure indication upon
37297 calloc failure. Otherwise, re_search_internal could infloop on OOM.
37298
98727dbe
UD
372992010-12-25 Ulrich Drepper <drepper@gmail.com>
37300
5bd6dc5c
UD
37301 [BZ #12201]
37302 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
37303 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
37304 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
37305 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
37306
97983464
UD
37307 [BZ #12207]
37308 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
37309
98727dbe
UD
37310 [BZ #12204]
37311 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
37312 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
37313
4a531bb0
L
373142010-12-15 H.J. Lu <hongjiu.lu@intel.com>
37315
37316 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
37317 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
37318 script has SORT_BY_INIT_PRIORITY.
37319 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
37320 NO_CTORS_DTORS_SECTIONS is defined.
37321 * elf/soinit.c: Likewise.
37322 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
37323 NO_CTORS_DTORS_SECTIONS is defined.
37324 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
37325 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
37326 * sysdeps/sh/init-first.c: Likewise.
37327 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
37328
07eb4b71
UD
373292010-12-24 Ulrich Drepper <drepper@gmail.com>
37330
37331 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
37332 always use the slow path.
37333
30950a5f
RA
373342010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
37335
37336 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
37337 similar rule which adds the sysdep directories to the header search in
37338 order to pick up the correct platform stackinfo.h.
37339 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
37340 perform test if it is, otherwise return successfully without testing.
37341 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
37342 DEFAULT_STACK_PERMS define in stackinfo.h.
37343 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
37344 defined in stackinfo.h.
37345 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
37346 DEFAULT_STACK_PERMS defined in stackinfo.h.
37347 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
37348 * sysdeps/ia64/stackinfo.h: Likewise.
37349 * sysdeps/s390/stackinfo.h: Likewise.
37350 * sysdeps/sh/stackinfo.h: Likewise.
37351 * sysdeps/sparc/stackinfo.h: Likewise.
37352 * sysdeps/x86_64/stackinfo.h: Likewise.
37353 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
37354 PF_X for powerpc64. Retain PF_X for powerpc32.
37355
db753e2c
UD
373562010-12-19 Ulrich Drepper <drepper@gmail.com>
37357
14b697f7
UD
37358 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
37359 accurately.
db753e2c
UD
37360 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
37361 GETDENTS_64BIT_ALIGNED.
37362
28300719
UD
373632010-12-14 Ulrich Drepper <dreper@gmail.com>
37364
14b697f7 37365 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 37366
4f197237
AS
373672010-12-10 Andreas Schwab <schwab@redhat.com>
37368
dbb0472f
AS
37369 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
37370 _GNU_SOURCE.
37371
4f197237
AS
37372 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
37373 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
37374 Remove __restrict.
37375 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
37376 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
37377
fb88ac72
UD
373782010-12-09 Ulrich Drepper <drepper@gmail.com>
37379
37380 [BZ #11655]
37381 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
37382 are initialized.
37383
42acbb92
JJ
373842010-12-09 Jakub Jelinek <jakub@redhat.com>
37385
37386 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
37387
c038d98d
UD
373882010-12-03 Ulrich Drepper <drepper@gmail.com>
37389
37390 * po/it.po: Update from translation team.
37391
3a4a2499
L
373922010-12-01 H.J. Lu <hongjiu.lu@intel.com>
37393
37394 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
37395 unused codes.
37396
1e24cf6e
UD
373972010-11-30 Ulrich Drepper <drepper@gmail.com>
37398
37399 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
37400
a7690819
AS
374012010-11-24 Andreas Schwab <schwab@redhat.com>
37402
37403 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
37404 specially.
37405 (gaih_getanswer_slice): Likewise.
37406
3bf8d1b1
JJ
374072010-10-20 Jakub Jelinek <jakub@redhat.com>
37408
37409 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
37410
6db52fbb
PB
374112010-05-31 Petr Baudis <pasky@suse.cz>
37412
37413 [BZ #11149]
37414 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
37415 silently even in the chroot mode.
37416
eaca7569
UD
374172010-11-22 Ulrich Drepper <drepper@gmail.com>
37418
37419 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
37420 last patch a bit. Pretty printing
37421
3056dcdb
UD
374222010-05-31 Petr Baudis <pasky@suse.cz>
37423
37424 [BZ #10085]
37425 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
37426 initialization of skip_initgroups_dyn.
37427
cf7c9078
UD
374282010-11-19 Ulrich Drepper <drepper@gmail.com>
37429
37430 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
37431 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
37432
a1fb5e3e
UD
374332010-11-16 Ulrich Drepper <drepper@gmail.com>
37434
37435 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
37436
3540d66b
AS
374372010-11-11 Andreas Schwab <schwab@redhat.com>
37438
37439 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
37440 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
37441 (tst-fnmatch-ENV): Set MALLOC_TRACE.
37442 ($(objpfx)tst-fnmatch-mem): New rule.
37443 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
37444 * posix/tst-fnmatch.c (main): Call mtrace.
37445
13b69574
L
374462010-11-11 H.J. Lu <hongjiu.lu@intel.com>
37447
37448 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37449 Support Intel processor model 6 and model 0x2c.
37450
da93d214
LM
374512010-11-10 Luis Machado <luisgpm@br.ibm.com>
37452
37453 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
37454 signed comparison.
37455
8ca52c6e
L
374562010-11-09 H.J. Lu <hongjiu.lu@intel.com>
37457
37458 [BZ #12205]
37459 * string/test-strncasecmp.c (check_result): New function.
37460 (do_one_test): Use it.
37461 (check1): New function.
37462 (test_main): Use it.
37463 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
37464 Support strcasecmp and strncasecmp.
37465
69da074d
UD
374662010-11-08 Ulrich Drepper <drepper@gmail.com>
37467
37468 [BZ #12194]
37469 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
37470 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37471
ff02d528
L
374722010-11-07 H.J. Lu <hongjiu.lu@intel.com>
37473
37474 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
37475 IFUNC support.
37476 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37477 memset-x86-64.
37478 * sysdeps/x86_64/multiarch/bzero.S: New file.
37479 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
37480 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
37481 * sysdeps/x86_64/multiarch/memset.S: New file.
37482 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
37483 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37484 Set bit_Prefer_SSE_for_memop for Intel processors.
37485 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
37486 Define.
37487 (index_Prefer_SSE_for_memop): Define.
37488 (HAS_PREFER_SSE_FOR_MEMOP): Define.
37489
344d0b54
LM
374902010-11-04 Luis Machado <luisgpm@br.ibm.com>
37491
37492 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
37493 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
37494
c0dde15b
UD
374952010-11-03 H.J. Lu <hongjiu.lu@intel.com>
37496
37497 [BZ #12191]
37498 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37499 (__x86_64_raw_data_cache_size_half): Likewise.
37500 (__x86_64_raw_shared_cache_size): Likewise.
37501 (__x86_64_raw_shared_cache_size_half): Likewise.
37502
37503 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37504 (__x86_64_raw_data_cache_size_half): Likewise.
37505 (__x86_64_raw_shared_cache_size): Likewise.
37506 (__x86_64_raw_shared_cache_size_half): Likewise.
37507 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
37508 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
37509 and __x86_64_raw_shared_cache_size_half. Round
37510 __x86_64_data_cache_size_half, __x86_64_data_cache_size
37511 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
37512 to multiple of 256 bytes.
37513
0e516e0e
MS
375142010-11-03 Ulrich Drepper <drepper@gmail.com>
37515
37516 [BZ #12167]
37517 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
37518 of inacessible symlinks. Verify result of symlink before returning it.
37519 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
37520 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
37521
0e012e87
ER
375222010-10-28 Erich Ritz <erichritz@gmail.com>
37523
37524 * math/math.h (isinf): Fix typo in comment.
37525
de0ff7bc
UD
375262010-11-01 Ulrich Drepper <drepper@gmail.com>
37527
37528 * po/da.po: Update from translation team.
37529
fa41c84d
UD
375302010-10-26 Ulrich Drepper <drepper@gmail.com>
37531
37532 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
37533 is added to the list.
37534
f0967738
AK
375352010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37536 Ulrich Drepper <drepper@gmail.com>
37537
37538 * elf/dl-object.c (_dl_new_object): Don't append the new object to
37539 the global list here. Move code to...
37540 (_dl_add_to_namespace_list): ...here. New function.
37541 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
37542 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
37543 * elf/dl-load.c (lose): Don't remove the element from the list.
37544 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
37545 (_dl_map_object): Likewise.
37546
375472010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
37548
37549 [BZ #12159]
37550 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
37551 into all bytes of SSE register.
37552 Patch by Richard Li <richardpku@gmail.com>.
37553
f0967738 375542010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
37555
37556 [BZ #12140]
37557 * malloc/malloc.c (_int_free): Fill correct number of bytes when
37558 perturbing.
37559
d0b9e94f
MB
375602010-10-20 Michael B. Brutman <brutman@us.ibm.com>
37561
37562 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
37563 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
37564 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
37565 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
37566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
37567 submachine.
37568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
37569
8e9f92e9
AS
375702010-10-22 Andreas Schwab <schwab@redhat.com>
37571
37572 * include/dlfcn.h (__RTLD_SECURE): Define.
37573 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
37574 mode & __RTLD_SECURE instead.
37575 (open_path): Rename preloaded parameter to secure.
37576 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
37577 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
37578 * elf/dl-deps.c (openaux): Likewise.
37579 * elf/rtld.c (struct map_args): Remove is_preloaded.
37580 (map_doit): Don't use it.
37581 (dl_main): Likewise.
37582 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
37583 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
37584
bc96fbda
AS
375852010-09-09 Andreas Schwab <schwab@redhat.com>
37586
37587 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
37588 (sysd-rules-targets): Remove duplicates.
37589 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
37590 rtld-%.$o dependency.
37591
22cd1c9b
AS
375922010-10-18 Andreas Schwab <schwab@redhat.com>
37593
37594 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
37595 _dl_map_object do it.
37596
18edac48
UD
375972010-10-19 Ulrich Drepper <drepper@gmail.com>
37598
37599 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
37600 fast fma builtins, define the macros in the C99 standard.
37601 (FP_FAST_FMAF): Likewise.
37602 (FP_FAST_FMAL): Likewise.
37603 * sysdeps/x86_64/bits/mathdef.h: Likewise.
37604
37605 * bits/mathdef.h: Update copyright year.
37606 * sysdeps/powerpc/bits/mathdef.h: Likewise.
37607
d2050124
MM
376082010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
37609
37610 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
37611 builtins, define the macros in the C99 standard.
37612 (FP_FAST_FMAF): Likewise.
37613 (FP_FAST_FMAL): Likewise.
37614 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
37615 multiply/add.
37616 (FP_FAST_FMAF): Likewise.
37617
475facd1
JJ
376182010-10-15 Jakub Jelinek <jakub@redhat.com>
37619
37620 [BZ #3268]
37621 * math/libm-test.inc (fma_test): Some new testcases.
37622 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
37623 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
37624 y and infinite z. Do multiplication by C already in long double.
37625 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
37626 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
37627 y and infinite z. Do bitwise or of inexact bit into u.d.
37628 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
37629 * sysdeps/i386/fpu/s_fmaf.S: Removed.
37630 * sysdeps/i386/fpu/s_fma.S: Removed.
37631 * sysdeps/i386/fpu/s_fmal.S: Removed.
37632
7c08a05c
JJ
376332010-10-16 Jakub Jelinek <jakub@redhat.com>
37634
37635 [BZ #3268]
37636 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
37637 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
37638 computation is not scheduled after fetestexcept. Fix value
37639 of minimum denormal long double.
37640
f3f7372d
JJ
376412010-10-14 Jakub Jelinek <jakub@redhat.com>
37642
37643 [BZ #3268]
37644 * math/libm-test.inc (fma_test): Add some more tests.
37645 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
37646 correctly.
37647
14d43591
AS
376482010-10-15 Andreas Schwab <schwab@redhat.com>
37649
37650 * scripts/data/localplt-s390-linux-gnu.data: New file.
37651 * scripts/data/localplt-s390x-linux-gnu.data: New file.
37652
5e908464
JJ
376532010-10-13 Jakub Jelinek <jakub@redhat.com>
37654
37655 [BZ #3268]
37656 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
37657 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
37658 instead of dbl-64.
37659 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
37660 inlines.
37661 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
37662 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
37663 if one of x and y is very large and the other is subnormal.
37664 * sysdeps/s390/fpu/s_fmaf.c: New file.
37665 * sysdeps/s390/fpu/s_fma.c: New file.
37666 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
37667 * sysdeps/powerpc/fpu/s_fma.S: New file.
37668 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
37669 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
37670 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
37671
376722010-10-12 Jakub Jelinek <jakub@redhat.com>
37673
37674 [BZ #3268]
37675 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
37676 fma tests.
37677 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
37678 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
37679 * sysdeps/i386/i686/multiarch/s_fma.c: Include
37680 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
37681 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
37682 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
37683 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
37684
b833d51f
UD
376852010-10-12 Ulrich Drepper <drepper@redhat.com>
37686
37687 [BZ #12078]
37688 * posix/regcomp.c (parse_branch): One more memory leak plugged.
37689 * posix/bug-regex31.input: Add test case.
37690
1751705d
UD
376912010-10-11 Ulrich Drepper <drepper@gmail.com>
37692
e9b9cbf5
UD
37693 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
37694 * posix/bug-regex31.input: New file.
37695
37696 [BZ #12078]
37697 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
37698 (parse_sub_exp): Fix last change, use postorder.
37699
ef06edbe
UD
37700 * posix/bug-regex31.c: New file.
37701 * posix/Makefile: Add rules to build and run bug-regex31.
37702
a129c80d
UD
37703 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
37704
37705 [BZ #12078]
37706 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
37707
b76b818e
UD
37708 [BZ #12108]
37709 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
37710 to have entries in sys_siglist.
37711
1751705d
UD
37712 [BZ #12093]
37713 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
37714 be NULL.
37715
9ff8d36f
JJ
377162010-10-07 Jakub Jelinek <jakub@redhat.com>
37717
37718 [BZ #3268]
37719 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
37720 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
37721 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
37722 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
37723 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37724 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
37725 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
37726 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
37727 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
37728 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
37729 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
37730 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
37731 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
37732 * math/ftestexcept.c (fetestexcept): Likewise.
37733 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
37734 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
37735 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
37736 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
37737 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
37738 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
37739 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37740
af325969
UD
377412010-10-11 Ulrich Drepper <drepper@gmail.com>
37742
c579b202 37743 [BZ #12107]
af325969
UD
37744 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
37745 newline.
37746
67a67b95
UD
377472010-10-06 Ulrich Drepper <drepper@gmail.com>
37748
37749 * string/bug-strstr1.c: New file.
37750 * string/Makefile: Add rules to build and run bug-strstr1.
37751
5fb308bc
EB
377522010-10-05 Eric Blake <eblake@redhat.com>
37753
37754 [BZ #12092]
37755 * string/str-two-way.h (two_way_long_needle): Always clear memory
37756 when skipping input due to the shift table.
37757
45db99c7
UD
377582010-10-03 Ulrich Drepper <drepper@gmail.com>
37759
3b111893
UD
37760 [BZ #12005]
37761 * malloc/mcheck.c: Handle large requests.
37762
45db99c7
UD
37763 [BZ #12077]
37764 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
37765 for strncmp and strncasecmp.
37766 * string/stratcliff.c: Add tests for strcmp and strncmp.
37767 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
37768
cf7a1eb8
NI
377692010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37770
37771 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
37772 __set_fpscr.
37773
6484ba5e
AJ
377742010-09-30 Andreas Jaeger <aj@suse.de>
37775
37776 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
37777 (CGROUP_SUPER_MAGIC): Define.
37778 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37779 Handle btrfs and cgroup file systems.
37780 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
37781 Likewise.
37782
91c42559
LM
377832010-09-27 Luis Machado <luisgpm@br.ibm.com>
37784
37785 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
37786 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
37787
87a97932
AK
377882010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37789
37790 [BZ #12067]
37791 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
37792 trying to locate the ELF header.
37793
c21cc9bc
AS
377942010-09-27 Andreas Schwab <schwab@redhat.com>
37795
37796 [BZ #11611]
37797 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
37798 Mask out sign-bit copies when constructing f_fsid.
37799
315970f6
PB
378002010-09-24 Petr Baudis <pasky@suse.cz>
37801
37802 * debug/stack_chk_fail_local.c: Add missing licence exception.
37803 * debug/warning-nop.c: Likewise.
37804
1ac7a2c7
JM
378052010-09-15 Joseph Myers <joseph@codesourcery.com>
37806
37807 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
37808 implementing getdents64 using getdents syscall, set d_type if
37809 __ASSUME_GETDENTS32_D_TYPE.
37810
56801c50
AS
378112010-09-16 Andreas Schwab <schwab@redhat.com>
37812
37813 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
37814 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
37815
dda51327
UD
378162010-09-21 Ulrich Drepper <drepper@redhat.com>
37817
37818 [BZ #12037]
37819 * posix/unistd.h: Undo change of feature selection for ftruncate from
37820 2010-01-11.
37821
8ffcee4a
UD
378222010-09-20 Ulrich Drepper <drepper@redhat.com>
37823
a545ecd9 37824 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
37825 detection.
37826
e24f0a8b
AS
378272010-09-20 Andreas Schwab <schwab@redhat.com>
37828
37829 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
37830 fanotify_mark.
37831 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37832
7291c56f
AS
378332010-09-14 Andreas Schwab <schwab@redhat.com>
37834
37835 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
37836 variables after CHECK_SP call.
37837 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
37838
bc5fb037
AS
378392010-09-13 Andreas Schwab <schwab@redhat.com>
37840 Ulrich Drepper <drepper@redhat.com>
37841
37842 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
37843 re-relocationg ld.so.
37844 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
37845 _dl_init_paths call.
37846 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
37847 here anymore.
37848
e66e7419
UD
378492010-09-14 Ulrich Drepper <drepper@redhat.com>
37850
37851 * resolv/res_init.c (__res_vinit): Count the default server we added.
37852
c044aa75
CLT
378532010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
37854 Ulrich Drepper <drepper@redhat.com>
37855
37856 [BZ #11968]
37857 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
37858 (____longjmp_chk): Use %ebx for saving value across system call.
37859 Add unwind info.
37860
32cf4069
AS
378612010-09-06 Andreas Schwab <schwab@redhat.com>
37862
37863 * manual/Makefile: Don't mix pattern rules with normal rules.
37864
817328ee
AS
378652010-09-05 Andreas Schwab <schwab@linux-m68k.org>
37866
37867 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
37868 operation.
37869 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
37870 * libio/iofopncook.c (_IO_cookie_init): Likewise.
37871 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
37872 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
37873 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37874 Likewise.
37875
29fddf61
UD
378762010-09-04 Ulrich Drepper <drepper@redhat.com>
37877
37878 [BZ #11979]
37879 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
37880 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
37881
0959ffc9
UD
378822010-09-02 Ulrich Drepper <drepper@redhat.com>
37883
37884 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
37885 * sysdeps/x86_64/addmul_1.S: Likewise.
37886 * sysdeps/x86_64/lshift.S: Likewise.
37887 * sysdeps/x86_64/mul_1.S: Likewise.
37888 * sysdeps/x86_64/rshift.S: Likewise.
37889 * sysdeps/x86_64/sub_n.S: Likewise.
37890 * sysdeps/x86_64/submul_1.S: Likewise.
37891
ece29840
ST
378922010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
37893
0959ffc9
UD
37894 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
37895 Define __sched_param instead of SCHED_* and sched_param when
ece29840 37896 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 37897 * bits/sched.h [__need_schedparam]
ece29840 37898 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
37899 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
37900 (__defined_schedparam): Define to 1.
ece29840
ST
37901 (__sched_param): New structure, identical to sched_param.
37902 (__need_schedparam): Undefine.
37903
e53a31fe
MF
379042010-08-31 Mike Frysinger <vapier@gentoo.org>
37905
fdc0c10d
MF
37906 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
37907 (epoll_create1): Declare.
37908
e53a31fe
MF
37909 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
37910
a726d796
AS
379112010-08-31 Andreas Schwab <schwab@redhat.com>
37912
37913 [BZ #7066]
37914 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
37915 shifting retval into place.
37916
2f3e3dc7
UD
379172010-09-01 Ulrich Drepper <drepper@redhat.com>
37918
f2933da9
UD
37919 * nis/rpcsvc/nis.h: Update copyright notice.
37920 * nis/rpcsvc/nis.x: Likewise.
37921 * nis/rpcsvc/nis_callback.h: Likewise.
37922 * nis/rpcsvc/nis_callback.x: Likewise.
37923 * nis/rpcsvc/nis_object.x: Likewise.
37924 * nis/rpcsvc/nis_tags.h: Likewise.
37925 * nis/rpcsvc/yp.h: Likewise.
37926 * nis/rpcsvc/yp.x: Likewise.
37927 * nis/rpcsvc/ypupd.h: Likewise.
37928 * nis/yp_xdr.c: Likewise.
37929 * nis/ypupdate_xdr.c: Likewise.
37930
2f3e3dc7
UD
37931 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
37932 mainly the body of pmap_getport. Add parameters to specify timeouts.
37933 (pmap_getport): Use __libc_rpc_getport.
37934 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
37935 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
37936 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
37937
f3dcc2f9
AS
379382010-08-31 Andreas Schwab <schwab@linux-m68k.org>
37939
37940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
37941 fanotify_mark.
37942
6d34eb5b
RM
379432010-08-27 Roland McGrath <roland@redhat.com>
37944
37945 * sysdeps/i386/i686/multiarch/Makefile
37946 (CFLAGS-varshift.c): New variable.
37947
9ea3de11
UD
379482010-08-27 Ulrich Drepper <drepper@redhat.com>
37949
c96d23fc
UD
37950 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
37951 * sysdeps/i386/i686/multiarch/varshift.c: New file.
37952
9ea3de11
UD
37953 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
37954
37955 * sysdeps/x86_64/strlen.S: Minimal code improvement.
37956
623aac7f
L
379572010-08-26 H.J. Lu <hongjiu.lu@intel.com>
37958
37959 * sysdeps/x86_64/strlen.S: Unroll the loop.
37960 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37961 strlen-sse2 strlen-sse2-bsf.
37962 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
37963 __strlen_no_bsf if bit_Slow_BSF is set.
37964 (__strlen_sse42): Removed.
37965 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
37966 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
37967
8b2b7715
RM
379682010-08-25 Roland McGrath <roland@redhat.com>
37969
37970 * sysdeps/x86_64/multiarch/varshift.S: File removed.
37971 * sysdeps/x86_64/multiarch/varshift.c: New file.
37972 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
37973 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
37974 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
37975 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
37976
e73015f2
L
379772010-08-25 H.J. Lu <hongjiu.lu@intel.com>
37978
37979 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37980 strlen-sse2 strlen-sse2-bsf.
37981 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
37982 __strlen_sse2_bsf if bit_Slow_BSF is unset.
37983 (__strlen_sse2): Removed.
37984 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
37985 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
37986 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
37987 bit_Slow_BSF for Atom.
37988 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
37989 (index_Slow_BSF): Define.
37990 (HAS_SLOW_BSF): Define.
37991
df24a73e
UD
379922010-08-25 Ulrich Drepper <drepper@redhat.com>
37993
37994 [BZ #10851]
37995 * resolv/res_init.c (__res_vinit): When no server address at all
37996 is given default to loopback.
37997
f2ac4868
RM
379982010-08-24 Roland McGrath <roland@redhat.com>
37999
09055553
RM
38000 * configure.in: Remove config-name.h generation.
38001 * configure: Regenerated.
38002 * config-name.in: File removed.
38003 * scripts/config-uname.sh: New file.
38004 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
38005 ($(objdir)config-name.h): New target.
38006
f2ac4868
RM
38007 * sunrpc/rpc_parse.h: Avoid nested comment.
38008
73f27d5e
RH
380092010-08-24 Richard Henderson <rth@redhat.com>
38010 Ulrich Drepper <drepper@redhat.com>
38011 H.J. Lu <hongjiu.lu@intel.com>
38012
38013 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
38014 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
38015 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
38016 Replace _mm_srli_si128 with __m128i_shift_right. Replace
38017 _mm_alignr_epi8 with _mm_loadu_si128.
38018 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
38019 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
38020 (__m128i_shift_right): Removed.
38021 * sysdeps/i386/i686/multiarch/varshift.h: New file.
38022 * sysdeps/i386/i686/multiarch/varshift.S: New file.
38023 * sysdeps/x86_64/multiarch/varshift.h: New file.
38024 * sysdeps/x86_64/multiarch/varshift.S: New file.
38025
84b9230c
MF
380262010-08-21 Mike Frysinger <vapier@gentoo.org>
38027
38028 * configure.in: Move assembler checks to before sysdep dir checking.
38029
9bbd0ddc
PB
380302010-08-20 Petr Baudis <pasky@suse.cz>
38031
38032 * LICENSES: Sync the sunrpc license.
38033
9da4bb31
UD
380342010-08-19 Ulrich Drepper <drepper@redhat.com>
38035
a7ab6ec8
UD
38036 * sunrpc/auth_des.c: Update copyright notice once again.
38037 * sunrpc/auth_none.c: Likewise.
38038 * sunrpc/auth_unix.c: Likewise.
38039 * sunrpc/authdes_prot.c: Likewise.
38040 * sunrpc/authuxprot.c: Likewise.
38041 * sunrpc/bindrsvprt.c: Likewise.
38042 * sunrpc/clnt_gen.c: Likewise.
38043 * sunrpc/clnt_perr.c: Likewise.
38044 * sunrpc/clnt_raw.c: Likewise.
38045 * sunrpc/clnt_simp.c: Likewise.
38046 * sunrpc/clnt_tcp.c: Likewise.
38047 * sunrpc/clnt_udp.c: Likewise.
38048 * sunrpc/clnt_unix.c: Likewise.
38049 * sunrpc/des_crypt.c: Likewise.
38050 * sunrpc/des_soft.c: Likewise.
38051 * sunrpc/get_myaddr.c: Likewise.
38052 * sunrpc/getrpcport.c: Likewise.
38053 * sunrpc/key_call.c: Likewise.
38054 * sunrpc/key_prot.c: Likewise.
38055 * sunrpc/openchild.c: Likewise.
38056 * sunrpc/pm_getmaps.c: Likewise.
38057 * sunrpc/pm_getport.c: Likewise.
38058 * sunrpc/pmap_clnt.c: Likewise.
38059 * sunrpc/pmap_prot.c: Likewise.
38060 * sunrpc/pmap_prot2.c: Likewise.
38061 * sunrpc/pmap_rmt.c: Likewise.
38062 * sunrpc/rpc/auth.h: Likewise.
38063 * sunrpc/rpc/auth_unix.h: Likewise.
38064 * sunrpc/rpc/clnt.h: Likewise.
38065 * sunrpc/rpc/des_crypt.h: Likewise.
38066 * sunrpc/rpc/key_prot.h: Likewise.
38067 * sunrpc/rpc/netdb.h: Likewise.
38068 * sunrpc/rpc/pmap_clnt.h: Likewise.
38069 * sunrpc/rpc/pmap_prot.h: Likewise.
38070 * sunrpc/rpc/pmap_rmt.h: Likewise.
38071 * sunrpc/rpc/rpc.h: Likewise.
38072 * sunrpc/rpc/rpc_des.h: Likewise.
38073 * sunrpc/rpc/rpc_msg.h: Likewise.
38074 * sunrpc/rpc/svc.h: Likewise.
38075 * sunrpc/rpc/svc_auth.h: Likewise.
38076 * sunrpc/rpc/types.h: Likewise.
38077 * sunrpc/rpc/xdr.h: Likewise.
38078 * sunrpc/rpc_clntout.c: Likewise.
38079 * sunrpc/rpc_cmsg.c: Likewise.
38080 * sunrpc/rpc_common.c: Likewise.
38081 * sunrpc/rpc_cout.c: Likewise.
38082 * sunrpc/rpc_dtable.c: Likewise.
38083 * sunrpc/rpc_hout.c: Likewise.
38084 * sunrpc/rpc_main.c: Likewise.
38085 * sunrpc/rpc_parse.c: Likewise.
38086 * sunrpc/rpc_parse.h: Likewise.
38087 * sunrpc/rpc_prot.c: Likewise.
38088 * sunrpc/rpc_sample.c: Likewise.
38089 * sunrpc/rpc_scan.c: Likewise.
38090 * sunrpc/rpc_scan.h: Likewise.
38091 * sunrpc/rpc_svcout.c: Likewise.
38092 * sunrpc/rpc_tblout.c: Likewise.
38093 * sunrpc/rpc_util.c: Likewise.
38094 * sunrpc/rpc_util.h: Likewise.
38095 * sunrpc/rpcinfo.c: Likewise.
38096 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
38097 * sunrpc/rpcsvc/key_prot.x: Likewise.
38098 * sunrpc/rpcsvc/klm_prot.x: Likewise.
38099 * sunrpc/rpcsvc/mount.x: Likewise.
38100 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
38101 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
38102 * sunrpc/rpcsvc/rex.x: Likewise.
38103 * sunrpc/rpcsvc/rstat.x: Likewise.
38104 * sunrpc/rpcsvc/rusers.x: Likewise.
38105 * sunrpc/rpcsvc/sm_inter.x: Likewise.
38106 * sunrpc/rpcsvc/spray.x: Likewise.
38107 * sunrpc/rpcsvc/yppasswd.x: Likewise.
38108 * sunrpc/rtime.c: Likewise.
38109 * sunrpc/svc.c: Likewise.
38110 * sunrpc/svc_auth.c: Likewise.
38111 * sunrpc/svc_authux.c: Likewise.
38112 * sunrpc/svc_raw.c: Likewise.
38113 * sunrpc/svc_run.c: Likewise.
38114 * sunrpc/svc_simple.c: Likewise.
38115 * sunrpc/svc_tcp.c: Likewise.
38116 * sunrpc/svc_udp.c: Likewise.
38117 * sunrpc/svc_unix.c: Likewise.
38118 * sunrpc/svcauth_des.c: Likewise.
38119 * sunrpc/xcrypt.c: Likewise.
38120 * sunrpc/xdr.c: Likewise.
38121 * sunrpc/xdr_array.c: Likewise.
38122 * sunrpc/xdr_float.c: Likewise.
38123 * sunrpc/xdr_mem.c: Likewise.
38124 * sunrpc/xdr_rec.c: Likewise.
38125 * sunrpc/xdr_ref.c: Likewise.
38126 * sunrpc/xdr_sizeof.c: Likewise.
38127 * sunrpc/xdr_stdio.c: Likewise.
38128
9da4bb31
UD
38129 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
38130 handling.
38131
bdaa77bc
AS
381322010-08-19 Andreas Schwab <schwab@redhat.com>
38133
38134 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
38135
fe2f79db
LM
381362010-08-19 Luis Machado <luisgpm@br.ibm.com>
38137
38138 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
38139 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
38140 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
38141 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
38142 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
38143 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
38144 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
38145 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
38146 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
38147 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
38148 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
38149 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
38150 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
38151 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
38152
b9b42ee0
AB
381532010-07-26 Anton Blanchard <anton@samba.org>
38154
38155 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
38156 * malloc/arena.c (heap_trim): Likewise.
38157
1c06ba31
UD
381582010-08-16 Ulrich Drepper <drepper@redhat.com>
38159
38160 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
38161 here. Not...
38162 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
38163 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
38164
f8392f40
L
381652010-08-12 H.J. Lu <hongjiu.lu@intel.com>
38166
38167 * sysdeps/i386/elf/Makefile: New file.
38168
3162f12e
AS
381692010-08-14 Andreas Schwab <schwab@linux-m68k.org>
38170
38171 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
38172 from fanotify_init.
38173 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
38174 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
38175
28c90b2c
UD
381762010-08-15 Ulrich Drepper <drepper@redhat.com>
38177
38178 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
38179 of strncasecmp_l.
1feccb6c 38180 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 38181
ca6bb004
UD
381822010-08-14 Ulrich Drepper <drepper@redhat.com>
38183
e9f82e0d
UD
38184 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
38185 strncase_l-nonascii.
38186 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
38187 Add strncase_l-ssse3.
38188 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
38189 * sysdeps/x86_64/strcmp.S: Likewise.
38190 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
38191 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
38192 * sysdeps/x86_64/strncase.S: New file.
38193 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
38194 * sysdeps/x86_64/strncase_l.S: New file.
38195 * string/Makefile (strop-tests): Add strncasecmp.
38196 * string/test-strncasecmp.c: New file.
38197
38198 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
38199 warning.
38200
ca6bb004
UD
38201 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
38202 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
38203
052fa7b3
AS
382042010-08-14 Andreas Schwab <schwab@linux-m68k.org>
38205
38206 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
38207
962dba78
UD
382082010-08-12 Ulrich Drepper <drepper@redhat.com>
38209
38210 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
38211 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
38212 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
38213
bebff237
AM
382142010-05-01 Alan Modra <amodra@gmail.com>
38215
38216 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
38217 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
38218 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
38219 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
38220 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
38221 tidying. Don't tail-call __sigjmp_save for static lib.
38222 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
38223 save location.
38224 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
38225 (CALL_MCOUNT): Add eh info, and nop after bl.
38226 (TAIL_CALL_SYSCALL_ERROR): New macro.
38227 (PSEUDO_RET): Use it.
38228 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
38229 Correct save location of integer regs and cr.
38230 (_dl_profile_resolve): Correct cr save location. Delete nops
38231 after bl when SHARED. Reduce cfi size a little by better
38232 placement of cfi directives.
38233 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
38234 make a stack frame. Instead use parm save area as a temp.
38235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
38236 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
38237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
38238 Don't make a stack frame for parent, use parm save area.
38239 Increase child stack frame to 112 bytes. Don't save unused reg,
38240 and adjust reg usage. Set up cfi on error recovery and
38241 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
38242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
38243 (__makecontext): Add dummy nop after jump to exit.
38244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
38245 Use correct parm save area and cr save, reduce stack frame.
38246 Correct cfi for possible PSEUDO_RET frame setup.
38247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
38248 Branch to local label emitted by PSEUDO_RET rather than
38249 __syscall_error.
38250
02637374
AS
382512010-08-12 Andreas Schwab <schwab@redhat.com>
38252
38253 [BZ #11904]
38254 * locale/programs/locale.c (print_assignment): New function.
38255 (show_locale_vars): Use it.
38256
c3e2f19b
UD
382572010-08-11 Ulrich Drepper <drepper@redhat.com>
38258
3cdaa6ad
UD
38259 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
38260 field.
38261 (struct statfs64): Likewise.
38262 (_STATFS_F_FLAGS): Define.
38263 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
38264 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38265 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
38266 (ST_VALID): Define locally.
38267 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
38268 __statvfs_getflags, use the provided value.
38269 * sysdeps/unix/sysv/linux/kernel-features.h: Define
38270 __ASSUME_STATFS_F_FLAGS.
38271
754f7da3
UD
38272 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
38273
10b3bedc
UD
38274 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
38275 Add sys/fanotify.h.
38276 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
38277 fanotify_mask for GLIBC_2.13.
38278 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
38279 fanotify_init and fanotify_mark.
38280 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
38281 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
38282
c08fb0d7
UD
38283 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
38284 Add prlimit.
38285 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
38286 prlimit64 for GLIBC_2.13.
38287 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
38288 prlimit64.
38289 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
38290 syscall.
38291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
38292 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
38293 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
38294 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
38295 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
38296 add prlimit alias.
38297 * sysdeps/unix/sysv/linux/prlimit.c: New file.
38298
15bac72b
UD
38299 [BZ #11903]
38300 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
38301 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
38302
c3e2f19b
UD
38303 * nss/Makefile: Add rules to build and run tst-nss-test1.
38304 * shlib-versions: Add entry for libnss_test1.
38305 * nss/nss_test1.c: New file.
38306 * nss/tst-nss-test1.c: New file.
38307
38308 * nss/nsswitch.c (__nss_database_custom): Define new variable.
38309 (__nss_configure_lookup): Set appropriate entry in
38310 __nss_configure_lookup to true.
38311 * nss/nsswitch.h: Define enum with indeces of databases in
38312 databases and __nss_database_custom arrays. Declare
38313 __nss_database_custom.
38314 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
38315 to avoid using nscd when custom rules are installed.
38316 * nss/getXXbyYY_r.c: Likewise.
38317 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
38318
38319 * nss/nss_files/files-parse.c: Whitespace fixes.
38320
f15ce4d8
UD
383212010-08-09 Ulrich Drepper <drepper@redhat.com>
38322
38323 [BZ #11883]
38324 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
38325 * posix/fnmatch_loop.c: Likewise.
38326
d22e4cc9
AK
383272010-07-17 Andi Kleen <ak@linux.intel.com>
38328
38329 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
38330 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
38331 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
38332 * Versions.def [GLIBC_2.13]: Add.
38333
805bc17d
UD
383342010-08-06 Ulrich Drepper <drepper@redhat.com>
38335
38336 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
38337 Also fail if tpwd after pwuid call is NULL.
38338
5a42321d
ST
383392010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
38340
38341 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
38342 when converting to ms.
38343
fd3ebeda
ST
383442010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
38345
38346 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
38347 EOPNOTSUPP errors with ENOTTY.
38348 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
38349 EOPNOTSUPP errors with ENOTTY.
38350
73507d3a
UD
383512010-07-31 Ulrich Drepper <drepper@redhat.com>
38352
38353 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
38354 Add strcasecmp_l-ssse3.
38355 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
38356 strcasecmp.
38357 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
38358 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
38359 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
38360
fe36dd02
UD
383612010-07-30 Ulrich Drepper <drepper@redhat.com>
38362
66f6765a
UD
38363 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
38364
42e08a54
UD
38365 * string/Makefile (strop-tests): Add strcasecmp.
38366 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
38367 strcasecmp_l-nonascii.
38368 (gen-as-const-headers): Add locale-defines.sym.
38369 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
38370 * sysdeps/x86_64/strcasecmp.S: New file.
38371 * sysdeps/x86_64/strcasecmp_l.S: New file.
38372 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
38373 * sysdeps/x86_64/locale-defines.sym: New file.
38374 * string/test-strcasecmp.c: New file.
38375
fe36dd02
UD
38376 * string/test-strcasestr.c: Test both ends of the range of characters.
38377 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
38378
48cbc0d6
RM
383792010-07-29 Roland McGrath <roland@redhat.com>
38380
76e6d6bc 38381 [BZ #11856]
48cbc0d6
RM
38382 * manual/locale.texi (Yes-or-No Questions): Fix example code.
38383
880113d9
UD
383842010-07-27 Ulrich Drepper <drepper@redhat.com>
38385
38386 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
38387 for ld.so.
38388
deb9cabb
AS
383892010-07-27 Andreas Schwab <schwab@redhat.com>
38390
38391 * manual/memory.texi (Malloc Tunable Parameters): Document
38392 M_PERTURB.
38393
1c7570ff
RM
383942010-07-26 Roland McGrath <roland@redhat.com>
38395
38396 [BZ #11840]
38397 * configure.in (-fgnu89-inline check): Set and substitute
38398 gnu89_inline, not libc_cv_gnu89_inline.
38399 * configure: Regenerated.
38400 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
38401
24fb0f88
UD
384022010-07-26 Ulrich Drepper <drepper@redhat.com>
38403
38404 * string/test-strnlen.c: New file.
38405 * string/Makefile (strop-tests): Add strnlen.
38406 * string/tester.c (test_strnlen): Add a few more test cases.
38407 * string/tst-strlen.c: Better error reporting.
38408
38409 * sysdeps/x86_64/strnlen.S: New file.
38410
8e96b93a
UD
384112010-07-24 Ulrich Drepper <drepper@redhat.com>
38412
38413 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
38414 lower-latency instructions.
38415
dbc676d4
UD
384162010-07-23 Ulrich Drepper <drepper@redhat.com>
38417
38418 * string/test-strcasestr.c: New file.
38419 * string/test-strstr.c: New file.
38420 * string/Makefile (strop-tests): Add strstr and strcasestr.
38421 * string/str-two-way.h: Don't undefine MAX.
38422 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
38423
f6a31e0e
AS
384242010-07-21 Andreas Schwab <schwab@redhat.com>
38425
38426 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38427 strcasestr-nonascii.
38428 (CFLAGS-strcasestr-nonascii.c): Define.
38429 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
38430 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
38431 Remove unused attribute.
38432
5dbc3b6c
RM
384332010-07-20 Roland McGrath <roland@redhat.com>
38434
38435 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
38436 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
38437 ld.so.cache was broken. With it, there is no way to disable dsocaps
38438 like LD_HWCAP_MASK can disable hwcaps.
38439
23d101d8
EPM
384402010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
38441
38442 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
38443
cc9f2e47
UD
384442010-07-16 Ulrich Drepper <drepper@redhat.com>
38445
38446 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
38447 call in strcasestr.
38448 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
38449 __strcasestr_sse42_nonascii.
38450 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
38451 strcasestr-nonascii.c.
38452 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
38453
77c1b069
LM
384542010-06-15 Luis Machado <luisgpm@br.ibm.com>
38455
38456 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
38457 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
38458 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
38459 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
38460
440566c3
UD
384612010-07-09 Ulrich Drepper <drepper@redhat.com>
38462
38463 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
38464 fcntl.
38465
5be9d05d
AS
384662010-07-06 Andreas Schwab <schwab@redhat.com>
38467
c30b7ee2 38468 [BZ #11577]
5be9d05d
AS
38469 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
38470 dl_signal_cerror.
38471
8a492a67
UD
384722010-07-06 Ulrich Drepper <drepper@redhat.com>
38473
38474 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
38475 _PC_PIPE_BUF using F_GETPIPE_SZ.
38476
713df3d5
RM
384772010-07-05 Roland McGrath <roland@redhat.com>
38478
38479 * manual/arith.texi (Rounding Functions): Fix rint description
38480 implicit in round description.
38481
702e8f14
UD
384822010-07-02 Ulrich Drepper <drepper@redhat.com>
38483
38484 * elf/Makefile: Fix linking for a few tests to make recent linker
38485 happy.
38486
52ed8be9
AS
384872010-06-30 Andreas Schwab <schwab@redhat.com>
38488
38489 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
38490 $(common-objpfx)libc_nonshared.a.
38491
f47c9a11
LM
384922010-06-21 Luis Machado <luisgpm@br.ibm.com>
38493
38494 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
38495 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
38496 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38497 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38498 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
38499 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
38500 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38501 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
38503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
38504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
38505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
38507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
38509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
38510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
38511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
38512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
38514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
38516 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
38517 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
38518 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
38519 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
38520 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
38521 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
38522 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
38523 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
38524 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
38525 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
38526 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
38527 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
38528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
38529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
38530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
38531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
38532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
38533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
38534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
38535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
38536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
38537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
38538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
38539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
38540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
38541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
38542
6fb8cbcb
L
385432010-06-25 H.J. Lu <hongjiu.lu@intel.com>
38544
38545 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
38546 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
38547 * string/memmove.c (memmove): Renamed to ...
38548 (MEMMOVE): ...this. Default to memmove.
38549 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
38550 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
38551 (END_CHK): Define.
38552 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38553 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
38554 mempcpy-ssse3-back memmove-ssse3-back.
38555 * sysdeps/x86_64/multiarch/bcopy.S: New file .
38556 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
38557 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
38558 * sysdeps/x86_64/multiarch/memcpy.S: New file.
38559 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
38560 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
38561 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
38562 * sysdeps/x86_64/multiarch/memmove.c: New file.
38563 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
38564 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
38565 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
38566 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
38567 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
38568 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
38569 Define.
38570 (index_Fast_Copy_Backward): Define.
38571 (HAS_ARCH_FEATURE): Define.
38572 (HAS_FAST_REP_STRING): Define.
38573 (HAS_FAST_COPY_BACKWARD): Define.
38574
4e733bac 385752010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
38576
38577 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
38578 Restore proper fallback handling.
38579
63c4ed22
UD
385802010-06-19 Ulrich Drepper <drepper@redhat.com>
38581
ac2b484c
UD
38582 [BZ #11701]
38583 * posix/group_member.c (__group_member): Correct checking loop.
38584
63c4ed22
UD
38585 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
38586 OOM in getpwuid_r correctly. Return error number when the caller
38587 should return, otherwise -1.
38588 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
38589 call returning > 0 value.
38590 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
38591
765ade4b
AS
385922010-06-07 Andreas Schwab <schwab@redhat.com>
38593
38594 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
38595 libc_nonshared.a from targets in modules-names.
38596
80da2e09
KS
385972010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
38598
38599 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
38600 requires it.
38601
158db122
LM
386022010-06-10 Luis Machado <luisgpm@br.ibm.com>
38603
38604 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
38605 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
38606 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
38607 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
38608
caa78cf8
AS
386092010-06-02 Andreas Schwab <schwab@redhat.com>
38610
38611 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
38612
b2ef2c01
UD
386132010-06-14 Ulrich Drepper <drepper@redhat.com>
38614
38615 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
38616 and F_GETPIPE_SZ.
38617 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
38618 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38619 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38620 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38621 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38622 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
38623
fbd643b6
RM
386242010-06-14 Roland McGrath <roland@redhat.com>
38625
38626 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
38627
f32f2869
JJ
386282010-06-07 Jakub Jelinek <jakub@redhat.com>
38629
38630 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
38631 __REDIRECT followed by __THROW.
38632 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
38633 * posix/getopt.h (getopt): Likewise.
38634
2a50c078
EPM
386352010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
38636
38637 * hurd/lookup-at.c (__file_name_lookup_at): Accept
38638 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
38639 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
38640 in AT_FLAGS.
38641 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
38642 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
38643
eb5ad2eb
LM
386442010-05-28 Luis Machado <luisgpm@br.ibm.com>
38645
38646 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
38647
3c88fe1e
L
386482010-05-26 H.J. Lu <hongjiu.lu@intel.com>
38649
38650 [BZ #11640]
38651 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38652 Properly check family and model.
38653
d2f73151
TY
386542010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
38655
38656 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
38657
ebd2e13d
LM
386582010-05-24 Luis Machado <luisgpm@br.ibm.com>
38659
38660 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
38661
b32b8b45
UD
386622010-05-21 Ulrich Drepper <drepper@redhat.com>
38663
38664 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
38665 symbol reference.
38666
9acbe24d
AS
386672010-05-19 Andreas Schwab <schwab@redhat.com>
38668
38669 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
38670 symbol reference.
38671
f0ccf6ea
AS
386722010-05-21 Andreas Schwab <schwab@redhat.com>
38673
3d04ff3a
AS
38674 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
38675 and internal_recvmmsg.
38676 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
38677 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
38678 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
38679 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
38680
f0ccf6ea
AS
38681 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
38682 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
38683 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
38684
5b08ac57
AS
386852010-05-20 Andreas Schwab <schwab@redhat.com>
38686
38687 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
38688
4828935d
LM
386892010-05-17 Luis Machado <luisgpm@br.ibm.com>
38690
38691 POWER7 optimizations.
38692 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
38693 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
38694
373d545e
UD
386952010-05-19 Ulrich Drepper <drepper@redhat.com>
38696
38697 * version.h: Update for 2.13 development version.
38698
21a2b1ae
AS
386992010-05-12 Andrew Stubbs <ams@codesourcery.com>
38700
38701 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
38702 exceptions. Return 0.
38703
3f7dcb2b
RM
387042010-05-07 Roland McGrath <roland@redhat.com>
38705
38706 * elf/ldconfig.c (main): Add a const.
38707
5f24d53a 387082010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 38709
a160f8d8
UD
38710 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
38711 (args_options): Add no-idn option.
38712 (ahosts_keys_int): Add idn_flags to ai_flags.
38713 (parse_option): Handle 'i' option to clear idn_flags.
38714
5f24d53a
UD
38715 * malloc/malloc.c (_int_free): Possible race in the most recently
38716 added check. Only act on the data if no current modification
38717 happened.
265bb1ce
UD
38718
38719See ChangeLog.17 for earlier changes.