]> sourceware.org Git - glibc.git/blame - ChangeLog
* manual/search.texi: Document MTASC-safety properties.
[glibc.git] / ChangeLog
CommitLineData
433c45a2
AO
12014-01-31 Alexandre Oliva <aoliva@redhat.com>
2
3 * manual/search.texi: Document MTASC-safety properties.
4
c8ce789c
AO
52014-01-31 Alexandre Oliva <aoliva@redhat.com>
6
7 * manual/resource.texi: Document MTASC-safety properties.
8
19f5d29c
AO
92014-01-31 Alexandre Oliva <aoliva@redhat.com>
10
11 * manual/process.texi: Document MTASC-safety properties.
12
e2dfb7f4
AO
132014-01-31 Alexandre Oliva <aoliva@redhat.com>
14
15 * manual/platform.texi: Document MTASC-safety properties.
16
8c1413f5
AO
172014-01-31 Alexandre Oliva <aoliva@redhat.com>
18
19 * manual/pipe.texi: Document MTASC-safety properties.
20
03483ada
AO
212014-01-31 Alexandre Oliva <aoliva@redhat.com>
22
23 * manual/pattern.texi: Document MTASC-safety properties.
24
29e7e2df
AO
252014-01-31 Alexandre Oliva <aoliva@redhat.com>
26
27 * manual/message.texi: Document MTASC-safety properties.
28
9f529d7c
AO
292014-01-31 Alexandre Oliva <aoliva@redhat.com>
30
31 [BZ #12751]
32 * manual/memory.texi: Document MTASC-safety properties.
33
27aaa791
AO
342014-01-31 Alexandre Oliva <aoliva@redhat.com>
35
36 * manual/math.texi: Document MTASC-safety properties.
37
f2d58726
AO
382014-01-31 Alexandre Oliva <aoliva@redhat.com>
39
40 * manual/locale.texi: Document MTASC-safety properties.
41
2cc3615c
AO
422014-01-31 Alexandre Oliva <aoliva@redhat.com>
43
44 * manual/llio.texi: Document MTASC-safety properties.
45
d9f0ec97
AO
462014-01-31 Alexandre Oliva <aoliva@redhat.com>
47
48 * manual/libdl.texi: New.
49
e7c4409a
AO
502014-01-31 Alexandre Oliva <aoliva@redhat.com>
51
52 * manual/lang.texi: Document MTASC-safety properties.
53
27bdc63c
AO
542014-01-31 Alexandre Oliva <aoliva@redhat.com>
55
56 * manual/job.texi: Document MTASC-safety properties.
57
a7b90ea9
AO
582014-01-31 Alexandre Oliva <aoliva@redhat.com>
59
60 * manual/getopt.texi: Document MTASC-safety properties.
61
c49130e3
AO
622014-01-31 Alexandre Oliva <aoliva@redhat.com>
63
64 * manual/ctype.texi: Document MTASC-safety properties.
65
0d23a5c1
MR
662014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
67
68 [BZ #16046]
69 * csu/libc-tls.c (static_map): Remove variable.
70 (__libc_setup_tls): Use main executable's link map for TLS data.
71 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
72 casing for LM_ID_BASE and GL(dl_nns).
73 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
74 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
75 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
76 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
77 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
78 member.
79 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
80 l_phnum members.
81
0037bb60
AO
822014-01-30 Alexandre Oliva <aoliva@redhat.com>
83
84 * manual/debug.texi: Document MTASC-safety properties.
85
409e00bd
L
862014-01-29 H.J. Lu <hongjiu.lu@intel.com>
87
88 [BZ #16510]
89 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
90 of __x86_64__ when disabling x87 inline functions.
91
86e60666
AO
922014-01-29 Alexandre Oliva <aoliva@redhat.com>
93
94 * manual/charset.texi: Document MTASC-safety properties.
95
76167637
AO
962014-01-29 Alexandre Oliva <aoliva@redhat.com>
97
98 * manual/crypt.texi: Document MTASC-safety properties.
99
e567f2a0
AO
1002014-01-29 Alexandre Oliva <aoliva@redhat.com>
101
102 * manual/conf.texi: Document MTASC-safety properties.
103
b719dafd
AO
1042014-01-29 Alexandre Oliva <aoliva@redhat.com>
105
106 * manual/arith.texi: Document MTASC-safety properties.
107
4a16c662
AO
1082014-01-29 Alexandre Oliva <aoliva@redhat.com>
109
110 * manual/argp.texi: Document MTASC-safety properties.
111
0a57b83e
AO
1122014-01-29 Alexandre Oliva <aoliva@redhat.com>
113
114 * manual/macros.texi: Introduce macros to document multi
115 thread, asynchronous signal and asynchronous cancellation
116 safety properties.
117 * manual/intro.texi: Introduce the properties themselves.
118
feab2397
KK
1192014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
120
121 * sysdeps/sh/sh4/Makefile: New file.
122
1c0d11bc
AS
1232014-01-27 Andreas Schwab <schwab@linux-m68k.org>
124
125 * math/gen-libm-test.pl ($srcdir): New variable.
126 ($auto_input): Use it.
127
af37a8a3
SP
1282014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
129
d7b00f98
SP
130 [BZ #16506]
131 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
132 access beyond array bounds when parsing netgroups file.
133
af37a8a3
SP
134 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
135 the old buffer before realloc.
136
0c00f062
AM
1372014-01-27 Allan McRae <allan@archlinux.org>
138
139 * po/fr.po: Update French translation from translation project.
140
7d69a1b0
KK
1412014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
142
143 * sysdeps/sh/libm-test-ulps: Regenerate.
144
6e697ff7
DM
1452014-01-24 David S. Miller <davem@davemloft.net>
146
147 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
148
9cadb35c
KK
1492014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
150
151 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
152 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
153
5d41dadf
SP
1542013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
155
156 [BZ #16474]
157 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
158 string pointers after reallocation.
159
0bad441c
KK
1602014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
161
162 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
163 __SH4A__ instead of __SH_FPU_ANY__.
164
7007c661
KK
1652014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
166
167 * sysdeps/sh/fpu_control.h: New file.
168 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
169 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
170 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
171 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
172 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
173 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
174 * sysdeps/sh/sys/ucontext.h: Remove.
175 * sysdeps/sh/sys: Remove directory.
176
0f0c35e4
AK
1772014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
178
179 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
180 s390/sys/ucontext.h.
181 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
182 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
183
4959e284
L
1842014-01-20 H.J. Lu <hongjiu.lu@intel.com>
185
186 [BZ #15605]
187 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
188
d98720e0
AZ
1892014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
190
191 [BZ#16431]
192 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
193 Adjust the vDSO correctly for internal calls.
194 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
195
91cbd0bc
AM
1962014-01-20 Allan McRae <allan@archlinux.org>
197
198 * po/ca.po: Update Catalan translation from translation project.
199
7a02cfad
MF
2002014-01-16 Mike Frysinger <vapier@gentoo.org>
201
202 * sysdeps/s390/sotruss-lib.c: New file.
203
736c304a
AZ
2042014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
205
206 [BZ#16430]
6e077ee5 207 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
208 (__GI___gettimeofday): Alias for a different internal symbol to avoid
209 local calls issues by not having a PLT stub required for IFUNC calls.
210 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
211
94d0cea0
JM
2122014-01-16 Joseph Myers <joseph@codesourcery.com>
213
214 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
215 * math/test-fpucw-static.c: Likewise.
216
980cb518
SP
2172013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
218
219 [BZ #16453]
220 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
221
2393fc01
AZ
2222014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
223
224 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
225 implementation for powerpc.
226
d359bcc2
OB
2272014-01-15 Ondřej Bílka <neleai@seznam.cz>
228
229 [BZ #14782]
230 * sysdeps/posix/system.c (__libc_system): Do not enable
231 asynchronous cancellation.
232
7beb48cb
AK
2332014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
234
235 [BZ #16427]
236 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
237 handling only for numbers special also in the IEEE case.
238
c20d5bf5
AK
2392014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
240
241 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
242
e83bd4ee
AM
2432014-01-11 Allan McRae <allan@archlinux.org>
244
76d0ea69
AM
245 * po/bg.po: Update Bulgarian translation from translation project.
246
e83bd4ee
AM
247 * po/de.po: Update German translation from translation project.
248
bc2ba20a
RM
2492014-01-10 Roland McGrath <roland@hack.frob.com>
250
251 * sysdeps/generic/gcc-compat.h: New file.
252
649ecea2
SP
2532014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
254
255 * benchtests/asin-inputs: Correct slow inputs.
256 * benchtests/acos-inputs: Likewise.
257
1b19c006
AM
2582014-01-10 Allan McRae <allan@archlinux.org>
259
a46dab08
AM
260 * po:sv.po: Update Swedish translation from translation project.
261
421df74a
AM
262 * po/vi.po: Update Vietnamese translation from translation project.
263
d61c51a7
AM
264 * po/eo.po: Update Esperanto translation from translation project.
265
0339a319
AM
266 * po/cs.po: Update Czech translation from translation project.
267
94ad3e99
AM
268 * po/nl.po: Update Dutch translation from translation project.
269
e349ca71
AM
270 * po/pl.po: Update Polish translation from translation project.
271
ddf930c1
AM
272 * po/ru.po: Update Russian translation from translation project.
273
1b19c006
AM
274 * po/uk.po: Update Ukrainian translation from translation project.
275
9f236c49
BM
2762014-01-08 Brooks Moses <bmoses@google.com>
277
278 * elf/dl-load.c: Fix comment typo.
279
cd6701cf
CD
2802014-01-08 Carlos O'Donell <carlos@redhat.com>
281
282 * po/header.pot: Rename to...
283 * po/pot.header: ... this.
284 * po/Makefile: Use pot.header.
285
66671c84
YK
2862014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
287 Maxim Kuvyrkov <maxim@kugelworks.com>
288
289 [BZ #16394]
cd6701cf
CD
290 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
291 SRC and DEST against LEN.
66671c84 292
38f34581
AZ
2932014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
294
295 [BZ #16414]
296 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
297 implementation.
298 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
299
3002014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
301
302 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
303
4c327f2a
JM
3042014-01-08 Joseph Myers <joseph@codesourcery.com>
305
306 [BZ #16408]
307 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
308 for large positive arguments.
309
b821f414
JM
3102014-01-07 Joseph Myers <joseph@codesourcery.com>
311
1f0f2067
JM
312 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
313
a5a326f6
JM
314 * math/auto-libm-test-in: Mark various tests with
315 xfail-rounding:ldbl-128ibm.
316 * math/auto-libm-test-out: Regenerated.
317
b821f414
JM
318 [BZ #16407]
319 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
320 Increase overflow threshold.
321
94c8a4bc
OB
3222014-01-07 Ondřej Bílka <neleai@seznam.cz>
323
324 [BZ #14286]
325 * stdio-common/vfprintf.c: Check for integer overflow.
326
87ded0c3
AK
3272014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
328
329 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
330 the first argument and return value of __tls_get_addr_internal.
331
c5eebdd0
AK
3322014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
333
334 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
335 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
336
05d138ef
AK
3372014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
338
339 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
340 * sysdeps/s390/rtld-global-offsets.sym: New file.
341 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
342 GLIBC_2.19 symbol.
343 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
344 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
345 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
346 ... this.
347 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
348 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
349 ... this.
350 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
351 Regenerate.
352 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
353 Regenerate.
354 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
355 halfs of GPRs for high_gprs contexts.
356 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
357 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
358 field.
359 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
360 uc_flags field.
361 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
362 64 bit versions:
363 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
364 for high GPRs (uc_high_gprs) and for future extensions
365 (__reserved).
366 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
367 for future extensions (__reserved).
368 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
369 64 bit versions:
370 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
371 SC_HIGHGPRS offset definition.
372 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
373 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
374
93a45ff1
AK
3752014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
376
377 * Versions.def: Add GLIBC_2.19 for libpthread.
378 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
379 siglongjmp for libpthread with GLIBC_2.19 symver.
380 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
381 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
382 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
383 * sysdeps/s390/__longjmp.c: New file.
384 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
385 * sysdeps/s390/longjmp.c: New file.
386 * sysdeps/s390/setjmp.S: New file.
387 * sysdeps/s390/sigjmp.S: New file.
388 * sysdeps/s390/v1-longjmp.c: New file.
389 * sysdeps/s390/v1-setjmp.h: New file.
390 * sysdeps/s390/v1-sigjmp.c: New file.
391 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
392 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
393 GLIBC_2.19 version.
394 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
395 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
396 versioned symbols for ____longjmp_chk.
397 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
398 Likewise.
399 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
400 Regenerate.
401 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
402 Regenerate.
403 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
404 Regenerate.
405 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
406 Regenerate.
407 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
408 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
409 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
410 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
411 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
412 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
413 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
414 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
415 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
416 * sysdeps/s390/rtld-__longjmp.c: New file.
417 * sysdeps/s390/rtld-setjmp.S: New file.
418
eb3fc44b
JM
4192014-01-06 Joseph Myers <joseph@codesourcery.com>
420
421 [BZ #16400]
422 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
423 Return -__logl (x) for small positive arguments without evaluating
424 a polynomial.
425
9341dde4
MF
4262014-01-06 Mike Frysinger <vapier@gentoo.org>
427
428 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
429 Rename to ...
430 (__ptrace_peeksiginfo_args): ... this.
431 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
432 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
433 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
434
4cff0293
AM
4352014-01-06 Allan McRae <allan@archlinux.org>
436
437 * inet/netinet/in.h: Fix typo in comment.
438
75595dcf
AJ
4392014-01-05 Andreas Jaeger <aj@suse.de>
440
441 * sysdeps/i386/fpu/libm-test-ulps: Update.
442
79c1e109
AM
4432014-01-05 Allan McRae <allan@archlinux.org>
444
dd804818
AM
445 * po/libc.pot: Regenerated.
446
79c1e109
AM
447 * malloc/memusagestat.c: Fix gettext call formatting.
448
0c813d1f
SK
4492014-01-04 Sami Kerola <kerolasa@iki.fi>
450
451 * nscd/nscd.c: Improve usage() output.
452
20f4a8d9
MF
4532014-01-04 Mike Frysinger <vapier@gentoo.org>
454
455 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
456 * sysdeps/unix/sysv/linux/configure: Regenerated.
457 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
458 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
459
22562bb2
JM
4602014-01-03 Joseph Myers <joseph@codesourcery.com>
461
462 [BZ #16390]
463 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
464 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
465
d7ad2d9b
AZ
4662014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
467
468 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
469 extra tokens at end of #undef directive.
470 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
471 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
472 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
473
7f507ee1
AH
4742014-01-03 Andrew Hunter <ahh@google.com>
475
0da43124 476 * elf/dl-open.c (dl_open_worker): New comment.
7f507ee1
AH
477 * elf/dl-reloc.c (_dl_try_allocate_static_tls): Use
478 atomic_compare_and_exchange_bool_acq
479 (_dl_allocate_static_tls): Block signals.
480 * elf/dl-tls.c (allocate_and_init): Return void.
481 (_dl_update_slotinfo): Block signals, use atomic update.
482
7dd009d8
JM
4832014-01-03 Joseph Myers <joseph@codesourcery.com>
484
24db925a
JM
485 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
486
7dd009d8
JM
487 * math/auto-libm-test-in: Mark various tests with
488 xfail-rounding:ldbl-128ibm.
489 * math/auto-libm-test-out: Regenerated.
490
396e3ecf
JM
4912014-01-02 Joseph Myers <joseph@codesourcery.com>
492
819e5d50
JM
493 [BZ #16386]
494 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
495 numbers with subnormal high part when calculating exponent.
496
90b6a1e5
JM
497 [BZ #16385]
498 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
499 fabs.
500
396e3ecf
JM
501 [BZ #16384]
502 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
503 M_LN2l.
504 (__ieee754_acoshl): Use __log1pl not __log1p.
505
6c8dbf00
OB
5062013-01-02 Ondřej Bílka <neleai@seznam.cz>
507
508 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
509 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
510 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
511 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
512 Convert to GNU style.
513 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
514 mem2mem_check, mem2chunk_check, top_check, realloc_check,
515 memalign_check, __malloc_set_state): Likewise.
516 * malloc/mallocbug.c (main): Likewise.
517 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
518 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
519 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
520 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
521 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
522 * malloc/malloc.h: Likewise.
523 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
524 memalignhook, reallochook, mabort): Likewise.
525 * malloc/mcheck.h: Likewise.
526 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
527 mmap64, mremap, munmap, dest): Likewise.
528 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
529 * malloc/morecore.c (__default_morecore): Likewise.
530 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
531 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
532 _obstack_allocated_p, obstack_free, _obstack_memory_used,
533 print_and_abort): Likewise.
534 * malloc/obstack.h: Likewise.
535 * malloc/set-freeres.c (__libc_freeres): Likewise.
536 * malloc/tst-mallocstate.c (main): Likewise.
537 * malloc/tst-mtrace.c (main): Likewise.
538 * malloc/tst-realloc.c (do_test): Likewise.
539
d4124212
SP
5402013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
541
9a3c6a6f
SP
542 [BZ #16366]
543 * nscd/netgroupcache.c (do_notfound): New function.
544 (addgetnetgrentX): Use it.
545
d4124212
SP
546 [BZ # 16365]
547 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
548 NSS_STATUS_NOTFOUND.
549
97b9a009
JM
5502014-01-01 Joseph Myers <joseph@codesourcery.com>
551
552 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
553 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
554
d4697bc9
AM
5552014-01-01 Allan McRae <allan@archlinux.org>
556
ddb3687f
AM
557 * scripts/update-copyrights: Update configure input file suffix.
558
88726d48
AM
559 * NEWS: Update copyright year.
560 * catgets/gencat.c: Likewise.
561 * csu/version.c: Likewise.
562 * debug/catchsegv.sh: Likewise.
563 * debug/pcprofiledump.c: Likewise.
564 * debug/xtrace.sh: Likewise.
565 * elf/ldconfig.c: Likewise.
566 * elf/ldd.bash.in: Likewise.
567 * elf/pldd.c: Likewise.
568 * elf/sotruss.ksh: Likewise.
569 * elf/sprof.c: Likewise.
570 * iconv/iconv_prog.c: Likewise.
571 * iconv/iconvconfig.c: Likewise.
572 * locale/programs/locale.c: Likewise.
573 * locale/programs/localedef.c: Likewise.
574 * login/programs/pt_chown.c: Likewise.
575 * malloc/memusage.sh: Likewise.
576 * malloc/memusagestat.c: Likewise.
577 * malloc/mtrace.pl: Likewise.
578 * manual/libc.texinfo: Likewise.
579 * nscd/nscd.c: Likewise.
580 * nss/getent.c: Likewise.
581 * nss/makedb.c: Likewise.
582 * posix/getconf.c: Likewise.
583 * scripts/test-installation.pl: Likewise.
584
d4697bc9
AM
585 * All files with FSF copyright notices: Update copyright dates
586 using scripts/update-copyrights.
587 * intl/plural.c: Regenerated.
588 * locale/programs/charmap-kw.h: Likewise.
589 * locale/programs/locfile-kw.h: Likewise.
590
c8590f9d
MF
5912013-12-31 Mike Frysinger <vapier@gentoo.org>
592
593 * sysdeps/unix/sysv/linux/configure: Regenerated.
594 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
595 the linux/fanotify.h header.
596 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
597 HAVE_LINUX_FANOTIFY_H is defined.
598
b19221b9
SP
5992013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
600
dd1d85e5
SP
601 * benchtests/cos-inputs: New inputs.
602 * benchtests/sin-inputs: Likewise.
603
1acbb90f
SP
604 * benchtests/atan-inputs: New inputs. Fix name of multiple
605 precision fallback inputs.
606
4c012ed3
SP
607 * benchtests/atanh-inputs: New inputs.
608 * benchtests/tanh-inputs: Likewise.
609
eff98324
SP
610 * benchtests/acosh-inputs: New inputs.
611 * benchtests/asinh-inputs: Likewise.
612
ce641152
SP
613 * benchtests/cosh-inputs: New inputs.
614 * benchtests/sinh-inputs: Likewise.
615
b19221b9
SP
616 * benchtests/acos-inputs: Add more inputs.
617 * benchtests/asin-inputs: Likewise.
618
030a4976 6192013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 620
030a4976 621 [BZ #16375]
9dcc8f11
VS
622 * manual/arith.texi: Fix spelling.
623 * manual/charset.texi: Likewise.
624 * manual/errno.texi: Likewise.
625 * manual/filesys.texi: Likewise.
626 * manual/lang.texi: Likewise.
627 * manual/llio.texi: Likewise.
628 * manual/locale.texi: Likewise.
629 * manual/message.texi: Likewise.
630 * manual/resource.texi: Likewise.
631 * manual/search.texi: Likewise.
632 * manual/setjmp.texi: Likewise.
633 * manual/stdio.texi: Likewise.
634 * manual/string.texi: Likewise.
635 * manual/sysinfo.texi: Likewise.
636 * manual/time.texi: Likewise.
637
11520a57
CD
6382013-12-27 Carlos O'Donell <carlos@redhat.com>
639
640 * po/sl.po: New file.
641
471103ae
MF
6422013-12-27 Mike Frysinger <vapier@gentoo.org>
643
644 * .gitignore: Add core/.gdbinit/.gdb_history.
645
6c9642ed
AM
6462013-12-27 Allan McRae <allan@archlinux.org>
647
648 [BZ #16369]
649 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
650 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
651
3f637079
BM
6522013-12-24 Brooks Moses <bmoses@google.com>
653
654 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
655 all compilers that claim C++98 compliance, not just GCC.
656 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
657 Likewise.
658
abc26e99
MK
6592013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
660
661 * NEWS: Restore accidentally deleted bug-fix entries.
662
362b47fe
MK
6632013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
664 Ondřej Bílka <neleai@seznam.cz>
665
666 [BZ #15073]
667 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 668 have_lock.
362b47fe 669
b9bcbbcb
OB
6702013-12-23 Ondřej Bílka <neleai@seznam.cz>
671
672 [BZ #12986]
673 * manual/stdio.texi (String Input Conversions): Clarify that character
674 classes are not supported.
675
fb55fcd2
AZ
6762013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
677
678 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
679
ef7344f0
JM
6802013-12-22 Joseph Myers <joseph@codesourcery.com>
681
4f40e4b3
JM
682 [BZ #16337]
683 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
684 Calculate results for small negative arguments directly rather
685 than using reflection formula with special underflow handling.
686
ef7344f0
JM
687 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
688 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
689 sysdeps/unix/bsd/bsd4.4/syscalls.list.
690 (fchflags): Likewise.
691 (revoke): Likewise.
692 (setlogin): Likewise.
693 (sigaltstack): Likewise.
694 (wait4): Likewise.
695 (sigblock): Remove.
696 (sigsetmask): Likewise.
697 (wait3): Likewise.
698 (waitpid): Likewise.
699 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
700 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
701 file.
702 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
703 * sysdeps/unix/bsd/Makefile: ... here.
704 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
705 * sysdeps/unix/bsd/Versions: ... here.
706 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
707 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
708 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
709 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
710 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
711 * sysdeps/unix/bsd/sigblock.c: ... here.
712 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
713 * sysdeps/unix/bsd/sigsetmask.c: ... here.
714 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
715 * sysdeps/unix/bsd/sigvec.c: ... here.
716 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
717 * sysdeps/unix/bsd/tcdrain.c: ... here.
718 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
719 * sysdeps/unix/bsd/tcgetattr.c: ... here.
720 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
721 * sysdeps/unix/bsd/tcsetattr.c: ... here.
722 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
723 * sysdeps/unix/bsd/wait.c: ... here.
724 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
725 * sysdeps/unix/bsd/wait3.c: ... here.
726 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
727 * sysdeps/unix/bsd/waitpid.c: ... here.
728
5b0626b9
JM
7292013-12-21 Joseph Myers <joseph@codesourcery.com>
730
731 [BZ #16356]
732 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
733 round-to-nearest for [!USE_AS_EXPM1L].
734 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
735 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
736 more tests of exp and exp10. Expect some exp10 tests to miss
737 exceptions or fail in directed rounding modes.
738 * math/auto-libm-test-out: Regenerated.
739 * math/libm-test.inc (exp10_tonearest_test_data): New array.
740 (exp10_test_tonearest): New function.
741 (exp10_towardzero_test_data): New array.
742 (exp10_test_towardzero): New function.
743 (exp10_downward_test_data): New array.
744 (exp10_test_downward): New function.
745 (exp10_upward_test_data): New array.
746 (exp10_test_upward): New function.
747 (main): Call the new functions.
748 * sysdeps/i386/fpu/libm-test-ulps: Update.
749 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
750
7fda5682
JM
7512013-12-20 Joseph Myers <joseph@codesourcery.com>
752
31e3a405
JM
753 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
754 asinh, atan, atan2, atanh, cbrt, cos and cosh.
755 * math/auto-libm-test-out: Regenerated.
756 * math/libm-test.inc (acosh_test_data): Add more tests.
757 (atanh_test_data): Likewise.
758 (ceil_test_data): Likewise.
759 (copysign_test_data): Likewise.
760 * sysdeps/i386/fpu/libm-test-ulps: Update.
761 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
762
85bff96a
JM
763 * timezone/checktab.awk: Update from tzcode 2013i.
764 * timezone/private.h: Likewise.
765 * timezone/scheck.c: Likewise.
766 * timezone/tzfile.h: Likewise.
767 * timezone/tzselect.ksh: Likewise.
768 * timezone/zdump.c: Likewise.
769 * timezone/zic.c: Likewise.
770
b7867a3b
JM
771 * math/auto-libm-test-in: Add tests of cpow.
772 * math/auto-libm-test-out: Regenerated.
773 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
774 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
775 mpc_cc_c.
776 (func_calc_desc): Add mpc_cc_c union field.
777 (test_functions): Add cpow.
778 (special_fill_2pi): New function.
779 (special_real_inputs): Add 2pi.
780 (calc_generic_results): Handle mpc_cc_c.
781 * sysdeps/i386/fpu/libm-test-ulps: Update.
782 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
783
7fda5682
JM
784 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
785 csqrt, ctan and ctanh.
786 * math/auto-libm-test-out: Regenerated.
787 * math/libm-test.inc (TEST_COND_x86_64): New macro.
788 (TEST_COND_x86): Likewise.
789 (ccos_test_data): Use AUTO_TESTS_c_c.
790 (ccosh_test_data): Likewise.
791 (cexp_test_data): Likewise.
792 (clog_test_data): Likewise.
793 (csqrt_test_data): Likewise.
794 (ctan_test_data): Likewise.
795 (ctan_tonearest_test_data): Likewise.
796 (ctan_towardzero_test_data): Likewise.
797 (ctan_downward_test_data): Likewise.
798 (ctan_upward_test_data): Likewise.
799 (ctanh_test_data): Likewise.
800 (ctanh_tonearest_test_data): Likewise.
801 (ctanh_towardzero_test_data): Likewise.
802 (ctanh_downward_test_data): Likewise.
803 (ctanh_upward_test_data): Likewise.
804 * math/gen-auto-libm-tests.c (func_calc_method): Add value
805 mpc_c_c.
806 (func_calc_desc): Add mpc_c_c union field.
807 (FUNC_mpc_c_c): New macro.
808 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
809 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
810 ctanh.
811 (special_fill_min_subnorm_p120): New function.
812 (special_real_inputs): Add min_subnorm_p120.
813 (calc_generic_results): Handle mpc_c_c.
814 * sysdeps/i386/fpu/libm-test-ulps: Update.
815 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
816
5ff8d60e
SP
8172013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
818
392dd2de
SP
819 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
820 do_sin_slow): New functions.
821 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
822 cslow2, csloww1, csloww2): Use the new functions.
823
84ba214c
SP
824 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
825 Use M to change sign of result instead of X. Assume X is
826 positive.
827 (csloww1): Likewise.
828 (__sin): Adjust.
829 (__cos): Adjust.
830
975195e4
SP
831 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
832 arguments A and DA.
833 (__sin): Adjust.
834 (__cos): Likewise.
835
5ff8d60e
SP
836 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
837 (__cos): Likewise.
838 (sloww1): Don't adjust sign of DX.
839 (csloww1): Likewise.
840 (sloww2): Use X directly and don't adjust sign of DX.
841 (csloww2): Likewise.
842
eb983568
JM
8432013-12-19 Joseph Myers <joseph@codesourcery.com>
844
64a17f1a
JM
845 * math/auto-libm-test-in: Add tests of cabs and carg.
846 * math/auto-libm-test-out: Regenerated.
847 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
848 (carg_test_data): Likewise.
849 * math/gen-auto-libm-tests.c (func_calc_method): Add value
850 mpc_c_f.
851 (func_calc_desc): Add mpc_c_f union field.
852 (test_functions): Add cabs and carg.
853 (calc_generic_results): Handle mpc_c_f.
854
eb983568
JM
855 * sysdeps/powerpc/powerpc32/libgcc-compat.S
856 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
857 as a macro and a compat symbol.
858 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
859 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
860 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
861 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
862 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
863 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
864 not use .hidden.
865 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
866 Likewise.
867 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
868 Likewise.
869 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
870 Likewise.
871 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
872 Likewise.
873 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
874 Likewise.
875 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
876 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
877 from GLIBC_2.3.2.
878
6eeb678a
AZ
8792013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
880
881 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
882
063b2acb
PP
8832013-12-19 Paul Pluzhnikov <ppluzhnikov@google.com>
884
885 * elf/dl-misc.c (ptr_to_signal_safe_allocator_header): New function.
886 (__signal_safe_memalign, __signal_safe_free): Use it.
887 (__signal_safe_realloc): Likewise.
888
6f6fc482
JM
8892013-12-19 Joseph Myers <joseph@codesourcery.com>
890
21fea2e2
JM
891 * manual/texinfo.tex: Update to version 2013-11-26.10 with
892 trailing whitespace removed.
893 * scripts/config.guess: Update to version 2013-11-29.
894 * scripts/config.sub: Update to version 2013-10-01.
895
6f6fc482
JM
896 * math/auto-libm-test-in: Add tests of sincos.
897 * math/auto-libm-test-out: Regenerated.
898 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
899 * math/gen-auto-libm-tests.c (func_calc_method): Add value
900 mpfr_f_11.
901 (func_calc_desc): Add mpfr_f_11 union field.
902 (test_functions): Add sincos.
903 (calc_generic_results): Handle mpfr_f_11.
904 * sysdeps/i386/fpu/libm-test-ulps: Update.
905 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
906
83f5c32d
AS
9072013-12-19 Andreas Schwab <schwab@suse.de>
908
909 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
910 CALL_MCOUNT.
911 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
912 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
913 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
914
c688b419
JM
9152013-12-19 Joseph Myers <joseph@codesourcery.com>
916
335ee092
JM
917 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
918 * sysdeps/i386/fpu/libm-test-ulps: Update.
919 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
920
f88acd39
JM
921 [BZ #16293]
922 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
923 round-to-nearest mode when using frndint.
924 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
925 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
926 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
927 Likewise.
928 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
929 sinh test to fail.
930 * math/auto-libm-test-out: Regenerated.
931 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
932 (TEST_COND_x86): Likewise.
933 (expm1_tonearest_test_data): New array.
934 (expm1_test_tonearest): New function.
935 (expm1_towardzero_test_data): New array.
936 (expm1_test_towardzero): New function.
937 (expm1_downward_test_data): New array.
938 (expm1_test_downward): New function.
939 (expm1_upward_test_data): New array.
940 (expm1_test_upward): New function.
941 (main): Run the new test functions.
942 * sysdeps/i386/fpu/libm-test-ulps: Update.
943 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
944
c688b419
JM
945 * include/features.h: Update comment documenting feature test
946 macros. Mention _DEFAULT_SOURCE in comment.
947 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
948 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
949 _BSD_SOURCE and _SVID_SOURCE.
950 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
951 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
952 !_SVID_SOURCE]: Likewise.
953 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
954 (__USE_POSIX_IMPLICITLY): Define.
955 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
956 (_POSIX_SOURCE): Undefine and redefine.
957 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
958 (_POSIX_C_SOURCE): Likewise.
959 * manual/creature.texi (_DEFAULT_SOURCE): Document.
960 (Feature Test Macros): Update documentation of default features.
961
9f6e964c
RS
9622013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
963
964 * benchtests/Makefile: Add bench-strtok.
965 * benchtests/bench-strtok.c: New file: strtok benchtest.
966
ee0a148a
AM
9672013-12-19 Allan McRae <allan@archlinux.org>
968
969 * manual/install.texi: Suppress menu for plain text output.
970 * INSTALL: Regenerated.
971
1f33d36a
PP
9722013-12-18 Andrew Hunter <ahh@google.com>
973
974 * sysdeps/generic/ldsodefs.h (__signal_safe_memalign): New prototype.
975 (__signal_safe_malloc, __signal_safe_free): Likewise.
976 (__signal_safe_realloc, __signal_safe_calloc): Likewise.
977 * elf/dl-misc.c (__signal_safe_allocator_header): New struct.
978 (__signal_safe_memalign, __signal_safe_malloc): New function.
979 (__signal_safe_free, __signal_safe_realloc): Likewise.
980 (__signal_safe_calloc): Likewise.
981 * elf/dl-tls.c (allocate_dtv, _dl_clear_dtv): Call signal-safe
982 functions.
983 (_dl_deallocate_tls, _dl_update_slotinfo): Likewise.
984
35e8f7ab
PP
9852013-12-18 Andrew Hunter <ahh@google.com>
986
987 * elf/Versions (ld): Add _dl_clear_dtv.
988 * sysdeps/generic/ldsodefs.h (_dl_clear_dtv): New prototype.
989 * elf/dl-tls.c (_dl_clear_dtv): New function.
990 * nptl/allocatestack.c (get_cached_stack): Call _dl_clear_dtv.
991
69a17d9d
PP
9922013-12-18 Andrew Hunter <ahh@google.com>
993
994 * sysdeps/generic/ldsodefs.h (_dl_mask_all_signals): New prototype.
995 (_dl_unmask_signals): Likewise.
996 * sysdeps/mach/hurd/dl-sysdep.h (_dl_mask_all_signals): New stub.
997 (_dl_unmask_all_signals): Likewise.
998 * sysdeps/unix/sysv/linux/dl-sysdep.h (_dl_mask_all_signals): New prototype.
999 (_dl_unmask_all_signals): Likewise.
1000 * sysdeps/unix/sysv/linux/dl-sysdep.c (_dl_mask_all_signals): New function.
1001 (_dl_unmask_signals): Likewise.
1002
b9ab448f
BM
10032013-12-18 Brooks Moses <bmoses@google.com>
1004
1005 [BZ #15846]
1006 * misc/getauxval.c: Include errno.h.
1007 (__getauxval): Set errno to ENOENT if the requested type is not
1008 found.
1009 * misc/sys/auxv.h (getauxval): Document that it may set errno;
1010 don't declare with __attribute_const__.
1011 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
1012 * manual/startup.texi: Document that getauxval sets errno.
1013
23776487
JM
10142013-12-18 Joseph Myers <joseph@codesourcery.com>
1015
f889953b
JM
1016 * math/auto-libm-test-in: Add tests of jn and yn.
1017 * math/auto-libm-test-out: Regenerated.
1018 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
1019 (yn_test_data): Likewise.
1020 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1021 mpfr_if_f.
1022 (func_calc_desc): Add mpfr_if_f union field.
1023 (FUNC_mpfr_if_f): New macro.
1024 (test_functions): Add jn and yn.
1025 (calc_generic_results): Assert type of second input for
1026 mpfr_ff_f. Handle mpfr_if_f.
1027 (output_for_one_input_case): Disable all checking for arguments
1028 fitting floating-point types in case of an integer argument.
1029 * sysdeps/i386/fpu/libm-test-ulps: Update.
1030 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1031
23776487
JM
1032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1033 Don't expect fegetround reference in libm.so.
1034
cb756c6d
MS
10352013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1036
1037 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
1038 $(config-cflags-nofma).
1039
2dec468f
JM
10402013-12-18 Joseph Myers <joseph@codesourcery.com>
1041
5953eb3a
JM
1042 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
1043 * math/auto-libm-test-out: Regenerated.
1044
2dec468f
JM
1045 [BZ #16338]
1046 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
1047 to determine exponent and adjust argument to have exponent of -1.
1048 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
1049 log2.
1050 * math/auto-libm-test-out: Regenerated.
1051 * sysdeps/i386/fpu/libm-test-ulps: Update.
1052 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1053
4d84e6ad
OB
10542013-12-18 Ondřej Bílka <neleai@seznam.cz>
1055
1056 * manual/probes.texi: Remove cases when per-thread arenas are
1057 disabled.
1058
1818483b
AS
10592013-12-18 Andreas Schwab <schwab@suse.de>
1060
1061 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
1062 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
1063 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
1064 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
1065 * sysdeps/i386/i686/multiarch/Makefile: Update.
1066 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
1067
25de95bf
JM
10682013-12-17 Joseph Myers <joseph@codesourcery.com>
1069
1070 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
1071 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
1072
674762d9
PE
10732013-12-17 Paul Eggert <eggert@cs.ucla.edu>
1074
0748546f
PE
1075 Support TZ transition times < 00:00:00.
1076 This is needed for version-3 tz-format files; it supports time
1077 stamps past 2037 for America/Godthab (the only entry in the tz
1078 database for which this change is relevant).
1079 * manual/time.texi (TZ Variable): Document transition times
1080 from -167:59:59 through -00:00:01.
1081 * time/tzset.c (tz_rule): Time of day is now signed.
1082 (__tzset_parse_tz): Parse negative time of day.
1083
4480e934
PE
1084 Document TZ transition times >= 25:00:00.
1085 * manual/time.texi (TZ Variable): Document transition times from
1086 25:00:00 through 167:59:59. These are already supported, and this
1087 support will help with version-3 tz-format files.
1088
69947401
PE
1089 * manual/time.texi (TZ Variable): Modernize North America example
1090 to reflect current (i.e., 2007-and-later) daylight saving rules.
1091
674762d9
PE
1092 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
1093
7011c262
JM
10942013-12-17 Joseph Myers <joseph@codesourcery.com>
1095
2fc6557e
JM
1096 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
1097 * sysdeps/unix/bsd/bits/stat.h: Likewise.
1098 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
1099 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
1100 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
1101 * sysdeps/unix/bsd/bsdstat.h: Likewise.
1102 * sysdeps/unix/bsd/clock.c: Likewise.
1103 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
1104 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
1105 * sysdeps/unix/bsd/init-posix.c: Likewise.
1106 * sysdeps/unix/bsd/poll.c: Likewise.
1107 * sysdeps/unix/bsd/ptsname.c: Likewise.
1108 * sysdeps/unix/bsd/seekdir.c: Likewise.
1109 * sysdeps/unix/bsd/setegid.c: Likewise.
1110 * sysdeps/unix/bsd/seteuid.c: Likewise.
1111 * sysdeps/unix/bsd/setgid.c: Likewise.
1112 * sysdeps/unix/bsd/setrgid.c: Likewise.
1113 * sysdeps/unix/bsd/setruid.c: Likewise.
1114 * sysdeps/unix/bsd/setsid.c: Likewise.
1115 * sysdeps/unix/bsd/setuid.c: Likewise.
1116 * sysdeps/unix/bsd/sigaction.c: Likewise.
1117 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
1118 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
1119 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
1120 * sysdeps/unix/bsd/telldir.c: Likewise.
1121 * sysdeps/unix/bsd/times.c: Likewise.
1122 * sysdeps/unix/bsd/usleep.c: Likewise.
1123
029c7b25
JM
1124 * misc/Makefile (install-lib): Remove libbsd-compat.a.
1125 ($(objpfx)libbsd-compat.a): Remove rule.
1126
7011c262
JM
1127 * include/features.h (__FAVOR_BSD): Do not define.
1128 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
1129 features conflicting with POSIX.
1130 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
1131 (_BSD_SOURCE): Remove description of not being a subset of other
1132 feature test macros.
1133 * manual/job.texi (getpgrp): Do not document BSD version.
1134 (getpgid): Do not document by reference to BSD getpgrp.
1135 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
1136 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
1137 * signal/signal.h [__FAVOR_BSD]: Likewise.
1138 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
1139 instead of making contents conditional on [__FAVOR_BSD].
1140 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
1141
affb6f78
AZ
11422013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1143
1144 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1145
c88769dd
JM
11462013-12-17 Joseph Myers <joseph@codesourcery.com>
1147
6432a540
JM
1148 [BZ #16314]
1149 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
1150 values below 2**-450, not 2**-500.
1151 * math/auto-libm-test-in: Don't allow spurious underflow from
1152 hypot.
1153 * math/auto-libm-test-out: Regenerated.
1154
c88769dd
JM
1155 [BZ #16316]
1156 [BZ #16330]
1157 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
1158 values of ha and hb and sort them after adjusting subnormal
1159 arguments.
1160 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
1161 Likewise.
1162 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
1163 values of ea and eb and sort them after adjusting subnormal
1164 arguments.
1165 * math/auto-libm-test-in: Do not expect some hypot tests of
1166 subnormals to fail. Add more hypot tests.
1167 * math/auto-libm-test-out: Regenerated.
1168
29618f6b
KK
11692013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1170
1171 [BZ #13304]
1172 * sysdeps/sh/s_fma.c: New file.
1173 * sysdeps/sh/s_fmaf.c: New file.
1174 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
1175 version.
1176 * sysdeps/sh/Implies: Add sh/soft-fp.
1177
eacfdfbf
RM
11782013-12-16 Roland McGrath <roland@hack.frob.com>
1179
1180 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
1181 level of indirection to members `objname', `errstring', `malloced'.
1182 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
1183 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
1184 it as the __longjmp argument (just pass 1 instead).
1185 (_dl_catch_error): Initialize C with argument pointers and address of
1186 volatile local ERRCODE rather than copying values out of C at return.
1187
ff362e5b
JM
11882013-12-16 Joseph Myers <joseph@codesourcery.com>
1189
1190 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
1191 * math/auto-libm-test-out: Regenerated.
1192 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
1193 (hypot_test_data): Likewise.
1194 (pow_test_data): Likewise.
1195 (pow_tonearest_test_data): Likewise.
1196 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1197 mpfr_ff_f.
1198 (func_calc_desc): Add mpfr_ff_f union field.
1199 (FUNC_mpfr_ff_f): New macro.
1200 (test_functions): Add atan2, hypot and pow.
1201 (special_fill_min): New function.
1202 (special_fill_minus_min): Likewise.
1203 (special_fill_min_subnorm): Likewise.
1204 (special_fill_minus_min_subnorm): Likewise.
1205 (special_real_inputs): Add min, -min, min_subnorm and
1206 -min_subnorm.
1207 (calc_generic_results): Handle mpfr_ff_f.
1208 * sysdeps/i386/fpu/libm-test-ulps: Update.
1209 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1210
5764c27f
WN
12112013-12-16 Will Newton <will.newton@linaro.org>
1212
1213 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
1214 (Aligned Memory Blocks): Add documentation for aligned_alloc
1215 and suggest it as an alternative to posix_memalign.
1216 (Hooks for Malloc): Document __memalign_hook is also called
1217 for aligned_alloc. (Summary of Malloc): Add summary for
1218 aligned alloc. Document __memalign_hook is also called
1219 for aligned_alloc.
1220
0a096e44
WN
12212013-12-16 Will Newton <will.newton@linaro.org>
1222
1223 * manual/memory.texi (Malloc Examples): Clarify default
1224 alignment documentation. Suggest posix_memalign rather
1225 than memalign or valloc.
1226 (Aligned Memory Blocks): Remove suggestion to use memalign
1227 or valloc. Remove obsolete comment about BSD.
1228 Document memalign errno values and mark the function obsolete.
1229 Document posix_memalign returned error codes. Mark valloc
1230 as obsolete. (Hooks for Malloc): __memalign_hook is also
1231 called for posix_memalign and valloc.
1232 (Summary of Malloc): Add posix_memalign to function summary.
1233 __memalign_hook is also called for posix_memalign and valloc.
1234
8d561986
SP
12352013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1236
1237 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
1238 TAYLOR_SIN.
1239 (__sin): Adjust.
1240 (__cos): Likewise.
1241 (sloww): Use mynumber union. Expand ternary operator into
1242 if-else statements.
1243 (cslow): use mynumber union.
1244
73616a74
AM
12452013-12-16 Allan McRae <allan@archlinux.org>
1246
9e8ac24b
AM
1247 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
1248 * configure: Regenerated.
1249
6f8e37eb
AM
1250 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
1251
8894bad3
AM
1252 [BZ #14120]
1253 * configure.ac: Added --enable-maintainer-mode. Check for
1254 autoconf when enabled.
1255 * configure: Regenerated.
1256
73616a74
AM
1257 * nscd/nscd.service: New file.
1258 * nscd/nscd.tmpfiles: New file.
1259
584b18eb
OB
12602013-12-14 Ondřej Bílka <neleai@seznam.cz>
1261
1262 [BZ #12100]
1263 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
1264 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
1265 * sysdeps/x86_64/multiarch/strstr.c: ... here.
1266 (strstr): Add __strstr_sse2_unaligned ifunc.
1267 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
1268 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
1269 (strcasestr): Remove __strcasestr_sse42 ifunc.
1270 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
1271 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
1272 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
1273
8a5c7897
KK
12742013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1275
1276 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
1277 * sysdeps/sh/bits/fenv.h: ... here.
1278 * sysdeps/sh/sh4/fpu/bits: Remove directory.
1279
fd712ef3
AZ
12802013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1281
1282 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
1283
42fcb46c
AZ
12842013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1285
1286 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
1287 hypotf multiarch implementations.
1288 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
1289 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
1290 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
1291 multiarch hypot for PPC64.
1292 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
1293 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
1294 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
1295 multiarch hypotf for PPC64.
1296
83efded4
AZ
12972013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1298
1299 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
1300 modff multiarch implementations.
1301 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
1302 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
1303 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
1304 multiarch modf for PPC64.
1305 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
1306 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
1307 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
1308 multiarch modff for PPC64.
1309
43e246d2
AZ
13102013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1311
1312 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
1313 and logl multiarch implementations.
1314 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
1315 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
1316 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
1317 multiarch logb for PPC64.
1318 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
1319 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
1320 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
1321 multiarch logb for PPC64.
1322 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
1323 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
1324 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
1325 multiarch logb for PPC64.
1326
8fdad123
AZ
13272013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1328
1329 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
1330 isinff multiarch implementation.
1331 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
1332 file.
1333 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
1334 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
1335 multiarch isinf for PPC64.
1336 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
1337 file.
1338 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
1339 multiarch isinff for PPC64.
1340
1481d706
AZ
13412013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1342
1343 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
1344 finitef multiarch implementation.
1345 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
1346 file.
1347 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
1348 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
1349 multiarch finite for PPC64.
1350 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
1351 file.
1352 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
1353 multiarch finitef for PPC64.
1354
5ccd5fc8
AZ
13552013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1356
1357 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
1358 lrint multiarch implementation.
1359 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
1360 file.
1361 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
1362 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
1363 multiarch llrint for PPC64.
1364 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
1365 multiarch lrint for PPC64.
1366
2568f3fa
AZ
13672013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1368
1369 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
1370 copysignf multiarch implementation.
1371 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
1372 file.
1373 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
1374 file.
1375 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
1376 multiarch copysign for PPC64.
1377 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
1378 multiarch copysignf for PPC64.
1379
1cb341fd
AZ
13802013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1381
1382 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
1383 multiarch implementation.
1384 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
1385 file.
1386 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
1387 file.
1388 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
1389 file.
1390 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
1391 file.
1392 multiarch llround for PPC64.
1393 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
1394 multiarch trunc for PPC64.
1395 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
1396 multiarch truncf for PPC64.
1397
59a3e194
AZ
13982013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1399
1400 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
1401 multiarch implementation.
1402 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
1403 file.
1404 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
1405 file.
1406 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
1407 file.
1408 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
1409 file.
1410 multiarch llround for PPC64.
1411 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
1412 multiarch round for PPC64.
1413 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
1414 multiarch roundf for PPC64.
1415
357fd3b4
AZ
14162013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1417
1418 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
1419 multiarch implementation.
1420 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
1421 file.
1422 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
1423 file.
1424 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
1425 file.
1426 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
1427 file.
1428 multiarch llround for PPC64.
1429 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
1430 multiarch floor for PPC64.
1431 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
1432 multiarch floorf for PPC64.
1433
96770f12
AZ
14342013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1435
1436 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
1437 multiarch implementation.
1438 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
1439 file.
1440 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
1441 file.
1442 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
1443 file.
1444 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
1445 file.
1446 multiarch llround for PPC64.
1447 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
1448 multiarch ceil for PPC64.
1449 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
1450 multiarch ceilf for PPC64.
1451
c3627f6e
AZ
14522013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1453
1454 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
1455 multiarch implementation.
1456 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
1457 file.
1458 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
1459 file.
1460 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
1461 file.
1462 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
1463 multiarch llround for PPC64.
1464 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
1465 multiarch lround for PPC64.
1466
b2284ad7
AZ
14672013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1468
1469 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
1470 multiarch implementation.
1471 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
1472 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
1473 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
1474 file.
1475 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
1476 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
1477 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
1478 multiarch isnan for PPC64.
1479 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
1480 multiarch isnanf for PPC64.
1481
69bbc63d
AZ
14822013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1483
1484 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
1485 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
1486 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
1487 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
1488 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
1489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
1490
c24517c9
AZ
14912013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1492
1493 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
1494 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1495 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1496 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1497
a52374e8
AZ
14982013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1499
1500 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
1501 multiarch implementations.
1502 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1503 (__libc_ifunc_impl_list): Likewise.
1504 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
1505 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
1506 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
1507 multiarch stpcpy for PPC64.
1508
7f5ec113
AZ
15092013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1510
1511 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
1512 multiarch implementations.
1513 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1514 (__libc_ifunc_impl_list): Likewise.
1515 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
1516 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
1517 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
1518 multiarch strcpy for PPC64.
1519
e28bcd42
AZ
15202013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1521
1522 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
1523 redefine function name.
1524 (_wordcopy_fwd_dest_aligned): Likewise.
1525 (_wordcopy_bwd_aligned): Likewise.
1526 (_wordcopy_bwd_dest_aligned): Likewise.
1527 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
1528 multiarch implementations.
1529 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1530 (__libc_ifunc_impl_list): Likewise.
1531 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
1532 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
1533 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
1534 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
1535 multiarch wcscpy for PPC64.
1536
92cacfce
AZ
15372013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1538
1539 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
1540 multiarch implementations.
1541 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1542 (__libc_ifunc_impl_list): Likewise.
1543 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
1544 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
1545 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
1546 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
1547 multiarch wcscpy for PPC64.
1548
7b714620
AZ
15492013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1550
1551 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
1552 multiarch implementations.
1553 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1554 (__libc_ifunc_impl_list): Likewise.
1555 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
1556 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
1557 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
1558 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
1559 multiarch wcsrchr for PPC64.
1560
16fd2ae3
AZ
15612013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1562
1563 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
1564 multiarch implementations.
1565 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1566 (__libc_ifunc_impl_list): Likewise.
1567 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
1568 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
1569 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
1570 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
1571 multiarch wcschr for PPC64.
1572
9ee2969b
AZ
15732013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1574
1575 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
1576 multiarch implementations.
1577 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1578 (__libc_ifunc_impl_list): Likewise.
1579 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
1580 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
1581 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
1582 multiarch strchrnul for PPC64.
1583
372dc060
AZ
15842013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1585
1586 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
1587 implementations.
1588 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1589 (__libc_ifunc_impl_list): Likewise.
1590 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
1591 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
1592 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
1593 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
1594 strchr for PPC64.
1595
24c2c3b9
AZ
15962013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1597
1598 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
1599 implementations.
1600 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1601 (__libc_ifunc_impl_list): Likewise.
1602 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
1603 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
1604 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
1605 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
1606 strncmp for PPC64.
1607
1c92d9a0
AZ
16082013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1609
1610 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
1611 multiarch implementations.
1612 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1613 (__libc_ifunc_impl_list): Likewise.
1614 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
1615 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
1616 strncasecmp for PPC64.
1617 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
1618 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
1619 multiarch strncasecmp_l for PPC64.
1620
17de3ee3
AZ
16212013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1622
1623 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
1624 multiarch implementations.
1625 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1626 (__libc_ifunc_impl_list): Likewise.
1627 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
1628 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
1629 multiarch strcasecmp for PPC64.
1630 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
1631 file.
1632 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
1633 multiarch strcasecmp_l for PPC64.
1634
62982bf9
AZ
16352013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1636
1637 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
1638 implementations.
1639 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1640 (__libc_ifunc_impl_list): Likewise.
1641 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
1642 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
1643 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
1644 strnlen for PPC64.
1645
a65f4904
AZ
16462013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1647
1648 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
1649 implementations.
1650 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1651 (__libc_ifunc_impl_list): Likewise.
1652 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
1653 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
1654 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
1655 strlen for PPC64.
1656
1fd005ad
AZ
16572013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1658
1659 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
1660 implementations.
1661 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1662 (__libc_ifunc_impl_list): Likewise.
1663 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
1664 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
1665 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
1666 rawmemrchr for PPC64.
1667
cd05ba91
AZ
16682013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1669
1670 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
1671 implementation.
1672 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1673 (__libc_ifunc_impl_list): Likewise.
1674 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
1675 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
1676 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
1677 memrchr for PPC64.
1678
870f8676
AZ
16792013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1680
1681 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
1682 implementation.
1683 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1684 (__libc_ifunc_impl_list): Likewise.
1685 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
1686 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
1687 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
1688 memchr for PPC64.
1689
f00be62b
AZ
16902013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1691
1692 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
1693 implementation.
1694 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1695 (__libc_ifunc_impl_list): Likewise.
1696 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
1697 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
1698 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
1699 mempcpy for PPC64.
1700
8a29a3d0
AZ
17012013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1702
1703 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
1704 avoid cretion of __bzero symbol.
1705 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
1706 Likewise.
1707 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
1708 Likewise.
1709 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
1710 Likewise.
1711 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
1712 multiarch implementations.
1713 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1714 (__libc_ifunc_impl_list): Likewise.
1715 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
1716 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
1717 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
1718 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
1719 bzero for PPC32.
1720 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
1721 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
1722 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
1723 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
1724 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
1725 memset for PPC64.
1726 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
1727
07253fcf
AZ
17282013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1729
1730 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
1731 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
1732 implementations.
1733 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1734 (__libc_ifunc_impl_list): Likewise.
1735 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
1736 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
1737 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
1738 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
1739 memcmp for PPC64.
1740
b5beafbc
AZ
17412013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1742
1743 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
1744 multiarch for POWER/PPC64.
1745 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1746 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
1747 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
1748 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
1749 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
1750 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
1751 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
1752 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
1753 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
1754 memcpy for PPC64.
1755
5e6a4d4b
AZ
17562013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1757
1758 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
1759 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
1760 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
1761 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
1762 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
1763 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
1764 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
1765 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
1766 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
1767 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
1768 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
1769 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
1770 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
1771 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
1772 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
1773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
1774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
1775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
1776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
1777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
1778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
1779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
1780
ddfab6dc
KK
17812013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1782
1783 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
1784
19b5525e
SP
17852013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1786
1787 * benchtests/Makefile (bench): Add exp2 and log2.
1788 (LDLIBS-bench-exp2): Add -lm.
1789 (LDLIBS-bench-log2): Likewise.
1790 * benchtests/exp2-inputs: New inputs file.
1791 * benchtests/log2-inputs: New inputs file.
1792 * benchtests/log-inputs: Add new inputs.
1793 * benchtests/tan-inputs: Likewise.
1794
196f7f5d
SP
17952013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1796
7a74607f
SP
1797 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
1798 definition...
1799 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
1800 csloww1, csloww2): ... from here.
1801
196f7f5d
SP
1802 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
1803 instead of structures.
1804 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
1805 (POLYNOMIAL): Likewise.
1806 (TAYLOR_SLOW): Likewise.
1807 (__sin): Likewise.
1808 (__cos): Likewise.
1809 (slow1): Likewise.
1810 (slow2): Likewise.
1811 (sloww): Likewise.
1812 (sloww1); Likewise.
1813 (sloww2): Likewise.
1814 (bsloww1): Likewise.
1815 (bsloww2): Likewise.
1816 (cslow2): Likewise.
1817 (csloww): Likewise.
1818 (csloww1): Likewise.
1819 (csloww2): Likewise.
1820
0dfa665c
OB
18212013-12-10 Ondřej Bílka <neleai@seznam.cz>
1822
1823 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
1824 (__malloc_assert, __libc_realloc, __libc_calloc,
1825 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
1826 memcpy and memset.
1827 * malloc/hooks.c (realloc_check): Likewise.
1828
5782a80f
OB
18292013-12-10 Ondřej Bílka <neleai@seznam.cz>
1830
1831 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
1832 * malloc/arena.c: Remove PER_THREAD conditional.
1833 [!PER_THREAD]: Remove code.
1834 (ptmalloc_unlock_all2): Likewise.
1835 (ptmalloc_init): Likewise.
1836 (_int_new_arena): Likewise.
1837 (arena_get2): Likewise.
1838 * malloc/hooks.c (__malloc_get_state): Likewise.
1839 (__malloc_set_state): Likewise.
1840 * malloc/malloc.c: Likewise.
1841 (struct malloc_state): Likewise.
1842 (struct malloc_par): Likewise.
1843 (__libc_realloc): Likewise.
1844 (__libc_mallopt): Likewise.
1845
aeb95445
AZ
18462013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1847
1848 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
1849
e8349efd
OB
18502013-12-09 Ondřej Bílka <neleai@seznam.cz>
1851
1852 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
1853 macro to a function. Check for zero perturb_byte.
1854 (_int_malloc, _int_free): Remove zero perturb_byte checks.
1855
f3eeb3fc
OB
18562013-12-09 Ondřej Bílka <neleai@seznam.cz>
1857
1858 * malloc/malloc.c: (force_reg): Remove.
1859 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
1860 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
1861 force_reg by atomic_forced_read.
1862 * malloc/arena.c (ptmalloc_init): Likewise.
1863 * malloc/hooks.c (top_check): Likewise.
1864
be2f9009
AZ
18652013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1866
1867 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1868
e7b914bd
MT
18692013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
1870
1871 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1872
9f0be4f8
JM
18732013-12-08 Joseph Myers <joseph@codesourcery.com>
1874
1875 * math/auto-libm-test-in: Add tests of lgamma.
1876 * math/auto-libm-test-out: Regenerated.
1877 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
1878 (M_LOG_2_SQRT_PIl): Likewise.
1879 (lgamma_test_data): Use AUTO_TESTS_f_f1.
1880 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1881 mpfr_f_f1.
1882 (func_calc_desc): Add mpfr_f_f1 union field.
1883 (ARGS1): New macro.
1884 (ARGS2): Likewise.
1885 (ARGS3): Likewise.
1886 (ARGS4): Likewise.
1887 (RET1): Likewise.
1888 (RET2): Likewise.
1889 (CALC): Likewise.
1890 (FUNC): Likewise.
1891 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
1892 (test_functions): Add lgamma.
1893 (calc_generic_results): Handle mpfr_f_f1.
1894 * sysdeps/i386/fpu/libm-test-ulps: Update.
1895 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1896
24eeafdb
AZ
18972013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1898
1899 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
1900 __mpn_add_n for PowerPC64/POWER7.
1901 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
1902 __mpn_sub_n for PowerPC64/POWER7.
1903
4a2c0fd4
AZ
19042013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1905
1906 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
1907 __mpn_addmul_1 for PowerPC64.
1908 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
1909 __mpn_submul_1 for PowerPC64.
1910 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
1911 for PowerPC64.
1912 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
1913 for PowerPC64.
1914
4b5b548c
FS
19152013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
1916
1917 [BZ #15089]
1918 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
1919
0a3ac0aa
AZ
19202013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1921
1922 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
1923
ccdc8438
AZ
19242013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1925
1926 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
1927 add multiarch folders.
1928 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
1929 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
1930 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
1931 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
1932 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
1933 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
1934 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
1935 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
1936 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
1937 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
1938 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
1939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
1940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
1941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
1942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
1943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
1944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
1945
2e973d99
AZ
19462013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1947
1948 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1949 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
1950 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
1951 New file.
1952 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
1953 New file.
1954 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
1955 multiarch __ieee754_hypot for PowerPC32.
1956 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
1957 New file.
1958 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
1959 New file.
1960 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
1961 multiarch __ieee754_hypotf for PowerPC32.
1962
2d9470b2
AZ
19632013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1964
1965 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
1966 long_double_symbol only if __logbl is defined.
1967 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
1968 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
1969 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
1970 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
1971 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
1972 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
1973 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
1974 path for implementation.
1975 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
1976 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
1977 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
1978 logb, and logbl multiarch implementations for PowerPC32.
1979 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
1980 file.
1981 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
1982 file.
1983 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
1984 multiarch logb for PowerPC32.
1985 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
1986 file.
1987 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
1988 file.
1989 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
1990 multiarch logbf for PowerPC32.
1991 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
1992 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
1993 file.
1994 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
1995 multiarch logbl implementation for PowerPC32.
1996
5212ffce
AZ
19972013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1998
1999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
2000 and modff multiarch implementations.
2001 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
2002 New file.
2003 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
2004 New file.
2005 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
2006 multiarch modf for PowerPC32.
2007 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
2008 New file.
2009 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
2010 New file.
2011 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
2012 multiarch modff for PowerPC32.
2013
79dccf31
AZ
20142013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2015
2016 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
2017 and lrintf multiarch implementations.
2018 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
2019 New file.
2020 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
2021 New file.
2022 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
2023 multiarch lrint for PowerPC32.
2024 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
2025 file: multiarch lrintf for PowerPC32.
2026
deb66480
AZ
20272013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2028
2029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
2030 and lroundf multiarch implementations.
2031 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
2032 New file.
2033 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
2034 New file.
2035 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
2036 New file.
2037 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
2038 multiarch lround for PowerPC32.
2039 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
2040 file: multiarch lroundf for PowerPC32.
2041
264b036b
AZ
20422013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2043
2044 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
2045 copysign and copysignf multiarch implementations.
2046 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
2047 New file.
2048 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
2049 New file.
2050 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
2051 file: multiarch copysign for PowerPC32.
2052 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
2053 file: multiarch copysignf for PowerPC32.
2054
d47db6c9
AZ
20552013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2056
2057 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
2058 and truncf multiarch implementations.
2059 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
2060 New file.
2061 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
2062 file.
2063 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
2064 multiarch trunc for PowerPC32.
2065 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
2066 New file.
2067 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
2068 New file.
2069 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
2070 multiarch truncf for PowerPC32.
2071
ddb60b5a
AZ
20722013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2073
2074 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
2075 and roundf multiarch implementations.
2076 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
2077 New file.
2078 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
2079 file.
2080 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
2081 multiarch round for PowerPC32.
2082 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
2083 New file.
2084 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
2085 New file.
2086 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
2087 multiarch roundf for PowerPC32.
2088
bedcf49b
AZ
20892013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2090
2091 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
2092 and floorf multiarch implementations.
2093 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
2094 New file.
2095 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
2096 file.
2097 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
2098 multiarch floor for PowerPC32.
2099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
2100 New file.
2101 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
2102 New file.
2103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
2104 multiarch floorf for PowerPC32.
2105
35ae5b40
AZ
21062013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2107
2108 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
2109 and ceilf multiarch implementations.
2110 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
2111 New file.
2112 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
2113 file.
2114 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
2115 multiarch ceil for PowerPC32.
2116 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
2117 New file.
2118 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
2119 file.
2120 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
2121 multiarch ceilf for PowerPC32.
2122
ae1a4cd9
AZ
21232013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2124
2125 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
2126 is defined.
2127 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
2128 FINITEF is defined.
2129 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
2130 and finitef multiarch implementations.
2131 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
2132 New file.
2133 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
2134 file.
2135 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
2136 multiarch finite for PowerPC32.
2137 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
2138 New file.
2139 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
2140 file: multiarch finitef for PowerPC32.
2141
64fffd65
AZ
21422013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2143
2144 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
2145 and isinff multiarch implementations.
2146 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
2147 file.
2148 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
2149 file.
2150 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
2151 multiarch isinf for PowerPC32.
2152 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
2153 New file.
2154 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
2155 multiarch isinff for PowerPC32.
2156
8e4e7ba2
AZ
21572013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2158
2159 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
2160 alias when __isnan is defined.
2161 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
2162 and isnanf multiarch implementations.
2163 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
2164 file.
2165 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
2166 file.
2167 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
2168 file.
2169 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
2170 file.
2171 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
2172 multiarch isnan for PowerPC32.
2173 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
2174 New file.
2175 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
2176 New file.
2177 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
2178 multiarch isnanf for PowerPC32.
2179
ddba588e
AZ
21802013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2181
2182 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
2183 and sqrtf multiarch implementations.
2184 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
2185 file.
2186 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
2187 file.
2188 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
2189 multiarch sqrt for PowerPC32.
2190 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
2191 file.
2192 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
2193 file.
2194 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
2195 multiarch sqrtf for PowerPC32.
2196
0f96a2f0
AZ
21972013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2198
2199 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
2200 and llroundf multiarch implementations.
2201 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
2202 New file.
2203 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
2204 New file.
2205 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
2206 New file.
2207 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
2208 file: multiarch llround for PowerPC32.
2209 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
2210 file: multiarch llroundf for PowerPC32.
2211
c9b5d79e
AZ
22122013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2213
2214 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
2215 multiarch PowerPC32 fpu implementations.
2216 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
2217 New file.
2218 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
2219 New file.
2220 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
2221 multiarch llrint for PowerPC32.
2222 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
2223 New file.
2224 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
2225 New file.
2226 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
2227 file.
2228
9cbb3aab
AZ
22292013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2230
2231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
2232
ea5a72f8
AZ
22332013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2234
2235 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
2236 file.
2237 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
2238 file.
2239 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
2240 file.
2241 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
2242 multiarch wordcopy for PPC32.
2243 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
2244 wordcopy objects.
2245 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2246 (__libc_ifunc_impl_list): Likewise.
2247 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
2248 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
2249 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
2250 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
2251 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
2252 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
2253
93be09e7
AZ
22542013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2255
2256 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
2257 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
2258 file.
2259 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
2260 file.
2261 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
2262 file.
2263 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
2264 multiarch wcscpy for PPC32.
2265 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
2266 multiarch objects.
2267 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2268 (__libc_ifunc_impl_list): Likewise.
2269 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
2270 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
2271 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
2272 sysdeps/powerpc/power6/wcscpy.c.
2273
bb04e529
AZ
22742013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2275
2276 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
2277 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
2278 file.
2279 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
2280 file.
2281 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
2282 file.
2283 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
2284 multiarch wcsrchr for PPC32.
2285 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
2286 multiarch objects.
2287 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2288 (__libc_ifunc_impl_list): Likewise.
2289 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
2290 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
2291 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
2292 sysdeps/powerpc/power6/wcsrchr.c.
2293
05b5cd1c
AZ
22942013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2295
2296 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
2297 file.
2298 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
2299 file.
2300 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
2301 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
2302 multiarch wcschr for PPc32.
2303 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
2304 multiarch objects.
2305 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2306 (__libc_ifunc_impl_list): Likewise.
2307 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
2308 * sysdeps/powerpc/power6/wcschr.c: ... to here.
2309 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
2310 sysdeps/powerpc/power6/wcschr.c.
2311
ba964147
AZ
23122013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2313
2314 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
2315 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
2316 file.
2317 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
2318 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
2319 file: multiarch strchr for PPC32.
2320 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
2321 multiarch objects.
2322 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2323 (__libc_ifunc_impl_list): Likewise.
2324
31c81aaa
AZ
23252013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2326
2327 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
2328 name.
2329 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
2330 file.
2331 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
2332 file.
2333 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
2334 multiarch strchrnul for PPC32.
2335 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
2336 multiarch objects.
2337 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2338 (__libc_ifunc_impl_list): Likewise.
2339
0d0607d9
AZ
23402013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2341
2342 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
2343 file.
2344 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
2345 multiarch strncasecmp for PPC32.
2346 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
2347 file.
2348 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
2349 multiarch strncasecmp_l for PPC32.
2350 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
2351 strncasecmp multiarch objects.
2352 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2353 (__libc_ifunc_impl_list): Likewise.
2354
4dfd5c86
AZ
23552013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2356
2357 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
2358 file.
2359 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
2360 multiarch strncasecmp for PPC32.
2361 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
2362 New file.
2363 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
2364 multiarch strcasecmp_l for PPC32.
2365 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
2366 multiarch objects.
2367 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2368 (__libc_ifunc_impl_list): Likewise.
2369
a19e01a3
AZ
23702013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2371
2372 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
2373 file.
2374 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
2375 file.
2376 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
2377 multiarch strncmp for PPC32.
2378 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
2379 multiarch objects.
2380 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2381 (__libc_ifunc_impl_list): Likewise.
2382
ae9cf7a2
AZ
23832013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2384
2385 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
2386 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
2387 file.
2388 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
2389 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
2390 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
2391 multiarch objects.
2392 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2393 (__libc_ifunc_impl_list): Likewise.
2394
3148bb7d
AZ
23952013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2396
2397 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
2398 file.
2399 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
2400 file.
2401 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
2402 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
2403 multiarch objects.
2404 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2405 (__libc_ifunc_impl_list): Likewise.
2406
7af8b946
AZ
24072013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2408
2409 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
2410 file.
2411 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
2412 file.
2413 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
2414 multiarch rawmemchr for PPC32.
2415 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
2416 multiarch objects.
2417 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2418 (__libc_ifunc_impl_list): Likewise.
2419
03a6aa6a
AZ
24202013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2421
2422 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
2423 file.
2424 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
2425 file.
2426 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
2427 file: memrchr multiarch for PPC32.
2428 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
2429 multiarch objects.
2430 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2431 (__libc_ifunc_impl_list): Likewise.
2432
1c62e6d9
AZ
24332013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2434
2435 * string/memchr.c (__memchr): Using macro to redefine symbol name.
2436 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
2437 file.
2438 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
2439 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
2440 multiarch memchr for PPC32.
2441 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
2442 multiarch objects.
2443 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2444 (__libc_ifunc_impl_list): Likewise.
2445
87da8bdb
AZ
24462013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2447
2448 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
2449 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
2450 file.
2451 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
2452 file.
2453 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
2454 file: multiarch mempcpy for PPC32.
2455 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
2456 multiarch objects.
2457 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2458 (__libc_ifunc_impl_list): Likewise.
2459
20ed4714
AZ
24602013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2461
2462 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
2463 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
2464 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
2465 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
2466 multiarch bzero for PPC32.
2467 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
2468 file.
2469 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
2470 file.
2471 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
2472 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
2473 file: multiarch memset for PPC32.
2474 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
2475 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
2476 memset multiarch objects.
2477 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2478 (__libc_ifunc_impl_list): Likewise.
2479
ab3e3a46
AZ
24802013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2481
2482 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
2483 file.
2484 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
2485 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
2486 memcmp for PPC32.
2487 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
2488 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
2489 multiarch objects.
2490 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2491 (__libc_ifunc_impl_list): Likewise.
2492
930de6f0
AZ
24932013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2494
2495 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
2496 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
2497 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
2498 file.
2499 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
2500 file.
2501 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
2502 file.
2503 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
2504 multiarch memcpy for PPC32.
2505 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
2506 multiarch objects.
2507 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2508 (__libc_ifunc_impl_list): Likewise.
2509
4c628e00
AZ
25102013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2511
2512 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
2513 support multiarch for POWER/PPC32.
2514 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
2515 Likewise.
2516 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
2517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
2518 Implies file to make multiarch folder appers before the fpu and
2519 default folder for power4 configuration.
2520
f4479220
SP
25212013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
2522
2523 * scripts/bench.pl: Append volatile keyword to type.
2524
8517800f
KK
25252013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2526
2527 * sysdeps/sh/sotruss-lib.c: New file.
2528 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
2529
180138f1
AZ
25302013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2531
2532 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2533
bbf37bdc
JM
25342013-12-05 Joseph Myers <joseph@codesourcery.com>
2535
e47cc4e0
JM
2536 [BZ #6810]
2537 * math/w_tgamma.c: Include <errno.h>.
2538 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
2539 * math/w_tgammaf.c: Include <errno.h>.
2540 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
2541 * math/w_tgammal.c: Include <errno.h>.
2542 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
2543 * math/auto-libm-test-in: Do not allow missing errno on tgamma
2544 underflow. Add more tgamma tests.
2545 * math/auto-libm-test-out: Regenerated.
2546 * sysdeps/i386/fpu/libm-test-ulps: Update.
2547 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2548
bbf37bdc
JM
2549 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
2550 sin, sinh, tan, tanh, tgamma, y0 and y1.
2551 * math/auto-libm-test-out: Regenerated.
2552 * math/libm-test.inc (TEST_COND_x86_64): New macro.
2553 (TEST_COND_x86): Likewise.
2554 (M_E2l): Remove macro.
2555 (M_E3l): Likewise.
2556 (M_2_SQRT_PIl): Likewise.
2557 (M_SQRT_PIl): Likewise.
2558 (M_1_DIV_El): Likewise.
2559 (log_test_data): Use AUTO_TESTS_f_f.
2560 (log10_test_data): Likewise.
2561 (log1p_test_data): Likewise.
2562 (log2_test_data): Likewise.
2563 (sin_test_data): Likewise.
2564 (sin_tonearest_test_data): Likewise.
2565 (sin_towardzero_test_data): Likewise.
2566 (sin_downward_test_data): Likewise.
2567 (sin_upward_test_data): Likewise.
2568 (sinh_test_data): Likewise.
2569 (sinh_tonearest_test_data): Likewise.
2570 (sinh_towardzero_test_data): Likewise.
2571 (sinh_downward_test_data): Likewise.
2572 (sinh_upward_test_data): Likewise.
2573 (tan_test_data): Likewise.
2574 (tan_tonearest_test_data): Likewise.
2575 (tan_towardzero_test_data): Likewise.
2576 (tan_downward_test_data): Likewise.
2577 (tan_upward_test_data): Likewise.
2578 (tanh_test_data): Likewise.
2579 (tgamma_test_data): Likewise.
2580 (y0_test_data): Likewise.
2581 (y1_test_data): Likewise.
2582 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
2583 (special_real_inputs): Add pi/4.
2584 * sysdeps/i386/fpu/libm-test-ulps: Update.
2585 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2586
eb5ad6b9
AZ
25872013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2588
2589 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
2590 "longjmp_target" static probes.
2591 (__longjmp): Rename to __longjmp_symbol.
2592 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2593 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
2594 on which longjmp to generate.
2595 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2596 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
2597 probe.
2598 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2599 (__sigjmp_save): Rename to __sigjmp_save_symbol.
2600 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2601 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
2602 and __sigjmp_save_symbol based on which sigsetjmp to generated.
2603 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
2604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
2605 __longjmp_symbol based on which __longjmp to generate.
2606 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
2607 probe.
2608 (setjmp): Rename to setjmp_symbol.
2609 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2610 (_setjmp): Rename to _setjmp_symbol.
2611 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2612 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
2613 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
2614 which setjmp to generate.
2615 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
2616 "longjmp_target" static probes.
2617
d136c6dc
SP
26182013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2619
9298ecba
SP
2620 * benchtests/README: Add note about output arguments.
2621 * benchtests/bench-sincos.c: Remove file.
2622 * benchtests/sincos-inputs: New file.
2623 * scripts/bench.pl: Identify output arguments and define
2624 static variables for them.
2625
232983e9
SP
2626 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
2627
d136c6dc
SP
2628 [BZ #15941]
2629 * Makefile (INSTALL): Add install-plain.texi as the primary
2630 dependency.
2631 * manual/install-plain.texi: New file.
2632 * manual/install.texi: Include node directive only for
2633 non-plaintext output.
2634
699ff837
JM
26352013-12-04 Joseph Myers <joseph@codesourcery.com>
2636
ab07cea8
JM
2637 * stdlib/longlong.h: Update from GCC.
2638
699ff837
JM
2639 [BZ #6807]
2640 [BZ #15901]
2641 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
2642 * math/w_j0f.c (y0f): Likewise.
2643 * math/w_j0l.c (__y0l): Likewise.
2644 * math/w_j1.c (y1): Likewise.
2645 * math/w_j1f.c (y1f): Likewise.
2646 * math/w_j1l.c (__y1l): Likewise
2647 * math/w_jn.c (yn): Likewise.
2648 * math/w_jnf.c (ynf): Likewise.
2649 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
2650 Bessel function pole errors in _POSIX_ mode. Use NAN as return
2651 value for Bessel function domain errors outside _SVID_ mode.
2652 Adjust sign of return value for yn (negative integer, 0).
2653 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
2654 by zero in return for negative x and set sign appropriately for
2655 negative n.
2656 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
2657 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2658 * math/libm-test.inc (y0_test_data): Add more tests and adjust
2659 expectations in error cases.
2660 (y1_test_data): Likewise.
2661 (yn_test_data): Likewise.
2662 * sysdeps/i386/fpu/libm-test-ulps: Update.
2663 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2664
5b118558
UW
26652013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2666
2667 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
2668 "64" to "64-v1". Add "64-v2".
2669 (abi-64-options): Rename to ...
2670 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
2671 (abi-64-condition): Rename to ...
2672 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
2673 (abi-64-ld-soname): Rename to ...
2674 (abi-64-v1-ld-soname): ... this.
2675 (abi-64-v2-options): Define.
2676 (abi-64-v2-condition): Likewise.
2677 (abi-64-v2-ld-soname): Likewise.
2678 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
2679 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
2680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
2681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
2682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
2683
61cd8fe4
UW
26842013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2685 Alan Modra <amodra@gmail.com>
2686
2687 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
2688 New versions for use with the ELFv2 ABI.
2689 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
2690 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
2691 declaration.
2692 (struct La_ppc64v2_retval): Likewise.
2693 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
2694 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
2695 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
2696 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
2697 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
2698 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
2699 Do not save or restore CR.
2700 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
2701 (_dl_profile_resolve): Do no save or restore CR. Support extended
2702 return values for ELFv2 ABI. Fix location of FPR return registers.
2703 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
2704 updated values for _CALL_ELF == 2.
2705 (La_regs, La_retval, int_retval): Likewise.
2706
8b8a692c
UW
27072013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2708
2709 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
2710 (FRAME_MIN_SIZE_PARM): Likewise.
2711 (FRAME_BACKCHAIN): Likewise.
2712 (FRAME_CR_SAVE): Likewise.
2713 (FRAME_LR_SAVE): Likewise.
2714 (FRAME_TOC_SAVE): Likewise.
2715 (FRAME_PARM_SAVE): Likewise.
2716 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2717 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2718 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2719 (call_mcount_parm_offset): New macro.
2720 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
2721 (PROF): Use symbolic stack frame offsets.
2722 (TAIL_CALL_SYSCALL_ERROR): Likewise.
2723 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
2724 Redefine in terms of FRAME_MIN_SIZE.
2725 (_dl_runtime_resolve): Use symbolic stack frame offsets.
2726 (_dl_profile_resolve): Likewise. Update comment.
2727 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
2728 symbols stack frame offsets.
2729 (__sigsetjmp): Likewise.
2730 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
2731 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
2732 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
2733 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
2734
2735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
2736 (FRAME_BACKCHAIN): Remove.
2737 (FRAME_CR_SAVE): Likewise.
2738 (FRAME_LR_SAVE): Likewise.
2739 (FRAME_COMPILER_DW): Likewise.
2740 (FRAME_LINKER_DW): Likewise.
2741 (FRAME_TOC_SAVE): Likewise.
2742 (FRAME_PARM_SAVE): Likewise.
2743 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2744 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2745 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
2747 (CHECK_SP): Use symbolic stack frame offsets.
2748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
2749 zone" instead of caller's parameter save area for temp storage.
2750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
2751 Likewise. Also, use symbolic stack frame offsets.
2752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
2753 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
2754 our own stack frame instead of the caller's.
2755 (__socket): Use symbolic stack frame offsets.
2756
122b66de
UW
27572013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2758 Alan Modra <amodra@gmail.com>
2759
2760 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
2761 Define.
2762 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
2763 PPC64_LOCAL_ENTRY_OFFSET): Define.
2764 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
2765 New function.
2766 (elf_machine_fixup_plt): Call it.
2767 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
2768 reloc arguments.
2769 (elf_machine_rela): Update call to elf_machine_plt_conflict.
54285cf9
SP
2770 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2771 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
2772 r2 before calling target.
2773
696caf1d
UW
27742013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2775 Alan Modra <amodra@gmail.com>
2776
2777 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
2778 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
2779 versions of macros to support ELFv2 ABI.
2780 (LOCALENTRY): New macro.
2781 (ENTRY, EALIGN): Use it.
2782 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
2783 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
2784 fall through into ENTRY entry point.
2785 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
2786 Only define if _CALL_ELF != 2.
2787
2788 (elf_machine_matches_host): Verify ABI version matches.
2789 (RTLD_START): Use LOCALENTRY.
2790 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
2791 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
2792 (PLT_ENTRY_WORDS): New macro.
2793 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
2794 (elf_machine_runtime_setup): Support ELFv2 ABI.
2795 (elf_machine_fixup_plt): Likewise.
2796 (elf_machine_plt_conflict): Likewise.
2797 (resolve_ifunc): Likewise.
2798 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
2799 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
2800 Likewise.
2801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
2802 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
2803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2804 (makecontext): Support ELFv2 ABI.
2805 * elf/elf.h (EF_PPC64_ABI): Define.
2806
d31beafa
UW
28072013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2808
2809 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
2810 New assembler macro.
2811 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
2812 [ASSEMBLER] (ENTRY): ... but instead here ...
2813 [ASSEMBLER] (EALIGN): ... and here.
2814 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
2815 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
2816 [!ASSEMBLER] (ENTRY_2): Use it.
2817 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
2818 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
2819 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2820 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
2821 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
2822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
2823 Use PPC64_LOAD_FUNCPTR.
2824
b525166b
UW
28252013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2826
2827 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
2828
7ec07d9a
AM
28292013-12-04 Alan Modra <amodra@gmail.com>
2830
2831 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
2832 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
2833 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
2834 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
2835
2836 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
2837 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
2838 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
2839 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
2840 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
2841 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
2842
5162e7dd
UW
28432013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2844
2845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2846 (__makecontext): Fix incorrect CFI when backtracing out of
2847 context created via makecontext.
2848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
2849 (__setcontext): Fix incorrect CFI during switch to new context.
2850 (__novec_setcontext): Likewise.
2851
19e3372b
OB
28522013-12-04 Ondřej Bílka <neleai@seznam.cz>
2853
2854 [BZ #4772]
2855 * time/strptime_l.c (__strptime_internal): Allow modifiers
2856 in strptime.
2857 * time/tst-strptime.c (day_tests): Add testcase.
2858
2859
ecaf142d
SP
28602013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2861
2862 * scripts/bench.pl: Skip over blank lines.
2863
fbf964ae
PE
28642013-12-04 Paul Eggert <eggert@cs.ucla.edu>
2865
2866 [BZ #926]
2867 * manual/time.texi (Calendar Time): Clarify what timezone functions
2868 use.
2869
fa60a674
AZ
28702013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2871
2872 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2873
d674f0ef
OB
28742013-12-04 Ondřej Bílka <neleai@seznam.cz>
2875
2876 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
2877 implementation.
2878 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
2879 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
2880 * debug/memset_chk.c (__memset_chk): Likewise.
2881 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
2882 * debug/strncpy_chk.c: Likewise.
2883
17dea188
JM
28842013-12-03 Joseph Myers <joseph@codesourcery.com>
2885
749008ff
JM
2886 [BZ #15268]
2887 [BZ #15425]
2888 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
2889 (__ieee754_exp): For possibly underflowing results, check size of
2890 result and force underflow exception if required.
2891 * math/auto-libm-test-in: Add more tests of exp.
2892 * math/auto-libm-test-out: Regenerated.
2893 * sysdeps/i386/fpu/libm-test-ulps: Update.
2894 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2895
17dea188
JM
2896 [BZ #16283]
2897 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
2898 * math/w_exp2f.c (__exp2f): Likewise.
2899 * math/w_exp2l.c (__exp2l): Likewise.
2900 * math/auto-libm-test-in: Do not allow missing errno on exp2
2901 underflow.
2902 * math/auto-libm-test-out: Regenerated.
2903
b20de2c3
OB
29042013-12-03 Ondřej Bílka <neleai@seznam.cz>
2905
2906 [BZ #16274]
2907 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
2908 handle filename validation.
2909 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
2910 (do_open): Delete.
2911
d8e2dbe3
JM
29122013-12-03 Joseph Myers <joseph@codesourcery.com>
2913
34e16df5
JM
2914 [BZ #6786]
2915 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
2916 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
2917 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
2918 <float.h>.
2919 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
2920 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
2921 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2922 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
2923 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2924 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
2925 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2926 * math/auto-libm-test-in: Don't allow missing errno from erfc.
2927 Add more erfc tests.
2928 * math/auto-libm-test-out: Regenerated.
2929 * sysdeps/i386/fpu/libm-test-ulps: Update.
2930 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2931
d8e2dbe3
JM
2932 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
2933 exp2, expm1, j0 and j1.
2934 * math/auto-libm-test-out: Regenerated.
2935 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
2936 (erfc_test_data): Likewise.
2937 (exp_test_data): Likewise.
2938 (exp_tonearest_test_data): Likewise.
2939 (exp_towardzero_test_data): Likewise.
2940 (exp_downward_test_data): Likewise.
2941 (exp_upward_test_data): Likewise.
2942 (exp10_test_data): Likewise.
2943 (exp2_test_data): Likewise.
2944 (expm1_test_data): Likewise.
2945 (j0_test_data): Likewise.
2946 (j1_test_data): Likewise.
2947 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
2948 (input_flag_type): Add flag_xfail_rounding.
2949 (input_flags): Add xfail-rounding.
2950 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
2951 (output_for_one_input_case): Handle flag_xfail_rounding.
2952 * sysdeps/i386/fpu/libm-test-ulps: Update.
2953 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2954
18d14251
AJ
29552013-12-03 Aurelien Jarno <aurelien@aurel32.net>
2956
3d2e6075 2957 [BZ #16289]
18d14251
AJ
2958 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
2959 division by 0.
2960
520d437b
SP
29612013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2962
2963 [BZ #16195]
2964 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
2965 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
2966 (STAP_PROBE0): New macro.
2967 (STAP_PROBE1): Likewise.
2968 (STAP_PROBE2): Likewise.
2969 (STAP_PROBE3): Likewise.
2970 (STAP_PROBE4): Likewise.
2971
416e0145
OB
29722013-12-02 Ondřej Bílka <neleai@seznam.cz>
2973
2974 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
2975
9d17796a
SE
29762013-12-02 Steve Ellcey <sellcey@mips.com>
2977
2978 * benchtests/Makefile (bench): Add sqrt.
2979 (LDLIBS-bench-sqrt): New.
2980 * benchtests/sqrt-input: New.
2981
f524d6a8
PS
29822013-12-02 Pavel Simerda <psimerda@redhat.com>
2983
639a0ef8
PS
2984 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
2985 (GAIH_EAI): Likewise.
2986 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
2987 (gaih_inet): Likewise.
2988 (getaddrinfo): Don't use GAIH_EAI.
2989
f524d6a8
PS
2990 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
2991 (struct gaih): Remove definition.
2992
df3aedaf
SP
29932013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2994
2995 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
2996 Use HERRNOP directly.
2997
1ab19dec
AZ
29982013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2999
b42ad38d 3000 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 3001
176b0c79
JM
30022013-11-30 Joseph Myers <joseph@codesourcery.com>
3003
3004 * math/gen-auto-libm-tests.c (test_functions): Add more
3005 single-argument functions.
3006 (special_fill_pi_2): New function.
3007 (special_fill_minus_pi_2): Likewise.
3008 (special_fill_pi_6): Likewise.
3009 (special_fill_minus_pi_6): Likewise.
3010 (special_fill_pi_3): Likewise.
3011 (special_fill_2pi_3): Likewise.
3012 (special_fill_e): Likewise.
3013 (special_fill_1_e): Likewise.
3014 (special_fill_e_minus_1): Likewise.
3015 (special_real_inputs): Add more special inputs.
3016 (output_for_one_input_case): Do not require ERANGE on underflow to
3017 zero if round-to-nearest result does not underflow to zero, unless
3018 exact results required.
3019 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
3020 atan, atanh, cbrt, cos and cosh.
3021 * math/auto-libm-test-out: Regenerated.
3022 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
3023 (acos_tonearest_test_data): Likewise.
3024 (acos_towardzero_test_data): Likewise.
3025 (acos_downward_test_data): Likewise.
3026 (acos_upward_test_data): Likewise.
3027 (acosh_test_data): Likewise.
3028 (asin_test_data): Likewise.
3029 (asin_tonearest_test_data): Likewise.
3030 (asin_towardzero_test_data): Likewise.
3031 (asin_upward_test_data): Likewise.
3032 (asinh_test_data): Likewise.
3033 (atan_test_data): Likewise.
3034 (atanh_test_data): Likewise.
3035 (cbrt_test_data): Likewise.
3036 (cos_test_data): Likewise.
3037 (cos_tonearest_test_data): Likewise.
3038 (cos_towardzero_test_data): Likewise.
3039 (cos_downward_test_data): Likewise.
3040 (cos_upward_test_data): Likewise.
3041 (cosh_test_data): Likewise.
3042 (cosh_tonearest_test_data): Likewise.
3043 (cosh_towardzero_test_data): Likewise.
3044 (cosh_downward_test_data): Likewise.
3045 (cosh_upward_test_data): Likewise.
3046 * sysdeps/i386/fpu/libm-test-ulps: Update.
3047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3048
ffb536d0
JM
30492013-11-29 Joseph Myers <joseph@codesourcery.com>
3050
2a77a467
JM
3051 [BZ #6787]
3052 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
3053 * math/w_exp10f.c (__exp10f): Likewise.
3054 * math/w_exp10l.c (__exp10l): Likewise.
3055 * math/libm-test.inc (exp10_test_data): Add more tests and expect
3056 errno settings in existing tests.
3057
ea3bc4e8
JM
3058 [BZ #14032]
3059 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
3060 precision control set to double precision.
3061 * sysdeps/i386/fpu/w_sqrt.c: New file.
3062 * math/auto-libm-test-in: Add more tests.
3063 * math/auto-libm-test-out: Update.
3064
0712c9d8
JM
3065 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
3066 (sqrt_test_tonearest): New function.
3067 (sqrt_towardzero_test_data): New variable.
3068 (sqrt_test_towardzero): New function.
3069 (sqrt_downward_test_data): New variable.
3070 (sqrt_test_downward): New function.
3071 (sqrt_upward_test_data): New variable.
3072 (sqrt_test_upward): New function.
3073 (main): Call the new functions.
3074
ffb536d0
JM
3075 * math/gen-auto-libm-tests.c: New file.
3076 * math/auto-libm-test-in: Likewise.
3077 * math/auto-libm-test-out: New generated file.
3078 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
3079 variables.
3080 (%beautify): Add generated representations of zero.
3081 (top level): Set $auto_input and call parse_auto_input.
3082 (beautify): Remove trailing "f" from hex float constants.
3083 (parse_args): Handle XFAIL_TEST.
3084 (convert_condition): New function.
3085 (or_value): Likewise.
3086 (or_cond_value): Likewise.
3087 (generate_testfile): Handle AUTO_TESTS_* lines.
3088 (parse_auto_input): New function.
3089 * math/libm-test.inc (XFAIL_TEST): New macro.
3090 (ERRNO_UNCHANGED): Update value.
3091 (ERRNO_EDOM): Likewise.
3092 (ERRNO_ERANGE): Likewise.
3093 (IGNORE_RESULT): Likewise.
3094 (TEST_COND_flt_32): New macro.
3095 (TEST_COND_dbl_64): Likewise.
3096 (TEST_COND_ldbl_96_intel): Likewise.
3097 (TEST_COND_ldbl_96_m68k): Likewise.
3098 (TEST_COND_ldbl_128): Likewise.
3099 (TEST_COND_ldbl_128ibm): Likewise.
3100 (TEST_COND_long32): Likewise.
3101 (TEST_COND_long64): Likewise.
3102 (TEST_COND_before_rounding): Likewise.
3103 (TEST_COND_after_rounding): Likewise.
3104 (enable_test): Handle XFAIL_TEST flag.
3105 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
3106 with finite results.
3107 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
3108 auto-libm-test-out.
3109
acd98a8e
AK
31102013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3111 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3112
3113 [BZ #16214]
3114 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
3115 __tls_get_addr_internal instead of __tls_get_offset in order to
3116 avoid GOT pointer dependency. Make rtld export
3117 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
3118 __tls_get_addr since we are a __tls_get_offset platform.
3119 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
3120 GOT pointer being set up before.
3121 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
3122
3c1c46a6
JM
31232013-11-28 Joseph Myers <joseph@codesourcery.com>
3124
7475aef5
JM
3125 * manual/math.texi (Errors in Math Functions): Document accuracy
3126 goals.
3127
8bca7cd8
JM
3128 [BZ #15004]
3129 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
3130 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
3131 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
3132 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3133 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3134 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3135 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3136 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
3137 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
3138 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3139 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3140 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3141 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3142 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3143 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
3144 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
3145
91a1f3fe
JM
3146 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
3147 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
3148 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
3149 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
3150 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
3151 Likewise.
3152 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
3153 Likewise.
3154 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
3155 Likewise.
3156 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
3157 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
3158 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
3159 atomic-feupdateenv and flt-rounds.
3160 * sysdeps/powerpc/nofpu/Versions (libc): Add
3161 __atomic_feholdexcept, __atomic_feclearexcept,
3162 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
3163 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
3164 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
3165 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
3166 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
3167 here.
3168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
3169 Update.
3170
c5df7609
JM
3171 * manual/arith.texi (FP Exceptions): Document that exceptions may
3172 not be raised when matherr is used.
3173 (Math Error Reporting): Document overflow in directed rounding
3174 modes. Document that errno may not be set when finite values are
3175 returned on overflow. Document intent to set errno on underflow
3176 only for underflow to zero.
3177
3c1c46a6
JM
3178 [BZ #16271]
3179 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
3180 round-to-nearest then adjust result for other rounding modes.
3181 * include/fenv.h (fegetround): Use libm_hidden_proto.
3182 * math/fegetround.c (fegetround): Use libm_hidden_def.
3183 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
3184 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
3185 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
3186 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
3187 Likewise.
3188 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
3189 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3190 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
3191 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
3192
5a4c6d53
SP
31932013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3194
3195 [BZ #16077]
3196 * nss/Versions (libnss_files): Add
3197 _nss_files_gethostbyname3_r.
3198 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
3199 New function.
3200 (HOST_DB_LOOKUP): Remove macro.
3201 (_nss_files_gethostbyname_r): Implement function without the
3202 HOST_DB_LOOKUP macro.
3203 (_nss_files_gethostbyname2_r): Likewise.
3204
897b98ba
OB
32052013-11-28 Ondřej Bílka <neleai@seznam.cz>
3206
3207 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
3208
6f476861
UB
32092013-11-26 Uros Bizjak <ubizjak@gmail.com>
3210
3211 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
3212 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
3213 warning.
3214
bd12ab55
AZ
32152013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3216
3217 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
3218 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
3219 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
3220 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
3221 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
3222 __fe_nomask_env_priv and attribute_hidden.
3223 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
3224 (libc_feupdateenv_test_ppc): Likewise.
3225 (libc_feresetround_ppc): Likewise.
3226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3227 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
3228 compat_symbol macro.
3229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3230 (__fe_nomask_env): Likewise.
3231 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
3232
52bb6543
OB
32332013-11-26 Ondřej Bílka <neleai@seznam.cz>
3234
3235 * string/Makefile: Remove ifunc tests.
3236 * string/test-string.h: Define TEST_IFUNC.
3237 * string/test-bcopy-ifunc.c: Remove.
3238 * string/test-bzero-ifunc.c: Likewise.
3239 * string/test-memccpy-ifunc.c: Likewise.
3240 * string/test-memchr-ifunc.c: Likewise.
3241 * string/test-memcmp-ifunc.c: Likewise.
3242 * string/test-memcpy-ifunc.c: Likewise.
3243 * string/test-memmem-ifunc.c: Likewise.
3244 * string/test-memmove-ifunc.c: Likewise.
3245 * string/test-mempcpy-ifunc.c: Likewise.
3246 * string/test-memrchr-ifunc.c: Likewise.
3247 * string/test-memset-ifunc.c: Likewise.
3248 * string/test-rawmemchr-ifunc.c: Likewise.
3249 * string/test-stpcpy-ifunc.c: Likewise.
3250 * string/test-stpncpy-ifunc.c: Likewise.
3251 * string/test-strcasecmp-ifunc.c: Likewise.
3252 * string/test-strcasestr-ifunc.c: Likewise.
3253 * string/test-strcat-ifunc.c: Likewise.
3254 * string/test-strchr-ifunc.c: Likewise.
3255 * string/test-strchrnul-ifunc.c: Likewise.
3256 * string/test-strcmp-ifunc.c: Likewise.
3257 * string/test-strcpy-ifunc.c: Likewise.
3258 * string/test-strcspn-ifunc.c: Likewise.
3259 * string/test-strlen-ifunc.c: Likewise.
3260 * string/test-strncasecmp-ifunc.c: Likewise.
3261 * string/test-strncat-ifunc.c: Likewise.
3262 * string/test-strncmp-ifunc.c: Likewise.
3263 * string/test-strncpy-ifunc.c: Likewise.
3264 * string/test-strnlen-ifunc.c: Likewise.
3265 * string/test-strpbrk-ifunc.c: Likewise.
3266 * string/test-strrchr-ifunc.c: Likewise.
3267 * string/test-strspn-ifunc.c: Likewise.
3268 * string/test-strstr-ifunc.c: Likewise.
3269
ab260039 32702013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
3271
3272 * benchtests/Makefile: Remove ifunc tests.
3273 * benchtests/bench-string.h: Define TEST_IFUNC.
3274 * benchtests/bench-bcopy-ifunc.c: Remove.
3275 * benchtests/bench-bzero-ifunc.c: Likewise.
3276 * benchtests/bench-memccpy-ifunc.c: Likewise.
3277 * benchtests/bench-memchr-ifunc.c: Likewise.
3278 * benchtests/bench-memcmp-ifunc.c: Likewise.
3279 * benchtests/bench-memcpy-ifunc.c: Likewise.
3280 * benchtests/bench-memmem-ifunc.c: Likewise.
3281 * benchtests/bench-memmove-ifunc.c: Likewise.
3282 * benchtests/bench-mempcpy-ifunc.c: Likewise.
3283 * benchtests/bench-memrchr-ifunc.c: Likewise.
3284 * benchtests/bench-memset-ifunc.c: Likewise.
3285 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
3286 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
3287 * benchtests/bench-stpcpy-ifunc.c: Likewise.
3288 * benchtests/bench-stpncpy-ifunc.c: Likewise.
3289 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
3290 * benchtests/bench-strcasestr-ifunc.c: Likewise.
3291 * benchtests/bench-strcat-ifunc.c: Likewise.
3292 * benchtests/bench-strchr-ifunc.c: Likewise.
3293 * benchtests/bench-strchrnul-ifunc.c: Likewise.
3294 * benchtests/bench-strcmp-ifunc.c: Likewise.
3295 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
3296 * benchtests/bench-strcpy-ifunc.c: Likewise.
3297 * benchtests/bench-strcspn-ifunc.c: Likewise.
3298 * benchtests/bench-strlen-ifunc.c: Likewise.
3299 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
3300 * benchtests/bench-strncat-ifunc.c: Likewise.
3301 * benchtests/bench-strncmp-ifunc.c: Likewise.
3302 * benchtests/bench-strncpy-ifunc.c: Likewise.
3303 * benchtests/bench-strnlen-ifunc.c: Likewise.
3304 * benchtests/bench-strpbrk-ifunc.c: Likewise.
3305 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 3306 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
3307 * benchtests/bench-strspn-ifunc.c: Likewise.
3308 * benchtests/bench-strstr-ifunc.c: Likewise.
3309
33102013-11-26 Ondřej Bílka <neleai@seznam.cz>
3311
ab260039
OB
3312 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
3313
d1d9eaf4 33142013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 3315
d1d9eaf4
OB
3316 * resolv/netdb.h: Use __glibc_reserved instead __unused.
3317 * rt/aio.h: Likewise.
3318 * sysdeps/gnu/bits/utmp.h: Likewise.
3319 * sysdeps/gnu/bits/utmpx.h: Likewise.
3320 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
3321 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
3322 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
3323 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
3324 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
3325 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
3326 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
3327 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
3328 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
3329 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
3330 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
3331 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
3332 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
3333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
3334 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
3335 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
3336 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
3337 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
3338 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
3339 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
3340 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
3341 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
3342 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
3343 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
3344 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
3345 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3346 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
3347 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
3348 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
3349 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
3350 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
3351 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
3352 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
3353 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
3354 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
3355 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
3356 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
3357 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
3358 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
3359 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
3360 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
3361 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
3362
a7624ed9
CD
33632013-11-25 Carlos O'Donell <carlos@redhat.com>
3364
3365 [BZ #16245]
3366 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
3367 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
3368
63cfe52b
JM
33692013-11-25 Joseph Myers <joseph@codesourcery.com>
3370
3371 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
3372 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
3373 Likewise.
3374
41e8926a
AZ
33752013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3376
3377 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
3378 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
3379 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
3380 (__fesetround): Remove define.
3381 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
3382 rounding and exceptions handling.
3383 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
3384 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
3385 (__fe_nomask_env): Likewise.
3386 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
3387 __fegetround instead of fegetround.
3388 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
3389 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
3390
6851bd4d
RM
33912013-11-21 Roland McGrath <roland@hack.frob.com>
3392
070906ff
RM
3393 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
3394 it's there.
3395
6851bd4d
RM
3396 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
3397
84ae135d
MI
33982013-11-21 Meador Inge <meadori@codesourcery.com>
3399
3400 [BZ #11157]
3401 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
3402 (encrypt_r): Likewise.
3403 * malloc/obstack.h (obstack_free): Likewise.
3404 * posix/unistd.h (encrypt): Likewise.
3405
daf75146
GM
34062013-11-21 Guy Martin <gmsoft@tuxicoman.be>
3407
3408 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
3409 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
3410 DL_CALL_DT_FINI() that call the functions directly.
3411 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
3412 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
3413 * elf/dl-fini.c: Likewise.
3414
10ad46bc
OB
34152013-11-20 Ondřej Bílka <neleai@seznam.cz>
3416
3417 * malloc/hooks.c (memalign_check): Add alignment rounding.
3418 * malloc/malloc.c (_mid_memalign): New function.
3419 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
3420 Implement by calling _mid_memalign.
3421 * manual/probes.texi (Memory Allocation Probes): Remove
3422 memory_valloc_retry and memory_pvalloc_retry.
3423
f3fd2628
SP
34242013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
3425
4712799f
SP
3426 * locale/programs/locarchive.c (open_archive): Add const
3427 qualifier to ARCHIVEFNAME and copy default fname to
3428 DEFAULT_FNAME.
3429
0417b20f
SP
3430 [BZ #15601]
3431 * libio/tst-widetext.input: Rename Oriya to Odia.
3432 * locale/iso-639.def: Likewise.
3433
f3fd2628
SP
3434 * manual/probes.texi (Mathematical Function Probes): Add
3435 documentation for sin, cos, asin and acos probes.
3436 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
3437 (__sin32): Add slowasin probe.
3438 (__cos32): Add slowacos probe.
3439 (__mpsin): Add slowsin probe.
3440 (__mpcos): Add slowcos probe.
3441
73c1ce4f
JM
34422013-11-19 Joseph Myers <joseph@codesourcery.com>
3443
3444 [BZ #15483]
3445 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
3446 thread-local __sim_exceptions_thread and global
3447 __sim_exceptions_global.
3448 (__sim_disabled_exceptions): Change to thread-local
3449 __sim_disabled_exceptions_thread and global
3450 __sim_disabled_exceptions_global.
3451 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
3452 and global __sim_round_mode_global.
3453 (__simulate_exceptions): Use thread-local floating-point state and
3454 set global state from it as needed.
3455 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
3456 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
3457 __sim_round_mode_thread.
3458 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
3459 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
3460 and global __sim_exceptions_global.
3461 (__sim_disabled_exceptions): Change to thread-local
3462 __sim_disabled_exceptions_thread and global
3463 __sim_disabled_exceptions_global.
3464 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
3465 and global __sim_round_mode_global.
3466 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
3467 (SIM_SET_GLOBAL): Likewise.
3468 * sysdeps/powerpc/soft-fp/sfp-machine.h
3469 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
3470 __sim_round_mode_thread.
3471 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
3472 __sim_disabled_exceptions_thread.
3473 (__sim_exceptions): Change to __sim_exceptions_thread.
3474 (__sim_disabled_exceptions): Change to
3475 __sim_disabled_exceptions_thread.
3476 (__sim_round_mode): Change to __sim_round_mode_thread.
3477 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
3478 thread-local floating-point state and set global state from it as
3479 needed.
3480 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
3481 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
3482 (__sim_disabled_exceptions): Remove extern declaration.
3483 (feenableexcept): Use thread-local floating-point state and set
3484 global state from it as needed.
3485 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
3486 extern declaration.
3487 (__sim_disabled_exceptions): Likewise.
3488 (__sim_round_mode): Likewise.
3489 (__fegetenv): Use thread-local floating-point state.
3490 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
3491 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
3492 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
3493 floating-point state and set global state from it as needed.
3494 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
3495 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
3496 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
3497 Likewise.
3498 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
3499 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
3500 Likewise.
3501 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
3502 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
3503 Use __sim_round_mode_thread.
3504 * math/test-fenv-tls.c: New file.
3505 * math/Makefile (tests): Add test-fenv-tls.
3506 ($(objpfx)test-fenv-tls): Depend on
3507 $(common-objpfx)nptl/libpthread.so.
3508
b5449b12
AS
35092013-11-19 Andreas Schwab <schwab@suse.de>
3510
3511 * locale/programs/locale.c (show_info): Decode wordarray elements.
3512 * locale/categories.def (LC_MONETARY): Add element for
3513 _NL_MONETARY_CRNCYSTR.
3514 * locale/C-monetary.c (conversion_rate): New variable.
3515 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
3516 element.
3517
e186536b
CM
35182013-11-18 Chris Metcalf <cmetcalf@tilera.com>
3519
3520 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
3521 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
3522
5c349950
PP
35232013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
3524
3525 * elf/Makefile (tst-auxv): New test.
3526 * elf/tst-auxv.c: New
3527 * elf/rtld.c (dl_main): Adjust AT_EXECFN
3528
699df45b
JM
35292013-11-18 Joseph Myers <joseph@codesourcery.com>
3530
3531 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
3532 (hidden_proto): Caller changed.
3533 (hidden_tls_proto): New macro.
3534 (libc_hidden_tls_proto): Likewise.
3535 (rtld_hidden_tls_proto): Likewise.
3536 (libm_hidden_tls_proto): Likewise.
3537 (libresolv_hidden_tls_proto): Likewise.
3538 (librt_hidden_tls_proto): Likewise.
3539 (libdl_hidden_tls_proto): Likewise.
3540 (libnss_files_hidden_tls_proto): Likewise.
3541 (libnsl_hidden_tls_proto): Likewise.
3542 (libnss_nisplus_hidden_tls_proto): Likewise.
3543 (libutil_hidden_tls_proto): Likewise.
3544
b7589107
OB
35452013-11-18 Ondřej Bílka <neleai@seznam.cz>
3546
3547 [BZ #10253]
3548 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
3549 (decompose_rpath): Defer expansion to fillin_rpath.
3550 (_dl_init_paths): Pass linkmap to fillin_rpath.
3551
250c23bd
RS
35522013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3553
3554 * benchtests/Makefile: Add strsep.
3555 * benchtests/bench-strsep.c: New file: strsep benchtest.
3556 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
3557
a7931fcf
AS
35582013-11-18 Andreas Schwab <schwab@suse.de>
3559
3560 * locale/programs/locale.c (show_info) [case byte]: Check for
3561 '\377' instead of '\177'.
3562 * locale/C-monetary.c (not_available): Always use "\377".
3563 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
3564 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
3565 detect unavailable sign_posn locale elements.
3566 * locale/localeconv.c (__localeconv): For grouping and
3567 mon_grouping handle "\177" and "\377" like no grouping.
3568 (INT_ELEM): New macro. Use it to set all numeric members.
3569 * locale/programs/ld-monetary.c (monetary_read)
3570 <tok_mon_grouping>: Normalize single -1 to the empty string.
3571 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
3572 Likewise.
3573
728dab0e
OB
35742013-11-07 Ondřej Bílka <neleai@seznam.cz>
3575
3576 [BZ #16055]
3577 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
3578 when we match (nil).
3579 * stdio-common/tst-sscanf.c (struct test): Add testcase.
3580
66294491
JM
35812013-11-16 Joseph Myers <joseph@codesourcery.com>
3582
ce665817
JM
3583 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
3584 (NO_TEST_INLINE): Update value.
3585 (ERRNO_UNCHANGED): Likewise.
3586 (ERRNO_EDOM): Likewise.
3587 (ERRNO_ERANGE): Likewise.
3588 (IGNORE_RESULT): Likewise.
3589 (check_float_internal): Check signs of NaN results if
3590 TEST_NAN_SIGN used.
3591 (check_complex): Pass TEST_NAN_SIGN flag through to second
3592 check_float_internal call.
3593 (copysign_test_data): Add tests with quiet NaNs as second
3594 argument. Use TEST_NAN_SIGN.
3595 (fabs_test_data): Add test of negative quiet NaN argument. Use
3596 TEST_NAN_SIGN.
3597 (signbit_test_data): Add tests of quiet NaN argument.
3598 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
3599
ee1466a9
JM
3600 * math/gen-libm-test.pl (show_exceptions): Take extra argument
3601 $ignore_result.
3602 (parse_args): Handle function results specified as IGNORE.
3603 * math/libm-test.inc (IGNORE_RESULT): New macro.
3604 (check_float_internal): Do not check numerical result if flag
3605 IGNORE_RESULT set.
3606 (check_complex): Pass through IGNORE_RESULT to second
3607 check_float_internal call.
3608 (check_int): Do not check numerical result if flag IGNORE_RESULT
3609 set.
3610 (check_long): Likewise.
3611 (check_bool): Likewise.
3612 (check_longlong): Likewise.
3613 (lrint_test_data): Add tests of infinite and NaN arguments.
3614 (lrint_tonearest_test_data): Likewise.
3615 (lrint_towardzero_test_data): Likewise.
3616 (lrint_downward_test_data): Likewise.
3617 (lrint_upward_test_data): Likewise.
3618 (llrint_test_data): Likewise.
3619 (llrint_tonearest_test_data): Likewise.
3620 (llrint_towardzero_test_data): Likewise.
3621 (llrint_downward_test_data): Likewise.
3622 (llrint_upward_test_data): Likewise.
3623 (lround_test_data): Likewise.
3624 (llround_test_data): Likewise.
3625
14407b7e
JM
3626 * math/libm-test.inc (NO_TEST_INLINE): New macro.
3627 (ERRNO_UNCHANGED): Update value.
3628 (ERRNO_EDOM): Likewise.
3629 (ERRNO_ERANGE): Likewise.
3630 (NO_TEST_INLINE_FLOAT): New macro.
3631 (NO_TEST_INLINE_DOUBLE): Likewise.
3632 (enable_test): New function.
3633 (RUN_TEST_f_f): Check enable_test before running test.
3634 (RUN_TEST_2_f): Likewise.
3635 (RUN_TEST_fff_f): Likewise.
3636 (RUN_TEST_c_f): Likewise.
3637 (RUN_TEST_f_f1): Likewise.
3638 (RUN_TEST_fF_f1): Likewise.
3639 (RUN_TEST_fI_f1): Likewise.
3640 (RUN_TEST_ffI_f1): Likewise.
3641 (RUN_TEST_c_c): Likewise.
3642 (RUN_TEST_cc_c): Likewise.
3643 (RUN_TEST_f_i): Likewise.
3644 (RUN_TEST_f_i_tg): Likewise.
3645 (RUN_TEST_ff_i_tg): Likewise.
3646 (RUN_TEST_f_b): Likewise.
3647 (RUN_TEST_f_b_tg): Likewise.
3648 (RUN_TEST_f_l): Likewise.
3649 (RUN_TEST_f_L): Likewise.
3650 (RUN_TEST_fFF_11): Likewise.
3651 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
3652 conditionals.
3653 (cosh_test_data): Likewise.
3654 (exp_test_data): Likewise.
3655 (expm1_test_data): Likewise.
3656 (hypot_test_data): Likewise.
3657 (pow_test_data): Likewise.
3658 (sinh_test_data): Likewise.
3659 (tanh_test_data): Likewise.
3660 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
3661 flags argument.
3662
ca07f197
JM
3663 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
3664 tests with quiet NaN input and output.
3665 (acosh_test_data): Likewise.
3666 (asin_test_data): Likewise.
3667 (asinh_test_data): Likewise.
3668 (atan_test_data): Likewise.
3669 (atanh_test_data): Likewise.
3670 (atan2_test_data): Likewise.
3671 (cbrt_test_data): Likewise.
3672 (cos_test_data): Likewise.
3673 (cosh_test_data): Likewise.
3674 (erf_test_data): Likewise.
3675 (erfc_test_data): Likewise.
3676 (exp_test_data): Likewise.
3677 (exp10_test_data): Likewise.
3678 (exp2_test_data): Likewise.
3679 (expm1_test_data): Likewise.
3680 (hypot_test_data): Likewise.
3681 (j0_test_data): Likewise.
3682 (j1_test_data): Likewise.
3683 (jn_test_data): Likewise.
3684 (lgamma_test_data): Likewise.
3685 (log_test_data): Likewise.
3686 (log10_test_data): Likewise.
3687 (log1p_test_data): Likewise.
3688 (log2_test_data): Likewise.
3689 (pow_test_data): Likewise.
3690 (scalb_test_data): Likewise.
3691 (sin_test_data): Likewise.
3692 (sincos_test_data): Likewise.
3693 (sinh_test_data): Likewise.
3694 (tan_test_data): Likewise.
3695 (tanh_test_data): Likewise.
3696 (tgamma_test_data): Likewise.
3697 (y0_test_data): Likewise.
3698 (y1_test_data): Likewise.
3699 (yn_test_data): Likewise.
3700
66294491
JM
3701 [BZ #16167]
3702 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
3703 argument being NaN and avoid computations with second argument in
3704 that case.
3705 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3706 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3707 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3708
1820b143
CL
37092013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
3710
3711 * locale/iso-639.def: Add Chitwani Tharu (the).
3712
714bd261
AS
37132013-11-14 Andreas Schwab <schwab@suse.de>
3714
3715 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
3716 word instead of empty string.
3717
7ab44563
AZ
37182013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3719
3720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3721 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
3722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3723 (__fe_nomask_env): Likewise.
3724
e8470ea2
SE
37252013-11-13 Steve Ellcey <sellcey@mips.com>
3726
3727 * benchtests/bench-timing.h: Include time.h.
3728
17c1d9f0
L
37292013-11-13 H.J. Lu <hongjiu.lu@intel.com>
3730
3731 [BZ #15997]
3732 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
3733 to 3.4.0 for x32.
3734 * sysdeps/unix/sysv/linux/configure: Regenerated.
3735
9310c284
JM
37362013-11-13 Joseph Myers <joseph@codesourcery.com>
3737
3738 [BZ #16151]
3739 * stdlib/strtod_l.c (round_and_return): Do not consider
3740 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
3741 exponent one less than half the least subnormal exponent.
3742 * stdlib/test-strtod-round-data: Add more tests.
3743 * stdlib/tst-strtod-round.c (tests): Regenerated.
3744
7a2ad8cf
AZ
37452013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3746
3747 [BZ #14143]
3748 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
3749 (__fe_mask_env): Likewise.
3750 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
3751 libm_hidden_proto and add function prototype.
3752 (__fe_mask_env): Add function prototype.
3753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3754 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
3755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3756 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
3757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3758 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
3759
50727aa7
MS
37602013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3761
b2f386c1 3762 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
3763 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
3764
a615be46
MS
37652013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3766
3767 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
3768 of htab_find_slot().
3769
7ddace62
DM
37702013-11-11 David S. Miller <davem@davemloft.net>
3771
3772 [BZ #16150]
3773 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
3774 symbol in the non-vis3 case in static builds.
3775 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
3776 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
3777 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
3778 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
3779
9182aa67
JK
37802013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3781
3782 [BZ #387]
3783 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
3784 it is empty.
3785
450a2e2d
AZ
37862013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3787
b2f386c1
SP
3788 * benchtests/Makefile: Add bench-strtod.
3789 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 3790
8ec3f656
AS
37912013-11-11 Andreas Schwab <schwab@suse.de>
3792
3793 [BZ #16153]
3794 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
3795 terminating NUL in key length.
3796
76a9b998
AZ
37972013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3798
3799 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
3800 Add artificial ODP entry for vDSO symbol for PPC64.
3801 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
3802 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
3803
e4368156
OB
38042013-11-07 Ondřej Bílka <neleai@seznam.cz>
3805
3806 [BZ #15374]
3807 * nss/getent.c (services_keys): Recognize services starting with digit.
3808
8d6bb57c
DM
38092013-11-06 David S. Miller <davem@davemloft.net>
3810
3811 [BZ #15985]
3812 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
3813 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
3814
e256c421
WN
38152013-11-06 Will Newton <will.newton@linaro.org>
3816
3817 * manual/memory.texi (Malloc Examples): Remove register
3818 keyword from examples.
3819
f6e12daa 38202013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 3821
f6e12daa 3822 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 3823
9d880655
AS
38242013-11-04 Joseph Myers <joseph@codesourcery.com>
3825
3826 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
3827 depending on [__GCC_IEC_559 > 0].
3828 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
3829 depending on [__GCC_IEC_559_COMPLEX > 0].
3830
ae129d3c
CL
38312013-11-03 Chris Leonard <cjl@sugarlabs.org>
3832
3833 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
3834 to iso-639.def.
3835
4a15c2a4 38362013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
3837
3838 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
3839
8b35e35d
OB
38402013-11-01 Ondřej Bílka <neleai@seznam.cz>
3841
3842 [BZ #16112]
3843 * malloc/malloc (malloc_info): Do not handle first bin as
3844 special case.
3845
1d70fd6c
CL
38462013-11-01 Chris Leonard <cjl@sugarlabs.org>
3847
3848 * locale/iso-639.def: Add Central Nahuatl (nhn).
3849
8c5c2600
BH
38502013-11-01 Bruno Haible <bruno@clisp.org>
3851
3852 [BZ #7003]
3853 * manual/math.texi (BSD Random): Specify range upper bound as
3854 in POSIX.
3855
da5579c2
CL
38562013-10-31 Chris Leonard <cjl@sugarlabs.org>
3857
3858 * locale/iso-639.def: Add Meadow Mari (mhr).
3859
5d30d853
OB
38602013-10-31 Ondřej Bílka <neleai@seznam.cz>
3861
3862 [BZ #14752], [BZ #15763]
3863 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
3864 Validate name.
3865 * rt/tst_shm.c: Add test for escaping directory.
3866
a4966c61
AS
38672013-10-31 Andreas Schwab <schwab@suse.de>
3868
8a43e768 3869 [BZ #15917]
a4966c61
AS
3870 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
3871 followed by 'x' as part of digit sequence.
3872 * stdio-common/tst-sscanf.c (double_tests2): New tests.
3873
28d708c4
MAP
38742013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
3875
3876 [BZ #16037]
3877 * configure.ac: allow GNU Make 4.0 and greater.
3878 * configure: Regenerated.
3879
a56ee40b
WN
38802013-10-30 Will Newton <will.newton@linaro.org>
3881
3882 [BZ #16038]
3883 * malloc/hooks.c (memalign_check): Limit alignment to the
3884 maximum representable power of two.
3885 * malloc/malloc.c (__libc_memalign): Likewise.
3886 * malloc/tst-memalign.c (do_test): Add test for very
3887 large alignment values.
3888 * malloc/tst-posix_memalign.c (do_test): Likewise.
3889
c6e4925d
OB
38902013-10-30 Ondřej Bílka <neleai@seznam.cz>
3891
3892 [BZ #11087]
3893 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
3894 (munmap_chunk): Likewise.
3895 (mremap_chunk): Likewise.
3896
38972013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 3898
8a43e768 3899 [BZ #15799]
bbea82f7
OB
3900 * stdlib/div.c (div): Remove obsolete code.
3901 * stdlib/ldiv.c (ldiv): Likewise.
3902 * stdlib/lldiv.c (lldiv): Likewise.
3903
977f4b31
SP
39042013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3905
3906 [BZ #16071]
3907 * nss/nss_files/files-XXX.c (get_contents_ret): New
3908 enumerator.
3909 (get_contents): New function.
3910 (internal_getent): Use it. Expand size of LINEBUFLEN.
3911
cb8a6dbd
MF
39122013-10-30 Mike Frysinger <vapier@gentoo.org>
3913
3914 * configure.in: Moved to ...
3915 * configure.ac: ... here. Change reference to configure.in
3916 to configure.ac.
3917 * sysdeps/arm/preconfigure.ac: ... here.
3918 configure.in to configure.ac.
3919 * sysdeps/gnu/configure.in: Moved to ...
3920 * sysdeps/gnu/configure.ac: ... here.
3921 * sysdeps/i386/configure.in: Moved to ...
3922 * sysdeps/i386/configure.ac: ... here.
3923 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
3924 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
3925 * sysdeps/mach/configure.in: Moved to ...
3926 * sysdeps/mach/configure.ac: ... here.
3927 * sysdeps/mach/hurd/configure.in: Moved to ...
3928 * sysdeps/mach/hurd/configure.ac: ... here.
3929 * sysdeps/powerpc/configure.in: Moved to ...
3930 * sysdeps/powerpc/configure.ac: ... here.
3931 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
3932 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
3933 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
3934 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
3935 * sysdeps/s390/s390-32/configure.in: Moved to ...
3936 * sysdeps/s390/s390-32/configure.ac: ... here.
3937 * sysdeps/s390/s390-64/configure.in: Moved to ...
3938 * sysdeps/s390/s390-64/configure.ac: ... here.
3939 * sysdeps/sh/configure.in: Moved to ...
3940 * sysdeps/sh/configure.ac: ... here.
3941 * sysdeps/sparc/configure.in: Moved to ...
3942 * sysdeps/sparc/configure.ac: ... here.
3943 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
3944 * sysdeps/unix/sysv/linux/configure.ac: ... here.
3945 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
3946 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
3947 * sysdeps/x86_64/configure.in: Moved to ...
3948 * sysdeps/x86_64/configure.ac: ... here.
3949 * sysdeps/x86_64/preconfigure.in: Moved to ...
3950 * sysdeps/x86_64/preconfigure.ac: ... here.
3951 * aclocal.m4: Change reference to configure.in to configure.ac.
3952 * config.h.in: Likewise.
3953 * manual/install.texi: Likewise.
3954 * manual/maint.texi: Likewise.
3955 * Makefile: Likewise.
3956 * malloc/Makefile: Likewise.
3957 * nscd/Makefile: Likewise.
3958 * Makeconfig: Change reference to configure.in and
3959 preconfigure.in to configure.ac and preconfigure.ac
3960 respectively.
3961 * INSTALL: Regenerated.
3962 * configure: Likewise.
3963 * sysdeps/gnu/configure: Likewise.
3964 * sysdeps/i386/configure: Likewise.
3965 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
3966 * sysdeps/mach/configure: Likewise.
3967 * sysdeps/mach/hurd/configure: Likewise.
3968 * sysdeps/powerpc/configure: Likewise.
3969 * sysdeps/powerpc/powerpc32/configure: Likewise.
3970 * sysdeps/powerpc/powerpc64/configure: Likewise.
3971 * sysdeps/s390/s390-32/configure: Likewise.
3972 * sysdeps/s390/s390-64/configure: Likewise.
3973 * sysdeps/sh/configure: Likewise.
3974 * sysdeps/sparc/configure: Likewise.
3975 * sysdeps/unix/sysv/linux/configure: Likewise.
3976 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
3977 * sysdeps/x86_64/configure: Likewise.
3978 * sysdeps/x86_64/preconfigure: Likewise.
3979
36a4953a
AS
39802013-10-29 Andreas Schwab <schwab@suse.de>
3981
3982 * stdio-common/Makefile (tst-swscanf-ENV): Define.
3983
c79a1204
SP
39842013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3985
dfa1b402
SP
3986 * benchtests/pow-inputs: Add new inputs.
3987
54f73d9c
SP
3988 * benchtests/exp-inputs: Add new inputs.
3989
c79a1204
SP
3990 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
3991 conditional check for return value.
3992 (__cos32): Likewise.
3993
67beb545 39942013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
3995
3996 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
3997 to provide a boost for large inputs with word alignment.
3998 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
3999 implementation based on optimized PPC64 strcpy.
4000 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
4001 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
4002 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
4003 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
4004
151659f6
OB
40052013-10-25 Ondřej Bílka <neleai@seznam.cz>
4006
482a077e 4007 [BZ #2801]
151659f6
OB
4008 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
4009
10b0f26b
OB
40102013-10-25 Ondřej Bílka <neleai@seznam.cz>
4011
4012 [BZ #14876]
4013 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
4014 * time/tst-strptime.c (day_tests): Add testcase.
4015
ca42d35e
OB
40162013-10-25 Ondřej Bílka <neleai@seznam.cz>
4017
482a077e 4018 [BZ #14029]
ca42d35e
OB
4019 * manual/pattern.texi: Acknowledge that fnmatch can fail.
4020
52e6d801
FB
40212013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
4022
4023 [BZ #16074]
4024 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
4025 MAP_FAILED on error.
4026
7cbcdb36
SP
40272013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4028
4029 [BZ #16072]
4030 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
4031 heap for large requests.
4032
894f3f10
AM
40332013-10-25 Aurelien Jarno <aurelien@aurel32.net>
4034
4035 [BZ #9954]
4036 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
4037 result if the result has no associated interface.
4038 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
4039 interface for all 127.X.Y.Z addresses.
4040
b85545a6
CL
40412013-10-24 Chris Leonard <cjl@sugarlabs.org>
4042
4043 * locale/iso-639.def: Add Ligurian (lij)
4044
d1f23d46
OB
40452013-10-21 Ondřej Bílka <neleai@seznam.cz>
4046
4047 [BZ #15825]
4048 * sunrpc/rpc_main.c: Document rpcgen -5.
4049
4db5b08f
MS
40502013-10-19 Michael Stahl <mstahl@redhat.com>
4051
4052 * elf/rtld.c (do_preload): Print the reason why preloading failed.
4053
a471e96a
OB
40542013-10-19 Ondřej Bílka <neleai@seznam.cz>
4055
d1f23d46 4056 [BZ #10278]
a471e96a
OB
4057 * posix/glob.c: Match only directories when trailing slash is present.
4058 * posix/tst-gnuglob.c (my_opendir): Do not open files.
4059 (main): Add testcase.
4060
45c30c61
OB
40612013-10-19 Ondřej Bílka <neleai@seznam.cz>
4062
4063 [BZ #15670]
4064 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
4065
484c12fb
CD
40662013-10-18 Carlos O'Donell <carlos@redhat.com>
4067
3d7dc513
CD
4068 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
4069 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
4070 AUTH_DES and cindex for FIPS 140-2.
4071 (DES Encryption): Add cindex FIPS 46-3.
4072
484c12fb
CD
4073 * locale/locarchive.h (struct locarhandle): Add fname.
4074 * locale/programs/localedef.c (main): Pass ARGV[remaining]
4075 if an optional argument was specified to --list-archive,
4076 otherwise NULL.
4077 * locale/programs/locarchive.c (show_archive_content): Take new
4078 argument fname and pass it via ah.fname to open_archive.
4079 * locale/programs/localedef.h: Update decl.
4080 (open_archive): If AH->fname is non-null, open that file
4081 rather than the default file name, and don't ignore ENOENT.
4082 (create_archive): Set AH.fname to NULL.
4083 (delete_locales_from_archive): Likewise.
4084 (add_locales_to_archive): Likewise.
4085 * locale/programs/locfile.c (write_all_categories): Likewise.
4086
3c8325fb
JM
40872013-10-18 Joseph Myers <joseph@codesourcery.com>
4088 Aldy Hernandez <aldyh@redhat.com>
4089
4090 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
4091 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
4092 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
4093 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
4094 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
4095 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
4096 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
4097 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
4098 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
4099 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
4100 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
4101 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
4102 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
4103 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
4104 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
4105 Likewise.
4106 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
4107 Likewise.
4108 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
4109 Likewise.
4110 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
4111 Likewise.
4112 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
4113 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
4114 Likewise.
4115 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
4116 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
4117 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
4118 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
4119 Likewise.
4120 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
4121 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
4122 * sysdeps/powerpc/preconfigure: Likewise.
4123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
4124 Likewise.
4125 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
4126 Replace contents of file by #include of <fenv_libc.h>.
4127 * sysdeps/powerpc/soft-fp/sfp-machine.h
4128 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
4129 and <sys/prctl.h>.
4130 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
4131 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
4132 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
4133 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
4134 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
4135 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
4136 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
4137 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
4138 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
4139 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
4140 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
4141 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
4142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
4143 Allow copysignl PLT reference to be missing.
4144
5abe0682
RS
41452013-10-18 Richard Sandiford <richard@codesourcery.com>
4146 Joseph Myers <joseph@codesourcery.com
4147
4148 [BZ #15948]
4149 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
4150 single character.
4151 (add_to_tablewc): Assert sequence of wide characters is nonempty.
4152
c7738d08
SP
41532013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4154
4155 * elf/tst-tls-dlinfo.c: Don't include tls.h.
4156 * elf/tst-tls1.c: Likewise.
4157 * elf/tst-tls10.h: Likewise.
4158 * elf/tst-tls14.c: Likewise.
4159 * elf/tst-tls2.c: Likewise.
4160 * elf/tst-tls3.c: Likewise.
4161 * elf/tst-tls4.c: Likewise.
4162 * elf/tst-tls5.c: Likewise.
4163 * elf/tst-tls6.c: Likewise.
4164 * elf/tst-tls7.c: Likewise.
4165 * elf/tst-tls8.c: Likewise.
4166 * elf/tst-tls9.c: Likewise.
4167 * elf/tst-tlsmod1.c: Likewise.
4168 * elf/tst-tlsmod13.c: Likewise.
4169 * elf/tst-tlsmod13a.c: Likewise.
4170 * elf/tst-tlsmod14a.c: Likewise.
4171 * elf/tst-tlsmod16a.c: Likewise.
4172 * elf/tst-tlsmod16b.c: Likewise.
4173 * elf/tst-tlsmod2.c: Likewise.
4174 * elf/tst-tlsmod3.c: Likewise.
4175 * elf/tst-tlsmod4.c: Likewise.
4176 * elf/tst-tlsmod5.c: Likewise.
4177 * elf/tst-tlsmod6.c: Likewise.
4178
0bfcf2c7
OB
41792013-10-18 Ondřej Bílka <neleai@seznam.cz>
4180
4181 [BZ #12486]
4182 * malloc/malloc.c: remove checks for statistics.
4183
264aad1e
OB
41842013-10-17 Ondřej Bílka <neleai@seznam.cz>
4185
4186 [BZ #15277]
4187 * inet/inet_net.c (inet_network): Detect additional invalid strings.
4188 * inet/tst-network.c: Add testcase.
4189
b957ced8
AS
41902013-10-17 Andreas Schwab <schwab@suse.de>
4191
4192 [BZ #15218]
4193 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
4194 to determine canonical name.
4195
c5d5d574
OB
41962013-10-17 Ondřej Bílka <neleai@seznam.cz>
4197
4198 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
4199 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
4200 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4201 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4202 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4203 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4204 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4205 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4206 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
4207 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4208 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
4209 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4210 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4211 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4212 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4213 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4214 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4215 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4216 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
4217 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4218 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4219 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4220 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4221 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
4222 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
4223 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4224 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4225 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
4226 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4227 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
4228 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4229 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4230 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
4231 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4232 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4233 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4234 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4235 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4236 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4237 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4238 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4239 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4240 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
4241 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4242 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
4243 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4244 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4245 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
4246 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
4247 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4248 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
4249 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4250 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4251 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
4252 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4253 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
4254 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4255 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4256
e5c2c2d0
JM
42572013-10-17 Joseph Myers <joseph@codesourcery.com>
4258
4259 [BZ #16041]
4260 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
4261 make result into a quiet NaN.
4262
51ca9e29
JM
42632013-10-16 Joseph Myers <joseph@codesourcery.com>
4264
4265 * soft-fp/adddf3.c: Fix horizontal whitespace.
4266 * soft-fp/addsf3.c: Likewise.
4267 * soft-fp/addtf3.c: Likewise.
4268 * soft-fp/divdf3.c: Likewise.
4269 * soft-fp/divsf3.c: Likewise.
4270 * soft-fp/divtf3.c: Likewise.
4271 * soft-fp/double.h: Likewise.
4272 * soft-fp/eqdf2.c: Likewise.
4273 * soft-fp/eqsf2.c: Likewise.
4274 * soft-fp/eqtf2.c: Likewise.
4275 * soft-fp/extenddftf2.c: Likewise.
4276 * soft-fp/extended.h: Likewise.
4277 * soft-fp/extendsfdf2.c: Likewise.
4278 * soft-fp/extendsftf2.c: Likewise.
4279 * soft-fp/extendxftf2.c: Likewise.
4280 * soft-fp/fixdfdi.c: Likewise.
4281 * soft-fp/fixdfsi.c: Likewise.
4282 * soft-fp/fixdfti.c: Likewise.
4283 * soft-fp/fixsfdi.c: Likewise.
4284 * soft-fp/fixsfsi.c: Likewise.
4285 * soft-fp/fixsfti.c: Likewise.
4286 * soft-fp/fixtfdi.c: Likewise.
4287 * soft-fp/fixtfsi.c: Likewise.
4288 * soft-fp/fixtfti.c: Likewise.
4289 * soft-fp/fixunsdfdi.c: Likewise.
4290 * soft-fp/fixunsdfsi.c: Likewise.
4291 * soft-fp/fixunsdfti.c: Likewise.
4292 * soft-fp/fixunssfdi.c: Likewise.
4293 * soft-fp/fixunssfsi.c: Likewise.
4294 * soft-fp/fixunssfti.c: Likewise.
4295 * soft-fp/fixunstfdi.c: Likewise.
4296 * soft-fp/fixunstfsi.c: Likewise.
4297 * soft-fp/fixunstfti.c: Likewise.
4298 * soft-fp/floatdidf.c: Likewise.
4299 * soft-fp/floatdisf.c: Likewise.
4300 * soft-fp/floatditf.c: Likewise.
4301 * soft-fp/floatsidf.c: Likewise.
4302 * soft-fp/floatsisf.c: Likewise.
4303 * soft-fp/floatsitf.c: Likewise.
4304 * soft-fp/floattidf.c: Likewise.
4305 * soft-fp/floattisf.c: Likewise.
4306 * soft-fp/floattitf.c: Likewise.
4307 * soft-fp/floatundidf.c: Likewise.
4308 * soft-fp/floatundisf.c: Likewise.
4309 * soft-fp/floatunditf.c: Likewise.
4310 * soft-fp/floatunsidf.c: Likewise.
4311 * soft-fp/floatunsisf.c: Likewise.
4312 * soft-fp/floatunsitf.c: Likewise.
4313 * soft-fp/floatuntidf.c: Likewise.
4314 * soft-fp/floatuntisf.c: Likewise.
4315 * soft-fp/floatuntitf.c: Likewise.
4316 * soft-fp/fmadf4.c: Likewise.
4317 * soft-fp/fmasf4.c: Likewise.
4318 * soft-fp/fmatf4.c: Likewise.
4319 * soft-fp/gedf2.c: Likewise.
4320 * soft-fp/gesf2.c: Likewise.
4321 * soft-fp/getf2.c: Likewise.
4322 * soft-fp/ledf2.c: Likewise.
4323 * soft-fp/lesf2.c: Likewise.
4324 * soft-fp/letf2.c: Likewise.
4325 * soft-fp/muldf3.c: Likewise.
4326 * soft-fp/mulsf3.c: Likewise.
4327 * soft-fp/multf3.c: Likewise.
4328 * soft-fp/negdf2.c: Likewise.
4329 * soft-fp/negsf2.c: Likewise.
4330 * soft-fp/negtf2.c: Likewise.
4331 * soft-fp/op-1.h: Likewise.
4332 * soft-fp/op-2.h: Likewise.
4333 * soft-fp/op-4.h: Likewise.
4334 * soft-fp/op-8.h: Likewise.
4335 * soft-fp/op-common.h: Likewise.
4336 * soft-fp/quad.h: Likewise.
4337 * soft-fp/single.h: Likewise.
4338 * soft-fp/soft-fp.h: Likewise.
4339 * soft-fp/sqrtdf2.c: Likewise.
4340 * soft-fp/sqrtsf2.c: Likewise.
4341 * soft-fp/sqrttf2.c: Likewise.
4342 * soft-fp/subdf3.c: Likewise.
4343 * soft-fp/subsf3.c: Likewise.
4344 * soft-fp/subtf3.c: Likewise.
4345 * soft-fp/truncdfsf2.c: Likewise.
4346 * soft-fp/trunctfdf2.c: Likewise.
4347 * soft-fp/trunctfsf2.c: Likewise.
4348 * soft-fp/trunctfxf2.c: Likewise.
4349 * soft-fp/unorddf2.c: Likewise.
4350 * soft-fp/unordsf2.c: Likewise.
4351 * soft-fp/unordtf2.c: Likewise.
4352
9ebb0332
JM
43532013-10-15 Joseph Myers <joseph@codesourcery.com>
4354
4355 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
4356 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
4357
4b1a6d8b
OB
43582013-10-15 Ondřej Bílka <neleai@seznam.cz>
4359
4360 * elf/dl-libc.c: Clear initfini list after freeing.
4361
1e145589
JM
43622013-10-14 Joseph Myers <joseph@codesourcery.com>
4363
4364 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
4365 * soft-fp/addsf3.c: Likewise.
4366 * soft-fp/addtf3.c: Likewise.
4367 * soft-fp/divdf3.c: Likewise.
4368 * soft-fp/divsf3.c: Likewise.
4369 * soft-fp/divtf3.c: Likewise.
4370 * soft-fp/double.h: Likewise.
4371 * soft-fp/eqdf2.c: Likewise.
4372 * soft-fp/eqsf2.c: Likewise.
4373 * soft-fp/eqtf2.c: Likewise.
4374 * soft-fp/extenddftf2.c: Likewise.
4375 * soft-fp/extended.h: Likewise.
4376 * soft-fp/extendsfdf2.c: Likewise.
4377 * soft-fp/extendsftf2.c: Likewise.
4378 * soft-fp/extendxftf2.c: Likewise.
4379 * soft-fp/fixdfdi.c: Likewise.
4380 * soft-fp/fixdfsi.c: Likewise.
4381 * soft-fp/fixdfti.c: Likewise.
4382 * soft-fp/fixsfdi.c: Likewise.
4383 * soft-fp/fixsfsi.c: Likewise.
4384 * soft-fp/fixsfti.c: Likewise.
4385 * soft-fp/fixtfdi.c: Likewise.
4386 * soft-fp/fixtfsi.c: Likewise.
4387 * soft-fp/fixtfti.c: Likewise.
4388 * soft-fp/fixunsdfdi.c: Likewise.
4389 * soft-fp/fixunsdfsi.c: Likewise.
4390 * soft-fp/fixunsdfti.c: Likewise.
4391 * soft-fp/fixunssfdi.c: Likewise.
4392 * soft-fp/fixunssfsi.c: Likewise.
4393 * soft-fp/fixunssfti.c: Likewise.
4394 * soft-fp/fixunstfdi.c: Likewise.
4395 * soft-fp/fixunstfsi.c: Likewise.
4396 * soft-fp/fixunstfti.c: Likewise.
4397 * soft-fp/floatdidf.c: Likewise.
4398 * soft-fp/floatdisf.c: Likewise.
4399 * soft-fp/floatditf.c: Likewise.
4400 * soft-fp/floatsidf.c: Likewise.
4401 * soft-fp/floatsisf.c: Likewise.
4402 * soft-fp/floatsitf.c: Likewise.
4403 * soft-fp/floattidf.c: Likewise.
4404 * soft-fp/floattisf.c: Likewise.
4405 * soft-fp/floattitf.c: Likewise.
4406 * soft-fp/floatundidf.c: Likewise.
4407 * soft-fp/floatundisf.c: Likewise.
4408 * soft-fp/floatunsidf.c: Likewise.
4409 * soft-fp/floatunsisf.c: Likewise.
4410 * soft-fp/floatuntidf.c: Likewise.
4411 * soft-fp/floatuntisf.c: Likewise.
4412 * soft-fp/floatuntitf.c: Likewise.
4413 * soft-fp/fmadf4.c: Likewise.
4414 * soft-fp/fmasf4.c: Likewise.
4415 * soft-fp/fmatf4.c: Likewise.
4416 * soft-fp/gedf2.c: Likewise.
4417 * soft-fp/gesf2.c: Likewise.
4418 * soft-fp/getf2.c: Likewise.
4419 * soft-fp/ledf2.c: Likewise.
4420 * soft-fp/lesf2.c: Likewise.
4421 * soft-fp/letf2.c: Likewise.
4422 * soft-fp/muldf3.c: Likewise.
4423 * soft-fp/mulsf3.c: Likewise.
4424 * soft-fp/multf3.c: Likewise.
4425 * soft-fp/negdf2.c: Likewise.
4426 * soft-fp/negsf2.c: Likewise.
4427 * soft-fp/negtf2.c: Likewise.
4428 * soft-fp/op-1.h: Likewise.
4429 * soft-fp/op-2.h: Likewise.
4430 * soft-fp/op-4.h: Likewise.
4431 * soft-fp/op-8.h: Likewise.
4432 * soft-fp/op-common.h: Likewise.
4433 * soft-fp/quad.h: Likewise.
4434 * soft-fp/single.h: Likewise.
4435 * soft-fp/soft-fp.h: Likewise.
4436 * soft-fp/sqrtdf2.c: Likewise.
4437 * soft-fp/sqrtsf2.c: Likewise.
4438 * soft-fp/sqrttf2.c: Likewise.
4439 * soft-fp/subdf3.c: Likewise.
4440 * soft-fp/subsf3.c: Likewise.
4441 * soft-fp/subtf3.c: Likewise.
4442 * soft-fp/truncdfsf2.c: Likewise.
4443 * soft-fp/trunctfdf2.c: Likewise.
4444 * soft-fp/trunctfsf2.c: Likewise.
4445 * soft-fp/trunctfxf2.c: Likewise.
4446 * soft-fp/unorddf2.c: Likewise.
4447 * soft-fp/unordsf2.c: Likewise.
4448 * soft-fp/unordtf2.c: Likewise.
4449
17c48a60
OB
44502013-10-14 Ondřej Bílka <neleai@seznam.cz>
4451
4452 [BZ #15672]
4453 * misc/error.c (error_tail): Fix possible buffer overflow.
4454
cabba934
OB
44552013-10-14 Aurelien Jarno <aurelien@aurel32.net>
4456
4457 [BZ #13028]
4458 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
4459 address.
4460
94bf958a
PM
44612013-10-14 P. J. McDermott <pj@pehjota.net>
4462
4463 [BZ #832]
4464 * elf/ldd.bash.in (try_trace): New function. Delete previous code
4465 testing pipefail option.
4466
71b4dea7
JM
44672013-10-12 Joseph Myers <joseph@codesourcery.com>
4468
4469 * soft-fp/double.h: Indent preprocessor directives inside #if.
4470 * soft-fp/extended.h: Likewise.
4471 * soft-fp/op-2.h: Likewise.
4472 * soft-fp/op-4.h: Likewise.
4473 * soft-fp/op-common.h: Likewise.
4474 * soft-fp/quad.h: Likewise.
4475 * soft-fp/single.h: Likewise.
4476 * soft-fp/soft-fp.h: Likewise.
4477
55602758
YC
44782013-10-12 Yuri Chornoivan <yurchor@ukr.net>
4479
4480 * iconv/iconv_prog.c: Fix typos.
4481 * stdio-common/psiginfo-data.h: Likewise.
4482
9cd83302
RT
44832013-10-12 Reuben Thomas <rrt@sc3d.org>
4484
4485 [BZ #15764]
4486 * locale/setlocale.c: Fix typo.
4487
99fd9f47
JM
44882013-10-12 Joseph Myers <joseph@codesourcery.com>
4489
b7ea74f0
JM
4490 [BZ #16036]
4491 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
4492 signaling NaN arguments.
4493 * soft-fp/unordsf2.c (__unordsf2): Likewise.
4494 * soft-fp/unordtf2.c (__unordtf2): Likewise.
4495
8a509447
JM
4496 [BZ #14910]
4497 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
4498 unordered operands.
4499 * soft-fp/gesf2.c (__gesf2): Likewise.
4500 * soft-fp/getf2.c (__getf2): Likewise.
4501 * soft-fp/ledf2.c (__ledf2): Likewise.
4502 * soft-fp/lesf2.c (__lesf2): Likewise.
4503 * soft-fp/letf2.c (__letf2): Likewise.
4504
98998e9f
JM
4505 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
4506 * soft-fp/eqsf2.c (__eqsf2): Likewise.
4507 * soft-fp/eqtf2.c (__eqtf2): Likewise.
4508 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
4509 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
4510 * soft-fp/fixdfti.c (__fixdfti): Likewise.
4511 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
4512 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
4513 * soft-fp/fixsfti.c (__fixsfti): Likewise.
4514 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
4515 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
4516 * soft-fp/fixtfti.c (__fixtfti): Likewise.
4517 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
4518 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
4519 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
4520 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
4521 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
4522 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
4523 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
4524 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
4525 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
4526 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
4527 * soft-fp/floatdisf.c (__floatdisf): Likewise.
4528 * soft-fp/floatsisf.c (__floatsisf): Likewise.
4529 * soft-fp/floattidf.c (__floattidf): Likewise.
4530 * soft-fp/floattisf.c (__floattisf): Likewise.
4531 * soft-fp/floattitf.c (__floattitf): Likewise.
4532 * soft-fp/floatundidf.c (__floatundidf): Likewise.
4533 * soft-fp/floatundisf.c (__floatundisf): Likewise.
4534 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
4535 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
4536 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
4537 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
4538 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
4539 * soft-fp/gesf2.c (__gesf2): Likewise.
4540 * soft-fp/getf2.c (__getf2): Likewise.
4541 * soft-fp/ledf2.c (__ledf2): Likewise.
4542 * soft-fp/lesf2.c (__lesf2): Likewise.
4543 * soft-fp/letf2.c (__letf2): Likewise.
4544
8edc4a11
JM
4545 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
4546 Undefine and redefine.
4547 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
4548 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
4549 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
4550 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
4551 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4552 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
4553 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4554 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
4555 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4556 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
4557 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4558 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
4559 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4560 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
4561 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4562
8399acaf
JM
4563 [BZ #16032]
4564 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
4565 without decrementing exponent if mantissa >= that for the
4566 denominator, not >.
4567 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
4568 denominator, not >. Decrement exponent in < case instead of
4569 incrementing in >= case.
4570 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
4571 without decrementing exponent if mantissa >= that for the
4572 denominator, not >.
4573
99fd9f47
JM
4574 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
4575 computing saturated result for unsigned overflow.
4576
10e1cf6b
SP
45772013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4578 Jeff Law <law@redhat.com>
4579
4580 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
4581 (atan2Mp): Add systemtap probe marker.
4582 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
4583 (__ieee754_log): Add systemtap probe marker.
4584 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
4585 (atanMp): Add systemtap probe marker.
4586 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
4587 (tanMp): Add systemtap probe marker.
4588 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
4589 (__slowexp): Add systemtap probe marker.
4590 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
4591 (__slowpow): Add systemtap probe marker.
4592 * manual/probes.texi: Document probes.
4593
3d110c7c
EB
45942013-10-11 Eric Biggers <ebiggers3@gmail.com>
4595
4596 [BZ #15362]
4597 * libio/fileops.c (_IO_new_file_write): Return count of bytes
4598 written.
4599 (_IO_new_file_xsputn): Don't return EOF if nothing has been
4600 written.
4601 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
4602 written to buffer but not flushed.
4603 * libio/iofwrite_u.c: Likewise.
4604 * libio/iopadn.c: Return bytes returned even if EOF was
4605 encountered.
4606 * libio/iowpadn.c: Likewise.
4607 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
4608 if _IO_padn does not write the whole buffer.
4609 [!COMPILE_WPRINTF] (PAD): Likewise.
4610
75b4202a
DM
46112013-10-10 David S. Miller <davem@davemloft.net>
4612
4613 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
4614 directory block.
4615
6c6352e6
JM
46162013-10-10 Joseph Myers <joseph@codesourcery.com>
4617
33b853c3
JM
4618 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
4619 instead of FSF address.
4620 * soft-fp/fixdfti.c: Likewise.
4621 * soft-fp/fixsfti.c: Likewise.
4622 * soft-fp/fixtfti.c: Likewise.
4623 * soft-fp/fixunsdfti.c: Likewise.
4624 * soft-fp/fixunssfti.c: Likewise.
4625 * soft-fp/fixunstfti.c: Likewise.
4626 * soft-fp/floattidf.c: Likewise.
4627 * soft-fp/floattisf.c: Likewise.
4628 * soft-fp/floattitf.c: Likewise.
4629 * soft-fp/floatuntidf.c: Likewise.
4630 * soft-fp/floatuntisf.c: Likewise.
4631 * soft-fp/floatuntitf.c: Likewise.
4632 * soft-fp/trunctfxf2.c: Likewise.
4633
6c6352e6
JM
4634 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
4635 * soft-fp/fixdfti.c: Likewise.
4636 * soft-fp/fixsfti.c: Likewise.
4637 * soft-fp/fixtfti.c: Likewise.
4638 * soft-fp/fixunsdfti.c: Likewise.
4639 * soft-fp/fixunssfti.c: Likewise.
4640 * soft-fp/fixunstfti.c: Likewise.
4641 * soft-fp/floattidf.c: Likewise.
4642 * soft-fp/floattisf.c: Likewise.
4643 * soft-fp/floattitf.c: Likewise.
4644 * soft-fp/floatuntidf.c: Likewise.
4645 * soft-fp/floatuntisf.c: Likewise.
4646 * soft-fp/floatuntitf.c: Likewise.
4647 * soft-fp/trunctfxf2.c: Likewise.
4648
3bf78b71
DM
46492013-10-10 David S. Miller <davem@davemloft.net>
4650
4651 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4652
6f10289e
JM
46532013-10-10 Joseph Myers <joseph@codsourcery.com>
4654
bd878fc0
JM
4655 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4656 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
4657 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
4658 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
4659 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
4660 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
4661 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
4662
6f10289e
JM
4663 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
4664 for NaNs before doing comparisons on argument.
4665 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
4666 Likewise.
4667
321e2684
WN
46682013-10-10 Will Newton <will.newton@linaro.org>
4669
4670 * malloc/hooks.c (memalign_check): Ensure the value of bytes
4671 passed to _int_memalign does not overflow.
4672
40fefba1
TR
46732013-10-10 Torvald Riegel <triegel@redhat.com>
4674
4675 * scripts/bench.pl: Add include-sources directive.
4676 * benchtests/README: Update documentation.
4677
2ae21ed2
JM
46782013-10-10 Joseph Myers <joseph@codesourcery.com>
4679
dcc2dd3f
JM
4680 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
4681 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
4682 instead of FP_INIT_ROUNDMODE.
4683 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
4684 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
4685
2ae21ed2
JM
4686 [BZ #16034]
4687 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
4688 copy class of input value.
4689 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
4690 not handle exceptions.
4691 * soft-fp/negsf2.c (__negsf2): Likewise.
4692 * soft-fp/negtf2.c (__negtf2): Likewise.
4693 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
4694
cb8f9562
JM
46952013-10-09 Joseph Myers <joseph@codesourcery.com>
4696
4697 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
4698 semicolon. From Linux kernel.
4699
5b60c59d
AB
47002013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
4701
4702 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
4703
b86835ca
YC
47042013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
4705
4706 [BZ #156]
4707 * manual/socket.texi: Added statement about buffer
4708 for gethostbyname2_r.
4709
e7044ea7
OB
47102013-10-08 Ondřej Bílka <neleai@seznam.cz>
4711
4712 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
4713 Use .p2align directive instead, throughout.
4714 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4715 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4716 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
4717 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4718 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4719 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
4720 * sysdeps/x86_64/strchr.S: Likewise.
4721 * sysdeps/x86_64/strrchr.S: Likewise.
4722
09544cbc
SP
47232013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4724
88576635
SP
4725 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
4726
e7b2d1dd
SP
4727 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
4728
09544cbc
SP
4729 * sysdeps/generic/math_private.h (__mpsin1): Remove
4730 declaration.
4731 (__mpcos1): Likewise.
4732 (__mpsin): New argument __range_reduce.
4733 (__mpcos): Likewise.
4734 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4735 (slow): Use __mpsin and __mpcos.
4736 (slow1): Likewise.
4737 (slow2): Likewise.
4738 (sloww): Likewise.
4739 (sloww1): Likewise.
4740 (sloww2): Likewise.
4741 (bsloww): Likewise.
4742 (bsloww1): Likewise.
4743 (bsloww2): Likewise.
4744 (cslow2): Likewise.
4745 (csloww): Likewise.
4746 (csloww1): Likewise.
4747 (csloww2): Likewise.
4748 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
4749 range_reduce. Merge in __mpsin1.
4750 (__mpcos): Likewise.
4751 (__mpsin1): Remove.
4752 (__mpcos1): Likewise.
4753
7602d070
JM
47542013-10-07 Joseph Myers <joseph@codesourcery.com>
4755
4756 * locale/loadlocale.c (_nl_intern_locale_data): Use
4757 LOCFILE_ALIGNED_P.
4758 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
4759 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
4760 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
4761 obstack data is appropriately aligned.
4762 (obstack_int32_grow_fast): Likewise.
4763 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
4764 * locale/programs/locfile.c (add_locale_uint32): Likewise.
4765 (add_locale_uint32_array): Likewise.
4766
a357259b
SP
47672013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4768
4769 * benchtests/Makefile: Remove ARGLIST and RET variables.
4770 ($(objpfx)bench-%.c): Pass only function name to the script.
4771 * benchtests/README: Update documentation.
4772 * benchtests/acos-inputs: Add new directives.
4773 * benchtests/acosh-inputs: Likewise.
4774 * benchtests/asin-inputs: Likewise.
4775 * benchtests/asinh-inputs: Likewise.
4776 * benchtests/atan-inputs: Likewise.
4777 * benchtests/atanh-inputs: Likewise.
4778 * benchtests/cos-inputs: Likewise.
4779 * benchtests/cosh-inputs: Likewise.
4780 * benchtests/exp-inputs: Likewise.
4781 * benchtests/log-inputs: Likewise.
4782 * benchtests/pow-inputs: Likewise.
4783 * benchtests/rint-inputs: Likewise.
4784 * benchtests/sin-inputs: Likewise.
4785 * benchtests/sinh-inputs: Likewise.
4786 * benchtests/tan-inputs: Likewise.
4787 * benchtests/tanh-inputs: Likewise.
4788 * scripts/bench.pl: Add support for new directives.
4789
9ec1b13d
AM
47902013-10-07 Alan Modra <amodra@gmail.com>
4791
4792 * README: Fix careless merge.
4793
8b7d57cd
AM
47942013-10-05 Alan Modra <amodra@gmail.com>
4795
4796 * NEWS: Mention powerpc64le support and bugs fixed.
4797 * README: Both big-endian and little-endian powerpc64 supported.
4798
7b7bab13
ST
47992013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
4800
4801 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
4802 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
4803 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
4804 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
4805
d39baad1
RA
48062013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
4807
4808 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
4809 match prototype.
4810
cd78f7e7
JM
48112013-10-04 Joseph Myers <joseph@codesourcery.com>
4812
29d73d86
JM
4813 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
4814 Move -mhard-float appending from
4815 ports/sysdeps/powerpc/powerpc32/Makefile.
4816 [$(with-fp) = yes] (ASFLAGS): Likewise.
4817 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
4818 * sysdeps/powerpc/nofpu: Move directory from
4819 ports/sysdeps/powerpc/nofpu.
4820 * sysdeps/powerpc/soft-fp: Move directory from
4821 ports/sysdeps/powerpc/soft-fp.
4822 * sysdeps/powerpc/powerpc32/405: Move directory from
4823 ports/sysdeps/powerpc/powerpc32/405.
4824 * sysdeps/powerpc/powerpc32/440: Move directory from
4825 ports/sysdeps/powerpc/powerpc32/440.
4826 * sysdeps/powerpc/powerpc32/464: Move directory from
4827 ports/sysdeps/powerpc/powerpc32/464.
4828 * sysdeps/powerpc/powerpc32/476: Move directory from
4829 ports/sysdeps/powerpc/powerpc32/476.
4830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
4831 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
4832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
4833 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
4834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
4835 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
4836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
4837 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
4838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
4839 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
4840 * README: Update for powerpc-*-linux-gnu software floating point
4841 support in libc.
4842
e246b347
JM
4843 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
4844 case to powerpc/powerpc32*.
4845 * sysdeps/unix/sysv/linux/configure: Regenerated.
4846
89c2003e
JM
4847 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
4848 (_FPU_MASK_OM): Define as 0x04.
4849 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
4850 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
4851 0x00c10080.
4852 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
4853 0x0000003c.
4854 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
4855
cd78f7e7
JM
4856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
4857 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4858 getcontext_e500.
4859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
4860 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4861 setcontext_e500.
4862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
4863 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
4864 and setcontext_e500.
4865
c755294d
CL
48662013-10-04 Chris Leonard <cjl@sugarlabs,.org>
4867
4868 * locale/iso-3166.def: Update iso-1366.def and related occurrences
4869
e16d221c
SP
48702013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4871
4872 * manual/threads.texi (Default Thread Attributes): Fix typo.
4873
215c7d43
WN
48742013-10-04 Will Newton <will.newton@linaro.org>
4875
4876 * malloc/Makefile: Add tst-memalign.
4877 * malloc/tst-memalign.c: New file.
4878
27d0461b
WN
4879 * malloc/tst-posix_memalign.c: Add comments.
4880 (do_test): Add comments and call free on all potentially
4881 allocated pointers. Add space after cast.
4882
1bc92709
WN
4883 * malloc/tst-pvalloc.c: Add comments.
4884 (do_test): Add comments and call free on all potentially
4885 allocated pointers. Remove duplicate check for NULL pointer.
4886 Add space after cast.
4887
66a9be9d
WN
4888 * malloc/tst-valloc.c: Add comments.
4889 (do_test): Add comments and call free on all potentially
4890 allocated pointers. Remove duplicate check for NULL pointer.
4891 Add space after cast.
4892
4cb81307
AM
48932013-10-04 Alan Modra <amodra@gmail.com>
4894
4895 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4896 Use stdint types in rather than __attribute__((mode())).
4897 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4898
f8e3e9f3
AM
48992013-10-04 Alan Modra <amodra@gmail.com>
4900
4901 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4902 Correct handling of unaligned relocs for little-endian.
4903 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4904
8f9ebb08
AM
49052013-10-04 Alan Modra <amodra@gmail.com>
4906
4907 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
4908 * configure: Regenerate.
4909 * nptl/shlib-versions: Powerpc*le starts at 2.18.
4910 * shlib-versions: Likewise.
4911
0edf96c2
AM
49122013-10-04 Alan Modra <amodra@gmail.com>
4913
4914 * string/tester.c (test_memrchr): Increment reported test cycle.
4915
e0f7a380
AM
49162013-10-04 Alan Modra <amodra@gmail.com>
4917
4918 * string/test-memcpy.c (do_one_test): When reporting errors, print
4919 string address and don't overrun end of string.
4920
466b0393
AM
49212013-10-04 Alan Modra <amodra@gmail.com>
4922
4923 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
4924 insrdi. Make better use of reg selection to speed exit slightly.
4925 Schedule entry path a little better. Remove useless "are we done"
4926 checks on entry to main loop. Handle wrapping around zero address.
4927 Correct main loop count. Handle single left-over word from main
4928 loop inline rather than by using loop_small. Remove extra word
4929 case in loop_small caused by wrong loop count. Add little-endian
4930 support.
4931 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4932 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
4933 cache hint.
4934 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4935 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
4936 support. Avoid rlwimi.
4937 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
4938
3be87c77
AM
49392013-10-04 Alan Modra <amodra@gmail.com>
4940
4941 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 4942 insrdi. Formatting.
3be87c77
AM
4943 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
4944 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4945 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
4946 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
4947 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4948 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
4949
759cfef3
AM
49502013-10-04 Alan Modra <amodra@gmail.com>
4951
4952 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
4953 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4954 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
4955 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
4956 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4957 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4958 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4959 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
4960 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
4961 use of regs. Use power7 mtocrf. Tidy function tails.
4962
fe6e95d7
AM
49632013-10-04 Alan Modra <amodra@gmail.com>
4964
4965 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
4966 Formatting. Consistently use rXXX register defines or rN defines.
4967 Use early exit labels that avoid restoring unused non-volatile regs.
4968 Make cr field use more consistent with rWORDn compares. Rename
4969 regs used as shift registers for unaligned loop, using rN defines
4970 for short lifetime/multiple use regs.
4971 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4972 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
4973 addi 1,1,64 to pop stack frame. Simplify return value code.
4974 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4975
664318c3
AM
49762013-10-04 Alan Modra <amodra@gmail.com>
4977
4978 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
4979 support. Correct typos, formatting. Optimize tail. Use insrdi
4980 rather than rlwimi.
4981 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
4982 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
4983 little-endian support. Correct typos.
4984 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
4985 rather than rlwimi.
4986 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
4987 in loop and entry code to keep "and." results.
4988 (strchr): Add little-endian support. Comment. Move cntlzd
4989 earlier in tail.
4990 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
4991
43b84013
AM
49922013-10-04 Alan Modra <amodra@gmail.com>
4993
4994 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
4995 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
4996 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
4997 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
4998
8a7413f9
AM
49992013-10-04 Alan Modra <amodra@gmail.com>
5000
5001 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
5002 (rTMP): Define as r11.
5003 (strcmp): Add little-endian support. Optimise tail.
5004 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
5005 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
5006 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
5007 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
5008 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
5009 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
5010 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
5011
33ee81de
AM
50122013-10-04 Alan Modra <amodra@gmail.com>
5013
5014 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
5015 little-endian support. Remove unnecessary "are we done" tests.
5016 Handle "s" wrapping around zero and extremely large "size".
5017 Correct main loop count. Handle single left-over word from main
5018 loop inline rather than by using small_loop. Correct comments.
5019 Delete "zero" tail, use "end_max" instead.
5020 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
5021
db9b4570
AM
50222013-10-04 Alan Modra <amodra@gmail.com>
5023
5024 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
5025 support. Don't branch over align.
5026 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
5027 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
5028 support. Rearrange tmp reg use to suit. Comment.
5029 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
5030
f7c399cf
AM
50312013-10-04 Alan Modra <amodra@gmail.com>
5032
5033 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
5034
0b2c2ace
AM
50352013-10-04 Alan Modra <amodra@gmail.com>
5036
5037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
5038 conditional form of branch and link when obtaining pc.
5039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
5040
02f04a6c
AM
50412013-10-04 Alan Modra <amodra@gmail.com>
5042
5043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
5044 HIWORD/LOWORD.
5045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
5046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
5047
9b874b2f
AM
50482013-10-04 Alan Modra <amodra@gmail.com>
5049
5050 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
5051 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
5052 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
5053 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
5054 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
5055 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5056 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
5057 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5058 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
5059 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
5060
be1e5d31
AB
50612013-10-04 Anton Blanchard <anton@au1.ibm.com>
5062 Alistair Popple <alistair@ozlabs.au.ibm.com>
5063 Alan Modra <amodra@gmail.com>
5064
5065 [BZ #15723]
5066 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
5067 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
5068 _dl_hwcap access for little-endian.
5069 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
5070 destroy vmx regs when saving unaligned.
5071 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
5072 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
5073 destroy vmx regs when saving unaligned.
5074
fef13a78
AM
50752013-10-04 Alan Modra <amodra@gmail.com>
5076
5077 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
5078 Don't use a union to pack hi/low value.
5079
76a66d51
AB
50802013-10-04 Anton Blanchard <anton@au1.ibm.com>
5081
5082 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
5083 for little-endian.
5084 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
5085 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
5086 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
5087 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
5088 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
5089
6a31fe7f
AM
50902013-10-04 Alan Modra <amodra@gmail.com>
5091
5092 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
5093 constants to usual value for .cst8 section, and remove redundant
5094 high address load.
5095 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
5096 constant for 0x1p52. Load little-endian words of double from
5097 correct stack offsets.
5098
7b88401f
AM
50992013-10-04 Alan Modra <amodra@gmail.com>
5100
5101 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
5102 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
5103 words of double from correct stack offsets.
5104 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
5105 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
5106 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
5107 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
5108 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
5109 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
5110 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
5111 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
5112 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
5113 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
5114 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
5115 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
5116 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5117 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5118 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5119 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
5120 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
5121
9c008155
AM
51222013-10-04 Alan Modra <amodra@gmail.com>
5123
5124 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
5125 64-bit int/double union.
5126 (_FPU_SETCW): Likewise.
5127 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
5128 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
5129
da13146d
AM
51302013-10-04 Alan Modra <amodra@gmail.com>
5131
5132 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
5133 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
5134
603e8410
AM
51352013-10-04 Alan Modra <amodra@gmail.com>
5136
5137 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
5138 use vector int constants.
5139 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
5140
4a28b3ca
AB
51412013-10-04 Anton Blanchard <anton@au1.ibm.com>
5142
5143 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
5144 array with long long.
5145 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
5146 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
5147 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
5148 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
5149 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
5150 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
5151 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
5152 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
5153 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
5154 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
5155 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
5156 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
5157 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
5158
2ca85d2b
AB
51592013-10-04 Anton Blanchard <anton@au1.ibm.com>
5160
5161 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
5162 (__signbit): Likewise. Correct for little-endian.
5163 (__signbitl): Call __signbit.
5164 (lrint): Correct for little-endian.
5165 (lrintf): Call lrint.
5166
62a728ae
AM
51672013-10-04 Alan Modra <amodra@gmail.com>
5168
5169 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
5170 union 32-bit int array member with 64-bit int array.
5171 (t515, tm256): Double rather than long double.
5172 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
5173
32c301df
AM
51742013-10-04 Alan Modra <amodra@gmail.com>
5175
5176 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
5177 Delete.
5178 (IEEE854_LONG_DOUBLE_BIAS): Delete.
5179 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
5180 version of math_ldbl.h.
5181
650ef4bd
AM
51822013-10-04 Alan Modra <amodra@gmail.com>
5183
5184 [BZ #15734], [BZ #15735]
5185 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
5186 all uses of ieee875 long double macros and unions. Simplify test
5187 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
5188 ldbl_extract_mantissa value for ix,iy exponents. Properly
5189 normalize after ldbl_extract_mantissa, and don't add hidden bit
5190 already handled. Don't treat low word of ieee854 mantissa like
5191 low word of IBM long double and mask off bit when testing for
5192 zero.
5193 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
5194 all uses of ieee875 long double macros and unions. Simplify tests
5195 for 0.0L and inf. Correct double adjustment of k. Delete dead code
5196 adjusting ha,hb. Simplify code setting kld. Delete two600 and
5197 two1022, instead use their values. Recognise that tests for large
5198 "a" and small "b" are mutually exclusive. Rename vars. Comment.
5199 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
5200 Rewrite all uses of ieee875 long double macros and unions. Simplify
5201 test for 0.0L and nan. Correct negation.
5202 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
5203 ieee875 long double macros and unions. Correct output for large
5204 magnitude x. Correct absolute value calculation.
5205 (__erfcl): Likewise.
5206 * math/libm-test.inc: Add tests for errors discovered in IBM long
5207 double versions of fmodl, remainderl, erfl and erfcl.
5208
765714ca
AM
52092013-10-04 Alan Modra <amodra@gmail.com>
5210
5211 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
5212 all uses of ieee854 long double macros and unions. Simplify tests
5213 for long doubles that are fully specified by the high double.
5214 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5215 Likewise.
5216 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
5217 Remove dead code too.
5218 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
5219 (__ieee754_ynl): Likewise.
5220 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
5221 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
5222 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
5223 Remove dead code too.
5224 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
5225 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
5226 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
5227 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
5228 Simplify.
5229 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
5230 Simplify.
5231 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
5232 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
5233 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
5234 Comment on variable precision.
5235 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
5236 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5237 Likewise.
5238 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5239 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
5240 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
5241 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
5242 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
5243
4ebd120c
AM
52442013-10-04 Alan Modra <amodra@gmail.com>
5245
5246 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
5247 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
5248 all uses of ieee854 long double macros and unions.
5249 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
5250 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
5251 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
5252 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
5253 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
5254 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
5255 Likewise.
5256 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
5257 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5258 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
5259 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5260 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
5261 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
5262 Simplify sign and nan test too.
5263 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
5264 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
5265 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
5266 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
5267 Likewise.
5268 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
5269 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
5270 Likewise.
5271 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5272 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
5273 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
5274 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
5275 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
5276 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
5277
1b6adf88
AM
52782013-10-04 Alan Modra <amodra@gmail.com>
5279
5280 * stdio-common/printf_size.c (__printf_size): Don't use
5281 union ieee854_long_double in fpnum union.
5282 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
5283 signbit macro to retrieve sign from long double.
5284 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
5285 retrieve sign from long double.
5286 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
5287 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
5288 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
5289 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
5290 * math/test-misc.c (main): Don't use union ieee854_long_double.
5291
4cf69995
AM
52922013-10-04 Alan Modra <amodra@gmail.com>
5293
5294 [BZ #15680]
5295 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
5296 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
5297 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
5298 calculation. Remove unnecessary test for denormal exponent.
5299 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
5300 Correct handling of denormals. Avoid undefined shift behaviour.
5301 Correct normalisation of low mantissa when low double is denormal.
5302 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
5303 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
5304 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
5305 Correct normalisation of low mantissa. Test for overflow of high
5306 mantissa and normalise.
5307 (ldbl_nearbyint): Use more readable constant for two52.
5308 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
5309 (__mpn_construct_long_double): Fix test for overflow of high
5310 mantissa and correct normalisation. Avoid undefined shift.
5311
9605ca6c
AM
53122013-10-04 Alan Modra <amodra@gmail.com>
5313
5314 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
5315 (union ibm_extended_long_double): Define as an array of ieee754_double.
5316 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
5317 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
5318 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
5319 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5320 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5321 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
5322 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5323 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
5324 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
5325 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
5326 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
5327
975569d0
JM
53282013-10-03 Joseph Myers <joseph@codesourcery.com>
5329
d3d23756
JM
5330 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
5331 page size instead of calling getpagesize.
5332
975569d0
JM
5333 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
5334 (LOCFILE_ALIGN_MASK): Likewise.
5335 (LOCFILE_ALIGN_UP): Likewise.
5336 (LOCFILE_ALIGNED_P): Likewise.
5337 * locale/programs/ld-collate.c (collate_output): Use the new
5338 macros instead of __alignof__ (int32_t).
5339 * locale/weight.h (findidx): Likewise.
5340
b1fe1f2b
OB
53412013-10-03 Ondřej Bílka <neleai@seznam.cz>
5342
5343 [BZ #431]
5344 * manual/string.texi: Fix strncat and wcsncat.
5345
5f855e35
BM
53462013-10-03 Brooks Moses <bmoses@google.com>
5347
5348 [BZ #15915]
5349 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
5350 * Makerules: ...here, and adjust associated comments.
5351
3cef6009
WN
53522013-10-02 Will Newton <will.newton@linaro.org>
5353
5354 * malloc/Makefile: Add tst-pvalloc.
5355 * malloc/tst-pvalloc.c: New file.
5356
7815420b
WN
53572013-10-02 Will Newton <will.newton@linaro.org>
5358
5359 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
5360 improve test coverage.
5361
4868b204
WN
53622013-10-02 Will Newton <will.newton@linaro.org>
5363
5364 * malloc/Makefile: Add tst-posix_memalign.
5365 * malloc/tst-posix_memalign.c: New file.
5366
29c793b3
EB
53672013-10-01 Eric Blake <eblake@redhat.com>
5368
5369 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
5370 Use __THROWNL rather than __THROW on static functions.
5371
fd967522
PM
53722013-09-30 Petr Machata <pmachata@redhat.com>
5373
5374 * elf/elf.h (R_AARCH64_ABS16): New macro.
5375 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
5376 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
5377 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
5378 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
5379 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
5380 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
5381 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
5382 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
5383 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
5384 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
5385 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
5386 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
5387 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
5388 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
5389 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
5390 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
5391 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
5392 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
5393 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
5394 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
5395 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
5396 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
5397 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
5398 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
5399 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
5400 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
5401 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
5402 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
5403 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
5404 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
5405 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
5406 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
5407 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
5408 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
5409 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
5410 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
5411 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
5412 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
5413 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
5414 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
5415 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
5416 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
5417 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
5418 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
5419 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
5420 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
5421 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
5422 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
5423 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
5424 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
5425 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
5426 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
5427 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
5428 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
5429 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
5430 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
5431 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
5432 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
5433 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
5434 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
5435 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
5436 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
5437 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
5438 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
5439 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
5440 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
5441 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
5442 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
5443 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
5444 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
5445 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
5446 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
5447 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
5448 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
5449 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
5450 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
5451 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
5452 (R_AARCH64_TLSDESC_LDR): Likewise.
5453 (R_AARCH64_TLSDESC_ADD): Likewise.
5454 (R_AARCH64_TLSDESC_CALL): Likewise.
5455
b2179107
AS
54562013-09-30 Andreas Schwab <schwab@suse.de>
5457
5458 [BZ #15048]
5459 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
5460 the nss database lookup.
5461 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5462 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5463
47f28d0a
MF
54642013-09-28 Mike Frysinger <vapier@gentoo.org>
5465
5466 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
5467
54682013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
5469
5470 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
5471 ${Bash-specific parameter/pattern/string} parameter expansion.
5472 * sysdeps/unix/make-syscalls.sh: Likewise.
5473
f4518a17
KK
54742013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5475
5476 * sysdeps/sh/stackguard-macros.h: New file.
5477
dc1a95c7
OB
54782013-09-26 Ondřej Bílka <neleai@seznam.cz>
5479
5480 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
5481 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
5482 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
5483 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
5484 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5485 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
5486
5ebbff8f
AZ
54872013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5488
5489 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
5490 Fix thread ID register.
5491
4fd2cf9f
JM
54922013-09-25 Joseph Myers <joseph@codesourcery.com>
5493
5494 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
5495 [POSIX || UNIX98]: Require rather than permitting all symbols from
5496 <time.h>.
5497 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
5498 element of struct sched_param.
5499 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
5500 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
5501 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
5502 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
5503 constant.
5504
12c22bc4
OL
55052013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
5506
5507 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
5508 argument calculation.
5509
a03d8ea7
JM
55102013-09-24 Joseph Myers <joseph@codesourcery.com>
5511
5512 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
5513 Expect macro.
5514 [POSIX] (pthread_attr_t): Do not require type.
5515 [POSIX] (pthread_cond_t): Likewise.
5516 [POSIX] (pthread_condattr_t): Likewise.
5517 [POSIX] (pthread_key_t): Likewise.
5518 [POSIX] (pthread_mutex_t): Likewise.
5519 [POSIX] (pthread_mutexattr_t): Likewise.
5520 [POSIX] (pthread_once_t): Likewise.
5521 [POSIX] (pthread_t): Likewise.
5522 [POSIX-based standards] (pthread_atfork): Expect function.
5523
6055173a
JM
55242013-09-24 Joseph Myers <joseph@codesourcery.com>
5525 Richard Sandiford <richard@codesourcery.com>
5526
5527 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
5528 (swap_endianness_p): New extern variable.
5529 (set_big_endian): New inline function.
5530 (maybe_swap_uint32): Likewise.
5531 (maybe_swap_uint32_array): Likewise.
5532 (maybe_swap_uint32_obstack): Likewise.
5533 * locale/programs/locfile.c: Include <stdbool.h>.
5534 (swap_endianness_p): New variable.
5535 (add_locale_uint32): Call maybe_swap_uint32.
5536 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
5537 (write_locale_data): Call maybe_swap_uint32_array.
5538 * locale/programs/ld-collate.c (obstack_int32_grow): Call
5539 maybe_swap_uint32.
5540 (obstack_int32_grow_fast): Likewise.
5541 (output_weightwc): Call maybe_swap_uint32_obstack.
5542 (collate_output): Likewise.
5543 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
5544 (OPT_LITTLE_ENDIAN): Likewise.
5545 (options): Add --little-endian and --big-endian options.
5546 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
5547 * locale/programs/locarchive.c: Include "locfile.h".
5548 (GET): New macro.
5549 (SET): Likewise.
5550 (INC): Likewise.
5551 (create_archive): Use the new macros to access fields of
5552 structures directly mapped from or written to locale archives.
5553 (oldlocrecentcmp): Likewise.
5554 (enlarge_archive): Likewise.
5555 (insert_name): Likewise.
5556 (add_alias): Likewise.
5557 (add_locale): Likewise.
5558 (delete_locales_from_archive): Likewise.
5559 (show_archive_content): Likewise.
5560 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
5561 locale data.
5562
39bf0bb4
RM
55632013-09-24 Roland McGrath <roland@hack.frob.com>
5564
5565 * manual/freemanuals.texi: Updated from (newly) canonical copy at
5566 http://www.gnu.org/doc/freemanuals.texi.
5567 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
5568
f02eed10
WN
55692013-09-24 Will Newton <will.newton@linaro.org>
5570
5571 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
5572 macro.
5573
a3a6c312
JM
55742013-09-23 Joseph Myers <joseph@codesourcery.com>
5575
5576 * locale/hashval.h (compute_hashval): Interpret bytes of key as
5577 unsigned char.
5578
107375ac
MR
55792013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
5580
5581 * manual/threads.texi (POSIX Threads): Fix a typo.
5582
141f3a77
SP
55832013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5584
303e567a
SP
5585 [BZ #14547]
5586 * string/tst-strcoll-overflow.c: New test case.
5587 * string/Makefile (xtests): Add tst-strcoll-overflow.
5588 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
5589 cache if string sizes may cause integer overflow.
5590
141f3a77
SP
5591 [BZ #14547]
5592 * string/strcoll_l.c (coll_seq): New members rule, idx,
5593 save_idx and back_us.
5594 (get_next_seq_nocache): New function.
5595 (do_compare_nocache): New function.
5596 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
5597 when malloc fails.
5598
c61b4d41
CD
55992013-09-23 Carlos O'Donell <carlos@redhat.com>
5600
0b1f8e35
CD
5601 [BZ #15754]
5602 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
5603 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
5604 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
5605
c61b4d41
CD
5606 [BZ #15754]
5607 * elf/Makefile (tests): Add tst-ptrguard1.
5608 (tests-static): Add tst-ptrguard1-static.
5609 (tst-ptrguard1-ARGS): Define.
5610 (tst-ptrguard1-static-ARGS): Define.
5611 * elf/tst-ptrguard1.c: New file.
5612 * elf/tst-ptrguard1-static.c: New file.
5613 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
5614 * sysdeps/i386/stackguard-macros.h: Likewise.
5615 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
5616 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
5617 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5618 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5619 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
5620 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
5621
56222013-09-23 Hector Marco <hecmargi@upv.es>
5623 Ismael Ripoll <iripoll@disca.upv.es>
5624 Carlos O'Donell <carlos@redhat.com>
5625
5626 [BZ #15754]
5627 * sysdeps/generic/stackguard-macros.h: Define
5628 __pointer_chk_guard_local and POINTER_CHK_GUARD.
5629 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
5630 Define __pointer_chk_guard_local.
5631 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
5632 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
5633
f5f4e7b4
VV
56342013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
5635
5636 [BZ #15859]
5637 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
5638
5bb43a43
AS
56392013-09-20 Andreas Schwab <schwab@linux-m68k.org>
5640
5641 * include/string.h (__ffs): Declare as hidden.
5642 * string/ffs.c (__ffs): Define as hidden.
5643 * sysdeps/i386/ffs.c (__ffs): Likewise.
5644 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
5645 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
5646 * sysdeps/s390/ffs.c (__ffs): Likewise.
5647 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
5648
3ea5be54
AO
56492013-09-20 Alexandre Oliva <aoliva@redhat.com>
5650
ffb89e53
AO
5651 * NEWS: Mention malloc probes.
5652
322dea08
AO
5653 * malloc/arena.c (new_heap): New memory_heap_new probe.
5654 (grow_heap): New memory_heap_more probe.
5655 (shrink_heap): New memory_heap_less probe.
5656 (heap_trim): New memory_heap_free probe.
5657 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
5658 (systrim): New memory_sbrk_less probe.
5659 * manual/probes.texi: Document them.
5660
655673f3
AO
5661 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
5662 * manual/probes.texi: Document it.
5663
35fed6f1
AO
5664 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
5665 (__libc_realloc): Add memory_realloc_retry probe.
5666 (__libc_memalign): Add memory_memalign_retry probe.
5667 (__libc_valloc): Add memory_valloc_retry probe.
5668 (__libc_pvalloc): Add memory_pvalloc_retry probe.
5669 (__libc_calloc): Add memory_calloc_retry probe.
5670 * manual/probes.texi: Document them.
5671
6999d38c
AO
5672 * malloc/arena.c (get_free_list): Add probe
5673 memory_arena_reuse_free_list.
5674 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
5675 and memory_arena_reuse.
5676 (arena_get2) [!PER_THREAD]: Likewise.
5677 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
5678 memory_arena_reuse_realloc.
5679 * manual/probes.texi: Document them.
5680
0653427f
AO
5681 * malloc/malloc.c (__libc_free): Add
5682 memory_mallopt_free_dyn_thresholds probe.
5683 (__libc_mallopt): Add multiple memory_mallopt probes.
5684 * manual/probes.texi: Document them.
5685
3ea5be54
AO
5686 * malloc/malloc.c: Include stap-probe.h.
5687 (__libc_mallopt): Add memory_mallopt probe.
5688 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
5689 * manual/probes.texi: New.
5690 * manual/Makefile (chapters): Add probes.
5691 * manual/threads.texi: Set next node.
5692
e35696c3 56932013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 5694
e35696c3
CL
5695 [BZ #15963, #13985]
5696 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
5697 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
5698 Add `Chinese' to `nan' entry name.
5699
4aafb73c
SP
57002013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5701
5702 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
5703 (POLYNOMIAL): Likewise.
5704 (TAYLOR_SINCOS): Likewise.
5705 (TAYLOR_SLOW): Likewise.
5706 (__sin): Use TAYLOR_SINCOS.
5707 (__cos): Likewise.
5708 (slow): Use TAYLOR_SLOW.
5709 (sloww): Likewise.
5710 (bsloww): Likewise.
5711 (csloww): Likewise.
5712
d84f25c7
LD
57132013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5714
5715 * stdlib/strtod_l.c: Fix buffer overrun.
5716
5eea0404
SP
57172013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5718
7849ff93
SP
5719 * benchtests/Makefile (bench): Add sincos.
5720 * benchtests/bench-sincos.c: New file.
5721
cfa3c886
SP
5722 * math/libm-test.inc (cos_test_data): New test inputs.
5723 (sin_test_data): Likewise.
5724
b348e1e3
SP
5725 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
5726 macro.
5727 (__sin): Use it.
5728 (__cos): Likewise.
5729 (slow1): Likewise.
5730 (slow2): Likewise.
5731 (sloww1): Likewise.
5732 (sloww2): Likewise.
5733 (bsloww1): Likewise.
5734 (bsloww2): Likewise.
5735 (cslow2): Likewise.
5736 (csloww1): Likewise.
5737 (csloww2): Likewise.
5738
6cce25f8
SP
5739 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
5740 function.
5741 (__sin): Use it.
5742 (__cos): Likewise.
5743
5eea0404
SP
5744 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
5745 gotos.
5746 (__cos): Likewise.
5747
9c21573c
MR
57482013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
5749
5750 * config.h.in (HAVE_MIPS_NAN2008): New macro.
5751 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
5752 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
5753 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
5754 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
5755 * elf/cache.c (print_entry): Handle the new cache flags.
5756
24d22e65
JM
57572013-09-18 Joseph Myers <joseph@codesourcery.com>
5758 Aldy Hernandez <aldyh@redhat.com>
5759
5760 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
5761 Change condition to [_SOFT_FLOAT].
5762 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
5763 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
5764 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
5765 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
5766 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
5767 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
5768 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
5769 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
5770 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
5771 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
5772 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
5773 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
5774 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
5775 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
5776 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
5777 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
5778 declaration.
5779
d13ef066
JM
57802013-09-18 Joseph Myers <joseph@codesourcery.com>
5781
2e071de0
JM
5782 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
5783 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5784 (__longjmp): Use LOAD_GP to load saved GPRs.
5785 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
5786 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5787 (__sigsetjmp): Use SAVE_GP to save GPRs.
5788
d13ef066
JM
5789 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
5790 Do not append -msoft-float.
5791 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
5792
97a0650b
SP
57932013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5794
5795 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
5796
11ca09e9
JM
57972013-09-17 Joseph Myers <joseph@codesourcery.com>
5798
5799 [BZ #15966]
5800 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
5801 (_FPU_GETCW): Use initial "__" on variable and field names but not
5802 on macro parameter name.
5803 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
5804 parentheses around reference to macro parameter.
5805
08ffcf34
RS
58062013-09-13 Richard Sandiford <richard@codesourcery.com>
5807
5808 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
5809 prototype.
5810 (ctype_startup): Use uint32_t in cast and sizeof for
5811 ctype->charnames.
5812
ae7080d3
JL
58132013-09-11 Jia Liu <proljc@gmail.com>
5814
5815 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
5816 __daddr_t_defined.
5817 [__FreeBSD__]: Likewise.
5818
5905e7b3
OB
58192013-09-11 Ondřej Bílka <neleai@seznam.cz>
5820
5821 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5822 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
5823 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
5824 (strchr): Remove __strchr_sse42 ifunc selection.
5825 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
5826 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
5827
b987c776
WN
58282013-09-11 Will Newton <will.newton@linaro.org>
5829
5830 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
5831 parameter to RES. Remove hardcoded 1000 value.
5832 * benchtests/bench-skeleton.c (main): Pass RES parameter
5833 to TIMING_INIT and multiply result by 1000.
5834
ddf985af
AZ
58352013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5836
5837 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5838
ffdd3181
AS
58392013-09-11 Andreas Schwab <schwab@suse.de>
5840
5841 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
5842 if not defined.
5843 (O_TMPFILE) [__USE_GNU]: Define.
5844 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
5845 Define.
5846
b73ed247
WN
58472013-09-11 Will Newton <will.newton@linaro.org>
5848
5849 [BZ #15857]
5850 * malloc/malloc.c (__libc_memalign): Check the value of bytes
5851 does not overflow.
5852
55e17aad
WN
58532013-09-11 Will Newton <will.newton@linaro.org>
5854
5855 [BZ #15856]
5856 * malloc/malloc.c (__libc_valloc): Check the value of bytes
5857 does not overflow.
5858
1159a193
WN
58592013-09-11 Will Newton <will.newton@linaro.org>
5860
5861 [BZ #15855]
5862 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
5863 does not overflow.
5864
5905e7b3 58652013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
5866
5867 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
5868 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5869 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5870 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5871 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5872
cdfc721b
AM
58732013-09-10 Allan McRae <allan@archlinux.org>
5874
aa04af00
AM
5875 [BZ #15748]
5876 * manual/arith.texi (Parsing of Floats): Clarify
5877 cross-reference.
5878
cdfc721b
AM
5879 [BZ #15849]
5880 * manual/install.texi (Running make install): Mention
5881 --enable-pt-chown.
5882 * INSTALL: Regenerated.
5883
95e7cf29
MR
58842013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5885
5886 * csu/init-first.c (_init): Remove the !SHARED condition around
5887 FPU control word initialization.
5888 * elf/dl-support.c (_dl_fpu_control): New variable.
5889 (_dl_aux_init) <AT_FPUCW>: Initialize it.
5890 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
5891 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
5892 * math/test-fpucw-static.c: New file.
5893 * math/test-fpucw-ieee.c: New file.
5894 * math/test-fpucw-ieee-static.c: New file.
5895 * math/Makefile (tests): Add `test-fpucw-ieee' and
5896 `$(tests-static)'.
5897 (tests-static): New variable.
5898 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
5899 dependency to...
5900 [($(build-shared),yes)]
5901 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5902 ... this.
5903 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
5904 New dependency.
5905
83e43bf0
AM
59062013-09-09 Allan McRae <allan@archlinux.org>
5907
a9f5ce09
AM
5908 [BZ #15939]
5909 * manual/string.texi (Collation Functions): Fix typo in
5910 strcoll example.
5911 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
5912
34829bc2
AM
5913 [BZ #15893]
5914 * stdlib/isomac.c (get_null_defines): Fix memory leak.
5915
3932737d
AM
5916 [BZ #15892]
5917 * libio/memstream.c (open_memstream): Fix memory leak.
5918 * libio/wmemstream.c (open_wmemstream): Likewise.
5919
83e43bf0
AM
5920 [BZ #15895]
5921 * nscd/netgroupcache.c: Fix nesting of ifdefs.
5922
0c66b8e9
WN
59232013-09-09 Will Newton <will.newton@linaro.org>
5924
5925 * malloc/Makefile: Add tst-realloc to tests.
5926 * malloc/tst-realloc.c: New file.
5927
f6b00fd1
AM
59282013-09-09 Allan McRae <allan@archlinux.org>
5929
5930 [BZ #15844]
5931 * COPYING: Update from GNU website to fix FSF address.
5932 * COPYING.LIB: Likewise.
5933
eec55e16
DM
59342013-09-06 David S. Miller <davem@davemloft.net>
5935
5936 * po/zh_TW.po: Update Chinese (traditional) translation from
5937 translation project.
5938
1ecbb381
RS
59392013-09-06 Richard Sandiford <richard@codesourcery.com>
5940 Joseph Myers <joseph@codesourcery.com>
5941
5942 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
5943 "localeinfo.h".
5944 (obstack_chunk_alloc): New macro.
5945 (obstack_chunk_free): Likewise.
5946 (record_offset): New function.
5947 (init_locale_data): Likewise.
5948 (align_locale_data): Likewise.
5949 (add_locale_empty): Likewise.
5950 (add_locale_raw_data): Likewise.
5951 (add_locale_raw_obstack): Likewise.
5952 (add_locale_string): Likewise.
5953 (add_locale_wstring): Likewise.
5954 (add_locale_uint32): Likewise.
5955 (add_locale_uint32_array): Likewise.
5956 (add_locale_char): Likewise.
5957 (start_locale_structure): Likewise.
5958 (end_locale_structure): Likewise.
5959 (start_locale_prelude): Likewise.
5960 (end_locale_prelude): Likewise.
5961 (write_locale_data): Take locale_file structure rather than an
5962 iovec.
5963 * locale/programs/locfile.h: Include "obstack.h".
5964 (struct locale_file): Change to store locale file contents instead
5965 of header.
5966 (init_locale_data): New prototype.
5967 (align_locale_data): Likewise.
5968 (add_locale_empty): Likewise.
5969 (add_locale_raw_data): Likewise.
5970 (add_locale_raw_obstack): Likewise.
5971 (add_locale_string): Likewise.
5972 (add_locale_wstring): Likewise.
5973 (add_locale_uint32): Likewise.
5974 (add_locale_uint32_array): Likewise.
5975 (add_locale_char): Likewise.
5976 (start_locale_structure): Likewise.
5977 (end_locale_structure): Likewise.
5978 (start_locale_prelude): Likewise.
5979 (end_locale_prelude): Likewise.
5980 (write_locale_data): Update prototype.
5981 * locale/programs/3level.h (struct TABLE): Remove result field.
5982 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
5983 Use new locale_file interface.
5984 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
5985 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
5986 * locale/programs/ld-address.c (address_output): Use new
5987 locale_file interface.
5988 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
5989 NO_ADD_LOCALE.
5990 (collate_finish): Don't call collseq_table_finalize.
5991 (collate_output): Use new locale_file interface.
5992 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
5993 in file.
5994 (NO_FINALIZE): Change to NO_ADD_LOCALE.
5995 (TABLE): Move defines earlier in file.
5996 (ELEMENT): Likewise.
5997 (DEFAULT): Likewise.
5998 (wctrans_table_add): Move macro and inline function earlier in
5999 file.
6000 (struct wctype_table): Move type earlier in file.
6001 (add_locale_wctype_table): New static prototype.
6002 (struct locale_ctype_t): Use logical types instead of struct iovec
6003 pointers for members.
6004 (ctype_output): Use new locale_file interface.
6005 (wctype_table_finalize): Change to add_locale_wctype_table. Use
6006 new locale_file interface.
6007 (allocate_arrays): Update for use of new locale_file interface.
6008 * locale/programs/ld-identification.c (identification_output): Use
6009 new locale_file interface.
6010 * locale/programs/ld-measurement.c (measurement_output): Likewise.
6011 * locale/programs/ld-messages.c (messages_output): Likewise.
6012 * locale/programs/ld-monetary.c (monetary_output): Likewise.
6013 * locale/programs/ld-name.c (name_output): Likewise.
6014 * locale/programs/ld-numeric.c (numeric_output): Likewise.
6015 * locale/programs/ld-paper.c (paper_output): Likewise.
6016 * locale/programs/ld-telephone.c (telephone_output): Likewise.
6017 * locale/programs/ld-time.c (time_output): Likewise.
6018
e029e2e5
AZ
60192013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6020
6021 * benchtests/Makefile: Add memrchr benchmark.
6022 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
6023 benchmark as memrchr.
6024 * benchtests/bench-memrchr-ifunc.c: New file.
6025 * benchtests/bench-memrchr.c: New file.
6026
bbf6e8e4
WN
60272013-09-06 Will Newton <will.newton@linaro.org>
6028
6029 * benchtests/Makefile (string-bench): Add memcpy.
6030
6c82a2f8
CD
60312013-09-05 Carlos O'Donell <carlos@redhat.com>
6032 Cong Wang <amwang@redhat.com>
6033
e732c5f0 6034 [BZ #15850]
6c82a2f8
CD
6035 * sysdeps/unix/sysv/linux/bits/in.h
6036 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
6037 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
6038 before __USE_KERNEL_IPV6_DEFS uses.
6039 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
6040 IPPROTO_BEETPH.
6041 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
6042 sockaddr_in6, or ipv6_mreq.
6043
5430fc65
AZ
60442013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6045
6046 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
6047 memory access for final bytes in some large inputs.
6048 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
6049
4660856c
AZ
60502013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6051
6052 * string/test-memrchr.c: New file.
6053 * string/test-memrchr-ifunc.c: New file.
6054 * string/Makefile: Add new memrchr testcase.
6055
bb8ea713
MF
60562013-09-05 Mike Frysinger <vapier@gentoo.org>
6057
6058 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
6059 fanotify_init returns EPERM.
6060
b92a20b5
JM
60612013-09-04 Joseph Myers <joseph@codesourcery.com>
6062
6063 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
6064 errors.
6065 (top level): Treat second token from macro or constant entries for
6066 allowed headers as allowed.
6067 * include/complex.h: Condition internal declarations on
6068 [!_ISOMAC].
6069 * include/fenv.h: Condition include of <stdbool.h> and internal
6070 declarations on [!_ISOMAC].
7447ccd9
CL
6071
60722013-09-04 Chris Leonard <cjl@sugarlabs,.org>
6073
3e181dda 6074 [BZ #15923]
7447ccd9
CL
6075 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
6076
3f2e46a4
JM
60772013-09-04 Joseph Myers <joseph@codesourcery.com>
6078
6079 * configure.in (--enable-versioning): Remove configure option.
6080 (libc_cv_asm_symver_directive): Remove configure test.
6081 (libc_cv_ld_version_script_option): Likewise.
6082 (VERSIONING): Remove variable and AC_SUBST.
6083 (DO_VERSIONING): Remove AC_DEFINE.
6084 * configure: Regenerated.
6085 * config.h.in (DO_VERSIONING): Remove macro.
6086 * Makerules [$(versioning) = yes]: Change conditionals to
6087 [$(build-shared) = yes].
6088 * config.make.in (versioning): Remove variable.
6089 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
6090 [$(build-shared) = yes].
6091 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
6092 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
6093 * elf/Makefile [$(versioning) = yes]: Change conditionals to
6094 [$(build-shared) = yes].
6095 * extra-lib.mk [$(versioning) = yes]: Likewise.
6096 * hurd/Makefile [$(versioning) = yes]: Likewise.
6097 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
6098 [SHARED].
6099 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
6100 [SHARED].
6101 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
6102 [SHARED && !NO_HIDDEN].
6103 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
6104 [SHARED].
6105 [SHARED && DO_VERSIONING]: Likewise..
6106 * libio/Makefile [$(versioning) = yes]: Change conditionals to
6107 [$(build-shared) = yes].
6108 * manual/install.texi (--disable-versioning): Remove
6109 documentation.
6110 * INSTALL: Regenerated.
6111 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
6112 to [SHARED].
6113 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
6114 [$(build-shared) = yes].
6115 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
6116 * sysdeps/i386/i686/multiarch/strstr-c.c
6117 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
6118 [SHARED && !NO_HIDDEN].
6119 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
6120 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
6121 * sysdeps/powerpc/powerpc32/dl-machine.c
6122 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
6123 * sysdeps/powerpc/powerpc32/sysdep.h
6124 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
6125 to [SHARED && PIC && !NO_HIDDEN].
6126 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
6127 conditional to [SHARED].
6128
44558701
WN
61292013-09-04 Will Newton <will.newton@linaro.org>
6130
6131 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
6132 * benchtests/bench-string.h: Include bench-timing.h instead
6133 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
6134 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
6135 call to HP_TIMING_DIFF_INIT.
6136 * benchtests/bench-memccpy.c: Use bench-timing.h macros
6137 instead of hp-timing.h macros.
6138 * benchtests/bench-memchr.c: Likewise.
6139 * benchtests/bench-memcmp.c: Likewise.
6140 * benchtests/bench-memcpy.c: Likewise.
6141 * benchtests/bench-memmem.c: Likewise.
6142 * benchtests/bench-memmove.c: Likewise.
6143 * benchtests/bench-memset.c: Likewise.
6144 * benchtests/bench-rawmemchr.c: Likewise.
6145 * benchtests/bench-strcasecmp.c: Likewise.
6146 * benchtests/bench-strcasestr.c: Likewise.
6147 * benchtests/bench-strcat.c: Likewise.
6148 * benchtests/bench-strchr.c: Likewise.
6149 * benchtests/bench-strcmp.c: Likewise.
6150 * benchtests/bench-strcpy.c: Likewise.
6151 * benchtests/bench-strcpy_chk.c: Likewise.
6152 * benchtests/bench-strlen.c: Likewise.
6153 * benchtests/bench-strncasecmp.c: Likewise.
6154 * benchtests/bench-strncat.c: Likewise.
6155 * benchtests/bench-strncmp.c: Likewise.
6156 * benchtests/bench-strncpy.c: Likewise.
6157 * benchtests/bench-strnlen.c: Likewise.
6158 * benchtests/bench-strpbrk.c: Likewise.
6159 * benchtests/bench-strrchr.c: Likewise.
6160 * benchtests/bench-strspn.c: Likewise.
6161 * benchtests/bench-strstr.c: Likewise.
6162
cae16d66
WN
61632013-09-04 Will Newton <will.newton@linaro.org>
6164
6165 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
6166
ffa3cd7f
JM
61672013-09-03 Joseph Myers <joseph@codesourcery.com>
6168
6169 [BZ #15427]
6170 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
6171 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
6172 * math/libm-test.inc (lgamma_test_data): Add more tests.
6173 * sysdeps/i386/fpu/libm-test-ulps: Update.
6174 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6175
8f02859f
OB
61762013-09-03 Ondřej Bílka <neleai@seznam.cz>
6177
6178 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
6179 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6180 Add ifunc.
6181 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6182 Add strcmp-sse2-unaligned
6183 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
6184
18d43716
MF
61852013-09-02 Mike Frysinger <vapier@gentoo.org>
6186
6187 * Versions.def (libc): Add GLIBC_2.19.
6188
ac444012
MF
61892013-09-02 Mike Frysinger <vapier@gentoo.org>
6190
6191 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
6192 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
6193
b7835e32
JM
61942013-09-02 Joseph Myers <joseph@codesourcery.com>
6195
6196 [BZ #14155]
6197 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
6198 intermediate calculations in recurrence.
6199 (__ieee754_ynf): Likewise.
6200 * math/libm-test.inc (jn_test_data): Do not allow spurious
6201 underflow exception. Add more tests.
6202 (yn_test_data): Add more tests.
6203 * sysdeps/i386/fpu/libm-test-ulps: Update.
6204 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6205
8220f4f0
OB
62062013-09-02 Ondřej Bílka <neleai@seznam.cz>
6207
6208 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
6209
f24a6d08
OB
62102013-08-30 Ondřej Bílka <neleai@seznam.cz>
6211
6212 * csu/init-first.c: Fix then/than typos.
6213 * locale/programs/ld-collate.c: Likewise.
6214 * locale/programs/linereader.h: Likewise.
6215 * manual/charset.texi: Likewise.
6216 * manual/filesys.texi: Likewise.
6217 * manual/stdio.texi: Likewise.
6218 * manual/string.texi: Likewise.
6219 * stdlib/fmtmsg.c: Likewise.
6220 * sysdeps/i386/stpncpy.S: Likewise.
6221 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6222 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
6223 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6224 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6225
382466e0
OB
62262013-08-30 Ondřej Bílka <neleai@seznam.cz>
6227
6228 * elf/dl-open.c: Fix typos.
6229 * iconvdata/gbbig5.c: Likewise.
6230 * iconvdata/iso-2022-jp.c: Likewise.
6231 * iconv/gconv_int.h: Likewise.
6232 * iconv/loop.c: Likewise.
6233 * nis/rpcsvc/nis.h: Likewise.
6234 * resolv/ns_name.c: Likewise.
6235 * stdio-common/vfscanf.c: Likewise.
6236 * streams/stropts.h: Likewise.
6237 * sunrpc/rpc_thread.c: Likewise.
6238 * sysdeps/i386/strpbrk.S: Likewise.
6239 * sysdeps/ieee754/k_standard.c: Likewise.
6240 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6241 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6242 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
6243 * sysdeps/mach/hurd/profil.c: Likewise.
6244 * sysdeps/s390/dl-procinfo.h: Likewise.
6245 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
6246 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
6247 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
6248 * sysdeps/x86_64/dl-trampoline.S: Likewise.
6249 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
6250
0186c6e9
OB
62512013-08-30 Ondřej Bílka <neleai@seznam.cz>
6252
6253 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
6254 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
6255
d4e16af1
OB
62562013-08-29 Ondřej Bílka <neleai@seznam.cz>
6257
6258 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
6259 aix specific files.
6260 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
6261 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
6262 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
6263 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
6264 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
6265 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
6266 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
6267 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
6268
88335980
TS
62692013-08-29 Thomas Schwinge <thomas@codesourcery.com>
6270 Roland McGrath <roland@hack.frob.com>
6271
6272 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
6273 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
6274
ed479b02
ST
62752013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
6276
6277 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
6278 __executable_start symbol instead of _start.
6279
f1cc4c86
TS
62802013-08-29 Thomas Schwinge <thomas@codesourcery.com>
6281
d821f07c
TS
6282 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
6283 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
6284 Move macros to...
6285 * sysdeps/gnu/ldsodefs.h: ... this new file.
6286
c54290cf
TS
6287 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
6288 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
6289 instead of ELFOSABI_LINUX.
6290
0007fc9b 6291 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
6292 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
6293 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
6294 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
6295 Likewise.
6296 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
6297 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
6298 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
6299 Likewise.
6300 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
6301 (ibm_extended_long_double): Add ieee_nan member.
6302 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
6303 (do_test): New function.
6304
f1cc4c86
TS
6305 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
6306 TEST_TRUNC.
6307 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
6308 functions, renamed from truncdfsf_test, trunctfsf_test,
6309 trunctfdf_test.
6310 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
6311 functions.
6312 (do_test): Run all these.
6313
6f65e668
OB
63142013-08-29 Ondřej Bílka <neleai@seznam.cz>
6315
6316 * argp/argp-help.c: Fix typos.
6317 * argp/argp-parse.c: Likewise.
6318 * debug/backtracesyms.c: Likewise.
6319 * elf/elf.h: Likewise.
6320 * malloc/malloc.c: Likewise.
6321 * nis/nis_print.c: Likewise.
6322 * resolv/res_comp.c: Likewise.
6323 * stdlib/stdlib.h: Likewise.
6324 * sunrpc/clnt_tcp.c: Likewise.
6325 * sunrpc/clnt_udp.c: Likewise.
6326 * sunrpc/clnt_unix.c: Likewise.
6327 * sysdeps/unix/bsd/ptsname.c: Likewise.
6328 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
6329 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
6330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
6331 Likewise.
6332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
6333 Likewise.
6334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
6335 Likewise.
6f65e668
OB
6336 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
6337
3a309239
SP
63382013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6339
6340 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
6341 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6342
3b813b29
MF
63432013-08-27 Mike Frysinger <vapier@gentoo.org>
6344
6345 [BZ #15897]
6346 * dlfcn/Makefile (tests): Add bug-dl-leaf.
6347 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
6348 ($(objpfx)bug-dl-leaf): New rule.
6349 ($(objpfx)bug-dl-leaf.so): Likewise.
6350 ($(objpfx)bug-dl-leaf.out): Likewise.
6351 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
6352 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
6353 * dlfcn/bug-dl-leaf.c: New test.
6354 * dlfcn/bug-dl-leaf-lib.c: Likewise.
6355 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
6356 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
6357 (dlclose): Likewise.
6358 (dlmopen): Likewise.
6359
8cc3269f
RM
63602013-08-27 Roland McGrath <roland@hack.frob.com>
6361
7f9d0034
RM
6362 * include/netdb.h [!_ISOMAC]:
6363 Don't include <tls.h>.
6364 (h_errno, __libc_h_errno): Move declaration and macros out of
6365 [_LIBC_REENTRANT].
6366
fb431262
RM
6367 * include/resolv.h [_RESOLV_H_]:
6368 Don't include <tls.h>.
6369 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
6370 * resolv/res_libc.c: Don't include <tls.h>.
6371 (_res): Use __attribute__ ((nocommon)) in place of
6372 __attribute__ ((section (".bss"))).
6373
bd81123a
RM
6374 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
6375 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
6376
c4e42566
RM
6377 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
6378
f890a59b
RM
6379 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
6380 only under [SIOCGIFCONF && SIOCGIFNETMASK].
6381
6382 * resolv/res_mkquery.c: Include <sys/time.h>.
6383
5d1f0a09
RM
6384 * inet/ifreq.c: Moved to ...
6385 * sysdeps/unix/ifreq.c: ... here.
6386 * inet/ifreq.c: New file, true stub version.
6387
6fcf28b3
RM
6388 * socket/sa_len.c: New file.
6389 * socket/Makefile (aux): Add it.
6390 * sysdeps/unix/sysv/linux/Makefile
6391 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
6392 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
6393 and #include <socket/sa_len.c>.
6394 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
6395 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
6396
e041fb8b
RM
6397 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
6398 * bits/socket.h: ... here.
6399
8cc3269f
RM
6400 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
6401 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
6402 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
6403
5d228a43
AS
64042013-08-27 Andreas Schwab <schwab@suse.de>
6405
45b8accc
AS
6406 [BZ #15736]
6407 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
6408 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
6409 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
6410 * string/test-strcasecmp.c (test_main): Run tests in several
6411 locales.
6412 * string/test-strncasecmp.c (test_main): Likewise.
6413
5d228a43
AS
6414 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
6415 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
6416 to __strcasecmp_nonascii and __strncasecmp_nonascii.
6417 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
6418 (__strncasecmp_ssse3) [PIC]: Likewise.
6419
59d112a4
RM
64202013-08-26 Roland McGrath <roland@hack.frob.com>
6421
53234cc3
RM
6422 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
6423
59d112a4
RM
6424 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
6425 instead of explicitly declaring xdecrypt.
6426 * nis/nss_nis/nis-publickey.c: Likewise.
6427
595aba70
SP
64282013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6429
6430 [BZ #15890]
6431 * nscd/aicache.c: Include res_hconf.h.
6432 (addhstaiX): Initialize res_hconf.
6433
ffabd393
AS
64342013-08-26 Andreas Schwab <schwab@suse.de>
6435
6436 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
6437 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
6438
e0a69f5c
SP
64392013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6440
6441 * nscd/aicache.c (addhstaiX): Fix indentation.
6442
8c12f01d
MF
64432013-08-25 Mike Frysinger <vapier@gentoo.org>
6444
6445 * configure.ac: Quote $build_pt_chown test.
6446 * configure: Regenerated.
6447
8fe89494
JM
64482013-08-23 Joseph Myers <joseph@codesourcery.com>
6449
6450 [BZ #15532]
6451 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
6452 * math/s_cexpf.c (__cexpf): Likewise.
6453 * math/s_cexpl.c (__cexpl): Likewise.
6454 * math/libm-test.inc (cexp_test_data): Correct expected return
6455 value for NaN + i0. Add another test.
6456
75b181d6
DM
64572013-08-22 David S. Miller <davem@davemloft.net>
6458
6459 * po/ca.po: Update Catalan translation from translation project.
936241e4 6460 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 6461
acd06bb1
JM
64622013-08-21 Joseph Myers <joseph@codesourcery.com>
6463
6464 [BZ #15797]
6465 * math/s_fdim.c (__fdim): Check for infinite arguments if result
6466 is infinite, not alongside NaN test.
6467 * math/s_fdimf.c (__fdimf): Likewise.
6468 * math/s_fdiml.c (__fdiml): Likewise.
6469 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
6470 errno is unchanged.
6471
c0c3f78a
OB
64722013-08-21 Ondřej Bílka <neleai@seznam.cz>
6473
6474 * argp/argp-help.c: Fix typos.
6475 * crypt/speeds.c: Likewise.
6476 * csu/check_fds.c: Likewise.
6477 * elf/dl-load.c: Likewise.
6478 * elf/dl-open.c: Likewise.
6479 * elf/reldep3.c: Likewise.
6480 * elf/reldep.c: Likewise.
6481 * elf/sprof.c: Likewise.
6482 * iconv/iconv_charmap.c: Likewise.
6483 * iconv/skeleton.c: Likewise.
6484 * iconv/strtab.c: Likewise.
6485 * io/lockf64.c: Likewise.
6486 * libio/libioP.h: Likewise.
6487 * resolv/gai_notify.c: Likewise.
6488 * resolv/ns_name.c: Likewise.
6489 * resolv/ns_samedomain.c: Likewise.
6490 * resolv/res_send.c: Likewise.
6491 * stdlib/random.c: Likewise.
6492 * sunrpc/rpc/xdr.h: Likewise.
6493 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
6494 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6495 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6496 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6497 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6498 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6499 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6500 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6501 * sysdeps/mach/hurd/check_fds.c: Likewise.
6502 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
6503 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
6504 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6505 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
6506 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
6507 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
6508 * sysdeps/pthread/aio_notify.c: Likewise.
6509 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
6510 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
6511 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
6512 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
6513 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
6514
46ed1038
LD
65152013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6516
6517 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
6518 version if bit_Slow_SSE4_2 is set.
6519 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6520 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6521
d400dcac
AZ
65222013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6523
6524 [BZ #15867]
6525 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
6526 trampoline stack frame information.
6527 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
6528 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
6529 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
6530 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
6531 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
6532 * sysdeps/unix/sysv/linux/powerpc/init-first.c
6533 (_libc_vdso_platform_setup): Initialize the signal trampolines.
6534 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
6535 sa_flags value.
6536 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
6537 interrupting a syscall and set with option SA_SIGINFO.
6538
42c8fdd8
JM
65392013-08-20 Joseph Myers <joseph@codesourcery.com>
6540
c980f2f4
JM
6541 [BZ #15531]
6542 * math/s_cproj.c (__cproj): Only return an infinity if one part of
6543 argument is infinite.
6544 * math/s_cprojf.c (__cprojf): Likewise.
6545 * math/s_cprojl.c (__cprojl): Likewise.
6546 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
6547 * math/libm-test.inc (cproj_test_data): Add more tests.
6548
0716c4fc
JM
6549 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
6550
42c8fdd8
JM
6551 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
6552 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
6553 size. Use __ffs to determine corresponding shift.
6554
b31469d0
JM
65552013-08-20 Joseph Myers <joseph@codesourcery.com>
6556 Roland McGrath <roland@hack.frob.com>
6557
6558 * Makefile (INSTALL): Remove trailing blank lines from output of
6559 makeinfo.
6560
4e39af6e
AK
65612013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6562
6563 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
6564 Align 32 bit compat elf_greg to 8 bytes.
6565
f315524e
AA
65662013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
6567
6568 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
6569
1326ba1a
SP
65702013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6571
6572 * string/strcoll_l.c (coll_seq): New structure.
6573 (get_next_seq_cached): New function.
6574 (get_next_seq): New function.
6575 (do_compare): New function.
6576 (STRCOLL): Use GNU style definition. Simplify implementation
6577 by using get_next_seq, get_next_seq_cached and do_compare.
6578
91ce4085
FW
65792013-08-16 Florian Weimer <fweimer@redhat.com>
6580
6581 [BZ #14699]
6582 CVE-2013-4237
6583 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
6584 member.
6585 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
6586 member.
6587 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
6588 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
6589 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
6590 conditional.
6591 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
6592 GETDENTS_64BIT_ALIGNED.
6593 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
6594 * manual/filesys.texi (Reading/Closing Directory): Document
6595 ENAMETOOLONG return value of readdir_r. Recommend readdir more
6596 strongly.
6597 * manual/conf.texi (Limits for Files): Add portability note to
6598 NAME_MAX, PATH_MAX.
6599 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
6600
ca0a6bc4
AS
66012013-08-13 Andreas Schwab <schwab@suse.de>
6602
6603 [BZ #15749]
6604 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
6605 of fabs.
6606 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
6607 LDBL_MAX_EXP >= 16384]: Add tests for it.
6608
6c1fd795
DM
66092013-08-12 David S. Miller <davem@davemloft.net>
6610
6611 * version.h (RELEASE): Set to "development".
6612 (VERSION): Set to "2.18.90".
6613 * NEWS: Add 2.19 section.
6614
31ad488d
DM
66152013-08-03 David S. Miller <davem@davemloft.net>
6616
6617 * po/ko.po: Update Korean translation from translation project.
6618
db24e684
DM
66192013-08-01 David S. Miller <davem@davemloft.net>
6620
6621 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
6622 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
6623 Bilka.
6624
f723285b
DM
66252013-07-30 David S. Miller <davem@davemloft.net>
6626
6627 * po/fr.po: Update French translation from translation project.
6628
3cbc52db
DM
66292013-07-28 David S. Miller <davem@davemloft.net>
6630
30bbc0cc
DM
6631 * po/cs.po: Update Czech translation from translation project.
6632
3cbc52db
DM
6633 * po/sv.po: Update Swedish translation from translation project.
6634
d492e6d0
DM
66352013-07-27 David S. Miller <davem@davemloft.net>
6636
f1a7f492
DM
6637 * po/eo.po: Update Esperanto translation from translation project.
6638
90e62a4a
DM
6639 * po/vi.po: Update Vietnamese translation from translation project.
6640
d492e6d0
DM
6641 * po/de.po: Update German translation from translation project.
6642
d4baa62d
DM
66432013-07-26 David S. Miller <davem@davemloft.net>
6644
641aa7b4
DM
6645 * po/bg.po: Update Bulgarian translation from translation project.
6646
d4baa62d
DM
6647 * po/nl.po: Update Dutch translation from translation project.
6648 * po/pl.po: Update Polish translation from translation project.
6649 * po/ru.po: Update Russian translation from translation project.
6650
61a9dcb9
DM
66512013-07-24 David S. Miller <davem@davemloft.net>
6652
6653 * po/libc.pot: Update.
6654
7b1f8b58
AZ
66552013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6656
6657 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
6658 variable page size.
6659 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
6660 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
6661 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
6662
a8fc7a03
AK
66632013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6664
6665 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
6666
e4608715
CD
66672013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6668 Andreas Schwab <schwab@suse.de>
6669 Roland McGrath <roland@hack.frob.com>
6670 Joseph Myers <joseph@codesourcery.com>
6671 Carlos O'Donell <carlos@redhat.com>
6672
6673 [BZ #15755]
6674 * config.h.in: Define HAVE_PT_CHOWN.
6675 * config.make.in (build-pt-chown): New variable.
6676 * configure.in (--enable-pt_chown): New configure option.
6677 * configure: Regenerate.
6678 * login/Makefile: Include Makeconfig. Build pt_chown only if
6679 build-pt-chown is enabled.
6680 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
6681 pt_chown to fix pty ownership.
6682 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
6683 CLOSE_ALL_FDS.
6684 * manual/install.texi (Configuring and compiling): Mention
6685 --enable-pt_chown. Add @findex for grantpt.
6686 * INSTALL: Regenerate.
6687
da2d62df
DM
66882013-07-20 David S. Miller <davem@davemloft.net>
6689
6690 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
6691 difference between 32-bit and 64-bit.
6692
d7e06450
CD
66932013-07-15 Carlos O'Donell <carlos@redhat.com>
6694
6695 [BZ #15711]
6696 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
6697 Avoid system header dependency with -ffreestanding.
6698 ($(objpfx)bits/syscall%d): Likewise.
6699
f959cfd7
DM
67002013-07-13 David S. Miller <davem@davemloft.net>
6701
6702 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
6703 underflows from atanl/atan2l due to bug 15319.
6704 (casinh_test_data): Likewise.
6705
c61f8513
DM
67062013-07-07 David S. Miller <davem@davemloft.net>
6707
6708 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
6709
72c90ed0
JA
67102013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
6711
6712 * sysdeps/i386/fpu/libm-test-ulps: Update.
6713 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6714
52dfbe13
SP
67152013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6716
6717 * configure.in (--enable-lock-elision): Fix message text.
6718 * INSTALL: Regenerate.
6719 * configure: Regenerate.
6720
3f169543
AZ
67212013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6722
6723 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6724
521c6785
AJ
67252013-07-03 Andreas Jaeger <aj@suse.de>
6726
6727 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
6728 define.
6729 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
6730 (ptrace_peeksiginfo_args): Add.
6731 (__ptrace_peeksiginfo_flags): Add.
6732 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6733 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6734 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6735
d2cc15cb
AM
67362013-07-03 Allan McRae <allan@archlinux.org>
6737
6738 * sysdeps/i386/fpu/libm-test-ulps: Update.
6739
3aaeeca7
DM
67402013-07-02 David S. Miller <davem@davemloft.net>
6741
6742 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6743
5314ed1a
MT
67442013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
6745
6746 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6747
67338156
JM
67482013-07-02 Joseph Myers <joseph@codesourcery.com>
6749
6750 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6751 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6752
1717da59
AK
67532013-07-02 Andi Kleen <ak@linux.intel.com>
6754
6755 * config.h.in (ENABLE_LOCK_ELISION): Add.
6756 * configure.in (--enable-lock-elision): Add option.
6757 * manual/install.texi: Document --enable lock elision.
6758 * configure: Regenerate
6759 * INSTALL: Regenerate.
6760
1c81621c
L
67612013-07-02 H.J. Lu <hongjiu.lu@intel.com>
6762
6763 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
6764 SSE4.2 strcasecmp for libc.a.
6765 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6766
77f01ab5
JM
67672013-07-02 Joseph Myers <joseph@codesourcery.com>
6768
6769 [BZ #13304]
6770 * soft-fp/op-common.h (_FP_FMA): New macro.
6771 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
6772 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
6773 (_FP_MUL_MEAT_1_imm): ... here.
6774 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
6775 (_FP_MUL_MEAT_1_wide): ... here.
6776 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
6777 (_FP_MUL_MEAT_1_hard): ... here.
6778 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
6779 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
6780 (_FP_MUL_MEAT_2_wide): ... here.
6781 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
6782 (_FP_MUL_MEAT_2_wide_3mul): ... here.
6783 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
6784 (_FP_MUL_MEAT_2_gmp): ... here.
6785 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
6786 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
6787 (_FP_MUL_MEAT_4_wide): ... here.
6788 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
6789 (_FP_MUL_MEAT_4_gmp): ... here.
6790 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
6791 (_FP_WFRACBITS_DW_S): Likewise.
6792 (_FP_WFRACXBITS_DW_S): Likewise.
6793 (_FP_HIGHBIT_DW_S): Likewise.
6794 (FP_FMA_S): Likewise.
6795 (_FP_FRAC_HIGH_DW_S): Likewise.
6796 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
6797 (_FP_WFRACBITS_DW_D): Likewise.
6798 (_FP_WFRACXBITS_DW_D): Likewise.
6799 (_FP_HIGHBIT_DW_D): Likewise.
6800 (FP_FMA_D): Likewise.
6801 (_FP_FRAC_HIGH_DW_D): Likewise.
6802 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
6803 (_FP_WFRACBITS_DW_E): Likewise.
6804 (_FP_WFRACXBITS_DW_E): Likewise.
6805 (_FP_HIGHBIT_DW_E): Likewise.
6806 (FP_FMA_E): Likewise.
6807 (_FP_FRAC_HIGH_DW_E): Likewise.
6808 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
6809 (_FP_WFRACBITS_DW_Q): Likewise.
6810 (_FP_WFRACXBITS_DW_Q): Likewise.
6811 (_FP_HIGHBIT_DW_Q): Likewise.
6812 (FP_FMA_Q): Likewise.
6813 (_FP_FRAC_HIGH_DW_Q): Likewise.
6814 * soft-fp/fmasf4.c: New file.
6815 * soft-fp/fmadf4.c: Likewise.
6816 * soft-fp/fmatf4.c: Likewise.
6817
6308fd9a
LD
68182013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6819
6820 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
6821 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
6822 Silvermont.
6823 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
6824 macro.
6825 (index_Slow_SSE4_2): Likewise.
6826 (index_Prefer_PMINUB_for_stringop): Likewise.
6827 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
6828 bit_Slow_SSE4_2 is set.
6829 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6830 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6831
89cd9569
RA
68322013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6833
6834 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
6835 rtld_global._dl_hwcap2.
6836 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
6837 POWER8.
6838 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
6839 POWER8 feature descriptions defined in _dl_hwcap2.
6840 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
6841 string handling for POWER8 feature bits.
6842 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
6843 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
6844 _dl_powerpc_cap_flags.
6845 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
6846 * sysdeps/powerpc/rtld-global-offsets.sym
6847 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
6848 _dl_hwcap2 in the rtld_global_ro structure.
6849
1ae8bfe0
RA
68502013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6851
6852 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
6853 hardware capabilities in support of AT_HWCAP2.
6854 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
6855 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
6856 GLRO(dl_hwcap2).
6857 (_dl_show_auxv): Add support for calling _dl_procinfo to display
6858 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
6859 explicitly the unknown a_type display mechanism is used.
6860 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
6861 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
6862 struct member.
6863 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
6864 to macro prototype for AT_HWCAP2 support.
6865 * sysdeps/i386/dl-procinfo.h: Likewise.
6866 * sysdeps/s390/dl-procinfo.h: Likewise.
6867 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
6868 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
6869 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
6870 return -1 for unknown a_type display fallback.
6871 * sysdeps/sparc/dl-procinfo.h: Likewise.
6872 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
6873 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
6874
8fbec010
JM
68752013-06-28 Joseph Myers <joseph@codesourcery.com>
6876
6877 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
6878 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
6879
0432680e
PY
68802013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
6881
6882 [BZ #12492]
6883 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
6884 mprotect making __stack_prot writable.
6885
ce61a2ad
NF
68862013-06-28 Nathan Froyd <froydnj@codesourcery.com>
6887 Joseph Myers <joseph@codesourcery.com>
6888
6889 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
6890 as being properly aligned.
6891
f91f1c0f
MR
68922013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
6893
3d0f5d0c
MR
6894 * dlfcn/modstatic5.c: New file.
6895 * dlfcn/tststatic5.c: New file.
6896 * dlfcn/Makefile (tests): Add tststatic5.
6897 (tests-static): Likewise.
6898 (modules-names): Add modstatic5.
6899 (tststatic5-ENV): New variable.
6900 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
6901
f91f1c0f
MR
6902 [BZ #15022]
6903 * elf/dl-support.c (_dl_main_map): New variable.
6904 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
6905 (_dl_nns, _dl_load_adds): Set to 1.
6906 (_dl_initial_searchlist): Refer to _dl_main_map.
6907 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
6908 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
6909 call to _dl_get_origin.
6910 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
6911 around call_map.
6912 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
6913 * dlfcn/modstatic3.c: New file.
6914 * dlfcn/tststatic3.c: New file.
6915 * dlfcn/tststatic4.c: New file.
6916 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
6917 (tests-static): Likewise.
6918 (modules-names): Add modstatic3.
6919 (tststatic3-ENV, tststatic4-ENV): New variables.
6920 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
6921 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
6922
cbe7d24b
JM
69232013-06-26 Joseph Myers <joseph@codesourcery.com>
6924
6925 * configure.in (CC): Require GCC version 4.4 or later.
6926 * configure: Regenerated.
6927 * manual/install.texi (Tools for Compilation): Update GCC version
6928 requirement.
6929 * INSTALL: Regenerated.
6930
11b8a0e1
LD
69312013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6932
6933 [BZ #15674]
bb5bb87c
L
6934 * string/test-memcmp.c (check2): New.
6935 (main): Call check2.
6936
11b8a0e1
LD
6937 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
6938
b0037103
MR
69392013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
6940
6941 [BZ #15022]
6942 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
6943 over to...
6944 (dl_open_worker) [!SHARED]: ... here.
6945
c18c701d
RA
69462013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6947
6948 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
6949
1d17fa5f
RH
69502013-06-25 Richard Henderson <rth@redhat.com>
6951
6952 * locale/programs/locarchive.c: Include <libc-internal.h>
6953
8fcb833a
JM
69542013-06-25 Joseph Myers <joseph@codesourcery.com>
6955
6956 * manual/texinfo.tex: Update to version 2013-06-21.17, with
6957 trailing whitespace removed.
6958
17db6e8d
MF
69592013-06-24 Mike Frysinger <vapier@gentoo.org>
6960
6961 [BZ #10283]
17db6e8d
MF
6962 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
6963 * locale/programs/locarchive.c: Include libc-mmap.h.
6964 (prepare_address_space): Take two new outputs (the mmap base and len).
6965 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
6966 values.
6967 (create_archive): Declare new mmap base and len values for
6968 prepare_address_space, and store the result in ah.
6969 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
6970 (enlarge_archive): If ah->mmap_base is not NULL, use that and
6971 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6972 Declare new mmap base and len values for
6973 prepare_address_space, and store the result in new_ah.
6974 (open_archive): Declare new mmap base and len values for
6975 prepare_address_space, and store the result in ah.
6976 (close_archive): If ah->mmap_base is not NULL, use that and
6977 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6978 * sysdeps/generic/libc-mmap.h: New file.
6979
d605071e
MF
69802013-06-24 Mike Frysinger <vapier@gentoo.org>
6981
6982 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
6983 (ALIGN_UP): Likewise.
6984 (PTR_ALIGN_DOWN): Likewise.
6985 (PTR_ALIGN_UP): Likewise.
6986
2f063a6e
RA
69872013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6988
6989 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
6990 entry mapped to PPC_PLATFORM_POWER8.
6991 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
6992 POWER8.
6993 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
6994 (_dl_string_platform): Add case for exporting platform position for
6995 POWER8.
6996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
6997 search path to sysdeps/powerpc/powerpc32/power8 directory.
6998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
6999 search path to sysdeps/powerpc/powerpc64/power8 directory.
7000 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
7001 power7 directories.
7002 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
7003 power7 directories.
7004
a31ee4b3
SP
70052013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7006
a74ca98f
SP
7007 * INSTALL: Regenerate.
7008
a31ee4b3
SP
7009 * nscd/connections.c (nscd_init): Fix comment.
7010
695c378f
JM
70112013-06-22 Joseph Myers <joseph@codesourcery.com>
7012
d8412221
JM
7013 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
7014
695c378f
JM
7015 [BZ #15667]
7016 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
7017 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
7018
d1d54715
MR
70192013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
7020
7021 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
7022 DL_DST_REQ_STATIC.
7023 (DL_DST_REQ_STATIC): Remove macro.
7024
8fdda7af
JM
70252013-06-21 Joseph Myers <joseph@codesourcery.com>
7026
7027 [BZ #7006]
7028 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
7029 with a shift of 0 bits.
7030
f3bc5e5a
MR
70312013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
7032
7033 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
7034 $(tststatic-ENV).
7035
be09e8c9
KK
70362013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7037
7038 [BZ #15655]
7039 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
7040
85c2e611
AZ
70412013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7042
7043 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
7044 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
7045 accepts -fno-tree-loop-distribute-patterns.
7046 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
7047 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
7048 recursive call.
7049 * string/memset.c (memset): Likewise.
7050 * string/test-memmove.c (simple_memmove): Disable loop transformation
7051 to library calls.
7052 * string/test-memset.c (simple_memset): Likewise.
7053 * benchtests/bench-memmove.c (simple_memmove): Likewise.
7054 * benchtests/bench-memset.c (simple_memset): Likewise.
7055 * configure: Regenerated.
7056
c91e0825
JM
70572013-06-20 Joseph Myers <joseph@codesourcery.com>
7058
b8c792af
JM
7059 * math/test-misc.c (main): Ignore fesetround failure when failures
7060 of subsequent rounding tests would be ignored.
7061
c91e0825
JM
7062 [BZ #15654]
7063 * math/fedisblxcpt.c (fedisableexcept): Return 0.
7064 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
7065 * math/fegetenv.c (__fegetenv): Return 0.
7066 * math/fegetexcept.c (fegetexcept): Return 0.
7067 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
7068 FE_TONEAREST.
7069 * math/feholdexcpt.c (feholdexcept): Return 0.
7070 * math/fesetenv.c (__fesetenv): Return 0.
7071 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
7072 argument FE_TONEAREST.
7073 * math/feupdateenv.c (__feupdateenv): Return 0.
7074 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
7075
bfcacbde
RM
70762013-06-18 Roland McGrath <roland@hack.frob.com>
7077
7078 * elf/rtld-Rules (rtld-compile-command.S): New variable.
7079 (rtld-compile-command.s, rtld-compile-command.c): New variables.
7080 ($(objpfx)rtld-%.os rules): Use them.
7081
e55a9b25
AZ
70822013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7083
7084 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
7085 fields.
7086
346d65b3
RM
70872013-06-17 Roland McGrath <roland@hack.frob.com>
7088
12086fb4
RM
7089 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
7090 length of target pattern, then descending length of dependency pattern.
7091 * configure.in (AWK): Require gawk 3.1.2 or newer.
7092 * manual/install.texi (Tools for Compilation): Say that we do.
7093 * configure: Regenerated.
7094
346d65b3
RM
7095 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
7096 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
7097 * scripts/sysd-rules.awk: ... this new script.
7098 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
7099 than a glob-style pattern.
7100
1a846317
JM
71012013-06-17 Joseph Myers <joseph@codesourcery.com>
7102
7103 * math/test-misc.c (main): Do not treat incorrectly rounded
7104 conversions as failure unless ROUNDING_TESTS passes.
7105
8fc75e6f
JM
71062013-06-15 Joseph Myers <joseph@codesourcery.com>
7107
3711a167
JM
7108 [BZ #15631]
7109 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
7110 restore exception state around main square root computation, then
7111 check for inexactness explicitly.
7112
8fc75e6f
JM
7113 * math/libm-test.inc (fma_test_data): Add another test.
7114
61dd6208
SP
71152013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7116
adf23d2c
SP
7117 * manual/threads.texi (Non-POSIX Extensions): New document
7118 node. Document pthread_getattr_default_np and
7119 pthread_setattr_default_np.
7120
61dd6208
SP
7121 * Versions.def (libpthread): Add GLIBC_2.18.
7122 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
7123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7124 Likewise.
7125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7126 Likewise.
7127 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7128 Likewise.
7129 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7130 Likewise.
7131 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
7132 Likewise.
7133 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7134 Likewise.
7135 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7136 Likewise.
7137 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
7138 Likewise.
7139 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
7140 Likewise.
7141
d086fc7b
LD
71422013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7143
7144 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7145 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
7146
747ef469
SP
71472013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7148 H.J. Lu <hjl.tools@gmail.com>
7149
7150 [BZ #15627]
7151 * sysdeps/x86_64/rtld-memset.c: Remove file.
7152 * sysdeps/x86_64/rtld-memset.S: New file.
7153
1b2feed2
JM
71542013-06-14 Joseph Myers <joseph@codesourcery.com>
7155
7156 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
7157 (test_in_one_mode): Take arguments for whether the rounding mode
7158 is supported for each floating-point type.
7159 (do_test): Pass new arguments to test_in_one_mode using
7160 ROUNDING_TESTS.
7161
a58ad3f8
RM
71622013-06-13 Roland McGrath <roland@hack.frob.com>
7163
7164 * posix/tst-waitid.c (do_test): Distinguish different instances of
7165 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
7166 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
7167 before entering the kernel for waitpid.
7168
c204ab28
SP
71692013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7170
7171 * NEWS: Fix note on clock function precision. Text by Roland
7172 McGrath.
7173
f4a29fba
RM
71742013-06-13 Roland McGrath <roland@hack.frob.com>
7175
7176 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
7177 it into place only when and if the sanity check passes.
7178
1f24b9ad
JM
71792013-06-13 Joseph Myers <joseph@codesourcery.com>
7180
7181 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
7182 output for whether conversion result is exact. Take argument
7183 indicating whether type is IBM long double.
7184 (round_for_all): Change need_exact field to ibm_ld.
7185 * stdlib/tst-strtod-round.c (struct exactness): New type.
7186 (struct test): Change bool ld_ok field to struct exactness exact.
7187 (TEST): Update all definitions for change to field.
7188 (tests): Regenerate array contents.
7189 (test_in_one_mode): Take pointer to new field instead of old ld_ok
7190 field value. Check for IBM long double here.
7191 (do_test): Update calls to test_in_one_mode.
7192
58206c68
SP
71932013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7194
7195 [BZ #12515]
7196 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
7197 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
7198
2d6f4c5b 71992013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
7200
7201 [BZ #15605]
7202 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
7203 generated by the compiler on loop optimizations.
7204 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
7205 general definitions.
7206
94f2c076
JM
72072013-06-12 Joseph Myers <joseph@codesourcery.com>
7208
7209 * math/bug-nextafter.c: Include <math-tests.h>.
7210 (main): Only test for exceptions if EXCEPTION_TESTS is true for
7211 the relevant type.
7212 * math/bug-nexttoward.c: Include <math-tests.h>.
7213 (main): Only test for exceptions if EXCEPTION_TESTS is true for
7214 the relevant type.
7215 * math/test-misc.c: Include <math-tests.h>.
7216 (main): Only test for exceptions if EXCEPTION_TESTS is true for
7217 the relevant type.
7218
e0e50a0a
AJ
72192013-06-12 Andreas Jaeger <aj@suse.de>
7220
7221 * po/ia.po: Update Interlingua translation from translation
7222 project.
7223
25061094
SP
72242013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7225
7226 * include/fenv.h: Include stdbool.h.
7227 (struct rm_ctx): New structure.
7228 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
7229 Define macro.
7230 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
7231 (SET_RESTORE_ROUNDF): Likewise.
7232 (SET_RESTORE_ROUNDL): Likewise.
7233 (SET_RESTORE_ROUND_NOEX): Likewise.
7234 (SET_RESTORE_ROUND_NOEXF): Likewise.
7235 (SET_RESTORE_ROUND_NOEXL): Likewise.
7236 (SET_RESTORE_ROUND_53BIT): Likewise.
7237 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
7238 (libc_feresetround_noexf_ctx): Likewise.
7239 (libc_feresetround_noexl_ctx): Likewise.
7240 (libc_feholdsetround_53bit_ctx): Likewise.
7241 (libc_feresetround_53bit_ctx): Likewise.
7242 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
7243 (libc_feholdexcept_setround_sse_ctx): New function.
7244 (libc_fesetenv_sse_ctx): Likewise.
7245 (libc_feupdateenv_sse_ctx): Likewise.
7246 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
7247 (libc_feholdexcept_setround_387_ctx): Likewise.
7248 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
7249 (libc_feholdsetround_387_prec_ctx): Likewise.
7250 (libc_feholdsetround_387_ctx): Likewise.
7251 (libc_feholdsetround_387_53bit_ctx): Likewise.
7252 (libc_feholdsetround_sse_ctx): Likewise.
7253 (libc_feresetround_sse_ctx): Likewise.
7254 (libc_feresetround_387_ctx): Likewise.
7255 (libc_feupdateenv_387_ctx): Likewise.
7256 (libc_feholdexcept_setroundf_ctx): Define macro.
7257 (libc_fesetenvf_ctx): Likewise.
7258 (libc_feupdateenvf_ctx): Likewise.
7259 (libc_feholdsetroundf_ctx): Likewise.
7260 (libc_feresetroundf_ctx): Likewise.
7261 (libc_feholdexcept_setround_ctx): Likewise.
7262 (libc_fesetenv_ctx): Likewise.
7263 (libc_feupdateenv_ctx): Likewise.
7264 (libc_feholdsetround_ctx): Likewise.
7265 (libc_feresetround_ctx): Likewise.
7266 (libc_feholdexcept_setroundl_ctx): Likewise.
7267 (libc_feupdateenvl_ctx): Likewise.
7268 (libc_feholdsetroundl_ctx): Likewise.
7269 (libc_feresetroundl_ctx): Likewise.
7270 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
7271 (libc_feresetround_53bit_ctx): Likewise.
7272
59b30555
SP
72732013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7274
7275 * locale/iso-639.def: Convert to UTF-8.
7276
f1d73d30
JM
72772013-06-11 Joseph Myers <joseph@codesourcery.com>
7278
7279 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
7280 (EXCEPTION_TESTS_double): Likewise.
7281 (EXCEPTION_TESTS_long_double): Likewise.
7282 (EXCEPTION_TESTS): Likewise.
7283 * math/libm-test.inc (test_exceptions): Only test exceptions if
7284 EXCEPTION_TESTS (FLOAT).
7285
94aca5e7
SP
72862013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7287
7288 * benchtests/Makefile (string-bench): Add strcpy_chk and
7289 stpcpy_chk.
7290 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
7291 * benchtests/bench-stpcpy_chk.c: New file.
7292 * benchtests/bench-strcpy_chk-ifunc.c: New file.
7293 * benchtests/bench-strcpy_chk.c: New file.
7294 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
7295 code.
7296 (do_test): Likewise.
7297
fac0c5f2
RA
72982013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7299
7300 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
7301 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
7302 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
7303 with tabs where appropriate.
7304 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
7305 dl-procinfo.h.
7306 [PPC_PLATFORM_PPC440]: Likewise.
7307 [PPC_PLATFORM_PPC464]: Likewise.
7308 [PPC_PLATFORM_PPC476]: Likewise.
7309 (_dl_string_platform): Add support for detecting ppc405, ppc440,
7310 ppc464, and ppc476 platform strings merging from ports/
7311 dl-procinfo.h.
7312
f22bc486
AS
73132013-06-11 Andreas Schwab <schwab@suse.de>
7314
7315 [BZ #14991]
7316 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
7317 (from_ucs4_idx): Regenerate.
7318 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
7319 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
7320 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
7321 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
7322 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
7323 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
7324 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
7325 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
7326 from FROM_LOOP and TO_LOOP specific macros.
7327 (BODY): Handle combining characters.
7328 * iconvdata/BIG5HKSCS.irreversible: Update.
7329 * iconvdata/BIG5HKSCS.precomposed: New file.
7330 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
7331 characters.
7332 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
7333
c1f75dc3
SP
73342013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7335
4eacded2
SP
7336 * include/sys/time.h: Fix indentation and add copyright header.
7337
fec799f8
SP
7338 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
7339 (do_test): Likewise.
7340 * string/test-memchr.c (do_one_test): Likewise.
7341 (do_test): Likewise.
7342 * string/test-memcmp.c (do_one_test): Likewise.
7343 (do_test): Likewise.
7344 * string/test-memcpy.c (do_one_test): Likewise.
7345 (do_test): Likewise.
7346 * string/test-memmem.c (do_one_test): Likewise.
7347 (do_test): Likewise.
7348 (do_random_tests): Likewise.
7349 * string/test-memmove.c (do_one_test): Likewise.
7350 (do_test): Likewise.
7351 * string/test-memset.c (do_one_test): Likewise.
7352 (do_test): Likewise.
7353 * string/test-rawmemchr.c (do_one_test): Likewise.
7354 (do_test): Likewise.
7355 * string/test-strcasecmp.c (do_one_test): Likewise.
7356 (do_test): Likewise.
7357 * string/test-strcasestr.c (do_one_test): Likewise.
7358 (do_test): Likewise.
7359 * string/test-strcat.c (do_one_test): Likewise.
7360 (do_test): Likewise.
7361 * string/test-strchr.c (do_one_test): Likewise.
7362 (do_test): Likewise.
7363 * string/test-strcmp.c (do_one_test): Likewise.
7364 (do_test): Likewise.
7365 * string/test-strcpy.c (do_one_test): Likewise.
7366 (do_test): Likewise.
7367 * string/test-string.h: Likewise.
7368 (test_init): Likewise.
7369 * string/test-strlen.c (do_one_test): Likewise.
7370 (do_test): Likewise.
7371 * string/test-strncasecmp.c (do_one_test): Likewise.
7372 (do_test): Likewise.
7373 * string/test-strncat.c (do_one_test): Likewise.
7374 (do_test): Likewise.
7375 * string/test-strncmp.c (do_one_test): Likewise.
7376 (do_test_limit): Likewise.
7377 (do_test): Likewise.
7378 * string/test-strncpy.c (do_one_test): Likewise.
7379 (do_test): Likewise.
7380 * string/test-strnlen.c (do_one_test): Likewise.
7381 (do_test): Likewise.
7382 * string/test-strpbrk.c (do_one_test): Likewise.
7383 (do_test): Likewise.
7384 * string/test-strrchr.c (do_one_test): Likewise.
7385 (do_test): Likewise.
7386 * string/test-strspn.c (do_one_test): Likewise.
7387 (do_test): Likewise.
7388 * string/test-strstr.c (do_one_test): Likewise.
7389 (do_test): Likewise.
7390
97020474
SP
7391 * benchtests/Makefile (string-bench): Add string benchmarks.
7392 * benchtests/bench-bcopy-ifunc.c: New file.
7393 * benchtests/bench-bcopy.c: New file.
7394 * benchtests/bench-bzero-ifunc.c: New file.
7395 * benchtests/bench-bzero.c: New file.
7396 * benchtests/bench-memccpy-ifunc.c: New file.
7397 * benchtests/bench-memccpy.c: New file.
7398 * benchtests/bench-memchr-ifunc.c: New file.
7399 * benchtests/bench-memchr.c: New file.
7400 * benchtests/bench-memcmp-ifunc.c: New file.
7401 * benchtests/bench-memcmp.c: New file.
7402 * benchtests/bench-memmem-ifunc.c: New file.
7403 * benchtests/bench-memmem.c: New file.
7404 * benchtests/bench-memmove-ifunc.c: New file.
7405 * benchtests/bench-memmove.c: New file.
7406 * benchtests/bench-mempcpy-ifunc.c: New file.
7407 * benchtests/bench-mempcpy.c: New file.
7408 * benchtests/bench-memset-ifunc.c: New file.
7409 * benchtests/bench-memset.c: New file.
7410 * benchtests/bench-rawmemchr-ifunc.c: New file.
7411 * benchtests/bench-rawmemchr.c: New file.
7412 * benchtests/bench-stpcpy-ifunc.c: New file.
7413 * benchtests/bench-stpcpy.c: New file.
7414 * benchtests/bench-stpncpy-ifunc.c: New file.
7415 * benchtests/bench-stpncpy.c: New file.
7416 * benchtests/bench-strcasecmp-ifunc.c: New file.
7417 * benchtests/bench-strcasecmp.c: New file.
7418 * benchtests/bench-strcasestr-ifunc.c: New file.
7419 * benchtests/bench-strcasestr.c: New file.
7420 * benchtests/bench-strcat-ifunc.c: New file.
7421 * benchtests/bench-strcat.c: New file.
7422 * benchtests/bench-strchr-ifunc.c: New file.
7423 * benchtests/bench-strchr.c: New file.
7424 * benchtests/bench-strchrnul-ifunc.c: New file.
7425 * benchtests/bench-strchrnul.c: New file.
7426 * benchtests/bench-strcmp-ifunc.c: New file.
7427 * benchtests/bench-strcmp.c: New file.
7428 * benchtests/bench-strcpy-ifunc.c: New file.
7429 * benchtests/bench-strcpy.c: New file.
7430 * benchtests/bench-strcspn-ifunc.c: New file.
7431 * benchtests/bench-strcspn.c: New file.
7432 * benchtests/bench-strlen-ifunc.c: New file.
7433 * benchtests/bench-strlen.c: New file.
7434 * benchtests/bench-strncasecmp-ifunc.c: New file.
7435 * benchtests/bench-strncasecmp.c: New file.
7436 * benchtests/bench-strncat-ifunc.c: New file.
7437 * benchtests/bench-strncat.c: New file.
7438 * benchtests/bench-strncmp-ifunc.c: New file.
7439 * benchtests/bench-strncmp.c: New file.
7440 * benchtests/bench-strncpy-ifunc.c: New file.
7441 * benchtests/bench-strncpy.c: New file.
7442 * benchtests/bench-strnlen-ifunc.c: New file.
7443 * benchtests/bench-strnlen.c: New file.
7444 * benchtests/bench-strpbrk-ifunc.c: New file.
7445 * benchtests/bench-strpbrk.c: New file.
7446 * benchtests/bench-strrchr-ifunc.c: New file.
7447 * benchtests/bench-strrchr.c: New file.
7448 * benchtests/bench-strspn-ifunc.c: New file.
7449 * benchtests/bench-strspn.c: New file.
7450 * benchtests/bench-strstr-ifunc.c: New file.
7451 * benchtests/bench-strstr.c: New file.
7452
c1f75dc3
SP
7453 * benchtests/Makefile: Disable parallel execution of targets.
7454 (string-bench): Add memcpy.
7455 (benchset): New variable to store a list of benchmark sets.
7456 (bench-func): Renamed from bench.
7457 (bench-set): New target.
7458 (bench): Depend on bench-func and bench-set.
7459 * benchtests/README: Add section on benchmark sets.
7460 * benchtests/bench-memcpy-ifunc.c: New file.
7461 * benchtests/bench-memcpy.c: New file.
7462 * benchtests/bench-string.h: New file.
7463
50fd745b
AS
74642013-06-11 Andreas Schwab <schwab@suse.de>
7465
7466 [BZ #15577]
7467 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
7468 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
7469 values in the triple.
7470 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
7471 terminator in the group key.
7472
3ee7e9fe
AJ
74732013-06-11 Andreas Jaeger <aj@suse.de>
7474
7475 * po/zh_TW.po: Update Chinese (traditional) translation from
7476 translation project.
7477
89fb6835
SP
74782013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7479
7480 * include/time.h (__clock_gettime): Add libc_hidden_proto.
7481 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
7482 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
7483 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7484 (clock_getcpuclockid): Likewise.
7485 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
7486 Add weak_alias and libc_hidden_def.
7487 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
7488 * rt/clock_gettime.c (clock_gettime): Rename to
7489 __clock_gettime. Add weak_alias and libc_hidden_def.
7490 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
7491 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
7492 __clock_nanosleep. Add weak_alias and libc_hidden_def.
7493 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
7494 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
7495 Likewise.
7496 * rt/clock_settime.c (clock_settime): Rename to
7497 __clock_settime. Add weak_alias and libc_hidden_def.
7498 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
7499
0efa6f8b
JM
75002013-06-10 Joseph Myers <joseph@codesourcery.com>
7501
b8c61b4b
JM
7502 * mach/err_boot.sub: Remove trailing whitespace.
7503 * mach/err_ipc.sub: Likewise.
7504 * mach/err_mach.sub: Likewise.
7505
0efa6f8b
JM
7506 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
7507 (ROUNDING_TESTS_double): Likewise.
7508 (ROUNDING_TESTS_long_double): Likewise.
7509 (ROUNDING_TESTS): Likewise.
7510 * math/libm-test.inc: Include <math-tests.h>.
7511 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
7512 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
7513 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7514 (IF_ROUND_INIT_FE_UPWARD): Likewise.
7515
50b818bf
SP
75162013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7517
7518 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
7519 of assigning.
7520
60d2f8f3
JM
75212013-06-08 Joseph Myers <joseph@codesourcery.com>
7522
4902d2c3
JM
7523 * sysdeps/gnu/errlist.awk: Do not generate space at end of
7524 otherwise empty TRANS lines.
7525 * sysdeps/gnu/errlist.c: Regenerated.
7526
60d2f8f3
JM
7527 * catgets/gencat.c (error_print): Use (void) in function
7528 definition.
7529 * crypt/crypt_util.c (__init_des): Likewise.
7530 * crypt/speeds.c (Stop): Likewise.
7531 (main): Likewise.
7532 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
7533 * inet/ruserpass.c (token): Likewise.
7534 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
7535 * intl/localealias.c (extend_alias_table): Likewise.
7536 * intl/plural-exp.c (init_germanic_plural): Likewise.
7537 * libio/fcloseall.c (__fcloseall): Likewise.
7538 * libio/genops.c (_IO_flush_all): Likewise.
7539 (_IO_flush_all_linebuffered): Likewise.
7540 (_IO_cleanup): Likewise.
7541 (_IO_iter_begin): Likewise.
7542 (_IO_iter_end): Likewise.
7543 (_IO_list_lock): Likewise.
7544 (_IO_list_unlock): Likewise.
7545 (_IO_list_resetlock): Likewise.
7546 * libio/getchar.c (getchar): Likewise.
7547 * libio/getchar_u.c (getchar_unlocked): Likewise.
7548 * libio/getwchar.c (getwchar): Likewise.
7549 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
7550 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
7551 * login/getpt.c (__getpt): Likewise.
7552 * login/tst-utmp.c (main): Likewise.
7553 * malloc/hooks.c (__malloc_check_init): Likewise.
7554 * malloc/malloc.c (__malloc_stats): Likewise.
7555 * malloc/mtrace.c (tr_break): Likewise.
7556 (mtrace): Likewise.
7557 (muntrace): Likewise.
7558 * misc/fstab.c (endfsent): Likewise.
7559 * misc/getclktck.c (__getclktck): Likewise.
7560 * misc/getdtsz.c (__getdtablesize): Likewise.
7561 * misc/gethostid.c (gethostid): Likewise.
7562 * misc/getpagesize.c (__getpagesize): Likewise.
7563 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
7564 (__get_nprocs): Likewise.
7565 (__get_phys_pages): Likewise.
7566 (__get_avphys_pages): Likewise.
7567 * misc/getttyent.c (getttyent): Likewise.
7568 (setttyent): Likewise.
7569 (endttyent): Likewise.
7570 * misc/getusershell.c (getusershell): Likewise.
7571 (endusershell): Likewise.
7572 (setusershell): Likewise.
7573 (initshells): Likewise.
7574 * misc/hsearch.c (__hdestroy): Likewise.
7575 * misc/sync.c (sync): Likewise.
7576 * misc/syslog.c (closelog_internal): Likewise.
7577 (closelog): Likewise.
7578 * misc/ttyslot.c (ttyslot): Likewise.
7579 * misc/vhangup.c (vhangup): Likewise.
7580 * posix/fork.c (__fork): Likewise.
7581 * posix/getegid.c (__getegid): Likewise.
7582 * posix/geteuid.c (__geteuid): Likewise.
7583 * posix/getgid.c (__getgid): Likewise.
7584 * posix/getpid.c (__getpid): Likewise.
7585 * posix/getppid.c (__getppid): Likewise.
7586 * posix/getuid.c (__getuid): Likewise.
7587 * posix/pause.c (pause): Likewise.
7588 * posix/setpgrp.c (setpgrp): Likewise.
7589 * posix/setsid.c (__setsid): Likewise.
7590 * posix/test-vfork.c (noop): Likewise.
7591 * resolv/gethnamaddr.c (_endhtent): Likewise.
7592 (_gethtent): Likewise.
7593 (ht_endhostent): Likewise.
7594 (gethostent): Likewise.
7595 (dns_service): Likewise.
7596 * stdlib/drand48.c (drand48): Likewise.
7597 * stdlib/lrand48.c (lrand48): Likewise.
7598 * stdlib/mrand48.c (mrand48): Likewise.
7599 * stdlib/rand.c (rand): Likewise.
7600 * stdlib/random.c (__random): Likewise.
7601 * stdlib/setenv.c (clearenv): Likewise.
7602 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
7603 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
7604 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
7605 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
7606 (__get_nprocs): Likewise.
7607 (__get_phys_pages): Likewise.
7608 (__get_avphys_pages): Likewise.
7609 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
7610 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
7611 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
7612 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
7613 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
7614 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
7615 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
7616 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
7617 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
7618 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
7619 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
7620 * sysdeps/mach/hurd/sync.c (sync): Likewise.
7621 * sysdeps/posix/clock.c (clock): Likewise.
7622 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
7623 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
7624 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
7625 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
7626 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
7627 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
7628 (__get_nprocs_conf): Likewise.
7629 (__get_phys_pages): Likewise.
7630 (__get_avphys_pages): Likewise.
7631 * time/clock.c (clock): Likewise.
7632 * time/tzset.c (__tzname_max): Likewise.
7633
2e09a79a
JM
76342013-06-07 Joseph Myers <joseph@codesourcery.com>
7635
7636 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
7637 (__bswap_32): Do not use "register".
7638 * crypt/crypt.c (_ufc_doit_r): Likewise.
7639 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7640 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7641 * gmon/gmon.c (__monstartup): Likewise.
7642 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
7643 * hurd/hurdmalloc.c (more_memory): Likewise.
7644 (malloc): Likewise.
7645 (free): Likewise.
7646 (realloc): Likewise.
7647 (malloc_fork_prepare): Likewise.
7648 (malloc_fork_parent): Likewise.
7649 (malloc_fork_child): Likewise.
7650 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
7651 (_svcauth_des): Likewise.
7652 * inet/inet_lnaof.c (inet_lnaof): Likewise.
7653 * inet/inet_net.c (inet_network): Likewise.
7654 * inet/inet_netof.c (inet_netof): Likewise.
7655 * inet/rcmd.c (__validuser2_sa): Likewise.
7656 * io/fts.c (fts_open): Likewise.
7657 (fts_load): Likewise.
7658 (fts_close): Likewise.
7659 (fts_read): Likewise.
7660 (fts_children): Likewise.
7661 (fts_build): Likewise.
7662 (fts_stat): Likewise.
7663 (fts_sort): Likewise.
7664 (fts_alloc): Likewise.
7665 (fts_lfree): Likewise.
7666 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
7667 (_IO_file_xsgetn): Likewise.
7668 (_IO_file_xsgetn_mmap): Likewise.
7669 * libio/iofopncook.c (_IO_cookie_read): Likewise.
7670 (_IO_cookie_write): Likewise.
7671 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
7672 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
7673 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
7674 * malloc/obstack.c (_obstack_begin): Likewise.
7675 (_obstack_begin_1): Likewise.
7676 (_obstack_newchunk): Likewise.
7677 (_obstack_allocated_p): Likewise.
7678 (obstack_free): Likewise.
7679 (_obstack_memory_used): Likewise.
7680 * misc/getttyent.c (getttynam): Likewise.
7681 (getttyent): Likewise.
7682 (skip): Likewise.
7683 (value): Likewise.
7684 * misc/getusershell.c (initshells): Likewise.
7685 * misc/syslog.c (__vsyslog_chk): Likewise.
7686 * misc/ttyslot.c (ttyslot): Likewise.
7687 * nis/nis_hash.c (__nis_hash): Likewise.
7688 * posix/fnmatch_loop.c (FCT): Likewise.
7689 * posix/getconf.c (print_all): Likewise.
7690 (main): Likewise.
7691 * posix/getopt.c (exchange): Likewise.
7692 * posix/glob.c (globfree): Likewise.
7693 (prefix_array): Likewise.
7694 (__glob_pattern_type): Likewise.
7695 * resolv/arpa/nameser.h (NS_GET16): Likewise.
7696 (NS_GET32): Likewise.
7697 (NS_PUT16): Likewise.
7698 (NS_PUT32): Likewise.
7699 * resolv/gethnamaddr.c (getanswer): Likewise.
7700 (gethostbyname2): Likewise.
7701 (gethostbyaddr): Likewise.
7702 (_gethtent): Likewise.
7703 (_gethtbyname2): Likewise.
7704 (_gethtbyaddr): Likewise.
7705 * resolv/ns_print.c (dst_s_get_int16): Likewise.
7706 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
7707 * resolv/res_init.c (__res_vinit): Likewise.
7708 (net_mask): Likewise.
7709 * resolv/res_mkquery.c (outchar): Likewise.
7710 (PRINT): Likewise.
7711 * stdio-common/printf_fp.c (outchar): Likewise.
7712 (PRINT): Likewise.
7713 * stdio-common/printf_fphex.c (outchar): Likewise.
7714 (PRINT): Likewise.
7715 * stdio-common/printf_size.c (outchar): Likewise.
7716 (PRINT): Likewise.
7717 * stdio-common/test_rdwr.c (main): Likewise.
7718 * stdio-common/tfformat.c (matches): Likewise.
7719 * stdio-common/vfprintf.c (outchar): Likewise.
7720 (printf_unknown): Likewise.
7721 (buffered_vfprintf): Likewise.
7722 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7723 * stdio-common/xbug.c (AppendToBuffer): Likewise.
7724 (ReadFile): Likewise.
7725 * stdlib/qsort.c (SWAP): Likewise.
7726 (_quicksort): Likewise.
7727 * stdlib/setenv.c (__add_to_environ): Likewise.
7728 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7729 * stdlib/strtol_l.c (__strtol_l): Likewise.
7730 * stdlib/tst-strtod.c (main): Likewise.
7731 * stdlib/tst-strtol.c (main): Likewise.
7732 * stdlib/tst-strtoll.c (main): Likewise.
7733 * string/bits/string2.h (__strcmp_cc): Likewise.
7734 (__strcmp_cg): Likewise.
7735 (__strcspn_c1): Likewise.
7736 (__strcspn_c2): Likewise.
7737 (__strcspn_c3): Likewise.
7738 (__strspn_c1): Likewise.
7739 (__strspn_c2): Likewise.
7740 (__strspn_c3): Likewise.
7741 (__strsep_1c): Likewise.
7742 (__strsep_2c): Likewise.
7743 (__strsep_3c): Likewise.
7744 * string/memccpy.c (__memccpy): Likewise.
7745 * string/stpcpy.c (__stpcpy): Likewise.
7746 * string/strcmp.c (strcmp): Likewise.
7747 * string/strrchr.c (strrchr): Likewise.
7748 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
7749 Likewise.
7750 * sysdeps/mach/hurd/getcwd.c
7751 (_hurd_canonicalize_directory_name_internal): Likewise.
7752 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
7753 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
7754 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
7755 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
7756 Likewise, in both definitions.
7757 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
7758 definitions.
7759 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
7760 64] (__bswap_64): Likewise.
7761 * time/test_time.c (main): Likewise.
7762 * time/tzfile.c (__tzfile_read): Likewise.
7763 (__tzfile_compute): Likewise.
7764 * time/tzset.c (__tzset_parse_tz): Likewise.
7765 (tzset_internal): Likewise.
7766 (compute_change): Likewise.
7767 * wcsmbs/wcscat.c (__wcscat): Likewise.
7768 * wcsmbs/wcschr.c (wcschr): Likewise.
7769 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
7770 * wcsmbs/wcscspn.c (wcscspn): Likewise.
7771 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
7772 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
7773 * wcsmbs/wcsspn.c (wcsspn): Likewise.
7774 * wcsmbs/wcsstr.c (wcsstr): Likewise.
7775 * wcsmbs/wmemchr.c (wmemchr): Likewise.
7776 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7777 * wcsmbs/wmemset.c (wmemset): Likewise.
7778
9e54314b
JM
77792013-06-06 Joseph Myers <joseph@codesourcery.com>
7780
7781 * scripts/config.guess: Update to version 2013-05-16.
7782 * scripts/config.sub: Update to version 2013-04-24.
7783 * scripts/install-sh: Update to version 2011-11-20.07.
7784 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
7785 * scripts/move-if-change: Update to version 2012-01-06 07:23.
7786
350635a5
OB
77872013-06-06 Ondřej Bílka <neleai@seznam.cz>
7788
7789 * debug/fgetws_u_chk.c: Fix leading whitespaces.
7790 * elf/sln.c: Likewise.
7791 * hurd/hurd/ioctl.h: Likewise.
7792 * hurd/hurdmalloc.c: Likewise.
7793 * hurd/xattr.c: Likewise.
7794 * include/shlib-compat.h: Likewise.
7795 * inet/ruserpass.c: Likewise.
7796 * libio/iofgets_u.c: Likewise.
7797 * libio/iofgetws_u.c: Likewise.
7798 * locale/programs/ld-identification.c: Likewise.
7799 * locale/programs/ld-time.c: Likewise.
7800 * mach/msg-destroy.c: Likewise.
7801 * nss/nss_files/files-netgrp.c: Likewise.
7802 * resolv/res_data.c: Likewise.
7803 * soft-fp/op-1.h: Likewise.
7804 * soft-fp/op-2.h: Likewise.
7805 * soft-fp/op-4.h: Likewise.
7806 * soft-fp/op-common.h: Likewise.
7807 * stdio-common/printf_fphex.c: Likewise.
7808 * stdlib/strtod_l.c: Likewise.
7809 * sunrpc/rpc/clnt.h: Likewise.
7810 * sysdeps/generic/framestate.c: Likewise.
7811 * sysdeps/i386/bsd-_setjmp.S: Likewise.
7812 * sysdeps/i386/bsd-setjmp.S: Likewise.
7813 * sysdeps/i386/__longjmp.S: Likewise.
7814 * sysdeps/i386/setjmp.S: Likewise.
7815 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7816 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7817 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7818 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7819 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7820 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7821 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7822 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7823 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7824 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
7825 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7826 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7827 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7828 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7829 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7830 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7831 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7832 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
7833 * sysdeps/ieee754/support.c: Likewise.
7834 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7835 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
7836 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
7837 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
7838 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
7839 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
7840 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
7841 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
7842 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
7843 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
7844 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
7845 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
7846 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
7847 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
7848 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
7849 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
7850 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7852
44a988af
OB
78532013-06-05 Ondřej Bílka <neleai@seznam.cz>
7854
25506f09 7855 * posix/transbug.c: Remove executable mode.
44a988af 7856
9c84384c
JM
78572013-06-05 Joseph Myers <joseph@codesourcery.com>
7858
7859 * crypt/speeds.c: Remove trailing whitespace.
7860 * dlfcn/default.c: Likewise.
7861 * elf/ifuncdep2.c: Likewise.
7862 * elf/ifuncmain1.c: Likewise.
7863 * elf/ifuncmain1vis.c: Likewise.
7864 * elf/testobj.h: Likewise.
7865 * elf/tst-stackguard1.c: Likewise.
7866 * gmon/sys/gmon.h: Likewise.
7867 * hurd/hurdmsg.c: Likewise.
7868 * hurd/new-fd.c: Likewise.
7869 * hurd/ports-get.c: Likewise.
7870 * iconvdata/ibm1008_420.c: Likewise.
7871 * inet/tst-getni1.c: Likewise.
7872 * inet/tst-getni2.c: Likewise.
7873 * libio/ioungetc.c: Likewise.
7874 * libio/wfiledoalloc.c: Likewise.
7875 * manual/libm-err-tab.pl: Likewise.
7876 * math/w_dremf.c: Likewise.
7877 * misc/ftruncate.c: Likewise.
7878 * posix/bug-glob2.c: Likewise.
7879 * posix/tst-pcre.c: Likewise.
7880 * posix/wait4.c: Likewise.
7881 * resolv/README: Likewise.
7882 * resolv/res_debug.h: Likewise.
7883 * resolv/tst-inet_ntop.c: Likewise.
7884 * setjmp/bug269-setjmp.c: Likewise.
7885 * soft-fp/extended.h: Likewise.
7886 * soft-fp/op-1.h: Likewise.
7887 * soft-fp/op-2.h: Likewise.
7888 * soft-fp/op-4.h: Likewise.
7889 * soft-fp/op-8.h: Likewise.
7890 * soft-fp/testit.c: Likewise.
7891 * stdio-common/bug16.c: Likewise.
7892 * stdlib/random.c: Likewise.
7893 * sunrpc/rpcsvc/rquota.x: Likewise.
7894 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
7895 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7896 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7897 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7898 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7899 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7900 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7901 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7902 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7903 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7904 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7905 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7906 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7907 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7908 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7909 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7910 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7911 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7912 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7913 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7914 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7915 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7916 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
7917 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
7918 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7919 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7920 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7921 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
7922 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7923 * sysdeps/ieee754/s_lib_version.c: Likewise.
7924 * sysdeps/mach/hurd/check_fds.c: Likewise.
7925 * sysdeps/mach/hurd/getsockname.c: Likewise.
7926 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
7927 * sysdeps/mach/hurd/recvfrom.c: Likewise.
7928 * sysdeps/powerpc/bits/link.h: Likewise.
7929 * sysdeps/powerpc/dl-procinfo.c: Likewise.
7930 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
7931 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
7932 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
7933 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
7934 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7935 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
7936 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
7937 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
7938 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7939 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
7940 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
7941 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
7942 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7943 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7944 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7945 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
7946 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
7947 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7948 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7949 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7950 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
7951 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7952 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
7953 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
7954 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
7955 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
7956 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7957 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7958 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
7959 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
7960 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
7961 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7962 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7963 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
7964 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
7965 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
7966 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
7967 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
7968 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
7969 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
7970 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
7971 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
7972 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
7973 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
7974 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
7975 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
7976 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
7977 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
7978 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
7979 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7980 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7981 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
7982 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
7983 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
7984 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
7985 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
7986 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7987 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
7988 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
7989 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
7990 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
7991 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
7992 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
7993 * sysdeps/powerpc/sysdep.h: Likewise.
7994 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7995 * sysdeps/s390/s390-64/sub_n.S: Likewise.
7996 * sysdeps/sh/dl-trampoline.S: Likewise.
7997 * sysdeps/sh/memset.S: Likewise.
7998 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
7999 * sysdeps/sh/strlen.S: Likewise.
8000 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
8001 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
8002 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
8003 * sysdeps/sparc/sparc32/rem.S: Likewise.
8004 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
8005 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
8006 * sysdeps/sparc/sparc32/strchr.S: Likewise.
8007 * sysdeps/sparc/sparc32/udiv.S: Likewise.
8008 * sysdeps/sparc/sparc32/urem.S: Likewise.
8009 * sysdeps/sparc/sparc64/add_n.S: Likewise.
8010 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
8011 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
8012 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
8013 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
8014 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
8015 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
8016 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
8017 * sysdeps/unix/bsd/times.c: Likewise.
8018 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
8019 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
8020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
8021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
8022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
8023 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
8024 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
8025 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
8026 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
8027 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
8028 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
8029 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
8030 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
8031 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
8032 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
8033 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
8034 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
8035 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
8036 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
8037 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
8038 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
8039 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
8040 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
8041 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
8042 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
8043 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
8044 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
8045 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8046 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
8047 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
8048 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
8049 * sysdeps/x86_64/strcspn.S: Likewise.
8050
869378a5
RA
80512013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8052
8053 * locale/C-translit.h: Revert #include <stdint.h> because this is a
8054 generated file. Regenerate properly from gen-translit.pl.
8055 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
8056 locale/C-translit.h.
8057
840e2943
AS
80582013-06-05 Andreas Schwab <schwab@suse.de>
8059
8060 [BZ #15100]
8061 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
8062 week as 6 instead of -1.
8063 * time/tst-strptime.c (day_tests): Add test case.
8064
4c60cb0c
SP
80652013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8066
8067 * sysdeps/generic/math_private.h
8068 (libc_feholdexcept_setround_53bit): Replace with
8069 libc_feholdsetround_53bit.
8070 (libc_feupdateenv_53bit): Replace with
8071 libc_feresetround_53bit.
8072 (SET_RESTORE_ROUND_53BIT): Adjust.
8073
d180203e
SP
80742013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8075
96df079a
SP
8076 * string/test-strchrnul.c: Add copyright header.
8077
d180203e
SP
8078 * posix/tst-getaddrinfo4.c: Increase test timeout.
8079
8b0ccb2d
CD
80802013-06-03 Carlos O'Donell <carlos@redhat.com>
8081
8082 [BZ #15536]
8083 * math/libm-test.inc (MAX_EXP): Remove
8084 (MIN_EXP): Define.
8085 (ulp): Use MIN_EXP - MANT_DIG.
8086 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
8087
3b3c4d40
CD
80882013-05-31 Carlos O'Donell <carlos@redhat.com>
8089
8090 * po/be.po: Revert last change.
8091 * po/zh_CN.po: Likewise.
8092 * po/header.pot: Likewise.
8093
fab7ce3f
JM
80942013-05-31 Joseph Myers <joseph@codesourcery.com>
8095
8096 * Makefile ($(common-objpfx)linkobj/libc.so): Define
8097 link-libc-deps to empty as target-specific variable.
8098 * Makerules (link-libc-args): New variable.
8099 (libc-for-link): Likewise.
8100 (link-libc-deps): Likewise.
8101 (lib%.so): Depend on $(link-libc-deps). Link with
8102 $(link-libc-args).
8103 (build-module): Link with $(link-libc-args).
8104 (build-module-asneeded): Likewise.
8105 (build-module-helper-objlist): Filter out $(link-libc-deps) from
8106 list of objects.
8107 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
8108 target-specific variable.
8109 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
8110 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
8111 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
8112 libc.
8113 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
8114 libc and ld.so.
8115 ($(objpfx)libpcprofile.so): Likewise.
8116 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
8117 libc_nonshared.a.
8118 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
8119 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
8120 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
8121 $(link-libc-deps).
8122 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
8123 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
8124 * login/Makefile ($(objpfx)libutil.so): Likewise.
8125 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
8126 * math/Makefile ($(objpfx)libm.so): Likewise.
8127 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
8128 $(objpfx)libnsl.so): Define libc-for-link as target-specific
8129 variable instead of depending directly on libc.
8130 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
8131 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
8132 $(link-libc-deps).
8133 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
8134 libc.
8135 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
8136 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
8137 ($(objpfx)libanl.so): Likewise.
8138 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
8139 ld.so.
8140 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
8141 $(link-libc-deps).
8142 * sysdeps/i386/fpu/Makefile: Remove file.
8143 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
8144 ($(objpfx)libm.so): Remove dependency on ld.so.
8145
eca5920c
PF
81462013-05-30 Patsy Franklin <pfrankli@redhat.com>
8147
8148 [BZ # 15553]
8149 * nis/yp_xdr.c (XDRMAXNAME): Define.
8150 (XDRMAXRECORD): Define.
8151 (xdr_domainname): Use XDRMAXNAME.
8152 (xdr_mapname): Likewise.
8153 (xdr_peername): Likewise.
8154 (xdr_keydat): Use XDRMAXRECORD.
8155 (xdr_valdat): Likewise.
8156
81572013-05-30 Jeff Law <law@redhat.com>
96945714
JL
8158
8159 [BZ #14256]
8160 * manual/errno.texi (ESTALE): Update to account for more than
8161 just NFS file systems.
8162 * sysdeps/gnu/errlist.c: Regenerated.
8163
b9375348
SP
81642013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8165
8166 [BZ #15465]
8167 * elf/Makefile (tests): Add tst-null-argv.
8168 (modules-names): Add tst-null-argv-lib.
8169 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
8170 (tst-null-argv-ENV): Set environment for tst-null-argv.
8171 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
8172 (RTLD_PROGNAME): New macro.
8173 * elf/tst-null-argv.c: New test case.
8174 * elf/tst-null-argv-lib.c: Library for test case.
8175 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
8176 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
8177 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
8178 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
8179 * elf/dl-init.c (call_init): Likewise.
8180 (_dl_init): Likewise.
8181 * elf/dl-load.c (print_search_path): Likewise.
8182 (_dl_map_object): Likewise.
8183 * elf/dl-lookup.c (do_lookup_x): Likewise.
8184 (add_dependency): Likewise.
8185 (_dl_lookup_symbol_x): Likewise.
8186 (_dl_debug_bindings): Likewise.
8187 * elf/dl-open.c (_dl_show_scope): Likewise.
8188 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
8189 * elf/dl-version.c (match_symbol): Likewise.
8190 (_dl_check_map_versions): Likewise.
8191 * elf/rtld.c (dl_main): Likewise.
8192 (print_unresolved): Use RTLD_PROGNAME.
8193 (print_missing_version): Likewise.
8194 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
8195 (elf_machine_rela): Likewise.
8196 * sysdeps/powerpc/powerpc32/dl-machine.c
8197 (__process_machine_rela): Likewise.
8198 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8199 Likewise.
8200 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
8201 Likewise.
8202 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
8203 Likewise.
8204 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8205 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
8206 Likewise.
8207 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
8208 Likewise.
8209 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8210
8a9f20c8
CD
82112013-05-28 Carlos O'Donell <carlos@redhat.com>
8212
8213 * po/be.po: Add descriptive title.
8214 * po/zh_CN.po: Likewise.
8215 * po/header.pot: Likewise.
8216
0e60d68e
MF
82172013-05-28 Mike Frysinger <vapier@gentoo.org>
8218
8219 * locale/programs/locarchive.c (create_archive): Inlucde fname in
8220 error message.
8221 (enlarge_archive): Likewise.
8222
56b672e9
BN
82232013-05-28 Ben North <ben@redfrontdoor.org>
8224
8225 * manual/arith.texi (frexp): It is the magnitude of the return
8226 value which lies in [0.5, 1), not the return value itself.
8227
5e056687
AZ
82282013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8229
8230 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8231
2b66ef5d
TS
82322013-05-26 Thomas Schwinge <thomas@codesourcery.com>
8233
528c2405
TS
8234 * stdio-common/bug26.c (main): Correct fscanf template.
8235
07b4c13d
TS
8236 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
8237 declare _dl_skip_args.
8238
ec9dd97c
TS
8239 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
8240 Don't declare.
8241
2b66ef5d
TS
8242 * manual/platform.texi: Add missing @end deftypefun.
8243
4f8dfe27
JM
82442013-05-24 Joseph Myers <joseph@codesourcery.com>
8245
0323d086
JM
8246 [BZ #15529]
8247 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
8248 bit of mantissa of 2^16382.
8249 * math/libm-test.inc (hypot_test_data): Add more tests.
8250
dd4259b9
JM
8251 * math/libm-test.inc: Add drem and pow10 to list of tested
8252 functions.
8253 (pow10_test): New function.
8254 (drem_test): Likewise.
8255 (drem_test_tonearest): Likewise.
8256 (drem_test_towardzero): Likewise.
8257 (drem_test_downward): Likewise.
8258 (drem_test_upward): Likewise.
8259 (main): Call the new functions.
8260
4f8dfe27
JM
8261 * math/libm-test.inc (finite_test_data): Remove.
8262 (finite_test): Run tests from isfinite_test_data.
8263 (gamma_test_data): Remove.
8264 (gamma_test): Run tests from lgamma_test_data.
8265 * sysdeps/i386/fpu/libm-test-ulps: Update.
8266 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8267
d116b7c4
AZ
82682013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8269
8270 * manual/platform.texi: Add PowerPC PPR function set documentation.
8271 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
8272 implementation.
8273
e96e3767
CD
82742013-05-24 Carlos O'Donell <carlos@redhat.com>
8275
8276 * math/libm-test.inc (MAX_EXP): Define.
8277 (ULPDIFF): Define.
8278 (ulp): New function.
8279 (check_float_internal): Use ULPDIFF.
8280 (cpow_test): Disable failing test.
8281 (check_ulp): Test ulp() implemetnation.
8282 (main): Call check_ulp before starting tests.
8283
b679a606
JM
82842013-05-24 Joseph Myers <joseph@codesourcery.com>
8285
e8bdba36
JM
8286 * math/gen-libm-test.pl (generate_testfile): Do not handle
8287 START_DATA and END_DATA.
8288 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
8289 END_DATA.
8290 (acos_tonearest_test_data): Likewise.
8291 (acos_towardzero_test_data): Likewise.
8292 (acos_downward_test_data): Likewise.
8293 (acos_upward_test_data): Likewise.
8294 (acosh_test_data): Likewise.
8295 (asin_test_data): Likewise.
8296 (asin_tonearest_test_data): Likewise.
8297 (asin_towardzero_test_data): Likewise.
8298 (asin_downward_test_data): Likewise.
8299 (asin_upward_test_data): Likewise.
8300 (asinh_test_data): Likewise.
8301 (atan_test_data): Likewise.
8302 (atanh_test_data): Likewise.
8303 (atan2_test_data): Likewise.
8304 (cabs_test_data): Likewise.
8305 (cacos_test_data): Likewise.
8306 (cacosh_test_data): Likewise.
8307 (carg_test_data): Likewise.
8308 (casin_test_data): Likewise.
8309 (casinh_test_data): Likewise.
8310 (catan_test_data): Likewise.
8311 (catanh_test_data): Likewise.
8312 (cbrt_test_data): Likewise.
8313 (ccos_test_data): Likewise.
8314 (ccosh_test_data): Likewise.
8315 (ceil_test_data): Likewise.
8316 (cexp_test_data): Likewise.
8317 (cimag_test_data): Likewise.
8318 (clog_test_data): Likewise.
8319 (clog10_test_data): Likewise.
8320 (conj_test_data): Likewise.
8321 (copysign_test_data): Likewise.
8322 (cos_test_data): Likewise.
8323 (cos_tonearest_test_data): Likewise.
8324 (cos_towardzero_test_data): Likewise.
8325 (cos_downward_test_data): Likewise.
8326 (cos_upward_test_data): Likewise.
8327 (cosh_test_data): Likewise.
8328 (cosh_tonearest_test_data): Likewise.
8329 (cosh_towardzero_test_data): Likewise.
8330 (cosh_downward_test_data): Likewise.
8331 (cosh_upward_test_data): Likewise.
8332 (cpow_test_data): Likewise.
8333 (cproj_test_data): Likewise.
8334 (creal_test_data): Likewise.
8335 (csin_test_data): Likewise.
8336 (csinh_test_data): Likewise.
8337 (csqrt_test_data): Likewise.
8338 (ctan_test_data): Likewise.
8339 (ctan_tonearest_test_data): Likewise.
8340 (ctan_towardzero_test_data): Likewise.
8341 (ctan_downward_test_data): Likewise.
8342 (ctan_upward_test_data): Likewise.
8343 (ctanh_test_data): Likewise.
8344 (ctanh_tonearest_test_data): Likewise.
8345 (ctanh_towardzero_test_data): Likewise.
8346 (ctanh_downward_test_data): Likewise.
8347 (ctanh_upward_test_data): Likewise.
8348 (erf_test_data): Likewise.
8349 (erfc_test_data): Likewise.
8350 (exp_test_data): Likewise.
8351 (exp_tonearest_test_data): Likewise.
8352 (exp_towardzero_test_data): Likewise.
8353 (exp_downward_test_data): Likewise.
8354 (exp_upward_test_data): Likewise.
8355 (exp10_test_data): Likewise.
8356 (exp2_test_data): Likewise.
8357 (expm1_test_data): Likewise.
8358 (fabs_test_data): Likewise.
8359 (fdim_test_data): Likewise.
8360 (finite_test_data): Likewise.
8361 (floor_test_data): Likewise.
8362 (fma_test_data): Likewise.
8363 (fma_towardzero_test_data): Likewise.
8364 (fma_downward_test_data): Likewise.
8365 (fma_upward_test_data): Likewise.
8366 (fmax_test_data): Likewise.
8367 (fmin_test_data): Likewise.
8368 (fmod_test_data): Likewise.
8369 (fpclassify_test_data): Likewise.
8370 (frexp_test_data): Likewise.
8371 (gamma_test_data): Likewise.
8372 (hypot_test_data): Likewise.
8373 (ilogb_test_data): Likewise.
8374 (isfinite_test_data): Likewise.
8375 (isgreater_test_data): Likewise.
8376 (isgreaterequal_test_data): Likewise.
8377 (isinf_test_data): Likewise.
8378 (isless_test_data): Likewise.
8379 (islessequal_test_data): Likewise.
8380 (islessgreater_test_data): Likewise.
8381 (isnan_test_data): Likewise.
8382 (isnormal_test_data): Likewise.
8383 (issignaling_test_data): Likewise.
8384 (isunordered_test_data): Likewise.
8385 (j0_test_data): Likewise.
8386 (j1_test_data): Likewise.
8387 (jn_test_data): Likewise.
8388 (ldexp_test_data): Likewise.
8389 (lgamma_test_data): Likewise.
8390 (lrint_test_data): Likewise.
8391 (lrint_tonearest_test_data): Likewise.
8392 (lrint_towardzero_test_data): Likewise.
8393 (lrint_downward_test_data): Likewise.
8394 (lrint_upward_test_data): Likewise.
8395 (llrint_test_data): Likewise.
8396 (llrint_tonearest_test_data): Likewise.
8397 (llrint_towardzero_test_data): Likewise.
8398 (llrint_downward_test_data): Likewise.
8399 (llrint_upward_test_data): Likewise.
8400 (log_test_data): Likewise.
8401 (log10_test_data): Likewise.
8402 (log1p_test_data): Likewise.
8403 (log2_test_data): Likewise.
8404 (logb_test_data): Likewise.
8405 (logb_downward_test_data): Likewise.
8406 (lround_test_data): Likewise.
8407 (llround_test_data): Likewise.
8408 (modf_test_data): Likewise.
8409 (nearbyint_test_data): Likewise.
8410 (nextafter_test_data): Likewise.
8411 (nexttoward_test_data): Likewise.
8412 (pow_test_data): Likewise.
8413 (pow_tonearest_test_data): Likewise.
8414 (pow_towardzero_test_data): Likewise.
8415 (pow_downward_test_data): Likewise.
8416 (pow_upward_test_data): Likewise.
8417 (remainder_test_data): Likewise.
8418 (remainder_tonearest_test_data): Likewise.
8419 (remainder_towardzero_test_data): Likewise.
8420 (remainder_downward_test_data): Likewise.
8421 (remainder_upward_test_data): Likewise.
8422 (remquo_test_data): Likewise.
8423 (rint_test_data): Likewise.
8424 (rint_tonearest_test_data): Likewise.
8425 (rint_towardzero_test_data): Likewise.
8426 (rint_downward_test_data): Likewise.
8427 (rint_upward_test_data): Likewise.
8428 (round_test_data): Likewise.
8429 (scalb_test_data): Likewise.
8430 (scalbn_test_data): Likewise.
8431 (scalbln_test_data): Likewise.
8432 (signbit_test_data): Likewise.
8433 (sin_test_data): Likewise.
8434 (sin_tonearest_test_data): Likewise.
8435 (sin_towardzero_test_data): Likewise.
8436 (sin_downward_test_data): Likewise.
8437 (sin_upward_test_data): Likewise.
8438 (sincos_test_data): Likewise.
8439 (sinh_test_data): Likewise.
8440 (sinh_tonearest_test_data): Likewise.
8441 (sinh_towardzero_test_data): Likewise.
8442 (sinh_downward_test_data): Likewise.
8443 (sinh_upward_test_data): Likewise.
8444 (sqrt_test_data): Likewise.
8445 (tan_test_data): Likewise.
8446 (tan_tonearest_test_data): Likewise.
8447 (tan_towardzero_test_data): Likewise.
8448 (tan_downward_test_data): Likewise.
8449 (tan_upward_test_data): Likewise.
8450 (tanh_test_data): Likewise.
8451 (tgamma_test_data): Likewise.
8452 (trunc_test_data): Likewise.
8453 (y0_test_data): Likewise.
8454 (y1_test_data): Likewise.
8455 (yn_test_data): Likewise.
8456 (significand_test_data): Likewise.
8457
b679a606
JM
8458 * math/gen-libm-test.pl (@functions): Remove variable.
8459 (generate_testfile): Don't handle START and END lines.
8460 * math/libm-test.inc (START): New macro.
8461 (END): Likewise.
8462 (END_COMPLEX): Likewise.
8463 (acos_test): Use END macro without arguments.
8464 (acos_test_tonearest): Likewise.
8465 (acos_test_towardzero): Likewise.
8466 (acos_test_downward): Likewise.
8467 (acos_test_upward): Likewise.
8468 (acosh_test): Likewise.
8469 (asin_test): Likewise.
8470 (asin_test_tonearest): Likewise.
8471 (asin_test_towardzero): Likewise.
8472 (asin_test_downward): Likewise.
8473 (asin_test_upward): Likewise.
8474 (asinh_test): Likewise.
8475 (atan_test): Likewise.
8476 (atanh_test): Likewise.
8477 (atan2_test): Likewise.
8478 (cabs_test): Likewise.
8479 (cacos_test): Use END_COMPLEX macro without arguments.
8480 (cacosh_test): Likewise.
8481 (carg_test): Use END macro without arguments.
8482 (casin_test): Use END_COMPLEX macro without arguments.
8483 (casinh_test): Likewise.
8484 (catan_test): Likewise.
8485 (catanh_test): Likewise.
8486 (cbrt_test): Use END macro without arguments.
8487 (ccos_test): Use END_COMPLEX macro without arguments.
8488 (ccosh_test): Likewise.
8489 (ceil_test): Use END macro without arguments.
8490 (cexp_test): Use END_COMPLEX macro without arguments.
8491 (cimag_test): Use END macro without arguments.
8492 (clog_test): Use END_COMPLEX macro without arguments.
8493 (clog10_test): Likewise.
8494 (conj_test): Likewise.
8495 (copysign_test): Use END macro without arguments.
8496 (cos_test): Likewise.
8497 (cos_test_tonearest): Likewise.
8498 (cos_test_towardzero): Likewise.
8499 (cos_test_downward): Likewise.
8500 (cos_test_upward): Likewise.
8501 (cosh_test): Likewise.
8502 (cosh_test_tonearest): Likewise.
8503 (cosh_test_towardzero): Likewise.
8504 (cosh_test_downward): Likewise.
8505 (cosh_test_upward): Likewise.
8506 (cpow_test): Use END_COMPLEX macro without arguments.
8507 (cproj_test): Likewise.
8508 (creal_test): Use END macro without arguments.
8509 (csin_test): Use END_COMPLEX macro without arguments.
8510 (csinh_test): Likewise.
8511 (csqrt_test): Likewise.
8512 (ctan_test): Likewise.
8513 (ctan_test_tonearest): Likewise.
8514 (ctan_test_towardzero): Likewise.
8515 (ctan_test_downward): Likewise.
8516 (ctan_test_upward): Likewise.
8517 (ctanh_test): Likewise.
8518 (ctanh_test_tonearest): Likewise.
8519 (ctanh_test_towardzero): Likewise.
8520 (ctanh_test_downward): Likewise.
8521 (ctanh_test_upward): Likewise.
8522 (erf_test): Use END macro without arguments.
8523 (erfc_test): Likewise.
8524 (exp_test): Likewise.
8525 (exp_test_tonearest): Likewise.
8526 (exp_test_towardzero): Likewise.
8527 (exp_test_downward): Likewise.
8528 (exp_test_upward): Likewise.
8529 (exp10_test): Likewise.
8530 (exp2_test): Likewise.
8531 (expm1_test): Likewise.
8532 (fabs_test): Likewise.
8533 (fdim_test): Likewise.
8534 (finite_test): Likewise.
8535 (floor_test): Likewise.
8536 (fma_test): Likewise.
8537 (fma_test_towardzero): Likewise.
8538 (fma_test_downward): Likewise.
8539 (fma_test_upward): Likewise.
8540 (fmax_test): Likewise.
8541 (fmin_test): Likewise.
8542 (fmod_test): Likewise.
8543 (fpclassify_test): Likewise.
8544 (frexp_test): Likewise.
8545 (gamma_test): Likewise.
8546 (hypot_test): Likewise.
8547 (ilogb_test): Likewise.
8548 (isfinite_test): Likewise.
8549 (isgreater_test): Likewise.
8550 (isgreaterequal_test): Likewise.
8551 (isinf_test): Likewise.
8552 (isless_test): Likewise.
8553 (islessequal_test): Likewise.
8554 (islessgreater_test): Likewise.
8555 (isnan_test): Likewise.
8556 (isnormal_test): Likewise.
8557 (issignaling_test): Likewise.
8558 (isunordered_test): Likewise.
8559 (j0_test): Likewise.
8560 (j1_test): Likewise.
8561 (jn_test): Likewise.
8562 (ldexp_test): Likewise.
8563 (lgamma_test): Likewise.
8564 (lrint_test): Likewise.
8565 (lrint_test_tonearest): Likewise.
8566 (lrint_test_towardzero): Likewise.
8567 (lrint_test_downward): Likewise.
8568 (lrint_test_upward): Likewise.
8569 (llrint_test): Likewise.
8570 (llrint_test_tonearest): Likewise.
8571 (llrint_test_towardzero): Likewise.
8572 (llrint_test_downward): Likewise.
8573 (llrint_test_upward): Likewise.
8574 (log_test): Likewise.
8575 (log10_test): Likewise.
8576 (log1p_test): Likewise.
8577 (log2_test): Likewise.
8578 (logb_test): Likewise.
8579 (logb_test_downward): Likewise.
8580 (lround_test): Likewise.
8581 (llround_test): Likewise.
8582 (modf_test): Likewise.
8583 (nearbyint_test): Likewise.
8584 (nextafter_test): Likewise.
8585 (nexttoward_test): Likewise.
8586 (pow_test): Likewise.
8587 (pow_test_tonearest): Likewise.
8588 (pow_test_towardzero): Likewise.
8589 (pow_test_downward): Likewise.
8590 (pow_test_upward): Likewise.
8591 (remainder_test): Likewise.
8592 (remainder_test_tonearest): Likewise.
8593 (remainder_test_towardzero): Likewise.
8594 (remainder_test_downward): Likewise.
8595 (remainder_test_upward): Likewise.
8596 (remquo_test): Likewise.
8597 (rint_test): Likewise.
8598 (rint_test_tonearest): Likewise.
8599 (rint_test_towardzero): Likewise.
8600 (rint_test_downward): Likewise.
8601 (rint_test_upward): Likewise.
8602 (round_test): Likewise.
8603 (scalb_test): Likewise.
8604 (scalbn_test): Likewise.
8605 (scalbln_test): Likewise.
8606 (signbit_test): Likewise.
8607 (sin_test): Likewise.
8608 (sin_test_tonearest): Likewise.
8609 (sin_test_towardzero): Likewise.
8610 (sin_test_downward): Likewise.
8611 (sin_test_upward): Likewise.
8612 (sincos_test): Likewise.
8613 (sinh_test): Likewise.
8614 (sinh_test_tonearest): Likewise.
8615 (sinh_test_towardzero): Likewise.
8616 (sinh_test_downward): Likewise.
8617 (sinh_test_upward): Likewise.
8618 (sqrt_test): Likewise.
8619 (tan_test): Likewise.
8620 (tan_test_tonearest): Likewise.
8621 (tan_test_towardzero): Likewise.
8622 (tan_test_downward): Likewise.
8623 (tan_test_upward): Likewise.
8624 (tanh_test): Likewise.
8625 (tgamma_test): Likewise.
8626 (trunc_test): Likewise.
8627 (y0_test): Likewise.
8628 (y1_test): Likewise.
8629 (yn_test): Likewise.
8630 (significand_test): Likewise.
8631
bae143d2
OB
86322013-05-24 Ondřej Bílka <neleai@seznam.cz>
8633
8634 [BZ #15381]
8635 * libio/genops.c (_IO_no_init): Initialize wide struct info.
8636
9323d39b
EM
86372013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
8638
d4ea44a0 8639 [BZ #14894]
9323d39b
EM
8640 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
8641 __ppc_mdoio and __ppc_mdoom.
8642 * manual/platform.texi: Document new functions __ppc_yield,
8643 __ppc_mdoio and __ppc_mdoom.
8644
13e23af7
CD
86452013-05-22 Carlos O'Donell <carlos@redhat.com>
8646
8647 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
8648 (main): Mention "tls" pseudo-hwcap is legacy.
8649 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
8650
351fe550
JM
86512013-05-22 Joseph Myers <joseph@codesourcery.com>
8652
8653 * math/gen-libm-test.pl (parse_args): Output only string of
8654 arguments as text for test name, not full call or descriptions of
8655 tests for extra outputs.
8656 (generate_testfile): Do not pass function name to parse_args.
8657 Generate this_func variable from START.
8658 * math/libm-test.inc (struct test_f_f_data): Rename test_name
8659 field to arg_str.
8660 (struct test_ff_f_data): Likewise.
8661 (test_ff_f_data_nexttoward): Likewise.
8662 (struct test_fi_f_data): Likewise.
8663 (struct test_fl_f_data): Likewise.
8664 (struct test_if_f_data): Likewise.
8665 (struct test_fff_f_data): Likewise.
8666 (struct test_c_f_data): Likewise.
8667 (struct test_f_f1_data): Likewise. Remove field extra_name.
8668 (struct test_fF_f1_data): Likewise.
8669 (struct test_ffI_f1_data): Likewise.
8670 (struct test_c_c_data): Rename test_name field to arg_str.
8671 (struct test_cc_c_data): Likewise.
8672 (struct test_f_i_data): Likewise.
8673 (struct test_ff_i_data): Likewise.
8674 (struct test_f_l_data): Likewise.
8675 (struct test_f_L_data): Likewise.
8676 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
8677 and extra2_name.
8678 (COMMON_TEST_SETUP): New macro.
8679 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
8680 (COMMON_TEST_CLEANUP): Likewise.
8681 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
8682 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
8683 macros.
8684 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
8685 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
8686 macros.
8687 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
8688 (RUN_TEST_fff_f): Take argument string. Call new setup and
8689 cleanup macros.
8690 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
8691 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
8692 macros.
8693 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
8694 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
8695 macros.
8696 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8697 (RUN_TEST_fF_f1): Take argument string. Call new setup and
8698 cleanup macros.
8699 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8700 (RUN_TEST_fI_f1): Take argument string. Call new setup and
8701 cleanup macros.
8702 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8703 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
8704 cleanup macros.
8705 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8706 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
8707 macros.
8708 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
8709 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
8710 macros.
8711 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
8712 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
8713 macros.
8714 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
8715 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
8716 cleanup macros.
8717 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
8718 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
8719 cleanup macros.
8720 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
8721 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
8722 macros.
8723 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
8724 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
8725 cleanup macros.
8726 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
8727 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
8728 macros.
8729 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
8730 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
8731 macros.
8732 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
8733 (RUN_TEST_fFF_11): Take argument string. Call new setup and
8734 cleanup macros.
8735 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
8736
85118d4d
EBM
87372013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8738
8739 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
8740 to _sifields.sigfault.
8741 (si_addr_lsb): Define new macro.
8742 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8743 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8744 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
8745
7a44c18f
CD
87462013-05-03 Carlos O'Donell <carlos at redhat.com>
8747
8748 [BZ #15441]
8749 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
8750 returns -1.
8751 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
8752 null return -1.
8753 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
8754 loading the domain.
8755
b50a7181
JM
87562013-05-22 Joseph Myers <joseph@codesourcery.com>
8757
8758 * math/gen-libm-test.pl (parse_args): Do not include expected
8759 result in test name.
8760 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
8761 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8762 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8763 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8764 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8765 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8766
051063c8
SP
87672013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8768
3ce9e010
SP
8769 * benchtests/Makefile: Sort function entries.
8770
051063c8
SP
8771 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
8772 tanh, asinh, acosh, atanh.
8773 * benchtests/acos-inputs: New file.
8774 * benchtests/acosh-inputs: New file.
8775 * benchtests/asin-inputs: New file.
8776 * benchtests/asinh-inputs: New file.
8777 * benchtests/atanh-inputs: New file.
8778 * benchtests/cosh-inputs: New file.
8779 * benchtests/log-inputs: New file.
8780 * benchtests/sinh-inputs: New file.
8781 * benchtests/tanh-inputs: New file.
8782
47c22455
DL
87832013-05-21 Dmitry V. Levin <ldv@altlinux.org>
8784
8785 [BZ #15339]
8786 * posix/tst-getaddrinfo4.c: New test.
8787 * posix/Makefile (tests): Add it.
8788
3d04f5db
SP
87892013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8790
8791 [BZ #15339]
8792 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
8793 when no services were used.
8794 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
8795 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
8796
d5dd6189
AS
87972013-05-21 Andreas Schwab <schwab@suse.de>
8798
8799 [BZ #15014]
8800 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
8801 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
8802 successful.
8803 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
8804 redundant variable declarations and reallocation of buffer when
8805 parsing as IPv6 address. Always set NSS status when called from
8806 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
8807 buffer too small. Correct computation of needed size.
8808 * nss/Makefile (tests): Add test-digits-dots.
8809 * nss/test-digits-dots.c: New test.
8810
fef94eab
SP
88112013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8812
8813 * benchtests/Makefile: Remove instructions for adding
8814 benchmark tests.
8815 * benchtests/README: New file to explain how to execute and
8816 enhance the benchmark tests.
8817
e39adf43
AS
88182013-05-21 Andreas Schwab <schwab@suse.de>
8819
8820 [BZ #15493]
8821 * setjmp/Makefile (tests): Add tst-sigsetjmp.
8822 * setjmp/tst-sigsetjmp.c: New test.
8823
b2b671b6
OB
88242013-05-20 Ondřej Bílka <neleai@seznam.cz>
8825
8826 * sysdeps/x86_64/memset.S (memset): New implementation.
8827 (__bzero): Likewise.
8828 (__memset_tail): New function.
8829
2d48b41c
OB
88302013-05-20 Ondřej Bílka <neleai@seznam.cz>
8831
8832 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
8833 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
8834 __memcpy_sse2_unaligned ifunc selection.
8835 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8836 Add memcpy-sse2-unaligned.S.
8837 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8838 Add: __memcpy_sse2_unaligned.
8839
f16cc3eb
JM
88402013-05-19 Joseph Myers <joseph@codesourcery.com>
8841
3e694268
JM
8842 [BZ #15490]
8843 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8844 math_force_eval before restoring floating-point envrionment.
8845 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
8846 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
8847 Likewise.
8848 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
8849 <math_private.h>.
8850 (__nearbyintl): Use math_force_eval before restoring
8851 floating-point environment.
8852 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
8853
db62a907
JM
8854 * math/gen-libm-test.pl (special_functions): Remove.
8855 (parse_args): Don't handle TEST_extra. Handle functions with no
8856 return value.
8857 * math/libm-test.inc (struct test_sincos_data): Replace with
8858 struct test_fFF_11_data.
8859 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
8860 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
8861 (sincos_test_data): Change element type to struct
8862 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
8863 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
8864 RUN_TEST_LOOP_sincos.
8865 * math/README.libm-test: Don't mention special handling of
8866 individual functions.
8867 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
8868 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8869 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8870 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8871 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8872 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8873
f16cc3eb
JM
8874 * math/gen-libm-test.pl (get_variable): Remove function.
8875 (parse_args): Don't show pointer parameters to call in test
8876 names. Use "extra output N" in test names for extra outputs
8877 rather than naming variables.
8878
3779b5b6
JM
88792013-05-18 Joseph Myers <joseph@codesourcery.com>
8880
2ee094ff
JM
8881 [BZ #15488]
8882 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
8883 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
8884 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
8885 double tests.
8886 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
8887 disable.
8888 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
8889 check_long_double.
8890
3779b5b6
JM
8891 * math/gen-libm-test.pl (@tests): Remove variable.
8892 ($count): Likewise.
8893 (new_test): Remove function.
8894 (show_exceptions): New function.
8895 (special_functions): Use show_exceptions instead of new_test.
8896 (parse_args): Likewise.
8897 (generate_testfile): Pass only function name in generated call to
8898 print_max_error or print_complex_max_error.
8899 (get_ulps): Do not handle complex tests specially.
8900 (output_test): Rename to ...
8901 (get_all_ulps_for_test): ... this. Return a string rather than
8902 printing to a file. Require ulps to be present.
8903 (output_ulps): Generate arrays rather than #defines.
8904 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
8905 (struct ulp_data): New type.
8906 (BUILD_COMPLEX_ULP): Remove macro.
8907 (compare_ulp_data): New function.
8908 (find_ulps): Likewise.
8909 (find_test_ulps): Likewise.
8910 (find_function_ulps): Likewise.
8911 (find_complex_function_ulps): Likewise.
8912 (print_max_error): Determine allowed ulps using
8913 find_function_ulps.
8914 (print_complex_max_error): Determine allowed ulps using
8915 find_complex_function_ulps.
8916 (check_float_internal): Determine max ulps using find_test_ulps.
8917 (check_float): Do not take max_ulp parameter. Update call to
8918 check_float_internal.
8919 (check_complex): Likewise.
8920 (check_int): Do not take max_ulp parameter.
8921 (check_long): Likewise.
8922 (check_bool): Likewise.
8923 (check_longlong): Likewise.
8924 (struct test_f_f_data): Remove max_ulp field.
8925 (struct test_ff_f_data): Likewise.
8926 (struct test_ff_f_data_nexttoward): Likewise.
8927 (struct test_fi_f_data): Likewise.
8928 (struct test_fl_f_data): Likewise.
8929 (struct test_if_f_data): Likewise.
8930 (struct test_fff_f_data): Likewise.
8931 (struct test_c_f_data): Likewise.
8932 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
8933 (struct test_fF_f1_data): Likewise.
8934 (struct test_ffI_f1_data): Likewise.
8935 (struct test_c_c_data): Remove max_ulp field.
8936 (struct test_cc_c_data): Likewise.
8937 (struct test_f_i_data): Likewise.
8938 (struct test_ff_i_data): Likewise.
8939 (struct test_f_l_data): Likewise.
8940 (struct test_f_L_data): Likewise.
8941 (struct test_sincos_data): Likewise.
8942 (RUN_TEST_f_f): Do not handle ulps.
8943 (RUN_TEST_LOOP_f_f): Likewise.
8944 (RUN_TEST_2_f): Likewise.
8945 (RUN_TEST_LOOP_2_f): Likewise.
8946 (RUN_TEST_fff_f): Likewise.
8947 (RUN_TEST_LOOP_fff_f): Likewise.
8948 (RUN_TEST_c_f): Likewise.
8949 (RUN_TEST_LOOP_c_f): Likewise.
8950 (RUN_TEST_f_f1): Likewise.
8951 (RUN_TEST_LOOP_f_f1): Likewise.
8952 (RUN_TEST_fF_f1): Likewise.
8953 (RUN_TEST_LOOP_fF_f1): Likewise.
8954 (RUN_TEST_fI_f1): Likewise.
8955 (RUN_TEST_LOOP_fI_f1): Likewise.
8956 (RUN_TEST_ffI_f1): Likewise.
8957 (RUN_TEST_LOOP_ffI_f1): Likewise.
8958 (RUN_TEST_c_c): Likewise.
8959 (RUN_TEST_LOOP_c_c): Likewise.
8960 (RUN_TEST_cc_c): Likewise.
8961 (RUN_TEST_LOOP_cc_c): Likewise.
8962 (RUN_TEST_f_i): Likewise.
8963 (RUN_TEST_LOOP_f_i): Likewise.
8964 (RUN_TEST_f_i_tg): Likewise.
8965 (RUN_TEST_LOOP_f_i_tg): Likewise.
8966 (RUN_TEST_ff_i_tg): Likewise.
8967 (RUN_TEST_LOOP_ff_i_tg): Likewise.
8968 (RUN_TEST_f_b): Likewise.
8969 (RUN_TEST_LOOP_f_b): Likewise.
8970 (RUN_TEST_f_b_tg): Likewise.
8971 (RUN_TEST_LOOP_f_b_tg): Likewise.
8972 (RUN_TEST_f_l): Likewise.
8973 (RUN_TEST_LOOP_f_l): Likewise.
8974 (RUN_TEST_f_L): Likewise.
8975 (RUN_TEST_LOOP_f_L): Likewise.
8976 (RUN_TEST_sincos): Likewise.
8977 (RUN_TEST_LOOP_sincos): Likewise.
8978
8269107f
JM
89792013-05-17 Joseph Myers <joseph@codesourcery.com>
8980
bb38759d
JM
8981 [BZ #15480]
8982 [BZ #15485]
8983 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
8984 main case of finite arguments, set rounding mode to FE_TONEAREST
8985 and discard exceptions.
8986 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
8987 exceptions.
8988 (remainder_tonearest_test_data): New variable.
8989 (remainder_test_tonearest): New function.
8990 (remainder_towardzero_test_data): New variable.
8991 (remainder_test_towardzero): New function.
8992 (remainder_downward_test_data): New variable.
8993 (remainder_test_downward): New function.
8994 (remainder_upward_test_data): New variable.
8995 (remainder_test_upward): New function.
8996 (main): Call the new test functions.
8997
a00bdcf0
JM
8998 * math/libm-test.inc (struct test_f_f1_data): Remove field
8999 extra_init.
9000 (struct test_fF_f1_data): Likewise.
9001 (struct test_ffI_f1_data): Likewise.
9002 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
9003 based on value of EXTRA_EXPECTED.
9004 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
9005 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
9006 EXTRA_VAR based on value of EXTRA_EXPECTED.
9007 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
9008 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
9009 EXTRA_VAR based on value of EXTRA_EXPECTED.
9010 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
9011 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
9012 EXTRA_VAR based on value of EXTRA_EXPECTED.
9013 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
9014 * math/gen-libm-test.pl (parse_args): Don't output initializers
9015 for extra output values.
9016
de407f79
JM
9017 * math/libm-test.inc (check_int): Expect result to be exactly
9018 equal to expected value and do not handle ulps.
9019 (check_long): Likewise.
9020 (check_longlong): Likewise.
9021
8269107f
JM
9022 * math/libm-test.inc (ceil_test_data): Test for "inexact"
9023 exceptions.
9024 (cimag_test_data): Likewise.
9025 (conj_test_data): Likewise.
9026 (copysign_test_data): Likewise.
9027 (cproj_test_data): Likewise.
9028 (creal_test_data): Likewise.
9029 (fabs_test_data): Likewise.
9030 (fdim_test_data): Likewise.
9031 (finite_test_data): Likewise.
9032 (floor_test_data): Likewise.
9033 (fmax_test_data): Likewise.
9034 (fmin_test_data): Likewise.
9035 (fmod_test_data): Likewise.
9036 (fpclassify_test_data): Likewise.
9037 (frexp_test_data): Likewise.
9038 (ilogb_test_data): Likewise.
9039 (isfinite_test_data): Likewise.
9040 (isgreater_test_data): Likewise.
9041 (isgreaterequal_test_data): Likewise.
9042 (isinf_test_data): Likewise.
9043 (isless_test_data): Likewise.
9044 (islessequal_test_data): Likewise.
9045 (islessgreater_test_data): Likewise.
9046 (isnan_test_data): Likewise.
9047 (isnormal_test_data): Likewise.
9048 (issignaling_test_data): Likewise.
9049 (isunordered_test_data): Likewise.
9050 (ldexp_test_data): Likewise.
9051 (lrint_test_data): Likewise.
9052 (lrint_test_data) [TEST_FLOAT]: Disable one test.
9053 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
9054 (lrint_tonearest_test_data): Test for "inexact" exceptions.
9055 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
9056 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
9057 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
9058 test input.
9059 (lrint_towardzero_test_data): Test for "inexact" exceptions.
9060 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
9061 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
9062 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
9063 that test input.
9064 (lrint_downward_test_data): Test for "inexact" exceptions.
9065 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
9066 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
9067 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
9068 test input.
9069 (lrint_upward_test_data): Test for "inexact" exceptions.
9070 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
9071 test input.
9072 (llrint_test_data): Test for "inexact" exceptions.
9073 (llrint_test_data) [TEST_FLOAT]: Disable one test.
9074 (llrint_tonearest_test_data): Test for "inexact" exceptions.
9075 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
9076 (llrint_towardzero_test_data): Test for "inexact" exceptions.
9077 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
9078 (llrint_downward_test_data): Test for "inexact" exceptions.
9079 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
9080 (llrint_upward_test_data): Test for "inexact" exceptions.
9081 (logb_test_data): Likewise.
9082 (logb_downward_test_data): Likewise.
9083 (nextafter_test_data): Likewise.
9084 (nexttoward_test_data): Likewise.
9085 (remainder_test_data): Likewise.
9086 (remquo_test_data): Likewise.
9087 (scalbn_test_data): Likewise.
9088 (scalbln_test_data): Likewise.
9089 (signbit_test_data): Likewise.
9090 (sqrt_test_data): Likewise.
9091 (significand_test_data): Likewise.
9092
48a18de1
SP
90932013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9094
9095 [BZ #15424]
9096 * benchtests/bench-modf.c (struct args): Mark arg0 as
9097 volatile.
9098 * scripts/bench.pl: Mark members of struct args as volatile.
9099
13d3b41a
AZ
91002013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9101
68191c1d 9102 [BZ # 15497]
13d3b41a
AZ
9103 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
9104 negative infinity on POWER6 or lower.
9105 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
9106
2848b105
MR
91072013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
9108
9109 [BZ #15442]
9110 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
9111 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
9112 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
9113 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
9114 (_FP_SETQNAN): New macro.
9115 (_FP_SETQNAN_SEMIRAW): Likewise.
9116 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
9117 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
9118 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
9119 (FP_EXTEND): Use _FP_FRAC_SNANP.
9120 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
9121 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
9122 into account.
9123 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
9124 New macro.
9125 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
9126 Likewise.
9127
323e5cb7
JM
91282013-05-16 Joseph Myers <joseph@codesourcery.com>
9129
c58b274f
JM
9130 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
9131 with DIVIDE_BY_ZERO_EXCEPTION.
9132 (gamma_test_data): Likewise.
9133 (lgamma_test_data): Likewise.
9134 (log_test_data): Likewise.
9135 (log10_test_data): Likewise.
9136 (log2_test_data): Likewise.
9137 (tgamma_test_data): Likewise.
9138
0ab34904
JM
9139 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
9140 (acos_test_tonearest): Likewise.
9141 (acos_test_towardzero): Likewise.
9142 (acos_test_downward): Likewise.
9143 (acos_test_upward): Likewise.
9144 (acosh_test): Likewise.
9145 (asin_test): Likewise.
9146 (asin_test_tonearest): Likewise.
9147 (asin_test_towardzero): Likewise.
9148 (asin_test_downward): Likewise.
9149 (asin_test_upward): Likewise.
9150 (asinh_test): Likewise.
9151 (atan_test): Likewise.
9152 (atanh_test): Likewise.
9153 (atan2_test): Likewise.
9154 (cabs_test): Likewise.
9155 (cacos_test): Likewise.
9156 (cacosh_test): Likewise.
9157 (casin_test): Likewise.
9158 (casinh_test): Likewise.
9159 (catan_test): Likewise.
9160 (catanh_test): Likewise.
9161 (cbrt_test): Likewise.
9162 (ccos_test): Likewise.
9163 (ccosh_test): Likewise.
9164 (cexp_test): Likewise.
9165 (clog_test): Likewise.
9166 (clog10_test): Likewise.
9167 (cos_test): Likewise.
9168 (cos_test_tonearest): Likewise.
9169 (cos_test_towardzero): Likewise.
9170 (cos_test_downward): Likewise.
9171 (cos_test_upward): Likewise.
9172 (cosh_test): Likewise.
9173 (cosh_test_tonearest): Likewise.
9174 (cosh_test_towardzero): Likewise.
9175 (cosh_test_downward): Likewise.
9176 (cosh_test_upward): Likewise.
9177 (cpow_test): Likewise.
9178 (csin_test): Likewise.
9179 (csinh_test): Likewise.
9180 (csqrt_test): Likewise.
9181 (ctan_test): Likewise.
9182 (ctan_test_tonearest): Likewise.
9183 (ctan_test_towardzero): Likewise.
9184 (ctan_test_downward): Likewise.
9185 (ctan_test_upward): Likewise.
9186 (ctanh_test): Likewise.
9187 (ctanh_test_tonearest): Likewise.
9188 (ctanh_test_towardzero): Likewise.
9189 (ctanh_test_downward): Likewise.
9190 (ctanh_test_upward): Likewise.
9191 (erf_test): Likewise.
9192 (erfc_test): Likewise.
9193 (exp_test): Likewise.
9194 (exp_test_tonearest): Likewise.
9195 (exp_test_towardzero): Likewise.
9196 (exp_test_downward): Likewise.
9197 (exp_test_upward): Likewise.
9198 (exp10_test): Likewise.
9199 (exp2_test): Likewise.
9200 (expm1_test): Likewise.
9201 (fmod_test): Likewise.
9202 (gamma_test): Likewise.
9203 (hypot_test): Likewise.
9204 (j0_test): Likewise.
9205 (j1_test): Likewise.
9206 (jn_test): Likewise.
9207 (lgamma_test): Likewise.
9208 (log_test): Likewise.
9209 (log10_test): Likewise.
9210 (log1p_test): Likewise.
9211 (log2_test): Likewise.
9212 (logb_test_downward): Likewise.
9213 (pow_test): Likewise.
9214 (pow_test_tonearest): Likewise.
9215 (pow_test_towardzero): Likewise.
9216 (pow_test_downward): Likewise.
9217 (pow_test_upward): Likewise.
9218 (remainder_test): Likewise.
9219 (remquo_test): Likewise.
9220 (sin_test): Likewise.
9221 (sin_test_tonearest): Likewise.
9222 (sin_test_towardzero): Likewise.
9223 (sin_test_downward): Likewise.
9224 (sin_test_upward): Likewise.
9225 (sincos_test): Likewise.
9226 (sinh_test): Likewise.
9227 (sinh_test_tonearest): Likewise.
9228 (sinh_test_towardzero): Likewise.
9229 (sinh_test_downward): Likewise.
9230 (sinh_test_upward): Likewise.
9231 (sqrt_test): Likewise.
9232 (tan_test): Likewise.
9233 (tan_test_tonearest): Likewise.
9234 (tan_test_towardzero): Likewise.
9235 (tan_test_downward): Likewise.
9236 (tan_test_upward): Likewise.
9237 (tanh_test): Likewise.
9238 (tgamma_test): Likewise.
9239 (y0_test): Likewise.
9240 (y1_test): Likewise.
9241 (yn_test): Likewise.
9242
323e5cb7
JM
9243 * math/gen-libm-test.pl (adjust_arg): Remove function.
9244 (special_function): Remove argument $in_func. Only handle
9245 generating output for tables of tests, not inside functions.
9246 (parse_args): Likewise.
9247 (generate_testfile): Remove variable $in_func. Update call to
9248 parse_args.
9249 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
9250 (MINUS_ZERO_INIT): Rename macro to minus_zero.
9251 (PLUS_INFTY_INIT): Rename macro to plus_infty.
9252 (MINUS_INFTY_INIT): Rename macro to minus_infty.
9253 (QNAN_VALUE_INIT): Rename macro to qnan_value.
9254 (MAX_VALUE_INIT): Rename macro to max_value.
9255 (MIN_VALUE_INIT): Rename macro to min_value.
9256 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
9257 (plus_zero): Remove variable.
9258 (minus_zero): Likewise.
9259 (plus_infty): Likewise.
9260 (minus_infty): Likewise.
9261 (qnan_value): Likewise.
9262 (max_value): Likewise.
9263 (min_value): Likewise.
9264 (min_subnorm_value): Likewise.
9265
e054f494
RA
92662013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9267
9268 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
9269 uint64_t or uint32_t usage.
9270 * crypt/sha256-block.c: Likewise.
9271 * crypt/sha256-crypt.c: Likewise.
9272 * crypt/sha256.c: Likewise.
9273 * crypt/sha512-block.c: Likewise.
9274 * crypt/sha512-crypt.c: Likewise.
9275 * crypt/sha512.c: Likewise.
9276 * debug/backtrace-tst.c: Likewise.
9277 * debug/pcprofiledump.c: Likewise.
9278 * elf/cache.c: Likewise.
9279 * elf/dl-cache.c: Likewise.
9280 * elf/dl-misc.c: Likewise.
9281 * elf/dl-profile.c: Likewise.
9282 * elf/dl-support.c: Likewise.
9283 * elf/ldconfig.c: Likewise.
9284 * elf/sprof.c: Likewise.
9285 * iconv/dummy-repertoire.c: Likewise.
9286 * iconv/iconv_charmap.c: Likewise.
9287 * iconv/skeleton.c: Likewise.
9288 * iconvdata/8bit-generic.c: Likewise.
9289 * iconvdata/cp737.h: Likewise.
9290 * iconvdata/cp775.h: Likewise.
9291 * iconvdata/ibm1008.h: Likewise.
9292 * iconvdata/ibm1025.h: Likewise.
9293 * iconvdata/ibm1046.h: Likewise.
9294 * iconvdata/ibm1097.h: Likewise.
9295 * iconvdata/ibm1112.h: Likewise.
9296 * iconvdata/ibm1122.h: Likewise.
9297 * iconvdata/ibm1123.h: Likewise.
9298 * iconvdata/ibm1124.h: Likewise.
9299 * iconvdata/ibm1129.h: Likewise.
9300 * iconvdata/ibm1130.h: Likewise.
9301 * iconvdata/ibm1132.h: Likewise.
9302 * iconvdata/ibm1133.h: Likewise.
9303 * iconvdata/ibm1137.h: Likewise.
9304 * iconvdata/ibm1140.h: Likewise.
9305 * iconvdata/ibm1141.h: Likewise.
9306 * iconvdata/ibm1142.h: Likewise.
9307 * iconvdata/ibm1143.h: Likewise.
9308 * iconvdata/ibm1144.h: Likewise.
9309 * iconvdata/ibm1145.h: Likewise.
9310 * iconvdata/ibm1146.h: Likewise.
9311 * iconvdata/ibm1147.h: Likewise.
9312 * iconvdata/ibm1148.h: Likewise.
9313 * iconvdata/ibm1149.h: Likewise.
9314 * iconvdata/ibm1153.h: Likewise.
9315 * iconvdata/ibm1154.h: Likewise.
9316 * iconvdata/ibm1155.h: Likewise.
9317 * iconvdata/ibm1156.h: Likewise.
9318 * iconvdata/ibm1157.h: Likewise.
9319 * iconvdata/ibm1158.h: Likewise.
9320 * iconvdata/ibm1160.h: Likewise.
9321 * iconvdata/ibm1161.h: Likewise.
9322 * iconvdata/ibm1162.h: Likewise.
9323 * iconvdata/ibm1163.h: Likewise.
9324 * iconvdata/ibm1164.h: Likewise.
9325 * iconvdata/ibm1166.h: Likewise.
9326 * iconvdata/ibm1167.h: Likewise.
9327 * iconvdata/ibm12712.h: Likewise.
9328 * iconvdata/ibm1390.h: Likewise.
9329 * iconvdata/ibm1399.h: Likewise.
9330 * iconvdata/ibm16804.h: Likewise.
9331 * iconvdata/ibm4517.h: Likewise.
9332 * iconvdata/ibm4899.h: Likewise.
9333 * iconvdata/ibm4909.h: Likewise.
9334 * iconvdata/ibm4971.h: Likewise.
9335 * iconvdata/ibm5347.h: Likewise.
9336 * iconvdata/ibm803.h: Likewise.
9337 * iconvdata/ibm856.h: Likewise.
9338 * iconvdata/ibm901.h: Likewise.
9339 * iconvdata/ibm902.h: Likewise.
9340 * iconvdata/ibm9030.h: Likewise.
9341 * iconvdata/ibm9066.h: Likewise.
9342 * iconvdata/ibm921.h: Likewise.
9343 * iconvdata/ibm922.h: Likewise.
9344 * iconvdata/ibm9448.h: Likewise.
9345 * iconvdata/isiri-3342.h: Likewise.
9346 * iconvdata/jis0201.h: Likewise.
9347 * include/link.h: Likewise.
9348 * include/netdb.h: Likewise.
9349 * inet/check_native.c: Likewise.
9350 * inet/check_pf.c: Likewise.
9351 * inet/getipv4sourcefilter.c: Likewise.
9352 * inet/getnameinfo.c: Likewise.
9353 * inet/getsourcefilter.c: Likewise.
9354 * inet/htonl.c: Likewise.
9355 * inet/setipv4sourcefilter.c: Likewise.
9356 * inet/setsourcefilter.c: Likewise.
9357 * inet/test-inet6_opt.c: Likewise.
9358 * inet/tst-network.c: Likewise.
9359 * locale/C-collate.c: Likewise.
9360 * locale/C-ctype.c: Likewise.
9361 * locale/C-time.c: Likewise.
9362 * locale/C-translit.h: Likewise.
9363 * locale/loadarchive.c: Likewise.
9364 * locale/programs/3level.h: Likewise.
9365 * locale/programs/charmap.c: Likewise.
9366 * locale/programs/charmap.h: Likewise.
9367 * locale/programs/ld-address.c: Likewise.
9368 * locale/programs/ld-collate.c: Likewise.
9369 * locale/programs/ld-ctype.c: Likewise.
9370 * locale/programs/ld-identification.c: Likewise.
9371 * locale/programs/ld-measurement.c: Likewise.
9372 * locale/programs/ld-messages.c: Likewise.
9373 * locale/programs/ld-monetary.c: Likewise.
9374 * locale/programs/ld-name.c: Likewise.
9375 * locale/programs/ld-numeric.c: Likewise.
9376 * locale/programs/ld-paper.c: Likewise.
9377 * locale/programs/ld-telephone.c: Likewise.
9378 * locale/programs/ld-time.c: Likewise.
9379 * locale/programs/linereader.c: Likewise.
9380 * locale/programs/locale.c: Likewise.
9381 * locale/programs/locarchive.c: Likewise.
9382 * locale/programs/locfile.h: Likewise.
9383 * locale/programs/repertoire.c: Likewise.
9384 * locale/programs/simple-hash.c: Likewise.
9385 * locale/programs/simple-hash.h: Likewise.
9386 * malloc/memusage.c: Likewise.
9387 * malloc/memusagestat.c: Likewise.
9388 * nis/nis_defaults.c: Likewise.
9389 * nis/nis_hash.c: Likewise.
9390 * nis/nis_print.c: Likewise.
9391 * nis/nis_xdr.c: Likewise.
9392 * nscd/connections.c: Likewise.
9393 * nscd/hstcache.c: Likewise.
9394 * nscd/nscd_gethst_r.c: Likewise.
9395 * nscd/nscd_getserv_r.c: Likewise.
9396 * nscd/nscd_helper.c: Likewise.
9397 * nscd/servicescache.c: Likewise.
9398 * nss/makedb.c: Likewise.
9399 * nss/nss_db/db-XXX.c: Likewise.
9400 * nss/nss_db/db-initgroups.c: Likewise.
9401 * nss/nss_db/db-netgrp.c: Likewise.
9402 * nss/nss_files/files-network.c: Likewise.
9403 * nss/nss_files/files-parse.c: Likewise.
9404 * posix/bug-regex5.c: Likewise.
9405 * posix/fnmatch_loop.c: Likewise.
9406 * posix/regcomp.c: Likewise.
9407 * posix/regexec.c: Likewise.
9408 * posix/tst-rfc3484-2.c: Likewise.
9409 * posix/tst-rfc3484-3.c: Likewise.
9410 * posix/tst-rfc3484.c: Likewise.
9411 * resolv/nss_dns/dns-canon.c: Likewise.
9412 * resolv/nss_dns/dns-network.c: Likewise.
9413 * resolv/res_init.c: Likewise.
9414 * resolv/res_mkquery.c: Likewise.
9415 * resolv/tst-aton.c: Likewise.
9416 * stdlib/cxa_atexit.c: Likewise.
9417 * stdlib/cxa_finalize.c: Likewise.
9418 * stdlib/gen-fpioconst.c: Likewise.
9419 * stdlib/strtol_l.c: Likewise.
9420 * string/tst-endian.c: Likewise.
9421 * sunrpc/auth_des.c: Likewise.
9422 * sunrpc/clnt_udp.c: Likewise.
9423 * sunrpc/rtime.c: Likewise.
9424 * sunrpc/svcauth_des.c: Likewise.
9425 * sunrpc/xdr.c: Likewise.
9426 * sunrpc/xdr_intXX_t.c: Likewise.
9427 * sunrpc/xdr_rec.c: Likewise.
9428 * sysdeps/generic/ldconfig.h: Likewise.
9429 * sysdeps/generic/ldsodefs.h: Likewise.
9430 * sysdeps/generic/memusage.h: Likewise.
9431 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
9432 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
9433 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
9434 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9435 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9436 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9437 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
9438 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
9439 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9440 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9441 * sysdeps/posix/getaddrinfo.c: Likewise.
9442 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9443 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9444 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9445 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9446 * sysdeps/powerpc/test-gettimebase.c: Likewise.
9447 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9448 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
9449 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
9450 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
9451 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
9452 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9453 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9454 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
9455 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
9456 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
9457 * sysdeps/x86_64/dl-tls.h: Likewise.
9458 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
9459 * time/alt_digit.c: Likewise.
9460 * time/era.c: Likewise.
9461 * wcsmbs/tst-c16c32-1.c: Likewise.
9462
8c75f674
JM
94632013-05-16 Joseph Myers <joseph@codesourcery.com>
9464
9465 * math/libm-test.inc (struct test_sincos_data): New type.
9466 (RUN_TEST_LOOP_sincos): New macro.
9467 (sincos_test_data): New variable.
9468 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
9469
e6e49e59
RH
94702013-05-16 Richard Henderson <rth@redhat.com>
9471
9472 * math/atest-exp2.c (LIMB64): New macro.
9473 (CONSTSZ): New macro.
9474 (mp_exp1, mp_exp_m1, mp_log2): New variables.
9475 (hexdig): Move ...
9476 (print_mpn_fp): ... to function scope.
9477 (read_mpn_hex): Remove.
9478 (get_log2): Remove.
9479 (exp2_mpn): Use mp_log2.
9480 (main): Use mp_exp1.
9481
15c7c18d
JM
94822013-05-16 Joseph Myers <joseph@codesourcery.com>
9483
105a07df
JM
9484 * math/libm-test.inc: Remove comment about not testing "inexact"
9485 exceptions.
9486 (INEXACT_EXCEPTION): New macro.
9487 (NO_INEXACT_EXCEPTION): Likewise.
9488 (INVALID_EXCEPTION_OK): Update value.
9489 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9490 (OVERFLOW_EXCEPTION_OK): Likewise.
9491 (UNDERFLOW_EXCEPTION_OK): Likewise.
9492 (IGNORE_ZERO_INF_SIGN): Likewise.
9493 (ERRNO_UNCHANGED): Likewise.
9494 (ERRNO_EDOM): Likewise.
9495 (ERRNO_ERANGE): Likewise.
9496 (test_exceptions): Handle testing "inexact" exceptions.
9497 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
9498 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
9499 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
9500 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
9501 INEXACT_EXCEPTION.
9502 (rint_towardzero_test_data): Likewise.
9503 (rint_downward_test_data): Likewise.
9504 (rint_upward_test_data): Likewise.
9505
e9eee333
JM
9506 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
9507 with OVERFLOW_EXCEPTION.
9508 (exp10_test_data): Likewise.
9509 (exp2_test_data): Likewise.
9510 (expm1_test_data): Likewise.
9511 (lgamma_test_data): Likewise.
9512 (pow_test_data): Likewise.
9513 (tgamma_test_data): Likewise.
9514 (yn_test_data): Remove duplicate test of overflow.
9515
1c38ff73
JM
9516 * math/libm-test.inc (struct test_cc_c_data): New type.
9517 (RUN_TEST_LOOP_cc_c): New macro.
9518 (cpow_test_data): New variable.
9519 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
9520
15c7c18d
JM
9521 * math/libm-test.inc (struct test_f_L_data): New type.
9522 (RUN_TEST_LOOP_f_L): New macro.
9523 (llrint_test_data): New variable.
9524 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
9525 (llrint_tonearest_test_data): New variable.
9526 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
9527 (llrint_towardzero_test_data): New variable.
9528 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
9529 (llrint_downward_test_data): New variable.
9530 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
9531 (llrint_upward_test_data): New variable.
9532 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
9533 (llround_test_data): New variable.
9534 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
9535
f137ff13
PC
95362013-05-13 Peter Collingbourne <pcc@google.com>
9537
9538 * math/atest-exp2.c (get_log2): Remove const attribute.
9539
3608cb24
JM
95402013-05-15 Joseph Myers <joseph@codesourcery.com>
9541
9542 * math/libm-test.inc (struct test_f_l_data): New type.
9543 (RUN_TEST_LOOP_f_l): New macro.
9544 (lrint_test_data): New variable.
9545 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
9546 (lrint_tonearest_test_data): New variable.
9547 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
9548 (lrint_towardzero_test_data): New variable.
9549 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
9550 (lrint_downward_test_data): New variable.
9551 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
9552 (lrint_upward_test_data): New variable.
9553 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
9554 (lround_test_data): New variable.
9555 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
9556
39b1f617
PC
95572013-05-15 Peter Collingbourne <pcc@google.com>
9558
1deff3dc
PC
9559 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
9560 (EXTRACT_WORDS64) Use where appropriate.
9561 (INSERT_WORDS64) Likewise.
9562
791f3ba0
PC
9563 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
9564 constraints with x constraints.
9565 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
9566
39b1f617
PC
9567 * malloc/obstack.c (_obstack_compat): Add initializer.
9568
12fba011
EM
95692013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
9570
9571 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
9572 si_trapno and add si_addr_lsb to _sifields.sigfault.
9573 (si_trapno): Remove macro.
9574 (si_addr_lsb): Define new macro.
9575 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
9576
d369f531
JM
95772013-05-15 Joseph Myers <joseph@codesourcery.com>
9578
b861c6c4
JM
9579 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
9580 instead of TEST_f_l.
9581 (llrint_test_tonearest): Likewise.
9582 (llrint_test_towardzero): Likewise.
9583 (llrint_test_downward): Likewise.
9584 (llrint_test_upward): Likewise.
9585 (llround_test): Likewise.
9586
7abeee12
JM
9587 * math/libm-test.inc (struct test_f_i_data): Add comment.
9588 (RUN_TEST_LOOP_f_b): New macro.
9589 (RUN_TEST_LOOP_f_b_tg): Likewise.
9590 (finite_test_data): New variable.
9591 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
9592 (isfinite_test_data): New variable.
9593 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9594 (isinf_test_data): New variable.
9595 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9596 (isnan_test_data): New variable.
9597 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9598 (isnormal_test_data): New variable.
9599 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9600 (issignaling_test_data): New variable.
9601 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9602 (signbit_test_data): New variable.
9603 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9604
cbe8c4d3
JM
9605 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
9606 with INVALID_EXCEPTION.
9607 (acosh_test_data): Likewise.
9608 (asin_test_data): Likewise.
9609 (atanh_test_data): Likewise.
9610 (fmod_test_data): Likewise.
9611 (log_test_data): Likewise.
9612 (log10_test_data): Likewise.
9613 (log2_test_data): Likewise.
9614 (pow_test_data): Likewise.
9615 (sqrt_test_data): Likewise.
9616 (y0_test_data): Likewise.
9617 (y1_test_data): Likewise.
9618 (yn_test_data): Likewise.
9619
5575c0e5
JM
9620 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
9621 function contents.
9622
d369f531
JM
9623 * math/libm-test.inc (struct test_ff_i_data): New type.
9624 (RUN_TEST_LOOP_ff_i_tg): New macro.
9625 (isgreater_test_data): New variable.
9626 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9627 (isgreaterequal_test_data): New variable.
9628 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9629 (isless_test_data): New variable.
9630 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9631 (islessequal_test_data): New variable.
9632 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9633 (islessgreater_test_data): New variable.
9634 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9635 (isunordered_test_data): New variable.
9636 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9637
781fd748
DM
96382013-05-14 David S. Miller <davem@davemloft.net>
9639
9640 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9641
87aa21df
JM
96422013-05-14 Joseph Myers <joseph@codesourcery.com>
9643
5e908270
JM
9644 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
9645
f71172e5
JM
9646 * math/libm-test.inc (struct test_fF_f1_data): Change type of
9647 extra_test to int.
9648 (struct test_f_i_data): Change type of max_ulp to int.
9649
8cfa635a
JM
9650 * math/libm-test.inc (test_ffI_f1_data): New type.
9651 (RUN_TEST_LOOP_ffI_f1): New macro.
9652 (remquo_test_data): New variable.
9653 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
9654
2bcb36b2
JM
9655 * setjmp/tst-setjmp-fp.c: New file.
9656 * setjmp/Makefile (tests): Add tst-setjmp-fp.
9657 (link-libm): New variable.
9658 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
9659
acbd839a
JM
9660 * math/libm-test.inc (struct test_f_i_data): New type.
9661 (RUN_TEST_LOOP_f_i): New macro.
9662 (RUN_TEST_LOOP_f_i_tg): Likewise.
9663 (fpclassify_test_data): New variable.
9664 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
9665 (ilogb_test_data): New variable.
9666 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
9667
e414d745
JM
9668 * math/libm-test.inc (scalbln_test): Correct function name in END
9669 call.
9670
d9c2a0fd
JM
9671 * math/libm-test.inc (struct test_f_f1_data): Add comment.
9672 (RUN_TEST_LOOP_fI_f1): New macro.
9673 (frexp_test_data): New variable.
9674 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
9675
9dc9095d
JM
9676 * math/libm-test.inc (struct test_fF_f1_data): New type.
9677 (RUN_TEST_LOOP_fF_f1): New macro.
9678 (modf_test_data): New variable.
9679 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
9680
87aa21df
JM
9681 * math/libm-test.inc (struct test_f_f1_data): New type.
9682 (RUN_TEST_LOOP_f_f1): New macro.
9683 (gamma_test_data): New variable.
9684 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9685 (lgamma_test_data): New variable.
9686 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9687
141af660
CD
96882013-05-13 Carlos O'Donell <carlos@redhat.com>
9689
9690 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
9691 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
9692 (main): Comment "tls" pseudo-hwcap.
9693
6d33265c
JM
96942013-05-13 Joseph Myers <joseph@codesourcery.com>
9695
68fc074c
JM
9696 * math/libm-test.inc (struct test_fl_f_data): New type.
9697 (RUN_TEST_LOOP_fl_f): New variable.
9698 (scalbln_test_data): New variable.
9699 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
9700
243216e1
JM
9701 * math/libm-test.inc (struct test_fi_f_data): New type.
9702 (RUN_TEST_LOOP_fi_f): New macro.
9703 (ldexp_test_data): New variable.
9704 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
9705 (scalbn_test_data): New variable.
9706 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
9707
6a1992e2
JM
9708 * math/libm-test.inc (struct test_c_f_data): New type.
9709 (RUN_TEST_LOOP_c_f): New macro.
9710 (cabs_test_data): New variable.
9711 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
9712 (carg_test_data): New variable.
9713 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
9714 (cimag_test_data): New variable.
9715 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
9716 (creal_test_data): New variable.
9717 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
9718
0e400df5
JM
9719 * math/libm-test.inc (struct test_if_f_data): New type.
9720 (RUN_TEST_LOOP_if_f): New macro.
9721 (jn_test_data): New variable.
9722 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
9723 (yn_test_data): New variable.
9724 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
9725
6d33265c
JM
9726 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
9727
f98ece5f
AZ
97282013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9729
9730 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
9731 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
9732
0f7d347b
SP
97332013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
9734
43fe811b
SP
9735 * benchtests/Makefile (CPPFLAGS-nonlib): Add
9736 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
9737 (bench-deps): Add bench-timing.h.
9738 * benchtests-bench-skeleton.c: Include bench-timing.h.
9739 (main): Use TIMING_* macros instead of clock_gettime.
9740 * benchtests/bench-timing.h: New file.
9741
0f7d347b
SP
9742 [BZ #14582]
9743 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
9744 Renamed from _LIB_VERSION.
9745 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
9746
601a3a5f
JM
97472013-05-12 Joseph Myers <joseph@codesourcery.com>
9748
4f184d30
JM
9749 * math/libm-test.inc (struct test_fff_f_data): New type.
9750 (RUN_TEST_LOOP_fff_f): New macro.
9751 (fma_test_data): New variable.
9752 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
9753 (fma_towardzero_test_data): New variable.
9754 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
9755 (fma_downward_test_data): New variable.
9756 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
9757 (fma_upward_test_data): New variable.
9758 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
9759
08198877
JM
9760 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
9761 (struct test_c_c_data): New type.
9762 (RUN_TEST_LOOP_c_c): New macro.
9763 (cacos_test_data): New variable.
9764 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
9765 (cacosh_test_data): New variable.
9766 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
9767 (casin_test_data): New variable.
9768 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
9769 (casinh_test_data): New variable.
9770 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
9771 (catan_test_data): New variable.
9772 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
9773 (catanh_test_data): New variable.
9774 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
9775 (ccos_test_data): New variable.
9776 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
9777 (ccosh_test_data): New variable.
9778 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
9779 (cexp_test_data): New variable.
9780 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
9781 (clog_test_data): New variable.
9782 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
9783 (clog10_test_data): New variable.
9784 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
9785 (conj_test_data): New variable.
9786 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
9787 (cproj_test_data): New variable.
9788 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
9789 (csin_test_data): New variable.
9790 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
9791 (csinh_test_data): New variable.
9792 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
9793 (csqrt_test_data): New variable.
9794 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
9795 (ctan_test_data): New variable.
9796 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
9797 (ctan_tonearest_test_data): New variable.
9798 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9799 (ctan_towardzero_test_data): New variable.
9800 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9801 (ctan_downward_test_data): New variable.
9802 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9803 (ctan_upward_test_data): New variable.
9804 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9805 (ctanh_test_data): New variable.
9806 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
9807 (ctanh_tonearest_test_data): New variable.
9808 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9809 (ctanh_towardzero_test_data): New variable.
9810 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9811 (ctanh_downward_test_data): New variable.
9812 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9813 (ctanh_upward_test_data): New variable.
9814 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9815 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
9816 of BUILD_COMPLEX.
9817
601a3a5f
JM
9818 * math/libm-test.inc (struct test_ff_f_data): New type.
9819 (struct test_ff_f_data_nexttoward): Likewise.
9820 (RUN_TEST_LOOP_2_f): New macro.
9821 (RUN_TEST_LOOP_ff_f): Likewise.
9822 (atan2_test_data): New variable.
9823 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
9824 (copysign_test_data): New variable.
9825 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
9826 (fdim_test_data): New variable.
9827 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
9828 (fmax_test_data): New variable.
9829 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
9830 (fmin_test_data): New variable.
9831 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
9832 (fmod_test_data): New variable.
9833 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
9834 (hypot_test_data): New variable.
9835 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
9836 (nextafter_test_data): New variable.
9837 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
9838 (nexttoward_test_data): New variable.
9839 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
9840 (pow_test_data): New variable.
9841 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
9842 (pow_tonearest_test_data): New variable.
9843 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
9844 (pow_towardzero_test_data): New variable.
9845 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
9846 (pow_downward_test_data): New variable.
9847 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
9848 (pow_upward_test_data): New variable.
9849 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
9850 (remainder_test_data): New variable.
9851 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
9852 (scalb_test_data): New variable.
9853 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
9854 * sysdeps/i386/fpu/libm-test-ulps: Update.
9855
74c57478
JM
98562013-05-11 Joseph Myers <joseph@codesourcery.com>
9857
8329e4da
JM
9858 * math/libm-test.inc (fma_test): Use max_value instead of local
9859 variable fltmax.
9860 (nextafter_test): Likewise.
9861
74c57478
JM
9862 * math/libm-test.inc (acos_towardzero_test_data): New variable.
9863 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9864 (acos_downward_test_data): New variable.
9865 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9866 (acos_upward_test_data): New variable.
9867 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9868 (acosh_test_data): New variable.
9869 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
9870 (asin_test_data): New variable.
9871 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
9872 (asin_tonearest_test_data): New variable.
9873 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9874 (asin_towardzero_test_data): New variable.
9875 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9876 (asin_downward_test_data): New variable.
9877 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9878 (asin_upward_test_data): New variable.
9879 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9880 (asinh_test_data): New variable.
9881 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
9882 (atan_test_data): New variable.
9883 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
9884 (atanh_test_data): New variable.
9885 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
9886 (cbrt_test_data): New variable.
9887 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
9888 (ceil_test_data): New variable.
9889 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
9890 (cos_test_data): New variable.
9891 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
9892 (cos_tonearest_test_data): New variable.
9893 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9894 (cos_towardzero_test_data): New variable.
9895 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9896 (cos_downward_test_data): New variable.
9897 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9898 (cos_upward_test_data): New variable.
9899 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9900 (cosh_test_data): New variable.
9901 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
9902 (cosh_tonearest_test_data): New variable.
9903 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9904 (cosh_towardzero_test_data): New variable.
9905 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9906 (cosh_downward_test_data): New variable.
9907 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9908 (cosh_upward_test_data): New variable.
9909 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9910 (erf_test_data): New variable.
9911 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
9912 (erfc_test_data): New variable.
9913 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
9914 (exp_test_data): New variable.
9915 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
9916 (exp_tonearest_test_data): New variable.
9917 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9918 (exp_towardzero_test_data): New variable.
9919 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9920 (exp_downward_test_data): New variable.
9921 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9922 (exp_upward_test_data): New variable.
9923 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9924 (exp10_test_data): New variable.
9925 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
9926 (exp2_test_data): New variable.
9927 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
9928 (expm1_test_data): New variable.
9929 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
9930 (fabs_test_data): New variable.
9931 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
9932 (floor_test_data): New variable.
9933 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
9934 (j0_test_data): New variable.
9935 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
9936 (j1_test_data): New variable.
9937 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
9938 (log_test_data): New variable.
9939 (log_test): Run tests with RUN_TEST_LOOP_f_f.
9940 (log10_test_data): New variable.
9941 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
9942 (log1p_test_data): New variable.
9943 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
9944 (log2_test_data): New variable.
9945 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
9946 (logb_test_data): New variable.
9947 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
9948 (logb_downward_test_data): New variable.
9949 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9950 (nearbyint_test_data): New variable.
9951 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
9952 (rint_test_data): New variable.
9953 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
9954 (rint_tonearest_test_data): New variable.
9955 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9956 (rint_towardzero_test_data): New variable.
9957 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9958 (rint_downward_test_data): New variable.
9959 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9960 (rint_upward_test_data): New variable.
9961 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9962 (round_test_data): New variable.
9963 (round_test): Run tests with RUN_TEST_LOOP_f_f.
9964 (sin_test_data): New variable.
9965 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
9966 (sin_tonearest_test_data): New variable.
9967 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9968 (sin_towardzero_test_data): New variable.
9969 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9970 (sin_downward_test_data): New variable.
9971 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9972 (sin_upward_test_data): New variable.
9973 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9974 (sinh_test_data): New variable.
9975 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
9976 (sinh_tonearest_test_data): New variable.
9977 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9978 (sinh_towardzero_test_data): New variable.
9979 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9980 (sinh_downward_test_data): New variable.
9981 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9982 (sinh_upward_test_data): New variable.
9983 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9984 (sqrt_test_data): New variable.
9985 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
9986 (tan_test_data): New variable.
9987 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
9988 (tan_tonearest_test_data): New variable.
9989 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9990 (tan_towardzero_test_data): New variable.
9991 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9992 (tan_downward_test_data): New variable.
9993 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9994 (tan_upward_test_data): New variable.
9995 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9996 (tanh_test_data): New variable.
9997 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
9998 (tgamma_test_data): New variable.
9999 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
10000 (trunc_test_data): New variable.
10001 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
10002 (y0_test_data): New variable.
10003 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
10004 (y1_test_data): New variable.
10005 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
10006 (significand_test_data): New variable.
10007 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
10008
7187d844
CG
100092013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
10010
10011 [BZ #12387]
10012 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
10013
f63fae73
PT
100142013-05-10 Pino Toscano <toscano.pino@tiscali.it>
10015
10016 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
10017
8a67a4b3
AJ
100182013-05-10 Andreas Jaeger <aj@suse.de>
10019
10020 [BZ #15448]
10021 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
10022 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
10023
51df539d
JM
100242013-05-10 Joseph Myers <joseph@codesourcery.com>
10025
10026 * math/gen-libm-test.pl (adjust_arg): New function.
10027 (special_functions): Handle generating output in both functions
10028 and arrays.
10029 (parse_args): Likewise.
10030 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
10031 $in_func argument to parse_args.
10032 * math/libm-test.inc (struct test_f_f_data): New type.
10033 (IF_ROUND_INIT_): New macro.
10034 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
10035 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
10036 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
10037 (IF_ROUND_INIT_FE_UPWARD): Likewise.
10038 (ROUND_RESTORE_): Likewise.
10039 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
10040 (ROUND_RESTORE_FE_TONEAREST): Likewise.
10041 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
10042 (ROUND_RESTORE_FE_UPWARD): Likewise.
10043 (RUN_TEST_LOOP_f_f): New macro.
10044 (acos_test_data): New variable.
10045 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
10046 (acos_tonearest_test_data): New variable.
10047 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10048
5c637fe5
SP
100492013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10050
10051 * benchtests/bench-skeleton.c (startup): Fix coding style.
10052
ab2b9461
JM
100532013-05-10 Joseph Myers <joseph@codesourcery.com>
10054
10055 [BZ #6809]
10056 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
10057 negative infinity argument.
10058 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
10059 negative infinity argument.
10060 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
10061 negative infinity argument.
10062 * math/libm-test.inc (tgamma_test): Expect errno to be set for
10063 domain errors.
10064
4c0fe6fe
FW
100652013-05-10 Florian Weimer <fweimer@redhat.com>
10066
10067 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
10068 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
10069 * iconv/iconv_prog.c (main): Likewise.
10070 * locale/programs/charmap-dir.c (charmap_readdir)
10071 (fopen_uncompressed): Likewise.
10072 * locale/programs/locfile.c (siblings_uncached)
10073 (write_locale_data): Use lstat64 instead of lstat.
10074 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
10075 stat.
10076
a3375d29
AJ
100772013-05-10 Andreas Jaeger <aj@suse.de>
10078
10079 [BZ #15395]
10080 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
10081 localization.
10082 Include <locale.h>.
10083
36129722
CD
100842013-05-09 Carlos O'Donell <carlos@redhat.com>
10085
10086 * elf/dl-close.c (_dl_close_worker): Add comments.
10087
faa7f811
JM
100882013-05-09 Joseph Myers <joseph@codesourcery.com>
10089
ed41ffef
JM
10090 [BZ #15359]
10091 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
10092 high part of pi/2.
10093 (__ieee754_rem_pio2l): Update comments.
10094
d0213cd0
JM
10095 [BZ #15429]
10096 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
10097 high part of pi/2.
10098 (__ieee754_rem_pio2l): Update comments.
10099
0d3e777a
JM
10100 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
10101 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
10102
24f56066
JM
10103 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
10104 M_PI_4l.
10105
faa7f811
JM
10106 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
10107 (M_PI_34_LOG10El): Likewise.
10108 (M_PI2_LOG10El): Likewise.
10109 (M_PI4_LOG10El): Likewise.
10110 (M_PI_LOG10El): Likewise.
10111
e9a5e0fd
AZ
101122013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10113
10114 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10115
d8cd06db
JM
101162013-05-08 Joseph Myers <joseph@codesourcery.com>
10117
a0d9f9d7
JM
10118 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
10119 (MINUS_ZERO_INIT): Likewise.
10120 (PLUS_INFTY_INIT): Likewise.
10121 (MINUS_INFTY_INIT): Likewise.
10122 (QNAN_VALUE_INIT): Likewise.
10123 (MAX_VALUE_INIT): Likewise.
10124 (MIN_VALUE_INIT): Likewise.
10125 (MIN_SUBNORM_VALUE_INIT): Likewise.
10126 (plus_zero): Initialize with PLUS_ZERO_INIT.
10127 (minus_zero): Initialize with MINUS_ZERO_INIT.
10128 (plus_infty): Initialize with PLUS_INFTY_INIT.
10129 (minus_infty): Initialize with MINUS_INFTY_INIT.
10130 (qnan_value): Initialize with QNAN_VALUE_INIT.
10131 (max_value): Initialize with MAX_VALUE_INIT.
10132 (min_value): Initialize with MIN_VALUE_INIT.
10133 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
10134
ae08db3b
JM
10135 * math/libm-test.inc (RUN_TEST_if_f): New macro.
10136 (jn_test): Use TEST_if_f instead of TEST_ff_f.
10137 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
10138 (yn_test): Use TEST_if_f instead of TEST_ff_f.
10139
f44bf14a
JM
10140 * math/libm-test.inc (RUN_TEST_f_f): New macro.
10141 (RUN_TEST_2_f): Likewise.
10142 (RUN_TEST_ff_f): Likewise.
10143 (RUN_TEST_fi_f): Likewise.
10144 (RUN_TEST_fl_f): Likewise.
10145 (RUN_TEST_fff_f): Likewise.
10146 (RUN_TEST_c_f): Likewise.
10147 (RUN_TEST_f_f1): Likewise.
10148 (RUN_TEST_fF_f1): Likewise.
10149 (RUN_TEST_fI_f1): Likewise.
10150 (RUN_TEST_ffI_f1): Likewise.
10151 (RUN_TEST_c_c): Likewise.
10152 (RUN_TEST_cc_c): Likewise.
10153 (RUN_TEST_f_i): Likewise.
10154 (RUN_TEST_f_i_tg): Likewise.
10155 (RUN_TEST_ff_i_tg): Likewise.
10156 (RUN_TEST_f_b): Likewise.
10157 (RUN_TEST_f_b_tg): Likewise.
10158 (RUN_TEST_f_l): Likewise.
10159 (RUN_TEST_f_L): Likewise.
10160 (RUN_TEST_sincos): Likewise.
10161 * math/gen-libm-test.pl (new_test): Take new argument to indicate
10162 whether to show exceptions. Do not include ");\n" in return
10163 value.
10164 (special_functions): Output call to RUN_TEST_sincos instead of
10165 check_float calls. Update calls to new_test.
10166 (parse_args): Output call to single RUN_TEST_* macro instead of
10167 check_* calls and other assignments. Update calls to new_test.
10168
d8cd06db
JM
10169 [BZ #2546]
10170 [BZ #2560]
10171 [BZ #5159]
10172 [BZ #15426]
10173 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
10174 input to result for tgamma overflow.
10175 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
10176 (gamma_coeff): New variable.
10177 (NCOEFF): New macro.
10178 (gamma_positive): New function.
10179 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
10180 underflow here. Use gamma_positive instead of exp (lgamma) for
10181 other arguments.
10182 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
10183 (gamma_coeff): New variable.
10184 (NCOEFF): New macro.
10185 (gammaf_positive): New function.
10186 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
10187 underflow here. Use gamma_positive instead of exp (lgamma) for
10188 other arguments.
10189 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
10190 (gamma_coeff): New variable.
10191 (NCOEFF): New macro.
10192 (gammal_positive): New function.
10193 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
10194 underflow here. Use gamma_positive instead of exp (lgamma) for
10195 other arguments.
10196 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
10197 (gamma_coeff): New variable.
10198 (NCOEFF): New macro.
10199 (gammal_positive): New function.
10200 (__ieee754_gammal_r): Handle positive infinity, overflow and
10201 underflow here. Handle NaN the same as positive infinity. Remove
10202 check x < 0xffffffff for negative integers. Use gamma_positive
10203 instead of exp (lgamma) for other arguments.
10204 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
10205 (gamma_coeff): New variable.
10206 (NCOEFF): New macro.
10207 (gammal_positive): New function.
10208 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
10209 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
10210 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
10211 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
10212 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
10213 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
10214 * sysdeps/generic/math_private.h (__gamma_productf): New
10215 prototype.
10216 (__gamma_product): Likewise.
10217 (__gamma_productl): Likewise.
10218 * math/Makefile (libm-calls): Add gamma_product.
10219 * math/libm-test.inc (tgamma_test): Add more tests.
10220 * sysdeps/i386/fpu/libm-test-ulps: Update.
10221 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10222
bb7cf681
OB
102232013-05-08 Ondřej Bílka <neleai@seznam.cz>
10224
10225 * benchtests/bench-skeleton.c (main): Preheat CPU.
10226
ba853947
AJ
102272013-05-07 Aurelien Jarno <aurelien@aurel32.net>
10228
10229 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
10230
8347c74c
RM
102312013-05-07 Roland McGrath <roland@hack.frob.com>
10232
10233 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
10234 and _dl_skip_args_internal.
10235
e8dd4791
CD
102362013-05-07 Carlos O'Donell <carlos@redhat.com>
10237
10238 * manual/message.texi (Message Translation): Talk about users.
10239 Message to key mapping impacts design.
10240
c7405830
RM
102412013-05-06 Roland McGrath <roland@hack.frob.com>
10242
a9173057
RM
10243 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
10244
976e2f03
RM
10245 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
10246
9723ffc5
RM
10247 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
10248 * sysdeps/wordsize-64/glob64.c: ... here.
10249
962e6658
RM
10250 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
10251 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
10252 New macros.
10253
ee586a6d
RM
10254 * debug/getlogin_r_chk.c: Moved to ...
10255 * login/getlogin_r_chk.c: ... here.
10256 * debug/Makefile (routines): Move getlogin_r_chk to ...
10257 * login/Makefile (routines): ... here.
10258 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
10259 * login/Versions (libc: GLIBC_2.4): ... here.
10260
355f9165
RM
10261 * io/poll.c (__poll): Renamed from poll.
10262 Add libc_hidden_def.
10263 (poll): Define as weak alias.
10264
bd9ffde6
RM
10265 * debug/ptsname_r_chk.c: Moved to ...
10266 * login/ptsname_r_chk.c: ... here.
10267 * debug/Makefile (routines): Move ptsname_r_chk to ...
10268 * login/Makefile (routines): ... here.
10269 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
10270 * login/Versions (libc: GLIBC_2.4): ... here.
10271
8fb16a04
RM
10272 * posix/getlogin.c: Moved to ...
10273 * login/getlogin.c: ... here.
10274 * posix/getlogin_r.c: Moved to ...
10275 * login/getlogin_r.c: ... here.
10276 * posix/getlogin_r.c: Moved to ...
10277 * login/getlogin_r.c: ... here.
10278 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
10279 * login/Makefile (routines): ... here.
10280 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
10281 * login/Versions (libc: GLIBC_2.0): ... here.
10282
b99b892f
RM
10283 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
10284 (setrlimit): Define as weak alias.
10285
c7405830
RM
10286 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
10287 Call __ names for open, ftruncate, and close.
10288 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
10289 (truncate): Define as weak alias.
10290
5bf96de5
JM
102912013-05-06 Joseph Myers <joseph@codesourcery.com>
10292
9ea3513c
JM
10293 * math/gen-libm-test.pl (parse_args): Initialize x before each
10294 test of frexp, modf and remquo.
10295
5bf96de5
JM
10296 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
10297 test signgam value.
10298
16e616a7
AZ
102992013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10300
10301 [BZ #15418]
10302 [BZ #15419]
10303 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
10304 internal tests.
10305 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10306
d5e82754
RM
103072013-05-06 Roland McGrath <roland@hack.frob.com>
10308
10309 * elf/dl-writev.h: New file.
10310 * elf/dl-misc.c: Include it.
10311 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
10312 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
10313
a7548d41
JM
103142013-05-04 Joseph Myers <joseph@codesourcery.com>
10315
b7dab1e4
JM
10316 * math/libm-test.inc (noXFails): Remove variable.
10317 (noXPasses): Likewise.
10318 (BUILD_COMPLEX_INT): Remove macro.
10319 (print_screen): Remove xfail argument.
10320 (print_screen_max_error): Likewise.
10321 (update_stats): Likewise.
10322 (print_max_error): Likewise. Update calls to other affected
10323 functions.
10324 (print_complex_max_error): Likewise.
10325 (test_single_exception): Update calls to print_screen.
10326 (test_single_errno): Likewise.
10327 (check_float_internal): Remove xfail argument. Update calls to
10328 other affected functions.
10329 (check_float): Likewise.
10330 (check_complex): Likewise.
10331 (check_int): Likewise.
10332 (check_long): Likewise.
10333 (check_bool): Likewise.
10334 (check_longlong): Likewise.
10335 (main): Don't print noXFails and noXPasses.
10336 * math/gen-libm-test.pl (top level): Don't mention expected
10337 failure handling in comment.
10338 (new_test): Don't handle expected failures.
10339 (parse_args): Don't mention expected failure handling in comment.
10340 (generate_testfile): Don't handle expected failures.
10341 (parse_ulps): Likewise.
10342 (print_ulps_file): Likewise.
10343 (get_failure): Remove function.
10344 (output_test): Don't handle expected failures.
10345 * make/README.libm-test: Don't mention expected failure handling.
10346
a7548d41
JM
10347 * math/libm-test.inc (plus_zero): Make const. Add initializer.
10348 (minus_zero): Likewise.
10349 (plus_infty): Likewise.
10350 (minus_infty): Likewise.
10351 (qnan_value): Likewise.
10352 (max_value): Likewise.
10353 (min_value): Likewise.
10354 (min_subnorm_value): Likewise.
10355 (initialize): Do not initialize those variables dynamically.
10356
60bfd54c
RM
103572013-05-03 Roland McGrath <roland@hack.frob.com>
10358
cc0e6ed8
RM
10359 * io/open.c (__open_2): Moved to ...
10360 * io/open_2.c: ... this new file.
10361 * io/open64.c (__open64_2): Moved to ...
10362 * io/open64_2.c: ... this new file.
10363 * io/openat.c (__openat_2): Moved to ...
10364 * io/openat_2.c: ... this new file.
10365 * io/openat64.c (__openat64_2): Moved to ...
10366 * io/openat64_2.c: ... this new file.
10367 * io/Makefile (routines): Add them.
10368 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
10369 * sysdeps/unix/sysv/linux/open_2.c: File removed.
10370 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
10371 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
10372 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
10373 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
10374 (__openat64): Add hidden_ver.
10375 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
10376 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
10377
60bfd54c
RM
10378 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
10379 Separately conditionalize setting of GLRO(dl_sysinfo) so
10380 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
10381 as well, but the actual setting is only under [NEED_DL_SYSINFO].
10382
83e7640f
AZ
103832013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10384
10385 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
10386 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
10387 definition.
10388 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
10389 * sysdeps/unix/sysv/linux/powerpc/init-first.c
10390 (_libc_vdso_platform_setup): Add __vdso_time initialization.
10391 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
10392 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
10393
d5dc2af3
JM
103942013-05-03 Joseph Myers <joseph@codesourcery.com>
10395
c31a5b1e
JM
10396 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
10397 test signgam value.
10398
d5dc2af3
JM
10399 * math/libm-test.inc (hypot_test): Do not use
10400 IGNORE_ZERO_INF_SIGN.
10401
164fd39d
AJ
104022013-05-03 Andreas Jaeger <aj@suse.de>
10403
10404 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
10405 Linux 3.9.
10406 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
10407 (PF_MAX): Adjust for VSOCK change.
10408
8237f48c
AZ
104092013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10410
10411 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10412
9df02941
CD
104132013-05-02 Carlos O'Donell <carlos@redhat.com>
10414
10415 [BZ #15264]
10416 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
10417 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
10418 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
10419
d422395e
DM
104202013-05-02 David S. Miller <davem@davemloft.net>
10421
10422 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10423
a07c5731
OB
104242013-05-01 Ondřej Bílka <neleai@seznam.cz>
10425
10426 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
10427
1324e37f
RM
104282013-05-01 Roland McGrath <roland@hack.frob.com>
10429
10430 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
10431
0695940b
RS
104322013-05-01 Richard Smith <richard@metafoo.co.uk>
10433
bb5f27ad 10434 [BZ #14952]
0695940b
RS
10435 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
10436 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
10437 Use __attribute__ ((__gnu_inline__)).
10438 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
10439 Don't use __attribute__ ((__gnu_inline__)).
10440
10de07f5
JM
104412013-05-01 Joseph Myers <joseph@codesourcery.com>
10442
10443 [BZ #15423]
10444 * math/s_catan.c (__catan): Handle small real or imaginary part of
10445 input specially to avoid spurious underflow.
10446 * math/s_catanf.c (__catanf): Likewise.
10447 * math/s_catanh.c (__catanh): Likewise.
10448 * math/s_catanhf.c (__catanhf): Likewise.
10449 * math/s_catanhl.c (__catanhl): Likewise.
10450 * math/s_catanl.c (__catanl): Likewise.
10451 * math/libm-test.inc (catan_test): Add more tests.
10452 (catanh_test): Likewise.
10453 * sysdeps/i386/fpu/libm-test-ulps: Update.
10454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10455
cb4d5414
AZ
104562013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10457
10458 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10459
caf84319
JM
104602013-04-30 Joseph Myers <joseph@codesourcery.com>
10461
10462 [BZ #15416]
10463 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
10464 accurately for denominator in atan2.
10465 * math/s_catanf.c (__catanf): Likewise.
10466 * math/s_catanh.c (__catanh): Likewise.
10467 * math/s_catanhf.c (__catanhf): Likewise.
10468 * math/s_catanhl.c (__catanhl): Likewise.
10469 * math/s_catanl.c (__catanl): Likewise.
10470 * math/libm-test.inc (catan_test): Add more tests.
10471 (catanh_test): Likewise.
10472 * sysdeps/i386/fpu/libm-test-ulps: Update.
10473 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10474
d569c6ee
SP
104752013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10476
6dbe713d
SP
10477 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
10478
f0ee064b
SP
10479 * benchtests/Makefile (bench): Remove slow benchmarks.
10480 * benchtests/atan-inputs: Add slow benchmark inputs.
10481 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
10482 (BENCH_FUNC): Accept variant offset.
10483 (VARIANT): Define.
10484 * benchtests/bench-skeleton.c (main): Run benchmark for each
10485 variant.
10486 * benchtests/cos-inputs: Add slow benchmark inputs.
10487 * benchtests/exp-inputs: Likewise.
10488 * benchtests/pow-inputs: Likewise.
10489 * benchtests/sin-inputs: Likewise.
10490 * benchtests/slowatan-inputs: Remove.
10491 * benchtests/slowatan.c: Remove.
10492 * benchtests/slowcos-inputs: Remove.
10493 * benchtests/slowcos.c: Remove.
10494 * benchtests/slowexp-inputs: Remove.
10495 * benchtests/slowexp.c: Remove.
10496 * benchtests/slowpow-inputs: Remove.
10497 * benchtests/slowpow.c: Remove.
10498 * benchtests/slowsin-inputs: Remove.
10499 * benchtests/slowsin.c: Remove.
10500 * benchtests/slowtan-inputs: Remove.
10501 * benchtests/slowtan.c: Remove.
10502 * benchtests/tan-inputs: Add slow benchmark inputs.
10503 * scripts/bench.pl: Parse comments and directives.
10504
d569c6ee
SP
10505 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
10506 in CPPFLAGS.
10507 ($(objpfx)bench-%.c): Remove *-ITER.
10508 * benchtests/bench-modf.c: Remove definition of ITER.
10509 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
10510 (main): Loop for DURATION seconds instead of fixed number of
10511 iterations.
10512 * scripts/bench.pl: Don't expect iterations in parameters.
10513
a6a242fe
RM
105142013-04-29 Roland McGrath <roland@hack.frob.com>
10515
10516 * io/fchdir.c (__fchdir): Renamed from fchdir.
10517 (fchdir): Define as weak alias.
10518
f2da7793
JM
105192013-04-29 Joseph Myers <joseph@codesourcery.com>
10520
10521 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
10522 (ERRNO_EDOM): Likewise.
10523 (ERRNO_ERANGE): Likewise.
10524 (noErrnoTests): New variable.
10525 (init_max_error): Set errno to 0.
10526 (test_single_errno): New function.
10527 (test_errno): Likewise.
10528 (check_float_internal): Call test_errno. Set errno to 0.
10529 (check_complex): Refer to errno tests in comment.
10530 (check_int): Call test_errno. Set errno to 0.
10531 (check_long): Likewise.
10532 (check_bool): Likewise.
10533 (check_longlong): Likewise.
10534 (cos_test): Use ERRNO_* flags for errno tests instead of
10535 check_int.
10536 (expm1_test): Likewise.
10537 (fmod_test): Likewise.
10538 (ilogb_test): Likewise.
10539 (lgamma_test): Likewise.
10540 (pow_test): Likewise.
10541 (remainder_test): Likewise.
10542 (sin_test): Likewise.
10543 (tan_test): Likewise.
10544 (yn_test): Likewise.
10545 (initialize): Set errno to 0.
10546 (main): Print number of errno tests.
10547 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
10548
b1a36ceb
AJ
105492013-04-29 Andreas Jaeger <aj@suse.de>
10550
c3ed8088
AJ
10551 [BZ #15084]
10552 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
10553 and RES_USEVC.
10554
f1a24198
AJ
10555 [BZ #15085]
10556 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
10557 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
10558 unimplemented.
10559
9ce3b2cb
AJ
10560 [BZ #15380]
10561 * stdlib/random.c (__initstate): Return NULL if
10562 __initstate fails.
10563
f1a24198 10564 [BZ #15086]
b1a36ceb
AJ
10565 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
10566 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
10567 RES_SNGLKUPREOP.
10568
7e7b6f36
AZ
105692013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10570
10571 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10572
4d14f449
JM
105732013-04-29 Joseph Myers <joseph@codesourcery.com>
10574
10575 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
10576 of individual tests.
10577 (casin_test): Likewise.
10578 (casinh_test): Likewise.
10579
5b4217d7
JM
105802013-04-27 Joseph Myers <joseph@codesourcery.com>
10581
10582 [BZ #15409]
10583 * math/s_catan.c (__catan): Handle arguments with large real or
10584 imaginary part separately without squaring.
10585 * math/s_catanf.c (__catanf): Likewise.
10586 * math/s_catanh.c (__catanh): Likewise.
10587 * math/s_catanhf.c (__catanhf): Likewise.
10588 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10589 and redefine.
10590 (__catanhl): Handle arguments with large real or imaginary part
10591 separately without squaring.
10592 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10593 and redefine.
10594 (__catanl): Handle arguments with large real or imaginary part
10595 separately without squaring.
10596 * math/libm-test.inc (catan_test): Add more tests.
10597 (catanh_test): Likewise.
10598 * sysdeps/i386/fpu/libm-test-ulps: Update.
10599 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10600
4220c3ef
AJ
106012013-04-27 Andreas Jaeger <aj@suse.de>
10602
10603 [BZ #15007]
10604 * stdlib/stdlib.h: Update guards for qecvt.
10605 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
10606 <stdlib.h>.
10607
4721b2d1
AM
106082013-04-27 Allan McRae <allan@archlinux.org>
10609
10610 * sysdeps/i386/fpu/libm-test-ulps: Update.
10611
f0302940
JM
106122013-04-26 Joseph Myers <joseph@codesourcery.com>
10613
9457fd95
JM
10614 [BZ #15406]
10615 * math/s_catan.c: Include <float.h>.
10616 (__catan): Ensure underflow exception occurs for underflowed
10617 result.
10618 * math/s_catanf.c: Include <float.h>.
10619 (__catanf): Ensure underflow exception occurs for underflowed
10620 result.
10621 * math/s_catanh.c: Include <float.h>.
10622 (__catanh): Ensure underflow exception occurs for underflowed
10623 result.
10624 * math/s_catanhf.c: Include <float.h>.
10625 (__catanhf): Ensure underflow exception occurs for underflowed
10626 result.
10627 * math/s_catanhl.c: Include <float.h>.
10628 (__catanhl): Ensure underflow exception occurs for underflowed
10629 result.
10630 * math/s_catanl.c: Include <float.h>.
10631 (__catanl): Ensure underflow exception occurs for underflowed
10632 result.
10633 * math/libm-test.inc (catan_test): Add more tests.
10634 (catanh_test): Likewise.
10635
f0302940
JM
10636 [BZ #15405]
10637 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
10638 underflowed result.
10639 * math/s_ccoshf.c (__ccoshf): Likewise.
10640 * math/s_ccoshl.c (__ccoshl): Likewise.
10641 * math/s_csin.c (__csin): Likewise.
10642 * math/s_csinf.c (__csinf): Likewise.
10643 * math/s_csinh.c (__csinh): Likewise.
10644 * math/s_csinhf.c (__csinhf): Likewise.
10645 * math/s_csinhl.c (__csinhl): Likewise.
10646 * math/s_csinl.c (__csinl): Likewise.
10647 * math/libm-test.inc (ccos_test): Add more tests.
10648 (ccosh_test): Likewise.
10649 (csin_test): Likewise.
10650 (csinh_test): Likewise.
10651
aa630f59
AZ
106522013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10653
10654 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
10655 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
10656 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
10657 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
10658 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
10659 powerpc/power5+/fpu folders.
10660 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
10661
10662
1b835983
MT
106632013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
10664
10665 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10666
73709b26
JM
106672013-04-25 Joseph Myers <joseph@codesourcery.com>
10668
10669 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
10670 additions to variable.
10671 [$(config-machine) = x86_64] (modules-names): Likewise.
10672 ($(objpfx)tst-audit3): Remove dependency.
10673 ($(objpfx)tst-audit3.out): Likewise.
10674 ($(objpfx)tst-audit4): Likewise.
10675 ($(objpfx)tst-audit4.out): Likewise.
10676 ($(objpfx)tst-audit5): Likewise.
10677 ($(objpfx)tst-audit5.out): Likewise.
10678 ($(objpfx)tst-audit6): Likewise.
10679 ($(objpfx)tst-audit6.out): Likewise.
10680 ($(objpfx)tst-audit7): Likewise.
10681 ($(objpfx)tst-audit7.out): Likewise.
10682 (tst-audit3-ENV): Remove variable.
10683 (tst-audit4-ENV): Likewise.
10684 (tst-audit5-ENV): Likewise.
10685 (tst-audit6-ENV): Likewise.
10686 (tst-audit7-ENV): Likewise.
10687 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
10688 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
10689 addition to variable.
10690 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
10691 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
10692 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
10693 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
10694 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
10695 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
10696 tst-audit3, tst-audit4 and tst-audit5.
10697 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
10698 tst-audit6 and tst-audit7.
10699 [$(subdir) = elf] (modules-names): Add audit modules for those
10700 tests.
10701 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
10702 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
10703 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
10704 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
10705 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
10706 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
10707 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
10708 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
10709 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
10710 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
10711 [$(subdir) = elf] (tst-audit3-ENV): New variable.
10712 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
10713 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
10714 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
10715 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
10716 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
10717 Likewise.
10718 [$(subdir) = elf && $(config-cflags-avx) = yes]
10719 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
10720 [$(subdir) = elf && $(config-cflags-avx) = yes]
10721 (CFLAGS-tst-auditmod4a.c): Likewise.
10722 [$(subdir) = elf && $(config-cflags-avx) = yes]
10723 (CFLAGS-tst-auditmod4b.c): Likewise.
10724 [$(subdir) = elf && $(config-cflags-avx) = yes]
10725 (CFLAGS-tst-auditmod6b.c): Likewise.
10726 [$(subdir) = elf && $(config-cflags-avx) = yes]
10727 (CFLAGS-tst-auditmod6c.c): Likewise.
10728 [$(subdir) = elf && $(config-cflags-avx) = yes]
10729 (CFLAGS-tst-auditmod7b.c): Likewise.
10730 * elf/tst-audit3.c: Move to ...
10731 * sysdeps/x86_64/tst-audit3.c: ... here.
10732 * elf/tst-audit4.c: Move to ...
10733 * sysdeps/x86_64/tst-audit4.c: ... here.
10734 * elf/tst-audit5.c: Move to ...
10735 * sysdeps/x86_64/tst-audit5.c: ... here.
10736 * elf/tst-audit6.c: Move to ...
10737 * sysdeps/x86_64/tst-audit6.c: ... here.
10738 * elf/tst-audit7.c: Move to ...
10739 * sysdeps/x86_64/tst-audit7.c: ... here.
10740 * elf/tst-auditmod3a.c: Move to ...
10741 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
10742 * elf/tst-auditmod3b.c: Move to ...
10743 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
10744 * elf/tst-auditmod4a.c: Move to ...
10745 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
10746 * elf/tst-auditmod4b.c: Move to ...
10747 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
10748 * elf/tst-auditmod5a.c: Move to ...
10749 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
10750 * elf/tst-auditmod5b.c: Move to ...
10751 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
10752 * elf/tst-auditmod6a.c: Move to ...
10753 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
10754 * elf/tst-auditmod6b.c: Move to ...
10755 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
10756 * elf/tst-auditmod6c.c: Move to ...
10757 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
10758 * elf/tst-auditmod7a.c: Move to ...
10759 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
10760 * elf/tst-auditmod7b.c: Move to ...
10761 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
10762
1ef74943
PP
107632013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
10764
10765 [BZ #15366]
10766 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
10767 define unconditionally.
10768 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
10769 define unconditionally.
10770 (INT8_C, INT16_C, etc.): Likewise.
10771
93fd48c5
MR
107722013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
10773
ae9552cf
MR
10774 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
10775 __ehdr_start with hidden visibility.
10776
93fd48c5
MR
10777 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
10778
418601aa
CD
107792013-04-24 Carlos O'Donell <carlos@redhat.com>
10780
10781 * math/libm-test.inc (cos_test): Use accurate hex constants.
10782 (sincost_test): Likewise.
10783
2f38fbfe
JM
107842013-04-24 Joseph Myers <joseph@codesourcery.com>
10785
5e221800
JM
10786 * math/libm-test.inc (catan_test): Add more tests.
10787 (catanh_test): Likewise.
10788
77f143fd
JM
10789 * math/s_catanf.c (__catanf): Use suffixed floating-point
10790 constants.
10791 * math/s_catanhf.c (__catanhf): Likewise.
10792 * math/s_catanhl.c (__catanhl): Likewise.
10793 * math/s_catanl.c (__catanl): Likewise.
10794
2f38fbfe
JM
10795 [BZ #15394]
10796 * math/s_catan.c (__catan): Calculate imaginary part of result
10797 with log1p not log unless computing log of number close to 0.
10798 * math/s_catanf.c (__catanf): Likewise.
10799 * math/s_catanl.c (__catanl): Likewise.
10800 * math/s_catanh.c (__catanh): Calculate real part of result with
10801 log1p not log unless computing log of number close to 0.
10802 * math/s_catanhf.c (__catanhf): Likewise.
10803 * math/s_catanhl.c (__catanhl): Likewise.
10804 * math/libm-test.inc (catan_test): Add more tests.
10805 (catanh_test): Likewise.
10806 * sysdeps/i386/fpu/libm-test-ulps: Update.
10807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10808
45d69176
SP
108092013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10810
10811 * benchtests/Makefile: Mention files in which fast and slow
10812 paths of math functions are implemented.
10813
87f51853
RM
108142013-04-23 Roland McGrath <roland@hack.frob.com>
10815
10816 * sysdeps/posix/timespec_get.c: New file.
10817
3c026539
AZ
108182013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10819
10820 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
10821 POWER.
10822 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
10823 for POWER.
10824 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
10825 powerpc/power5/fpu folders.
10826 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
10827 * benchtests/Makefile: Add modf testcase.
10828 * benchtests/bench-modf.c: New file: Benchmark test for mo
10829
ff491d14
SP
108302013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10831
10832 [BZ #14888]
10833 * time/Makefile (tests): Add tst-strptime-whitespace.
10834 * time/strptime_l.c (get_number): Use ISSPACE.
10835 (__strptime_internal): Likewise.
10836 * time/tst-strptime-whitespace.c: New test case.
10837
7ed3f4e8
AS
108382013-04-23 Andreas Schwab <schwab@linux-m68k.org>
10839
10840 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
10841 member.
10842 (_nss_files_init): Set it here.
10843
5c95f7b6
HC
108442013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
10845
10846 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
10847 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
10848 unsigned.
10849
d34c9158
JBG
108502013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
10851
10852 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
10853
2169712d
SP
108542013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10855
10856 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
10857 size just once.
10858
29c5de99
DM
108592013-04-21 David S. Miller <davem@davemloft.net>
10860
10861 * po/ru.po: Update Russion translation from translation project.
10862
ccdad15d
AC
108632013-04-17 Adam Conrad <adconrad@0c3.net>
10864
10865 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
10866 and setfsgid.
10867
0f122b8d
CD
108682013-04-17 Carlos O'Donell <carlos@redhat.com>
10869
5c5b07da 10870 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 10871 * configure: Regenerate.
5c5b07da 10872 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
10873 Add example to error message.
10874 * sysdeps/i386/configure: Regenerate.
10875
037714dd
SP
108762013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10877
10878 * benchtests/Makefile (bench): Add cos, tan, slowcos and
10879 slowtan.
10880 * benchtests/cos-inputs: New file.
10881 * benchtests/slowcos-inputs: New file.
10882 * benchtests/slowcos.c: New file.
10883 * benchtests/slowtan-inputs: New file.
10884 * benchtests/slowtan.c: New file.
10885 * benchtests/tan-inputs: New file.
10886
e913141d
RM
108872013-04-16 Roland McGrath <roland@hack.frob.com>
10888
10889 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
10890 considered kosher.
10891
a2964074
SP
108922013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10893
4856bcd2
SP
10894 * benchtests/Makefile: Include cppflags-iterator.mk to add
10895 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
10896
a2964074
SP
10897 * Makefile.in (bench-clean): New target.
10898 * benchtests/Makefile (bench-clean): Likewise.
10899
9fbf9aca
DH
109002013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
10901
10902 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
10903
207d1e2a
TS
109042013-04-15 Thomas Schwinge <thomas@codesourcery.com>
10905
10906 * stdio-common/tstdiomisc.c: Fix coding-style violation.
10907
306dfba9
AS
109082013-04-15 Andreas Schwab <schwab@suse.de>
10909
10910 * nscd/grpcache.c (cache_addgr): Properly check for short write.
10911 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10912 * nscd/pwdcache.c (cache_addpw): Likewise.
10913 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
10914 more than recsize.
10915
206a6699
SP
109162013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10917
10918 * benchtests/Makefile (bench): Write all output to
10919 bench-out.tmp together.
10920
0582f6b3
AS
109212013-04-15 Andreas Schwab <schwab@suse.de>
10922
10923 * nscd/nscd.c (main): Don't fork again after closing files.
10924
acb4325f
SP
109252013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10926
5cb26d0a
SP
10927 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
10928
acb4325f
SP
10929 * benchtests/Rules (bench-deps): Collect dependencies into a
10930 single variable. Add Makefile to dependencies.
10931 ($(objpfx)bench-%.c): Depend on bench-deps.
10932
47792506
RM
109332013-04-12 Roland McGrath <roland@hack.frob.com>
10934 Xavier Roche <roche+kml2@exalead.com>
10935
10936 [BZ #15361]
10937 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
10938 just that it's a file descriptor.
10939 * manual/llio.texi (Synchronizing AIO Operations): Update description
10940 for EBADF error from aio_fsync.
10941
8fc1bee5
SP
109422013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10943
10944 * Rules (bench): Move target definition...
10945 * benchtests/Makefile: ... here.
10946
aba5e333
CD
109472013-04-11 Carlos O'Donell <carlos@redhat.com>
10948
10949 * math/libm-test.inc (cos_test): Fix PI/2 test.
10950 (sincos_test): Likewise.
10951 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
10952 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
10953
273cdee8
AS
109542013-04-11 Andreas Schwab <schwab@suse.de>
10955
6ecec3b6
AS
10956 [BZ #13988]
10957 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
10958 accept exponent character only when digits were seen.
10959 * stdio-common/Makefile (tests): Add bug26.
10960 * stdio-common/bug26.c: New file.
10961
273cdee8
AS
10962 [BZ #14293]
10963 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
10964 non-freeable.
10965
8da491f5
SP
109662013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10967
01dc6df9
SP
10968 * Makeconfig (rtld-prefix): Define built linker prefix.
10969 * Rules (run-bench): Use it.
10970 * math/Makefile (run-regen-ulps): Likewise.
10971
8da491f5
SP
10972 * Rules (bench): Remove eval.
10973
abe7f530
SP
109742013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10975 Roland McGrath <roland@hack.frob.com>
10976 Ondrej Bilka <neleai@seznam.cz>
10977
10978 [BZ #15346]
10979 * time/getdate.c: Include ctype.h and alloca.h.
10980 (__getdate_r): Trim leading and trailing spaces of input.
10981 * time/tst-getdate.c (tests): Add tests with leading and
10982 trailing spaces.
10983
61c23e62
RM
109842013-04-08 Roland McGrath <roland@hack.frob.com>
10985
10986 [BZ #14280]
10987 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
10988 when computing value.
10989
7208a313
CD
109902013-04-06 Carlos O'Donell <carlos@redhat.com>
10991
085b2d41
CD
10992 * math/README.libm-test (How can I generate "libm-test-ulps"?):
10993 Use testrun.sh to run libm tests.
10994
7208a313
CD
10995 [BZ #15309]
10996 * elf/dl-open.c (dl_open_worker): memset all of seen array.
10997
872c0acd
MM
109982013-04-06 Marko Myllynen <myllynen@redhat.com>
10999
11000 [BZ #15264]
11001 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
11002
26510bdd
CD
110032013-04-06 Carlos O'Donell <carlos@redhat.com>
11004
11005 * Makefile.in (regen-ulps): New target.
11006 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
11007 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
11008 [ifneq (no,$(PERL)] (regen-ulps): New target.
11009 [ifeq (no,$(PERL)] (regen-ulps): New target.
11010 * math/libm-test.inc (ulps_file_name): Define.
11011 (output_dir): New variable.
11012 (options): Add "output-dir" option.
11013 (parse_opt): Handle 'o' case.
11014 (main): If output_dir is non-NULL use it as a prefix
11015 otherwise use "".
11016 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
11017
a01f19c8
CD
110182013-04-06 Carlos O'Donell <carlos@redhat.com>
11019
11020 [BZ #10060, #10062]
11021 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
11022 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
11023 fail configure if __sync_val_compare_and_swap is not inlined.
11024 * sysdeps/i386/configure: Regenerate.
11025 * configure.in: Build for i686 when configured for i386.
11026 * configure: Regenerate.
11027 * README: Remove i386 reference.
11028
b7a329a5
CD
110292013-04-06 Carlos O'Donell <carlos@redhat.com>
11030
11031 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
11032 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11033
bf0f50df
TS
110342013-04-05 Thomas Schwinge <thomas@codesourcery.com>
11035
ee091edf
TS
11036 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
11037 (lmsnanval): New variables.
11038 (F): Add conversion tests.
11039 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
11040 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
11041
a8b792d6
TS
11042 * stdio-common/tstdiomisc.c (F): Properly collect individual
11043 tests' results.
11044
a1cbf437
TS
11045 [BZ #14686, #15336]
11046 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
11047 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
11048 Instead, use input NaN values or generate a qNaN by arithmetic
11049 operation. Also fix bugs to comply with the standard.
11050 * math/libm-test.inc (remainder_test): Add more tests.
11051
8b43a0c9
TS
11052 [BZ #15335, #15342]
11053 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
11054 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
11055 input NaN values or generate a qNaN by arithmetic operation.
11056
d91da4ce
TS
11057 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
11058 unreachable code.
11059
bf0f50df
TS
11060 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
11061 definitions.
11062
05e166c8
JM
110632013-04-03 Joseph Myers <joseph@codesourcery.com>
11064
11065 [BZ #14478]
11066 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
11067 underflowed result.
11068 * math/s_cexpf.c (__cexpf): Likewise.
11069 * math/s_cexpl.c (__cexpl): Likewise.
11070 * math/libm-test.inc (cexp_test): Add more tests.
11071
1cef1b19
AS
110722013-04-03 Andreas Schwab <schwab@suse.de>
11073
11074 [BZ #15330]
11075 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
11076 order arrays from heap if bigger than alloca cutoff.
11077
74d87055
TS
110782013-04-03 Thomas Schwinge <thomas@codesourcery.com>
11079
11080 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
11081 (SNAN_TESTS_double): Refer to GCC PR56831.
11082 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
11083 GCC PR56828.
11084
d755bba4
SP
110852013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
11086
90d5d5bb
SP
11087 * Rules (bench): Move bench.out after the run is complete.
11088
73e0cd5d
SP
11089 * Rules (bench): Echo currently running benchmark.
11090
64aabd4b
SP
11091 * benchtests/Makefile (bench): Add atan and slowatan.
11092 * benchtests/atan-inputs: New file.
11093 * benchtests/slowatan-inputs: New file.
11094 * benchtests/slowatan.c: New file.
11095
c871eccd
SP
11096 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
11097 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
11098 its value.
11099
d755bba4
SP
11100 [BZ #15305]
11101 * sysdeps/unix/sysv/linux/kernel-features.h
11102 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
11103 __ASSUME_XFS_RESTRICTED_CHOWN.
11104 * sysdeps/unix/sysv/linux/pathconf.c
11105 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
11106 Save and restore errno.
11107
52ce4860
JM
111082013-04-02 Joseph Myers <joseph@codesourcery.com>
11109
11110 [BZ #15327]
11111 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
11112 arguments using __kernel_casinh.
11113 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
11114 arguments using __kernel_casinhf.
11115 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
11116 arguments using __kernel_casinhl.
11117 * math/libm-test.inc (cacosh_test): Add more tests.
11118 * sysdeps/i386/fpu/libm-test-ulps: Update.
11119 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11120
81f311c2
SP
111212013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11122
e7906a47
SP
11123 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
11124 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
11125
92e3664b
SP
11126 * bench/Makefile (bench): Add sin and slowsin.
11127 * benchtests/sin-inputs: New file.
11128 * benchtests/slowsin-inputs: New file.
11129 * benchtests/slowsin.c: New file.
11130
81f311c2
SP
11131 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
11132 (bench): Add slowexp and slowpow.
11133 (exp-ITER): Increase iterations.
11134 (pow-ITER): Likewise.
11135 * benchtests/exp-inputs: Change input.
11136 * benchtests/pow-inputs: Likewise.
11137 * benchtests/slowexp-inputs: New file.
11138 * benchtests/slowexp.c: New file.
11139 * benchtests/slowpow-inputs: New file.
11140 * benchtests/slowpow.c: New file.
11141
ab0f1aa9
AZ
111422013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11143
11144 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
11145 instructions.
11146 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
11147 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
11148 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
11149 * benchtests/Makefile: Add rint benchtest.
11150 * benchtests/rint-inputs: Input for rint benchtest.
11151
57267616
TS
111522013-04-02 Thomas Schwinge <thomas@codesourcery.com>
11153
11154 * Versions.def (libm): Add GLIBC_2.18.
11155 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
11156 hidden libm prototypes.
11157 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
11158 * math/Makefile (libm-calls): Add s_issignaling.
11159 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
11160 __issignalingf, __issignalingl. Adjust all libm.abilist files.
11161 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
11162 declaration.
11163 * math/math.h [__USE_GNU] (issignaling): New macro.
11164 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
11165 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
11166 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
11167 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
11168 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
11169 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
11170 * manual/arith.texi (issignaling): New section.
11171 * manual/libm-err-tab.pl (@all_functions): Update comment.
11172 * math/gen-libm-test.pl (parse_args): Apply special handling for
11173 issignaling.
11174 * math/libm-test.inc (print_float, issignaling_test): New
11175 functions.
11176 (check_float_internal): Add issignaling checks.
11177 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
11178 default definition.
11179 * sysdeps/powerpc/math-tests.h: New file.
11180 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
11181 tests.
11182 * math/test-snan.c (TEST_FUNC): Likewise.
11183
6142896d
DM
111842013-03-30 David S. Miller <davem@davemloft.net>
11185
11186 * po/de.po: Update from translation team.
11187
ccc8cadf
JM
111882013-03-30 Joseph Myers <joseph@codesourcery.com>
11189
11190 [BZ #10357]
11191 * math/k_casinh.c (__kernel_casinh): Handle arguments with
11192 imaginary part less than 1.0 and real part less than 0.5
11193 specially.
11194 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11195 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11196 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
11197 (cacos_test): Add more tests.
11198 (casin_test): Likewise.
11199 (casinh_test): Likewise.
11200 * sysdeps/i386/fpu/libm-test-ulps: Update.
11201 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11202
0f6a8d4b
SP
112032013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11204
0d1029de
SP
11205 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
11206 ONE with its value.
11207
c2d94018
SP
11208 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
11209 (__pow_mp): Replace ONE and MONE with their values.
11210 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11211 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
11212 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11213 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
11214 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11215 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11216
27ec37f1
SP
11217 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
11218
a64d7e0e
SP
11219 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
11220 (__pow_mp): Replace ZERO and MZERO with their values.
11221 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
11222 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11223 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11224 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11225 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11226 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
11227 (__sqr): Likewise.
11228
d26dd3eb
SP
11229 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
11230
0f6a8d4b
SP
11231 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
11232
e57b0c61
RM
112332013-03-28 Roland McGrath <roland@hack.frob.com>
11234
11235 * include/stdlib.h [!SHARED] (__call_tls_dtors):
11236 Declare with __attribute__ ((weak)).
11237 * stdlib/exit.c (__libc_atexit) [!SHARED]:
11238 Call __call_tls_dtors only if it's not NULL.
11239
356b3480
RM
112402013-03-28 Roland McGrath <roland@hack.frob.com>
11241
288f7d79
RM
11242 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
11243 didn't do it already, then set _dl_phdr and _dl_phnum based on the
11244 magic __ehdr_start linker symbol if it's defined.
11245 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
11246 them up here if it was already done.
11247
dc0a0263
RM
11248 * elf/dl-support.c (_dl_phdr): Make pointer to const.
11249 (_dl_aux_init): Use const in cast when setting it.
11250 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
11251 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
11252 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
11253
3d3436ae
RM
11254 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
11255 Declare them here.
11256 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
11257 * csu/libc-tls.c: Nor here.
11258 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
11259
356b3480
RM
11260 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
11261 (__libc_message): Never call vsyslog.
11262
b0f1246a
AM
112632013-03-28 Alan Modra <amodra@gmail.com>
11264
11265 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
11266 Define as empty.
11267 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
11268 Likewise.
11269
fbbe2b9a
AZ
112702013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11271
11272 [BZ #15214]
11273 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
11274 underflow.
11275 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11276
1728ab37
SP
112772013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11278
7a86be6e
SP
11279 [BZ #15304]
11280 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
11281 Don't add gid passed as argument.
11282
1728ab37
SP
11283 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
11284
3a7182a1
JM
112852013-03-27 Joseph Myers <joseph@codesourcery.com>
11286
11287 [BZ #15307]
11288 * math/k_casinh.c (__kernel_casinh): Handle arguments with
11289 imaginary part between 1.0 and 1.5 and real part less than 0.5
11290 specially.
11291 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11292 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11293 * math/libm-test.inc (cacos_test): Add more tests.
11294 (casin_test): Likewise.
11295 (casinh_test): Likewise.
11296 * sysdeps/i386/fpu/libm-test-ulps: Update.
11297 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11298
6f2e90e7
SP
112992013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11300
5739f705
SP
11301 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
11302 constants.
11303 (norm): Likewise.
11304 (denorm): Likewise.
11305 (__dbl_mp): Likewise.
11306 (add_magnitudes): Likewise.
11307 (sub_magnitudes): Likewise.
11308 (__add): Likewise.
11309 (__sub): Likewise.
11310 (__mul): Likewise.
11311 (__sqr): Likewise.
11312 (__inv): Likewise.
11313 (__dvd): Likewise.
11314
e375e83d
SP
11315 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
11316 commented code.
11317 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
11318 (__dubcos): Likewise.
11319 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
11320 (__ieee754_acos): Likewise.
11321 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
11322 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
11323 (__exp1): Likewise.
11324 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11325 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
11326 (log1): Likewise.
11327 (my_log2): Likewise.
11328 (checkint): Likewise.
11329 * sysdeps/ieee754/dbl-64/e_remainder.c
11330 (__ieee754_remainder): Likewise.
11331 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11332 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
11333 (bsloww): Likewise.
11334 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11335
6f2e90e7
SP
11336 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11337 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
11338 MANTISSA_STORE_T to store computations on mantissa. Use
11339 macros for rounding and division.
11340 (denorm): Likewise.
11341 (__dbl_mp): Likewise.
11342 (add_magnitudes): Likewise.
11343 (sub_magnitudes): Likewise.
11344 (__mul): Likewise.
11345 (__sqr): Likewise.
11346 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
11347 powers of two in terms of TWOPOW macro.
11348 (mp_no): Make type of mantissa as MANTISSA_T.
11349 [!RADIXI]: Define RADIXI.
11350 [!TWO52]: Define TWO52.
11351 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11352
fce14d4e
AZ
113532013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11354
11355 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
11356 llroundl symbol when building for PPC32.
11357
9ad027fb
MW
113582013-03-24 Mark H Weaver <mhw@netris.org>
11359
11360 * manual/arith.texi (Normalization Functions): Fix prototypes for
11361 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
11362
e42a38dd
AZ
113632013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11364
11365 [BZ #13889]
11366 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
11367 high value to check if expl overflow.
11368 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
11369 to check for underflow and overflow.
11370 * math/libm-test.inc: Add exp test.
11371
2e0fb521
DL
113722013-03-21 Dmitry V. Levin <ldv@altlinux.org>
11373
11374 [BZ #11120]
11375 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
11376 with NOT_IN_libc.
11377
b5784d95
AZ
113782013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11379
11380 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
11381 symbol.
11382
5aa4a1a1
TS
113832013-03-21 Thomas Schwinge <thomas@codesourcery.com>
11384
bdef0be7
TS
11385 * math/gen-libm-test.pl (parse_args, special_functions): Properly
11386 wrap blocks consisting of several statements.
11387
5aa4a1a1
TS
11388 * sysdeps/generic/math-tests.h: New file.
11389 * sysdeps/i386/fpu/math-tests.h: Likewise.
11390 * math/test-snan.c: Include it.
11391 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
11392
98c48fe5
JM
113932013-03-21 Joseph Myers <joseph@codesourcery.com>
11394
11395 [BZ #15285]
11396 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
11397 (__ieee754_j0l): Do not improve calculations using cos of twice
11398 input for inputs above LDBL_MAX / 2.0L.
11399 (__ieee754_y0l): Likewise.
11400 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
11401 (__ieee754_j1l): Do not improve calculations using cos of twice
11402 input for inputs above LDBL_MAX / 2.0L.
11403 (__ieee754_y1l): Likewise.
11404 * math/libm-test.inc (j0_test): Add another test.
11405 (j1_test): Likewise.
11406 (y0_test): Likewise.
11407 (y1_test): Likewise.
11408 * sysdeps/i386/fpu/libm-test-ulps: Update.
11409
3775a8bc
SP
114102013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11411
11412 * Rules ($(objpfx)bench-%.c): Include code from a C source
11413 file.
11414
0a1b2ae6
JM
114152013-03-21 Joseph Myers <joseph@codesourcery.com>
11416
11417 [BZ #15287]
11418 * math/k_casinh.c (__kernel_casinh): Handle arguments with
11419 imaginary part 1.0 and real part less than 0.5 specially.
11420 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11421 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11422 * math/libm-test.inc (cacos_test): Add more tests.
11423 (casin_test): Likewise.
11424 (casinh_test): Likewise.
11425 * sysdeps/i386/fpu/libm-test-ulps: Update.
11426 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11427
b33d4ce4
SP
114282013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11429
11430 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
11431 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
11432
bef0b507
JM
114332013-03-20 Joseph Myers <joseph@codesourcery.com>
11434
11435 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
11436 * config.make.in (config-cflags-sse4): Remove variable.
11437 (config-cflags-avx): Likewise.
11438 (config-cflags-sse2avx): Likewise.
11439 (config-cflags-novzeroupper): Likewise.
11440 (config-asflags-i686): Likewise.
11441 (have-mfma4): Likewise.
11442 (have-as-vis3): Likewise.
11443 (MIG): Likewise.
11444 * configure.in (MIG): Do not AC_SUBST.
11445 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
11446 (libc_cv_cc_sse4): Do not AC_SUBST.
11447 (libc_cv_cc_avx): Likewise.
11448 (libc_cv_cc_sse2avx): Likewise.
11449 (libc_cv_cc_novzeroupper): Likewise.
11450 (libc_cv_cc_fma4): Likewise.
11451 (libc_cv_as_i686): Likewise.
11452 (libc_cv_sparc_as_vis3): Likewise.
11453 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
11454 LIBC_CONFIG_VAR.
11455 (config-asflags-i686): Likewise.
11456 (config-cflags-avx): Likewise.
11457 (config-cflags-sse2avx): Likewise.
11458 (have-mfma4): Likewise.
11459 (config-cflags-novzeroupper): Likewise.
11460 * sysdeps/mach/configure.in (MIG): Likewise.
11461 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
11462 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
11463 LIBC_CONFIG_VAR.
11464 (config-cflags-avx): Likewise.
11465 (config-cflags-sse2avx): Likewise.
11466 (have-mfma4): Likewise.
11467 (config-cflags-novzeroupper): Likewise.
11468 * configure: Regenerated.
11469 * sysdeps/i386/configure: Likewise.
11470 * sysdeps/mach/configure: Likewise.
11471 * sysdeps/sparc/configure: Likewise.
11472 * sysdeps/x86_64/configure: Likewise.
11473
912cc4b3
RM
114742013-03-20 Roland McGrath <roland@hack.frob.com>
11475
11476 [BZ #14812]
11477 * locale/programs/localedef.c (options): Put N_ translation marker
11478 on argument names, not just descriptions.
11479
04eed2b0
MS
114802013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11481
11482 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
11483
a065ceff
OB
114842013-03-20 Ondřej Bílka <neleai@seznam.cz>
11485
9bb2a810 11486 [BZ #14176]
a065ceff
OB
11487 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
11488
a600e5ce
RM
114892013-03-19 Roland McGrath <roland@hack.frob.com>
11490
11491 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
11492 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
11493 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
11494 [!BEFORE_ABORT] (before_abort): New function.
11495 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
11496 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
11497 (writev_for_fatal): New function.
11498 (WRITEV_FOR_FATAL): New macro; call that.
11499 (backtrace_and_maps): New function.
11500 (BEFORE_ABORT): New macro; call that.
11501 (struct str_list): Type removed.
11502 (__libc_message, __libc_fatal): Functions removed.
11503 Include <sysdeps/posix/libc_fatal.c> instead.
11504
6b18bea6
JM
115052013-03-19 Joseph Myers <joseph@codesourcery.com>
11506
11507 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
11508 constants.
11509 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
11510 double constants.
11511
aaa8cb4b
AS
115122013-03-19 Andreas Schwab <schwab@suse.de>
11513
44673770
AS
11514 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
11515 * sysdeps/gnu/configure: Regenerate.
11516
aaa8cb4b
AS
11517 * configure.in: Substitute libc_cv_rtlddir.
11518 * configure: Regenerate.
11519 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
11520 * Makeconfig (rtlddir, inst_rtlddir): New variables.
11521 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
11522 * elf/Makefile (install-others, CFLAGS-interp.c)
11523 (ldso_install, common-ldd-rewrite): Likewise.
11524 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
11525 $(inst_slibdir)/$(rtld-installed-name).
11526 * scripts/rellns-sh: Add -p option.
11527 * Makerules (make-shlib-link): Use rellns-sh to get relative name
11528 for source.
11529
d3cfc668
SP
115302013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11531
11532 * manual/nptl.texi: Renamed to ...
11533 * manual/threads.texi: ... this.
11534 * manual/Makefile (chapters): Update.
11535
0e2b9cdd
RM
115362013-03-18 Roland McGrath <roland@hack.frob.com>
11537
11538 [BZ #14812]
11539 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
11540 on argument names, not just descriptions.
0e2b9cdd
RM
11541 * malloc/memusagestat.c (options): Likewise.
11542 * nss/getent.c (options): Likewise.
63270c24
RM
11543
115442013-03-18 Benno Schulenberg <bensberg@justemail.net>
11545
11546 [BZ #14812]
11547 * iconv/iconv_prog.c (options): Put N_ translation marker
11548 on argument names, not just descriptions.
11549 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 11550
b2e1393c
OB
115512013-03-18 Ondrej Bilka <neleai@seznam.cz>
11552
11553 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
11554 implementation which is faster on all x86_64 architectures.
11555 Tested on AMD, Intel Nehalem, SNB, IVB.
11556 * sysdeps/x86_64/strnlen.S: Likewise.
11557
11558 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
11559 Remove all multiarch strlen and strnlen versions.
11560 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11561 Remove strlen and strnlen related parts.
11562
11563 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
11564 Inline strlen part.
11565 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
11566
11567 * sysdeps/x86_64/multiarch/strlen.S: Remove.
11568 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
11569 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
11570 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
11571 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
11572 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
11573
ec4ff04d
CD
115742013-03-17 Carlos O'Donell <carlos@redhat.com>
11575
11576 * manual/memory.texi (Malloc Tunable Parameters):
11577 Sort parameters alphabetically. Add comments for missing entries.
11578
cd18e90a
DM
115792013-03-17 David S. Miller <davem@davemloft.net>
11580
11581 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11582
2a185d32
JM
115832013-03-16 Joseph Myers <joseph@codesourcery.com>
11584
d2f9799e
JM
11585 [BZ #15283]
11586 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
11587 for arguments at most half maximum finite value.
11588 * math/libm-test.inc (j0_test): Add more tests.
11589 (j1_test): Likewise.
11590 (y0_test): Likewise.
11591 (y1_test): Likewise.
11592 * sysdeps/i386/fpu/libm-test-ulps: Update.
11593 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11594
2a185d32
JM
11595 [BZ #14155]
11596 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
11597 1 / x and functions P and Q for arguments above 0x1p256L.
11598 (__ieee754_y0l): Likewise.
11599 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
11600 (__ieee754_y1l): Likewise.
11601 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
11602 (j1_test): Likewise.
11603 (y0_test): Likewise.
11604 (y1_test): Likewise.
11605
6cbec759
TS
116062013-03-16 Thomas Schwinge <thomas@codesourcery.com>
11607
11608 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
11609 variable.
11610
bc16e260
RM
116112013-03-15 Roland McGrath <roland@hack.frob.com>
11612
aefc9b8c
RM
11613 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
11614 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
11615 zero since it's initialized to EXEC_PAGESIZE.
11616
bc16e260
RM
11617 * sysdeps/unix/sysv/linux/ldsodefs.h
11618 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
11619 * sysdeps/generic/ldsodefs.h: ... here.
11620
a57da955
TS
116212013-03-15 Thomas Schwinge <thomas@codesourcery.com>
11622
af00a34d
TS
11623 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
11624
495ded2c
TS
11625 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
11626 math/test-snan.c.
11627 * math/test-snan.c: Renamed from
11628 sysdeps/powerpc/fpu/test-powerpc-snan.c.
11629 * math/Makefile (tests): Add test-snan.
11630 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
11631 test-powerpc-snan.
11632
777b0332
TS
11633 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
11634 SUFFIX. Initialize qNaN_var with __builtin_nan family of
11635 functions.
11636 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
11637 __builtin_nan family of functions.
11638 * math/libm-test.inc (initialize): Initialize qnan_value with
11639 __builtin_nan family of functions.
11640 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
11641 Remove variables.
11642 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
11643 Remove functions.
11644 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
11645 storage class. Initialize qNaN_var and sNaN_var with
11646 __builtin_nan and __builtin_nans families of functions,
11647 respectively.
11648
64d063b8
TS
11649 * math/libm-test.inc (acosh_test): Also test with qNaN input.
11650 (sqrt_test): Remove duplicate test with qNaN input.
11651 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
11652 (round_test, signbit_test, significand_test): Note missing +/-Inf
11653 as well as qNaN tests.
11654
67e971f1
TS
11655 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
11656 qNaN_var. Fix a few strings, too.
11657 * math/libm-test.inc (nan_value): Rename to qnan_value.
11658 * math/gen-libm-test.pl (%beautify): Adjust to that.
11659 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
11660 * math/test-misc.c (main): Likewise.
11661 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
11662 to __qnan_bytes, and __qnan_union, respectively.
11663 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
11664 Likewise.
11665 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
11666 and lqnanval, respectively.
11667 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
11668 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
11669 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
11670 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
11671
64487e12
TS
11672 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
11673 * math/test-misc.c (main) [__x86_64__]: Enable test for long
11674 doubles.
11675
e015e27b
TS
11676 * math/test-misc.c (main): Fix copy'n'pastos.
11677 * misc/tst-efgcvt.c (special): Likewise.
11678
a57da955
TS
11679 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
11680 Remove declarations.
11681
1e380345
SP
116822013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11683
11684 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
11685 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
11686 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
11687 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
11688
ef26eece
AZ
116892013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11690
11691 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
11692 macro to return vdso values correctly in IFUNC implementations.
11693 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11694 Optimization by using IFUNC.
11695
8cfdb7e0
SP
116962013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11697 Richard Henderson <rth@redhat.com>
11698 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11699
11700 * Makefile.in (bench): New target.
11701 * NEWS: Mention the benchmark framework.
11702 * Rules (bench): Likewise.
11703 (binaries-bench): Generate binaries for functions to
11704 benchmark.
11705 * benchtests/Makefile: New makefile for benchmark tests.
11706 * benchtests/bench-skeleton.c: New skeleton file for benchmark
11707 programs.
11708 * benchtests/exp-inputs: New input file for EXP function.
11709 * benchtests/pow-inputs: New input file for POW function.
11710 * scripts/bench.pl: New script to generate source files for
11711 benchmark programs.
11712
bcda9880
SP
117132013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11714
d22ca8cd
SP
11715 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11716 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
11717 computations on mantissa. Use macros for rounding and
11718 division.
11719 (denorm): Likewise.
11720 (__dbl_mp): Likewise.
11721 (add_magnitudes): Likewise.
11722 (sub_magnitudes): Likewise.
11723 (__mul): Likewise.
11724 (__sqr): Likewise.
11725 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
11726 powers of two in terms of TWOPOW macro.
11727 (mp_no): Make type of mantissa as MANTISSA_T.
11728 [!RADIXI]: Define RADIXI.
11729 [!TWO52]: Define TWO52.
11730 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11731
bcda9880
SP
11732 * manual/nptl.texi (cindex): Modify threads to pthreads.
11733
06d5adfb
JM
117342013-03-15 Joseph Myers <joseph@codesourcery.com>
11735
11736 * sysdeps/x86_64/preconfigure: Regenerated.
11737
41c7328e
JM
117382013-03-14 Joseph Myers <joseph@codesourcery.com>
11739
11740 [BZ #14155]
11741 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
11742 0x1p28 and above.
11743 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
11744 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
11745 0x1p28 and above.
11746 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
11747 * math/libm-test.inc (j0_test): Do not allow one spurious
11748 underflow exception.
11749 (y1_test): Likewise.
11750
e25cfa60
SP
117512013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11752
0409959c
SP
11753 * manual/Makefile (chapters): Add nptl.
11754 * manual/debug.texi (Debugging Support): Add link to Threads
11755 chapter.
11756 * manual/nptl.texi: New file.
11757
e25cfa60
SP
11758 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
11759
58a1335e
PB
117602013-03-14 Petr Baudis <pasky@ucw.cz>
11761
11762 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
11763 for non-NULL pointer before the memory validity test. Pointed
11764 out by Holger Brunck <holger.brunck@keymile.com>.
11765
9dc7c64f
AS
117662013-03-13 Andreas Schwab <schwab@suse.de>
11767
11768 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
11769 instead of .os.
11770
54206aa6
JM
117712013-03-13 Joseph Myers <joseph@codesourcery.com>
11772
11773 * timezone/zic.c: Update from tzcode 2013b.
11774
e98cdb38
CD
117752013-03-12 Carlos O'Donell <carlos@redhat.com>
11776
11777 * manual/install.texi (Configuring and compiling):
11778 Mention i686 and i586.
11779 * INSTALL: Regenerate.
11780
9967e003
RM
117812013-03-12 Roland McGrath <roland@hack.frob.com>
11782
11783 * sysdeps/init_array/elf-init.c: New file.
11784 * csu/elf-init.c
11785 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
11786 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
11787
11788 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
11789 __gmon_start__ as global, but as static with a .preinit_array pointer.
11790 * sysdeps/init_array/gmon-start.c: New file. Use that.
11791 * sysdeps/init_array/crti.S: New file, empty except for comments.
11792 * sysdeps/init_array/crtn.S: Likewise.
11793
e6b5a293 117942013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
11795
11796 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
11797 definining bcopy.
80f844c9
OB
11798 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11799 Remove Prefer_SSE_for_memop.
11800 * sysdeps/x86_64/multiarch/init-arch.h: Remove
11801 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
11802 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
11803 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
11804 memset-x86-64.
80f844c9 11805 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 11806 Remove bzero, memset ifunc support.
80f844c9
OB
11807 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
11808 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
11809 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11810 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11811
fb6b0fcb
AS
118122013-03-11 Andreas Schwab <schwab@suse.de>
11813
11814 [BZ #15234]
11815 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
11816 by SHLIB_COMPAT.
11817 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
11818 (GLIBC_2.16): Remove pthread_atfork.
11819
3e6bd4b1
PP
118202013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
11821
11822 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
11823 (ptestcases.h): Likewise.
11824
222d7f00
RM
118252013-03-08 Roland McGrath <roland@hack.frob.com>
11826
11827 * Makeconfig ($(common-objpfx)config.status): Depend on
11828 sysdeps/*/preconfigure{,.in} too.
11829
1ba4f030
JM
118302013-03-08 Joseph Myers <joseph@codesourcery.com>
11831
a222d91a
JM
11832 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
11833 (__free_hook): Use void * instead of __malloc_ptr_t.
11834 (__malloc_hook): Likewise.
11835 (__realloc_hook): Likewise.
11836 (__memalign_hook): Likewise.
11837 (__after_morecore_hook): Likewise.
11838 * malloc/arena.c (save_malloc_hook): Likewise.
11839 (save_free_hook): Likewise.
11840 * malloc/hooks.c (malloc_hook_ini): Likewise.
11841 (realloc_hook_ini): Likewise.
11842 (memalign_hook_ini): Likewise.
11843 * malloc/malloc.c (malloc_hook_ini): Likewise.
11844 (realloc_hook_ini): Likewise.
11845 (memalign_hook_ini): Likewise.
11846 (__free_hook): Likewise.
11847 (__malloc_hook): Likewise.
11848 (__realloc_hook): Likewise.
11849 (__memalign_hook): Likewise.
11850 (__libc_malloc): Likewise.
11851 (__libc_free): Likewise.
11852 (__libc_realloc): Likewise.
11853 (__libc_memalign): Likewise.
11854 (__libc_valloc): Likewise.
11855 (__libc_pvalloc): Likewise.
11856 (__libc_calloc): Likewise.
11857 (__posix_memalign): Likewise.
11858 * malloc/morecore.c (__sbrk): Likewise.
11859 (__default_morecore): Likewise.
11860
5cc45e10
JM
11861 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
11862
dd54b864
JM
11863 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
11864 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
11865 __malloc_ptrdiff_t.
11866
1ba4f030
JM
11867 * malloc/malloc.h (__malloc_size_t): Remove macro.
11868 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
11869 __malloc_size_t.
11870 (old_memalign_hook): Likewise.
11871 (old_realloc_hook): Likewise.
11872 (struct hdr): Likewise.
11873 (flood): Likewise.
11874 (mallochook): Likewise.
11875 (memalignhook): Likewise.
11876 (reallochook): Likewise.
11877 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
11878 (tr_old_realloc_hook): Likewise.
11879 (tr_old_memalign_hook): Likewise.
11880 (tr_mallochook): Likewise.
11881 (tr_reallochook): Likewise.
11882 (tr_memalignhook): Likewise.
11883
edf66e57
AZ
118842013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11885
11886 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
11887 default_ldbl_pack and using as default implementation.
11888 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
11889 implementation.
11890 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
11891 redundant definition.
11892 (ldbl_insert_mantissa): Likewise.
11893 (ldbl_canonicalize): Likewise.
11894 (ldbl_nearbyint): Likewise.
11895 (ldbl_pack): Rename to ldbl_pack_ppc.
11896 (ldbl_unpack): Rename to ldbl_unpack_ppc.
11897 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
11898 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
11899
6d9145d8
SP
119002013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11901
11902 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
11903 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
11904 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
11905 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
11906 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
11907 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
11908 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
11909 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
11910
4dd4e157
AJ
119112013-03-07 Andreas Jaeger <aj@suse.de>
11912
11913 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11914 bits/mman-linux.h.
11915
adbb8027
SP
119162013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
11917
ce544b5b
SP
11918 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
11919 Include mpa.h and declare __MPEXP.
11920 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
11921 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11922 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11923 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
11924 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11925 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11926 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
11927
4cc149fd
SP
11928 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
11929 (__slowpow): Use long double EXPL and LOGL functions to
11930 compute POW.
11931 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11932 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11933 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
11934 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11935 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11936 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
11937
e6ebd4a7
SP
11938 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
11939 intermediate variable to calculate exponent.
11940 (__sqr): Likewise.
11941 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
11942 Likewise.
11943 (__sqr): Likewise.
11944
82a9811d
SP
11945 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
11946 [!NO__SQR]: Define __sqr.
11947 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
11948 and NO__SQR. Remove all code except __mul and __sqr. Include
11949 sysdeps/ieee754/dbl-64/mpa.c.
11950 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11951
adbb8027
SP
11952 [BZ #12723]
11953 * posix/Makefile (tests): Add tst-pathconf.
11954 * posix/tst-pathconf.c: New test case.
11955 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
11956 _PC_PIPE_BUF.
11957 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
11958
39120df9
PF
119592013-03-06 Patsy Franklin <pfrankli@redhat.com>
11960
11961 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
11962
67525cb8
AJ
119632013-03-06 Andreas Jaeger <aj@suse.de>
11964
664a9ce4
AJ
11965 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
11966 definition via __MAP_ANONYMOUS.
11967
8e39047d
AJ
11968 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
11969 it's not part of Linux headers.
11970
67525cb8
AJ
11971 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
11972 (MAP_HUGE_MASK): Define.
11973
11974 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11975 Define.
11976 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11977 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11978 Define.
11979 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11980 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11981 Define.
11982 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11983 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
11984 Define.
11985 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11986
11987 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
11988 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
11989 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
11990 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
11991 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
11992 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
11993
11994 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
11995 Handle f2fs.
11996
11997 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11998 Handle f2fs and efivarfs.
11999
12000 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
12001 f2fs.
12002
12003 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
12004 (EFIVARFS_MAGIC): Add.
12005 (F2FS_LINK_MAX): Add.
12006
e1b42695
PP
120072013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
12008
12009 * stdio-common/vfprintf.c: Replace __builtin_expect with
12010 __glibc_unlikely.
12011
2d67d91a
JM
120122013-03-06 Joseph Myers <joseph@codesourcery.com>
12013
12014 [BZ #13550]
12015 * sysdeps/generic/bp-sym.h: Remove file.
12016 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
12017 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
12018 <bp-sym.h> and <bp-asm.h>.
12019 (__longjmp): Don't use BP_SYM.
12020 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
12021 and <bp-asm.h>.
12022 (memcpy): Don't use BP_SYM.
12023 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
12024 <bp-sym.h> and <bp-asm.h>.
12025 (memcpy): Don't use BP_SYM.
12026 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
12027 <bp-asm.h>.
12028 (memcpy): Don't use BP_SYM.
12029 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
12030 <bp-asm.h>.
12031 (memset): Don't use BP_SYM.
12032 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12033 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12034 (__bzero): Don't use BP_SYM.
12035 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12036 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12037 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
12038 <bp-sym.h> and <bp-asm.h>.
12039 (memcmp): Don't use BP_SYM. Remove comment about bounded
12040 pointers.
12041 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
12042 <bp-sym.h> and <bp-asm.h>.
12043 (memcpy): Don't use BP_SYM.
12044 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
12045 <bp-sym.h> and <bp-asm.h>.
12046 (memset): Don't use BP_SYM.
12047 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12048 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12049 (__bzero): Don't use BP_SYM.
12050 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12051 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12052 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
12053 <bp-sym.h> and <bp-asm.h>.
12054 (strncmp): Don't use BP_SYM. Remove comment about bounded
12055 pointers.
12056 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
12057 <bp-sym.h> and <bp-asm.h>.
12058 (memcpy): Don't use BP_SYM.
12059 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
12060 <bp-sym.h> and <bp-asm.h>.
12061 (memset): Don't use BP_SYM.
12062 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12063 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12064 (__bzero): Don't use BP_SYM.
12065 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12066 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12067 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
12068 <bp-sym.h> and <bp-asm.h>.
12069 (__memchr): Don't use BP_SYM.
12070 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
12071 <bp-sym.h> and <bp-asm.h>.
12072 (memcmp): Don't use BP_SYM. Remove comment about bounded
12073 pointers.
12074 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
12075 <bp-sym.h> and <bp-asm.h>.
12076 (memcpy): Don't use BP_SYM.
12077 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
12078 <bp-sym.h> and <bp-asm.h>.
12079 (__mempcpy): Don't use BP_SYM.
12080 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
12081 <bp-sym.h> and <bp-asm.h>.
12082 (__memrchr): Don't use BP_SYM.
12083 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
12084 <bp-sym.h> and <bp-asm.h>.
12085 (memset): Don't use BP_SYM.
12086 (__bzero): Likewise.
12087 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
12088 <bp-sym.h> and <bp-asm.h>.
12089 (__rawmemchr): Don't use BP_SYM.
12090 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
12091 <bp-sym.h> and <bp-asm.h>.
12092 (__STRCMP): Don't use BP_SYM.
12093 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
12094 <bp-sym.h> and <bp-asm.h>.
12095 (strchr): Don't use BP_SYM.
12096 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
12097 <bp-sym.h> and <bp-asm.h>.
12098 (__strchrnul): Don't use BP_SYM.
12099 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
12100 <bp-sym.h> and <bp-asm.h>.
12101 (strlen): Don't use BP_SYM.
12102 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
12103 <bp-sym.h> and <bp-asm.h>.
12104 (strncmp): Don't use BP_SYM. Remove comment about bounded
12105 pointers.
12106 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
12107 <bp-sym.h> and <bp-asm.h>.
12108 (__strnlen): Don't use BP_SYM.
12109 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
12110 <bp-sym.h> and <bp-asm.h>.
12111 (__GI__setjmp): Don't use BP_SYM.
12112 (_setjmp): Likewise.
12113 (__sigsetjmp): Likewise.
12114 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
12115 (L(start_addresses)): Don't use BP_SYM.
12116 (_start): Likewise.
12117 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
12118 <bp-asm.h>.
12119 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
12120 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
12121 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12122 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12123 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
12124 <bp-asm.h>.
12125 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
12126 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
12127 about bounded pointers.
12128 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12129 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12130 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
12131 <bp-asm.h>.
12132 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
12133 about bounded pointers. Remove GKM FIXME comments.
12134 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12135 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
12136 <bp-asm.h>.
12137 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
12138 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
12139 Remove GKM FIXME comments.
12140 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12141 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12142 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
12143 <bp-asm.h>.
12144 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
12145 about bounded pointers. Remove GKM FIXME comment.
12146 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
12147 and <bp-asm.h>.
12148 (strncmp): Don't use BP_SYM. Remove comment about bounded
12149 pointers.
12150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
12151 <bp-sym.h> and <bp-asm.h>.
12152 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
12153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
12154 <bp-sym.h> and <bp-asm.h>.
12155 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
12156 comment.
12157
cdcf361f
PP
121582013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12159
12160 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
12161 call free(NULL).
12162
3c4a2b15
DM
121632013-03-05 David S. Miller <davem@davemloft.net>
12164
12165 * po/es.po: Update from translation team.
12166
cdcf361f 121672013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
12168
12169 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
12170 <bits/mman-linux.h>.
12171 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12172 is fine.
12173 * sysdeps/unix/sysv/linux/sh/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/x86/bits/mman.h: Move include of
12178 <bits/mman-linux.h> to end of file.
12179 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12180 is fine.
12181 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
12182 <bits/mman-linux.h> to end of file.
12183
12184 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
12185 (MCL_CURRENT, MCL_FUTURE): Define here.
12186
5f67c04f
AK
121872013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12188
8a4473cc 12189 [BZ #15232]
5f67c04f
AK
12190 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
12191 attribute_hidden.
12192 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
12193
c3e94a95
AK
121942013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12195
12196 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
12197 fourth parameter needed for rt_sigprocmask syscall.
12198 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
12199 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12200 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
12201 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12202 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12203 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
12204
cfb6382a
JM
122052013-03-04 Joseph Myers <joseph@codesourcery.com>
12206
12207 [BZ #13550]
12208 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
12209 comment about bounded pointers.
12210 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
12211 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
12212
539d8e01
AJ
122132013-03-04 Andreas Jaeger <aj@suse.de>
12214
12215 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
12216 common definitions.
12217
12218 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
12219 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
12220 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
12221 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12222 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
12223 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12224
2e167a70 122252013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
12226
12227 [BZ #15055]
12228 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
12229 __ieee754_sqrl instead of __sqrl.
12230
68508633
JM
122312013-03-01 Joseph Myers <joseph@codesourcery.com>
12232
12233 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
12234 * sysdeps/powerpc/fpu_control.h: ... here.
12235 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
12236 * sysdeps/powerpc/bits/fenvinline.h: ... here.
12237 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
12238 * sysdeps/powerpc/bits/mathinline.h: ... here.
12239
7775448e
RM
122402013-03-01 Roland McGrath <roland@hack.frob.com>
12241
12242 * elf/dl-hwcaps.c (_dl_important_hwcaps):
12243 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
12244 to just [NEED_DL_SYSINFO_DSO].
12245 * elf/dl-support.c: Likewise.
12246 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
12247 * elf/rtld.c (dl_main): Likewise.
12248 * elf/setup-vdso.h (setup_vdso): Likewise.
12249 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
12250 * sysdeps/unix/sysv/linux/dl-sysdep.c
12251 (_dl_discover_osversion): Likewise.
12252
4e9b5995
CD
122532013-03-01 Carlos O'Donell <carlos@redhat.com>
12254
12255 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
12256 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
12257
e23872c8
SP
122582013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
12259
e5c74c63
SP
12260 * NEWS: Mention libm performance improvements and non-x86 PI
12261 futex support.
12262
e23872c8
SP
12263 * csu/libc-start.c (__pthread_initialize_minimal): Change
12264 function arguments.
12265 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
12266
b5510883
JM
122672013-02-28 Joseph Myers <joseph@codesourcery.com>
12268
12269 [BZ #13550]
12270 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
12271 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
12272 <bp-sym.h> and <bp-asm.h>.
12273 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12274 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
12275 and <bp-asm.h>.
12276 (memcpy): Don't use BP_SYM.
12277 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
12278 <bp-asm.h>.
12279 (__mpn_add_n): Don't use BP_SYM.
12280 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
12281 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
12282 and <bp-asm.h>.
12283 (__mpn_addmul_1): Don't use BP_SYM.
12284 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12285 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
12286 <bp-sym.h>.
12287 (_setjmp): Don't use BP_SYM.
12288 (__novmx_setjmp): Likewise.
12289 (__GI__setjmp): Likewise.
12290 (__vmx_setjmp): Likewise.
12291 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
12292 <bp-sym.h>.
12293 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
12294 (__bzero): Don't use BP_SYM.
12295 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12296 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12297 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
12298 <bp-sym.h> and <bp-asm.h>.
12299 (memcpy): Don't use BP_SYM.
12300 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
12301 <bp-sym.h> and <bp-asm.h>.
12302 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12303 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
12304 <bp-sym.h> and <bp-asm.h>.
12305 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12306 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
12307 <bp-asm.h>.
12308 (__mpn_lshift): Don't use BP_SYM.
12309 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12310 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
12311 <bp-asm.h>.
12312 (memset): Don't use BP_SYM.
12313 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12314 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12315 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
12316 <bp-asm.h>.
12317 (__mpn_mul_1): Don't use BP_SYM.
12318 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12319 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
12320 <bp-sym.h> and <bp-asm.h>.
12321 (memcmp): Don't use BP_SYM.
12322 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
12323 <bp-sym.h> and <bp-asm.h>.
12324 (memcpy): Don't use BP_SYM.
12325 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
12326 <bp-sym.h> and <bp-asm.h>.
12327 (memset): Don't use BP_SYM.
12328 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
12329 <bp-sym.h> and <bp-asm.h>.
12330 (strncmp): Don't use BP_SYM.
12331 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
12332 <bp-sym.h> and <bp-asm.h>.
12333 (memcpy): Don't use BP_SYM.
12334 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
12335 <bp-sym.h> and <bp-asm.h>.
12336 (memset): Don't use BP_SYM.
12337 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
12338 <bp-sym.h> and <bp-asm.h>.
12339 (__memchr): Don't use BP_SYM.
12340 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
12341 <bp-sym.h> and <bp-asm.h>.
12342 (memcmp): Don't use BP_SYM.
12343 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
12344 <bp-sym.h> and <bp-asm.h>.
12345 (memcpy): Don't use BP_SYM.
12346 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
12347 <bp-sym.h> and <bp-asm.h>.
12348 (__mempcpy): Don't use BP_SYM.
12349 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
12350 <bp-sym.h> and <bp-asm.h>.
12351 (__memrchr): Don't use BP_SYM.
12352 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
12353 <bp-sym.h> and <bp-asm.h>.
12354 (memset): Don't use BP_SYM.
12355 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
12356 <bp-sym.h> and <bp-asm.h>.
12357 (__rawmemchr): Don't use BP_SYM.
12358 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
12359 <bp-sym.h> and <bp-asm.h>.
12360 (__STRCMP): Don't use BP_SYM.
12361 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
12362 <bp-sym.h> and <bp-asm.h>.
12363 (strchr): Don't use BP_SYM.
12364 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
12365 <bp-sym.h> and <bp-asm.h>.
12366 (__strchrnul): Don't use BP_SYM.
12367 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
12368 <bp-sym.h> and <bp-asm.h>.
12369 (strlen): Don't use BP_SYM.
12370 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
12371 <bp-sym.h> and <bp-asm.h>.
12372 (strncmp): Don't use BP_SYM.
12373 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
12374 <bp-sym.h> and <bp-asm.h>.
12375 (__strnlen): Don't use BP_SYM.
12376 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
12377 <bp-asm.h>.
12378 (__mpn_rshift): Don't use BP_SYM.
12379 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12380 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
12381 <bp-sym.h> and <bp-asm.h>.
12382 (__sigsetjmp): Don't use BP_SYM.
12383 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
12384 (L(start_addresses)): Don't use BP_SYM.
12385 (_start): Likewise.
12386 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
12387 <bp-asm.h>.
12388 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
12389 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12390 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12391 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
12392 <bp-asm.h>.
12393 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
12394 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12395 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12396 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
12397 <bp-asm.h>.
12398 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
12399 comments.
12400 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12401 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
12402 <bp-asm.h>.
12403 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
12404 FIXME comments.
12405 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12406 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12407 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
12408 <bp-asm.h>.
12409 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
12410 comment.
12411 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
12412 and <bp-asm.h>.
12413 (strncmp): Don't use BP_SYM,
12414 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
12415 <bp-asm.h>.
12416 (__mpn_sub_n): Don't use BP_SYM.
12417 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12418 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
12419 and <bp-asm.h>.
12420 (__mpn_submul_1): Don't use BP_SYM.
12421 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
12423 <bp-sym.h> and <bp-asm.h>.
12424 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
12425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
12426 <bp-sym.h> and <bp-asm.h>.
12427 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
12428 comment.
12429
8d19fe64
SP
124302013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12431
12432 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
12433 Use ZK to minimize writes to Z.
12434 (sub_magnitudes): Simplify code a bit.
12435 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
12436 Use ZK to minimize writes to Z.
12437 (sub_magnitudes): Simplify code a bit.
12438
85bd816a
RM
124392013-02-27 Roland McGrath <roland@hack.frob.com>
12440
12441 * csu/gmon-start.c: Add special exception to license text.
12442
b5977bf2
RH
124432013-02-27 Richard Henderson <rth@redhat.com>
12444
12445 * scripts/config.guess: Update from config.git.
12446 * scripts/config.sub: Likewise.
12447
11d6e2f2
SP
124482013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12449
09c14ed2
SP
12450 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
12451
a688864e
SP
12452 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
12453
6295157a
SP
12454 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
12455
b8de2202
SP
12456 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
12457
11d6e2f2
SP
12458 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
12459
7e80ddb8
RM
124602013-02-26 Roland McGrath <roland@hack.frob.com>
12461
12462 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
12463 [$(build-shared = yes].
7e80ddb8 12464
7da6d9ed
SP
124652013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12466
45f05884
SP
12467 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
12468 (__mul): Reduce iterations for calculating mantissa.
12469
2236d359
SP
12470 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
12471 MPTWO.
12472 (__mpranred): Likewise.
12473
7da6d9ed
SP
12474 [BZ #15160]
12475 * malloc/memusagestat.c (main): Draw graphs for heap and stack
12476 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
12477
b7688c42
PE
124782013-02-26 Paul Eggert <eggert@cs.ucla.edu>
12479
12480 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
12481 Define __attribute__.
12482
53a5c423
SP
124832013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12484
12485 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
12486 unused.
12487 * posix/regex_internal.h (__attribute): Remove.
12488 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
12489 (re_string_context_at): Likewise.
12490 (bitset_not): Use __attribute__ and mark function as possibly
12491 unused.
12492 (bitset_merge): Likewise.
12493 (bitset_mask): Likewise.
12494 (re_string_char_size_at): Likewise.
12495 (re_string_wchar_at): Likewise.
12496 (re_string_elem_size_at): Likewise.
12497
60f5a8b5
SP
124982013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12499
2a983a2e
SP
12500 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
12501 code.
12502 (cc32): Likewise.
12503
e69804d1
SP
12504 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
12505 (__acr): Likewise.
12506 (__cpy): Likewise.
12507 (norm): Likewise.
12508 (denorm): Likewise.
12509 (__dbl_mp): Likewise.
12510 (add_magnitudes): Likewise.
12511 (sub_magnitudes): Likewise.
12512 (__mul): Likewise.
12513 (__inv): Likewise.
12514
2f22a1e8
SP
12515 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
12516 style.
12517
8930ddc7
SP
12518 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
12519 style.
12520
dc60cb11
SP
12521 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
12522 code.
12523
60f5a8b5
SP
12524 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
12525 up changes with default code.
12526 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
12527 Likewise.
12528
b4d1fd33
AM
125292013-02-24 Allan McRae <allan@archlinux.org>
12530
faf6f8bc
AM
12531 * manual/socket.texi (The Internet Namespace): Order menu items
12532 to match that in the file.
12533
b4d1fd33
AM
12534 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
12535 node listing of the info page menu.
12536
2366713d
JM
125372013-02-21 Joseph Myers <joseph@codesourcery.com>
12538
12539 [BZ #13550]
12540 * sysdeps/i386/bp-asm.h: Remove file.
12541 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12542 (PARMS): Do not use macros from bp-asm.h.
12543 (S1): Likewise.
12544 (S2): Likewise.
12545 (SIZE): Likewise.
12546 (__mpn_add_n): Do not use BP_SYM
12547 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
12548 "bp-asm.h".
12549 (PARMS): Do not use macros from bp-asm.h.
12550 (S1): Likewise.
12551 (SIZE): Likewise.
12552 (__mpn_addmul_1): Do not use BP_SYM
12553 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
12554 "bp-asm.h".
12555 (PARMS): Do not use macros from bp-asm.h.
12556 (SIGMSK): Likewise.
12557 (_setjmp): Likewise. Do not use BP_SYM.
12558 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
12559 "bp-asm.h".
12560 (PARMS): Do not use macros from bp-asm.h.
12561 (SIGMSK): Likewise.
12562 (setjmp): Likewise. Do not use BP_SYM.
12563 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
12564 "bp-asm.h".
12565 (PARMS): Do not use macros from bp-asm.h.
12566 (__frexp): Do not use BP_SYM.
12567 (frexp): Likewise.
12568 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
12569 "bp-asm.h".
12570 (PARMS): Do not use macros from bp-asm.h.
12571 (__frexpf): Do not use BP_SYM.
12572 (frexpf): Likewise.
12573 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
12574 "bp-asm.h".
12575 (PARMS): Do not use macros from bp-asm.h.
12576 (__frexpl): Do not use BP_SYM.
12577 (frexpl): Likewise.
12578 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
12579 "bp-asm.h".
12580 (PARMS): Do not use macros from bp-asm.h.
12581 (__remquo): Do not use BP_SYM.
12582 (remquo): Likewise.
12583 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
12584 "bp-asm.h".
12585 (PARMS): Do not use macros from bp-asm.h.
12586 (__remquof): Do not use BP_SYM.
12587 (remquof): Likewise.
12588 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
12589 "bp-asm.h".
12590 (PARMS): Do not use macros from bp-asm.h.
12591 (__remquol): Do not use BP_SYM.
12592 (remquol): Likewise.
12593 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
12594 "bp-asm.h".
12595 (PARMS): Do not use macros from bp-asm.h.
12596 (DEST): Likewise.
12597 (SRC): Likewise.
12598 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
12599 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
12600 "bp-asm.h".
12601 (PARMS): Do not use macros from bp-asm.h.
12602 (strlen): Do not use BP_SYM.
12603 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
12604 "bp-asm.h".
12605 (PARMS): Do not use macros from bp-asm.h.
12606 (S1): Likewise.
12607 (S2): Likewise.
12608 (SIZE): Likewise.
12609 (__mpn_add_n): Do not use BP_SYM.
12610 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
12611 "bp-asm.h".
12612 (PARMS): Do not use macros from bp-asm.h.
12613 (S1): Likewise.
12614 (SIZE): Likewise.
12615 (__mpn_addmul_1): Do not use BP_SYM.
12616 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
12617 weak_alias.
12618 (bzero): Likewise.
12619 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
12620 "bp-asm.h".
12621 (PARMS): Do not use macros from bp-asm.h.
12622 (S): Likewise.
12623 (SIZE): Likewise.
12624 (__mpn_lshift): Do not use BP_SYM.
12625 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
12626 "bp-asm.h".
12627 (PARMS): Do not use macros from bp-asm.h.
12628 (DEST): Likewise.
12629 (SRC): Likewise.
12630 (LEN): Likewise.
12631 (memcpy): Likewise. Do not use BP_SYM.
12632 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
12633 libc_hidden_def and weak_alias.
12634 (mempcpy): Do not use BP_SYM in weak_alias.
12635 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
12636 "bp-asm.h".
12637 (PARMS): Do not use macros from bp-asm.h.
12638 (DEST): Likewise.
12639 (LEN): Likewise.
12640 [!BZERO_P] (CHR): Likewise.
12641 (memset): Likewise. Do not use BP_SYM.
12642 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
12643 "bp-asm.h".
12644 (PARMS): Do not use macros from bp-asm.h.
12645 (S1): Likewise.
12646 (SIZE): Likewise.
12647 (__mpn_mul_1): Do not use BP_SYM.
12648 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
12649 "bp-asm.h".
12650 (PARMS): Do not use macros from bp-asm.h.
12651 (S): Likewise.
12652 (SIZE): Likewise.
12653 (__mpn_rshift): Do not use BP_SYM.
12654 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
12655 "bp-asm.h".
12656 (PARMS): Do not use macros from bp-asm.h.
12657 (STR): Likewise.
12658 (CHR): Likewise.
12659 (strchr): Likewise. Do not use BP_SYM.
12660 (index): Do not use BP_SYM in weak_alias.
12661 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
12662 "bp-asm.h".
12663 (PARMS): Do not use macros from bp-asm.h.
12664 (DEST): Likewise.
12665 (SRC): Likewise.
12666 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
12667 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
12668 "bp-asm.h".
12669 (PARMS): Do not use macros from bp-asm.h.
12670 (strlen): Do not use BP_SYM.
12671 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
12672 "bp-asm.h".
12673 (PARMS): Do not use macros from bp-asm.h.
12674 (S1): Likewise.
12675 (S2): Likewise.
12676 (SIZE): Likewise.
12677 (__mpn_sub_n): Do not use BP_SYM.
12678 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
12679 "bp-asm.h".
12680 (PARMS): Do not use macros from bp-asm.h.
12681 (S1): Likewise.
12682 (SIZE): Likewise.
12683 (__mpn_submul_1): Do not use BP_SYM.
12684 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
12685 "bp-asm.h".
12686 (PARMS): Do not use macros from bp-asm.h.
12687 (S1): Likewise.
12688 (S2): Likewise.
12689 (SIZE): Likewise.
12690 (__mpn_add_n): Do not use BP_SYM.
12691 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
12692 weak_alias.
12693 (bzero): Likewise.
12694 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
12695 "bp-asm.h".
12696 (PARMS): Do not use macros from bp-asm.h.
12697 (BLK2): Likewise.
12698 (LEN): Likewise.
12699 (memcmp): Do not use BP_SYM.
12700 (bcmp): Do not use BP_SYM in weak_alias.
12701 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
12702 "bp-asm.h".
12703 (PARMS): Do not use macros from bp-asm.h.
12704 (DEST): Likewise.
12705 (SRC): Likewise.
12706 (LEN): Likewise.
12707 (memcpy): Likewise. Do not use BP_SYM.
12708 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
12709 "bp-asm.h".
12710 (PARMS): Do not use macros from bp-asm.h.
12711 (DEST): Likewise.
12712 (SRC): Likewise.
12713 (LEN): Likewise.
12714 (memmove): Likewise. Do not use BP_SYM.
12715 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
12716 "bp-asm.h".
12717 (PARMS): Do not use macros from bp-asm.h.
12718 (DEST): Likewise.
12719 (SRC): Likewise.
12720 (LEN): Likewise.
12721 (__mempcpy): Likewise. Do not use BP_SYM.
12722 (mempcpy): Do not use BP_SYM in weak_alias.
12723 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
12724 "bp-asm.h".
12725 (PARMS): Do not use macros from bp-asm.h.
12726 (DEST): Likewise.
12727 (LEN): Likewise.
12728 [!BZERO_P] (CHR): Likewise.
12729 (memset): Likewise. Do not use BP_SYM.
12730 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
12731 "bp-asm.h".
12732 (PARMS): Do not use macros from bp-asm.h.
12733 (STR2): Likewise.
12734 (strcmp): Do not use BP_SYM.
12735 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
12736 "bp-asm.h".
12737 (PARMS): Do not use macros from bp-asm.h.
12738 (STR): Likewise.
12739 (DELIM): Likewise.
12740 [USE_AS_STRTOK_R] (SAVE): Likewise.
12741 (FUNCTION): Likewise. Do not use BP_SYM.
12742 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
12743 aliases.
12744 (strtok_r): Likewise.
12745 (__GI___strtok_r): Likewise.
12746 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12747 (PARMS): Do not use macros from bp-asm.h.
12748 (S): Likewise.
12749 (SIZE): Likewise.
12750 (__mpn_lshift): Do not use BP_SYM.
12751 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12752 (PARMS): Do not use macros from bp-asm.h.
12753 (STR): Likewise.
12754 (CHR): Likewise.
12755 (__memchr): Do not use BP_SYM.
12756 (memchr): Do not use BP_SYM in weak_alias.
12757 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12758 (PARMS): Do not use macros from bp-asm.h.
12759 (BLK2): Likewise.
12760 (LEN): Likewise.
12761 (memcmp): Do not use BP_SYM.
12762 (bcmp): Do not use BP_SYM in weak_alias.
12763 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
12764 (PARMS): Do not use macros from bp-asm.h.
12765 (S1): Likewise.
12766 (SIZE): Likewise.
12767 (__mpn_mul_1): Do not use BP_SYM.
12768 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
12769 "bp-asm.h".
12770 (PARMS): Do not use macros from bp-asm.h.
12771 (STR): Likewise.
12772 (CHR): Likewise.
12773 (__rawmemchr): Do not use BP_SYM.
12774 (rawmemchr): Do not use BP_SYM in weak_alias.
12775 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12776 (PARMS): Do not use macros from bp-asm.h.
12777 (S): Likewise.
12778 (SIZE): Likewise.
12779 (__mpn_rshift): Do not use BP_SYM.
12780 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12781 (PARMS): Do not use macros from bp-asm.h.
12782 (SIGMSK): Likewise.
12783 (__sigsetjmp): Likewise. Do not use BP_SYM.
12784 * sysdeps/i386/start.S: Do not include "bp-sym.h".
12785 (_start): Do not use BP_SYM.
12786 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
12787 (PARMS): Do not use macros from bp-asm.h.
12788 (DEST): Likewise.
12789 (SRC): Likewise.
12790 (__stpcpy): Likewise. Do not use BP_SYM.
12791 (stpcpy): Do not use BP_SYM in weak_alias.
12792 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
12793 "bp-asm.h".
12794 (PARMS): Do not use macros from bp-asm.h.
12795 (DEST): Likewise.
12796 (SRC): Likewise.
12797 (LEN): Likewise.
12798 (__stpncpy): Likewise. Do not use BP_SYM.
12799 (stpncpy): Do not use BP_SYM in weak_alias.
12800 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12801 (PARMS): Do not use macros from bp-asm.h.
12802 (STR): Likewise.
12803 (CHR): Likewise.
12804 (strchr): Likewise. Do not use BP_SYM.
12805 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
12806 "bp-asm.h".
12807 (PARMS): Do not use macros from bp-asm.h.
12808 (STR): Likewise.
12809 (CHR): Likewise.
12810 (__strchrnul): Likewise. Do not use BP_SYM.
12811 (strchrnul): Do not use BP_SYM in weak_alias.
12812 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
12813 "bp-asm.h".
12814 (PARMS): Do not use macros from bp-asm.h.
12815 (STOP): Likewise.
12816 (strcspn): Do not use BP_SYM.
12817 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
12818 "bp-asm.h".
12819 (PARMS): Do not use macros from bp-asm.h.
12820 (STR): Likewise.
12821 (STOP): Likewise.
12822 (strpbrk): Likewise. Do not use BP_SYM.
12823 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
12824 "bp-asm.h".
12825 (PARMS): Do not use macros from bp-asm.h.
12826 (STR): Likewise.
12827 (CHR): Likewise.
12828 (strrchr): Likewise. Do not use BP_SYM.
12829 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
12830 (PARMS): Do not use macros from bp-asm.h.
12831 (SKIP): Likewise.
12832 (strspn): Do not use BP_SYM.
12833 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
12834 (PARMS): Do not use macros from bp-asm.h.
12835 (STR): Likewise.
12836 (DELIM): Likewise.
12837 (SAVE): Likewise.
12838 (FUNCTION): Likewise. Do not use BP_SYM.
12839 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
12840 aliases.
12841 (strtok_r): Likewise.
12842 (__GI___strtok_r): Likewise.
12843 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12844 (PARMS): Do not use macros from bp-asm.h.
12845 (S1): Likewise.
12846 (S2): Likewise.
12847 (SIZE): Likewise.
12848 (__mpn_sub_n): Do not use BP_SYM.
12849 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
12850 "bp-asm.h".
12851 (PARMS): Do not use macros from bp-asm.h.
12852 (S1): Likewise.
12853 (SIZE): Likewise.
12854 (__mpn_submul_1): Do not use BP_SYM.
12855 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
12856 <bp-sym.h>.
12857 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
12858 and <bp-asm.h>.
12859 (PARMS): Do not use macros from bp-asm.h.
12860 (FLAGS): Likewise.
12861 (PTID): Likewise.
12862 (TLS): Likewise.
12863 (CTID): Likewise.
12864 (__clone): Do not use BP_SYM.
12865 (clone): Do not use BP_SYM in weak_alias.
12866 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
12867 and <bp-asm.h>.
12868 (PARMS): Do not use macros from bp-asm.h.
12869 (LEN): Likewise.
12870 (__mmap64): Do not use BP_SYM.
12871 (mmap64): Do not use BP_SYM in weak_alias.
12872 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
12873 <bp-sym.h> and <bp-asm.h>.
12874 (PARMS): Do not use macros from bp-asm.h.
12875 (__posix_fadvise64_l64): Do not use BP_SYM.
12876 * sysdeps/unix/sysv/linux/i386/semtimedop.S
12877 (PARMS): Do not use macros from bp-asm.h.
12878 (NSOPS): Likewise.
12879 (semtimedop): Do not use BP_SYM.
12880 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
12881 and <bp-asm.h>.
12882
582a3cff
AM
128832013-02-21 Allan McRae <allan@archlinux.org>
12884
12885 * manual/message.texi (Charset conversion in gettext):
12886 Move @end statement to beginning of line.
12887
bab8a695
SP
128882013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12889
80945231
SP
12890 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
12891 static.
12892 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
12893 Likewise.
12894
bab8a695
SP
12895 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
12896 (denorm): Likewise.
12897 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
12898 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
12899
e21d7aa7
AK
129002013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12901
12902 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
12903 tail-call to the resolved function if pltexit isn't needed.
12904
4c7a4263
SP
129052013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12906
12907 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
12908 or Y being zero as being unlikely.
12909 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
12910 Likewise.
12911
41f49342
CD
129122013-02-20 Carlos O'Donell <carlos@redhat.com>
12913
12914 * manual/nss.texi (System Databases and Name Service Switch):
12915 Remove frobnicate @pxref.
12916
50022a93
TS
129172013-02-20 Thomas Schwinge <thomas@codesourcery.com>
12918
12919 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12920 __attribute__ ((unused)) to __attribute__ ((__unused__)).
12921
08cbd996
PM
129222013-02-20 Petr Machata <pmachata@redhat.com>
12923
12924 * elf/elf.h (R_ARM_TARGET1): New macro.
12925 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
12926 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
12927 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
12928 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
12929 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
12930 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
12931 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
12932 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
12933 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
12934 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
12935 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
12936 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
12937 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
12938 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
12939 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
12940 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
12941 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
12942 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
12943 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
12944 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
12945 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
12946 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
12947 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
12948 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
12949 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
12950 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
12951 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
12952 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
12953 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
12954 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
12955 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
12956 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
12957 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
12958 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
12959 (R_ARM_THM_GOT_BREL12): Likewise.
12960 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
12961 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
12962 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
12963 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
12964 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
12965 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
12966 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
12967 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
12968 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
12969
c7b275d6
TS
129702013-02-20 Thomas Schwinge <thomas@codesourcery.com>
12971
12972 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12973 __attribute_used__ to __attribute__ ((unused)).
12974
20cd7fb3
SP
129752013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12976
12977 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
12978 powerpc mpa.c.
12979 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
12980 comment formatting.
12981 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
12982
92945b52
JM
129832013-02-19 Joseph Myers <joseph@codesourcery.com>
12984
12985 [BZ #13550]
12986 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
12987 Remove macro.
12988 (ENTER): Remove both macro definitions.
12989 (LEAVE): Likewise.
12990 (CHECK_BOUNDS_LOW): Likewise.
12991 (CHECK_BOUNDS_HIGH): Likewise.
12992 (CHECK_BOUNDS_BOTH): Likewise.
12993 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
12994 (RETURN_BOUNDED_POINTER): Likewise.
12995 (RETURN_NULL_BOUNDED_POINTER): Likewise.
12996 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
12997 (POP_ERRNO_LOCATION_RETURN): Likewise.
12998 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
12999 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13000 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
13001 macros.
13002 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13003 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
13004 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
13005 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
13006 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
13007 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
13008 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
13009 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
13010 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
13011 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
13012 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
13013 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
13014 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13015 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
13016 removed macros.
13017 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13018 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
13019 macros.
13020 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13021 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
13022 * sysdeps/i386/i586/memset.S (memset): Likewise.
13023 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
13024 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13025 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
13026 macros.
13027 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13028 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
13029 Change uses of L(2) to L(out).
13030 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
13031 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
13032 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
13033 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13034 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
13035 removed macros.
13036 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13037 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
13038 macros.
13039 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13040 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
13041 (RETURN): Do not use macro LEAVE.
13042 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
13043 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
13044 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
13045 * sysdeps/i386/i686/memset.S (memset): Likewise.
13046 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
13047 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
13048 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
13049 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
13050 Likewise.
13051 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13052 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
13053 L(1_2) and L(1_3) into L(1).
13054 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
13055 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
13056 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13057 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
13058 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
13059 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
13060 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
13061 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13062 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
13063 macros.
13064 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
13065 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13066 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
13067 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
13068 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
13069 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13070 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
13071 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
13072 * sysdeps/i386/strcspn.S (strcspn): Likewise.
13073 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
13074 * sysdeps/i386/strrchr.S (strrchr): Likewise.
13075 * sysdeps/i386/strspn.S (strspn): Likewise.
13076 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
13077 conditional code.
13078 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13079 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
13080 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
13081 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
13082 L(1_3) into L(1_1).
13083 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
13084 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13085 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
13086 macros.
13087 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13088
2389741a
JJ
130892013-02-19 Jakub Jelinek <jakub@redhat.com>
13090
13091 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
13092 macro.
13093
2016b3cd
SP
130942013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13095
e4f22324
SP
13096 * math/atest-exp.c (exp_mpn): Remove ROUND.
13097 * math/atest-exp2.c (exp_mpn): Likewise.
13098 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
13099
2016b3cd
SP
13100 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
13101 * stdlib/tst-tls-atexit-lib.c: Likewise.
13102 * stdlib/tst-tls-atexit.c: Likewise.
13103
4be9b544
MF
131042013-02-18 Mike Frysinger <vapier@gentoo.org>
13105
13106 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
13107 and __attribute_alloc_size__.
13108
2f62b9ee
MF
131092013-02-18 Mike Frysinger <vapier@gentoo.org>
13110
13111 * include/programs/xmalloc.h: Change __attribute_alloc_size to
13112 __attribute_alloc_size__.
13113 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
13114 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
13115
6ff444c4
MF
131162013-02-18 Mike Frysinger <vapier@gentoo.org>
13117
13118 * include/programs/xmalloc.h: New file.
13119 * catgets/gencat.c: Include it.
13120 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
13121 * elf/pldd.c: Likewise.
13122 * iconv/iconv_charmap.c: Likewise.
13123 * iconv/iconvconfig.c: Likewise.
13124 * iconv/strtab.c: Likewise.
13125 * locale/programs/locale.c: Likewise.
13126 * locale/programs/localedef.h: Likewise.
13127 * locale/programs/simple-hash.c: Likewise.
13128 * nscd/nscd.h: Likewise.
13129 * nss/makedb.c: Likewise.
13130 * sysdeps/generic/ldconfig.h: Likewise.
13131
be179c8a
SP
131322013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13133
ba384f6e
SP
13134 * Versions.def: Add GLIBC_2.18.
13135 * include/link.h (struct link_map): New member l_tls_dtor_count.
13136 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
13137 (__call_tls_dtors): Likewise.
13138 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
13139 __cxa_thread_atexit_impl.
13140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13141 Likewise.
13142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13143 Likewise.
13144 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
13145 Likewise.
13146 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
13147 Likewise.
13148 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
13149 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
13150 Likewise.
13151 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
13152 Likewise.
13153 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
13154 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
13155 Likewise.
13156 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
13157 (tests): Add test case tst-tls-atexit.
13158 (modules-names): Add shared library for tst-tls-atexit.
85891aca 13159 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
13160 (GLIBC_PRIVATE): Add __call_tls_dtors.
13161 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
13162 for libstdc++.
13163 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
13164 * stdlib/tst-tls-atexit.c: New test case.
13165 * stdlib/tst-tls-atexit-lib.c: New test case.
13166
ffaa74cf 13167 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 13168
be179c8a
SP
13169 * elf/Versions (ld): Add _dl_find_dso_for_object.
13170 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
13171 * elf/dl-open.c (_dl_find_dso_for_object): New function.
13172 (dl_open_worker): Use _dl_find_dso_for_object.
13173 * elf/dl-sym.c (do_sym): Likewise.
13174 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
13175
f78b5caa
AK
131762013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13177
13178 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
13179 Syntactic changes only.
13180 (_dl_runtime_profile): Do a tail-call to the resolved function.
13181
29691210
JM
131822013-02-17 Joseph Myers <joseph@codesourcery.com>
13183
13184 [BZ #13550]
13185 * sysdeps/x86_64/bp-asm.h: Remove file.
13186 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
13187 <bp-sym.h> and <bp-asm.h>.
13188 (__clone): Do not use BP_SYM.
13189 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
13190 <bp-sym.h> and <bp-asm.h>.
13191 * sysdeps/unix/x86_64/sysdep.S: Likewise.
13192 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
13193 "bp-asm.h".
13194 (_setjmp): Do not use BP_SYM.
13195 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
13196 "bp-asm.h".
13197 (setjmp): Do not use BP_SYM.
13198 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
13199 libc_hidden_def.
13200 (mempcpy): Do not use BP_SYM in weak_alias.
13201 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
13202 "bp-asm.h".
13203 (strchr): Do not use BP_SYM.
13204 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
13205 "bp-asm.h".
13206 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
13207 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
13208 (_start): Do not use BP_SYM.
13209 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
13210 "bp-asm.h".
13211 (strcat): Do not use BP_SYM.
13212 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
13213 "bp-asm.h".
13214 (STRCMP): Do not use BP_SYM.
13215 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
13216 "bp-asm.h".
13217 (STRCPY): Do not use BP_SYM.
13218 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
13219 "bp-asm.h".
13220 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
13221 "bp-asm.h".
13222 (FUNCTION): Do not use BP_SYM.
13223 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
13224 weak_alias.
13225 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
13226
f238fd19
AJ
132272013-02-17 Andreas Jaeger <aj@suse.de>
13228
13229 * time/Versions: Sort entries.
13230 * string/Versions: Likewise.
13231 * resolv/Versions: Likewise.
13232 * posix/Versions: Likewise.
13233 * iconv/Versions: Likewise.
13234 * elf/Versions: Likewise.
13235 * wcsmbs/Versions: Likewise.
13236
bd07f23c 132372013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 13238
22af19f9
SP
13239 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
13240 loop termination condition.
13241
4709fe76
SP
13242 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
13243 variable to calculate EZ.
13244 (__sqr): Likewise.
2d0e0f29
SP
13245
13246 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
13247 the lower precision input.
13248
daaa7713
JM
132492013-02-15 Joseph Myers <joseph@codesourcery.com>
13250
13251 [BZ #13550]
13252 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
13253 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
13254 (run-via-rtld-prefix): Do not handle %-bp tests.
13255 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
13256 (all-object-suffixes): Remove .ob.
13257 (bppfx): Remove variable.
13258 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
13259 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
13260 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
13261 [$(build-bounded) = yes] (libtype.ob): Likewise.
13262 * Makerules (elide-routines.ob): Remove variable.
13263 (do-tests-clean): Do not handle *-bp.out.
13264 (common-mostlyclean): Do not handle *-bp and *-bp.out.
13265 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
13266 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
13267 (tests): Do not include $(tests-bp.out).
13268 (xtests): Do not include $(xtests-bp.out).
13269 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
13270 [$(build-bounded) = yes] ($(addprefix
13271 $(objpfx),$(binaries-bounded))): Remove rule.
13272 ($(objpfx)%-bp.out): Remove rule.
13273 * config.make.in (build-bounded): Remove variable.
13274 * crypt/Makefile [$(build-bounded) = yes]
13275 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
13276 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
13277 append to variable.
13278 [$(build-bounded) = yes] (install-lib): Likewise.
13279 [$(build-bounded) = yes] (generated): Likewise.
13280 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
13281 Remove rule.
13282 * intl/Makefile [$(build-bounded) = yes]
13283 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
13284 * math/Makefile [$(build-bounded) = yes]
13285 ($(tests:%=$(objpfx)%-bp): Likewise.
13286 * misc/Makefile [$(build-bounded) = yes]
13287 ($(objpfx)tst-tsearch-bp): Likewise.
13288 * nptl/Makeconfig (bounded-thread-library): Remove variable.
13289 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
13290 Remove dependency.
13291 * string/Makefile (o-objects.ob): Remove variable.
13292 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
13293 (CFLAGS-.ob): Remove variable.
13294 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
13295 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
13296 both definitions of variable.
13297 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
13298 (ASFLAGS-.ob): Remove variable.
13299
e97ed6dd
JM
133002013-02-14 Joseph Myers <joseph@codesourcery.com>
13301
2bdd4ca6
JM
13302 [BZ #13550]
13303 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
13304 Remove __BOUNDED_POINTERS__ from condition.
13305 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
13306 * string/bits/string2.h [!__NO_STRING_INLINES &&
13307 !__BOUNDED_POINTERS__]: Likewise.
13308 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
13309 Likewise.
13310 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
13311 Remove conditional code.
13312 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
13313 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
13314 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
13315 condition.
13316
e97ed6dd
JM
13317 [BZ #13550]
13318 * csu/libc-start.c: Do not include <bp-sym.h>.
13319 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
13320 * elf/dl-open.c: Do not include <bp-sym.h>.
13321 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
13322 * math/fegetenv.c: Do not include <bp-sym.h>.
13323 (fegetenv): Do not use BP_SYM in versioned symbols.
13324 * nptl/sysdeps/pthread/bits/libc-lockP.h
13325 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
13326 <bp-sym.h>.
13327 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13328 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
13329 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13330 (__pthread_mutex_destroy): Likewise.
13331 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13332 (__pthread_mutex_lock): Likewise.
13333 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13334 (__pthread_mutex_trylock): Likewise.
13335 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13336 (__pthread_mutex_unlock): Likewise.
13337 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13338 (__pthread_mutexattr_init): Likewise.
13339 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13340 (__pthread_mutexattr_destroy): Likewise.
13341 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13342 (__pthread_mutexattr_settype): Likewise.
13343 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13344 (__pthread_rwlock_init): Likewise.
13345 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13346 (__pthread_rwlock_destroy): Likewise.
13347 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13348 (__pthread_rwlock_rdlock): Likewise.
13349 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13350 (__pthread_rwlock_tryrdlock): Likewise.
13351 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13352 (__pthread_rwlock_wrlock): Likewise.
13353 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13354 (__pthread_rwlock_trywrlock): Likewise.
13355 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13356 (__pthread_rwlock_unlock): Likewise.
13357 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13358 (__pthread_key_create): Likewise.
13359 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13360 (__pthread_setspecific): Likewise.
13361 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13362 (__pthread_getspecific): Likewise.
13363 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
13364 Likewise.
13365 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13366 (_pthread_cleanup_push_defer): Likewise.
13367 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13368 (_pthread_cleanup_pop_restore): Likewise.
13369 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13370 (pthread_setcancelstate): Likewise.
13371 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
13372 <bp-sym.h>.
13373 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
13374 (memchr): Do not use BP_SYM in weak_alias.
13375 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
13376 (fegetenv): Do not use BP_SYM in versioned symbols.
13377 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
13378 (fesetenv): Do not use BP_SYM in versioned symbols.
13379 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
13380 (feupdateenv): Do not use BP_SYM in versioned symbols.
13381 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
13382 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
13383 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
13384 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
13385 (open64): Do not use BP_SYM in weak_alias.
13386 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
13387 (fegetenv): Do not use BP_SYM in versioned symbols.
13388 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
13389 (fesetenv): Do not use BP_SYM in versioned symbols.
13390 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
13391 (feupdateenv): Do not use BP_SYM in versioned symbols.
13392 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
13393 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
13394 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
13395 (feraiseexcept): Do not use BP_SYM in versioned symbols.
13396 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
13397 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
13398 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
13399 <bp-sym.h>.
13400 (__libc_start_main): Do not use BP_SYM.
13401
d6752ccd
SP
134022013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13403
cb57ce60
SP
13404 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
13405 redundant return line.
13406 (norm): Likewise.
13407 (denorm): Likewise.
13408 (dbl_mp): Likewise.
13409 (sub_magnitudes): Likewise.
13410 (__add): Likewise.
13411 (__sub): Likewise.
13412 (__mul): Likewise.
13413 (__inv): Likewise.
13414 (__dvd): Likewise.
13415 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
13416 (norm): Likewise.
13417 (denorm): Likewise.
13418 (dbl_mp): Likewise.
13419 (sub_magnitudes): Likewise.
13420 (__add): Likewise.
13421 (__sub): Likewise.
13422 (__mul): Likewise.
13423 (__inv): Likewise.
13424 (__dvd): Likewise.
13425
f414520d
SP
13426 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
13427 instead of __mul.
13428 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
13429 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
13430 (cc32): Likewise.
13431
d6752ccd
SP
13432 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
13433 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
13434 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
13435 of __mul for squares.
13436 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
13437 function
13438 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
13439 Likewise.
13440 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
13441 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13442
70d9946a
JM
134432013-02-13 Joseph Myers <joseph@codesourcery.com>
13444
13445 [BZ #13550]
13446 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
13447 code.
13448 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
13449 prototype or function definition. Rename ubp_* variables and
13450 parameters. Remove argv definitions conditional on
13451 [__BOUNDED_POINTERS__].
13452 * debug/backtrace.c (__backtrace): Do not use __unbounded.
13453 * elf/dl-runtime.c (_dl_fixup): Likewise.
13454 * include/set-hooks.h (RUN_HOOK): Likewise.
13455 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
13456 definition.
13457 * string/strcpy.c (strcpy): Do not use __unbounded.
13458 * sysdeps/generic/frame.h (struct layout): Likewise.
13459 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
13460 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
13461 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
13462 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
13463 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
13464 (__backtrace): Likewise.
13465 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
13466 use __ptrvalue.
13467 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
13468 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13469 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
13470 Likewise.
13471 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
13472 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
13473 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
13474 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13475 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
13476 Do not use __unbounded.
13477 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
13478 Rename __unboundedrlimits parameter to rlimits in prototype.
13479 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
13480 Do not use __unbounded.
13481 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
13482 not use __ptrvalue.
13483 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13484 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
13485 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13486 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
13487 __ptrvalue or __unbounded.
13488 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
13489 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
13490 use __unbounded.
13491 (__new_msgctl): Do not use __ptrvalue.
13492 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
13493 __unbounded.
13494 (__libc_msgrcv): Do not use __ptrvalue.
13495 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
13496 startup_info): Do not use __unbounded.
13497 (__libc_start_main): Likewise. Rename ubp_* variables and
13498 parameters. Remove argv definitions conditional on
13499 [__BOUNDED_POINTERS__].
13500 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
13501 __ptrvalue.
13502 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
13503 use __unbounded.
13504 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
13505 or __ptrvalue.
13506 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
13507 use __unbounded.
13508 (__new_shmctl): Do not use __ptrvalue.
13509 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
13510 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
13511 Likewise.
13512 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
13513 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
13514 (__libc_sigaction): Likewise.
13515 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
13516 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
13517 Likewise.
13518 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13519
cc7834d6
OB
135202013-02-13 Ondřej Bílka <neleai@seznam.cz>
13521
ffb1ec7b 13522 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
13523
13524 * string/mempcpy.c: Implement by calling memcpy.
13525
bdf02814
SP
135262013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13527
c2af38aa
SP
13528 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
13529
4e92d59e
SP
13530 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
13531 evaluation.
13532
909279a5
SP
13533 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
13534 values in the mantissa.
13535
bdf02814
SP
13536 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
13537 minimize writes to Z.
13538 (sub_magnitudes): Simplify code a bit.
13539
cd525923
RM
135402013-02-12 Roland McGrath <roland@hack.frob.com>
13541
13542 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
13543 from the message. The linker prefixes all warnings with that already.
13544
7e2f0d2d
AS
135452013-02-12 Andreas Schwab <schwab@suse.de>
13546
a445af0b
AS
13547 [BZ #15078]
13548 * posix/regexec.c (extend_buffers): Add parameter min_len.
13549 (check_matching): Pass minimum needed length.
13550 (clean_state_log_if_needed): Likewise.
13551 (get_subexp): Likewise.
13552 * posix/Makefile (tests): Add bug-regex34.
13553 (bug-regex34-ENV): Define.
13554 * posix/bug-regex34.c: New file.
13555
7e2f0d2d
AS
13556 [BZ #11561]
13557 * posix/regcomp.c (parse_bracket_exp): When looking up collating
13558 elements compare against the byte sequence of it, not its name.
13559 * posix/Makefile (tests): Add bug-regex35.
13560 (bug-regex35-ENV): Define.
13561 * posix/bug-regex35.c: New file.
13562
a175b684
TV
135632013-02-11 Tom de Vries <tom@codesourcery.com>
13564
13565 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
13566 comment.
13567 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
13568 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
13569 (CHECK_EOL): Add undef.
13570
310998fe 135712013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
13572
13573 * bits/stdlib-bsearch.h: New file.
13574 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 13575 * stdlib/stdlib.h: Likewise.
41eda41d 13576
8ded91fb
RM
135772013-02-11 Roland McGrath <roland@hack.frob.com>
13578
13579 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
13580 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
13581 declaration.
13582 * manual/search.texi (Array Search Function): Add missing const in
13583 lfind prototype.
13584 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
13585 declaration to use rlim_t.
13586 (Basic Scheduling Functions): Remove erroneous const from
13587 sched_getparam prototype. Remove erroneous * from
13588 sched_get_priority_max and sched_get_priority_min prototypes.
13589 (Resource Usage): Fix summary @comment on vtimes to refer to
13590 sys/vtimes.h rather than vtimes.h.
13591 Add missing *s in vtimes prototype.
13592 (Limits on Resources): Fix ulimit prototype to return long int.
13593 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
13594 prototypes to use long int rather than double.
13595 (BSD Random): Fix initstate and setstate to use char *, not void *.
13596 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
13597 prototype to make second argument 'struct aiocb64 *const[]'.
13598 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
13599 (Status of AIO Operations): Remove erroneous const in aio_return and
13600 aio_return64 prototypes.
13601 (Synchronizing I/O): Fix sync prototype to return void.
13602 * manual/startup.texi (Suboptions): Remove an erroneous const in
13603 getsubopt prototype.
13604 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
13605 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
13606 use size_t rather than int.
13607 (Scanning All Users): Likewise for getpwent_r.
13608 (Setting Groups): Add missing const to setgroups prototype.
13609 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
13610 * manual/socket.texi (Host Names): Fix gethostbyaddr and
13611 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
13612 'const void *' rather than 'const char *'.
13613 (Host Address Functions): Likewise for inet_ntop.
13614 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
13615 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
13616 ssize_t for return value.
13617 (Sending Data): Likewise for send, sendto, sendmsg.
13618 (Socket Option Functions): Add a missing const in setsockopt prototype.
13619 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
13620 use wchar_t for the argument.
13621 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
13622 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
13623 take no arguments.
13624 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
13625 double/float/long double for second argument.
13626 Fix return types of significand, significandf, significandl.
13627 * manual/filesys.texi (Setting Permissions): Use mode_t for second
13628 argument in fchmod prototype.
13629 (File Owner): Use uid_t and gid_t in fchown prototype.
13630 (File Times): Add const to utimes, futimes, and lutimes prototypes.
13631 (Making Special Files): Use mode_t and dev_t in mknod prototype.
13632 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
13633 use 'const struct dirent **' as argument types to CMP function pointer
13634 argument.
13635 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
13636 (File Times): Fix summary magic @comment for struct utimbuf and utime
13637 to refer to utime.h, not time.h.
13638 * manual/string.texi (Argz Functions): Add missing const in
13639 argz_extract and argz_next prototypes.
13640 (Finding Tokens in a String): Likewise for basename.
13641 (String/Array Comparison): Fix typo in wcscasecmp prototype.
13642 (Copying and Concatenation): Fix typo in wmemmove prototype.
13643 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
13644 (Signal Stack): Remove erroneous const in sigstack prototype.
13645 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
13646 prototype.
13647 (Simple Calendar Time): Likewise for stime.
13648 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
13649 prototype.
13650 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
13651 say sys/sysctl.h instead.
13652 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
13653 and vsyslog prototypes.
13654
fe77fe6d
TV
136552013-02-11 Tom de Vries <tom@codesourcery.com>
13656
13657 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
13658 Remove.
13659
3a09b620
RM
136602013-02-11 Roland McGrath <roland@hack.frob.com>
13661
13662 * misc/sys/mman.h: Fix typo in mremap comment.
13663
550a0b89
RM
136642013-02-08 Roland McGrath <roland@hack.frob.com>
13665
13666 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
13667 the '\0' terminator.
13668
a2da1673
JM
136692013-02-08 Joseph Myers <joseph@codesourcery.com>
13670
13671 [BZ #13550]
13672 * debug/segfault.c: Don't include <bp-checks.h>.
13673 * sysdeps/generic/bp-checks.h: Remove file.
13674 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
13675 (__GETDENTS): Don't use CHECK_N.
13676 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
13677 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
13678 (__getgroups): Don't use CHECK_N.
13679 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
13680 (setgroups): Don't use CHECK_N.
13681 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
13682 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
13683 (__libc_msgrcv): Don't use CHECK_N.
13684 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
13685 (__libc_msgsnd): Don't use CHECK_N.
13686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
13687 <bp-checks.h>.
13688 (__libc_pread): Don't use CHECK_N.
13689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
13690 include <bp-checks.h>.
13691 (__libc_pread64): Don't use CHECK_N.
13692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
13693 include <bp-checks.h>.
13694 (__libc_pwrite): Don't use CHECK_N.
13695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
13696 include <bp-checks.h>.
13697 (__libc_pwrite64): Don't use CHECK_N.
13698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
13699 <bp-checks.h>.
13700 (__libc_pread): Don't use CHECK_N.
13701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
13702 include <bp-checks.h>.
13703 (__libc_pread64): Don't use CHECK_N.
13704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
13705 include <bp-checks.h>.
13706 (__libc_pwrite): Don't use CHECK_N.
13707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
13708 include <bp-checks.h>.
13709 (__libc_pwrite64): Don't use CHECK_N.
13710 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
13711 (do_pread): Don't use CHECK_N.
13712 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
13713 (do_pread64): Don't use CHECK_N.
13714 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
13715 (do_pwrite): Don't use CHECK_N.
13716 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
13717 (do_pwrite64): Don't use CHECK_N.
13718 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
13719 (__libc_readv): Don't use CHECK_N.
13720 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
13721 (semop): Don't use CHECK_N.
13722 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
13723 <bp-checks.h>.
13724 (semtimedop): Don't use CHECK_N.
13725 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
13726 (__libc_pread): Don't use CHECK_N.
13727 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
13728 <bp-checks.h>.
13729 (__libc_pread64): Don't use CHECK_N.
13730 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
13731 <bp-checks.h>.
13732 (__libc_pwrite): Don't use CHECK_N.
13733 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
13734 <bp-checks.h>.
13735 (__libc_pwrite64): Don't use CHECK_N.
13736 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
13737 <bp-checks.h>.
13738 (__libc_msgrcv): Don't use CHECK_N.
13739 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
13740 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
13741 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
13742 (__libc_writev): Don't use CHECK_N.
13743
b84660a8
RM
137442013-02-08 Roland McGrath <roland@hack.frob.com>
13745
7f3e75f8
RM
13746 * string/strcpy.c: Removed unused variable.
13747
b84660a8
RM
13748 * Makeconfig (+sysdep-includes): Define with := rather than =.
13749 Use an existing include/ subdir of each sysdeps dir before it.
13750
471514d3
CD
137512013-02-08 Carlos O'Donell <carlos@redhat.com>
13752
13753 * nscd/connection.c (register_traced_file): Comment function.
13754 [HAVE_INOTIFY] (union __inev): Define.
13755 [HAVE_INOTIFY] (inotify_check_files): New function.
13756 [HAVE_INOTIFY] (clear_db_cache): Likewise.
13757 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
13758 clear_db_cache.
13759 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
13760
b2d3c3be
CD
137612013-02-08 Carlos O'Donell <carlos@redhat.com>
13762
13763 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
13764 loaded if not already and that a failure is permanent.
13765
b39949d2
CD
137662013-02-08 Carlos O'Donell <carlos@redhat.com>
13767
ddacd1db 13768 [BZ #15006]
b39949d2
CD
13769 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
13770 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
13771
b2c9eff4
JM
137722013-02-08 Joseph Myers <joseph@codesourcery.com>
13773
f3aae3f3
JM
13774 [BZ #13550]
13775 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
13776 (CHECK_1_NULL_OK): Likewise.
13777 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
13778 (__fxstat): Do not use CHECK_1.
13779 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
13780 <bp-checks.h>.
13781 (___fxstat64): Do not use CHECK_1.
13782 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
13783 <bp-checks.h>.
13784 (__fxstatat): Do not use CHECK_1.
13785 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
13786 <bp-checks.h>.
13787 (__fxstatat64): Do not use CHECK_1.
13788 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
13789 <bp-checks.h>.
13790 (__fxstat): Do not use CHECK_1.
13791 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
13792 <bp-checks.h>.
13793 (__fxstatat): Do not use CHECK_1.
13794 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
13795 <bp-checks.h>.
13796 (__getresgid): Do not use CHECK_1.
13797 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
13798 <bp-checks.h>.
13799 (__getresuid): Do not use CHECK_1.
13800 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
13801 <bp-checks.h>.
13802 (__lxstat): Do not use CHECK_1.
13803 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
13804 <bp-checks.h>.
13805 (__old_msgctl): Do not use CHECK_1.
13806 (__new_msgctl): Likewise.
13807 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
13808 <bp-checks.h>.
13809 (__new_setrlimit): Do not use CHECK_1.
13810 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
13811 <bp-checks.h>.
13812 (__old_shmctl): Do not use CHECK_1.
13813 (__new_shmctl): Likewise.
13814 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
13815 <bp-checks.h>.
13816 (__xstat): Do not use CHECK_1.
13817 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
13818 (__lxstat): Do not use CHECK_1.
13819 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
13820 <bp-checks.h>.
13821 (___lxstat64): Do not use CHECK_1.
13822 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
13823 (__old_msgctl): Do not use CHECK_1.
13824 (__new_msgctl): Likewise.
13825 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
13826 <bp-checks.h>.
13827 (__gettimeofday): Do not use CHECK_1.
13828 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
13829 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
13830 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
13831 <bp-checks.h>.
13832 (__gettimeofday): Do not use CHECK_1.
13833 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
13834 (__old_shmctl): Do not use CHECK_1_NULL_OK.
13835 (__new_shmctl): Do not use CHECK_1.
13836 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
13837 <bp-checks.h>.
13838 (do_sigtimedwait): Do not use CHECK_1.
13839 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
13840 <bp-checks.h>.
13841 (do_sigwaitinfo): Do not use CHECK_1.
13842 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
13843 <bp-checks.h>.
13844 (msgctl): Do not use CHECK_1.
13845 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
13846 <bp-checks.h>.
13847 (shmctl): Do not use CHECK_1.
13848 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
13849 (ustat): Do not use CHECK_1.
13850 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
13851 <bp-checks.h>.
13852 (__fxstat): Do not use CHECK_1.
13853 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
13854 <bp-checks.h>.
13855 (__fxstatat): Do not use CHECK_1.
13856 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
13857 <bp-checks.h>.
13858 (__lxstat): Do not use CHECK_1.
13859 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
13860 <bp-checks.h>.
13861 (__xstat): Do not use CHECK_1.
13862 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
13863 (__xstat): Do not use CHECK_1.
13864 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
13865 (___xstat64): Do not use CHECK_1.
13866
b2c9eff4
JM
13867 [BZ #13550]
13868 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
13869 definitions.
13870 (CHECK_BOUNDS_HIGH): Likewise.
13871 * string/strcpy.c: Do not include <bp-checks.h>.
13872 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
13873
f1d70dad
RM
138742013-02-07 Roland McGrath <roland@hack.frob.com>
13875
13876 * nscd/nscd-client.h (__nscd_drop_map_ref):
13877 Add __attribute__ ((unused)).
13878 * nis/nss-nisplus.h (niserr2nss): Likewise.
13879
13880 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
13881 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
13882
13883 * csu/libc-tls.c (init_static_tls, init_slotinfo):
13884 Remove inline keyword.
13885 * include/rounding-mode.h (round_away): Likewise.
13886 * libio/wfileops.c (adjust_wide_data): Likewise.
13887 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
13888 (__m128i_strloadu_tolower): Likewise.
13889 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
13890 (__m128i_strloadu_tolower): Likewise.
13891 * time/mktime.c (ydhms_diff): Likewise.
13892 * locale/elem-hash.h (elem_hash): Likewise.
13893 * locale/setlocale.c (setdata): Likewise.
13894 * posix/regex_internal.h (re_string_char_size_at): Likewise.
13895 (re_string_wchar_at): Likewise.
13896 (bitset_not, bitset_merge, bitset_mask): Likewise.
13897 [!(__GNUC__ > 3)] (inline): Remove macro.
13898 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
13899 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
13900 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
13901 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
13902 * string/memcmp.c (memcmp_bytes): Likewise.
13903 * locale/programs/locarchive.c (compute_hashval): Likewise.
13904 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
13905 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
13906 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
13907 * nss/getent.c (print_rpc, print_protocols): Likewise.
13908 (print_passwd, print_group, print_aliases): Likewise.
13909 * nis/nss-nisplus.h (niserr2nss): Likewise.
13910 * nscd/connections.c (restart_p): Likewise.
13911 Change return type to bool.
13912
eab55bfb
RM
139132013-02-05 Roland McGrath <roland@hack.frob.com>
13914
7bd642f5
RM
13915 * Makeconfig (all-Depend-files): Add existing
13916 $(sorted-subdirs:=/Depend) files.
13917 (all-subdirs): Remove nss.
13918 * sysdeps/unix/inet/Subdirs: Add it here instead.
13919 * hesiod/Depend: New file.
13920
573c29b2
RM
13921 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
13922 instead of calling alloca.
13923
b2e25af0
RM
13924 * io/lseek.c (__lseek): Rename to __libc_lseek.
13925 Define __lseek as an alias.
13926
eab55bfb
RM
13927 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
13928
9a0d1941
CD
139292013-02-04 Carlos O'Donell <carlos@redhat.com>
13930
13931 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
13932 else clause and remove check for non-standard endianness.
13933
b83bbec4
DM
139342013-02-04 David S. Miller <davem@davemloft.net>
13935
13936 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13937
6277fdab
JM
139382013-02-04 Joseph Myers <joseph@codesourcery.com>
13939
13940 [BZ #13550]
13941 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
13942 (__ubp_memchr): Remove prototype.
13943 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
13944 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13945 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
13946 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13947 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
13948 Remove alias.
13949 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
13950 (__ubp_memchr): Likewise.
13951 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
13952 (__ubp_memchr): Likewise.
13953 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
13954 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
13955 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
13956 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
13957 CHECK_STRING.
13958 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13959 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
13960 (__getcwd): Do not use CHECK_STRING.
13961 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
13962 <bp-checks.h>.
13963 (__real_chown): Do not use CHECK_STRING.
13964 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
13965 <bp-checks.h>.
13966 (fchownat): Do not use CHECK_STRING.
13967 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
13968 CHECK_STRING.
13969 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
13970 <bp-checks.h>.
13971 (__lchown): Do not use CHECK_STRING.
13972 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13973 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13974 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13975 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
13976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
13977 include <bp-checks.h>.
13978 (truncate64): Do not use CHECK_STRING.
13979 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
13980 <bp-checks.h>.
13981 (__real_chown): Do not use CHECK_STRING.
13982 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
13983 <bp-checks.h>.
13984 (__lchown): Do not use CHECK_STRING.
13985 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
13986 <bp-checks.h>.
13987 (__chown): Do not use CHECK_STRING.
13988 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
13989 <bp-checks.h>.
13990 (truncate64): Do not use CHECK_STRING.
13991 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
13992 Likewise.
13993 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
13994 (__xmknod): Do not use CHECK_STRING.
13995 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
13996 <bp-checks.h>.
13997 (__xmknodat): Do not use CHECK_STRING.
13998 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13999 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
14000
903ae060
AS
140012013-02-04 Andreas Schwab <schwab@suse.de>
14002
14003 [BZ #14142]
14004 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
14005 * include/netdb.h: Likewise for h_errno.
14006 * elf/tst-stackguard1.c: Include <tls.h>.
14007
542f9466
JK
140082013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
14009
14010 * elf/link.h (struct link_map): Extend the l_addr comment.
14011 * include/link.h (struct link_map): Likewise.
14012
e782a927
JM
140132013-02-01 Joseph Myers <joseph@codesourcery.com>
14014
14015 [BZ #13550]
14016 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
14017 (BOUNDED_1): Remove macro.
14018 * debug/backtrace.c: Don't include <bp-checks.h>.
14019 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
14020 (__backtrace): Likewise.
14021 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
14022 <bp-checks.h>.
14023 (__backtrace): Don't use BOUNDED_1.
14024 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
14025 <bp-checks.h>.
14026 (__backtrace): Don't use BOUNDED_1.
14027 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
14028 (__backtrace): Don't use BOUNDED_1.
14029 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
14030 (shmat): Don't use BOUNDED_N.
14031
8cf28c5e
JM
140322013-01-31 Joseph Myers <joseph@codesourcery.com>
14033
3a7ac8a0
JM
14034 [BZ #13550]
14035 * sysdeps/generic/bp-start.h: Remove file.
14036 * csu/libc-start.c: Don't include <bp-start.h>.
14037 (LIBC_START_MAIN): Set up __environ directly instead of using
14038 INIT_ARGV_and_ENVIRON.
14039 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
14040 <bp-start.h>.
14041
f3499f95
JM
14042 [BZ #13550]
14043 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
14044 definitions.
14045 (CHECK_FCNTL): Likewise.
14046 (CHECK_N_PAGES): Likewise.
14047
32a45bea
JM
14048 [BZ #13550]
14049 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
14050 definitions.
14051 (CHECK_SIGSET_NULL_OK): Likewise.
14052 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
14053 <bp-checks.h>.
14054 (sigpending): Don't use CHECK_SIGSET.
14055 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
14056 <bp-checks.h>.
14057 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14058 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
14059 <bp-checks.h>.
14060 (do_sigsuspend): Don't use CHECK_SIGSET.
14061 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
14062 use CHECK_SIGSET.
14063 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
14064 (do_sigwait): Don't use CHECK_SIGSET.
14065 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
14066 use CHECK_SIGSET.
14067 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
14068 include <bp-checks.h>.
14069 (sigpending): Don't use CHECK_SIGSET.
14070 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
14071 include <bp-checks.h>.
14072 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14073 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
14074 <bp-checks.h>.
14075 (sigpending): Don't use CHECK_SIGSET.
14076 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
14077 <bp-checks.h>.
14078 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14079
2e8a5c8c
JM
14080 [BZ #13550]
14081 * sysdeps/generic/bp-semctl.h: Remove file.
14082 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
14083 <bp-checks.h> and <bp-semctl.h>.
14084 (__old_semctl): Don't use CHECK_SEMCTL.
14085 (__new_semctl): Likewise.
14086 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
14087 and <bp-semctl.h>.
14088 (__old_semctl): Don't use CHECK_SEMCTL.
14089 (__new_semctl): Likewise.
14090 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
14091 <bp-checks.h> and <bp-semctl.h>.
14092 (__old_semctl): Don't use CHECK_SEMCTL.
14093 (__new_semctl): Likewise.
14094 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
14095 <bp-checks.h> and <bp-semctl.h>.
14096 (semctl): Don't use CHECK_SEMCTL.
14097
c2d54929
JM
14098 [BZ #13550]
14099 * Makerules (elide-bp-thunks): Remove variable.
14100 (elide-routines.oS): Don't use $(elide-bp-thunks).
14101 (elide-routines.os): Likewise.
14102 (elide-routines.o): Likewise.
14103 (elide-routines.op): Likewise.
14104 (elide-routines.og): Likewise.
14105 (objects): Don't use $(bp-thunks).
14106 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
14107 include.
14108 (common-generated): Do not add s-proto-bp.d.
14109 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
14110 (int): Likewise.
14111 (typ): Likewise.
14112 Do not generate makefile rules for bounded-pointer thunks.
14113 * sysdeps/generic/bp-thunks.h: Remove file.
14114 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
14115 * sysdeps/unix/s-proto-bp.S: Likewise.
14116
8cf28c5e
JM
14117 [BZ #15062]
14118 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
14119 parts of result separately when argument is not close to line from
14120 -i to i and one part of argument is small.
14121 * math/k_casinhf.c (__kernel_casinhf): Likewise.
14122 * math/k_casinhl.c (__kernel_casinhl): Likewise.
14123 * math/libm-test.inc (cacos_test): Add more tests.
14124 (casin_test): Likewise.
14125 (casinh_test): Likewise.
14126 * sysdeps/i386/fpu/libm-test-ulps: Update.
14127 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14128
c4e33b8d
DM
141292013-01-31 David S. Miller <davem@davemloft.net>
14130
14131 * po/de.po: Update from translation team.
14132
3b60b421
MK
141332013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
14134
14135 * time/tzfile.c: Include stdint.h for SIZE_MAX.
14136
bb931195
TS
141372013-01-25 Thomas Schwinge <thomas@codesourcery.com>
14138
b5a5da23
TS
14139 * configure.in (_AC_PROG_CC_C89): New definition.
14140 * configure: Regenerate.
14141
bb931195
TS
14142 * configure.in (AC_PROG_CPP): New definition.
14143 * configure: Regenerate.
14144
8c53a12c
JM
141452013-01-23 Joseph Myers <joseph@codesourcery.com>
14146
14147 * debug/tst-backtrace.h: New file.
14148 * debug/tst-backtrace2.c: Include tst-backtrace.h.
14149 (ret): Remove variable.
14150 (x): Likewise.
14151 (FAIL): Remove macro.
14152 (NO_INLINE): Likewise.
14153 (fn1): Use match function instead of strstr.
14154 * debug/tst-backtrace3.c: Include tst-backtrace.h.
14155 (ret): Remove variable.
14156 (x): Likewise.
14157 (FAIL): Remove macro.
14158 (NO_INLINE): Likewise.
14159 (fn): Use match function instead of strstr.
14160 * debug/tst-backtrace4.c: Include tst-backtrace.h.
14161 (ret): Remove variable.
14162 (x): Likewise.
14163 (FAIL): Remove macro.
14164 (NO_INLINE): Likewise.
14165 (handle_signal): Use match function instead of strstr.
14166 * debug/tst-backtrace5.c: Include tst-backtrace.h.
14167 (ret): Remove variable.
14168 (x): Likewise.
14169 (FAIL): Remove macro.
14170 (NO_INLINE): Likewise.
14171 (handle_signal): Use match function instead of strstr.
14172
4858fa2a
RM
141732013-01-23 Roland McGrath <roland@hack.frob.com>
14174
14175 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
14176
bae8e7f5
DM
141772013-01-23 David S. Miller <davem@davemloft.net>
14178
14179 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
14180 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
14181 argument of CAS if possible.
14182 * sysdeps/sparc/sparc64/bits/atomic.h
14183 (__arch_compare_and_exchange_val_32_acq): Likewise.
14184 (__arch_compare_and_exchange_val_64_acq): Likewise.
14185
9cbbc4ae
PT
141862013-01-23 Pino Toscano <toscano.pino@tiscali.it>
14187
14188 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
14189 * sysdeps/posix/ulimit.c: ... this.
92a601b8 14190 Include <limits.h>.
67b3f58c 14191 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 14192
5655a0b5
AC
141932013-01-23 Adam Conrad <adconrad@0c3.net>
14194
14195 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
14196 (LDFLAGS-tst-array5): Likewise.
14197
052aff95
JM
141982013-01-23 Joseph Myers <joseph@codesourcery.com>
14199
14200 [BZ #15036]
14201 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
14202 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
14203 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
14204 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
14205
7c1e01aa
DM
142062013-01-21 David S. Miller <davem@davemloft.net>
14207
14208 * sysdeps/sparc/backtrace.c: New file.
14209 * sysdeps/sparc/sparc32/backtrace.h: New file.
14210 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
14211 * sysdeps/sparc/sparc64/backtrace.h: New file.
14212 * sysdeps/sparc/sparc64/backtrace.c: Delete.
14213 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
14214 -funwind-tables.
14215
ab087e0a
AS
142162013-01-21 Andreas Schwab <schwab@suse.de>
14217
14218 [BZ #15020]
14219 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
14220 closed its stdout.
14221
ed689c2f
AS
142222013-01-20 Andreas Schwab <schwab@linux-m68k.org>
14223
14224 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
14225 "mpa2.h".
14226 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14227
31d470ac
JM
142282013-01-18 Joseph Myers <joseph@codesourcery.com>
14229 Mark Mitchell <mark@codesourcery.com>
14230 Tom de Vries <tom@codesourcery.com>
14231 Paul Pluzhnikov <ppluzhnikov@google.com>
14232
14233 * debug/tst-backtrace2.c: New file.
14234 * debug/tst-backtrace3.c: Likewise.
14235 * debug/tst-backtrace4.c: Likewise.
14236 * debug/tst-backtrace5.c: Likewise.
14237 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
14238 (CFLAGS-tst-backtrace3.c): Likewise.
14239 (CFLAGS-tst-backtrace4.c): Likewise.
14240 (CFLAGS-tst-backtrace5.c): Likewise.
14241 (LDFLAGS-tst-backtrace2): Likewise.
14242 (LDFLAGS-tst-backtrace3): Likewise.
14243 (LDFLAGS-tst-backtrace4): Likewise.
14244 (LDFLAGS-tst-backtrace5): Likewise.
14245 (tests): Add new tests tst-backtrace2, tst-backtrace3,
14246 tst-backtrace4 and tst-backtrace5.
14247
90567f30 142482013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
14249 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14250
14251 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
14252 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
14253 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
14254 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
14255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14256 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
14257 "+r" and remove output regs list as redundant. Add explicit inline
14258 asm to specify register of return val to work around compiler codegen
14259 bug. Remove (int) cast on return value. Add return type parameter to
14260 use in macro so that this macro does not truncate return value for
14261 64-bit values.
14262 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
14263 pass to INTERNAL_VSYSCALL_NCS.
14264 (INLINE_VSYSCALL): Add 'long int' as return type to
14265 INTERNAL_VSYSCALL_NCS macro invocation.
14266 (INTERNAL_VSYSCALL): Add 'long int' as return type to
14267 INTERNAL_VSYSCALL_NCS macro invocation.
14268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14269
d3b9ea61
SP
142702013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14271
0b57daeb
SP
14272 [BZ #14496]
14273 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
14274 Fix application of SIMD FP exception mask.
14275
caa99d06
SP
14276 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
14277 mp_no from a power of two.
14278 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
14279 __mpexp_twomm1. Use __pow_mp.
14280
d3b9ea61
SP
14281 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
14282 multiplication.
14283
1dbaee3c
DM
142842013-01-17 David S. Miller <davem@davemloft.net>
14285
14286 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14287
728d7b43
JM
142882013-01-17 Joseph Myers <joseph@codesourcery.com>
14289
14290 [BZ #15023]
14291 * include/complex.h: Condition contents on [!_COMPLEX_H].
14292 (__kernel_casinhf): New prototype.
14293 (__kernel_casinh): Likewise.
14294 (__kernel_casinhl): Likewise.
14295 * math/Makefile (libm_calls): Add k_casinh.
14296 * math/k_casinh.c: New file.
14297 * math/k_casinhf.c: Likewise.
14298 * math/k_casinhl.c: Likewise.
14299 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
14300 finite nonzero arguments.
14301 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
14302 finite nonzero arguments.
14303 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
14304 finite nonzero arguments.
14305 * math/s_casinh.c: Do not include <float.h>.
14306 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
14307 * math/s_casinhf.c: Do not include <float.h>.
14308 (__casinhf): Move code for finite nonzero arguments to
14309 k_casinhf.c.
14310 * math/s_casinhl.c: Do not include <float.h>.
14311 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
14312 redefine.
14313 (__casinhl): Move code for finite nonzero arguments to
14314 k_casinhl.c.
14315 * math/libm-test.inc (cacos_test): Add more tests.
14316 * sysdeps/i386/fpu/libm-test-ulps: Update.
14317 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14318
2a26ef3a
PT
143192013-01-17 Pino Toscano <toscano.pino@tiscali.it>
14320
14321 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
14322 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
14323 [!HAVE_MREMAP]: Remove [defined linux] case.
14324 * malloc/arena.c: Do not include <malloc-sysdep.h>.
14325
a897655d
SP
143262013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14327
14328 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
14329
881ebe89 143302013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
14331
14332 * elf/elf.h (R_386_SIZE32): New relocation.
14333 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
14334 R_386_SIZE32.
14335 (elf_machine_rela): Likewise.
14336 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
14337 R_X86_64_SIZE64 and R_X86_64_SIZE32.
14338
59981e9b
JM
143392013-01-17 Joseph Myers <joseph@codesourcery.com>
14340
14341 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
14342 (FP_FAST_FMA): Do not define.
14343 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
14344 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
14345 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
14346 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
14347 !_SOFT_FLOAT]: Likewise.
14348 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
14349 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
14350 value.
14351 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
14352 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
14353 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
14354 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
14355 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
14356 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
14357 file.
14358
cfa8054f
AS
143592013-01-16 Andreas Schwab <schwab@suse.de>
14360
14361 [BZ #14327]
14362 * include/stdlib.h (__mktemp): Add declaration.
14363 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
14364 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
14365
dd930cc5
SP
143662013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14367
881ebe89
SP
14368 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
14369 definitions.
14370 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
14371 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
14372 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
14373 definitions here.
14374 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
14375 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
14376 definitions.
14377 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
14378 and ONE.
14379 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
14380 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
14381 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
14382 definitions.
14383 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
14384 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
14385 definitions.
14386 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 14387
dd930cc5
SP
14388 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
14389
c19a9f89
DM
143902013-01-15 David S. Miller <davem@davemloft.net>
14391
1aa61767
DM
14392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14393 trunc{,f} to libm-sysdep_routes.
14394 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
14396 file.
14397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
14398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
14399 file.
14400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
14401 file.
14402 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
14403 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
14404 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
14405 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
14406 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
14407 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
14408 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
14409 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
14410
c42d5e98
DM
14411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14412 nearbyint{,f} to libm-sysdep_routes.
14413 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
14415 New file.
14416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
14417 file.
14418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
14419 New file.
14420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
14421 file.
14422 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
14423 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
14424 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
14425 file.
14426 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
14427 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
14428 file.
14429 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
14430 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
14431 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
14432
c19a9f89
DM
14433 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
14434 libc_feholdexcept and libc_fesetenv.
14435
357679d2
MF
144362013-01-15 Mike Frysinger <vapier@gentoo.org>
14437
14438 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
14439
65a82e3d
DM
144402013-01-14 David S. Miller <davem@davemloft.net>
14441
8b954ab9
DM
14442 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
14443 (SPARC_ASM_VIS2_IFUNC): Likewise.
14444 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
14445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
14446 use of 'siam' instruction.
14447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
14448 Likewise.
14449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
14450 Likewise.
14451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
14452 Likewise.
14453 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
14454 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
14455 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
14456 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
14457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
14458 file.
14459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
14460 file.
14461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
14462 file.
14463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
14464 file.
14465 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
14466 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
14467 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
14468 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
14469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
14470 new VIS2 routines.
14471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
14472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
14474 Likewise.
14475 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
14476 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
14477 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
14478 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
14479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
14480 routines to libm-sysdep_routines.
14481 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14482
65a82e3d
DM
14483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14484 fdim/fdimf to libm-sysdep_routines.
14485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
14486 file.
14487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
14488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
14489 file.
14490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
14491 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
14492 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
14493 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
14494 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
14495 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
14496 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
14497
e34ab705
SP
144982013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
14499
2a91b573
SP
14500 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
14501 to optimize copies.
14502
1066a534
SP
14503 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
14504 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14505 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14506
e34ab705
SP
14507 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
14508 local variable MPTWO.
14509 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
14510 Likewise.
14511
aba5e596
MF
145122013-01-13 Mike Frysinger <vapier@gentoo.org>
14513
14514 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
14515 GLOB_NOESCAPE.
14516
e557e9e5
MF
145172013-01-13 Mike Frysinger <vapier@gentoo.org>
14518
14519 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
14520
0428cec9
MF
145212013-01-13 Mike Frysinger <vapier@gentoo.org>
14522
14523 * manual/pattern.texi (glob_t): Document gl_flags.
14524 (glob64_t): Likewise.
14525
8794a964
DM
145262013-01-11 David S. Miller <davem@davemloft.net>
14527
66438c3f
RM
14528 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
14529 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
14530 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
14531 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
14532 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
14533 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
14534 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
14535 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
14536 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
14537 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
14538 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
14539 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
14540 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
14541
4ae4244d
DM
14542 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14543 sparc V9 rather than using V8 code.
14544 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14545 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14546
8794a964
DM
14547 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
14548 Move to...
14549 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
14550 Here.
14551
6270516e
RM
145522013-01-11 Roland McGrath <roland@hack.frob.com>
14553
14554 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
14555 not in the main loop.
14556 * configure: Regenerated.
14557
6a57d931
JM
145582013-01-11 Joseph Myers <joseph@codesourcery.com>
14559
14560 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
14561 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
14562 to just #else.
14563 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
14564 [!__GLIBC_HAVE_LONG_LONG] case.
14565 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
14566 condition to just #else.
14567 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
14568 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
14569 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
14570 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
14571 unconditional.
14572 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
14573 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14574 #elif condition to just #else.
14575 * sysdeps/unix/sysv/linux/sys/sysmacros.h
14576 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
14577 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14578 #elif condition to just #else.
14579
0e8529e9
SE
145802013-01-11 Steve Ellcey <sellcey@mips.com>
14581
14582 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
14583 (EF_MIPS_ARCH_64): Fix value.
14584 (EF_MIPS_ARCH_32R2): New.
14585 (EF_MIPS_ARCH_64R2): New.
14586
740b3dbe
L
145872013-01-11 H.J. Lu <hongjiu.lu@intel.com>
14588
14589 * Makeconfig (+link-pie-before-libc): New.
14590 (+link-pie-after-libc): Likewise.
14591 (+link-pie-tests): Likewise.
14592 (+link-pie): Rewritten.
14593 (link-before-libc): Remove $(config-LDFLAGS).
14594 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
14595 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
14596 (config-LDFLAGS): Renamed to ...
14597 (rtld-LDFLAGS): This.
14598 (rtld-tests-LDFLAGS): New macro.
14599 (link-libc-rpath-link): Likewise.
14600 (link-libc-tests-rpath-link): Likewise.
14601 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
14602 (link-libc): Prepand $(link-libc-rpath-link).
14603 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
14604 (test-program-prefix): New macro.
14605 (test-via-rtld-prefix): Likewise.
14606 (test-program-cmd): Likewise.
14607 (host-test-program-cmd): Likewise.
14608 * Makefile ($(common-objpfx)testrun.sh): Replace
14609 $(run-program-prefix) with $(test-program-prefix).
14610 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
14611 $(rtld-LDFLAGS).
14612 ($(common-objpfx)shlib.lds): Likewise.
14613 (build-module-helper): Likewise.
14614 ($(common-objpfx)format.lds): Likewise.
14615 * Rules (binaries-pie-tests): New.
14616 (binaries-pie-notests): Likewise.
14617 (binaries-pie): Rewritten.
14618 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
14619 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
14620 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
14621 (make-test-out): Replace $(host-built-program-cmd) with
14622 $(host-test-program-cmd).
14623 * config.make.in (build-hardcoded-path-in-tests): New variable.
14624 * configure.in (--enable-hardcoded-path-in-tests): New configure
14625 option.
14626 (hardcoded_path_in_tests): New AC_SUBST.
14627 * configure: Regenerated.
14628 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
14629 $(built-program-cmd) with $(test-program-cmd).
14630 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
14631 (test_program_cmd): This.
14632 * elf/Makefile ($(objpfx)order.out): Run test with
14633 $(test-program-prefix).
14634 ($(objpfx)order2.out): Likewise.
14635 ($(objpfx)tst-initorder.out): Likewise.
14636 ($(objpfx)tst-initorder2.out): Likewise.
14637 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
14638 $(test-program-cmd).
14639 ($(objpfx)tst-array1-static.out): Likewise.
14640 ($(objpfx)tst-array2.out): Likewise.
14641 ($(objpfx)tst-array3.out): Likewise.
14642 ($(objpfx)tst-array4.out): Likewise.
14643 ($(objpfx)tst-array5.out): Likewise.
14644 ($(objpfx)tst-array5-static.out): Likewise.
14645 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
14646 $(test-program-cmd).
14647 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
14648 $(run-program-prefix) with $(test-program-prefix).
14649 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
14650 (test_program_prefix): This.
14651 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
14652 $(run-program-prefix) with $(test-program-prefix).
14653 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
14654 (test_program_prefix): This.
14655 * iconvdata/tst-tables.sh: Likewise.
14656 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
14657 $(run-program-prefix) with $(test-program-prefix).
14658 ($(objpfx)tst-translit.out): Likewise.
14659 ($(objpfx)tst-gettext2.out): Likewise.
14660 ($(objpfx)tst-gettext4.out): Likewise.
14661 ($(objpfx)tst-gettext6.out): Likewise.
14662 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
14663 (test_program_prefix): This.
14664 * intl/tst-gettext2.sh: Likewise.
14665 * intl/tst-gettext4.sh Likewise.
14666 * intl/tst-gettext6.sh: Likewise.
14667 * intl/tst-translit.sh: Likewise.
14668 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
14669 with $(test-program-cmd).
14670 * libio/Makefile ($(objpfx)test-freopen.out): Replace
14671 $(run-program-prefix) with $(test-program-prefix).
14672 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
14673 (test_program_prefix): This.
14674 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
14675 $(run-program-prefix) with $(test-program-prefix).
14676 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
14677 (test_program_prefix): This.
14678 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
14679 * posix/Makefile ($(objpfx)globtest.out): Replace
14680 $(run-via-rtld-prefix) and $(test-wrapper) with
14681 $(test-program-prefix) and $(test-via-rtld-prefix).
14682 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
14683 $(test-program-prefix).
14684 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
14685 $(host-test-program-cmd).
14686 (tst-spawn-ARGS): Likewise.
14687 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
14688 $(test-program-prefix).
14689 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
14690 (test_via_rtld_prefix): This.
14691 (test_wrapper): Renamed to ...
14692 (test_program_prefix): This.
14693 (run_program_prefix): Replaced by test_program_prefix.
14694 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
14695 (test_program_prefix): This.
14696 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
14697 with $(host-test-program-cmd).
14698 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
14699 $(run-program-prefix) with $(test-program-prefix).
14700 ($(objpfx)tst-printf.out): Likewise.
14701 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
14702 $(test-program-cmd).
14703 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
14704 (test_program_prefix): This.
14705 * stdio-common/tst-unbputc.sh: Likewise.
14706 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
14707 $(run-program-prefix) with $(test-program-prefix).
14708 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
14709 (test_program_prefix): This.
14710 * string/Makefile ($(objpfx)tst-svc.out): Replace
14711 $(built-program-cmd) with $(test-program-cmd).
14712
c6fe55cf
AJ
147132013-01-11 Andreas Jaeger <aj@suse.de>
14714
14715 [BZ #15003]
14716 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
14717 value. Sync with Linux 3.7.
14718
9e6919c8
DM
147192013-01-10 David S. Miller <davem@davemloft.net>
14720
14721 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
14722 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14723 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14724
1c9f1a02
RM
147252013-01-10 Roland McGrath <roland@hack.frob.com>
14726
14727 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
14728 never set.
14729 * configure: Regenerated.
14730
b9de2dde
DM
147312013-01-10 David S. Miller <davem@davemloft.net>
14732
14733 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14734 sparc V9 rather than using V8 code.
14735 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14736 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14737
e7f68ef4
RM
147382013-01-10 Roland McGrath <roland@hack.frob.com>
14739
14740 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
14741 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
14742 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
14743 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
14744 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
14745 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
14746 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
14747 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
14748 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
14749 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
14750 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
14751 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
14752 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
14753 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
14754 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
14755 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
14756 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
14757 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
14758 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
14759 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
14760 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
14761 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
14762 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
14763 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
14764 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
14765 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
14766 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
14767
5a47cc9c
DM
147682013-01-10 David S. Miller <davem@davemloft.net>
14769
14770 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14771
4cf8f209
L
147722013-01-10 H.J. Lu <hongjiu.lu@intel.com>
14773
14774 * posix/Makefile (tests-static): New variable.
14775 (tests): Add $(tests-static).
14776 (tst-exec-static-ARGS): New variable.
14777 (tst-spawn-static-ARGS): Likewise.
14778 * posix/tst-exec-static.c: New file.
14779 * posix/tst-spawn-static.c: Likewise.
14780 * posix/tst-exec.c: Support run directly.
14781 * posix/tst-spawn.c: Likewise.
14782
fed0faa1
JM
147832013-01-10 Joseph Myers <joseph@codesourcery.com>
14784
828beb13
JM
14785 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
14786 long.
14787 * math/bits/mathcalls.h (llrint): Likewise.
14788 (llround): Likewise.
14789 * stdlib/stdlib.h (struct drand48_data): Likewise.
14790 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
14791 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
14792 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
14793 Likewise.
14794 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
14795 Likewise.
14796 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
14797 (elf_greg_t): Likewise.
14798 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
14799 (__jmp_buf): Likewise.
14800 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
14801 definitions.
14802 (llrint): Likewise, for all definitions.
14803 (llrintl): Likewise.
14804
fed0faa1
JM
14805 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
14806 Remove [__GNUC__] condition.
14807 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
14808 condition to just [__USE_ISOC99].
14809 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
14810
1a20cb20
L
148112013-01-10 H.J. Lu <hongjiu.lu@intel.com>
14812
14813 [BZ #14200]
14814 * sysdeps/unix/sysv/linux/x86/bits/environments.h
14815 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
14816 defined.
14817 (_POSIX_V6_ILP32_OFF32): Likewise.
14818 (_XBS5_ILP32_OFF32): Likewise.
14819 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
14820 (__ILP32_OFFBIG_LDFLAGS): Likewise.
14821
751b85f7
SP
148222013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14823
7490eb81
SP
14824 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
14825
751b85f7
SP
14826 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
14827 doubles __mpexp_twomm1. Adjust usage.
14828 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
14829 Remove.
14830
988197f0
AS
148312013-01-10 Andreas Schwab <schwab@suse.de>
14832
14833 [BZ #14964]
14834 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
14835 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
14836
e83d7298
DM
148372013-01-09 David S. Miller <davem@davemloft.net>
14838
034ed64b 14839 [BZ #15003]
e83d7298
DM
14840 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
14841 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
14842 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
14843 TCP_FASTOPEN): Define.
14844 (tcp_repair_opt): New structure.
14845 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
14846 enum values.
14847 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
14848 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
14849 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
14850 (tcp_cookie_transactions): New structure.
14851
d5e0b9bd
AB
148522013-01-09 Anton Blanchard <anton@samba.org>
14853
14854 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
14855 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
14856 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
14857 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
14858
0c07e3ea
JM
148592013-01-09 Joseph Myers <joseph@codesourcery.com>
14860
14861 * include/features.h (__USE_ANSI): Remove.
14862
232f7002
RM
148632013-01-09 Roland McGrath <roland@hack.frob.com>
14864
ad98e30c
RM
14865 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
14866
232f7002
RM
14867 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
14868
950c99ca
SP
148692013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
14870
b5792741
SP
14871 * sysdeps/s390/fpu/libm-test-ulps: Update.
14872
47cf2278
SP
14873 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14874
950c99ca
SP
14875 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
14876 (__acr): Likewise.
14877 (__cpy): Likewise.
14878 (norm): Likewise.
14879 (denorm): Likewise.
14880 (__mp_dbl): Likewise.
14881 (__dbl_mp): Likewise.
14882 (add_magnitudes): Likewise.
14883 (sub_magnitudes): Likewise.
14884 (__add): Likewise.
14885 (__sub): Likewise.
14886 (__mul): Likewise.
14887 (__inv): Likewise.
14888 (__dvd): Likewise.
14889 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
14890 (__acr): Likewise.
14891 (__cpy): Likewise.
14892 (norm): Likewise.
14893 (denorm): Likewise.
14894 (__mp_dbl): Likewise.
14895 (__dbl_mp): Likewise.
14896 (add_magnitudes): Likewise.
14897 (sub_magnitudes): Likewise.
14898 (__add): Likewise.
14899 (__sub): Likewise.
14900 (__mul): Likewise.
14901 (__inv): Likewise.
14902 (__dvd): Likewise.
14903 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
14904 (__acr): Likewise.
14905 (__cpy): Likewise.
14906 (norm): Likewise.
14907 (denorm): Likewise.
14908 (__mp_dbl): Likewise.
14909 (__dbl_mp): Likewise.
14910 (add_magnitudes): Likewise.
14911 (sub_magnitudes): Likewise.
14912 (__add): Likewise.
14913 (__sub): Likewise.
14914 (__mul): Likewise.
14915 (__inv): Likewise.
14916 (__dvd): Likewise.
14917
eede9df9
JM
149182013-01-08 Joseph Myers <joseph@codesourcery.com>
14919
14920 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
14921 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
14922 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
14923 2 && __USE_EXTERN_INLINES]: Likewise.
14924
c40ea3d9
AJ
149252013-01-08 Andreas Jaeger <aj@suse.de>
14926
14927 [BZ# 14985]
14928 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
14929 Remove.
14930 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14931 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14932
2ccdea26
AB
149332013-01-07 Anton Blanchard <anton@samba.org>
14934
14935 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
14936 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
14937 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
14938 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
14939 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
14940 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14941 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
14942 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14943 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14944 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14945 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14946 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14947 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14948 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14949 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14950 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14951 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14952 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14953 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14954 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
14955 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14956 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
14957 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14958 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14959 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
14960 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
14961 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14962 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
14963 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
14964 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14965 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14966 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14967 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14968 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14969 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14970 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14971 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14972 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
14973 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
14974 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
14975 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
14976 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14977 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14978
a9708fed
JM
149792013-01-07 Joseph Myers <joseph@codesourcery.com>
14980
375607b9
JM
14981 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
14982 (__MALLOC_PMT): Likewise.
14983 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
14984 [__GNUC__], only on [_LIBC].
14985 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14986 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
14987 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14988 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
14989 forward declaration.
14990 (realloc_hook_ini): Likewise.
14991 (memalign_hook_ini): Likewise.
14992 (__libc_memalign): Do not use __MALLOC_PMT in variable
14993 declaration.
14994 (__libc_valloc): Likewise.
14995 (__libc_pvalloc): Likewise.
14996 (__libc_calloc): Likewise.
14997 (__posix_memalign): Likewise.
14998
a9708fed
JM
14999 [BZ #14996]
15000 * math/s_casinh.c: Include <float.h>.
15001 (__casinh): Do not do computation with squaring and square root
15002 for large arguments.
15003 * math/s_casinhf.c: Include <float.h>.
15004 (__casinhf): Do not do computation with squaring and square root
15005 for large arguments.
15006 * math/s_casinhl.c: Include <float.h>.
15007 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
15008 (__casinhl): Do not do computation with squaring and square root
15009 for large arguments.
15010 * math/libm-test.inc (casin_test): Add more tests.
15011 (casinh_test): Likewise.
15012 * sysdeps/i386/fpu/libm-test-ulps: Update.
15013 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15014
afec409a
L
150152013-01-04 H.J. Lu <hongjiu.lu@intel.com>
15016
15017 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
15018 (__x86_64_raw_data_cache_size): Likewise.
15019 (__x86_64_data_cache_size_half): Likewise.
15020 (__x86_64_raw_data_cache_size_half): Likewise.
15021 (__x86_64_shared_cache_size): Likewise.
15022 (__x86_64_raw_shared_cache_size): Likewise.
15023 (__x86_64_shared_cache_size_half): Likewise.
15024 (__x86_64_raw_shared_cache_size_half): Likewise.
15025 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
15026 to ...
15027 (__x86_data_cache_size): This.
15028 (__x86_64_raw_data_cache_size): Renamed to ...
15029 (__x86_raw_data_cache_size): This.
15030 (__x86_64_data_cache_size_half): Renamed to ...
15031 (__x86_data_cache_size_half): This.
15032 (__x86_64_raw_data_cache_size_half): Renamed to ...
15033 (__x86_raw_data_cache_size_half): This.
15034 (__x86_64_shared_cache_size): Renamed to ...
15035 (__x86_shared_cache_size): This.
15036 (__x86_64_raw_shared_cache_size): Renamed to ...
15037 (__x86_raw_shared_cache_size): This.
15038 (__x86_64_shared_cache_size_half): Renamed to ...
15039 (__x86_shared_cache_size_half): This.
15040 (__x86_64_raw_shared_cache_size_half): Renamed to ...
15041 (__x86_raw_shared_cache_size_half): This.
15042 * sysdeps/x86_64/memcpy.S: Updated.
15043 * sysdeps/x86_64/memset.S: Likewise.
15044 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
15045 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15046 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15047
0b3986d0
DM
150482013-01-04 David S. Miller <davem@davemloft.net>
15049
15050 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15051
e47686e9
AS
150522013-01-04 Andreas Schwab <schwab@linux-m68k.org>
15053
d643bac1
AS
15054 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
15055 1 to avoid redefinition warning.
15056 (__USE_GNU): Don't define.
15057 (init_signaling_nan): Protoize.
15058
e47686e9
AS
15059 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15060
b18decba
SP
150612013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15062
fffb407f
SP
15063 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
15064 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
15065 (__cpymn): Likewise.
15066 (norm): Remove commented code.
15067 (denorm): Likewise.
15068 (__mp_dbl): Likewise.
15069 (__inv): Likewise.
15070 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
15071 (__cpymn): Likewise.
15072 (norm): Remove commented code.
15073 (denorm): Likewise.
15074 (__mp_dbl): Likewise.
15075 (__inv): Likewise.
15076
b18decba
SP
15077 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
15078 mp_no value for 1.0 and 2.0.
15079 (norm): Use RADIXI instead of radixi.d.
15080 (denorm): Likewise.
15081 (__mul): Use 0.0 instead of zero.d.
15082 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
15083 mp_no value for 1.0 and 2.0.
15084 (norm): Use RADIXI instead of radixi.d.
15085 (denorm): Likewise.
15086 (__mul): Use 0.0 instead of zero.d.
15087
cdc1c96f
JM
150882013-01-04 Joseph Myers <joseph@codesourcery.com>
15089
15090 [BZ #14994]
15091 * math/s_casinh.c (__casinh): Reduce finite argument to first
15092 quadrant then set signs of results at the end.
15093 * math/s_casinhf.c (__casinhf): Likewise.
15094 * math/s_casinhl.c (__casinhl): Likewise.
15095 * math/libm-test.inc (casin_test): Add more tests.
15096 (casinh_test): Likewise.
15097 * sysdeps/i386/fpu/libm-test-ulps: Update.
15098 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15099
302913e1
SP
151002013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15101
6420d207
SP
15102 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
15103
a9e48ab4
SP
15104 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
15105
b7837264
SP
15106 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
15107 declarations.
15108 (denorm): Likewise.
15109 (__mp_dbl): Likewise.
15110 (__inv): Likewise.
15111
f8af25d2
SP
15112 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
15113 and adjust the header comment.
15114
302913e1
SP
15115 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
15116 variable name from declaration.
15117
5d7dd1ca
L
151182013-01-03 H.J. Lu <hongjiu.lu@intel.com>
15119
15120 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15121 Initialize COMMON_CPUID_INDEX_7 element.
15122 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
15123 (CPUID_RTM): Likewise.
15124 (HAS_RTM): Likewise.
15125 (COMMON_CPUID_INDEX_7): New enum.
15126
2f5f40f4
AS
151272013-01-03 Andreas Schwab <schwab@linux-m68k.org>
15128
15129 [BZ #14981]
15130 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
15131 size is zero, record memory as freed.
15132
4056f4a0
AJ
151332013-01-03 Andreas Jaeger <aj@suse.de>
15134
15135 * po/ia.po: Add new Interlingua translation.
15136
ab15736f 151372012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
15138
15139 * locale/programs/localedef.c: Fix description of '--posix' flag.
15140
568035b7
JM
151412013-01-02 Joseph Myers <joseph@codesourcery.com>
15142
e6898b8d
JM
15143 * NEWS: Update dates in second copyright notice.
15144 * README: Update copyright dates in example.
15145 * manual/libc.texinfo: Update copyright dates.
15146 * scripts/test-installation.pl: Update copyright date in --version
15147 output.
15148
0e2f9562
JM
15149 * hurd/ctty-input.c: Fix copyright notice formatting.
15150 * hurd/ctty-output.c: Likewise.
15151 * hurd/dtable.c: Likewise.
15152 * hurd/hurd-raise.c: Likewise.
15153 * hurd/hurdprio.c: Likewise.
15154 * hurd/msgportdemux.c: Likewise.
15155 * misc/sys/file.h: Likewise.
15156 * misc/sys/ioctl.h: Likewise.
15157 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
15158 * sysdeps/mach/hurd/chdir.c: Likewise.
15159 * sysdeps/mach/hurd/fchdir.c: Likewise.
15160 * sysdeps/mach/hurd/rename.c: Likewise.
15161 * sysdeps/mach/hurd/rmdir.c: Likewise.
15162 * sysdeps/mach/hurd/seekdir.c: Likewise.
15163 * sysdeps/mach/hurd/setsid.c: Likewise.
15164 * sysdeps/posix/wait3.c: Likewise.
15165
568035b7
JM
15166 * All files with FSF copyright notices: Update copyright dates
15167 using scripts/update-copyrights.
15168 * intl/plural.c: Regenerated.
15169 * locale/programs/charmap-kw.h: Likewise.
15170 * locale/programs/locfile-kw.h: Likewise.
15171
da08f647
SP
151722013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15173
0f5477af
SP
15174 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
15175 four values.
15176
44e0d4c2
SP
15177 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
15178 calculation loop and add branch prediction.
15179
4d55b4e5
SP
15180 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
15181 check access beyond bounds of m1np.
15182
da08f647
SP
15183 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
15184 MPTWO.
15185 (__inv): Remove local variable MPTWO to use the global
15186 constant.
15187 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
15188 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
15189 variable MPTWO.
15190 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
15191 MP3HALFS static const.
15192
8e051029
DM
151932013-01-01 David S. Miller <davem@davemloft.net>
15194
15195 * po/ca.po: Update from translation team.
15196
f4cf5f2d
JM
151972013-01-01 Joseph Myers <joseph@codesourcery.com>
15198
15199 * scripts/update-copyrights: New file.
15200 * Makeconfig: Reformat copyright notice.
15201 * ctype/ctype.h: Likewise.
15202 * debug/swprintf_chk.c: Likewise.
15203 * elf/dl-cache.c: Likewise.
15204 * elf/dl-debug.c: Likewise.
15205 * elf/dl-object.c: Likewise.
15206 * grp/initgroups.c: Likewise.
15207 * hurd/Makefile: Likewise.
15208 * hurd/hurd/signal.h: Likewise.
15209 * hurd/hurdfault.c: Likewise.
15210 * hurd/hurdioctl.c: Likewise.
15211 * hurd/hurdlookup.c: Likewise.
15212 * hurd/intr-msg.c: Likewise.
15213 * iconv/gconv_open.c: Likewise.
15214 * libio/swprintf.c: Likewise.
15215 * locale/lc-ctype.c: Likewise.
15216 * locale/nl_langinfo.c: Likewise.
15217 * mach/Machrules: Likewise.
15218 * mach/Makefile: Likewise.
15219 * malloc/obstack.h: Likewise.
15220 * manual/Makefile: Likewise.
15221 * manual/tsort.awk: Likewise.
15222 * misc/bits/stab.def: Likewise.
15223 * nis/nis_print_group_entry.c: Likewise.
15224 * nis/nis_table.c: Likewise.
15225 * nis/nss_compat/compat-pwd.c: Likewise.
15226 * nis/nss_compat/compat-spwd.c: Likewise.
15227 * po/Makefile: Likewise.
15228 * posix/fnmatch.c: Likewise.
15229 * posix/regex.h: Likewise.
15230 * resolv/Makefile: Likewise.
15231 * resolv/nss_dns/dns-network.c: Likewise.
15232 * resolv/res_hconf.c: Likewise.
15233 * scripts/gen-sorted.awk: Likewise.
15234 * soft-fp/soft-fp.h: Likewise.
15235 * stdio-common/printf.h: Likewise.
15236 * stdlib/monetary.h: Likewise.
15237 * stdlib/random.c: Likewise.
15238 * stdlib/random_r.c: Likewise.
15239 * sysdeps/generic/Makefile: Likewise.
15240 * sysdeps/gnu/Makefile: Likewise.
15241 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
15242 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15243 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15244 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15245 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15246 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15247 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15248 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15249 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15250 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15251 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15252 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15253 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
15254 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
15255 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
15256 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
15257 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15258 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15259 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15260 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15261 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
15262 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
15263 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15264 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
15265 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
15266 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
15267 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
15268 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
15269 * sysdeps/mach/hurd/errnos.awk: Likewise.
15270 * sysdeps/mach/hurd/fork.c: Likewise.
15271 * sysdeps/mach/hurd/getcwd.c: Likewise.
15272 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
15273 * sysdeps/mach/hurd/mmap.c: Likewise.
15274 * sysdeps/mach/hurd/utimes.c: Likewise.
15275 * sysdeps/mach/hurd/xmknod.c: Likewise.
15276 * sysdeps/posix/profil.c: Likewise.
15277 * sysdeps/posix/readdir_r.c: Likewise.
15278 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15279 * sysdeps/powerpc/bits/setjmp.h: Likewise.
15280 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
15281 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
15282 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
15283 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
15284 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
15285 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15286 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15287 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
15288 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
15289 * sysdeps/pthread/lio_listio.c: Likewise.
15290 * sysdeps/sparc/dl-procinfo.h: Likewise.
15291 * sysdeps/unix/i386/sysdep.S: Likewise.
15292 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
15293 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
15294 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
15295 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
15296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15297 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
15298 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
15299 * sysdeps/unix/sysv/linux/speed.c: Likewise.
15300 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
15301 * sysdeps/wordsize-32/divdi3.c: Likewise.
15302 * time/sys/time.h: Likewise.
15303 * wcsmbs/Makefile: Likewise.
15304
0549fbba
DM
153052013-01-01 David S. Miller <davem@davemloft.net>
15306
a141f1a7
DM
15307 * po/fr.po: Update from translation team.
15308
0549fbba
DM
15309 * catgets/gencat.c: Update copyright year.
15310 * csu/version.c: Likewise.
15311 * debug/catchsegv.sh: Likewise.
15312 * debug/pcprofiledump.c: Likewise.
15313 * debug/xtrace.sh: Likewise.
15314 * elf/ldconfig.c: Likewise.
15315 * elf/ldd.bash.in: Likewise.
15316 * elf/pldd.c: Likewise.
15317 * elf/sotruss.ksh: Likewise.
15318 * elf/sprof.c: Likewise.
15319 * iconv/iconv_prog.c: Likewise.
15320 * iconv/iconvconfig.c: Likewise.
15321 * locale/programs/locale.c: Likewise.
15322 * locale/programs/localedef.c: Likewise.
15323 * login/programs/pt_chown.c: Likewise.
15324 * malloc/memusage.sh: Likewise.
15325 * malloc/memusagestat.c: Likewise.
15326 * malloc/mtrace.pl: Likewise.
15327 * nscd/nscd.c: Likewise.
15328 * nss/getent.c: Likewise.
15329 * nss/makedb.c: Likewise.
15330 * posix/getconf.c: Likewise.
15331
18ea052c
SP
153322012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
15333
15334 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
15335 numbers.
15336
9c89fca6
MF
153372012-12-30 Mike Frysinger <vapier@gentoo.org>
15338
15339 * math/bits/mathcalls.h (modf): Use __nonnull.
15340
085ec079
SP
153412012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15342
15343 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
15344 (split): Use macro CN instead of the bare value.
15345 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
15346 could be used.
15347 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
15348 instead of the bare value.
15349 (power1): Likewise.
15350
6d9f97e1
SP
153512012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15352
d63f73be
SP
15353 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
15354 __ATAN_TWOM.
15355 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15356
6d9f97e1
SP
15357 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
15358 their values.
15359 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
15360 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15361 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
15362 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
15363
4c4febf5
AJ
153642012-12-28 Andreas Jaeger <aj@suse.de>
15365
af5843ef
AJ
15366 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
15367 values are from Linux 3.7.
15368
4c4febf5
AJ
15369 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
15370 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
15371
99136f82
SP
153722012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15373
2f216c3c 15374 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
15375 TRUE case.
15376
99136f82
SP
15377 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
15378 (norm): Likewise.
15379 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
15380 variables with preprocessor constants.
15381 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15382 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
15383 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
15384
7fffbdff
BH
153852012-12-27 Bruno Haible <bruno@clisp.org>
15386
15387 [BZ #14317]
15388 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
15389 only if needed.
15390
b76eb5f0
SP
153912012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15392
31a7fe5c
SP
15393 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
15394 and use variable directly.
15395 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
15396
b76eb5f0
SP
15397 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
15398 MPONE.
15399 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
15400 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
15401 variable MPONE.
15402 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15403 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15404 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
15405 include directive. Remove local variable MPONE.
15406 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
15407 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
15408 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
15409
2c8bfe7d
DM
154102012-12-25 David S. Miller <davem@davemloft.net>
15411
15412 * version.h (RELEASE): Set to "development".
15413 (VERSION): Set to "2.17.90".
15414 * NEWS: Add 2.18 section.
15415
147d03b0
DM
154162012-12-21 David S. Miller <davem@davemloft.net>
15417
15418 * po/hr.po: Update from translation team.
15419
a8ebb2b9
AK
154202012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15421
15422 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
15423
95b4f1b6
SE
154242012-12-19 Steve Ellcey <sellcey@mips.com>
15425
b2d94007 15426 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 15427
cedb2a90
MS
154282012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15429
15430 * manual/contrib.texi (Contributors): Spelling correction.
15431
bbf527d6
DM
154322012-12-15 David S. Miller <davem@davemloft.net>
15433
15434 * po/ru.po: Update from translation team.
15435
bc38c906
DM
154362012-12-13 David S. Miller <davem@davemloft.net>
15437
85429b1a
DM
15438 * NEWS: Mention IFUNC testsuite enhancements.
15439
d283e353
DM
15440 * po/pl.po: Update from translation team.
15441 * po/bg.po: Likewise.
15442
bc38c906
DM
15443 * manual/contrib.texi (Contributors): Update entries for Hongjiu
15444 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
15445
a181b0d7
DM
154462012-12-11 David S. Miller <davem@davemloft.net>
15447
4641d57e
DM
15448 * po/sv.po: Update from translation team.
15449
f7bc6495
DM
15450 * po/vi.po: Update from translation team.
15451
6fc9048f
DM
15452 * po/cs.po: Update from translation team.
15453
a181b0d7
DM
15454 * po/de.po: Update from translation team.
15455 * po/eo.po: Likewise.
15456 * po/nl.po: Likewise.
15457
f70bfe80
SP
154582012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15459
3c8b4190
SP
15460 [BZ #14246]
15461 * manual/argp.texi (Argp Helper Functions): Move node to follow
15462 Argp Parsing State.
15463
f70bfe80
SP
15464 [BZ #14872]
15465 * manual/conf.texi (Limits on File System Capacity): Mention if
15466 terminating null is included in the max size.
15467
188f0adf
AJ
154682012-12-10 Andreas Jaeger <aj@suse.de>
15469
15470 * po/cs.po: Update from translation team.
15471
56e7d3ad
SP
154722012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15473
15474 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
15475 void pointer and cast to uintptr_t.
15476 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
15477 path.
15478 * sysdeps/s390/s390-64/memcpy.S: Likewise.
15479 * sysdeps/s390/s390-64/memset.S: Likewise.
15480
76f2d2ea 154812012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
15482
15483 [BZ #14833]
15484 * menual/message.texi (Message Translation): Fix typos.
15485 (Helper programs for gettext): Likewise.
15486
67cbf9a2
AS
154872012-12-07 Andreas Schwab <schwab@linux-m68k.org>
15488
15489 [BZ #14898]
15490 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
15491 Change to -1.
15492
682d0e9a
DM
154932012-12-07 David S. Miller <davem@davemloft.net>
15494
15495 * po/libc.pot: Update.
15496
573cd484
RH
154972012-12-07 Richard Henderson <rth@redhat.com>
15498
7e9da188 15499 [BZ #10114]
573cd484
RH
15500 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
15501 normal/normal case to before the switch.
15502 (_FP_DIV): Likewise.
15503
e933a943
MF
155042012-12-06 Carlos O'Donell <carlos@systemhalted.org>
15505 Mike Frysinger <vapier@gentoo.org>
15506
15507 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
15508 check for __NR_fadvise64_64.
15509
82123268
CM
155102012-12-06 Chris Metcalf <cmetcalf@tilera.com>
15511
15512 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
15513 0, not just to plain "0" as a statement.
15514 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
15515 with cw.
15516
d9814526
JM
155172012-12-06 Joseph Myers <joseph@codesourcery.com>
15518
15519 * NEWS: Use sourceware.org in Bugzilla URL.
15520
7728c574
SP
155212012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15522
f16946dd
SP
15523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
15524 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15525
5704bbcb
SP
15526 * stdio-common/tst-put-error.c (do_test): Add newline to the
15527 padded test to ensure flush.
15528
17aa0516
JL
155292012-12-05 Jeff Law <law@redhat.com>
15530
15531 * sunrpc/etc.rpc (fedfs_admin): Add entry.
15532
363313b5
JM
155332012-12-05 Joseph Myers <joseph@codesourcery.com>
15534
effbd42a
JM
15535 * README: Don't refer to ports add-on as distributed separately.
15536 Mention AArch64 in list of systems supported in the ports add-on.
15537
87600365
JM
15538 * LICENSES: Add more non-FSF copyright and license notices.
15539
a0d7066a
JM
15540 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
15541 ((unused)).
15542
66ca5a5b
JM
15543 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
15544
363313b5
JM
15545 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
15546 10000 as width of padded output.
15547
b37984ad
JM
155482012-12-04 Joseph Myers <joseph@codesourcery.com>
15549
9003570a
JM
15550 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
15551
b37984ad
JM
15552 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
15553 variable LX with __attribute__ ((unused)).
15554 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15555 Likewise.
15556 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15557 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15558 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
15559 with __attribute__ ((unused)).
15560
c8df52ec
DM
155612012-12-04 David S. Miller <davem@abraco.davemloft.net>
15562
15563 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
15564
b3b099af
JM
155652012-12-04 Joseph Myers <joseph@codesourcery.com>
15566
c33aa6e3
JM
15567 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
15568 (CFLAGS-nldbl-acos.c): New variable.
15569 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
15570 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
15571 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
15572 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
15573 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
15574 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
15575 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
15576 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
15577 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
15578 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
15579 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
15580 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
15581 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
15582 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
15583 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
15584 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
15585 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
15586 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
15587 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
15588 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
15589 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
15590 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
15591 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
15592 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
15593 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
15594 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
15595 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
15596 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
15597 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
15598 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
15599 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
15600 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
15601 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
15602 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
15603 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
15604 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
15605 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
15606 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
15607 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
15608 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
15609 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
15610 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
15611 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
15612 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
15613 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
15614 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
15615 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
15616 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
15617 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
15618 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
15619 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
15620 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
15621 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
15622 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
15623 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
15624 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
15625 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
15626 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
15627 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
15628 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
15629 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
15630 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
15631 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
15632 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
15633 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
15634 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
15635 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
15636 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
15637 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
15638 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
15639 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
15640 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
15641 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
15642 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
15643 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
15644 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
15645 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
15646 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
15647 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
15648 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
15649 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
15650 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
15651 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
15652 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
15653 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
15654 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
15655 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
15656 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
15657 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
15658 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
15659 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
15660 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
15661 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
15662 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
15663 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
15664 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
15665 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
15666
20f0018d
JM
15667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15668 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15669
b3b099af
JM
15670 [BZ #14914]
15671 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
15672 whole low double instead of just low 47 bits when splitting values
15673 into two parts.
15674
029264d1
AM
156752012-12-03 Allan McRae <allan@archlinux.org>
15676
15677 * manual/stdio.texi (Predefined Printf Handlers): Remove
15678 @hsep and @vsep usage.
15679
c9d6789e
MF
156802012-12-03 Mike Frysinger <vapier@gentoo.org>
15681
15682 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
15683 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
15684
4b7634a5
JL
156852012-12-03 Jeff Law <law@redhat.com>
15686
15687 * time/sys/time.h (settimeofday): Do not mark TV argument
15688 as __nonnull.
15689
eb6cbd24
MF
156902012-12-01 Mike Frysinger <vapier@gentoo.org>
15691
15692 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
15693 when currently writing and seek to current position when not.
15694 * libio/Makefile (tests): Remove bug-fclose1.
15695 * libio/bug-fclose1.c: Delete.
15696
f638872a
JM
156972012-12-01 Joseph Myers <joseph@codesourcery.com>
15698
15699 * manual/arith.texi (feenableexcept): Fix typo.
15700 (fedisableexcept): Likewise.
15701
48085d14
RM
157022012-11-30 Roland McGrath <roland@hack.frob.com>
15703
15704 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
15705 second, differently-typed declaration, rather than a cast.
15706
1a538b9f
SP
157072012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15708
15709 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
15710 * include/rpc/svc.h: ... here.
15711
d07f2ff1 157122012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
15713
15714 [BZ #13013]
15715 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
15716 depending n and resplen2 to catch cases where answer
15717 equals answerp2.
15718
c93ec1f0
CD
157192012-11-29 Carlos O'Donell <carlos@systemhalted.org>
15720
15721 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
15722 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
15723
37db69de
MF
157242012-11-29 Mike Frysinger <vapier@gentoo.org>
15725
15726 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
15727
e10c4e4f
RM
157282012-11-29 Roland McGrath <roland@hack.frob.com>
15729
15730 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
15731
2af1b328
JL
157322012-11-28 Jeff Law <law@redhat.com>
15733
15734 [BZ #13761]
15735 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
15736 dataset_temporary. Track alloca usage into alloca_used.
15737 If dataset is large allocate and release it via malloc/free.
15738
111db5b1
FW
157392012-06-04 Florian Weimer <fweimer@redhat.com>
15740
f06cc227 15741 [BZ #14197]
111db5b1
FW
15742 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
15743
dd694abd
DM
157442012-11-28 David S. Miller <davem@davemloft.net>
15745
15746 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15747
9984dd01
JM
157482012-11-28 Joseph Myers <joseph@codesourcery.com>
15749
15750 [BZ #14803]
15751 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
15752 of pi/2 rounded to nearest to 64 bits.
15753 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
15754 nearest to 64 bits.
15755 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
15756 bits.
15757
14bc93a9
JL
157582012-11-28 Jeff Law <law@redhat.com>
15759 Martin Osvald <mosvald@redhat.com>
15760
15761 [BZ #14889]
15762 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
15763 * sunrpc/svc.c: Include time.h.
15764 (__svc_accept_failed): New function.
15765 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
15766 any reason other than EINTR, call __svc_accept_failed.
15767 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
15768 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
15769
e3c6aa3a
AS
157702012-11-28 Andreas Schwab <schwab@suse.de>
15771
15772 * scripts/abilist.awk: Also handle indirect functions in .opd
15773 section.
15774
1bead169
JM
157752012-11-28 Joseph Myers <joseph@codesourcery.com>
15776
15777 [BZ #13881]
15778 * sysdeps/x86/fpu/powl_helper.c: New file.
15779 * sysdeps/x86/fpu/Makefile: Likewise.
15780 * sysdeps/i386/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 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
15785 (p3): New object.
15786 (__ieee754_powl): Use __powl_helper for finite arguments except
15787 integer exponents below 8.
15788 * math/libm-test.inc (pow_test): Add more tests and enable some
15789 previously disabled tests.
15790 * sysdeps/i386/fpu/libm-test-ulps: Update.
15791 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15792
0817d63d
SP
157932012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15794 Carlos O'Donell <carlos_odonell@mentor.com>
15795
15796 * nss/makedb.c (is_prime): Assert that input is odd and greater
15797 than 4. Note that fact in a comment too.
15798 (next_prime): Add 4 to input.
15799
de2fd463
SP
158002012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15801
15802 [BZ #11741]
15803 * libio/Makefile (tests): Add test case tst-fwrite-error.
15804 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
15805 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
15806 * libio/tst-fwrite-error.c: New test case.
15807
c515fb51
L
158082012-11-26 H.J. Lu <hongjiu.lu@intel.com>
15809
15810 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
15811 before casting to void *.
15812 * include/libc-internal.h (__pointer_type): New macro.
15813 (__integer_if_pointer_type_sub): Likewise.
15814 (__integer_if_pointer_type): Likewise.
15815 (cast_to_integer): Likewise.
15816 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
15817 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
15818 before casting to atomic64_t.
15819 (atomic_exchange_acq): Likewise.
15820 (__arch_exchange_and_add_body): Likewise.
15821 (__arch_add_body): Likewise.
15822 (atomic_add_negative): Likewise.
15823 (atomic_add_zero): Likewise.
15824
4cf77aa9
JM
158252012-11-26 Joseph Myers <joseph@codesourcery.com>
15826
15827 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
15828 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
15829 (add_fdes): Likewise.
15830 (linear_search_fdes): Likewise.
15831 (binary_search_unencoded_fdes): Likewise.
15832
d260b3b4
AS
158332012-11-26 Andreas Schwab <schwab@linux-m68k.org>
15834
15835 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
15836
67060746
AC
158372012-11-24 Adam Conrad <adconrad@0c3.net>
15838
15839 * configure.in: Autodetect C++ header directories.
15840 * configure: Regenerated.
15841
800938a1
MF
158422012-11-23 Mike Frysinger <vapier@gentoo.org>
15843
15844 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
15845
4e6e34e6
AS
158462012-11-23 Andreas Schwab <schwab@linux-m68k.org>
15847
15848 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15849
7c7feb47
JM
158502012-11-22 Joseph Myers <joseph@codesourcery.com>
15851
7184dcdf
JM
15852 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
15853 LDBL_MANT_DIG == 106]: Disable some tests.
15854 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15855 Likewise.
15856 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15857 Likewise.
15858
0a42601f
JM
15859 [BZ #14871]
15860 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
15861 input for small inputs. Return +/- pi/2 for large inputs.
15862 * math/libm-test.inc (atan_test): Add more tests.
15863
79c9b9fe
JM
15864 * sysdeps/generic/unwind-dw2-fde-glibc.c
15865 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
15866 __attribute__ ((unused)).
15867
c60d3bf2
JM
15868 [BZ #14645]
15869 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
15870 x * y if x and y are nonzero and z is zero.
15871
ef1e0867
JM
15872 [BZ #14811]
15873 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
15874 nonzero exponents with absolute value below 0x1p-117 to +/-
15875 0x1p-117.
15876
1468ded3
JM
15877 [BZ #14869]
15878 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
15879 up arguments below 2**-450, not just those below 2**-500.
15880 * math/libm-test.inc (hypot_test): Add another test.
15881
8e27e3cc
JM
15882 [BZ #14868]
15883 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
15884 Return a+b for ratio over 2**120, not 2**60.
15885 * math/libm-test.inc (hypot_test): Add another test.
15886
c9c0279b
JM
15887 * math/libm-test.inc (clog_test): Use
15888 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
15889 (clog10_test): Likewise.
15890
7c7feb47
JM
15891 [BZ #6778]
15892 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
15893
fff1530e
AS
158942012-11-22 Andreas Schwab <schwab@suse.de>
15895
15896 * sysdeps/i386/fpu/libm-test-ulps: Update.
15897
94558d30
PT
158982012-11-22 Pino Toscano <toscano.pino@tiscali.it>
15899
15900 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
15901 printf output with newline.
15902
7e1be741
L
159032012-11-21 H.J. Lu <hongjiu.lu@intel.com>
15904
6bfea974
L
15905 [BZ #14865]
15906 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
15907 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
15908 -z nodlopen, -z initfirst and -z execstack support.
15909 * configure: Regenerated.
15910
7e1be741
L
15911 * elf/elf.h (DF_1_NODIRECT): New macro.
15912 (DF_1_IGNMULDEF): Likewise.
15913 (DF_1_NOKSYMS): Likewise.
15914 (DF_1_NOHDR): Likewise.
15915 (DF_1_EDITED): Likewise.
15916 (DF_1_NORELOC): Likewise.
15917 (DF_1_SYMINTPOSE): Likewise.
15918 (DF_1_GLOBAUDIT): Likewise.
15919 (DF_1_SINGLETON): Likewise.
15920 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
15921 DT_1_SUPPORTED_MASK bits.
15922 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
15923
105ce2ce
CD
159242012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
15925
15926 * sysdeps/unix/make-syscalls.sh: Document prefixes.
15927
123be9de
TS
159282012-11-20 Thomas Schwinge <thomas@codesourcery.com>
15929
d072f3f7
TS
15930 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
15931 macro.
15932
123be9de
TS
15933 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
15934 (sendmmsg): Move declarations...
15935 * socket/sys/socket.h: ... here.
15936 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
15937 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
15938 include it from...
15939 * socket/recvmmsg.c: ... this new file.
15940 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
15941 (sendmmsg): Rename to __sendmmsg, create weak alias and make
15942 definition of __sendmmsg hidden.
15943 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
15944 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
15945 Move ENOSYS stub into and include it from...
15946 * socket/sendmmsg.c: ... this new file.
15947 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
15948 (sysdep_routines): Move recvmmsg and sendmmsg...
15949 * socket/Makefile (routines): ... here.
15950 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
15951 (GLIBC_PRIVATE): Add __sendmmsg.
15952 * include/sys/socket.h (__sendmmsg): Add declarations.
15953 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
15954 sendmmsg.
15955
cf9a5d18
JM
159562012-11-20 Joseph Myers <joseph@codesourcery.com>
15957
15958 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
15959 variable I1 with __attribute__ ((unused)).
15960 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
15961
ecd4caf9
JM
159622012-11-19 Joseph Myers <joseph@codesourcery.com>
15963
be14d48f
JM
15964 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
15965 DUMMY variables with __attribute__ ((unused)).
15966
ecd4caf9
JM
15967 * bits/byteswap.h: Include <bits/types.h>.
15968 (__bswap_64): Use __uint64_t instead of unsigned long long int.
15969
986cab95
PT
159702012-11-19 Pino Toscano <toscano.pino@tiscali.it>
15971
15972 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
15973 string_t. Do not manually set errno.
15974 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
15975 length with __strnlen. Make sure to both set errno and return it on
15976 failure.
15977
6d33cc9d
DM
159782012-11-19 David S. Miller <davem@davemloft.net>
15979
15980 With help from Joseph Myers.
15981 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
15982 very large arguments properly.
15983 * math/libm-test.inc (atan_test): New tests.
15984 (atan2_test): New tests.
15985 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15986 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15987
ee663277
JM
159882012-11-19 Joseph Myers <joseph@codesourcery.com>
15989
877f2d8e
JM
15990 [BZ #14856]
15991 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
15992 Define to 3.
15993
116fc08a
JM
15994 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
15995 [POSIX] (EADDRNOTAVAIL): Likewise.
15996 [POSIX] (EAFNOSUPPORT): Likewise.
15997 [POSIX] (EALREADY): Likewise.
15998 [POSIX] (ECONNABORTED): Likewise.
15999 [POSIX] (ECONNREFUSED): Likewise.
16000 [POSIX] (ECONNRESET): Likewise.
16001 [POSIX] (EDESTADDRREQ): Likewise.
16002 [POSIX] (EDQUOT): Likewise.
16003 [POSIX] (EHOSTUNREACH): Likewise.
16004 [POSIX] (EIDRM): Likewise.
16005 [POSIX] (EISCONN): Likewise.
16006 [POSIX] (ELOOP): Likewise.
16007 [POSIX] (EMULTIHOP): Likewise.
16008 [POSIX] (ENETDOWN): Likewise.
16009 [POSIX] (ENETUNREACH): Likewise.
16010 [POSIX] (ENOBUFS): Likewise.
16011 [POSIX] (ENODATA): Likewise.
16012 [POSIX] (ENOLINK): Likewise.
16013 [POSIX] (ENOMSG): Likewise.
16014 [POSIX] (ENOPROTOOPT): Likewise.
16015 [POSIX] (ENOSR): Likewise.
16016 [POSIX] (ENOSTR): Likewise.
16017 [POSIX] (ENOTCONN): Likewise.
16018 [POSIX] (ENOTSOCK): Likewise.
16019 [POSIX] (EOPNOTSUPP): Likewise.
16020 [POSIX] (EOVERFLOW): Likewise.
16021 [POSIX] (EPROTO): Likewise.
16022 [POSIX] (EPROTONOSUPPORT): Likewise.
16023 [POSIX] (EPROTOTYPE): Likewise.
16024 [POSIX] (ESTALE): Likewise.
16025 [POSIX] (ETIME): Likewise.
16026 [POSIX] (ETXTBSY): Likewise.
16027 [POSIX] (EWOULDBLOCK): Likewise.
16028 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
16029 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
16030 [POSIX] (SEEK_CUR): Likewise.
16031 [POSIX] (SEEK_END): Likewise.
16032 [POSIX || UNIX98] (mode_t): Do not require.
16033 [POSIX] (off_t): Likewise.
16034 [POSIX] (pid_t): Likewise.
16035 [POSIX] (sys/stat.h): Do not allow header.
16036 [POSIX] (unistd.h): Likewise.
16037 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
16038 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
16039 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
16040 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
16041 require.
16042 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
16043 sigevent): Specify elements.
16044 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
16045 entry.
16046 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
16047 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
16048
a483863f
JM
16049 * conform/data/cpio.h-data [POSIX]: Disable whole file.
16050 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
16051 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
16052 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
16053 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
16054 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
16055 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
16056 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
16057 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
16058 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
16059 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
16060 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
16061 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
16062 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
16063 Likewise.
16064 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
16065 Likewise.
16066 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
16067 Likewise.
16068 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
16069 Likewise.
16070 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
16071 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
16072 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
16073 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
16074 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
16075 Specify lower bound on value.
16076 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
16077 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
16078 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
16079 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
16080 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
16081 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
16082 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
16083 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
16084 value.
16085 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
16086 as optional.
16087 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
16088 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
16089 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
16090 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
16091 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
16092 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
16093 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
16094 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
16095 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
16096 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
16097 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
16098 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
16099 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
16100 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
16101 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
16102 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
16103 entry.
16104 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
16105 optional.
16106 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
16107 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
16108 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
16109 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
16110 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
16111 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
16112 Likewise.
16113 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
16114 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
16115 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
16116 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
16117 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
16118 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
16119 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
16120 as optional.
16121 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
16122 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
16123 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
16124 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
16125 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
16126 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
16127 specify as optional.
16128 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
16129 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
16130 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
16131 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
16132 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
16133 [XPG3] (NL_LANGMAX): Likewise.
16134 [POSIX || XPG3] (NL_MSGMAX): Likewise.
16135 [POSIX || XPG3] (NL_NMAX): Likewise.
16136 [POSIX || XPG3] (NL_SETMAX): Likewise.
16137 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
16138 [XPG3] (NZERO): Likewise.
16139 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
16140 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
16141 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
16142 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
16143 (REG_ERANGE): Expect.
16144 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
16145 optional-constant.
16146 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
16147 Use (void) in prototype.
16148 [POSIX] (*_t): Allow.
16149 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
16150 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
16151 (WRDE_BADVAL): Expect.
16152
5ba924e3
JM
16153 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
16154 expect.
16155 [XPG3 || XPG4] (O_RSYNC): Likewise.
16156 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
16157 Likewise.
16158 [XPG3 || XPG4] (pthread_sigmask): Likewise.
16159 [XPG3 || XPG4] (sigqueue): Likewise.
16160 [XPG3 || XPG4] (sigtimedwait): Likewise.
16161 [XPG3 || XPG4] (sigwaitinfo): Likewise.
16162 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
16163 [XPG3 || XPG4] (vsnprintf): Likewise.
16164 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
16165 Likewise.
16166 [XPG3 || XPG4] (blksize_t): Likewise.
16167 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
16168 Likewise.
16169 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
16170 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
16171 [XPG3 || XPG4] (struct itimerspec): Likewise.
16172 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
16173 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
16174 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
16175 [XPG3 || XPG4] (clockid_t): Likewise.
16176 [XPG3 || XPG4] (timer_t): Likewise.
16177 [XPG3 || XPG4] (clock_getres): Likewise.
16178 [XPG3 || XPG4] (clock_gettime): Likewise.
16179 [XPG3 || XPG4] (clock_settime): Likewise.
16180 [XPG3 || XPG4] (nanosleep): Likewise.
16181 [XPG3 || XPG4] (timer_create): Likewise.
16182 [XPG3 || XPG4] (timer_delete): Likewise.
16183 [XPG3 || XPG4] (timer_gettime): Likewise.
16184 [XPG3 || XPG4] (timer_getoverrun): Likewise.
16185 [XPG3 || XPG4] (timer_settime): Likewise.
16186 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
16187 [XPG3 || XPG4] (getlogin_r): Likewise.
16188 [XPG3 || XPG4] (pread): Likewise.
16189 [XPG3 || XPG4] (pthread_atfork): Likewise.
16190 [XPG3 || XPG4] (pwrite): Likewise.
16191
ee663277
JM
16192 [BZ #14835]
16193 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
16194 <bits/siginfo.h>.
16195
942caa16
PT
161962012-11-19 Pino Toscano <toscano.pino@tiscali.it>
16197
e19af380
PT
16198 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
16199 finalizing MALLSTREAM.
16200
942caa16
PT
16201 * sysdeps/mach/hurd/syncfs.c: New file.
16202
cfde9b46
SP
162032012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16204
16205 [BZ #14719]
16206 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
16207 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
16208 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
16209 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
16210 (_nss_dns_gethostbyname4_r): Likewise.
16211 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
16212 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
16213
f6da27e5
PH
162142012-11-19 Peng Haitao <penght@cn.fujitsu.com>
16215
16216 [BZ #13763]
16217 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
16218
6665d4a2
SM
162192012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
16220
1f51ee92
SM
16221 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
16222 * elf/cache.c (print_entry): Print ",AArch64" for
16223 FLAG_AARCH64_LIB64
16224
6665d4a2
SM
16225 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
16226 * elf/cache.c (print_entry): Print ",hard-float" for
16227 FLAG_ARM_LIBHF.
16228
05b227bd
DM
162292012-11-18 David S. Miller <davem@davemloft.net>
16230
16231 With help from Joseph Myers.
16232 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
16233 cutoff to 2**-13.
16234 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
16235 cutoff to 2**-25.
16236 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
16237 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
16238 small.
16239 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
16240 * math/libm-test.inc (y0_test): New tests.
16241 (y1_test): New tests.
16242 * sysdeps/i386/fpu/libm-test-ulps: Update.
16243 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16244 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16245
786b0b67
AS
162462012-11-18 Andreas Schwab <schwab@linux-m68k.org>
16247
16248 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
16249 64-bit targets.
16250 * configure: Regenerated.
16251
8e18b86d
DM
162522012-11-17 David S. Miller <davem@davemloft.net>
16253
16254 [BZ #14811]
16255 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
16256 nonzero exponents with absolute value below 0x1p-128 to +/-
16257 0x1p-128.
16258
531f1ae0
JM
162592012-11-17 Joseph Myers <joseph@codesourcery.com>
16260
12df29e2
JM
16261 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
16262
150dc1a0
JM
16263 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
16264
531f1ae0
JM
16265 * posix/getconf-speclist.c: New file.
16266 * posix/posix-envs.def: Likewise.
16267 * posix/confstr.c (START_ENV_GROUP): New macro.
16268 (END_ENV_GROUP): Likewise.
16269 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
16270 (KNOWN_PRESENT_ENV_STRING): Likewise.
16271 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
16272 (UNKNOWN_ENVIRONMENT): Likewise.
16273 (confstr): Include posix-envs.def instead of handling
16274 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
16275 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
16276 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
16277 (END_ENV_GROUP): Likewise.
16278 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
16279 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
16280 (UNKNOWN_ENVIRONMENT): Likewise.
16281 (__sysconf): Include posix-envs.def instead of handling associated
16282 cases directly here.
16283 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
16284 preprocessing getconf-speclist.c rather than running getconf or
16285 generating empty file.
16286
a93f9cbc
PT
162872012-11-16 Pino Toscano <toscano.pino@tiscali.it>
16288
16289 * scripts/check-local-headers.sh: Ignore 'mach' headers.
16290
d64d9f87
AL
162912012-11-16 Andrej Lajovic <natrij@gmail.com>
16292
16293 [BZ #14672]
16294 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
16295
447885eb
DM
162962012-11-16 David S. Miller <davem@davemloft.net>
16297
16298 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
16299 smaller than LDBL_EPSILON/2.0L, just return xm1.
16300
bcbf9830
L
163012012-11-16 H.J. Lu <hongjiu.lu@intel.com>
16302
16303 * elf/tst-array1.c (init): Set constructor priority to 1000.
16304 (fini): Set destructor priority to 1000.
16305 * elf/tst-array2dep.c: Likewise.
16306
2b766585
SP
163072012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16308
16309 [BZ #11741]
16310 * libio/fileops.c (_IO_new_file_write): Correctly return error.
16311 (_IO_new_file_xsputn): Also return EOF if none of the input
16312 data was written when overflow failed.
16313 * libio/iopadn.c (_IO_padn): Likewise.
16314 * libio/iowpadn.c (_IO_wpadn): Likewise.
16315 * stdio-common/tst-put-error.c: Add copyright notice.
16316 (do_test): Add case for printing padded string.
16317 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
16318 _IO_padn returned error.
16319 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
16320 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
16321 return EOF.
16322
b1848fde
SP
163232012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16324
16325 * libio/libioP.h: Add comment note that the references to C++
16326 bits are now obsolete.
16327
2fd89785
MS
163282012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16329
16330 * math/libm-test.inc (check_complex): Use asprintf.
16331
e3ea5409
JM
163322012-11-14 Joseph Myers <joseph@codesourcery.com>
16333
16334 * debug/pcprofiledump.c (print_version): Update copyright year.
16335 * malloc/memusagestat.c (print_version): Likewise.
16336
2e64d265
L
163372012-11-14 H.J. Lu <hongjiu.lu@intel.com>
16338
16339 [BZ #14831]
16340 * elf/Makefile (tests): Add tst-audit8.
16341 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
16342 ($(objpfx)tst-audit8.out): New target.
16343 (tst-audit8-ENV): New variable.
16344 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
16345 audit if l_reloc_result is NULL.
16346 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
16347 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
16348 * elf/tst-audit8.c: New file.
16349
c485e4d2
MS
163502012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16351
16352 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
16353 * misc/Makefile (CFLAGS-select.c): Define.
16354 * posix/Makefile (CFLAGS-pause.c): Define.
16355
3a0d900a
DM
163562012-11-13 David S. Miller <davem@davemloft.net>
16357
16358 * crypt/Makefile: Move test targets after toplevel Rules
16359 inclusion. Grab any necessary sysdep routines when linking.
16360 * crypt/md5.c (md5_process_block): Remove define, we will always
16361 name it __md5_process_block.
16362 (md5_finish_ctx): Update md5_process_block call.
16363 (md5_stream): Likewise.
16364 (md5_process_bytes): Likewise.
16365 (md5_process_block): Rename to __md5_process_block and move to ...
16366 * crypt/md5-block.c: ... here.
16367 * crypt/sha256.c (sha256_process_block): Move to ...
16368 * crypt/sha256-block.c: ... here.
16369 * crypt/sha512.c (sha512_process_block): Move to ...
16370 * crypt/sha512-block.c: ... here.
16371 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
16372 path.
16373 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
16374 * sysdeps/sparc/sparc64/multiarch/Makefile
16375 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
16376 crypt subdir.
16377 (localedef-aux): Add md5 crypto assembler when in locale subdir.
16378 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
16379 multiarch changes.
16380 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
16381 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
16382 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
16383 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
16384 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
16385 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
16386 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
16387 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
16388 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
16389 file.
16390 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
16391 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
16392 file.
16393 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
16394
8ca89318
JM
163952012-11-13 Joseph Myers <joseph@codesourcery.com>
16396
e27d476a
JM
16397 * timezone/tzselect.ksh: Update from tzcode git revision
16398 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
16399 * timezone/zdump.c: Likewise.
16400 * timezone/zic.c: Likewise.
16401 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
16402 in TZVERSION setting, not $(PKGVERSION).
16403 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
16404 REPORT_BUGS_TO settings.
16405
8ca89318
JM
16406 [BZ #14838]
16407 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
16408 macro.
16409
47594329
MS
164102012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16411
16412 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
16413 detection to immediately after _FP_ROUND().
16414 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
16415 bits are 0.
16416
640ac3f1
DM
164172012-11-11 David S. Miller <davem@davemloft.net>
16418
16419 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
16420 inttypes.h
16421 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
16422 __close rather than their public counterparts.
16423
3d2577bb
JM
164242012-11-10 Joseph Myers <joseph@codesourcery.com>
16425
16426 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
16427 file.
16428 [UNIX98] (sem_timedwait): Do not expect.
16429 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
16430 [XPG4 || UNIX98] (sockatmark): Do not expect.
16431 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
16432 (clock_getcpuclockid): Do not expect.
16433 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
16434 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
16435 Do not expect.
16436 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
16437 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
16438 [UNIX98] (vwscanf): Likewise.
16439 [UNIX98] (vswscanf): Likewise.
16440
fb1ae1ee
JM
164412012-11-09 Joseph Myers <joseph@codesourcery.com>
16442
9ec6f8bd
JM
16443 * timezone/version.h: Remove file.
16444 * timezone/README: Do not refer to version.h.
16445 * timezone/Makefile ($(objpfx)zic.o): New dependency on
16446 $(objpfx)version.h.
16447 ($(objpfx)zdump.o): Likewise.
c3f81911 16448 ($(objpfx)version.h): New target.
9ec6f8bd 16449
0aa8f8a1
JM
16450 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
16451 2012i.
16452 * timezone/README: Don't mention modification to tzselect.ksh.
16453 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
16454 work on unmodified tzselect.ksh. Substitute version numbers in
16455 tzselect.ksh.
16456
4e87147f
JM
16457 * Makefile (format-me): Remove.
16458 (INSTALL): Adjust indentation. Use commands directly instead of
16459 using $(format-me).
16460
8b748aed
JM
16461 * aclocal.m4 (ACX_PKGVERSION): New macro.
16462 (ACX_BUGURL): Likewise.
16463 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
16464 (PKGVERSION): New AC_DEFINE_UNQUOTED.
16465 (REPORT_BUGS_TO): Likewise.
16466 * configure: Regenerated.
16467 * config.h.in (PKGVERSION): New macro.
16468 (REPORT_BUGS_TO): Likewise.
16469 * config.make.in (PKGVERSION): New variable.
16470 (PKGVERSION_TEXI): Likewise.
16471 (REPORT_BUGS_TO): Likewise.
16472 (REPORT_BUGS_TEXI): Likewise.
16473 * Makefile (format-me): Use -I$(common-objpfx)manual.
16474 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
16475 ($(common-objpfx)manual/%): New target.
16476 (manual/%): Remove target.
16477 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
16478 (print_version): Use PKGVERSION.
16479 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
16480 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
16481 and REPORT_BUGS_TO.
16482 ($(objpfx)xtrace): Likewise.
16483 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
16484 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
16485 (print_version): Use PKGVERSION.
16486 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
16487 (do_version): Use PKGVERSION.
16488 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
16489 REPORT_BUGS_TO.
16490 (common-ldd-rewrite): Likewise.
16491 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
16492 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
16493 (print_version): Use PKGVERSION.
16494 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
16495 * elf/pldd.c (argp_program_bug_address): Remove variable.
16496 (more_help): New function.
16497 (argp): Use more_help.
16498 (print_version): Use PKGVERSION.
16499 * elf/sln.c (main): Use PKGVERSION.
16500 (usage): Use REPORT_BUGS_TO.
16501 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
16502 (top level): Use PKGVERSION.
16503 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
16504 (print_version): Use PKGVERSION.
16505 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
16506 (print_version): Use PKGVERSION.
16507 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
16508 (print_version): Use PKGVERSION.
16509 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
16510 (print_version): Use PKGVERSION.
16511 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
16512 (print_version): Use PKGVERSION.
16513 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
16514 (print_version): Use PKGVERSION.
16515 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
16516 and BUGURL.
16517 ($(objpfx)memusage): Likewise.
16518 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
16519 (do_version): Use PKGVERSION.
16520 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
16521 (print_version): Use PKGVERSION.
16522 * malloc/mtrace.pl ($PACKAGE): Remove variable.
16523 ($PKGVERSION): New variable.
16524 ($REPORT_BUGS_TO): Likewise.
16525 (usage): Use $REPORT_BUGS_TO.
16526 (top level): Use $PKGVERSION.
16527 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
16528 ($(objpfx)pkgvers.texi): New rule.
16529 ($(objpfx)stamp-pkgvers): Likewise.
16530 * manual/install.texi: Include pkgvers.texi.
16531 (--with-pkgversion): Document new configure option.
16532 (--with-bugurl): Likewise.
16533 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
16534 than necessarily for this particular distribution. Use
16535 REPORT_BUGS_TO for where to report bugs.
16536 * INSTALL: Regenerated.
16537 * manual/libc.texinfo: Include pkgvers.texi.
16538 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
16539 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
16540 (print_version): Use PKGVERSION.
16541 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
16542 (print_version): Use PKGVERSION.
16543 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
16544 (print_version): Use PKGVERSION.
16545 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
16546 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
16547 macro.
16548 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
16549 (print_version): Use PKGVERSION.
16550 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
16551 (print_version): Use PKGVERSION.
16552 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
16553 and PKGVERSION.
16554
92e4b6a9
JM
16555 * timezone/checktab.awk: Update from tzcode 2012i.
16556 * timezone/ialloc.c: Likewise.
16557 * timezone/private.h: Likewise.
16558 * timezone/scheck.c: Likewise.
16559 * timezone/tzfile.h: Likewise.
16560 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
16561 (TZVERSION): Hardcode tzcode version number.
16562 * timezone/zdump.c: Update from tzcode 2012i.
16563 * timezone/zic.c: Likewise.
16564 * timezone/version.h: New file.
16565 * timezone/README: Describe version.h. Update upstream location.
16566
9bde902c
JM
16567 [BZ #14824]
16568 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
16569 (mktemp): Enable declaration.
16570 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
16571 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
16572 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
16573 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
16574 Likewise.
16575 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
16576 Likewise.
16577 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
16578 Likewise.
16579 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
16580 Likewise.
16581 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
16582 Likewise.
16583 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
16584 Likewise.
16585
fb1ae1ee
JM
16586 [BZ #14821]
16587 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
16588 offset in buffer as u_int32_t not u_long. Consistently use memcpy
16589 for copies of such integer values.
16590 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16591 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16592
2c1adbcb
AJ
165932012-11-09 Andreas Jaeger <aj@suse.de>
16594
16595 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
16596 definitions and declarations that are provided by
16597 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
16598
d0f8457e
AK
165992012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16600
3a235abb 16601 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
16602 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
16603 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
16604 definition.
16605
57241e26
MS
166062012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16607
16608 * elf/elf.h: Update comment before AArch64 relocations.
16609
60e8270d
DM
166102012-11-07 David S. Miller <davem@davemloft.net>
16611
16612 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
16613 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
16614 (__start_context): Declare.
16615 (__makecontext_ret): Delete.
16616 (__makecontext): Hook up __start_context instead of
16617 __makecontext_ret.
16618 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
16619 (sysdep_routines): Add __start_context when in stdlib.
16620
0fbb0fbc
JM
166212012-11-07 Joseph Myers <joseph@codesourcery.com>
16622
16623 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
16624 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
16625 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
16626 hardcoded "nm".
16627 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
16628 (READELF): New variable. Use it instead of hardcoded "readelf".
16629
eb48db7e
L
166302012-11-07 H.J. Lu <hongjiu.lu@intel.com>
16631
16632 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
16633 * sysdeps/x86/Makefile: Here.
16634 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
16635 * sysdeps/x86/tst-xmmymm.sh: This.
16636
05bcf62a
JM
166372012-11-07 Joseph Myers <joseph@codesourcery.com>
16638
c4b6cf53
JM
16639 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
16640 expectations.
16641 [UNIX98] (pthread_barrier_t): Do not expect.
16642 [UNIX98] (pthread_barrierattr_t): Likewise.
16643 [UNIX98] (pthread_spinlock_t): Likewise.
16644 [UNIX98] (pthread_barrier_destroy): Likewise.
16645 [UNIX98] (pthread_barrier_init): Likewise.
16646 [UNIX98] (pthread_barrier_wait): Likewise.
16647 [UNIX98] (pthread_barrierattr_destroy): Likewise.
16648 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
16649 [UNIX98] (pthread_barrierattr_init): Likewise.
16650 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
16651 [UNIX98] (pthread_getcpuclockid): Likewise.
16652 [UNIX98] (pthread_mutex_timedlock): Likewise.
16653 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
16654 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
16655 [UNIX98] (pthread_sigmask): Likewise.
16656 [UNIX98] (pthread_spin_destroy): Likewise.
16657 [UNIX98] (pthread_spin_init): Likewise.
16658 [UNIX98] (pthread_spin_lock): Likewise.
16659 [UNIX98] (pthread_spin_trylock): Likewise.
16660 [UNIX98] (pthread_spin_unlock): Likewise.
16661 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
16662 Do not expect.
16663 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
16664 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
16665 [XPG3 || XPG4] (pthread_cond_t): Likewise.
16666 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
16667 [XPG3 || XPG4] (pthread_key_t): Likewise.
16668 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
16669 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
16670 [XPG3 || XPG4] (pthread_once_t): Likewise.
16671 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
16672 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
16673 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
16674 [XPG3 || XPG4] (pthread_t): Likewise.
16675
cbe6e120
JM
16676 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
16677 not expect.
16678 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
16679
1b126443
JM
16680 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
16681 Change function return type to int.
16682
b961a573
JM
16683 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
16684 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
16685 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
16686 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
16687 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
16688 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
16689 [!POSIX] (posix_madvise): Likewise.
16690 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
16691 && !UNIX98].
16692 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
16693 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
16694 (mode_t): Likewise.
16695 (posix_mem_offset): Likewise.
16696 (posix_typed_mem_get_info): Likewise.
16697 (posix_typed_mem_open): Likewise.
16698
9e188909
JM
16699 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
16700 Change condition to [XOPEN2K8].
16701
05bcf62a
JM
16702 * conform/conformtest.pl: Preprocess allow-header data with -x c
16703 instead of from stdin.
16704 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
16705 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
16706 [C99-based standards] (cerfc): Likewise.
16707 [C99-based standards] (cexp2): Likewise.
16708 [C99-based standards] (cexpm1): Likewise.
16709 [C99-based standards] (clog10): Likewise.
16710 [C99-based standards] (clog1p): Likewise.
16711 [C99-based standards] (clog2): Likewise.
16712 [C99-based standards] (clgamma): Likewise.
16713 [C99-based standards] (ctgamma): Likewise.
16714 [C99-based standards] (cerff): Likewise.
16715 [C99-based standards] (cerfcf): Likewise.
16716 [C99-based standards] (cexp2f): Likewise.
16717 [C99-based standards] (cexpm1f): Likewise.
16718 [C99-based standards] (clog10f): Likewise.
16719 [C99-based standards] (clog1pf): Likewise.
16720 [C99-based standards] (clog2f): Likewise.
16721 [C99-based standards] (clgammaf): Likewise.
16722 [C99-based standards] (ctgammaf): Likewise.
16723 [C99-based standards] (cerfl): Likewise.
16724 [C99-based standards] (cerfcl): Likewise.
16725 [C99-based standards] (cexp2l): Likewise.
16726 [C99-based standards] (cexpm1l): Likewise.
16727 [C99-based standards] (clog10l): Likewise.
16728 [C99-based standards] (clog1pl): Likewise.
16729 [C99-based standards] (clog2l): Likewise.
16730 [C99-based standards] (clgammal): Likewise.
16731 [C99-based standards] (ctgammal): Likewise.
16732 * conform/data/inttypes.h-data [C99-based standards]: Include
16733 stdint.h-data. Remove all expectations for stdint.h contents.
16734 [C99-based standards] (PRI*): Do not allow.
16735 [C99-based standards] (SCN*): Likewise.
16736 [C99-based standards] (*_t): Likewise.
16737 [C99-based-standards] (PRId8): Expect macro.
16738 [C99-based-standards] (PRIi8): Likewise.
16739 [C99-based-standards] (PRIo8): Likewise.
16740 [C99-based-standards] (PRIu8): Likewise.
16741 [C99-based-standards] (PRIx8): Likewise.
16742 [C99-based-standards] (PRIX8): Likewise.
16743 [C99-based-standards] (SCNd8): Likewise.
16744 [C99-based-standards] (SCNi8): Likewise.
16745 [C99-based-standards] (SCNo8): Likewise.
16746 [C99-based-standards] (SCNu8): Likewise.
16747 [C99-based-standards] (SCNx8): Likewise.
16748 [C99-based-standards] (PRIdLEAST8): Likewise.
16749 [C99-based-standards] (PRIiLEAST8): Likewise.
16750 [C99-based-standards] (PRIoLEAST8): Likewise.
16751 [C99-based-standards] (PRIuLEAST8): Likewise.
16752 [C99-based-standards] (PRIxLEAST8): Likewise.
16753 [C99-based-standards] (PRIXLEAST8): Likewise.
16754 [C99-based-standards] (SCNdLEAST8): Likewise.
16755 [C99-based-standards] (SCNiLEAST8): Likewise.
16756 [C99-based-standards] (SCNoLEAST8): Likewise.
16757 [C99-based-standards] (SCNuLEAST8): Likewise.
16758 [C99-based-standards] (SCNxLEAST8): Likewise.
16759 [C99-based-standards] (PRIdFAST8): Likewise.
16760 [C99-based-standards] (PRIiFAST8): Likewise.
16761 [C99-based-standards] (PRIoFAST8): Likewise.
16762 [C99-based-standards] (PRIuFAST8): Likewise.
16763 [C99-based-standards] (PRIxFAST8): Likewise.
16764 [C99-based-standards] (PRIXFAST8): Likewise.
16765 [C99-based-standards] (SCNdFAST8): Likewise.
16766 [C99-based-standards] (SCNiFAST8): Likewise.
16767 [C99-based-standards] (SCNoFAST8): Likewise.
16768 [C99-based-standards] (SCNuFAST8): Likewise.
16769 [C99-based-standards] (SCNxFAST8): Likewise.
16770 [C99-based-standards] (PRId16): Likewise.
16771 [C99-based-standards] (PRIi16): Likewise.
16772 [C99-based-standards] (PRIo16): Likewise.
16773 [C99-based-standards] (PRIu16): Likewise.
16774 [C99-based-standards] (PRIx16): Likewise.
16775 [C99-based-standards] (PRIX16): Likewise.
16776 [C99-based-standards] (SCNd16): Likewise.
16777 [C99-based-standards] (SCNi16): Likewise.
16778 [C99-based-standards] (SCNo16): Likewise.
16779 [C99-based-standards] (SCNu16): Likewise.
16780 [C99-based-standards] (SCNx16): Likewise.
16781 [C99-based-standards] (PRIdLEAST16): Likewise.
16782 [C99-based-standards] (PRIiLEAST16): Likewise.
16783 [C99-based-standards] (PRIoLEAST16): Likewise.
16784 [C99-based-standards] (PRIuLEAST16): Likewise.
16785 [C99-based-standards] (PRIxLEAST16): Likewise.
16786 [C99-based-standards] (PRIXLEAST16): Likewise.
16787 [C99-based-standards] (SCNdLEAST16): Likewise.
16788 [C99-based-standards] (SCNiLEAST16): Likewise.
16789 [C99-based-standards] (SCNoLEAST16): Likewise.
16790 [C99-based-standards] (SCNuLEAST16): Likewise.
16791 [C99-based-standards] (SCNxLEAST16): Likewise.
16792 [C99-based-standards] (PRIdFAST16): Likewise.
16793 [C99-based-standards] (PRIiFAST16): Likewise.
16794 [C99-based-standards] (PRIoFAST16): Likewise.
16795 [C99-based-standards] (PRIuFAST16): Likewise.
16796 [C99-based-standards] (PRIxFAST16): Likewise.
16797 [C99-based-standards] (PRIXFAST16): Likewise.
16798 [C99-based-standards] (SCNdFAST16): Likewise.
16799 [C99-based-standards] (SCNiFAST16): Likewise.
16800 [C99-based-standards] (SCNoFAST16): Likewise.
16801 [C99-based-standards] (SCNuFAST16): Likewise.
16802 [C99-based-standards] (SCNxFAST16): Likewise.
16803 [C99-based-standards] (PRId32): Likewise.
16804 [C99-based-standards] (PRIi32): Likewise.
16805 [C99-based-standards] (PRIo32): Likewise.
16806 [C99-based-standards] (PRIu32): Likewise.
16807 [C99-based-standards] (PRIx32): Likewise.
16808 [C99-based-standards] (PRIX32): Likewise.
16809 [C99-based-standards] (SCNd32): Likewise.
16810 [C99-based-standards] (SCNi32): Likewise.
16811 [C99-based-standards] (SCNo32): Likewise.
16812 [C99-based-standards] (SCNu32): Likewise.
16813 [C99-based-standards] (SCNx32): Likewise.
16814 [C99-based-standards] (PRIdLEAST32): Likewise.
16815 [C99-based-standards] (PRIiLEAST32): Likewise.
16816 [C99-based-standards] (PRIoLEAST32): Likewise.
16817 [C99-based-standards] (PRIuLEAST32): Likewise.
16818 [C99-based-standards] (PRIxLEAST32): Likewise.
16819 [C99-based-standards] (PRIXLEAST32): Likewise.
16820 [C99-based-standards] (SCNdLEAST32): Likewise.
16821 [C99-based-standards] (SCNiLEAST32): Likewise.
16822 [C99-based-standards] (SCNoLEAST32): Likewise.
16823 [C99-based-standards] (SCNuLEAST32): Likewise.
16824 [C99-based-standards] (SCNxLEAST32): Likewise.
16825 [C99-based-standards] (PRIdFAST32): Likewise.
16826 [C99-based-standards] (PRIiFAST32): Likewise.
16827 [C99-based-standards] (PRIoFAST32): Likewise.
16828 [C99-based-standards] (PRIuFAST32): Likewise.
16829 [C99-based-standards] (PRIxFAST32): Likewise.
16830 [C99-based-standards] (PRIXFAST32): Likewise.
16831 [C99-based-standards] (SCNdFAST32): Likewise.
16832 [C99-based-standards] (SCNiFAST32): Likewise.
16833 [C99-based-standards] (SCNoFAST32): Likewise.
16834 [C99-based-standards] (SCNuFAST32): Likewise.
16835 [C99-based-standards] (SCNxFAST32): Likewise.
16836 [C99-based-standards] (PRId64): Likewise.
16837 [C99-based-standards] (PRIi64): Likewise.
16838 [C99-based-standards] (PRIo64): Likewise.
16839 [C99-based-standards] (PRIu64): Likewise.
16840 [C99-based-standards] (PRIx64): Likewise.
16841 [C99-based-standards] (PRIX64): Likewise.
16842 [C99-based-standards] (SCNd64): Likewise.
16843 [C99-based-standards] (SCNi64): Likewise.
16844 [C99-based-standards] (SCNo64): Likewise.
16845 [C99-based-standards] (SCNu64): Likewise.
16846 [C99-based-standards] (SCNx64): Likewise.
16847 [C99-based-standards] (PRIdLEAST64): Likewise.
16848 [C99-based-standards] (PRIiLEAST64): Likewise.
16849 [C99-based-standards] (PRIoLEAST64): Likewise.
16850 [C99-based-standards] (PRIuLEAST64): Likewise.
16851 [C99-based-standards] (PRIxLEAST64): Likewise.
16852 [C99-based-standards] (PRIXLEAST64): Likewise.
16853 [C99-based-standards] (SCNdLEAST64): Likewise.
16854 [C99-based-standards] (SCNiLEAST64): Likewise.
16855 [C99-based-standards] (SCNoLEAST64): Likewise.
16856 [C99-based-standards] (SCNuLEAST64): Likewise.
16857 [C99-based-standards] (SCNxLEAST64): Likewise.
16858 [C99-based-standards] (PRIdFAST64): Likewise.
16859 [C99-based-standards] (PRIiFAST64): Likewise.
16860 [C99-based-standards] (PRIoFAST64): Likewise.
16861 [C99-based-standards] (PRIuFAST64): Likewise.
16862 [C99-based-standards] (PRIxFAST64): Likewise.
16863 [C99-based-standards] (PRIXFAST64): Likewise.
16864 [C99-based-standards] (SCNdFAST64): Likewise.
16865 [C99-based-standards] (SCNiFAST64): Likewise.
16866 [C99-based-standards] (SCNoFAST64): Likewise.
16867 [C99-based-standards] (SCNuFAST64): Likewise.
16868 [C99-based-standards] (SCNxFAST64): Likewise.
16869 [C99-based-standards] (PRIdMAX): Likewise.
16870 [C99-based-standards] (PRIiMAX): Likewise.
16871 [C99-based-standards] (PRIoMAX): Likewise.
16872 [C99-based-standards] (PRIuMAX): Likewise.
16873 [C99-based-standards] (PRIxMAX): Likewise.
16874 [C99-based-standards] (PRIXMAX): Likewise.
16875 [C99-based-standards] (SCNdMAX): Likewise.
16876 [C99-based-standards] (SCNiMAX): Likewise.
16877 [C99-based-standards] (SCNoMAX): Likewise.
16878 [C99-based-standards] (SCNuMAX): Likewise.
16879 [C99-based-standards] (SCNxMAX): Likewise.
16880 [C99-based-standards] (PRIdPTR): Likewise.
16881 [C99-based-standards] (PRIiPTR): Likewise.
16882 [C99-based-standards] (PRIoPTR): Likewise.
16883 [C99-based-standards] (PRIuPTR): Likewise.
16884 [C99-based-standards] (PRIxPTR): Likewise.
16885 [C99-based-standards] (PRIXPTR): Likewise.
16886 [C99-based-standards] (SCNdPTR): Likewise.
16887 [C99-based-standards] (SCNiPTR): Likewise.
16888 [C99-based-standards] (SCNoPTR): Likewise.
16889 [C99-based-standards] (SCNuPTR): Likewise.
16890 [C99-based-standards] (SCNxPTR): Likewise.
16891 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
16892 allow.
16893 * conform/data/stdint.h-data: Update comments to clarify
16894 requirements.
16895 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
16896 type.
16897 [C99-based standards] (INT8_MAX): Likewise.
16898 [C99-based standards] (INT16_MIN): Likewise.
16899 [C99-based standards] (INT16_MAX): Likewise.
16900 [C99-based standards] (INT32_MIN): Likewise.
16901 [C99-based standards] (INT32_MAX): Likewise.
16902 [C99-based standards] (INT64_MIN): Likewise.
16903 [C99-based standards] (INT64_MAX): Likewise.
16904 [C99-based standards] (UINT8_MAX): Likewise.
16905 [C99-based standards] (UINT16_MAX): Likewise.
16906 [C99-based standards] (UINT32_MAX): Likewise.
16907 [C99-based standards] (UINT64_MAX): Likewise.
16908 [C99-based standards] (INT_LEAST8_MIN): Likewise.
16909 [C99-based standards] (INT_LEAST8_MAX): Likewise.
16910 [C99-based standards] (INT_LEAST16_MIN): Likewise.
16911 [C99-based standards] (INT_LEAST16_MAX): Likewise.
16912 [C99-based standards] (INT_LEAST32_MIN): Likewise.
16913 [C99-based standards] (INT_LEAST32_MAX): Likewise.
16914 [C99-based standards] (INT_LEAST64_MIN): Likewise.
16915 [C99-based standards] (INT_LEAST64_MAX): Likewise.
16916 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
16917 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
16918 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
16919 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
16920 [C99-based standards] (INT_FAST8_MIN): Likewise.
16921 [C99-based standards] (INT_FAST8_MAX): Likewise.
16922 [C99-based standards] (INT_FAST16_MIN): Likewise.
16923 [C99-based standards] (INT_FAST16_MAX): Likewise.
16924 [C99-based standards] (INT_FAST32_MIN): Likewise.
16925 [C99-based standards] (INT_FAST32_MAX): Likewise.
16926 [C99-based standards] (INT_FAST64_MIN): Likewise.
16927 [C99-based standards] (INT_FAST64_MAX): Likewise.
16928 [C99-based standards] (UINT_FAST8_MAX): Likewise.
16929 [C99-based standards] (UINT_FAST16_MAX): Likewise.
16930 [C99-based standards] (UINT_FAST32_MAX): Likewise.
16931 [C99-based standards] (UINT_FAST64_MAX): Likewise.
16932 [C99-based standards] (INTPTR_MIN): Likewise.
16933 [C99-based standards] (INTPTR_MAX): Likewise.
16934 [C99-based standards] (UINTPTR_MAX): Likewise.
16935 [C99-based standards] (INTMAX_MIN): Likewise.
16936 [C99-based standards] (INTMAX_MAX): Likewise.
16937 [C99-based standards] (UINTMAX_MAX): Likewise.
16938 [C99-based standards] (PTRDIFF_MIN): Likewise.
16939 [C99-based standards] (PTRDIFF_MAX): Likewise.
16940 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
16941 [C99-based standards] (SIZE_MAX): Likewise.
16942 [C99-based standards] (WCHAR_MAX): Likewise.
16943 [C99-based standards] (WINT_MAX): Likewise.
16944 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
16945 constraint on value.
16946 [C99-based standards] (WCHAR_MIN): Likewise.
16947 [C99-based standards] (WINT_MIN): Likewise.
16948 [C99-based standards] (*_t): Allow.
16949 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
16950 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
16951 Include math.h-data and complex.h-data. Remove all expectations
16952 of math.h and complex.h contents.
16953 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
16954 at end of line.
16955 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
16956 (struct tm): Expect tag.
16957 [C99-based-standards] (wcstof): Expect function.
16958 [C99-based-standards] (wcstold): Likewise.
16959 [C99-based-standards] (wcstoll): Likewise.
16960 [C99-based-standards] (wcstoull): Likewise.
16961 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
16962 macro-int-constant. Specify type.
16963 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
16964 constraint on value.
16965 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16966 Specify type.
16967 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
16968 Specify value.
16969 [ISO C standards]: Do not allow headers.
16970 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
16971 wcs[abcdefghijklmnopqrstuvwxyz]*.
16972 [ISO C standards] (*_t): Do not allow.
16973 * conform/data/wctype.h-data [C99-based standards] (iswblank):
16974 Expect function.
16975 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
16976 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16977 Specify type.
16978 [ISO C standards]: Do not allow headers.
16979 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
16980 is[abcdefghijklmnopqrstuvwxyz]*.
16981 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
16982 to[abcdefghijklmnopqrstuvwxyz]*.
16983 [ISO C standards] (*_t): Do not allow.
16984 * conform/data/stdalign.h-data: New file.
16985 * conform/data/stdbool.h-data: Likewise.
16986 * conform/data/stdnoreturn.h-data: Likewise.
16987
7514feb8
RM
169882012-11-07 Roland McGrath <roland@hack.frob.com>
16989
16990 [BZ #14815]
16991 * manual/filesys.texi (Directory Entries): Typo fix.
16992 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
16993
19b2ecfc
MS
169942012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16995
16996 * elf/elf.h (EM_AARCH64): New macro.
16997 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
16998 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
16999 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
17000 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
17001 (R_AARCH64_TLSDESC): Likewise.
17002 (NT_ARM_TLS): Likewise.
17003 (NT_ARM_HW_BREAK): Likewise.
17004 (NT_ARM_HW_WATCH): Likewise.
17005
60e235ee
JM
170062012-11-07 Joseph Myers <joseph@codesourcery.com>
17007
17008 [BZ #14811]
17009 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
17010 (__ieee754_powl): Saturate nonzero exponents with absolute value
17011 below 0x1p-79 to +/- 0x1p-79.
17012 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
17013 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
17014 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
17015 nonzero exponents with absolute value below 0x1p-32 to +/-
17016 0x1p-32.
17017 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
17018 (__ieee754_powl): Saturate nonzero exponents with absolute value
17019 below 0x1p-79 to +/- 0x1p-79.
17020 * math/libm-test.inc (pow_test): Add more tests.
17021
0ab234b7
AK
170222012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17023
17024 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
17025 _dl_s390_cap_flags with kernel. Increase string length.
17026 (_dl_s390_platforms): Add z196 and zEC12.
17027
45832f74
JM
170282012-11-07 Joseph Myers <joseph@codesourcery.com>
17029
17030 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
17031 Change XOPEN21K to XOPEN2K.
17032
19218757
MK
170332012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
17034
17035 * string/memmove.c: Use memcpy when possible.
17036
c5f45721
AJ
170372012-11-06 Andreas Jaeger <aj@suse.de>
17038
17039 * po/eo.po: Update from translation team.
17040
82477c28
JM
170412012-11-06 Joseph Myers <joseph@codesourcery.com>
17042
17043 [BZ #14793]
17044 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
17045 exponent and small x and y exponents, scale x or y up. Increase
17046 by 2 the exponent used in scaling up.
17047 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17048 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17049 * math/libm-test.inc (fma_test): Add more tests.
17050 (fma_test_towardzero): Likewise.
17051 (fma_test_downward): Likewise.
17052 (fma_test_upward): Likewise.
17053
99252c8c
JM
170542012-11-05 Joseph Myers <joseph@codesourcery.com>
17055
acfa885f
JM
17056 [BZ #14805]
17057 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
17058 fenv_t *.
17059
99252c8c
JM
17060 [BZ #14801]
17061 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
17062 namespace for names of struct fields.
17063 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
17064 fenv_t fields.
17065 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
17066 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
17067
d6d98dea
ST
170682012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
17069
17070 [BZ #3665]
17071 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
17072
e10bb107
TS
170732012-11-04 Thomas Schwinge <thomas@codesourcery.com>
17074
17075 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
17076 PTR_DEMANGLE.
17077
17078 [BZ #5246]
17079 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
17080 PTR_DEMANGLE.
17081
a0c2940d
JM
170822012-11-04 Joseph Myers <joseph@codesourcery.com>
17083
17084 [BZ #14797]
17085 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
17086 definitely overflow as x * y not x * y + z.
17087 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17088 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17089 * math/libm-test.inc (fma_test): Add more tests.
17090 (fma_test_towardzero): Likewise.
17091 (fma_test_downward): Likewise.
17092 (fma_test_upward): Likewise.
17093
b830319d
TS
170942012-11-04 Thomas Schwinge <thomas@codesourcery.com>
17095
17096 [BZ #157]
17097
17098 * include/stub-tag.h: Remove file.
17099 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
17100 '#include' of it.
17101 * manual/maint.texi (Porting): Don't reference it.
17102 * Makerules ($(objpfx)stubs): Likewise.
17103 * dirent/closedir.c: Don't include <stub-tag.h>.
17104 * dirent/dirfd.c: Likewise.
17105 * dirent/fdopendir.c: Likewise.
17106 * dirent/getdents.c: Likewise.
17107 * dirent/getdents64.c: Likewise.
17108 * dirent/opendir.c: Likewise.
17109 * dirent/readdir.c: Likewise.
17110 * dirent/readdir64.c: Likewise.
17111 * dirent/readdir64_r.c: Likewise.
17112 * dirent/readdir_r.c: Likewise.
17113 * dirent/rewinddir.c: Likewise.
17114 * dirent/seekdir.c: Likewise.
17115 * dirent/telldir.c: Likewise.
17116 * gmon/profil.c: Likewise.
17117 * grp/setgroups.c: Likewise.
17118 * inet/if_index.c: Likewise.
17119 * io/access.c: Likewise.
17120 * io/chdir.c: Likewise.
17121 * io/chmod.c: Likewise.
17122 * io/chown.c: Likewise.
17123 * io/close.c: Likewise.
17124 * io/dup.c: Likewise.
17125 * io/dup2.c: Likewise.
17126 * io/dup3.c: Likewise.
17127 * io/euidaccess.c: Likewise.
17128 * io/faccessat.c: Likewise.
17129 * io/fchdir.c: Likewise.
17130 * io/fchmod.c: Likewise.
17131 * io/fchmodat.c: Likewise.
17132 * io/fchown.c: Likewise.
17133 * io/fchownat.c: Likewise.
17134 * io/fcntl.c: Likewise.
17135 * io/flock.c: Likewise.
17136 * io/fstatfs.c: Likewise.
17137 * io/fstatfs64.c: Likewise.
17138 * io/fstatvfs.c: Likewise.
17139 * io/fstatvfs64.c: Likewise.
17140 * io/futimens.c: Likewise.
17141 * io/fxstat.c: Likewise.
17142 * io/fxstat64.c: Likewise.
17143 * io/fxstatat.c: Likewise.
17144 * io/fxstatat64.c: Likewise.
17145 * io/getcwd.c: Likewise.
17146 * io/isatty.c: Likewise.
17147 * io/lchmod.c: Likewise.
17148 * io/lchown.c: Likewise.
17149 * io/link.c: Likewise.
17150 * io/linkat.c: Likewise.
17151 * io/lseek.c: Likewise.
17152 * io/lseek64.c: Likewise.
17153 * io/lxstat64.c: Likewise.
17154 * io/mkdir.c: Likewise.
17155 * io/mkdirat.c: Likewise.
17156 * io/mkfifo.c: Likewise.
17157 * io/mkfifoat.c: Likewise.
17158 * io/open.c: Likewise.
17159 * io/open64.c: Likewise.
17160 * io/openat.c: Likewise.
17161 * io/openat64.c: Likewise.
17162 * io/pipe.c: Likewise.
17163 * io/pipe2.c: Likewise.
17164 * io/poll.c: Likewise.
17165 * io/posix_fadvise.c: Likewise.
17166 * io/posix_fadvise64.c: Likewise.
17167 * io/posix_fallocate.c: Likewise.
17168 * io/posix_fallocate64.c: Likewise.
17169 * io/read.c: Likewise.
17170 * io/readlink.c: Likewise.
17171 * io/readlinkat.c: Likewise.
17172 * io/rmdir.c: Likewise.
17173 * io/sendfile.c: Likewise.
17174 * io/sendfile64.c: Likewise.
17175 * io/statfs.c: Likewise.
17176 * io/statfs64.c: Likewise.
17177 * io/statvfs.c: Likewise.
17178 * io/statvfs64.c: Likewise.
17179 * io/symlink.c: Likewise.
17180 * io/symlinkat.c: Likewise.
17181 * io/ttyname.c: Likewise.
17182 * io/ttyname_r.c: Likewise.
17183 * io/umask.c: Likewise.
17184 * io/unlink.c: Likewise.
17185 * io/unlinkat.c: Likewise.
17186 * io/utime.c: Likewise.
17187 * io/utimensat.c: Likewise.
17188 * io/write.c: Likewise.
17189 * io/xmknod.c: Likewise.
17190 * io/xmknodat.c: Likewise.
17191 * io/xstat.c: Likewise.
17192 * io/xstat64.c: Likewise.
17193 * login/getpt.c: Likewise.
17194 * login/grantpt.c: Likewise.
17195 * login/unlockpt.c: Likewise.
17196 * math/e_acoshl.c: Likewise.
17197 * math/e_acosl.c: Likewise.
17198 * math/e_asinl.c: Likewise.
17199 * math/e_atan2l.c: Likewise.
17200 * math/e_atanhl.c: Likewise.
17201 * math/e_coshl.c: Likewise.
17202 * math/e_expl.c: Likewise.
17203 * math/e_fmodl.c: Likewise.
17204 * math/e_gammal_r.c: Likewise.
17205 * math/e_hypotl.c: Likewise.
17206 * math/e_j0l.c: Likewise.
17207 * math/e_j1l.c: Likewise.
17208 * math/e_jnl.c: Likewise.
17209 * math/e_lgammal_r.c: Likewise.
17210 * math/e_log10l.c: Likewise.
17211 * math/e_log2l.c: Likewise.
17212 * math/e_logl.c: Likewise.
17213 * math/e_powl.c: Likewise.
17214 * math/e_rem_pio2l.c: Likewise.
17215 * math/e_sinhl.c: Likewise.
17216 * math/e_sqrtl.c: Likewise.
17217 * math/fclrexcpt.c: Likewise.
17218 * math/fedisblxcpt.c: Likewise.
17219 * math/feenablxcpt.c: Likewise.
17220 * math/fegetenv.c: Likewise.
17221 * math/fegetexcept.c: Likewise.
17222 * math/fegetround.c: Likewise.
17223 * math/feholdexcpt.c: Likewise.
17224 * math/fesetenv.c: Likewise.
17225 * math/fesetround.c: Likewise.
17226 * math/feupdateenv.c: Likewise.
17227 * math/fgetexcptflg.c: Likewise.
17228 * math/fraiseexcpt.c: Likewise.
17229 * math/fsetexcptflg.c: Likewise.
17230 * math/ftestexcept.c: Likewise.
17231 * math/k_cosl.c: Likewise.
17232 * math/k_rem_pio2l.c: Likewise.
17233 * math/k_sinl.c: Likewise.
17234 * math/k_tanl.c: Likewise.
17235 * math/s_asinhl.c: Likewise.
17236 * math/s_atanl.c: Likewise.
17237 * math/s_cbrtl.c: Likewise.
17238 * math/s_erfl.c: Likewise.
17239 * math/s_expm1l.c: Likewise.
17240 * math/s_log1pl.c: Likewise.
17241 * math/s_tanhl.c: Likewise.
17242 * misc/acct.c: Likewise.
17243 * misc/brk.c: Likewise.
17244 * misc/chflags.c: Likewise.
17245 * misc/chroot.c: Likewise.
17246 * misc/fchflags.c: Likewise.
17247 * misc/fgetxattr.c: Likewise.
17248 * misc/flistxattr.c: Likewise.
17249 * misc/fremovexattr.c: Likewise.
17250 * misc/fsetxattr.c: Likewise.
17251 * misc/fsync.c: Likewise.
17252 * misc/ftruncate.c: Likewise.
17253 * misc/futimes.c: Likewise.
17254 * misc/futimesat.c: Likewise.
17255 * misc/getdomain.c: Likewise.
17256 * misc/getdtsz.c: Likewise.
17257 * misc/gethostid.c: Likewise.
17258 * misc/gethostname.c: Likewise.
17259 * misc/getloadavg.c: Likewise.
17260 * misc/getpagesize.c: Likewise.
17261 * misc/getsysstats.c: Likewise.
17262 * misc/getxattr.c: Likewise.
17263 * misc/gtty.c: Likewise.
17264 * misc/ioctl.c: Likewise.
17265 * misc/lgetxattr.c: Likewise.
17266 * misc/listxattr.c: Likewise.
17267 * misc/llistxattr.c: Likewise.
17268 * misc/lremovexattr.c: Likewise.
17269 * misc/lsetxattr.c: Likewise.
17270 * misc/lutimes.c: Likewise.
17271 * misc/madvise.c: Likewise.
17272 * misc/mincore.c: Likewise.
17273 * misc/mlock.c: Likewise.
17274 * misc/mlockall.c: Likewise.
17275 * misc/mmap.c: Likewise.
17276 * misc/mprotect.c: Likewise.
17277 * misc/msync.c: Likewise.
17278 * misc/munlock.c: Likewise.
17279 * misc/munlockall.c: Likewise.
17280 * misc/munmap.c: Likewise.
17281 * misc/preadv.c: Likewise.
17282 * misc/preadv64.c: Likewise.
17283 * misc/ptrace.c: Likewise.
17284 * misc/pwritev.c: Likewise.
17285 * misc/pwritev64.c: Likewise.
17286 * misc/readv.c: Likewise.
17287 * misc/reboot.c: Likewise.
17288 * misc/remap_file_pages.c: Likewise.
17289 * misc/removexattr.c: Likewise.
17290 * misc/revoke.c: Likewise.
17291 * misc/select.c: Likewise.
17292 * misc/setdomain.c: Likewise.
17293 * misc/setegid.c: Likewise.
17294 * misc/seteuid.c: Likewise.
17295 * misc/sethostid.c: Likewise.
17296 * misc/sethostname.c: Likewise.
17297 * misc/setregid.c: Likewise.
17298 * misc/setreuid.c: Likewise.
17299 * misc/setxattr.c: Likewise.
17300 * misc/sstk.c: Likewise.
17301 * misc/stty.c: Likewise.
17302 * misc/swapoff.c: Likewise.
17303 * misc/swapon.c: Likewise.
17304 * misc/sync.c: Likewise.
17305 * misc/syncfs.c: Likewise.
17306 * misc/syscall.c: Likewise.
17307 * misc/truncate.c: Likewise.
17308 * misc/ualarm.c: Likewise.
17309 * misc/usleep.c: Likewise.
17310 * misc/ustat.c: Likewise.
17311 * misc/utimes.c: Likewise.
17312 * misc/vhangup.c: Likewise.
17313 * misc/writev.c: Likewise.
17314 * posix/_exit.c: Likewise.
17315 * posix/alarm.c: Likewise.
17316 * posix/execve.c: Likewise.
17317 * posix/fexecve.c: Likewise.
17318 * posix/fork.c: Likewise.
17319 * posix/fpathconf.c: Likewise.
17320 * posix/getaddrinfo.c: Likewise.
17321 * posix/getegid.c: Likewise.
17322 * posix/geteuid.c: Likewise.
17323 * posix/getgid.c: Likewise.
17324 * posix/getgroups.c: Likewise.
17325 * posix/getlogin.c: Likewise.
17326 * posix/getlogin_r.c: Likewise.
17327 * posix/getpgid.c: Likewise.
17328 * posix/getpid.c: Likewise.
17329 * posix/getppid.c: Likewise.
17330 * posix/getresgid.c: Likewise.
17331 * posix/getresuid.c: Likewise.
17332 * posix/getsid.c: Likewise.
17333 * posix/getuid.c: Likewise.
17334 * posix/glob64.c: Likewise.
17335 * posix/nanosleep.c: Likewise.
17336 * posix/pathconf.c: Likewise.
17337 * posix/pause.c: Likewise.
17338 * posix/posix_madvise.c: Likewise.
17339 * posix/pread.c: Likewise.
17340 * posix/pread64.c: Likewise.
17341 * posix/pwrite.c: Likewise.
17342 * posix/pwrite64.c: Likewise.
17343 * posix/sched_getaffinity.c: Likewise.
17344 * posix/sched_getp.c: Likewise.
17345 * posix/sched_gets.c: Likewise.
17346 * posix/sched_primax.c: Likewise.
17347 * posix/sched_primin.c: Likewise.
17348 * posix/sched_rr_gi.c: Likewise.
17349 * posix/sched_setaffinity.c: Likewise.
17350 * posix/sched_setp.c: Likewise.
17351 * posix/sched_sets.c: Likewise.
17352 * posix/sched_yield.c: Likewise.
17353 * posix/setgid.c: Likewise.
17354 * posix/setlogin.c: Likewise.
17355 * posix/setpgid.c: Likewise.
17356 * posix/setresgid.c: Likewise.
17357 * posix/setresuid.c: Likewise.
17358 * posix/setsid.c: Likewise.
17359 * posix/setuid.c: Likewise.
17360 * posix/sleep.c: Likewise.
17361 * posix/spawni.c: Likewise.
17362 * posix/sysconf.c: Likewise.
17363 * posix/times.c: Likewise.
17364 * posix/wait.c: Likewise.
17365 * posix/wait3.c: Likewise.
17366 * posix/wait4.c: Likewise.
17367 * posix/waitpid.c: Likewise.
17368 * resolv/gai_sigqueue.c: Likewise.
17369 * resource/getpriority.c: Likewise.
17370 * resource/getrlimit.c: Likewise.
17371 * resource/getrusage.c: Likewise.
17372 * resource/nice.c: Likewise.
17373 * resource/setpriority.c: Likewise.
17374 * resource/setrlimit.c: Likewise.
17375 * resource/ulimit.c: Likewise.
17376 * rt/aio_cancel.c: Likewise.
17377 * rt/aio_fsync.c: Likewise.
17378 * rt/aio_read.c: Likewise.
17379 * rt/aio_sigqueue.c: Likewise.
17380 * rt/aio_suspend.c: Likewise.
17381 * rt/aio_write.c: Likewise.
17382 * rt/clock_getres.c: Likewise.
17383 * rt/clock_gettime.c: Likewise.
17384 * rt/clock_nanosleep.c: Likewise.
17385 * rt/clock_settime.c: Likewise.
17386 * rt/lio_listio.c: Likewise.
17387 * rt/mq_close.c: Likewise.
17388 * rt/mq_getattr.c: Likewise.
17389 * rt/mq_notify.c: Likewise.
17390 * rt/mq_open.c: Likewise.
17391 * rt/mq_receive.c: Likewise.
17392 * rt/mq_send.c: Likewise.
17393 * rt/mq_setattr.c: Likewise.
17394 * rt/mq_timedreceive.c: Likewise.
17395 * rt/mq_timedsend.c: Likewise.
17396 * rt/mq_unlink.c: Likewise.
17397 * rt/shm_open.c: Likewise.
17398 * rt/shm_unlink.c: Likewise.
17399 * rt/timer_create.c: Likewise.
17400 * rt/timer_delete.c: Likewise.
17401 * rt/timer_getoverr.c: Likewise.
17402 * rt/timer_gettime.c: Likewise.
17403 * rt/timer_settime.c: Likewise.
17404 * setjmp/__longjmp.c: Likewise.
17405 * setjmp/setjmp.c: Likewise.
17406 * signal/kill.c: Likewise.
17407 * signal/killpg.c: Likewise.
17408 * signal/raise.c: Likewise.
17409 * signal/sigaction.c: Likewise.
17410 * signal/sigaltstack.c: Likewise.
17411 * signal/sigblock.c: Likewise.
17412 * signal/sigignore.c: Likewise.
17413 * signal/sigintr.c: Likewise.
17414 * signal/signal.c: Likewise.
17415 * signal/sigpause.c: Likewise.
17416 * signal/sigpending.c: Likewise.
17417 * signal/sigqueue.c: Likewise.
17418 * signal/sigreturn.c: Likewise.
17419 * signal/sigset.c: Likewise.
17420 * signal/sigsetmask.c: Likewise.
17421 * signal/sigstack.c: Likewise.
17422 * signal/sigsuspend.c: Likewise.
17423 * signal/sigtimedwait.c: Likewise.
17424 * signal/sigvec.c: Likewise.
17425 * signal/sigwait.c: Likewise.
17426 * signal/sigwaitinfo.c: Likewise.
17427 * signal/sysv_signal.c: Likewise.
17428 * socket/accept.c: Likewise.
17429 * socket/accept4.c: Likewise.
17430 * socket/bind.c: Likewise.
17431 * socket/connect.c: Likewise.
17432 * socket/getpeername.c: Likewise.
17433 * socket/getsockname.c: Likewise.
17434 * socket/getsockopt.c: Likewise.
17435 * socket/isfdtype.c: Likewise.
17436 * socket/listen.c: Likewise.
17437 * socket/recv.c: Likewise.
17438 * socket/recvfrom.c: Likewise.
17439 * socket/recvmsg.c: Likewise.
17440 * socket/send.c: Likewise.
17441 * socket/sendmsg.c: Likewise.
17442 * socket/sendto.c: Likewise.
17443 * socket/setsockopt.c: Likewise.
17444 * socket/shutdown.c: Likewise.
17445 * socket/sockatmark.c: Likewise.
17446 * socket/socket.c: Likewise.
17447 * socket/socketpair.c: Likewise.
17448 * stdio-common/ctermid.c: Likewise.
17449 * stdio-common/cuserid.c: Likewise.
17450 * stdio-common/remove.c: Likewise.
17451 * stdio-common/rename.c: Likewise.
17452 * stdio-common/renameat.c: Likewise.
17453 * stdio-common/tempname.c: Likewise.
17454 * stdlib/getcontext.c: Likewise.
17455 * stdlib/makecontext.c: Likewise.
17456 * stdlib/setcontext.c: Likewise.
17457 * stdlib/swapcontext.c: Likewise.
17458 * stdlib/system.c: Likewise.
17459 * streams/fattach.c: Likewise.
17460 * streams/fdetach.c: Likewise.
17461 * streams/getmsg.c: Likewise.
17462 * streams/getpmsg.c: Likewise.
17463 * streams/putmsg.c: Likewise.
17464 * streams/putpmsg.c: Likewise.
17465 * sysdeps/unix/bsd/getpt.c: Likewise.
17466 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
17467 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
17468 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
17470 Likewise.
17471 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
17472 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
17473 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
17474 * sysvipc/msgctl.c: Likewise.
17475 * sysvipc/msgget.c: Likewise.
17476 * sysvipc/msgrcv.c: Likewise.
17477 * sysvipc/msgsnd.c: Likewise.
17478 * sysvipc/semctl.c: Likewise.
17479 * sysvipc/semget.c: Likewise.
17480 * sysvipc/semop.c: Likewise.
17481 * sysvipc/semtimedop.c: Likewise.
17482 * sysvipc/shmat.c: Likewise.
17483 * sysvipc/shmctl.c: Likewise.
17484 * sysvipc/shmdt.c: Likewise.
17485 * sysvipc/shmget.c: Likewise.
17486 * termios/tcdrain.c: Likewise.
17487 * termios/tcflow.c: Likewise.
17488 * termios/tcflush.c: Likewise.
17489 * termios/tcgetattr.c: Likewise.
17490 * termios/tcgetpgrp.c: Likewise.
17491 * termios/tcsendbrk.c: Likewise.
17492 * termios/tcsetattr.c: Likewise.
17493 * termios/tcsetpgrp.c: Likewise.
17494 * time/adjtime.c: Likewise.
17495 * time/clock.c: Likewise.
17496 * time/getitimer.c: Likewise.
17497 * time/gettimeofday.c: Likewise.
17498 * time/setitimer.c: Likewise.
17499 * time/settimeofday.c: Likewise.
17500 * time/stime.c: Likewise.
17501 * time/time.c: Likewise.
17502
175032012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 17504
a20492cf
PT
17505 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
17506 /usr/old/bin.
17507
72e182e3
PT
17508 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
17509 instead of spaces.
17510 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
17511
fbeafede
JM
175122012-11-03 Joseph Myers <joseph@codesourcery.com>
17513
5b5b04d6
JM
17514 [BZ #14796]
17515 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
17516 FE_TONEAREST before applying Dekker multiplication and Knuth
17517 addition. Clear inexact exceptions and check for exact zero
17518 results afterwards.
17519 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17520 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17521 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17522 * math/libm-test.inc (fma_test): Add more tests.
17523 (fma_test_towardzero): Likewise.
17524 (fma_test_downward): Likewise.
17525 (fma_test_upward): Likewise.
17526 * sysdeps/generic/math_private.h (default_libc_fesetround): New
17527 function.
17528 (libc_fesetround): New macro.
17529 (libc_fesetroundf): Likewise.
17530 (libc_fesetroundl): Likewise.
17531 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
17532 function.
17533 (libc_fesetround_387): Likewise.
17534 (libc_fesetroundf): New macro.
17535 (libc_fesetround): Likewise.
17536 (libc_fesetroundl): Likewise.
17537 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
17538 function.
17539 (libc_fesetroundf): New macro.
17540 (libc_fesetround): Likewise.
17541 (libc_fesetroundl): Likewise.
17542 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
17543 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
17544 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
17545 libm_hidden_ver.
17546 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
17547 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
17548 libm_hidden_def.
17549 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
17550 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
17551 libm_hidden_ver.
17552 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
17553 libm_hidden_def.
17554
fbeafede
JM
17555 [BZ #3439]
17556 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
17557 integer constant usable in #if and use that to give value to enum
17558 constant.
17559 (FE_DIVBYZERO): Likewise.
17560 (FE_UNDERFLOW): Likewise.
17561 (FE_OVERFLOW): Likewise.
17562 (FE_INVALID): Likewise.
17563 (FE_INVALID_SNAN): Likewise.
17564 (FE_INVALID_ISI): Likewise.
17565 (FE_INVALID_IDI): Likewise.
17566 (FE_INVALID_ZDZ): Likewise.
17567 (FE_INVALID_IMZ): Likewise.
17568 (FE_INVALID_COMPARE): Likewise.
17569 (FE_INVALID_SOFTWARE): Likewise.
17570 (FE_INVALID_SQRT): Likewise.
17571 (FE_INVALID_INTEGER_CONVERSION): Likewise.
17572 (FE_TONEAREST): Likewise.
17573 (FE_TOWARDZERO): Likewise.
17574 (FE_UPWARD): Likewise.
17575 (FE_DOWNWARD): Likewise.
17576 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
17577 (FE_DIVBYZERO): Likewise.
17578 (FE_OVERFLOW): Likewise.
17579 (FE_UNDERFLOW): Likewise.
17580 (FE_INEXACT): Likewise.
17581 (FE_TONEAREST): Likewise.
17582 (FE_DOWNWARD): Likewise.
17583 (FE_UPWARD): Likewise.
17584 (FE_TOWARDZERO): Likewise.
17585 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
17586 (FE_UNDERFLOW): Likewise.
17587 (FE_OVERFLOW): Likewise.
17588 (FE_DIVBYZERO): Likewise.
17589 (FE_INVALID): Likewise.
17590 (FE_TONEAREST): Likewise.
17591 (FE_TOWARDZERO): Likewise.
17592 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
17593 (FE_OVERFLOW): Likewise.
17594 (FE_UNDERFLOW): Likewise.
17595 (FE_DIVBYZERO): Likewise.
17596 (FE_INEXACT): Likewise.
17597 (FE_TONEAREST): Likewise.
17598 (FE_TOWARDZERO): Likewise.
17599 (FE_UPWARD): Likewise.
17600 (FE_DOWNWARD): Likewise.
17601 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
17602 (FE_DIVBYZERO): Likewise.
17603 (FE_OVERFLOW): Likewise.
17604 (FE_UNDERFLOW): Likewise.
17605 (FE_INEXACT): Likewise.
17606 (FE_TONEAREST): Likewise.
17607 (FE_DOWNWARD): Likewise.
17608 (FE_UPWARD): Likewise.
17609 (FE_TOWARDZERO): Likewise.
17610
105ca950
CM
176112012-11-02 Chris Metcalf <cmetcalf@tilera.com>
17612
17613 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
17614
a542b389
AS
176152012-11-03 Andreas Schwab <schwab@linux-m68k.org>
17616
17617 * scripts/cross-test-ssh.sh (command): Use newlines to separate
17618 commands. Quote $PWD.
17619 (blacklist_exports): Don't use remove_newlines. Replace "declare
17620 -x" by "export".
17621 (remove_newlines): Remove.
17622
f62c8abc
L
176232012-11-02 H.J. Lu <hongjiu.lu@intel.com>
17624
17625 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
17626 * stdlib/stdlib.h (atof): Moved to ...
17627 * include/bits/stdlib-float.h: Here. New file.
17628 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
17629 * stdlib/bits/stdlib-float.h: New file.
17630 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
17631 -mno-sse -mno-mmx.
17632 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
17633 <xmmintrin.h>.
17634
0155d5b2
JM
176352012-11-02 Joseph Myers <joseph@codesourcery.com>
17636
a68d0680
JM
17637 * conform/conformtest.pl (@headers): Add fenv.h.
17638 * conform/data/fenv.h-data: New file.
17639 * include/fenv.h [_ISOMAC]: Disable all contents of file except
17640 include of <math/fenv.h>.
17641
caf7f573
JM
17642 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
17643 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
17644 && !UNIX98]. Enables tests for XOPEN2K8.
17645 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
17646 POSIX2008]: Likewise.
17647
6c073ad6
JM
17648 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
17649 (struct rusage): Do not expect type or its members.
17650
0155d5b2
JM
17651 [BZ #3439]
17652 * math/math.h (FP_NAN): Define macro to integer constant usable in
17653 #if and use that to give value to enum constant.
17654 (FP_INFINITE): Likewise.
17655 (FP_ZERO): Likewise.
17656 (FP_SUBNORMAL): Likewise.
17657 (FP_NORMAL): Likewise.
17658
b5dcacb4
AS
176592012-11-02 Andreas Schwab <schwab@linux-m68k.org>
17660
17661 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
17662 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
17663 arguments.
17664
f7934be8
RM
176652012-11-02 Roland McGrath <roland@hack.frob.com>
17666
17667 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
17668 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
17669 autoconf-time if not.
17670 * configure.in: Remove AC_PREREQ.
17671
d7d08bde
TMQMF
176722012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17673
17674 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
17675 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
17676 of the internal implementation.
17677
dcdae19a
JM
176782012-11-02 Joseph Myers <joseph@codesourcery.com>
17679
17680 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
17681 except include of <misc/sys/syslog.h>.
17682
d6cffd3e
AS
176832012-11-01 Andreas Schwab <schwab@linux-m68k.org>
17684
17685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
17686 function returns with a NULL context exit with zero.
17687
b3563932
TMQMF
176882012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17689
17690 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
17691
b288a93d
L
176922012-11-01 H.J. Lu <hongjiu.lu@intel.com>
17693
17694 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
17695 (run_program_cmd): This.
17696 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
17697 (tst_langinfo): New variable. Use it.
17698
a2421a68
SAS
176992012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
17700
17701 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
17702 floating point opcodes.
17703
6f796e1b
TS
177042012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17705
7402596b
TS
17706 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
17707 variable.
17708
d0d4f868
TS
17709 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
17710
6f796e1b
TS
17711 * sysdeps/mach/hurd/powerpc: Remove directory.
17712 * sysdeps/mach/powerpc: Likewise.
17713
4da224a2
AS
177142012-11-01 Andreas Schwab <schwab@linux-m68k.org>
17715
17716 * scripts/check-local-headers.sh: Ignore c++ headers.
17717
341dd673
TS
177182012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17719
17720 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
17721 __libc_cleanup_region_start argument.
17722
473611b2
JM
177232012-11-01 Joseph Myers <joseph@codesourcery.com>
17724
17725 [BZ #14784]
17726 [BZ #14785]
17727 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
17728 x * y using scaling, not as x * y + z.
17729 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17730 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17731 * math/libm-test.inc (fma_test): Add more tests.
17732 (fma_test_towardzero): Likewise.
17733 (fma_test_downward): Likewise.
17734 (fma_test_upward): Likewise.
17735
4078da3d
TS
177362012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17737
17738 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
17739
903252aa
JM
177402012-10-31 Joseph Myers <joseph@codesourcery.com>
17741
17742 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
17743 New variable.
17744
cbc818d0
TS
177452012-10-31 Thomas Schwinge <thomas@codesourcery.com>
17746
17747 * rt/tst-shm.c (worker): Correct checking for mmap failure.
17748
5a03cb1e
AS
177492012-10-31 Andreas Schwab <schwab@linux-m68k.org>
17750
17751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17752 Fix sort order.
17753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17754 Likewise.
17755
90aff2ff
TMQMF
177562012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17757
17758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17759 Fix the order of the list for glibc 2.17.
17760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17761 Likewise.
17762
1818fcb7
AS
177632012-10-31 Andreas Schwab <schwab@linux-m68k.org>
17764
17765 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17766
ef82f4da
JM
177672012-10-31 Joseph Myers <joseph@codesourcery.com>
17768
16a0e2ec
JM
17769 [BZ #14610]
17770 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
17771 for low part of x being zero before using __atanl (y).
17772 * math/libm-test.inc (atan2_test): Add another test.
17773
0eb69512
JM
17774 * manual/install.texi (Configuring and compiling): Document
17775 general use of test-wrapper and test-wrapper-env.
17776 * INSTALL: Regenerated.
17777
ef82f4da
JM
17778 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
17779 (__fma): 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-128/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 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
17787 (__fmal): Do not extract and scale down low bits on after-rounding
17788 systems when result rounded to normal precision would have normal
17789 exponent.
17790 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
17791 macro.
17792 (fma_test): Add more tests.
17793 (fma_test_towardzero): Likewise.
17794 (fma_test_downward): Likewise.
17795 (fma_test_upward): Likewise.
17796
954ef0d9
L
177972012-10-30 H.J. Lu <hongjiu.lu@intel.com>
17798
17799 * sysdeps/i386/tininess.h: Renamed to ...
17800 * sysdeps/x86/tininess.h: This.
17801 * sysdeps/x86_64/tininess.h: Removed.
17802
df61ffb2
JM
178032012-10-30 Joseph Myers <joseph@codesourcery.com>
17804
17805 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
17806 input. Use $(build-program-cmd).
17807 ($(objpfx)tst-array1-static.out): Likewise.
17808 ($(objpfx)tst-array2.out): Likewise.
17809 ($(objpfx)tst-array3.out): Likewise.
17810 ($(objpfx)tst-array4.out): Likewise.
17811 ($(objpfx)tst-array5.out): Likewise.
17812 ($(objpfx)tst-array5-static.out): Likewise.
17813
01767843
CM
178142012-10-30 Chris Metcalf <cmetcalf@tilera.com>
17815
47cc1490
CM
17816 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
17817 if defined.
17818
01767843
CM
17819 * nss/nsswitch.h (nss_interface_function): Provide new
17820 macro for use with NSS functions.
17821 * grp/initgroups.c: Use new macro.
17822 * nss/getXXbyYY.c: Likewise.
17823 * nss/getXXbyYY_r.c: Likewise.
17824 * nss/getXXent.c: Likewise.
17825 * nss/getXXent_r.c: Likewise.
17826 * sysdeps/posix/getaddrinfo.c: Likewise.
17827
8321aa97
AJ
178282012-10-30 Andreas Jaeger <aj@suse.de>
17829
17830 * po/ru.po: Update Russion translation from translation project.
17831
2a27fd6d
JM
178322012-10-30 Joseph Myers <joseph@codesourcery.com>
17833
8627a232
JM
17834 [BZ #14152]
17835 [BZ #14783]
17836 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
17837 result and shift together with sticky bit instead of replicating
17838 round-to-nearest rounding.
17839 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17840 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17841 * math/libm-test.inc (fma_test): Add more tests. Do not permit
17842 missing underflow exceptions.
17843 (fma_test_towardzero): Add more tests.
17844 (fma_test_downward): Likewise.
17845 (fma_test_upward): Likewise.
17846
2a27fd6d
JM
17847 [BZ #14047]
17848 * sysdeps/generic/tininess.h: New file.
17849 * sysdeps/i386/tininess.h: Likewise.
17850 * sysdeps/sh/tininess.h: Likewise.
17851 * sysdeps/x86_64/tininess.h: Likewise.
17852 * stdlib/tst-strtod-underflow.c: Likewise.
17853 * stdlib/tst-tininess.c: Likewise.
17854 * stdlib/strtod_l.c: Include <tininess.h>.
17855 (round_and_return): Do not set errno for exact underflow cases.
17856 Force an underflow exception when setting errno for underflow.
17857 Determine underflow based on rounding to normal precision if
17858 TININESS_AFTER_ROUNDING.
17859 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
17860 ERANGE for exact underflow cases.
17861 * stdlib/Makefile (tests): Add tst-tininess and
17862 tst-strtod-underflow.
17863 ($(objpfx)tst-tininess): Use $(link-libm).
17864 ($(objpfx)tst-strtod-underflow): Likewise.
17865
e7170363
AJ
178662012-10-30 Andreas Jaeger <aj@suse.de>
17867
e5088dc6
AJ
17868 [BZ#14767]
17869 * elf/Makefile (tests): Remove conditional for have-initfini-array
17870 since this is now always required and the variable does not exist
17871 anymore.
17872 (tests-static): Likewise.
17873 (modules-names): Likewise.
17874
e7170363 17875 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
17876
17877 * elf/tst-array1.c (fini_array): Make writeable so that it can be
17878 merged with constructor/destructor.
17879 (init_array): Likewise.
17880 * elf/tst-array2dep.c (fini_array): Likewise.
17881 (init_array): Likewise.
17882
60457d8a
MF
178832012-10-29 Mike Frysinger <vapier@gentoo.org>
17884
17885 * manual/message.texi: Delete @cartouche tags.
17886
8bece752
PT
178872012-10-29 Pino Toscano <toscano.pino@tiscali.it>
17888
94ce799f
PT
17889 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
17890 EOPNOTSUPP.
17891 * sysdeps/mach/hurd/fsync.c: Likewise.
17892
8bece752
PT
17893 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
17894 [_POSIX_REALTIME_SIGNALS]: Change condition to
17895 [_POSIX_REALTIME_SIGNALS > 0].
17896
86ebe6b1
AJ
178972012-10-27 Andreas Jaeger <aj@suse.de>
17898
17899 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
17900 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
17901 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
17902 [__WORDSIZE != 64]: Likewise.
17903
54399c08
L
179042012-10-26 H.J. Lu <hongjiu.lu@intel.com>
17905
17906 * iconvdata/tst-table.sh: Remove ${SHELL}.
17907 * iconvdata/tst-tables.sh: Likewise.
17908
e2211bed
DM
179092012-10-25 David S. Miller <davem@davemloft.net>
17910
17911 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17912 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
17913 of strtoull.
17914
f303f97c
DM
17915 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
17916 ifunc-impl-list.c
17917 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17918 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
17919 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
17920 file.
17921
1e9d84cd
RM
179222012-10-25 Roland McGrath <roland@hack.frob.com>
17923
17924 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17925 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
17926 __getdirentries.
17927
df381762
JM
179282012-10-25 Joseph Myers <joseph@codesourcery.com>
17929 Jim Blandy <jimb@codesourcery.com>
17930
17931 * scripts/cross-test-ssh.sh: New file.
17932 * manual/install.texi (Configuring and compiling): Document use of
17933 cross-test-ssh.sh.
17934 * INSTALL: Regenerated.
17935
bff64913
PT
179362012-10-25 Pino Toscano <toscano.pino@tiscali.it>
17937
17938 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
17939 EOPNOTSUPP.
17940
25fe8932
JM
179412012-10-25 Joseph Myers <joseph@codesourcery.com>
17942
17943 * Makeconfig (run-program-prefix): Fix comment.
17944
cc1290d0
JM
179452012-10-24 Joseph Myers <joseph@codesourcery.com>
17946 Jim Blandy <jimb@codesourcery.com>
17947
17948 * Makeconfig (test-wrapper): New variable,
17949 (test-wrapper-env): Likewise.
17950 [$(cross-compiling) = yes && $(test-wrapper) != ""]
17951 (run-built-tests): Define to yes.
17952 (run-program-prefix): Use $(test-wrapper).
17953 (built-program-cmd): Likewise.
17954 * Rules (make-test-out): Use $(test-wrapper-env) and
17955 $(host-built-program-cmd).
17956 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
17957 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
17958 tst-pathopt.sh.
17959 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
17960 $(test-wrapper-env) to tst-rtld-load-self.sh.
17961 ($(objpfx)order2.out): Use $(test-wrapper).
17962 ($(objpfx)tst-initorder.out): Likewise.
17963 ($(objpfx)tst-initorder2.out): Likewise.
17964 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
17965 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
17966 (test_wrapper_env): New variable. Use it to run ld.so.
17967 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
17968 Use it to run ld.so.
17969 (test_wrapper_env): Likewise.
17970 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
17971 $(test-wrapper) to run-iconv-test.sh.
17972 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
17973 (ICONV): Use $test_wrapper.
17974 * posix/Makefile ($(objpfx)globtest.out): Pass
17975 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
17976 globtest.sh, not $(run-program-prefix).
17977 * posix/globtest.sh (run_via_rtld_prefix): New variable.
17978 (test_wrapper): Likewise.
17979 (test_wrapper_env): Likewise. Use it to run globtest with HOME
17980 set together with run_via_rtld_prefix.
17981 (run_program_prefix): Define in terms of test_wrapper and
17982 run_via_rtld_prefix.
17983
6e6249d0
RM
179842012-10-24 Roland McGrath <roland@hack.frob.com>
17985
17986 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
17987 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
17988 Targets removed.
17989
17990 [BZ #14743]
17991 * include/time.h: Remove librt_hidden_proto (clock_gettime).
17992 Declare __clock_getres, __clock_gettime, __clock_settime,
17993 __clock_nanosleep, and __clock_getcpuclockid.
17994 * rt/clock_gettime.c: Define __clock_gettime as an alias.
17995 Remove librt_hidden_def (clock_gettime).
17996 * sysdeps/unix/clock_gettime.c: Likewise.
17997 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
17998 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
17999 * rt/clock_getres.c: Define __clock_getres as an alias.
18000 * sysdeps/posix/clock_getres.c: Likewise.
18001 * rt/clock_settime.c: Define __clock_settime as an alias.
18002 * sysdeps/unix/clock_settime.c: Likewise.
18003 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
18004 * sysdeps/unix/clock_nanosleep.c: Likewise.
18005 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
18006 * rt/clock-compat.c: New file.
18007 * rt/Makefile (librt-routines): Add clock-compat and move
18008 $(clock-routines) to ...
18009 (routines): ... here, new variable.
18010 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
18011 Don't add get_clockfreq here.
18012 * rt/Versions (libc: GLIBC_2.17): New version set.
18013 Add clock_* symbols here.
18014 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
18015 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
18016 (GLIBC_2.17): Add clock_* symbols.
18017 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
18018 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
18019 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
18020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18021 Likewise.
18022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18023 Likewise.
18024 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
18025 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
18026 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
18027 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
18028 * NEWS: Mention the move.
18029
18030 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
18031 Use __open, __read, __close rather than their public counterparts.
18032 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18033 (__get_clockfreq_via_cpuinfo): Likewise.
18034 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
18035 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
18036
18037 * config.h.in (HAVE_IFUNC): New #undef.
18038 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
18039 was successful.
18040 * configure: Regenerated.
18041
0cae3f4b
MF
180422012-10-24 Mike Frysinger <vapier@gentoo.org>
18043
18044 * configure.in: Move READELF check to start of file.
18045 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
18046 libc_cv_asm_gnu_indirect_function in the process.
18047 * configure: Regenerated.
18048
8175a253
MF
180492012-10-24 Mike Frysinger <vapier@gentoo.org>
18050
18051 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
18052 send the output to /dev/null.
18053 (libc_cv_cc_with_libunwind): Likewise.
18054 (libc_cv_as_noexecstack): Likewise.
18055 * configure: Regenerate.
18056
0708a7d1
JM
180572012-10-24 Joseph Myers <joseph@codesourcery.com>
18058
10b40d85
JM
18059 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
18060
0708a7d1
JM
18061 * posix/globtest.sh (TMPDIR): Do not set.
18062 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
18063 (testout): Likewise.
18064
9fddec1a
AJ
180652012-10-24 Andreas Jaeger <aj@suse.de>
18066
3a8db22f
AJ
18067 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
18068 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
18069 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
18070 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
18071 posix_fadvise64, posix_fallocate64.
18072
9fddec1a
AJ
18073 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
18074 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
18075 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
18076 Likewise.
18077 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
18078 Likewise.
18079 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
18080
18081 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
18082 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
18083 <bits/fcntl-linux.h>.
18084 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
18085
18086 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
18087 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
18088 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
18089 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
18090 [__WORDSIZE != 64]: Likewise.
18091
ebfd1bbd
JM
180922012-10-23 Joseph Myers <joseph@codesourcery.com>
18093
03ac099f
JM
18094 * Makeconfig (run-built-tests): New variable.
18095 * Rules [$(cross-compiling) = yes]: Change condition to
18096 [$(run-built-tests) = no].
18097 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
18098 to [$(run-built-tests) = yes].
18099 * elf/Makefile [$(cross-compiling) = no]: Likewise
18100 * grp/Makefile [$(cross-compiling) = no]: Likewise.
18101 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
18102 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
18103 * intl/Makefile [$(cross-compiling) = no]: Likewise.
18104 * io/Makefile [$(cross-compiling) = no]: Likewise.
18105 * libio/Makefile [$(cross-compiling) = no]: Likewise.
18106 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
18107 * misc/Makefile [$(cross-compiling) = no]: Likewise.
18108 * posix/Makefile [$(cross-compiling) = no]: Likewise.
18109 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
18110 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
18111 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
18112 * string/Makefile [$(cross-compiling) = no]: Likewise.
18113
ebfd1bbd
JM
18114 * posix/Makefile ($(objpfx)globtest.out): Pass
18115 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
18116 $(rtld-installed-name).
18117 * posix/globtest.sh (elf_objpfx): Remove variable.
18118 (rtld_installed_name): Likewise.
18119 (library_path): Likewise.
18120 (run_program_prefix): New variable. Use for running globtest
18121 binary.
18122
166bca24
JB
181232012-10-23 Jim Blandy <jimb@codesourcery.com>
18124 Joseph Myers <joseph@codesourcery.com>
18125
18126 * Makeconfig (host-built-program-cmd): New variable.
18127 * elf/Makefile (tst-stackguard1-ARGS): Use
18128 $(host-built-program-cmd).
18129 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
18130 (tst-spawn-ARGS): Likewise.
18131 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
18132
88866099
JM
181332012-10-23 Joseph Myers <joseph@codesourcery.com>
18134 Jim Blandy <jimb@codesourcery.com>
18135
18136 * Makeconfig (run-via-rtld-prefix): New variable.
18137 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
18138 (built-program-cmd): Likewise.
18139
b4b4c296
AJ
181402012-10-22 Andreas Jaeger <aj@suse.de>
18141
18142 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
18143 __O_RSYNC if it exists, otherwise to O_SYNC.
18144
6fb54a22
JB
181452012-10-22 Jim Blandy <jimb@codesourcery.com>
18146 Joseph Myers <joseph@codesourcery.com>
18147
18148 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
18149 /dev/null.
18150 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
18151 from /dev/null
18152 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
18153 /dev/null.
18154
481b90b9
AJ
181552012-10-22 Andreas Jaeger <aj@suse.de>
18156
2a0e2669
AJ
18157 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
18158 Define always.
18159 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
18160
76e38f9a
AJ
18161 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18162 bits/fcntl-linux.h.
18163
7cd37b43
AJ
18164 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
18165 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
18166
481b90b9
AJ
18167 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
18168 to __O_LARGEFILE.
18169 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
18170 to __O_LARGEFILE.
18171
aba75984
JB
181722012-10-21 Jim Blandy <jimb@codesourcery.com>
18173 Joseph Myers <joseph@codesourcery.com>
18174
18175 * config.make.in (NM): New variable.
18176
88d4247f
AJ
181772012-10-21 Andreas Jaeger <aj@suse.de>
18178
18179 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
18180 definitions and declarations that are provided by
18181 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
18182
f2eed205
L
181832012-10-20 H.J. Lu <hongjiu.lu@intel.com>
18184
18185 [BZ #14683]
18186 * elf/Makefile (tests-static): Add tst-leaks1-static.
18187 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
18188 ($(objpfx)tst-leaks1-static): New rule.
18189 ($(objpfx)tst-leaks1-static-mem): Likewise.
18190 (tst-leaks1-static-ENV): New macro.
18191 * elf/dl-open.c (dl_open_worker): Check the main application
18192 only if SHARED is defined.
18193 * elf/tst-leaks1-static.c: New file.
18194
335e6931
AJ
181952012-10-20 Andreas Jaeger <aj@suse.de>
18196
18197 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
18198 generic values for Linux.
18199 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
18200 and declarations that are provided by <bits/fcntl-linux.h> and
18201 include <bits/fcntl-linux.h>.
18202 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18203 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18204
ac5c94d3
RM
182052012-10-20 Roland McGrath <roland@hack.frob.com>
18206
18207 * io/fcntl.h: Move include of <bits/types.h> to the top and
18208 include it unconditionally.
18209
de54b33a
L
182102012-10-20 H.J. Lu <hongjiu.lu@intel.com>
18211
228cfb01
L
18212 * wcsmbs/Makefile (tests-ifunc): New variable.
18213 (tests): Add $(tests-ifunc).
18214 * wcsmbs/test-wcschr-ifunc.c: New file.
18215 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
18216 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
18217 * wcsmbs/test-wcslen-ifunc.c: Likewise.
18218 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
18219 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
18220
69f07e5f
L
18221 * string/Makefile (tests-ifunc): New variable.
18222 (tests): Add $(tests-ifunc).
18223 * string/test-memccpy.c (TEST_NAME): New macro.
18224 * string/test-memchr.c (TEST_NAME): Likewise.
18225 * string/test-memcmp.c (TEST_NAME): Likewise.
18226 * string/test-memcpy.c (TEST_NAME): Likewise.
18227 * string/test-memmem.c (TEST_NAME): Likewise.
18228 * string/test-memmove.c (TEST_NAME): Likewise.
18229 * string/test-memset.c (TEST_NAME): Likewise.
18230 * string/test-rawmemchr.c (TEST_NAME): Likewise.
18231 * string/test-stpcpy.c (TEST_NAME): Likewise.
18232 * string/test-stpncpy.c (TEST_NAME): Likewise.
18233 * string/test-strcasecmp.c (TEST_NAME): Likewise.
18234 * string/test-strcasestr.c (TEST_NAME): Likewise.
18235 * string/test-strcat.c (TEST_NAME): Likewise.
18236 * string/test-strchr.c (TEST_NAME): Likewise.
18237 * string/test-strcmp.c(TEST_NAME): Likewise.
18238 * string/test-strcpy.c (TEST_NAME): Likewise.
18239 * string/test-strcspn.c (TEST_NAME): Likewise.
18240 * string/test-strlen.c (TEST_NAME): Likewise.
18241 * string/test-strncasecmp.c (TEST_NAME): Likewise.
18242 * string/test-strncmp.c (TEST_NAME): Likewise.
18243 * string/test-strncpy.c (TEST_NAME): Likewise.
18244 * string/test-strnlen.c (TEST_NAME): Likewise.
18245 * string/test-strpbrk.c (TEST_NAME): Likewise.
18246 * string/test-strrchr.c (TEST_NAME): Likewise.
18247 * string/test-strspn.c (TEST_NAME): Likewise.
18248 * string/test-strstr.c (TEST_NAME): Likewise.
18249 * string/test-bcopy-ifunc.c: New file.
18250 * string/test-bzero-ifunc.c: Likewise.
18251 * string/test-memccpy-ifunc.c: Likewise.
18252 * string/test-memchr-ifunc.c: Likewise.
18253 * string/test-memcmp-ifunc.c: Likewise.
18254 * string/test-memcpy-ifunc.c: Likewise.
18255 * string/test-memmem-ifunc.c: Likewise.
18256 * string/test-memmove-ifunc.c: Likewise.
18257 * string/test-mempcpy-ifunc.c: Likewise.
18258 * string/test-memset-ifunc.c: Likewise.
18259 * string/test-rawmemchr-ifunc.c: Likewise.
18260 * string/test-stpcpy-ifunc.c: Likewise.
18261 * string/test-stpncpy-ifunc.c: Likewise.
18262 * string/test-strcasecmp-ifunc.c: Likewise.
18263 * string/test-strcasestr-ifunc.c: Likewise.
18264 * string/test-strcat-ifunc.c: Likewise.
18265 * string/test-strchr-ifunc.c: Likewise.
18266 * string/test-strchrnul-ifunc.c: Likewise.
18267 * string/test-strcmp-ifunc.c: Likewise.
18268 * string/test-strcpy-ifunc.c: Likewise.
18269 * string/test-strcspn-ifunc.c: Likewise.
18270 * string/test-strlen-ifunc.c: Likewise.
18271 * string/test-strncasecmp-ifunc.c: Likewise.
18272 * string/test-strncat-ifunc.c: Likewise.
18273 * string/test-strncmp-ifunc.c: Likewise.
18274 * string/test-strncpy-ifunc.c: Likewise.
18275 * string/test-strnlen-ifunc.c: Likewise.
18276 * string/test-strpbrk-ifunc.c: Likewise.
18277 * string/test-strrchr-ifunc.c: Likewise.
18278 * string/test-strspn-ifunc.c: Likewise.
18279 * string/test-strstr-ifunc.c: Likewise.
18280
de54b33a
L
18281 * debug/Makefile (tests-ifunc): New variable.
18282 (tests): Add $(tests-ifunc).
18283 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
18284 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
18285 * debug/test-stpcpy_chk-ifunc.c: New file.
18286 * debug/test-strcpy_chk-ifunc.c: Likewise.
18287
88481c16
SP
182882012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18289
18290 [BZ #13601]
18291 * elf/dl-load.c (open_verify): Retry read if the entire ELF
18292 header is not read in.
18293
135948bd
JM
182942012-10-19 Joseph Myers <joseph@codesourcery.com>
18295
89f1c388
JM
18296 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
18297 script to $(SHELL) as $<. Pass $(common-objpfx) to script
18298 directly. Pass built executable to script as
18299 $(built-program-cmd).
18300 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
18301 $testprogram without using LD_LIBRARY_PATH and $ldso.
18302
e40a0d21
JM
18303 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
18304 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
18305 $(rtld-installed-name).
18306 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
18307 (rtld_installed_name): Likewise.
18308 (library_path): Likewise.
18309 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
18310 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
18311 $(run-program-prefix) to tst-tables.sh.
18312 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
18313 it to run tst-table-from and tst-table-to.
18314 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
18315 Pass it to tst-table.sh.
18316 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
18317 $(run-program-prefix) to tst-gettext.sh.
18318 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
18319 tst-translit.sh.
18320 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
18321 tst-gettext2.sh.
18322 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
18323 to run tst-gettext.
18324 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
18325 to run tst-gettext2.
18326 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
18327 to run tst-translit.
18328 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
18329 $(run-program-prefix) to tst-mtrace.sh.
18330 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
18331 to run tst-mtrace.
18332 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
18333 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
18334 $(rtld-installed-name).
18335 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
18336 (rtld_installed_name): Likewise.
18337 (run_program_prefix): New variable. Use it to run wordexp-test.
18338
728e272a
JM
18339 * Makeconfig (ARCH): Remove all definitions.
18340 (machine): Likewise.
18341 [ARCH]: Remove conditional code.
18342 [!objdir]: Give error.
18343 [!objdir] (objpfx): Remove.
18344 [!objdir] (common-objpfx): Likewise.
18345 [!objdir] (common-objdir): Likewise.
18346 * configure.in (config_makefile): Remove. Hardcode Makefile in
18347 AC_CONFIG_FILES call.
18348 * configure: Regenerated.
18349
d528cdcf
JM
18350 [BZ #13888]
18351 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
18352 or TMPDIR.
18353 (testout): Likewise.
18354
135948bd
JM
18355 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
18356 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
18357 $(rtld-installed-name).
18358 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
18359 (rtld_installed_name): Likwise.
18360 (runit): Remove function.
18361 (run_getconf): New variable, Use it for running getconf binary.
18362
38c78296
L
183632012-10-18 H.J. Lu <hongjiu.lu@intel.com>
18364
18365 [BZ #14716]
18366 * string/test-memmem.c (check_result): New function.
18367 (do_one_test): Use it.
18368 (check1): New function.
18369 (test_main): Use it.
18370
d077f65f
MT
183712012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
18372
18373 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
18374
ced52c71
JM
183752012-10-18 Joseph Myers <joseph@codesourcery.com>
18376
18377 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
18378 (_G_LSEEK64): Likewise.
18379 (_G_MMAP64): Likewise.
18380 (_G_FSTAT64): Likewise.
18381 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
18382 (_G_LSEEK64): Likewise.
18383 (_G_MMAP64): Likewise.
18384 (_G_FSTAT64): Likewise.
18385 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
18386 unconditional. Call __mmap64 directly.
18387 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
18388 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
18389 __lseek64 directly.
18390 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
18391 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
18392 __mmap64 directly.
18393 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
18394 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
18395 __lseek64 directly.
18396 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
18397 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
18398 __lseek64 directly.
18399 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
18400 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
18401 __lseek64 directly.
18402 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
18403 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
18404 __fxstat64 directly.
18405 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
18406 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
18407 unconditional.
18408 (freopen64) [!_G_OPEN64]: Remove conditional code.
18409 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
18410 unconditional.
18411 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
18412 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
18413 unconditional.
18414 (ftello64) [!_G_LSEEK64]: Remove conditional code.
18415 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
18416 unconditional.
18417 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
18418 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
18419 unconditional.
18420 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
18421 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
18422 unconditional.
18423 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
18424 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
18425 unconditional.
18426 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
18427 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
18428 unconditional.
18429 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
18430
b741de23
SP
184312012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18432
18433 [BZ #12140]
18434 * manual/memory.texi (Malloc Tunable Parameters): Add note
18435 about free list pointers overwriting some perturb bytes.
18436 Wording suggested by Roland McGrath.
18437
f9b9d9c9
JM
184382012-10-17 Joseph Myers <joseph@codesourcery.com>
18439
18440 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
18441 (lgamma_test): Likewise.
18442 (tgamma_test): Likewise.
18443
172a631a
FW
184442012-10-16 Florian Weimer <fweimer@redhat.com>
18445
18446 [BZ #14700]
18447 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
18448 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
18449
e9f37252
MK
184502012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
18451
18452 * NEWS: Mention BZ #14716.
18453 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
18454 when removing AVAILABLE1_USES_J macro.
18455
d394eb74
L
184562012-10-12 H.J. Lu <hongjiu.lu@intel.com>
18457
18458 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
18459 (__bswap_64): __uint64_t for unsigned 64-bit int.
18460
ca38dc17
AS
184612012-10-12 Andreas Schwab <schwab@linux-m68k.org>
18462
18463 * include/string.h (memmem): Declare libc hidden alias.
18464 * string/memmem.c (memmem): Define libc hidden alias.
18465 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
18466 __read, __close instead of open, read, close.
18467
9a387d1f
L
184682012-10-11 H.J. Lu <hongjiu.lu@intel.com>
18469
ac49ecaf
L
18470 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
18471 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
18472 global and hidden.
18473 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
18474 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
18475 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
18476 Likewise.
18477 (__rawmemchr_sse2): Likewise.
18478 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
18479 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
18480 (__strchr_sse2): Likewise.
18481 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
18482 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
18483 (__strcasecmp_sse2): Likewise.
18484 (__strncasecmp_sse2): Likewise.
18485 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
18486 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
18487 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
18488 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
18489 (__strrchr_sse2): Likewise.
18490 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
18491 ifunc-impl-list.c.
18492 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
18493 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
18494 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
18495 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18496 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
18497 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
18498 * sysdeps/x86_64/multiarch/memset.S: Likewise.
18499 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18500 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
18501 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
18502 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
18503 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
18504 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
18505 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
18506 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
18507 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18508 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
18509 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
18510 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
18511 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
18512 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
18513 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
18514 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
18515 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
18516 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
18517 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18518 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
18519 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
18520 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
18521 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
18522
b090e8ea
L
18523 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
18524 global and hidden.
18525 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
18526 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
18527 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
18528 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
18529 Likewise.
18530 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
18531 Likewise.
18532 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
18533 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
18534 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
18535 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
18536 ifunc-impl-list.c.
18537 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18538 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18539 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18540 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18541 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18542 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18543 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18544 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18545 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18546 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18547 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18548 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18549 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18550 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
18551 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
18552 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18553 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
18554 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
18555 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18556 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18557 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18558 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18559 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18560 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18561 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18562 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
18563 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
18564 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
18565 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
18566 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18567 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
18568 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18569 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18570 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
18571 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18572 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18573 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18574 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18575 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18576 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18577 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
18578
11dd4af6
L
18579 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
18580 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
18581 * include/ifunc-impl-list.h: New file.
18582 * misc/ifunc-impl-list.c: Likewise.
18583 * misc/Makefile (routines): Add ifunc-impl-list.
18584 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
18585 * string/test-string.h: Include <ifunc-impl-list.h>.
18586 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
18587 impl_array): New variables.
18588 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
18589 are defined.
18590 (test_init): Call __libc_ifunc_impl_list to initialize
18591 func_list if TEST_IFUNC and TEST_NAME are defined.
18592
9a387d1f
L
18593 * string/Makefile (strop-tests): Add bcopy and bzero.
18594 * string/test-bcopy.c: New file.
18595 * string/test-bzero.c: Likewise.
18596 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
18597 defined.
18598 * string/test-memset.c: Support bzero test if TEST_BZERO is
18599 defined.
18600 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
18601 __libc_memmove.
18602 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
18603 __libc_memset.
18604 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
18605 of memset.
18606
472371b9
JM
186072012-10-10 Joseph Myers <joseph@codesourcery.com>
18608
1e4a9536
JM
18609 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
18610 * configure: Regenerated.
18611
d173d12e
JM
18612 * Makeconfig (+link-static-before-libc): Don't include
18613 $(link-static-libc).
18614
472371b9
JM
18615 * libio/libio.h (_IO_pos_t): Remove.
18616
89a3ad0b
AO
186172012-10-10 Alexandre Oliva <aoliva@redhat.com>
18618
18619 * NEWS: Add note about FIPS mode. Wording suggested by Roland
18620 McGrath.
18621
e7451425
AO
186222012-10-10 Alexandre Oliva <aoliva@redhat.com>
18623
18624 * crypt/crypt-entry.c: Include fips-private.h.
18625 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
18626 * crypt/md5c-test.c (main): Tolerate disabled MD5.
18627 * sysdeps/unix/sysv/linux/fips-private.h: New file.
18628 * sysdeps/generic/fips-private.h: New file, dummy fallback.
18629
4ba74a35
AO
186302012-10-10 Alexandre Oliva <aoliva@redhat.com>
18631
18632 * crypt/crypt-private.h: Include stdbool.h.
18633 (_ufc_setup_salt_r): Return bool.
18634 * crypt/crypt-entry.c: Include errno.h.
18635 (__crypt_r): Return NULL with EINVAL for bad salt.
18636 * crypt/crypt_util.c (bad_for_salt): New.
18637 (_ufc_setup_salt_r): Check that salt is long enough and within
18638 the specified alphabet.
18639 * crypt/badsalttest.c: New file.
18640 * crypt/Makefile (tests): Add it.
18641 ($(objpfx)badsalttest): New.
18642
f96f1242
MK
186432012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
18644
18645 * NEWS: Add entry for BZ #14602.
18646
0e8e0c1c
JM
186472012-10-09 Joseph Myers <joseph@codesourcery.com>
18648
18649 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
18650 type-generic.
18651 * math/libm-test.inc: Update comment listing what functions and
18652 macros are tested.
18653 (isgreater_test): New function.
18654 (isgreaterequal_test): Likewise.
18655 (isless_test): Likewise.
18656 (islessequal_test): Likewise.
18657 (islessgreater_test): Likewise.
18658 (isunordered_test): Likewise.
18659 (main): Call the new functions.
18660
273edc5e
RM
186612012-10-09 Roland McGrath <roland@hack.frob.com>
18662
b8493de0
RM
18663 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
18664 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
18665 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
18666 * sysdeps/i386/configure: Regenerated.
18667 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
18668 * sysdeps/mach/configure: Regenerated.
18669 * sysdeps/mach/hurd/configure: Regenerated.
18670 * sysdeps/powerpc/configure: Regenerated.
18671 * sysdeps/powerpc/powerpc32/configure: Regenerated.
18672 * sysdeps/powerpc/powerpc64/configure: Regenerated.
18673 * sysdeps/s390/s390-32/configure: Regenerated.
18674 * sysdeps/s390/s390-64/configure: Regenerated.
18675 * sysdeps/sh/configure: Regenerated.
18676 * sysdeps/sparc/configure: Regenerated.
18677 * sysdeps/unix/sysv/linux/configure: Regenerated.
18678 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
18679 * sysdeps/x86_64/configure: Regenerated.
18680
273edc5e
RM
18681 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
18682 defined. Don't check if MAP is NULL.
18683
c8450f70
JM
186842012-10-09 Joseph Myers <joseph@codesourcery.com>
18685
18686 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
18687 (_G_stat64): Likewise.
18688 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
18689 (_G_stat64): Likewise.
18690 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
18691 instead of struct _G_stat64.
18692 * libio/fileops.c (mmap_remap_check): Likewise.
18693 (decide_maybe_mmap): Likewise.
18694 (_IO_new_file_seekoff): Likewise.
18695 (_IO_file_stat): Likewise.
18696 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
18697 _G_off64_t.
18698 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
18699 instead of struct _G_stat64.
18700 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18701
57e605ba
MK
187022012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
18703
18704 [BZ #14602]
18705 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18706 Replace with ...
18707 (CHECK_EOL): New macro.
18708 (two_way_short_needle): Check beginning of haystack for EOL. Use
18709 CHECK_EOL.
18710 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18711 Replace with CHECK_EOL.
18712 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18713 Replace with CHECK_EOL.
18714
ef1bb361
JM
187152012-10-08 Joseph Myers <joseph@codesourcery.com>
18716
18717 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
18718 type-generic.
18719 * math/libm-test.inc: Update comment listing what functions and
18720 macros are tested.
18721 (finite_test): New function.
18722 (isinf_test): Likewise.
18723 (isnan_test): Likewise.
18724 (fpclassify_test): Test subnormal input.
18725 (isfinite_test): Likewise.
18726 (isnormal_test): Likewise.
18727 (main): Call the new functions.
18728
55f11534
JN
187292012-10-08 Jonathan Nieder <jrnieder@gmail.com>
18730
18731 [BZ #14660]
18732 * Makerules (%.dynsym): Force C locale when running
18733 $(OBJDUMP) --dynamic-syms.
18734
1ab29350
AS
187352012-10-08 Andreas Schwab <schwab@linux-m68k.org>
18736
18737 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
18738 <stdint.h>.
18739
f1ecb7ef
DM
187402012-10-06 David S. Miller <davem@davemloft.net>
18741
18742 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
18743 upper 32-bits of the length value in %o2 since we use branch-on-register
18744 tests which consider the entire 64-bit register.
18745
5d41d91a
L
187462012-10-06 H.J. Lu <hongjiu.lu@intel.com>
18747
18748 * string/test-strstr.c (check2): Add a test for page boundary.
18749
3baddb72
DM
187502012-10-05 David S. Miller <davem@davemloft.net>
18751
18752 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
18753 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
18754 file.
18755 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18756 sysdep_routines.
18757 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18758 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
18759 and bzero when HWCAP_SPARC_CRYPTO is present.
18760
9cee5585
L
187612012-10-05 H.J. Lu <hongjiu.lu@intel.com>
18762
d7e0dab9
L
18763 [BZ #14602]
18764 * string/test-strstr.c (check2): New function.
18765 (test_main): Call check2.
18766
03759f47
L
18767 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
18768 and bug-strchr1.
18769 * string/bug-strcasestr1.c (do_test): Moved to ...
18770 * string/test-strcasestr.c (check1): Here. New function.
18771 (do_one_test): Break out result checking code into ...
18772 (check_result): This. New function.
18773 (do_one_test): Call check_result.
18774 (test_main): Call check1.
18775 * string/bug-strchr1.c (do_test): Moved to ...
18776 * string/test-strchr.c (check1): Here. New function.
18777 (do_one_test): Break out result checking code into ...
18778 (check_result): This. New function.
18779 (do_one_test): Call check_result.
18780 (test_main): Call check1.
18781 * string/bug-strstr1.c (main): Moved to ...
046f153e 18782 * string/test-strstr.c (check1): Here. New function.
03759f47
L
18783 (do_one_test): Break out result checking code into ...
18784 (check_result): This. New function.
18785 (do_one_test): Call check_result.
18786 (test_main): Call check1.
18787 * string/bug-strcasestr1.c: Removed.
18788 * string/bug-strchr1.c: Likewise.
18789 * string/bug-strstr1.c: Likewise.
18790
53cea63e
L
18791 * elf/Makefile (dl-routines): Add hwcaps.
18792 * elf/dl-support.c (_dl_important_hwcaps): Removed.
18793 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
18794 (_dl_important_hwcaps): Moved to ...
18795 * elf/dl-hwcaps.c: Here. New file.
18796 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
18797
9cee5585 18798 [BZ #14557]
bb859b06
L
18799 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
18800 if IS_IN_rtld isn't defined.
18801
9cee5585
L
18802 * elf/dl-support.c (_dl_sysinfo_map): New.
18803 Include "get-dynamic-info.h" and "setup-vdso.h".
18804 (_dl_non_dynamic_init): Call setup_vdso.
18805 * elf/dynamic-link.h: Don't include <assert.h>.
18806 (elf_get_dynamic_info): Moved to ...
18807 * elf/get-dynamic-info.h: Here. New file.
18808 * elf/dynamic-link.h: Include "get-dynamic-info.h".
18809 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
18810 * elf/setup-vdso.h: Here. New file.
18811 * elf/rtld.c: Include "setup-vdso.h".
18812 (dl_main): Call setup_vdso.
18813
23c31b76
JM
188142012-10-05 Joseph Myers <joseph@codesourcery.com>
18815
28234b07
JM
18816 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
18817 creal in comment listing functions tested. List finite, isinf,
18818 isnan, isless, islessequal, isgreater, isgreaterequal,
18819 islessgreater, isunordered, lgamma_r and pow10 as functions and
18820 macros not tested. Mention which functions not tested are aliases
18821 for other functions. Fix typo. Note that signs of NaNs are not
18822 tested.
18823
23c31b76
JM
18824 * scripts/config.guess: Update from config.git.
18825 * scripts/config.sub: Likewise.
18826
9043e228
RM
188272012-10-04 Roland McGrath <roland@hack.frob.com>
18828
18829 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
18830 * misc/madvise.c (madvise): Renamed to __madvise.
18831 Make madvise a weak alias.
18832 * include/sys/mman.h: Declare __madvise.
18833 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
18834 * sysdeps/unix/syscalls.list
18835 (madvise): Make __madvise the strong name, and madvise a weak alias.
18836 * sysdeps/unix/sysv/linux/syscalls.list
18837 (madvise, mmap): Remove redundant entries.
18838 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
18839 * malloc/malloc.c (mtrim): Likewise.
18840 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
18841
f57f8055
RM
188422012-10-03 Roland McGrath <roland@hack.frob.com>
18843
18844 * sysdeps/mach/hurd/dl-cache.c: File removed.
18845 * config.h.in (USE_LDCONFIG): New #undef.
18846 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
18847 * configure: Regenerated.
18848 * elf/Makefile (dl-routines): Add dl-cache only under
18849 [$(use-ldconfig) = yes].
18850 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
18851 cache on [USE_LDCONFIG].
18852 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
18853 [USE_LDCONFIG].
18854 * elf/rtld.c (dl_main): Likewise.
18855
5bb0c10a
PT
188562012-10-03 Pino Toscano <toscano.pino@tiscali.it>
18857
18858 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
18859 _SC_LEVEL4_CACHE_LINESIZE.
18860
010188c6
RM
188612012-10-03 Roland McGrath <roland@hack.frob.com>
18862
18863 * sysdeps/unix/bsd/confstr.h: File removed.
18864
b6c5ec07
AO
188652012-10-02 Alexandre Oliva <aoliva@redhat.com>
18866
18867 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
18868 sys/sdt-config.h.
18869
408223d4
RM
188702012-10-02 Roland McGrath <roland@hack.frob.com>
18871
18872 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
18873 Make 'mapoff' field ElfW(Off) rather than off_t.
18874
bb9510dc
DL
188752012-10-02 Dmitry V. Levin <ldv@altlinux.org>
18876
fc997c6e
DL
18877 * nscd/Makefile: Remove nscd-cflags and all its users.
18878 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
18879 (CFLAGS-nonlib): Add compiler flags for nscd modules.
18880
bb9510dc
DL
18881 [BZ #10631]
18882 * malloc.c (malloc_printerr): Clarify error message.
18883
05699367
L
188842012-10-02 H.J. Lu <hongjiu.lu@intel.com>
18885
18886 [BZ #14648]
18887 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18888 Set bit_FMA_Usable if FMA is supported.
18889 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
18890 macro.
18891 (bit_FMA4_Usable): Updated.
18892 (index_FMA_Usable): New macro.
18893 (CPUID_FMA): Likewise
18894 (HAS_FMA): Defined with bit_FMA_Usable.
18895
51367701
RM
188962012-10-01 Roland McGrath <roland@hack.frob.com>
18897
18898 * bits/types.h (__swblk_t): Type removed.
18899 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
18900 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
18901 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18902 (__SWBLK_T_TYPE): Likewise.
18903 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18904 (__SWBLK_T_TYPE): Likewise.
18905 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18906 (__SWBLK_T_TYPE): Likewise.
18907 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18908 (__SWBLK_T_TYPE): Likewise.
18909
4d57bf63 189102012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 18911 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
18912
18913 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
18914 (xdr_mapname): Use YPMAXMAP as maxsize.
18915 (xdr_peername): Use YPMAXPEER as maxsize.
18916 (xdr_keydat): Use YPAXRECORD as maxsize.
18917 (xdr_valdat): Use YPMAXRECORD as maxsize.
18918
93c65d43
RM
189192012-10-01 Roland McGrath <roland@hack.frob.com>
18920
497a03d6
RM
18921 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
18922
93c65d43
RM
18923 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
18924 * csu/init-first.c: ... here.
18925 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
18926 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
18927 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
18928 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
18929 * sysdeps/i386/init-first.c: File removed.
18930 * sysdeps/sh/init-first.c: File removed.
18931
bec749fd
JM
189322012-10-01 Joseph Myers <joseph@codesourcery.com>
18933
18934 [BZ #14645]
18935 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
18936 if x * y might underflow to zero and z is zero.
18937 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18938 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18939 * math/libm-test.inc (min_subnorm_value): New variable.
18940 (fma_test): Add more tests.
18941 (fma_test_towardzero): Likewise.
18942 (fma_test_downward): Likewise
18943 (fma_test_upward): Likewise.
18944 (initialize): Set min_subnorm_value.
18945
8ec5b013
JM
189462012-09-29 Joseph Myers <joseph@codesourcery.com>
18947
18948 [BZ #14638]
18949 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
18950 0 + 0.
18951 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
18952 mode for addition resulting in exact zero.
18953 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
18954 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
18955 exact 0 + 0.
18956 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18957 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18958 * math/libm-test.inc (fma_test): Add more tests.
18959 (fma_test_towardzero): New function.
18960 (fma_test_downward): Likewise.
18961 (fma_test_upward): Likewise.
18962 (main): Call the new functions.
18963
b1fa802e
DM
189642012-09-28 David S. Miller <davem@davemloft.net>
18965
18966 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
18967
d3b9fd9e
RM
189682012-09-28 Roland McGrath <roland@hack.frob.com>
18969
ea4d37b3
RM
18970 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
18971 instead of SIGALRM.
18972
ac51c949
RM
18973 * sysdeps/gnu/_G_config.h: Moved to ...
18974 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
18975 * sysdeps/mach/hurd/_G_config.h: Moved to ...
18976 * sysdeps/generic/_G_config.h: ... here.
18977
28c195f7
RM
18978 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
18979
848917f9
RM
18980 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
18981
6bacf05b
RM
18982 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
18983 Conditionalize target on [libnss_test1.so-version].
18984
91363dbb
RM
18985 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
18986
cc87f7d8
RM
18987 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
18988 (elfobjdir): Move out of conditionals.
18989
b1c608fe
RM
18990 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
18991 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
18992 (__nss_lookup_function): Conditionalize label remove_from_tree on
18993 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 18994
1d9a6d96
DM
189952012-09-28 David S. Miller <davem@davemloft.net>
18996
18997 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
18998 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
18999 file.
19000 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
19001 sysdep_routines.
19002 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
19003 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
19004 when HWCAP_SPARC_CRYPTO is present.
19005
72581615
PT
190062012-09-28 Pino Toscano <toscano.pino@tiscali.it>
19007
19008 * io/tst-mknodat.c: Create a FIFO instead of a socket.
19009
715a900c
JL
190102012-09-28 Andreas Schwab <schwab@linux-m68k.org>
19011
19012 [BZ #6530]
19013 * stdio-common/vfprintf.c (process_string_arg): Revert
19014 2000-07-22 change.
19015
190162011-09-28 Jonathan Nieder <jrnieder@gmail.com>
19017
19018 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
19019 for testcase.
19020 * stdio-common/tst-sprintf.c: Include <locale.h>
19021 (main): Test sprintf's handling of incomplete multibyte
19022 characters.
19023
9bac1d86
L
190242012-09-28 H.J. Lu <hongjiu.lu@intel.com>
19025
19026 * elf/dl-runtime.c (VERSYMIDX): Removed.
19027 * elf/dl-version.c (VERSYMIDX): Likewise.
19028 * elf/do-rel.h (VERSYMIDX): Likewise.
19029 (VALIDX): Likewise.
19030 * elf/dynamic-link.h (VERSYMIDX): Likewise.
19031 * elf/rtld.c (VALIDX): Likewise.
19032 (ADDRIDX): Likewise.
9bac1d86
L
19033 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
19034 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
19035 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
19036 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
19037 (VALIDX): Likewise.
19038 (ADDRIDX): Likewise.
9bac1d86 19039
b31606c0
PT
190402012-09-28 Pino Toscano <toscano.pino@tiscali.it>
19041
19042 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
19043
11541177
JL
190442012-09-28 Dmitry V. Levin <ldv@altlinux.org>
19045
19046 [BZ #11438]
19047 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
19048 to global scope.
19049 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
19050 addresses are in the same scope as 192.0.2/24.
19051 * posix/gai.conf: Document new scope table defaults.
19052
adb26fae
SP
190532012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19054
19055 [BZ #5298]
19056 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
19057 for ftell. Compute offsets from write pointers instead.
19058 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
19059
4573c6b0
SP
190602012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19061
19062 [BZ #14543]
19063 * libio/Makefile (tests): New test case tst-fseek.
19064 * libio/tst-fseek.c: New test case to verify that fseek/ftell
19065 combination works in wide mode.
19066 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
19067 state when the external buffer state changes.
19068
aa9bbfe6
DM
190692012-09-27 David S. Miller <davem@davemloft.net>
19070
19071 [BZ #14376]
19072 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
19073 pass reloc->r_addend in as the 'high' argument to
19074 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
19075
784421e7
DM
19076 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19077
c39bc8b8
PT
190782012-09-28 Pino Toscano <toscano.pino@tiscali.it>
19079
19080 * rt/tst-aio2.c: Include <pthread.h>.
19081 * rt/tst-aio3.c: Likewise.
19082
1ccc2399
SE
190832012-09-27 Steve Ellcey <sellcey@mips.com>
19084
19085 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
19086
31ed4153
L
190872012-09-27 H.J. Lu <hongjiu.lu@intel.com>
19088
25f5f885
L
19089 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
19090 contents on [SHARED].
31ed4153 19091
b7bfe116
MP
190922012-09-26 Marek Polacek <polacek@redhat.com>
19093
19094 [BZ #14530]
19095 [BZ #13741]
19096 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
19097 for C++ and GCC <4.3 as well as for non GCC compilers.
19098
43c4edba
MT
190992012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
19100
19101 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19102
6a1bf82f
RM
191032012-09-25 Roland McGrath <roland@hack.frob.com>
19104
19105 * Makefile.in (all, install): Declare with .PHONY.
19106 Reported by Michael Hope <michael.hope@linaro.org>.
19107
8ad11b9a
TMQMF
191082012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19109
19110 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
19111 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
19112 system header.
19113 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
19114 Likewise.
19115 (sydep_routines): Add the new and the internal functions.
19116 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
19117 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
19118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
19119 (GLIBC_2.17): Add the new function.
19120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
19121 (GLIBC_2.17): Likewise.
19122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
19123 (GLIBC_2.17): Likewise.
19124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
19125 (GLIBC_2.17): Likewise.
19126 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
19127
7e2fca8d
AM
191282012-09-25 Alan Modra <amodra@gmail.com>
19129
19130 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
19131 Add release barrier before setting once_control to say
19132 initialisation is done. Add hints on lwarx. Use macro in
19133 place of isync.
19134 (clear_once_control): Add release barrier.
19135
b87c4b24
JM
191362012-09-25 Joseph Myers <joseph@codesourcery.com>
19137
d032e0d2
JM
19138 [BZ #13629]
19139 * math/s_clog.c (__clog): Handle more values close to |z| = 1
19140 specially.
19141 * math/s_clog10.c (__clog10): Likewise.
19142 * math/s_clog10f.c (__clog10f): Likewise.
19143 * math/s_clog10l.c (__clog10l): Likewise.
19144 * math/s_clogf.c (__clogf): Likewise.
19145 * math/s_clogl.c (__clogl): Likewise.
19146 * math/Makefile (libm-calls): Add x2y2m1.
19147 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
19148 (__x2y2m1): Likewise.
19149 (__x2y2m1l): Likewise.
19150 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
19151 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
19152 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
19153 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
19154 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
19155 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
19156 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
19157 * sysdeps/i386/fpu/libm-test-ulps: Update.
19158 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19159
b87c4b24
JM
19160 [BZ #14621]
19161 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
19162 int as type of variable DEPTH.
19163 (glob): Use size_t instead of int as type of variables NEWCOUNT
19164 and OLD_PATHC.
19165
6d3bf199
LD
191662012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19167
22bf5c17
LD
19168 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19169 Add s_sincosf-sse2.
19170 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
19171 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
19172 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
19173 macros for using routine as __sincosf_ia32.
19174 Use macro for function declaration and weak_alias.
19175 * sysdeps/i386/fpu/libm-test-ulps: Update.
19176
19177 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
19178 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19179
19180 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
19181 subnormal argument.
19182 * math/s_cexpf.c (__cexpf): Likewise.
19183 * math/s_csinf.c (__csinf): Likewise.
19184 * math/s_csinhf.c (__csinhf): Likewise.
19185 * math/s_ctanf.c (__ctanf): Likewise.
19186 * math/s_ctanhf.c (__ctanhf): Likewise.
19187 * math/s_ccosh.c (__ccoshf): Likewise.
19188 * math/s_cexp.c (__cexpl): Likewise.
19189 * math/s_csin.c (__csin): Likewise.
19190 * math/s_csinh.c (__csinh): Likewise.
19191 * math/s_ctan.c (__ctan): Likewise.
19192 * math/s_ctanh.c (ctanh): Likewise.
19193 * math/s_ccoshl.c (__ccoshl): Likewise.
19194 * math/s_cexpl.c (__cexpl): Likewise.
19195 * math/s_csinl.c (__csinl): Likewise.
19196 * math/s_csinhl.c (__csinhl): Likewise.
19197 * math/s_ctanl.c (__ctanl): Likewise.
19198 * math/s_ctanhl.c (__ctanhl): Likewise.
19199
203e5603
JM
192002012-09-25 Joseph Myers <joseph@codesourcery.com>
19201
19202 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
19203 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
19204 (_IO_off_t): Define to __off_t, not _G_off_t.
19205 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
19206 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
19207 (_IO_wint_t): Define to wint_t, not _G_wint_t.
19208 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
19209 type of __dummy and __dummy2 fields.
19210 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
19211 (_G_ssize_t): Likewise.
19212 (_G_off_t): Likewise.
19213 (_G_pid_t): Likewise.
19214 (_G_uid_t): Likewise.
19215 (_G_wchar_t): Likewise.
19216 (_G_wint_t): Likewise.
19217 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
19218 (_G_ssize_t): Likewise.
19219 (_G_off_t): Likewise.
19220 (_G_pid_t): Likewise.
19221 (_G_uid_t): Likewise.
19222 (_G_wchar_t): Likewise.
19223 (_G_wint_t): Likewise.
19224 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
19225 (_G_ssize_t): Likewise.
19226 (_G_off_t): Likewise.
19227 (_G_pid_t): Likewise.
19228 (_G_uid_t): Likewise.
19229 (_G_wchar_t): Likewise.
19230 (_G_wint_t): Likewise.
19231
9fab36eb
SP
192322012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19233
19234 * malloc/arena.c: Include malloc-sysdep.h.
19235 (shrink_heap): Use check_may_shrink_heap to decide if madvise
19236 is sufficient to shrink the heap or an unmap is needed.
19237 * sysdeps/generic/malloc-sysdep.h: New file. Define
19238 new function check_may_shrink_heap.
19239 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
19240 new function check_may_shrink_heap.
19241
2b4f00d1
SP
192422012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19243
19244 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
19245 comments.
19246
9a9028b1
DL
192472012-09-24 Dmitry V. Levin <ldv@altlinux.org>
19248
57c69bef
DL
19249 * catgets/test-gencat.sh: Add "set -e".
19250 * elf/tst-pathopt.sh: Likewise.
19251 * grp/tst_fgetgrent.sh: Likewise.
19252 * iconvdata/run-iconv-test.sh: Likewise.
19253 * intl/tst-gettext.sh: Likewise.
19254 * intl/tst-gettext2.sh: Likewise.
19255 * intl/tst-gettext4.sh: Likewise.
19256 * intl/tst-gettext6.sh: Likewise.
19257 * intl/tst-translit.sh: Likewise.
19258 * io/ftwtest-sh: Likewise.
19259 * libio/test-freopen.sh: Likewise.
19260 * malloc/tst-mtrace.sh: Likewise.
19261 * posix/globtest.sh: Likewise.
19262 * posix/tst-getconf.sh: Likewise.
19263 * posix/wordexp-tst.sh: Likewise.
19264 * stdio-common/tst-printf.sh: Likewise.
19265 * stdio-common/tst-unbputc.sh: Likewise.
19266 * stdlib/tst-fmtmsg.sh: Likewise.
19267 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
19268 * catgets/Makefile: Do not specify -e option when running
19269 testsuite shell scripts.
19270 * elf/Makefile: Likewise.
19271 * grp/Makefile: Likewise.
19272 * iconvdata/Makefile: Likewise.
19273 * intl/Makefile: Likewise.
19274 * io/Makefile: Likewise.
19275 * libio/Makefile: Likewise.
19276 * malloc/Makefile: Likewise.
19277 * posix/Makefile: Likewise.
19278 * stdio-common/Makefile: Likewise.
19279 * stdlib/Makefile: Likewise.
19280 * sysdeps/x86_64/Makefile: Likewise.
19281
9a9028b1
DL
19282 * io/ftwtest-sh: Add copyright header.
19283 * posix/globtest.sh: Likewise.
19284 * posix/tst-getconf.sh: Likewise.
19285 * posix/wordexp-tst.sh: Likewise.
19286 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
19287
ced6f16e
L
192882012-09-24 H.J. Lu <hongjiu.lu@intel.com>
19289
94b32c39
L
19290 [BZ #13679]
19291 * Makeconfig (+link): Defined as $(+link-static) if
19292 $(build-shared) isn't yes.
19293 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
19294 isn't yes.
19295 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
19296
189e935b
L
19297 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
19298
ced6f16e
L
19299 [BZ #14562]
19300 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
19301 new chunk size with MALLOC_ALIGN_MASK.
19302
a9f8e53a
JM
193032012-09-24 Joseph Myers <joseph@codesourcery.com>
19304
19305 [BZ #5044]
19306 * stdio-common/printf_fphex.c: Include <stdbool.h> and
19307 <rounding-mode.h>.
19308 (__printf_fphex): Determine rounding using get_rounding_mode and
19309 round_away.
19310 * stdio-common/tst-printf-round.c (struct hex_test): New
19311 structure.
19312 (hex_tests): New variable.
19313 (test_hex_in_one_mode): New function.
19314 (do_test): Also run tests for hex float output.
19315
43153109
JM
193162012-09-21 Joseph Myers <joseph@codesourcery.com>
19317
19318 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
19319 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
19320 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
19321 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
19322 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
19323 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
19324 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
19325 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
19326
8a26625d
JM
193272012-09-20 Joseph Myers <joseph@codesourcery.com>
19328
19329 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
19330 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
19331 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
19332 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
19333
f3fd569c
DL
193342012-09-19 Dmitry V. Levin <ldv@altlinux.org>
19335
19336 [BZ #14579]
19337 * elf/rtld.c (dl_main): Limit the check for self loading to normal
19338 mode only.
19339 * elf/tst-rtld-load-self.sh: New test.
19340 * elf/Makefile: Run it.
19341
63bbedd4
JM
193422012-09-18 Joseph Myers <joseph@codesourcery.com>
19343
19344 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
19345 (tst-writev-ENV): Remove.
19346 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
19347
626f8b6a
CM
193482012-09-17 Chris Metcalf <cmetcalf@tilera.com>
19349
19350 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
19351
b7aaa4d6
JM
193522012-09-17 Joseph Myers <joseph@codesourcery.com>
19353
19354 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
19355 unconditional.
19356 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
19357 Likewise.
19358 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
19359 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
19360 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
19361 Likewise.
19362
65513990
L
193632012-09-14 H.J. Lu <hongjiu.lu@intel.com>
19364
19365 [BZ #14587]
19366 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
19367 * config.make.in (have-cpp-asm-debuginfo): Removed.
19368 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
19369 * configure: Regenerated.
19370
784761be
JM
193712012-09-14 Joseph Myers <joseph@codesourcery.com>
19372
19373 [BZ #5044]
19374 * stdio-common/printf_fp.c: Include <stdbool.h> and
19375 <rounding-mode.h>.
19376 (___printf_fp): Determine rounding using get_rounding_mode and
19377 round_away.
19378 * stdio-common/tst-printf-round.c: New file.
19379 * stdio-common/Makefile (tests): Add tst-printf-round.
19380 (link-libm): New variable.
19381 ($(objpfx)tst-printf-round): Depend in $(link-libm).
19382
9503345f
L
193832012-09-13 H.J. Lu <hongjiu.lu@intel.com>
19384
19385 [BZ #14576]
19386 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
19387 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
19388 Likewise.
19389 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
19390 Likewise.
19391
ad35fc00
JM
193922012-09-13 Joseph Myers <joseph@codesourcery.com>
19393
19394 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
19395 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19396 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19397 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19398
6c9b0f68
JM
193992012-09-12 Joseph Myers <joseph@codesourcery.com>
19400
19401 [BZ #14518]
19402 * include/rounding-mode.h: New file.
19403 * sysdeps/generic/get-rounding-mode.h: Likewise.
19404 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
19405 * stdlib/strtod_l.c: Include <rounding-mode.h>.
19406 (MAX_VALUE): New macro.
19407 (MIN_VALUE): Likewise.
19408 (overflow_value): New function.
19409 (underflow_value): Likewise.
19410 (round_and_return): Use overflow_value and underflow_value to
19411 determine return values in overflow and underflow cases. Use
19412 round_away to determine rounding depending on rounding mode.
19413 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
19414 determine return values in overflow and underflow cases.
19415 * stdlib/tst-strtod-round.c: Include <fenv.h>.
19416 (struct test_results): New structure.
19417 (struct test): Use struct test_results to store expected results
19418 for all rounding modes.
19419 (TEST): Include expected results for all rounding modes.
19420 (test_in_one_mode): New function.
19421 (do_test): Use test_in_one_mode to compute and check results.
19422 Check results for all rounding modes.
19423 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
19424 $(link-libm).
19425
19fcedd5
AM
194262012-12-09 Allan McRae <allan@archlinux.org>
19427
1e9d84cd 19428 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 19429
8bbfd2f1
JM
194302012-09-11 Joseph Myers <joseph@codesourcery.com>
19431
19432 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
19433 (_G_int32_t): Likewise.
19434 (_G_uint16_t): Likewise.
19435 (_G_uint32_t): Likewise.
19436 (_G_HAVE_BOOL): Likewise.
19437 (_G_HAVE_ATEXIT): Likewise.
19438 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19439 (_G_HAVE_IO_FILE_OPEN): Likewise.
19440 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
19441 (_G_int32_t): Likewise.
19442 (_G_uint16_t): Likewise.
19443 (_G_uint32_t): Likewise.
19444 (_G_HAVE_BOOL): Likewise.
19445 (_G_HAVE_ATEXIT): Likewise.
19446 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19447 (_G_HAVE_IO_FILE_OPEN): Likewise.
19448 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
19449 (_G_int32_t): Likewise.
19450 (_G_uint16_t): Likewise.
19451 (_G_uint32_t): Likewise.
19452 (_G_HAVE_BOOL): Likewise.
19453 (_G_HAVE_ATEXIT): Likewise.
19454 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19455 (_G_HAVE_IO_FILE_OPEN): Likewise.
19456
b1dc5912
L
194572012-09-11 H.J. Lu <hongjiu.lu@intel.com>
19458
19459 * csu/libc-tls.c: Update copyright years.
19460
0e886ef9
JM
194612012-09-10 Joseph Myers <joseph@codesourcery.com>
19462
28361c5e
JM
19463 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
19464 [!_G_USING_THUNKS]: Remove conditional code.
19465 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
19466 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
19467
0e886ef9
JM
19468 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
19469 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
19470 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19471 (_G_VTABLE_LABEL_PREFIX): Likewise.
19472 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19473 * sysdeps/gnu/_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 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19478 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19479 (_G_VTABLE_LABEL_PREFIX): Likewise.
19480 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19481
bcba7aa2
L
194822012-09-10 H.J. Lu <hongjiu.lu@intel.com>
19483
19484 * libio/Makefile: Include ../Makeconfig before tests.
19485 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
19486 only if $(build-shared) is yes.
19487
06585ee8
L
19488 * iconv/gconv_db.c: Update copyright years.
19489
80ccd52c
LD
194902012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19491
19492 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
19493 unwind info if defined PIC. Fix special cases description.
19494 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
19495
19496 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
19497 DP_HI_MASK entry.
19498 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
19499
691bc9c1
L
195002012-09-07 H.J. Lu <hongjiu.lu@intel.com>
19501
3d9b46b3
L
19502 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
19503
de2139a9
L
19504 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
19505 is NULL.
19506
5ca78dd0
L
19507 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
19508 (LDLIBS-tst-chk4): This.
19509 (LDFLAGS-tst-chk5): Renamed to ...
19510 (LDLIBS-tst-chk5): This.
19511 (LDFLAGS-tst-chk6): Renamed to ...
19512 (LDLIBS-tst-chk6): This.
19513 (LDFLAGS-tst-lfschk4): Renamed to ...
19514 (LDLIBS-tst-lfschk4): This.
19515 (LDFLAGS-tst-lfschk5): Renamed to ...
19516 (LDLIBS-tst-lfschk5): This.
19517 (LDFLAGS-tst-lfschk6): Renamed to ...
19518 (LDLIBS-tst-lfschk6): This.
19519
691bc9c1
L
19520 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
19521 on $(common-objpfx)soversions.mk.
19522
65cafb1c
JM
195232012-09-07 Joseph Myers <joseph@codesourcery.com>
19524
19525 [BZ #10014]
19526 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
19527 example host name.
19528
c78ab094
SP
195292012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
19530
19531 * malloc/arena.c (arena_get_retry): New function that gets
19532 another arena for the caller to try its request on.
19533 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
19534 current arena cannot fulfill the request.
19535 (__libc_memalign): Likewise.
19536 (__libc_memalign): Likewise.
19537 (__libc_pvalloc): Likewise.
19538 (__libc_calloc): Likewise.
19539
01f49f59
JT
195402012-09-05 John Tobey <john.tobey@gmail.com>
19541
19542 [BZ #13542]
19543 * manual/arith.texi (Operations on Complex): Fix description
19544 of carg branch cut.
19545
4c23fed5
JM
195462012-09-06 Joseph Myers <joseph@codesourcery.com>
19547
1d3c8572
JM
19548 [BZ #10014]
19549 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
19550 host name.
19551
4c23fed5
JM
19552 [BZ #10038]
19553 * manual/memory.texi (Memory): Make order of menu items match
19554 order of sections.
19555
04570aaa
L
195562012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19557
19558 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
19559 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
19560 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
19561
b80af2f4
L
195622012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19563
19564 * csu/libc-tls.c (static_dtv): Renamed to ...
19565 (_dl_static_dtv): This. Make it global.
19566 (_dl_initial_dtv): Removed.
19567 (__libc_setup_tls): Updated.
19568 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
19569 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
19570 DL_INITIAL_DTV.
19571
2abe9f15
PM
195722012-09-06 Petr Machata <pmachata@redhat.com>
19573
19574 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
19575 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
19576 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
19577 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
19578
0948c3af
L
195792012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19580
19581 [BZ #14545]
19582 * csu/libc-tls.c (_dl_initial_dtv): New variable.
19583 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
19584 freeing dtv[-1].
19585
a5055ad1
L
195862012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19587
19588 [BZ #14544]
19589 * Makeconfig (link-static-before-libc): Replace $(+prector)
19590 with $(+prectorT).
19591 (link-static-after-libc): Replace $(+postctor) with
19592 $(+postctorT).
19593 (link-bounded): Replace $(+prector)/$(+postctor) with
19594 $(+prectorT)/$(+postctorT).
19595 (+prectorT): New macro.
19596 (+postctorT): Likewise.
19597
ed8c2ecd
JM
195982012-09-06 Joseph Myers <joseph@codesourcery.com>
19599
19600 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
19601 (round_str): Handle values above the maximum for IBM long double
19602 as inexact.
19603 * stdlib/tst-strtod-round.c (tests): Regenerated.
19604
14c996c8
AK
196052012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19606
19607 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
19608 assembler flag.
19609 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
19610 zarch_nohighgprs around the zarch optimized routines.
19611 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
19612 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
19613 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
19614 for zarch.
19615
430d6ce6
DM
196162012-09-05 David S. Miller <davem@davemloft.net>
19617
19618 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19619
ff04dda4
DM
19620 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
19621 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
19622 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
19623 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19624 entries.
19625
24d4e01b
AO
196262012-09-05 Alexandre Oliva <aoliva@redhat.com>
19627
19628 * malloc/arena.c: Fold copyright years.
19629 * malloc/mcheck.c, malloc/memusage.c: Likewise.
19630
61d58174
AO
196312012-09-05 Alexandre Oliva <aoliva@redhat.com>
19632
19633 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
19634
20196a5e
AO
196352012-09-05 Alexandre Oliva <aoliva@redhat.com>
19636
19637 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
19638
5c447383
AO
196392012-09-05 Alexandre Oliva <aoliva@redhat.com>
19640
19641 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
19642 change internal state upon failure.
19643
fad64255
AO
196442012-09-05 Alexandre Oliva <aoliva@redhat.com>
19645
19646 * malloc/mcheck.c (mcheck_check_all): Fix typo.
19647 * malloc/memusage.c (mmap): Likewise.
19648 (mmap64, mremap): Likewise. Adjust name in comment.
19649
1ffb8c90
SP
196502012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19651
19652 * libio/fileops.c: Fix typos in comments.
19653 * libio/oldfileops.c: Likewise.
19654 * libio/wfileops.c: Likewise.
19655
6ef9cc37
SP
196562012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19657
19658 [BZ #1349]
19659 * malloc/Makefile (tests): Add tst-malloc-usable test case.
19660 (tst-malloc-usable-ENV): Set environment for test case.
19661 * malloc/hooks.c (malloc_check_get_size): New function to get
19662 requested size.
19663 * malloc/malloc.c (musable): Use malloc_check_get_size.
19664 * malloc/tst-malloc-usable.c: New test case.
19665
4d038ae3
AS
196662012-09-05 Andreas Schwab <schwab@linux-m68k.org>
19667
19668 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
19669
c4e85184
AM
196702012-09-05 Allan McRae <allan@archlinux.org>
19671
b9dafc56 19672 [BZ #13966]
c4e85184
AM
19673 * configure.in (CXX_SYSINCLUDES): Use compiler output to
19674 determine header location.
19675 * configure: Regenerated.
19676
e1343020
AS
196772012-09-05 Andreas Schwab <schwab@linux-m68k.org>
19678
19679 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
19680 float format.
19681 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
19682 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
19683 format.
e1343020
AS
19684 (test): Regenerate.
19685
0a9f1987
DM
196862012-09-04 David S. Miller <davem@davemloft.net>
19687
19688 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
19689 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
19690 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
19691
29237804
FW
196922012-09-04 Florian Weimer <fweimer@redhat.com>
19693
19694 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
19695 failures.
19696
edb3cb88
FW
19697 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
19698
60160d83
JM
196992012-09-04 Joseph Myers <joseph@codesourcery.com>
19700
19701 [BZ #9914]
19702 * libio/iogetdelim.c: Include <limits.h>.
19703 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
19704 + len + 1 would overflow.
19705
bcd6c8dc
AJ
197062012-09-03 Andreas Jaeger <aj@suse.de>
19707
19708 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19709 * sysdeps/i386/fpu/libm-test-ulps: Update.
19710
4ffffbd2
LD
197112012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19712
19713 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19714 Add s_sinf-sse2, s_conf-sse2.
19715
19716 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
19717 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
19718 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
19719 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
19720
19721 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
19722 for using routine as __sinf_ia32.
19723 Use macro for function declaration and weak_alias.
19724 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
19725 for using routine as __cosf_ia32.
19726 Use macro for function declaration and weak_alias.
19727
19728 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
19729 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
19730
19731 * sysdeps/x86_64/fpu/s_sinf.S: New file.
19732 * sysdeps/x86_64/fpu/s_cosf.S: New file.
19733 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19734
19735 * math/libm-test.inc (cos_test): Add more test cases.
19736 (sin_test): Likewise.
19737 (sincos_test): Likewise.
19738
511fa286
AK
197392012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19740
19741 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
19742 (IFUNC_RESOLVE): Make pointers to the specialized implementations
19743 hidden.
19744 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19745
5f30cfec
L
197462012-09-02 H.J. Lu <hongjiu.lu@intel.com>
19747
19748 [BZ #14538]
19749 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
19750 first element of the GOT.
19751 (elf_machine_load_address): Return the difference between
19752 the runtime address of _DYNAMIC and elf_machine_dynamic ().
19753
0786794f
AM
197542012-09-01 Allan McRae <allan@archlinux.org>
19755
5f30cfec
L
19756 [BZ #13412]
19757 * configure.in (AWK): Require gawk version 3.0 or later.
19758 * configure: Regenerated.
0786794f 19759
26889eac
JM
197602012-09-01 Joseph Myers <joseph@codesourcery.com>
19761
19762 * sysdeps/unix/sysv/linux/kernel-features.h
19763 (__ASSUME_POSIX_CPU_TIMERS): Remove.
19764 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19765 [__NR_clock_getres]: Make code unconditional.
19766 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
19767 (clock_getcpuclockid): Remove code left unreachable by removal of
19768 conditionals.
19769 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
19770 code unconditional.
19771 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19772 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19773 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
19774 Make code unconditional.
19775 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19776 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19777 * sysdeps/unix/sysv/linux/clock_settime.c
19778 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
19779 conditional code.
19780 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
19781 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19782
d22e28b0
L
197832012-08-29 H.J. Lu <hongjiu.lu@intel.com>
19784
19785 [BZ #14476]
19786 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
19787 scripts/test-installation.pl.
19788
19789 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
19790 and $ld_so_version if it is set.
19791
050af9c4
SP
197922012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19793
19794 [BZ #14516]
19795 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
19796 failure if reading from procfs failed.
19797 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
19798
ad845c0b
JM
197992012-08-27 Joseph Myers <joseph@codesourcery.com>
19800
19801 * sysdeps/unix/sysv/linux/kernel-features.h
19802 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
19803 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19804 Remove conditional code.
19805 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19806 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
19807 Remove conditional code.
19808 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19809 * sysdeps/unix/sysv/linux/i386/fxstat.c
19810 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19811 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19812 * sysdeps/unix/sysv/linux/i386/fxstatat.c
19813 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19814 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19815 * sysdeps/unix/sysv/linux/i386/lxstat.c
19816 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19817 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19818 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
19819 Remove conditional code.
19820 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19821 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19822 Remove conditional code.
19823 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19824 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
19825 <kernel-features.h>.
19826 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
19827 Remove.
19828 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
19829 Remove conditional code.
19830 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19831 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
19832 Remove conditional.
19833
5dbf56af
MF
198342012-08-27 Mike Frysinger <vapier@gentoo.org>
19835
19836 [BZ #5400]
19837 * NEWS: Add fixed bug number.
19838
d6e70f43
JM
198392012-08-27 Joseph Myers <joseph@codesourcery.com>
19840
7efb4737
JM
19841 [BZ #14519]
19842 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
19843 underflowing exponent in case of negative sign.
19844 * stdlib/tst-strtod-round-data: Add more tests.
19845 * stdlib/tst-strtod-round.c (tests): Regenerated.
19846
af92131a
JM
19847 [BZ #3479]
19848 * stdlib/strtod_l.c (NDIG): Remove.
19849 (HEXNDIG): Likewise.
19850 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
19851 smallest representable value.
19852 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
19853 lie within an exact representation of 1/2 ulp of the result.
19854 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
19855 unconditionally.
19856 (TENS_P9_IDX): Define unconditionally.
19857 (TENS_P9_SIZE): Likewise.
19858 (TENS_P10_IDX): Likewise.
19859 (TENS_P10_SIZE): Likewise.
19860 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
19861 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
19862 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
19863 entries for 10^2^13 and 10^2^14.
19864 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
19865 (TENS_P13_IDX): Define.
19866 (TENS_P13_SIZE): Likewise.
19867 (TENS_P14_IDX): Likewise.
19868 (TENS_P14_SIZE): Likewise.
19869 (_fpioconst_pow10): Change array size to
19870 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
19871 unconditional.
19872 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
19873 1024]: Add entries for 10^2^13 and 10^2^14.
19874 [LAST_POW10 > _LAST_POW10]: Remove #error.
19875 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
19876 (_fpioconst_pow10): Change array size to
19877 FPIOCONST_POW10_ARRAY_SIZE.
19878 * stdlib/gen-fpioconst.c: New file.
19879 * stdlib/gen-tst-strtod-round.c: Likewise.
19880 * stdlib/tst-strtod-round-data: Likewise.
19881 * stdlib/tst-strtod-round.c: Likewise.
19882 * stdlib/Makefile (tests): Add tst-strtod-round.
19883
d6e70f43
JM
19884 [BZ #14459]
19885 * stdlib/strtod_l.c: Include <stdint.h>.
19886 (NDEBUG): Do not define.
19887 (round_and_return): Change EXPONENT parameter to type intmax_t.
19888 Rearrange calculations to avoid internal overflow possibilities.
19889 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
19890 Rearrange calculations to avoid internal overflow possibilities.
19891 Assert that number fits inside MPNSIZE limbs.
19892 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
19893 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
19894 calculations and add assertions to avoid internal overflow
19895 possibilities. Add casts to avoid signed/unsigned operations.
19896 * stdlib/tst-strtod-overflow.c: New file.
19897 * stdlib/Makefile (tests): Add tst-strtod-overflow.
19898
1f529f7d
MP
198992012-08-25 Marek Polacek <polacek@redhat.com>
19900
19901 * time/time.h: Fix some typos in comments.
19902
59a629f1
RM
199032012-08-23 Roland McGrath <roland@hack.frob.com>
19904
19905 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
19906 * posix/tst-rfc3484-2.c: Likewise.
19907 * posix/tst-rfc3484-3.c: Likewise.
19908
d3bafbc9
SM
199092012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
19910
19911 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
19912 (EF_ARM_ABI_FLOAT_HARD): Likewise.
19913
4efcc022
JM
199142012-08-23 Joseph Myers <joseph@codesourcery.com>
19915
19916 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
19917 #include of fxstatat64.c.
19918
3cc3ef96
RM
199192012-08-22 Roland McGrath <roland@hack.frob.com>
19920
f04e2132
RM
19921 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
19922 * shadow/getspent_r.c: Likewise.
19923 * shadow/getspnam.c: Likewise.
19924 * shadow/getspnam_r.c: Likewise.
19925 * gshadow/getsgent.c: Likewise.
19926 * gshadow/getsgent_r.c: Likewise.
19927 * gshadow/getsgnam.c: Likewise.
19928 * gshadow/getsgnam_r.c: Likewise.
19929 * inet/getnetbyad.c: Likewise.
19930 * inet/getnetbyad_r.c: Likewise.
19931 * inet/getnetbynm.c: Likewise.
19932 * inet/getnetbynm_r.c: Likewise.
19933 * inet/getnetent.c: Likewise.
19934 * inet/getnetent_r.c: Likewise.
19935 * inet/getproto.c: Likewise.
19936 * inet/getproto_r.c: Likewise.
19937 * inet/getprtent.c: Likewise.
19938 * inet/getprtent_r.c: Likewise.
19939 * inet/getprtname.c: Likewise.
19940 * inet/getprtname_r.c: Likewise.
19941 * inet/getrpcbyname.c: Likewise.
19942 * inet/getrpcbyname_r.c: Likewise.
19943 * inet/getrpcbynumber.c: Likewise.
19944 * inet/getrpcbynumber_r.c: Likewise.
19945 * inet/getrpcent.c: Likewise.
19946 * inet/getrpcent_r.c: Likewise.
19947 * inet/getaliasent.c: Likewise.
19948 * inet/getaliasent_r.c: Likewise.
19949 * inet/getaliasname.c: Likewise.
19950 * inet/getaliasname_r.c: Likewise.
19951 * nscd/getgrgid_r.c: Likewise.
19952 * nscd/getgrnam_r.c: Likewise.
19953 * nscd/gethstbyad_r.c: Likewise.
19954 * nscd/gethstbynm3_r.c: Likewise.
19955 * nscd/getpwnam_r.c: Likewise.
19956 * nscd/getpwuid_r.c: Likewise.
19957 * nscd/getsrvbynm_r.c: Likewise.
19958 * nscd/getsrvbypt_r.c: Likewise.
19959 * nscd/gai.c: Likewise.
19960
c53d909c
RM
19961 * configure.in (build_nscd): New substituted variable, set
19962 by --disable-build-nscd and defaults to $use_nscd.
19963 * configure: Regenerated.
19964 * config.make.in (build-nscd): New substituted variable.
19965 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
19966 Change conditional to require [$(build-nscd) = yes] as well.
19967 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
19968
3cc3ef96
RM
19969 [BZ# 13696]
19970 * configure.in (use_nscd): New substituted variable, set by
19971 --disable-nscd. If enabled, define USE_NSCD.
19972 * configure: Regenerated.
19973 * config.h.in: Add USE_NSCD.
19974 * config.make.in (use-nscd): New substituted variable.
19975 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
19976 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
19977 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
19978 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
19979 (CFLAGS-getgrnam_r.c): Likewise.
19980 (CFLAGS-initgroups.c): Likewise.
19981 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
19982 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
19983 Variables removed.
19984 * inet/getnetgrent_r.c
19985 (nscd_setnetgrent): New function, broken out of ...
19986 (setnetgrent): ... here. Call it.
19987 (innetgr): Conditionalize nscd bits on [USE_NSCD].
19988 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
19989 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
19990 * nscd/Makefile (routines, aux): Move definitions after include of
19991 Makeconfig. Conditionalize on [$(use-nscd) != no].
19992 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
19993 Conditionalize on [USE_NSCD].
19994 (is_nscd, nscd_init_cb): Likewise.
19995 (nss_load_library): Conditionalize init callback on [USE_NSCD].
19996 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
19997 * nss/nss_db/db-init.c: Likewise.
19998 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
19999 [USE_NSCD].
20000 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
20001 (make_request): Use it.
20002 (cache_valid_p): New function.
20003 (__check_pf): Use it.
20004 * NEWS: Add item for --disable-nscd.
20005
07e51550
DL
200062012-08-22 Dmitry V. Levin <ldv@altlinux.org>
20007
20008 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
20009 to support sed >= 4.2.1-20-ga9bf076.
20010 * configure: Regenerated.
20011
35a5b08b
RM
200122012-08-22 Roland McGrath <roland@hack.frob.com>
20013
20014 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
20015 Conditionalize whole body on [IREL].
20016
8479f23a
JL
200172012-08-22 Jeff Law <law@redhat.com>
20018
20019 [BZ #14505]
20020 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
20021 if the family is PF_UNSPEC.
20022
48da0b21
MF
200232012-08-22 Mike Frysinger <vapier@gentoo.org>
20024
20025 * Makerules (lib-version): Rename from V.
20026 (install-lib-nosubdir): Change V to lib-version.
20027
15d0da8c
WS
200282012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
20029
20030 [BZ #14252]
20031 * powerpc32/power6/wcschr.c: New file.
20032 * powerpc32/power6/wcscpy.c: New file.
20033 * powerpc32/power6/wcsrchr.c: New file.
20034 * powerpc64/power6/wcschr.c: New file.
20035 * powerpc64/power6/wcscpy.c: New file.
20036 * powerpc64/power6/wcsrchr.c: New file.
20037
bcca0895
MK
200382012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
20039
20040 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
20041 (two_way_short_needle): Use it.
5a4aaa33
RM
20042 * string/strstr.c (AVAILABLE1_USES_J): Define.
20043 * string/strcasestr.c: Likewise.
99677e57
MK
20044
20045 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
20046 array references.
20047 * string/strcasestr.c (TOLOWER): Make side-effect safe.
20048
400726de
MK
20049 [BZ #11607]
20050 * NEWS: Add an entry.
20051 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
20052 define their defaults.
20053 (two_way_short_needle): Detect end-of-string on-the-fly.
20054 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
20055 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
20056 * string/bug-strcasestr1.c: New test.
20057 * string/Makefile: Run it.
20058
20a71f2c
MK
200592012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
20060
20061 [BZ #11607]
20062 * string/str-two-way.h (two_way_short_needle): Optimize matching of
20063 the first character.
20064
21ad0558
RM
200652012-08-21 Roland McGrath <roland@hack.frob.com>
20066
20067 * csu/elf-init.c (__libc_csu_irel): Function removed.
20068 * csu/libc-start.c (apply_irel): New function.
20069 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
20070
0e1d9911
JM
200712012-08-21 Joseph Myers <joseph@codesourcery.com>
20072
20073 * sysdeps/unix/sysv/linux/kernel-features.h
20074 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
20075 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
20076 <kernel-features.h>.
20077 [__NR_fadvise64_64]: Make code unconditional.
20078 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
20079 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
20080 !__NR_fadvise64_64)]: Likewise.
20081 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
20082 !__NR_fadvise64_64))]: Likewise.
20083 [__NR_fadvise64]: Make code unconditional.
20084 [!__NR_fadvise64]: Remove conditional code.
20085 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
20086 <kernel-features.h>.
20087 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20088 unconditional.
20089 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20090 conditional code.
20091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
20092 not include <kernel-features.h>.
20093 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20094 unconditional.
20095 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20096 conditional code.
20097 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
20098 include <kernel-features.h>.
20099 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20100 unconditional.
20101 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20102 conditional code.
20103
14a50c9d
WS
201042012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
20105
20106 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
20107 slight instruction rearrangements per scrollpipe analysis.
20108 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
20109
c0f4faf0
RM
201102012-08-20 Roland McGrath <roland@hack.frob.com>
20111
696da859
RM
20112 * manual/syslog.texi (syslog; vsyslog, closelog):
20113 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
20114 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
20115
c0f4faf0
RM
20116 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
20117 DSOCAPS to match condition on defining it.
20118
348363b2
JM
201192012-08-20 Joseph Myers <joseph@codesourcery.com>
20120
a35cbf28
JM
20121 * sysdeps/unix/sysv/linux/kernel-features.h
20122 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
20123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
20124 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20125 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
20127 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20128 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
20130 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20131 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20132
445f7ecd
JM
20133 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
20134 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
20135
348363b2
JM
20136 * sysdeps/unix/sysv/linux/kernel-features.h
20137 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
20138 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
20139 unconditional.
20140 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20141 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
20142 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
20143 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20144 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
20145 Make code unconditional.
20146 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20147 (__mmap64) [!__NR_mmap2]: Likewise.
20148 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
20149 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
20150 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20151 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
20152 [__NR_mmap2]: Make code unconditional.
20153 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20154 (__mmap64) [!__NR_mmap2]: Likewise.
20155
bc5bc0e5
AK
201562012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20157
20158 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
20159
88d506de
AJ
201602012-08-18 Andreas Jaeger <aj@suse.de>
20161
20162 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
20163
493387d2
MF
201642012-08-18 Mike Frysinger <vapier@gentoo.org>
20165
20166 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
20167 * include/unistd.h (__have_sock_cloexec): Likewise.
20168 (__have_pipe2): Likewise.
20169 (__have_dup3): Likewise.
20170
a277af22
MF
201712012-08-18 Mike Frysinger <vapier@gentoo.org>
20172
20173 [BZ #9685]
20174 * include/unistd.h (__have_pipe2): Change define into an extern int.
20175 (__have_dup3): Likewise.
20176 * socket/have_sock_cloexec.c: Include fcntl.h.
20177 (__have_pipe2): New variable.
20178 (__have_dup3): Likewise.
20179
fdab8fd3
MF
201802012-08-17 Mike Frysinger <vapier@gentoo.org>
20181
20182 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
20183
31035e80
MP
201842012-08-17 Marek Polacek <polacek@redhat.com>
20185
20186 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
20187 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
20188
3bd9e993
RM
201892012-08-17 Roland McGrath <roland@hack.frob.com>
20190
c91c505f
RM
20191 * configure.in: Add AC_SUBST for sysheaders.
20192 * configure: Regenerated.
20193 * config.make.in (sysheaders): New substituted variable.
20194
7c6f9d53
RM
20195 * sysdeps/unix/mkfifo.c: Moved ...
20196 * sysdeps/posix/mkfifo.c: ... here.
20197 * sysdeps/unix/mkfifoat.c: Moved ...
20198 * sysdeps/posix/mkfifoat.c: ... here.
20199
20200 * sysdeps/unix/utime.c: Moved ...
20201 * sysdeps/posix/utime.c: ... here.
20202
20203 * sysdeps/unix/time.c: Moved ...
20204 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
20205 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
20206 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
20207
20208 * sysdeps/unix/nice.c: Moved ...
20209 * sysdeps/posix/nice.c: ... here.
20210
20211 * sysdeps/unix/alarm.c: Moved ...
20212 * sysdeps/posix/alarm.c: ... here.
20213
3bd9e993
RM
20214 * intl/Makefile ($(codeset_mo)): Depend on the input file.
20215
d1f09384
JL
202162012-08-17 Jeff Law <law@redhat.com>
20217
20218 * intl/Makefile (codeset_mo): New variable.
20219 ($(codeset_mo)): New target.
20220 (tst-codeset.out): Depend on that. Remove explicit rule.
20221 (tst-gettext3.out, tst-gettext5.out): Likewise.
20222 (LOCPATH-ENV, tst-codeset-ENV): New variables.
20223 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
20224 * intl/tst-codeset.sh: Remove.
20225 * intl/tst-gettext3.sh: Likewise.
20226 * intl/tst-gettext5.sh: Likewise.
20227
2ae1ae5c
RM
202282012-08-17 Roland McGrath <roland@hack.frob.com>
20229
c31fdb83
RM
20230 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
20231 * sysdeps/unix/syscalls.list: ... here.
20232
a0844057
RM
20233 * sysdeps/posix/getaddrinfo.c
20234 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
20235 (gaiconf_init, gaiconf_reload): Use them.
20236 [!_STATBUF_ST_NSEC]
20237 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
20238 Define using time_t rather than struct timespec.
20239
750c1f2a
RM
20240 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
20241 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
20242 Macros removed.
20243 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
20244 [!NO_THREADS].
20245 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
20246 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
20247 Likewise.
20248
2ae1ae5c
RM
20249 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
20250 __libc_cleanup_push argument.
20251
e66a42f5
RM
20252 * bits/param.h: New file.
20253 * misc/sys/param.h: New file.
20254 * include/sys/param.h: New file.
20255 * misc/Makefile (headers): Add bits/param.h.
20256 * sysdeps/generic/sys/param.h: File removed.
20257 * sysdeps/unix/sysv/linux/bits/param.h: New file.
20258 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
20259 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 20260 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 20261
b7c08a66
RM
20262 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
20263 last change.
20264
b2e1c562
RM
20265 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
20266 [_IO_MTSAFE_IO].
20267 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
20268 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
20269 New macros.
20270
c75ccd4c
RM
20271 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
20272 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
20273 rather than -D_IO_MTSAFE_IO conditionally.
20274 * stdio-common/Makefile (CPPFLAGS): Likewise.
20275 * wcsmbs/Makefile (CPPFLAGS): Likewise.
20276 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
20277 Use $(libio-mtsafe).
20278 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
20279 of -D_IO_MTSAFE_IO.
20280 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
20281 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
20282 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
20283 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
20284 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
20285 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
20286 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
20287 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
20288 (CFLAGS-fread_u_chk.c): Likewise.
20289 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
20290 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
20291 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
20292 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
20293 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
20294 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
20295 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
20296 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
20297 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
20298
20299 * libio/Makefile: Test [$(libc-reentrant) = yes]
20300 instead of [$(filter %REENTRANT, $(defines)) nonempty].
20301
20302 * Makeconfig
20303 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
20304 * sysdeps/pthread/configure: File removed.
20305 * sysdeps/pthread/Makeconfig: New file.
20306 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
20307 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
20308
d9195db8
GB
203092012-08-16 Gary Benson <gbenson@redhat.com>
20310
20311 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
20312 unmapping the first object in a namespace.
20313
86466cd9
RM
203142012-08-16 Roland McGrath <roland@hack.frob.com>
20315
20316 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
20317 (__internal_setnetgrent): ... this. Add internal_function to
20318 definition. Add libc_hidden_def.
20319 (setnetgrent): Update caller.
20320 (internal_endnetgrent): Renamed to ...
20321 (__internal_endnetgrent): ... this. Add internal_function to
20322 definition. Add libc_hidden_def.
20323 (endnetgrent): Update caller.
20324 (internal_getnetgrent_r): Renamed to ...
20325 (__internal_getnetgrent_r): ... this. Add internal_function to
20326 definition. Add libc_hidden_def.
20327 (__getnetgrent_r): Update caller.
20328 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
20329
c3c8283c
JM
203302012-08-16 Joseph Myers <joseph@codesourcery.com>
20331
20332 * stdlib/longlong.h: Update from GCC.
20333
db1ee0a8
RM
203342012-08-16 Roland McGrath <roland@hack.frob.com>
20335
20336 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
20337 on _QL, which is set by umul_ppmm but never used.
20338 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
20339 variables, which are set by GMP macros but never used.
20340 * stdio-common/_itowa.c (_itowa): Likewise.
20341 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
20342 * stdlib/mod_1.c (mpn_mod_1): Likewise.
20343
30f69637
CD
203442012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
20345
20346 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
20347 struct La_sh_regs is not constant.
20348 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
20349 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
20350 and struct La_sparc64_regs are not constant.
20351
93a78ac4
JM
203522012-08-16 Joseph Myers <joseph@codesourcery.com>
20353
20354 * sysdeps/unix/sysv/linux/kernel-features.h
20355 (__ASSUME_POSIX_TIMERS): Remove.
20356 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
20357 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20358 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
20359 Make code unconditional.
20360 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20361 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
20362 Make code unconditional.
20363 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20364 * sysdeps/unix/sysv/linux/clock_nanosleep.c
20365 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
20366 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20367 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
20368 Make code unconditional.
20369 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20370 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
20371 (__libc_missing_posix_timers): Remove.
20372
dd924cd7
RM
203732012-08-15 Roland McGrath <roland@hack.frob.com>
20374
4b4f2771
RM
20375 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
20376 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
20377
601c888b
RM
20378 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
20379
176790a7
RM
20380 * elf/dl-sym.c: Include <stdlib.h>.
20381
329bc018
RM
20382 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
20383 constants, which avoids warnings in 32-bit builds.
20384
e04e272d
RM
20385 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
20386 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
20387
952bf94a
RM
20388 * misc/lseek.c: File moved to ...
20389 * io/lseek.c: ... here.
20390
7c99b50a
RM
20391 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
20392
dd924cd7
RM
20393 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
20394 shifting LEN more than 31 bits at once.
20395
b3f479a8
LD
203962012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20397
20398 [BZ #14195]
8c4ae0d4
RM
20399 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
20400 segmentation fault for a case of two empty input strings.
b3f479a8
LD
20401 * string/test-strncasecmp.c (check1): Renamed to...
20402 (bz12205): ...this.
20403 (bz14195): Add new testcase for two empty input strings and N > 0.
20404 (test_main): Call new testcase, adapt for renamed function.
20405
9c55864e
AJ
204062012-08-15 Andreas Jaeger <aj@suse.de>
20407
20408 [BZ #14090]
20409 * crypt/md5test2.c: New test, based on test supplied by Serge
20410 Belyshev <belyshev@depni.sinp.msu.ru>.
20411 * crypt/Makefile (xtests): Add md5test-giant..
20412 * crypt/Makefile ($(objpfx)md5test-giant): Add.
20413
02dcb6c5
PE
204142012-08-15 Paul Eggert <eggert@cs.ucla.edu>
20415
20416 [BZ #14090]
20417 * crypt/md5.c (md5_process_block): Don't assume the buffer
20418 length is less than 2**32.
20419 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
20420 length is less than 2**64.
20421
a3f95dcc
RM
204222012-08-15 Roland McGrath <roland@hack.frob.com>
20423
be75d758
RM
20424 * string/str-two-way.h: Include <sys/param.h>.
20425 (MAX): Macro removed.
20426
7312ca90
RM
20427 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
20428 Move #define and #undef of memmove to just before and after
20429 including <string.h>.
20430
9a0a5486
RM
20431 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
20432 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
20433 and after including <string.h>. Move declarations of
20434 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
20435 to before #include "string/memmove.c".
20436
67cc348d
RM
20437 * include/dirent.h: Declare __getdirentries.
20438
a3f95dcc
RM
20439 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
20440 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
20441
ca98e171
MF
204422012-08-14 Mike Frysinger <vapier@gentoo.org>
20443
20444 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
20445 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
20446 * sysdeps/i386/configure: Regenerated.
20447 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
20448 STABS_CURRENT_FILE, and STABS_FUN.
20449 (END): Remove call to STABS_FUN_END.
20450 (STABS_CURRENT_FILE1): Delete.
20451 (STABS_CURRENT_FILE): Likewise.
20452 (STABS_FUN): Likewise.
20453 (STABS_FUN_END): Likewise.
20454 (STABS_FUN2): Likewise.
20455 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
20456 * sysdeps/x86_64/configure: Regenerated.
20457
5908bf46
RM
204582012-08-14 Roland McGrath <roland@hack.frob.com>
20459
20460 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 20461 * elf/dl-lookup.c: Likewise.
5908bf46 20462
f2c05b9e
JM
204632012-08-14 Joseph Myers <joseph@codesourcery.com>
20464
20465 * sysdeps/unix/sysv/linux/kernel-features.h
20466 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
20467 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
20468 unconditionally.
20469 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
20470 unconditionally.
20471 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
20472 condition on __ASSUME_CLONE_THREAD_FLAGS.
20473
e11f5155
AJ
204742012-08-14 Andreas Jaeger <aj@suse.de>
20475
20476 * sysdeps/i386/fpu/libm-test-ulps: Update.
20477
51a9ba86
MK
204782012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
20479
2fdd4f78
AJ
20480 * include/atomic.h (atomic_exchange_and_add): Split into ...
20481 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
20482 New atomic macros.
51a9ba86 20483
ba6cba9e
MT
204842012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
20485
20486 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20487
42443a47
JL
204882012-08-13 Jeff Law <law@redhat.com>
20489
20490 * manual/stdio.texi (snprintf): Clarify handling of the trailing
20491 null byte in the output string.
20492
121dce05
JM
204932012-08-10 Joseph Myers <joseph@codesourcery.com>
20494
20495 * sysdeps/unix/sysv/linux/kernel-features.h
20496 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
20497 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
20498 (__ASSUME_ARG_MAX_STACK_BASED): Define.
20499 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
20500 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
20501 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
20502 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
20503
bf51f568
JL
205042012-08-09 Jeff Law <law@redhat.com>
20505
20506 [BZ #13939]
20507 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
20508 When avoid_arena is set, don't retry in the that arena. Pick the
20509 next one, whatever it might be.
20510 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
20511 (arena_lock): Pass in new parameter to arena_get2.
20512 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
20513 arena_get2.
20514 (__libc_malloc): Unify retrying after main arena failure with
20515 __libc_memalign version.
20516 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
20517
f85fa270
L
205182012-08-09 H.J. Lu <hongjiu.lu@intel.com>
20519
20520 [BZ #14166]
20521 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
20522 to __redirect_strstr.
20523 (__strstr_sse42): Use typeof __redirect_strstr.
20524 (__strstr_ia32): Likewise.
20525 (__libc_strstr): New prototype.
20526 (strstr): Renamed to ...
20527 (__libc_strstr): This.
20528 (strstr): New strong alias of __libc_strstr.
20529 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
20530 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
20531 __redirect_time.
20532 Include <time.h>.
20533 (__libc_time): New prototype.
20534 (time_ifunc): Replace time with __libc_time.
20535 (time): New strong alias and hidden definition of __libc_time.
20536 (__GI_time): Remove strong alias.
20537 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
20538 Include <stddef.h>.
20539 (memmove): Redefined to __redirect_memmove.
20540 (__memmove_sse2): Use typeof __redirect_memmove.
20541 (__memmove_ssse3): Likewise.
20542 (__memmove_ssse3_back): Likewise.
20543 (__libc_memmove): New prototype.
20544 (memmove): Renamed to ...
20545 (__libc_memmove): This.
20546 (memmove): New strong alias of __libc_memmove.
20547
33b4a91e
MS
205482012-08-08 Mark Salter <msalter@redhat.com>
20549
20550 * elf/elf.h
20551 (R_MN10300_TLS_GD): Define.
20552 (R_MN10300_TLS_LD): Likewise.
20553 (R_MN10300_TLS_LDO): Likewise.
20554 (R_MN10300_TLS_GOTIE): Likewise.
20555 (R_MN10300_TLS_IE): Likewise.
20556 (R_MN10300_TLS_LE): Likewise.
20557 (R_MN10300_TLS_DTPMOD): Likewise.
20558 (R_MN10300_TLS_DTPOFF): Likewise.
20559 (R_MN10300_TLS_TPOFF): Likewise.
20560 (R_MN10300_SYM_DIFF): Likewise.
20561 (R_MN10300_ALIGN): Likewise.
20562 (R_MN10300_NUM): Update.
20563
b36137f1
JM
205642012-08-08 Joseph Myers <joseph@codesourcery.com>
20565
20566 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
20567 Remove.
20568
cdd915fd
RM
205692012-08-08 Roland McGrath <roland@hack.frob.com>
20570
a2433aac
RM
20571 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
20572
cdd915fd
RM
20573 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
20574 sysdeps/unix -> sysdeps/posix move.
20575 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
20576
bf9b740a
AM
205772012-08-07 Allan McRae <allan@archlinux.org>
20578
20579 [BZ #14303]
20580 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
20581 (SUNOS_CPP): Likewise.
20582 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
20583 not found.
20584 (open_input): Call CPP using execvp.
20585
93df14ee
JM
205862012-08-07 Joseph Myers <joseph@codesourcery.com>
20587
20588 * sysdeps/unix/sysv/linux/kernel-features.h
20589 (__ASSUME_PROT_GROWSUPDOWN): Remove.
20590 (__ASSUME_NO_CLONE_DETACHED): Likewise.
20591 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20592 (__ASSUME_WAITID_SYSCALL): Likewise.
20593 * sysdeps/unix/sysv/linux/dl-execstack.c
20594 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
20595 code unconditional.
20596 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
20597 conditional code.
20598 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
20599 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
20600 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
20601 code.
20602 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
20603 unconditional.
20604 [__ASSUME_WAITID_SYSCALL]: Likewise.
20605 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
20606
d34689de
RM
206072012-08-07 Roland McGrath <roland@hack.frob.com>
20608
a281decc
RM
20609 * sysdeps/unix/closedir.c: Renamed to ...
20610 * sysdeps/posix/closedir.c: ... here.
20611 * sysdeps/unix/dirfd.c: Renamed to ...
20612 * sysdeps/posix/dirfd.c: ... here.
20613 * sysdeps/unix/dirstream.h: Renamed to ...
20614 * sysdeps/posix/dirstream.h: ... here.
20615 * sysdeps/unix/fdopendir.c: Renamed to ...
20616 * sysdeps/posix/fdopendir.c: ... here.
20617 * sysdeps/unix/opendir.c: Renamed to ...
20618 * sysdeps/posix/opendir.c: ... here.
20619 * sysdeps/unix/readdir.c: Renamed to ...
20620 * sysdeps/posix/readdir.c: ... here.
20621 * sysdeps/unix/readdir_r.c: Renamed to ...
20622 * sysdeps/posix/readdir_r.c: ... here.
20623 * sysdeps/unix/rewinddir.c: Renamed to ...
20624 * sysdeps/posix/rewinddir.c: ... here.
20625 * sysdeps/unix/seekdir.c: Renamed to ...
20626 * sysdeps/posix/seekdir.c: ... here.
20627 * sysdeps/unix/telldir.c: Renamed to ...
20628 * sysdeps/posix/telldir.c: ... here.
20629 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
20630 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
20631 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
20632 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
20633
22895b47
RM
20634 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
20635 * bits/fcntl.h: ... here.
20636
707a53b6
RM
20637 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
20638 not 0.
20639 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
20640 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
20641 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
20642 (struct flock): Move l_start, l_len to the beginning.
20643 Use __pid_t for l_pid.
20644 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
20645 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
20646 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
20647 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
20648 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
20649 [__USE_LARGEFILE64] (struct flock64): New type.
20650 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
20651
f0bd3e25
RM
20652 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
20653 * bits/dirent.h: ... here.
20654
d34689de
RM
20655 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
20656 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
20657
6dad2c06
JM
206582012-08-07 Joseph Myers <joseph@codesourcery.com>
20659
20660 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20661 Change from 2.6.0 to 2.6.16.
20662 * sysdeps/unix/sysv/linux/configure: Regenerated.
20663 * sysdeps/unix/sysv/linux/kernel-features.h
20664 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
20665 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
20666 version.
20667 (__ASSUME_UTIMES): Likewise.
20668 (__ASSUME_CLONE_STOPPED): Remove.
20669 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
20670 architectures, not kernel version.
20671 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
20672 (__ASSUME_NO_CLONE_DETACHED): Likewise.
20673 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20674 (__ASSUME_WAITID_SYSCALL): Likewise.
20675 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
20676 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
20677 * README: State 2.6.16 as minimum Linux kernel version. Do not
20678 refer to older versions.
20679
03af9520
RM
206802012-08-06 Roland McGrath <roland@hack.frob.com>
20681
8e49df1d
RM
20682 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
20683 Define alphasort64 as an alias.
20684 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
20685 Define versionsort64 as an alias.
20686 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
20687 Define scandir64 as an alias.
20688 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
20689 Define scandirat64 as an alias.
20690 * dirent/alphasort64.c (alphasort64):
20691 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
20692 * dirent/versionsort64.c: Likewise.
20693 * dirent/scandir64.c: Likewise.
20694 * dirent/scandirat64.c: Likewise.
20695 * sysdeps/wordsize-64/alphasort.c: File removed.
20696 * sysdeps/wordsize-64/alphasort64.c: File removed.
20697 * sysdeps/wordsize-64/scandir.c: File removed.
20698 * sysdeps/wordsize-64/scandir64.c: File removed.
20699 * sysdeps/wordsize-64/scandirat.c: File removed.
20700 * sysdeps/wordsize-64/scandirat64.c: File removed.
20701 * sysdeps/wordsize-64/versionsort.c: File removed.
20702 * sysdeps/wordsize-64/versionsort64.c: File removed.
20703 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
20704 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
20705 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
20706 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
20707 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
20708 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
20709 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
20710 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
20711
20712 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
20713 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20714 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
20715 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20716 [defined __arch64__ || defined __sparcv9]
20717 (__INO_T_MATCHES_INO64_T): New macro.
20718 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20719 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
20720 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
20721 * sysdeps/unix/sysv/linux/bits/dirent.h
20722 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
20723 (_DIRENT_MATCHES_DIRENT64): New macro.
20724
03af9520
RM
20725 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
20726 Define lockf64 as an alias.
20727 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
20728 Define fseeko64 as an alias.
20729 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
20730 Define ftello64 as an alias.
20731 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
20732 Define _IO_fgetpos64 and fgetpos64 as aliases.
20733 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
20734 Define _IO_fsetpos64 and fsetpos64 as aliases.
20735 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
20736 Conditionalize body on this.
20737 * libio/fseeko64.c: Likewise.
20738 * libio/ftello64.c: Likewise.
20739 * libio/iofgetpos64.c: Likewise.
20740 * libio/iofsetpos64.c: Likewise.
20741 * sysdeps/wordsize-64/lockf.c: File removed.
20742 * sysdeps/wordsize-64/lockf64.c: File removed.
20743 * sysdeps/wordsize-64/fseeko.c: File removed.
20744 * sysdeps/wordsize-64/fseeko64.c: File removed.
20745 * sysdeps/wordsize-64/ftello.c: File removed.
20746 * sysdeps/wordsize-64/ftello64.c: File removed.
20747 * sysdeps/wordsize-64/iofgetpos.c: File removed.
20748 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
20749 * sysdeps/wordsize-64/iofsetpos.c: File removed.
20750 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
20751 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
20752 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
20753 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
20754 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
20755 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
20756 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
20757 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
20758 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
20759 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
20760 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
20761
20762 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20763 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20764 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
20765 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20766 [defined __arch64__ || defined __sparcv9]
20767 (__OFF_T_MATCHES_OFF64_T): New macro.
20768 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20769 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20770 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20771 (__OFF_T_MATCHES_OFF64_T): New macro.
20772
c5757acd
L
207732012-08-06 H.J. Lu <hongjiu.lu@intel.com>
20774
20775 * stdlib/secure-getenv.c (__secure_getenv): Replace
20776 GLIBC_2_16 with GLIBC_2_17.
20777
3a31811e
L
207782012-08-06 H.J. Lu <hongjiu.lu@intel.com>
20779
20780 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
20781 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20782
faa2bccb
DM
207832012-08-03 David S. Miller <davem@davemloft.net>
20784
20785 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20786
85fe1997
JM
207872012-08-03 Joseph Myers <joseph@codesourcery.com>
20788
20789 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
20790 Remove.
20791 (__ASSUME_CORRECT_SI_PID): Likewise.
20792 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
20793 (__ASSUME_TMPFS_NAME): Likewise.
20794 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
20795 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
20796 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
20797 (HAVE_AUX_SECURE): Make definition unconditional.
20798 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
20799 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
20800
4f75b7a0
RM
208012012-08-03 Roland McGrath <roland@hack.frob.com>
20802
20803 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
20804 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
20805 * sysdeps/mach/hurd/eloop-threshold.h: New file.
20806 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
20807 __eloop_threshold instead of SYMLOOP_MAX.
20808
20809 * sysdeps/generic/eloop-threshold.h: New file.
20810 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
20811 of MAXSYMLINKS.
20812 * elf/chroot_canon.c (chroot_canon): Likewise.
20813
7aab07e4
JM
208142012-08-03 Joseph Myers <joseph@codesourcery.com>
20815
20816 [BZ #13717]
20817 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20818 Change to 2.6.0 everywhere.
20819 * sysdeps/unix/sysv/linux/configure: Regenerated.
20820 * sysdeps/unix/sysv/linux/kernel-features.h
20821 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
20822 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
20823 kernel versions.
20824 (__ASSUME_POSIX_TIMERS): Define unconditionally.
20825 (__ASSUME_FUTEX_REQUEUE): Remove.
20826 (__ASSUME_STATFS64): Define unconditionally.
20827 (__ASSUME_AT_SECURE): Likewise.
20828 (__ASSUME_CORRECT_SI_PID): Likewise.
20829 (__ASSUME_TGKILL): Define without depending on kernel version for
20830 i386.
20831 (__ASSUME_UTIMES): Likewise.
20832 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
20833 kernel version.
20834 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
20835 (__ASSUME_TMPFS_NAME): Likewise.
20836 * README: Update reference to Linux kernel versions.
20837
b67e9372
MP
208382012-08-02 Marek Polacek <polacek@redhat.com>
20839
1f529f7d 20840 [BZ# 14150]
b67e9372
MP
20841 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
20842 libc_cv_asm_type_prefix with %.
20843 * configure: Regenerated.
d2441631
RM
20844 * include/libc-symbols.h: Remove comment about
20845 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
20846 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
20847 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
20848 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
20849 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
20850 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20851 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
20852 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
20853 * elf/tst-unique2mod1.c: Likewise.
20854 * elf/tst-unique1mod2.c: Likewise.
20855 * elf/tst-unique1mod1.c: Likewise.
20856 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
20857 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
20858 Replace ASM_TYPE_DIRECTIVE with .type.
20859 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20860 * sysdeps/i386/sysdep.h: Likewise.
20861 * sysdeps/x86_64/sysdep.h: Likewise.
20862 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
20863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
20864 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 20865 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
20866 * sysdeps/powerpc/powerpc32/sysdep.h:
20867 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
20868 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
20869 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20870 * sysdeps/i386/fpu/e_powf.S: Likewise.
20871 * sysdeps/i386/fpu/e_expl.S: Likewise.
20872 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20873 * sysdeps/i386/fpu/e_acosh.S: Likewise.
20874 * sysdeps/i386/fpu/e_pow.S: Likewise.
20875 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20876 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20877 * sysdeps/i386/fpu/s_expm1.S: Likewise.
20878 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20879 * sysdeps/i386/fpu/e_log2.S: Likewise.
20880 * sysdeps/i386/fpu/e_log2l.S: Likewise.
20881 * sysdeps/i386/fpu/e_scalb.S: Likewise.
20882 * sysdeps/i386/fpu/e_powl.S: Likewise.
20883 * sysdeps/i386/fpu/e_log10f.S: Likewise.
20884 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20885 * sysdeps/i386/fpu/e_logl.S: Likewise.
20886 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20887 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20888 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20889 * sysdeps/i386/fpu/e_log2f.S: Likewise.
20890 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20891 * sysdeps/i386/fpu/e_log.S: Likewise.
20892 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20893 * sysdeps/i386/fpu/e_logf.S: Likewise.
20894 * sysdeps/i386/fpu/e_log10l.S: Likewise.
20895 * sysdeps/i386/fpu/e_atanh.S: Likewise.
20896 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20897 * sysdeps/i386/fpu/e_log10.S: Likewise.
20898 * sysdeps/i386/fpu/s_frexp.S: Likewise.
20899 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20900 * sysdeps/i386/fpu/s_asinh.S: Likewise.
20901 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20902 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20903 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
20904 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20905 * sysdeps/i386/i686/strtok.S: Likewise.
20906 * sysdeps/i386/i386-mcount.S: Likewise.
20907 * sysdeps/i386/strtok.S: Likewise.
20908 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
20909 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20910 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20911 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20912 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
20913 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20914 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20915 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20916 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20917 * sysdeps/x86_64/_mcount.S: Likewise.
20918 * sysdeps/x86_64/strtok.S: Likewise.
20919 * sysdeps/sh/_mcount.S: Likewise.
20920
2747bf9a
RM
209212012-08-01 Roland McGrath <roland@hack.frob.com>
20922
20923 * libio/iofopen.c: Include <fcntl.h>.
20924 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
20925 (_IO_fopen64, fopen64): Define as aliases.
20926 * libio/iofopen64.c: Include <fcntl.h>.
20927 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
20928 Conditionalize body on this.
20929 * sysdeps/wordsize-64/iofopen.c: File removed.
20930 * sysdeps/wordsize-64/iofopen64.c: File removed.
20931
3fb791b8
MP
209322012-08-01 Marek Polacek <polacek@redhat.com>
20933
20934 * libc/Makeconfig: Use elf in place of binfmt-subdir.
20935 Use dlfcn directly instead of a variable.
20936 (binfmt-subdir): Do not define.
20937 (dlfcn): Likewise.
20938
a9f1039f
JM
209392012-08-01 Joseph Myers <joseph@codesourcery.com>
20940
23bddc06
JM
20941 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
20942 Remove all definitions.
20943 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
20944 <kernel-features.h>.
20945 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20946 (miss_F_GETOWN_EX): Remove all definitions.
20947 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
20948 macro definition.
20949 [!__ASSUME_FCNTL64]: Remove conditional code.
20950 [__ASSUME_FCNTL64]: Make code unconditional.
20951 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
20952 <kernel-features.h>.
20953 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20954 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
20955 (lockf64) [__NR_fcntl64]: Make code unconditional.
20956 (lockf64) [__ASSUME_FCNTL64]: Likewise.
20957
a9f1039f
JM
20958 * sysdeps/unix/sysv/linux/kernel-features.h
20959 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
20960 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
20961 Make code unconditional.
20962 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20963 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
20965 [__NR_vfork]: Make code unconditional.
20966 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20967 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
20969 [__NR_vfork]: Make code unconditional.
20970 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20971 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20972
09c0ee5f
RM
209732012-08-01 Roland McGrath <roland@hack.frob.com>
20974
48aec5b9
RM
20975 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
20976 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
20977
cd97c966
RM
20978 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20979 Define mkstemp64 as an alias.
3f55550c
RM
20980 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20981 Define mkstemps64 as an alias.
cd97c966
RM
20982 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20983 Define mkostemp64 as an alias.
b8625cfc
RM
20984 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20985 Define mkostemps64 as an alias.
cd97c966
RM
20986 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
20987 Conditionalize body on this.
20988 * misc/mkostemp64.c: Likewise.
b8625cfc 20989 * misc/mkostemps64.c: Likewise.
3f55550c 20990 * misc/mkstemps64.c: Likewise.
cd97c966
RM
20991 * sysdeps/wordsize-64/mkstemp64.c: File removed.
20992 * sysdeps/wordsize-64/mkostemp64.c: File removed.
20993 * sysdeps/wordsize-64/mkostemp.c: File removed.
20994 * sysdeps/wordsize-64/mkstemp.c: File removed.
20995 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
20996 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
20997 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
20998 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
20999
09c0ee5f
RM
21000 [BZ #14138]
21001 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
21002 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
21003 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
21004 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
21005
21006 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
21007 compat_symbol macros from <shlib-compat.h> rather than the underlying
21008 default_symbol_version and symbol_version macros, so that DEFAULT
21009 lines in shlib-versions are respected.
21010 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
21011
7e66ee51
FW
210122012-08-01 Florian Weimer <fweimer@redhat.com>
21013
21014 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
21015 Declare with warn_unused_result.
21016 (setgid, setregid, setegid, setresgid): Likewise.
21017 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
21018 Likewise.
21019 * WUR-REPORT: Remove set*id functions.
21020
d2a54255
PT
210212012-07-31 Pino Toscano <toscano.pino@tiscali.it>
21022
21023 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
21024
7ecdb005
RM
210252012-07-31 Roland McGrath <roland@hack.frob.com>
21026
b4180a5e 21027 [BZ #10191]
789bd351
RM
21028 * include/sys/socket.h (__libc_accept, __libc_accept4):
21029 Add attribute_hidden.
21030 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
21031
40ce302d
RM
21032 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
21033 use of PTR_MANGLE.
21034 * inet/getnetgrent_r.c (setup): Likewise.
21035
7ecdb005
RM
21036 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
21037
e2eabb2c
DM
210382012-07-31 David S. Miller <davem@davemloft.net>
21039
21040 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21041
d0419dbf
JM
210422012-07-31 Joseph Myers <joseph@codesourcery.com>
21043
21044 [BZ #13629]
21045 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
21046 value between 1.0 and 2.0 and smaller part has absolute value less
21047 than 1.0.
21048 * math/s_clog10.c (__clog10): Likewise.
21049 * math/s_clog10f.c (__clog10f): Likewise.
21050 * math/s_clog10l.c (__clog10l): Likewise.
21051 * math/s_clogf.c (__clogf): Likewise.
21052 * math/s_clogl.c (__clogl): Likewise.
21053 * math/libm-test.inc (clog_test): Add more tests.
21054 (clog10_test): Likewise.
21055 * sysdeps/i386/fpu/libm-test-ulps: Update.
21056 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21057
2bc13872
FW
210582012-07-31 Florian Weimer <fweimer@redhat.com>
21059
21060 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
21061 Exit with zero in case no suitable GID is found, and write a
21062 message to standard error.
21063
bea9b193
RM
210642012-07-30 Roland McGrath <roland@hack.frob.com>
21065
21066 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
21067 rather than to 1.
21068 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
21069 (MAXPATHLEN): Removed.
21070 (NOGROUP, NODEV): New macros.
21071 (setbit, clrbit, isset, isclr): New macros.
21072 (howmany, roundup, powerof2): New macros.
21073 (DEV_BSIZE): New macro.
21074
21075 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
21076 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
21077
21078 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
21079 definition on [!__NO_LONG_DOUBLE_MATH].
21080
21081 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
21082 PTR_MANGLE and PTR_DEMANGLE.
21083
21084 * socket/accept4.c (accept4): Rename to __libc_accept4.
21085 Define accept4 as a weak alias.
21086
21087 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
21088 on [_DIRENT_HAVE_D_TYPE].
21089 * io/ftw.c (ftw_dir): Likewise.
21090
21091 * io/xmknod.c (__xmknod): Don't check PATH for being null.
21092
21093 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
21094
21095 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
21096 Use the BSD numbers rather than the arbitrary ones we had.
21097 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
21098 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
21099 (SIGXCPU, SIGXFSZ): New macros.
21100 (_NSIG): Now 32.
21101
21102 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
21103 initializer on [_LIBC_REENTRANT].
21104
21105 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
21106 definitions inside [_POSIX_MAPPED_FILES].
21107
21108 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
21109
21110 * dirent/opendir.c: Include <fcntl.h>.
21111
21112 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
21113 (__libc_getspecific): Likewise.
21114 (__libc_key_create): Likewise.
21115
21116 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
21117 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
21118 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
21119 (tmpfile64): Define as alias.
21120 * sysdeps/wordsize-64/tmpfile.c: File removed.
21121 * sysdeps/wordsize-64/tmpfile64.c: File removed.
21122 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
21123 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
21124
21125 * stdio-common/vfscanf.c: Include <stdbool.h>.
21126 * nss/makedb.c: Likewise.
21127 * stdio-common/_i18n_number.h: Likewise.
21128 * argp/argp-help.c: Likewise.
21129 * posix/wordexp.c: Likewise.
21130 * sysdeps/posix/spawni.c: Likewise.
21131 * nss/nss_files/files-initgroups.c: Likewise.
21132 * stdio-common/reg-modifier.c: Include <stdlib.h>.
21133 * nss/nss_files/files-initgroups.c: Likewise.
21134 * nss/nss_db/db-netgrp.c: Likewise.
21135 * nss/nss_db/db-initgroups.c: Likewise.
21136 * io/fchmodat.c: Include <sys/stat.h>.
21137
21138 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
21139 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
21140
21141 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
21142 [HAVE_MMAP].
21143
21144 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
21145 Add multiple inclusion protection.
21146
e5abc686
DM
211472012-07-27 David S. Miller <davem@davemloft.net>
21148
21149 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21150
815e6fa3
GB
211512012-07-27 Gary Benson <gbenson@redhat.com>
21152
21153 [BZ #14298]
21154 * elf/rtld.c: Include <stap-probe.h>.
21155 (dl_main): Added static probes "init_start" and "init_complete".
21156 * elf/dl-load.c: Include <stap-probe.h>.
21157 (lose): Take new parameter "nsid".
21158 Added static probe "map_failed".
21159 (_dl_map_object_from_fd): Pass namespace id to lose.
21160 Added static probe "map_start".
21161 (open_verify): Pass namespace id to lose.
21162 * elf/dl-open.c: Include <stap-probe.h>.
21163 (dl_open_worker) Added static probes "map_complete", "reloc_start"
21164 and "reloc_complete".
21165 * elf/dl-close.c: Include <stap-probe.h>.
21166 (_dl_close_worker): Added static probes "unmap_start" and
21167 "unmap_complete".
21168 * elf/rtld-debugger-interface.txt: New file documenting the above.
21169
9f98c16c
RM
211702012-07-26 Roland McGrath <roland@hack.frob.com>
21171
21172 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
21173 rather than a string variable.
21174 * sunrpc/rpc_main.c (h_output): Likewise.
21175 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
21176
f3c22df3
PT
211772012-07-26 Pino Toscano <toscano.pino@tiscali.it>
21178
21179 * inet/check_native.c: New file.
21180
3129cfc6
JM
211812012-07-26 Joseph Myers <joseph@codesourcery.com>
21182
da865e95
JM
21183 [BZ #13629]
21184 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
21185 if larger part has absolute value 1.0.
21186 * math/s_clog10.c (__clog10): Likewise.
21187 * math/s_clog10f.c (__clog10f): Likewise.
21188 * math/s_clog10l.c (__clog10l): Likewise.
21189 * math/s_clogf.c (__clogf): Likewise.
21190 * math/s_clogl.c (__clogl): Likewise.
21191 * math/libm-test.inc (clog_test): Add more tests.
21192 (clog10_test): Likewise.
21193 * sysdeps/i386/fpu/libm-test-ulps: Update.
21194 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21195
3129cfc6
JM
21196 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
21197 (pltexit): Likewise.
21198 (La_regs): Likewise.
21199 (La_retval): Likewise.
21200 (int_retval): Likewise.
21201 Update #error for removed macros to refer only to definitions in
21202 tst-audit.h.
21203 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
21204 macro.
21205 (pltexit): Likewise.
21206 (La_regs): Likewise.
21207 (La_retval): Likewise.
21208 (int_retval): Likewise.
21209 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
21210 macro.
21211 (pltexit): Likewise.
21212 (La_regs): Likewise.
21213 (La_retval): Likewise.
21214 (int_retval): Likewise.
21215 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
21216 macro.
21217 (pltexit): Likewise.
21218 (La_regs): Likewise.
21219 (La_retval): Likewise.
21220 (int_retval): Likewise.
21221 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
21222 macro.
21223 (pltexit): Likewise.
21224 (La_regs): Likewise.
21225 (La_retval): Likewise.
21226 (int_retval): Likewise.
21227 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
21228 macro.
21229 (pltexit): Likewise.
21230 (La_regs): Likewise.
21231 (La_retval): Likewise.
21232 (int_retval): Likewise.
21233 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
21234 macro.
21235 (pltexit): Likewise.
21236 (La_regs): Likewise.
21237 (La_retval): Likewise.
21238 (int_retval): Likewise.
21239 * sysdeps/generic/tst-audit.h: Update comment to refer only to
21240 macro definitions in tst-audit.h.
21241 * sysdeps/i386/tst-audit.h: New file.
21242 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
21243 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
21244 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
21245 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
21246 * sysdeps/sh/tst-audit.h: Likewise.
21247 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
21248 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
21249 * sysdeps/x86_64/tst-audit.h: Likewise.
21250
bfc07087
AJ
212512012-07-26 Andreas Jaeger <aj@suse.de>
21252
b1b2aaf8
AJ
21253 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
21254 ptrace.
21255
21256 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
21257 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
21258 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
21259 PTRACE_O_MASK.
21260 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
21261 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
21262 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
21263
bfc07087
AJ
21264 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
21265 value.
21266
21267 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
21268 _sigsys.
21269 (si_call_addr, si_syscall, si_arch): Define new macro.
21270 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
21271 _sigsys.
21272 (si_call_addr, si_syscall, si_arch): Define new marcro.
21273 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
21274 _sigsys.
21275 (si_call_addr, si_syscall, si_arch): Define new macro.
21276 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
21277 _sigsys.
21278 (si_call_addr, si_syscall, si_arch): Define new macro.
21279
89b4b02f
JM
212802012-07-25 Joseph Myers <joseph@codesourcery.com>
21281
21282 [BZ #13717]
21283 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21284 Change to 2.4.21 where previously 2.4.1.
21285 * sysdeps/unix/sysv/linux/configure: Regenerated.
21286 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
21287 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
21288 Linux kernel version.
21289 (__ASSUME_STD_AUXV): Remove.
21290 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
21291 kernel version.
21292 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
21293 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
21294 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
21295 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
21296 (__ASSUME_NETLINK_SUPPORT): Likewise.
21297 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
21298 (__no_netlink_support): Remove conditional definition.
21299 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
21300 Remove.
21301 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
21302 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
21303 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
21304 (if_nameindex_ioctl): Remove.
21305 (if_nameindex_netlink): Do not handle __no_netlink_support.
21306 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
21307 code.
21308 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
21309 Remove conditional code.
21310 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
21311 code.
21312 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
21313 unconditional.
21314 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
21315 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
21316 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
21317 Remove.
21318 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
21319 [!__ASSUME_STD_AUXV]: Remove conditional code.
21320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
21321 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
21322 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
21323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
21324 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
21325 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
21326 code.
21327 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
21328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21329 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
21330 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
21331 conditional code.
21332 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
21333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
21334 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
21335 code.
21336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21337 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
21338 conditional code.
21339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
21340 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21341 code unconditional.
21342 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21343 conditional code.
21344 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21345 unconditional.
21346 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21347 conditional code.
21348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21349 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21350 unconditional.
21351 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21352 conditional code.
21353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
21354 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21355 code unconditional.
21356 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21357 conditional code.
21358 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21359 unconditional.
21360 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21361 conditional code.
21362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
21363 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21364 code unconditional.
21365 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21366 conditional code.
21367 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21368 unconditional.
21369 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21370 conditional code.
21371
842a39cd
AS
213722012-07-25 Andreas Schwab <schwab@linux-m68k.org>
21373
21374 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
21375 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
21376 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
21377 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
21378 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
21379 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
21380 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
21381 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
21382 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
21383 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
21384 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
21385 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
21386 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
21387 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
21388 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
21389 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
21390 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
21391 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
21392 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
21393 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
21394 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
21395 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
21396 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
21397
84b3fd84
FW
213982012-07-25 Florian Weimer <fweimer@redhat.com>
21399
21400 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
21401 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
21402 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
21403 Introduce __libc_secure_getenv.
0c7936d5
FW
21404 * stdlib/Versions (2.17): Add secure_getenv
21405 (GLIBC_PRIVATE): Add __libc_secure_getenv.
21406 * stdlib/secure-getenv.c: Rename __secure_getenv to
21407 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
21408 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
21409 * stdlib/tst-secure-getenv.c: New.
21410 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
21411 * manual/startup.texi (Environment Access): Document
21412 secure_getenv.
84b3fd84
FW
21413 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
21414 __libc_secure_getenv.
21415 * inet/ruserpass.c (ruserpass): Likewise.
21416 * malloc/mtrace.c (mtrace): Likewise.
21417 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 21418 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
21419 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
21420 * sysdeps/posix/tempname.c: Likewise. Evaluate
21421 HAVE_SECURE_GETENV.
21422 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 21423 __secure_getenv to __libc_secure_getenv.
84b3fd84 21424 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
21425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21426 Likewise.
21427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21428 Likewise.
21429 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
21430 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
21431 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21432 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
21433 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
21434 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21435 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 21436
56e49b71
JM
214372012-07-25 Joseph Myers <joseph@codesourcery.com>
21438
21439 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
21440 (struct La_i86_retval): Likewise.
21441 (struct La_x86_64_regs): Likewise.
21442 (struct La_x86_64_retval): Likewise.
21443 (struct La_x32_regs): Likewise.
21444 (struct La_x32_retval): Likewise.
21445 (struct La_ppc32_regs): Likewise.
21446 (struct La_ppc32_retval): Likewise.
21447 (struct La_ppc64_regs): Likewise.
21448 (struct La_ppc64_retval): Likewise.
21449 (struct La_sh_regs): Likewise.
21450 (struct La_sh_retval): Likewise.
21451 (struct La_s390_32_regs): Likewise.
21452 (struct La_s390_32_retval): Likewise.
21453 (struct La_s390_64_regs): Likewise.
21454 (struct La_s390_64_retval): Likewise.
21455 (struct La_sparc32_regs): Likewise.
21456 (struct La_sparc32_retval): Likewise.
21457 (struct La_sparc64_regs): Likewise.
21458 (struct La_sparc64_retval): Likewise.
21459 (struct audit_ifaces): Remove architecture-specific pltenter and
21460 pltexit members.
21461 * sysdeps/i386/ldsodefs.h: New file.
21462 * sysdeps/powerpc/ldsodefs.h: Likewise.
21463 * sysdeps/s390/ldsodefs.h: Likewise.
21464 * sysdeps/sh/ldsodefs.h: Likewise.
21465 * sysdeps/sparc/ldsodefs.h: Likewise.
21466 * sysdeps/x86_64/ldsodefs.h: Likewise.
21467
354691b7
MP
214682012-07-25 Marek Polacek <polacek@redhat.com>
21469
21470 [BZ #6808]
21471 * math/libm-test.inc (yn_test): Add another test.
21472 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
21473 to ERANGE when the result is +-Inf.
21474 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
21475 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
21476 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
21477 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
21478
bf9e2071
JM
214792012-07-24 Joseph Myers <joseph@codesourcery.com>
21480
21481 * conform/data/time.h-data (NULL): Use macro-constant. Require
21482 equal to 0.
21483 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
21484 clock_t.
21485 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
21486
57633811
TS
214872012-07-23 Thomas Schwinge <thomas@codesourcery.com>
21488
21489 * configure.in <sysdeps resolving>: Correct printing
21490 Implies_before.
21491 * configure: Regenerate.
21492
c23c33b0
TS
214932012-07-22 Thomas Schwinge <thomas@codesourcery.com>
21494
21495 * math/w_ilogb.c: Include <limits.h>.
21496 * math/w_ilogbl.c: Likewise.
21497
b5982523
JM
214982012-07-20 Joseph Myers <joseph@codesourcery.com>
21499
21500 * manual/lang.texi (__va_copy): Document primarily as ISO C99
21501 va_copy. Document allowing for unavailable va_copy only as
21502 pre-C99 compatibility.
21503 * manual/string.texi (Copying and Concatenation): Use va_copy
21504 instead of __va_copy in concat example.
21505
ac4ea442
PT
215062012-07-20 Pino Toscano <toscano.pino@tiscali.it>
21507
21508 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
21509 (__sendto): Use create_address_port. Initialize APORT and deallocate
21510 it if not null.
21511
f98eafbd
PT
21512 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
21513 with O_NOLINK passed to __file_name_lookup.
21514
898c7aab
PT
21515 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
21516 with O_NOLINK passed to __file_name_lookup.
21517
0ced335a
PT
21518 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
21519 negative N or less than NGIDS.
21520
b3404dbd
PT
21521 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
21522 type to string_t. Set ERANGE as errno and return it if NAME is not big
21523 enough. Use memcpy instead of strncpy.
21524
0f48659e
JM
215252012-07-20 Joseph Myers <joseph@codesourcery.com>
21526
21527 * elf/Makefile (check-data): Remove.
21528 (localplt.data): New vpath directive.
21529 ($(objpfx)check-localplt.out): Use localplt.data from vpath
21530 instead of $(check-data).
21531 * scripts/data/localplt-generic.data: Move to ...
21532 * sysdeps/generic/localplt.data: ... here.
21533 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
21534 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
21535 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
21536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
21537 ... here.
21538 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
21539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
21540 ... here.
21541 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
21542 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
21543 ... here.
21544 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
21545 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
21546 ... here.
21547 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
21548 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
21549 ... here.
21550 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
21551 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
21552 ... here.
21553
d37cbdaa
AZ
215542012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21555
21556 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
21557 PPC32 and PPC64 files.
21558 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
21559 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
21560
46f85fc2
AK
215612012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21562
21563 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
21564 __makecontext_ret to ...
21565 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
21566 ... here and call exit if uc_link is NULL. New file.
21567 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
21568 __makecontext_ret.S.
21569 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
21570 __makecontext_ret to ...
21571 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
21572 ... here and call exit if uc_link is NULL. New file.
21573 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
21574 __makecontext_ret.S.
21575
08f43f9b
AK
215762012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21577
21578 * elf/elf.h (R_390_IRELATIVE): New definition.
21579 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
21580 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
21581 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
21582 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
21583 (elf_machine_lazy_rel): Likewise.
21584 * sysdeps/s390/dl-irel.h: New file.
21585 * sysdeps/s390/s390-64/memcpy.S: New asm code.
21586 * sysdeps/s390/s390-64/memset.S: New asm code.
21587 * sysdeps/s390/s390-64/memcmp.S: New asm code.
21588 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
21589 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
21590 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
21591 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
21592 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
21593 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
21594 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
21595 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
21596 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
21597 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
21598 * sysdeps/s390/s390-32/memcpy.S: New asm code.
21599 * sysdeps/s390/s390-32/memset.S: New asm code.
21600 * sysdeps/s390/s390-32/memcmp.S: New asm code.
21601
3b05db33
MP
216022012-07-17 Marek Polacek <polacek@redhat.com>
21603
21604 [BZ #14349]
21605 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
21606 * sysdeps/s390/s390-64/configure.in: Likewise.
21607 * sysdeps/sparc/configure.in: Likewise.
21608 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
21609 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
21610 * sysdeps/i386/configure.in: Likewise.
21611 * sysdeps/x86_64/configure.in: Likewise.
21612 * sysdeps/sh/configure.in: Likewise.
21613 * sysdeps/s390/s390-32/configure: Regenerated.
21614 * sysdeps/s390/s390-64/configure: Likewise.
21615 * sysdeps/x86_64/configure: Likewise.
21616 * sysdeps/sh/configure: Likewise.
21617 * sysdeps/powerpc/powerpc64/configure: Likewise.
21618 * sysdeps/powerpc/powerpc32/configure: Likewise.
21619 * sysdeps/sparc/configure: Likwise.
21620 * sysdeps/i386/configure: Likewise.
21621
a66877c6
MP
21622 * elf/dl-open.c: Comment fixes.
21623
cfc82fd8
JM
216242012-07-17 Joseph Myers <joseph@codesourcery.com>
21625
bd29910a
JM
21626 * Makefile [CXX] (check-data): Remove.
21627 [CXX] (c++-types.data): New vpath directive.
21628 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
21629 vpath. Do not allow for C++ type data being missing.
21630 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
21631 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
21632 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
21633 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
21634 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
21635 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
21636 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
21637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
21638 ... here.
21639 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
21640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
21641 ... here.
21642 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
21643 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
21644 ... here.
21645 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
21646 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
21647 ... here.
21648 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
21649 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
21650 ... here.
21651 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
21652 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
21653 ... here.
21654 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
21655 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
21656 ... here.
21657 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
21658 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
21659
cfc82fd8
JM
21660 * elf/tls-macros.h (TLS_LE): Move architecture-specific
21661 definitions to architecture-specific files.
21662 (TLS_IE): Likewise.
21663 (TLS_LD): Likewise.
21664 (TLS_GD): Likewise.
21665 * sysdeps/i386/tls-macros.h: New file.
21666 * sysdeps/powerpc/tls-macros.h: Likewise.
21667 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
21668 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
21669 * sysdeps/sh/tls-macros.h: Likewise.
21670 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
21671 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
21672 * sysdeps/x86_64/tls-macros.h: Likewise.
21673
f7db3170
TS
216742012-07-17 Thomas Schwinge <thomas@codesourcery.com>
21675
07cbfc23
TS
21676 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
21677 zero value for regular exit case.
21678
f7db3170
TS
21679 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
21680 (__start_context): Preserve zero value for regular exit case.
21681
dc97c227
TS
216822012-07-17 Thomas Schwinge <thomas@codesourcery.com>
21683 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21684
21685 * manual/setjmp.texi (setcontext): Clarify normal process
21686 termination when uc_link is the null pointer.
21687 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
21688 exit call.
21689
d0cd7d02
AS
216902012-07-16 Andreas Schwab <schwab@linux-m68k.org>
21691
21692 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
21693 preprocessor. Test for each exception mask separately.
21694
dd318934
AJ
216952012-07-16 Andreas Jaeger <aj@suse.de>
21696
21697 * po/ru.po: Update from translation team.
21698
8048311a
JM
216992012-07-15 Joseph Myers <joseph@codesourcery.com>
21700
21701 * conform/data/string.h-data (NULL): Use macro-constant. Require
21702 equal to 0.
21703 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
21704 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
21705 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
21706 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
21707 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21708
b637d46e
AJ
217092012-07-13 Andreas Jaeger <aj@suse.de>
21710
21711 * po/fr.po: Update from translation team.
21712
541428fe
MP
217132012-07-12 Marek Polacek <polacek@redhat.com>
21714
21715 [BZ #14173]
21716 * math/libm-test.inc (yn_test): Add test for BZ #14173.
21717 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
21718 loop condition.
21719
ec332e94
JM
217202012-07-12 Joseph Myers <joseph@codesourcery.com>
21721
21722 [BZ #13717]
21723 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21724 Change to 2.4.1 where previously 2.4.0.
21725 * sysdeps/unix/sysv/linux/configure: Regenerated.
21726 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
21727 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
21728 version.
21729 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
21730 (__ASSUME_AT_CLKTCK): Remove.
21731 (__ASSUME_AT_PAGESIZE): Likewise.
21732 (__ASSUME_AT_XID): Likewise.
21733 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
21734 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
21735 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
21736 unconditionally.
21737 (HAVE_AUX_PAGESIZE): Likewise.
21738 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
21739 [__ASSUME_AT_CLKTCK]: Make code unconditional.
21740 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
21741
7b6e99be
JB
217422012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
21743
21744 [BZ #14307]
21745 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
21746 the temporary buffer used to invoke __gethostbyname2_r,
21747 __gethostbyaddr_r and gethostbyname4_r to make room for struct
21748 host_data / struct gaih_addrtuple.
21749 * resolv/nss_dns/dns-host.c (global scope): Move definition of
21750 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
21751 header file nss/nsswitch.h.
21752 * nss/nsswitch.h (global scope): Add definition of implementation
21753 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
21754 resolv/nss_dns/dns-host.c).
21755
608404eb
AJ
217562012-07-11 Andreas Jaeger <aj@suse.de>
21757
21758 * po/fr.po: Update from translation team.
21759
71220aca
AJ
21760 * po/sv.po: Update from translation team
21761 * po/fr.po: Another update from translation team.
21762
28cfe843
AZ
217632012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21764
21765 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
21766 for subnormals or multiply small sinh result by itself.
21767 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21768 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21769
6b90f981
DM
217702012-07-11 David S. Miller <davem@davemloft.net>
21771
21772 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21773
c6825772
AS
217742012-07-10 Andreas Schwab <schwab@linux-m68k.org>
21775
21776 [BZ #14347]
21777 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
21778 (INTERNAL_MARK): Shift it here.
21779
7b8e0d49
MP
217802012-07-10 Marek Polacek <polacek@redhat.com>
21781
21782 [BZ #14151]
21783 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
21784 libc_cv_asm_global_directive with .globl.
21785 * configure: Regenerated.
21786 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
21787 with .globl.
21788 * sysdeps/i386/configure: Regenerated.
21789 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
21790 with .globl.
21791 * sysdeps/x86_64/configure: Regenerated.
21792 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
21793 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
21794 * elf/tst-unique2mod2.c: Likewise.
21795 * elf/tst-unique2mod1.c: Likewise.
21796 * elf/tst-unique1mod2.c: Likewise.
21797 * elf/tst-unique1mod1.c: Likewise.
21798 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21799 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
21800 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21801 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21802 * sysdeps/mach/sysdep.h: Likewise.
21803 * sysdeps/i386/sysdep.h: Likewise.
21804 * sysdeps/i386/i386-mcount.S: Likewise.
21805 * sysdeps/x86_64/_mcount.S: Likewise.
21806 * sysdeps/x86_64/sysdep.h: Likewise.
21807 * sysdeps/sh/_mcount.S: Likewise.
21808 * sysdeps/sh/sysdep.h: Likewise.
21809 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
21810 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
21811 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
21812 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21813 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
21814 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
21815 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
21816 * locale/localeinfo.h: Likewise.
21817 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
21818 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
21819
6c55cda3
RM
218202012-07-09 Roland McGrath <roland@hack.frob.com>
21821
21822 [BZ #14336]
21823 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
21824 system".
21825 * manual/message.texi (The Uniforum approach): Likewise.
21826 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
21827 (glibc iconv Implementation): Likewise.
21828
638a572e
JM
218292012-07-09 Joseph Myers <joseph@codesourcery.com>
21830
21831 [BZ #14337]
21832 * math/s_clog.c (__clog): Avoid scaling a value down where that
21833 could result in underflow.
21834 * math/s_clog10.c (__clog10): Likewise.
21835 * math/s_clog10f.c (__clog10f): Likewise.
21836 * math/s_clog10l.c (__clog10l): Likewise.
21837 * math/s_clogf.c (__clogf): Likewise.
21838 * math/s_clogl.c (__clogl): Likewise.
21839 * math/libm-test.inc (clog_test): Add more tests.
21840 (clog10_test): Likewise.
21841 * sysdeps/i386/fpu/libm-test-ulps: Update.
21842 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21843
261f4859
AS
218442012-07-06 Andreas Schwab <schwab@linux-m68k.org>
21845
0abaf3e4
AS
21846 [BZ #14283]
21847 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
21848 by 7 not 8 to examine high bit of fractional part.
21849
261f4859
AS
21850 [BZ #14042]
21851 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
21852 for call to __mcount_internal.
21853 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
21854 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
21855 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
21856
f17ac40d
JM
218572012-07-06 Joseph Myers <joseph@codesourcery.com>
21858
9ad63c23
JM
21859 [BZ #14154]
21860 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
21861 approximation for values within 0x1p-13f of an odd multiple of
21862 pi/4.
21863 * math/libm-test.inc (tan_test): Do not allow spurious underflow
21864 exception. Add more tests.
21865 * sysdeps/i386/fpu/libm-test-ulps: Update.
21866
f17ac40d
JM
21867 [BZ #6778]
21868 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
21869 inputs and return -1 for them. Do not check for +Inf in case not
21870 reachable for +Inf.
21871 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
21872 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
21873 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21874 and return -1 for them. Do not check for +Inf in case not
21875 reachable for +Inf.
21876 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
21877 define.
21878 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21879 and return -1 for them. Do not check for +Inf in case not
21880 reachable for +Inf.
21881 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
21882 spurious underflow.
21883 * sysdeps/i386/fpu/libm-test-ulps: Update.
21884 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21885
fb21f89b
MF
218862012-07-06 Mike Frysinger <vapier@gentoo.org>
21887
21888 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
21889
cdfe2c5e
JM
218902012-07-05 Joseph Myers <joseph@codesourcery.com>
21891
21892 [BZ #14157]
21893 [BZ #14331]
21894 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
21895 could result in spurious underflow. Scale down values above
21896 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
21897 * math/s_csqrtf.c (__csqrtf): Likewise.
21898 * math/s_csqrtl.c (__csqrtl): Likewise.
21899 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
21900 spurious underflow.
21901 * sysdeps/i386/fpu/libm-test-ulps: Update.
21902 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21903
70d35b67
AS
219042012-07-04 Andreas Schwab <schwab@linux-m68k.org>
21905
704bc459
AS
21906 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
21907 xopen-msg.sed.
21908 * catgets/xopen-msg.awk: New file.
21909 * catgets/xopen-msg.sed: Removed.
21910
70d35b67
AS
21911 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
21912 po2text.sed.
21913 * intl/po2test.awk: New file.
21914 * intl/po2test.sed: Removed.
21915
ca61cf32
JM
219162012-07-04 Joseph Myers <joseph@codesourcery.com>
21917
21918 [BZ #14328]
21919 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
21920 or multiply small sinh result by itself.
21921 * math/s_ctanf.c (__ctanf): Likewise.
21922 * math/s_ctanh.c (__ctanh): Likewise.
21923 * math/s_ctanhf.c (__ctanhf): Likewise.
21924 * math/s_ctanhl.c (__ctanhl): Likewise.
21925 * math/s_ctanl.c (__ctanl): Likewise.
21926 * math/libm-test.inc (ctan_test_tonearest): New function.
21927 (ctan_test_towardzero): Likewise.
21928 (ctan_test_downward): Likewise.
21929 (ctan_test_upward): Likewise.
21930 (ctanh_test_tonearest): Likewise.
21931 (ctanh_test_towardzero): Likewise.
21932 (ctanh_test_downward): Likewise.
21933 (ctanh_test_upward): Likewise.
21934 (main): Call these new functions.
21935 * sysdeps/i386/fpu/libm-test-ulps: Update.
21936 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21937
ca48a46a
MF
219382012-07-03 Mike Frysinger <vapier@gentoo.org>
21939
21940 * .gitignore: Delete /ports entry.
21941
9d63d37d
AJ
219422012-07-03 Andreas Jaeger <aj@suse.de>
21943
21944 * po/bg.po: Update from translation team.
21945 * po/cs.po: Likewise.
21946 * po/de.po: Likewise.
21947 * po/hr.po: Likewise.
21948 * po/nl.pl: Likewise.
21949 * po/pl.po: Likewise.
21950 * po/vi.po: Likewise.
21951
370ca3d2
JM
219522012-07-03 Joseph Myers <joseph@codesourcery.com>
21953
95f5a9a8
JM
21954 * Makeconfig [!+link] (+link-before-libc): New variable.
21955 [!+link] (+link-after-libc): Likewise.
21956 [!+link] (+link-tests): Likewise.
21957 [!+link] (+link): Define in terms of $(+link-before-libc) and
21958 $(+link-after-libc).
21959 [!+link-static] (+link-static-before-libc): New variable.
21960 [!+link-static] (+link-static-after-libc): Likewise.
21961 [!+link-static] (+link-static-tests): Likewise.
21962 [!+link-static] (+link-static): Define in terms of
21963 $(+link-static-before-libc) and $(+link-static-after-libc).
21964 [build-shared] (link-libc-before-gnulib): New variable.
21965 [build-shared] (link-libc-tests): Likewise.
21966 [build-shared] (link-libc): Define in terms of
21967 $(link-libc-before-gnulib).
21968 [!build-shared] (link-libc-tests): New variable.
21969 (link-libc-static-tests): New variable.
21970 [!gnulib] (gnulib-arch): New variable.
21971 [!gnulib] (gnulib-tests): Likewise.
21972 [!gnulib] (static-gnulib-arch): Likewise.
21973 [!gnulib] (static-gnulib-tests): Likewise.
21974 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
21975 Define with "=" instead of ":=".
21976 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
21977 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
21978 * Rules (binaries-all-notests): New variable.
21979 (binaries-all-tests): Likewise.
21980 (binaries-static-notests): Likewise.
21981 (binaries-static-tests): Likewise.
21982 (binaries-all): Define using $(binaries-all-notests) and
21983 $(binaries-all-tests).
21984 (binaries-static): Define using $(binaries-static-notests) and
21985 $(binaries-static-tests).
21986 (binaries-shared-tests): New variable.
21987 (binaries-shared-notests): Likewise.
21988 (binaries-shared): Remove variable.
21989 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
21990 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
21991 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
21992 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
21993 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
21994 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
21995 * elf/Makefile (sln-modules): New variable.
21996 (extra-objs): Add $(sln-modules:=.o).
21997 (ldconfig-modules): Add static-stubs.
21998 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
21999 * elf/static-stubs.c: New file.
22000
7a845b2c
JM
22001 [BZ #14283]
22002 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
22003 by 7 not 8 to examine high bit of fractional part. Use volatile
22004 variables when splitting into final array of floats if
22005 __FLT_EVAL_METHOD__ != 0.
22006 * math/libm-test.inc (cos_test): Add another test.
22007 (sin_test): Likewise.
22008 * sysdeps/i386/fpu/libm-test-ulps: Update.
22009
e2283f38
JM
22010 [BZ #14273]
22011 * math/libm-test.inc (cosh_test): Add more tests.
22012
370ca3d2
JM
22013 * version.h (RELEASE): Set to "development".
22014 (VERSION): Set to "2.16.90".
22015
ee9247c3
CD
220162012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
22017
22018 * NEWS: Update copyright. Remove last-updated date.
22019 Mention math library bug fixes and timezone data changes.
22020 * README: Mention GNU/Hurd, x32, and HPPA support status.
22021
4648c381
TS
220222012-06-28 Thomas Schwinge <thomas@codesourcery.com>
22023
22024 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
22025
aac78a43
AJ
220262012-06-27 Andreas Jaeger <aj@suse.de>
22027
22028 * manual/contrib.texi (Contributors): Add Samuel Thibault.
22029
ed3dbfad
AJ
220302012-06-25 Andreas Jaeger <aj@suse.de>
22031
22032 * sysdeps/s390/fpu/libm-test-ulps: Update.
22033
4d0ee855
AS
220342012-06-23 Andreas Schwab <schwab@linux-m68k.org>
22035 Thomas Schwinge <thomas@codesourcery.com>
22036
22037 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
22038 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
22039 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
22040 fanotify_mark.
22041
af1bce34
TS
220422012-06-23 Thomas Schwinge <thomas@codesourcery.com>
22043
a9fa33ba
TS
22044 * sysdeps/mach/start.c: Remove file.
22045 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
22046 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
22047 * sysdeps/sh/init-first.c: Likewise.
22048
58f902b8
TS
22049 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
22050 registers for frame unwinding purposes, add CFI directives.
22051 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
22052 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
22053 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
22054 Likewise.
22055
1518f58b
TS
22056 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
22057 __fortify_fail returning.
22058 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
22059
db9b5059
TS
22060 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
22061 sysdeps/sh/____longjmp_chk.S.
22062 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
22063 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
22064 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
22065 (gen-as-const-headers): Append sigaltstack-offsets.sym.
22066
967705fe
TS
22067 * sysdeps/sh/abort-instr.h: New file.
22068 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
22069 process in case exit returns.
22070
a9def8c4
TS
22071 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
22072 initialize the GOT register before use.
22073
2a649725
TS
22074 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
22075 calculation of ARGC > 4.
22076
af1bce34
TS
22077 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
22078 meaningful names to some local labels.
22079
d230f50a
KK
220802012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22081 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22082
22083 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
22084 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
22085 (__arch_compare_and_exchange_val_16_acq): Likewise.
22086 (__arch_compare_and_exchange_val_32_acq): Likewise.
22087 (atomic_exchange_and_add): Fix gUSA sequence.
22088 (atomic_add): Likewise.
22089 (atomic_add_negative): Likewise.
22090 (atomic_add_zero): Likewise.
22091 (atomic_bit_test_set): Likewise.
22092
0479b305
AS
220932012-06-22 Andreas Schwab <schwab@redhat.com>
22094
22095 [BZ #13579]
22096 * include/link.h (struct link_map): Add l_free_initfini.
22097 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
22098 l_initfini.
22099 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
22100 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
22101 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
22102 set.
22103
0e3933b9
CD
221042012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
22105
22106 * configure.in: Use AC_LANG_SOURCE.
22107 * configure: Regenerate.
22108
4248b1b1
RM
221092012-06-22 Roland McGrath <roland@hack.frob.com>
22110
22111 * configure.in (libc_cv_localstatedir): New substituted variable.
22112 * configure: Regenerated.
22113 * config.make.in (localstatedir): New variable, substituted from
22114 libc_cv_localstatedir.
22115 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
22116 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
22117 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
22118 * sysdeps/gnu/configure: Regenerated.
22119
006dd861
JL
221202012-06-21 Jeff Law <law@redhat.com>
22121
22122 [BZ #14277]
22123 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
22124 free. Simplify list management for _LIBC case.
22125
79662d42
JM
221262012-06-21 Joseph Myers <joseph@codesourcery.com>
22127
b7abb4bf
JM
22128 [BZ #14273]
22129 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
22130 Clear sign bit of 64-bit integer value before comparing against
22131 overflow value.
22132
79662d42
JM
22133 * sysdeps/mach/configure: Regenerated.
22134
1f150908
L
221352012-06-21 H.J. Lu <hongjiu.lu@intel.com>
22136
22137 [BZ #14278]
22138 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
22139
28363bbf
JL
221402012-06-21 Jeff Law <law@redhat.com>
22141
22142 [BZ #13882]
22143 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
22144 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 22145 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
22146 * elf/dl-open.c (dl_open_worker): Likewise.
22147
09615db4
CD
221482012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
22149
22150 * scripts/list-sources.sh: Scan PORTS for translations.
22151 * po/libc.pot: Regenerated.
22152
2174c6dd
AJ
221532012-06-21 Andreas Jaeger <aj@suse.de>
22154
22155 [BZ #12194]
22156 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
22157 warning.
22158 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
22159 * bits/byteswap-16.h (__bswap_16): Likewise.
22160 * bits/byteswap.h (__bswap_constant_16): Likewise.
22161
3ee947b1
L
221622012-06-18 H.J. Lu <hongjiu.lu@intel.com>
22163
22164 [BZ #14117]
a2f34833
L
22165 * sysdeps/i386/fpu_control.h: Removed.
22166 * sysdeps/x86_64/fpu_control.h: Moved to ...
22167 * sysdeps/x86/fpu_control.h: Here.
22168
3ee947b1
L
22169 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
22170 (_FPU_SETCW): Likewise.
22171
ed1825f8
L
221722012-06-15 H.J. Lu <hongjiu.lu@intel.com>
22173
25f1282a
L
22174 [BZ #14117]
22175 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
22176 * sysdeps/x86/fpu/bits/mathinline.h: This.
22177 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
22178
ed1825f8
L
22179 [BZ #14050]
22180 [BZ #14117]
22181 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
22182 functions if __x86_64__ is defined.
22183
36d54b74
CLT
221842012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
22185
22186 * string/endian.h: Add !__ASSEMBLER__ condition for including
22187 conversion interfaces.
22188
10285c21
JM
221892012-06-15 Joseph Myers <joseph@codesourcery.com>
22190
22191 [BZ #14241]
22192 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
22193 of ABS(x) in calculating zero to negative powers other than odd
22194 integers.
22195 * math/libm-test.inc (pow_test): Add more tests.
22196
06c5abbd
AJ
221972012-06-15 Andreas Jaeger <aj@suse.de>
22198
22199 * manual/contrib.texi (Contributors): Update entry of Liubov
22200 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
22201 Machado Filho.
22202
a3aeac40
CH
222032012-06-15 Cyril Hrubis <metan@ucw.cz>
22204
22205 * string/string.h: Add __wur to GNU version of strerror_r.
22206
49bdf4c1
L
222072012-06-14 H.J. Lu <hongjiu.lu@intel.com>
22208
22209 [BZ #14229]
22210 * string/Makefile (tests): Add tst-strtok_r.
22211 * string/tst-strtok_r.c: New file.
22212 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
22213 RAX_LP/RDX_LP on SAVE_PTR.
22214
834f9b8d
RM
222152012-06-14 Roland McGrath <roland@hack.frob.com>
22216
22217 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
22218
75fa1921
JM
222192012-06-14 Joseph Myers <joseph@codesourcery.com>
22220
22221 * libm_test.inc (csqrt_test): Allow more spurious underflow
22222 exceptions.
22223 (j0_test): Likewise.
22224 (j1_test): Likewise.
22225 (y0_test): Likewise.
22226 (y1_test): Likewise.
22227
771766df
CD
222282012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
22229
22230 * po/Makefile (libc.pot): Use UTF-8 charset.
22231
ceb9e56b
PP
222322012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
22233
22234 [BZ #14210]
22235 Suppress sign-conversion warning from FD_SET.
22236 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
22237 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
22238 not unsigned long int.
22239 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
22240
ddb28975
L
222412012-06-12 H.J. Lu <hongjiu.lu@intel.com>
22242
22243 [BZ #14050]
22244 [BZ #14117]
22245 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
22246 __extern_always_inline instead of __extern_inline.
22247 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
22248 (__signbit): Likewise.
22249 (__signbitl): Support C++ namespace.
22250 (lrintf): New inline function.
22251 (lrint): Likewise.
22252 (llrintf): Likewise.
22253 (llrint): Likewise.
22254 (fmaxf): Likewise.
22255 (fmax): Likewise.
22256 (fminf): Likewise.
22257 (fmin): Likewise.
22258 (rint): Likewise.
22259 (rintf): Likewise.
22260 (ceil): Likewise.
22261 (ceilf): Likewise.
22262 (floor): Likewise.
22263 (floorf): Likewise.
22264 (nearbyint): Likewise.
22265 (nearbyintf): Likewise.
22266
d7b4fb26
TS
222672012-06-12 Thomas Schwinge <thomas@codesourcery.com>
22268
22269 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
22270 non-default versions.
22271
eb55f5c2
RM
222722012-06-11 Roland McGrath <roland@hack.frob.com>
22273
22274 [BZ #14218]
22275 * manual/argp.texi (Argp): Reword argp_parse description slightly.
22276
366af02c
TS
222772012-06-09 Thomas Schwinge <thomas@codesourcery.com>
22278
99ff6e5c
TS
22279 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
22280 (FE_UPWARD, FE_DOWNWARD): Don't define.
22281 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
22282 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22283
366af02c
TS
22284 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
22285 reading it.
22286 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22287 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22288
793ea851
KK
222892012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22290
22291 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
22292 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
22293 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
22294 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
22295
a728a38f
L
222962012-06-06 H.J. Lu <hongjiu.lu@intel.com>
22297
22298 [BZ #14117]
c08010c7
L
22299 * sysdeps/i386/fpu/bits/fenv.h: Removed.
22300 * sysdeps/i386/fpu/Implies: New file.
22301 * sysdeps/x86_64/fpu/Implies: Likewise.
22302 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
22303 * sysdeps/x86/fpu/bits/fenv.h: This.
22304
a728a38f
L
22305 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
22306 __SSE_MATH__.
22307
6e230d11
SP
223082012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
22309
22310 [BZ #14134]
22311 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
22312 character 0xffff that matches the last element of the
22313 conversion table.
22314
1b671feb
AZ
223152012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22316
22317 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
22318 fmodl commit.
22319
6043738b
AZ
223202012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22321
22322 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
22323 values higher than 25.6283.
22324
34ae0b32
AZ
223252012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22326
22327 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
22328 subnormal exponent extraction and add some __builtin_expect.
22329 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
22330 Fix for subnormal mantissa calculation.
22331
1214ec8f
MF
223322012-06-04 Mike Frysinger <vapier@gentoo.org>
22333
22334 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
22335 cpu2 is -1 and errno is not ENOSYS.
22336
f3d1f93c
L
223372012-06-04 H.J. Lu <hongjiu.lu@intel.com>
22338
22339 [BZ #14117]
0e4a3cd7
L
22340 * sysdeps/i386/i486/bits/string.h: Renamed to ...
22341 * sysdeps/x86/bits/string.h: This.
22342 * sysdeps/x86_64/bits/string.h: Removed.
22343
6704c645
L
22344 * sysdeps/i386/i486/bits/string.h: Define inline functions only
22345 if not compiling for x86-64, but compiling for >= i486.
22346
48495318
L
22347 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
22348 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
22349
14adcbfc
L
22350 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
22351 New macro from Linux kernel 3.4.0.
22352 (FP_XSTATE_MAGIC2): Likewise.
22353 (FP_XSTATE_MAGIC2_SIZE): Likewise.
22354 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
22355 (struct _fpx_sw_bytes): New struct.
22356 (struct _xsave_hdr): Likewise.
22357 (struct _ymmh_state): Likewise.
22358 (struct _xstate): Likewise.
22359
68e408ab
L
22360 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
22361 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
22362 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
22363 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
22364 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
22365 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
22366
f3d1f93c
L
22367 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
22368 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
22369 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
22370 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
22371 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
22372 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
22373
d9dc34cd
TMQMF
223742012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22375
22376 [BZ #13743]
22377 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
22378 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
22379 (sysdep_headers): Include sys/platform/ppc.h.
22380 * sysdeps/powerpc/test-gettimebase.c: Test for
22381 __ppc_get_timebase() to catch future ISA opcode/insn changes.
22382 * manual/Makefile (appendices): Include platform.texi.
22383 * manual/contrib.texi (Contributors): Update @node pointers.
22384 * manual/maint.texi (Maintenance): Likewise.
22385 (Platform): New node.
22386 * manual/platform.texi: New file. Document the new features.
22387
4af3879c
SP
223882012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22389 Jakub Jelinek <jakub@redhat.com>
22390
22391 [BZ #14188]
22392 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
22393 where __builtin_expect is unavailable.
22394
2fd6ff13
DM
223952012-06-03 David S. Miller <davem@davemloft.net>
22396
22397 * stdlib/longlong.h: Updated from GCC.
22398
173f7220
AS
223992012-06-02 Andreas Schwab <schwab@linux-m68k.org>
22400
22401 [BZ #14042]
22402 * sysdeps/powerpc/powerpc32/mcount.c: New file.
22403 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
22404 __mcount_internal.
22405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
22406 (GLIBC_2.16): Likewise.
22407
f34a1c6f
L
224082012-06-01 H.J. Lu <hongjiu.lu@intel.com>
22409
22410 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
22411
88a4576f
JM
224122012-06-01 Joseph Myers <joseph@codesourcery.com>
22413
ea32bcdd
JM
22414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
22415 (default-abi): New variable.
22416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
22417 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
22418 variable.
22419 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
22420 Likewise.
22421 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
22422 Likewise.
22423 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
22424 Likewise.
22425
88a4576f
JM
22426 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
22427 definition. Document in comment.
22428
402fe938
DM
224292012-06-01 David S. Miller <davem@davemloft.net>
22430
22431 * stdlib/longlong.h: Updated from GCC.
22432
3553723f
L
224332012-06-01 H.J. Lu <hongjiu.lu@intel.com>
22434
22435 [BZ #14117]
3bd872c4
L
22436 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
22437 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
22438 sys/debugreg.h sys/io.h here.
22439 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
22440 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
22441 sys/io.h.
22442 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
22443 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
22444 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
22445 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
22446 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
22447 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
22448
3553723f
L
22449 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
22450 Define only if __x86_64__ is defined.
22451
4842e4fe
JM
224522012-06-01 Joseph Myers <joseph@codesourcery.com>
22453
c5bfe3d5
JM
22454 [BZ #14048]
22455 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
22456 Use int64_t for variable i.
22457 * math/libm-test.inc (fmod_test): Add more tests.
22458
4842e4fe
JM
22459 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
22460 z computation is not scheduled after fetestexcept.
22461 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
22462 Use math_force_eval instead of asm to ensure calculation scheduled
22463 before exception test.
22464 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
22465 Ensure a1 + u.d computation is not scheduled after fetestexcept.
22466
efb73488
AJ
224672012-06-01 Aurelien Jarno <aurelien@aurel32.net>
22468
22469 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
22470 computation is not scheduled after fetestexcept.
22471
29bcce7c
L
224722012-06-01 H.J. Lu <hongjiu.lu@intel.com>
22473
22474 [BZ #14117]
22475 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
22476 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
22477
73a68f94
AZ
224782012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22479
22480 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
22481 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22482
67b6df78
L
224832012-05-31 H.J. Lu <hongjiu.lu@intel.com>
22484
edf2933a 22485 [BZ #14117]
ebc64a18
L
22486 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
22487 <bits/wordsize.h>.
22488 (__WCHAR_MIN): Support __WORDSIZE == 64.
22489 (__WCHAR_MAX): Likewise.
22490
edf2933a
L
22491 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
22492 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
22493
57c6cf40
L
22494 [BZ #14183]
22495 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
22496 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
22497
67b6df78 22498 [BZ #14117]
8eb6281e
L
22499 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
22500 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
22501
aac639f4
L
22502 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
22503 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
22504
67b6df78
L
22505 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
22506 Defined to 1 if __x86_64__ isn't defined.
22507 (_STAT_VER_LINUX_OLD): New.
22508 (st_atime): Remove duplicate.
22509 (st_mtime): Likewise.
22510 (st_ctime): Likewise.
22511
1c2cfe81
DM
225122012-05-31 David S. Miller <davem@davemloft.net>
22513
22514 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
22515 entries.
22516
5be8418c
AS
225172012-06-01 Andreas Schwab <schwab@linux-m68k.org>
22518
e7725326
AS
22519 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
22520 gen-libm-test.pl.
22521
5be8418c
AS
22522 [BZ #14132]
22523 * elf/dl-reloc.c: Include <_itoa.h>.
22524 (_dl_reloc_bad_type): Remove use of INTUSE.
22525 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
22526 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
22527 * stdio-common/psiginfo.c (psiginfo): Likewise.
22528 * stdio-common/psignal.c (psignal): Likewise.
22529 * string/strsignal.c (strsignal): Likewise.
22530 * include/signal.h (_sys_siglist): Declare hidden proto.
22531 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
22532 INTVARDEF with libc_hidden_data_def.
22533 * stdio-common/itoa-udigits.c: Likewise.
22534 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
22535 (_itoa_lower_digits_internal): Remove declaration.
22536 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
22537 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
22538 (_sys_sigabbrev_internal): Remove aliases.
22539 (_sys_siglist): Define hidden alias.
22540
507352f1
MT
225412012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
22542
22543 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22544 bits/sysctl.h.
22545
42bbb1c3
L
225462012-05-31 H.J. Lu <hongjiu.lu@intel.com>
22547
22548 [BZ #14117]
6bd784b6
L
22549 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
22550 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
22551
8bca20f0
L
22552 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
22553 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
22554 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
22555 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
22556 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
22557 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
22558
f9e890a9
L
22559 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
22560 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
22561 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
22562
471101a1
L
22563 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
22564 with __addr.
22565 (insw): Likewise.
22566 (insl): Likewise.
22567 (outsb): Likewise.
22568 (outsw): Likewise.
22569 (outsl): Likewise.
22570
6451c862
L
22571 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
22572 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
22573 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
22574
a254b8c9
L
22575 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
22576 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
22577 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
22578 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
22579 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
22580 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
22581
b8dfdd92
L
22582 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
22583 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
22584
578cd270
L
22585 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
22586 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
22587
de662f5f
L
22588 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
22589 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
22590 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
22591
25653439
L
22592 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
22593 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
22594 to ...
22595 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
22596
6bad24a0
L
22597 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
22598 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
22599 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
22600
42bbb1c3
L
22601 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
22602 for x86-64.
22603 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
22604
2d10d547
JM
226052012-05-31 Joseph Myers <joseph@codesourcery.com>
22606
22607 * math/math.h (M_El): Use two more decimal places.
22608 (M_LOG2El): Likewise.
22609 (M_LOG10El): Likewise.
22610 (M_LN2l): Likewise.
22611 (M_LN10l): Likewise.
22612 (M_PIl): Likewise.
22613 (M_PI_2l): Likewise.
22614 (M_PI_4l): Likewise.
22615 (M_1_PIl): Likewise.
22616 (M_2_PIl): Likewise.
22617 (M_2_SQRTPIl): Likewise.
22618 (M_SQRT2l): Likewise.
22619 (M_SQRT1_2l): Likewise.
22620
f230c29b
DM
226212012-05-31 David S. Miller <davem@davemloft.net>
22622
22623 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
22624 values between float registers.
22625 * sysdeps/sparc/sparc64/memset.S: Likewise.
22626 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22627
fed806c3
MF
226282012-05-31 Mike Frysinger <vapier@gentoo.org>
22629
22630 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
22631 -D_FORTIFY_SOURCE=1.
22632 (CPPFLAGS-tst-longjmp_chk.c): Define.
22633 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
22634 (CPPFLAGS-tst-longjmp_chk2.c): Define.
22635 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
22636 CFLAGS-tst-wchar-h.c.
22637
30917259
MP
226382012-05-31 Marek Polacek <polacek@redhat.com>
22639
22640 [BZ #14132]
22641 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
22642 __endmntent_internal): Remove declaration.
22643 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
22644 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
22645 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
22646
1c58d5dc
DM
226472012-05-30 David S. Miller <davem@davemloft.net>
22648
22649 * sysdeps/sparc/sparc32/soft-fp/q_util.c
22650 (___Q_simulate_exceptions): Use real FP ops rather than writing
22651 into the %fsr.
22652 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
22653 Likewise.
22654
7dc00e0d
L
226552012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22656
22657 [BZ #14117]
0bd53985
L
22658 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
22659 * sysdeps/x86/bits/xtitypes.h: This.
22660
3a257e66
L
22661 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
22662 * sysdeps/x86/bits/wordsize.h: This.
22663
62f62904
L
22664 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
22665 * sysdeps/x86/bits/huge_vall.h: This.
22666
404fe9d9
L
22667 * sysdeps/i386/bits/select.h: Removed.
22668 * sysdeps/x86_64/bits/select.h: Renamed to ...
22669 * sysdeps/x86/bits/select.h: This.
22670
d48d0446
L
22671 * sysdeps/i386/bits/setjmp.h: Removed.
22672 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
22673 * sysdeps/x86/bits/setjmp.h: This.
22674
7dc00e0d
L
22675 * sysdeps/i386/bits/mathdef.h: Removed.
22676 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
22677 * sysdeps/x86/bits/mathdef.h: This.
22678
03277f8f
AS
226792012-05-30 Andreas Schwab <schwab@linux-m68k.org>
22680
22681 [BZ #14132]
22682 * include/sys/socket.h (__connect_internal)
22683 (__libc_sa_len_internal): Remove declaration.
22684 (__connect, __libc_sa_len): Declare hidden_proto.
22685 (SA_LEN): Remove use of INTUSE.
22686 * socket/connect.c: Add libc_hidden_def.
22687 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
22688 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
22689 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
22690 alias.
22691 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
22692 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
22693 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
22694 of adding _internal alias.
22695
13764867
L
226962012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22697
22698 [BZ #14117]
6bd97696
L
22699 * sysdeps/i386/bits/link.h: Removed.
22700 * sysdeps/i386/bits/linkmap.h: Likewise.
22701 * sysdeps/x86_64/bits/link.h: Renamed to ...
22702 * sysdeps/x86/bits/link.h: This.
22703 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
22704 * sysdeps/x86/bits/linkmap.h: This.
22705
f726f0bb
L
22706 * sysdeps/i386/bits/endian.h: Removed.
22707 * sysdeps/x86_64/bits/endian.h: Renamed to ...
22708 * sysdeps/x86/bits/endian.h: This.
22709
13764867
L
22710 * sysdeps/i386/bits/byteswap.h: Removed.
22711 * sysdeps/i386/bits/byteswap-16.h: Likewise.
22712 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
22713 * sysdeps/x86/bits/byteswap.h: This.
22714 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
22715 * sysdeps/x86/bits/byteswap-16.h: This.
22716 * sysdeps/i386/Implies: Add x86.
22717 * sysdeps/x86_64/Implies: Likewise.
22718
ae251b0b
DM
227192012-05-30 David S. Miller <davem@davemloft.net>
22720
22721 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
22722 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
22723 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
22724 (FP_TRAPPING_EXCEPTIONS): Define.
22725 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
22726 (FP_TRAPPING_EXCEPTIONS): Define.
22727 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
22728 subnormals only when inexact has been signalled or underflow
22729 exceptions are enabled.
22730 (_FP_PACK_CANONICAL): Likewise.
22731
d5c90867
L
227322012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22733
22734 [BZ #14183]
22735 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
22736 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
22737
63f1549e
RH
227382012-05-30 Richard Henderson <rth@twiddle.net>
22739
8d8f2279
RH
22740 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
22741 with #ifndef NOT_IN_libc.
22742
63f1549e
RH
22743 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
22744 marked to avoid plt entry.
22745
0ab0291b
L
227462012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22747
22748 [BZ #14112]
22749 * Makeconfig (default-abi): New macro.
22750 (abi-includes): Likewise.
22751 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
22752 $(abi-$(default-abi)-lib-soname) for soname if defined.
22753 ($(common-objpfx)gnu/lib-names.stmp): Generate from
22754 abi-variants.
22755 * Makefile (installed-stubs): Likewise.
22756 * include/stubs-biarch.h: Removed.
22757 * scripts/lib-names.awk: Only handle one library at a time.
22758 * scripts/soversions.awk: Remove WORDSIZE support.
22759 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
22760 entries.
22761 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
22762 Removed.
22763 (syscall-list-default-condition): Likewise.
22764 (syscall-list-default-condition): Likewise.
22765 (syscall-list-includes): Likewise.
22766 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
22767 syscall-list-* with abi-*. Handle undefined abi-variants.
22768 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
22769 * sysdeps/unix/sysv/linux/i386/Implies: New file.
22770 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
22771 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
22772 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
22773 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
22774 Removed.
22775 (syscall-list-32-options): Likewise.
22776 (syscall-list-32-condition): Likewise.
22777 (syscall-list-64-options): Likewise.
22778 (syscall-list-64-condition): Likewise.
22779 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
22780 macro.
22781 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
22782 Renamed to ...
22783 (abi-*): This.
22784 (abi-64-ld-soname): New macro.
22785 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
22786 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
22787 Renamed to ...
22788 (abi-*): This.
22789 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
22790 * sysdeps/x86_64/x32/shlib-versions: Likewise.
22791
4da0431d
JM
227922012-05-30 Joseph Myers <joseph@codesourcery.com>
22793
3a85279c
JM
22794 * sysdeps/unix/sysv/linux/kernel-features.h
22795 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
22796 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
22797 include <kernel-features.h>.
22798 [!__NR_ftruncate64]: Remove conditional code.
22799 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22800 [__NR_ftruncate64]: Make code unconditional.
22801 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22802 * sysdeps/unix/sysv/linux/truncate64.c: Do not
22803 include <kernel-features.h>.
22804 [!__NR_ftruncate64]: Remove conditional code.
22805 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22806 [__NR_ftruncate64]: Make code unconditional.
22807 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
22809 include <kernel-features.h>.
22810 [!__NR_ftruncate64]: Remove conditional code.
22811 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22812 [__NR_ftruncate64]: Make code unconditional.
22813 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22815 include <kernel-features.h>.
22816 [!__NR_ftruncate64]: Remove conditional code.
22817 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22818 [__NR_ftruncate64]: Make code unconditional.
22819 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22820
4da0431d
JM
22821 * configure.in (libc_cv_fpie): Weaken to a compile test using
22822 LIBC_TRY_CC_OPTION.
22823 * configure: Regenerated.
22824
11ef492c
AK
228252012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22826
22827 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
22828 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
22829 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
22830 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22831 Refreshed.
22832 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
22833 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
22834 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
22835 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
22836 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
22837 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22838 Refreshed.
22839
d66ef399
DM
228402012-05-27 David S. Miller <davem@davemloft.net>
22841
22842 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
22843 (___Q_zero): New.
22844 (__Q_simulate_exceptions): Return void. Change to simulate
22845 exceptions by writing into the %fsr.
22846 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
22847 (__Qp_handle_exceptions): Likewise.
22848 (numbers): Delete.
22849 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
22850 __Qp_handle_exceptions.
22851 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
22852 __Qp_handle_exceptions.
22853 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22854 as unused and give dummy FP_RND_NEAREST initializer.
22855 (FP_INHIBIT_RESULTS): Define.
22856 (___Q_simulate_exceptions): Update declaration.
22857 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
22858 formatting.
22859 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22860 as unused and give dummy FP_RND_NEAREST initializer.
22861 (__Qp_handle_exceptions): Update declaration.
22862 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
22863 formatting.
22864
04fb54b5
TS
228652012-05-27 Thomas Schwinge <thomas@codesourcery.com>
22866
22867 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
22868 the temporary FPU control word.
22869 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
22870 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
22871 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
22872 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22873 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22874 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
22875 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
22876 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22877 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22878 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
22879 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22880
3f99608f
KK
228812012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22882
22883 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
22884 fields.
22885
65a4de4e
CLT
228862012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
22887
22888 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
22889 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
22890 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
22891 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
22892 Likewise.
22893 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
22894 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
22895 Likewise.
22896
15749d40
UD
228972012-05-27 Ulrich Drepper <drepper@gmail.com>
22898
22899 * po/h.po: Update from translation team.
22900
25dbcb27
AS
229012012-05-26 Andreas Schwab <schwab@linux-m68k.org>
22902
3d3f8e55
AS
22903 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
22904
25dbcb27
AS
22905 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
22906 handling of denormals.
22907 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22908 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
22909 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
22910 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
22911 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22912 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
22913 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
22914 Likewise.
22915
7ad47a80 229162012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
22917
22918 [BZ #14152]
22919 * math/libm-test.inc (fma_test): Don't always expect underflow
22920 exception.
22921
9c6ea9fa
SP
229222012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22923
22924 [BZ #12416]
22925 * elf/tst-execstack.c: Include stackinfo.h.
22926 (do_test): Adjust test case to ensure that pthread_getattr_np
22927 behaviour remains the same after marking stack executable.
22928
a8239222
JM
229292012-05-25 Joseph Myers <joseph@codesourcery.com>
22930
22931 * sysdeps/unix/sysv/linux/kernel-features.h
22932 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
22933 * sysdeps/unix/sysv/linux/i386/getrlimit.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 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
22938 kernel-features.h.
22939 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22940 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22941
918b5606
L
229422012-05-25 H.J. Lu <hongjiu.lu@intel.com>
22943
22944 * configure.in: Define the default includes to being none.
22945 * configure: Regenerated.
22946
3a097cc7
RM
229472012-05-25 Roland McGrath <roland@hack.frob.com>
22948
8422c9a5
RM
22949 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
22950 * sysdeps/x86_64/setjmp.S: Likewise.
22951 * sysdeps/i386/bsd-setjmp.S: Likewise.
22952 * sysdeps/i386/bsd-_setjmp.S: Likewise.
22953 * sysdeps/i386/setjmp.S: Likewise.
22954 * sysdeps/i386/__longjmp.S: Likewise.
22955 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
22956 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
22957
3a097cc7
RM
22958 * include/stap-probe.h: New file.
22959 * configure.in: Handle --enable-systemtap.
22960 * configure: Regenerated.
22961 * config.h.in (USE_STAP_PROBE): New #undef.
22962 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
22963 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
22964 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
22965
21708942
JM
229662012-05-25 Joseph Myers <joseph@codesourcery.com>
22967
22968 [BZ #13717]
22969 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
22970 to 2.4.0 where earlier.
22971 * sysdeps/unix/sysv/linux/configure: Regenerated.
22972 * sysdeps/unix/sysv/linux/i386/chown.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/fchown.c: Do not include
22977 <kernel-features.h>.
22978 [__ASSUME_32BITUIDS]: Make code unconditional.
22979 [!__ASSUME_32BITUIDS]: Remove conditional code.
22980 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
22981 [__ASSUME_32BITUIDS]: Make code unconditional.
22982 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
22983 * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.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/msgctl.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/semctl.c: Do not include
23020 <kernel-features.h>.
23021 [__ASSUME_32BITUIDS]: Make code unconditional.
23022 [!__ASSUME_32BITUIDS]: Remove conditional code.
23023 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
23024 <kernel-features.h>.
23025 [__NR_setresgid] (__setresgid): Do not declare.
23026 [__ASSUME_32BITUIDS]: Make code unconditional.
23027 [!__ASSUME_32BITUIDS]: Remove conditional code.
23028 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
23029 <kernel-features.h>.
23030 [__NR_setresuid] (__setresuid): Do not declare.
23031 [__ASSUME_32BITUIDS]: Make code unconditional.
23032 [!__ASSUME_32BITUIDS]: Remove conditional code.
23033 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.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/setuid.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/i386/shmctl.c: Do not include
23070 <kernel-features.h>.
23071 [__ASSUME_32BITUIDS]: Make code unconditional.
23072 [!__ASSUME_32BITUIDS]: Remove conditional code.
23073 * sysdeps/unix/sysv/linux/kernel-features.h
23074 (__ASSUME_SETRESUID_SYSCALL): Remove.
23075 (__ASSUME_SETRESGID_SYSCALL): Likewise.
23076 (__ASSUME_32BITUIDS): Likewise.
23077 (__ASSUME_LDT_WORKS): Likewise.
23078 (__ASSUME_O_DIRECTORY): Likewise.
23079 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
23080 architecture but not kernel version.
23081 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
23082 (__ASSUME_MMAP2_SYSCALL): Likewise.
23083 (__ASSUME_STAT64_SYSCALL): Likewise.
23084 (__ASSUME_IPC64): Likewise.
23085 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
23086 <kernel-features.h>.
23087 [__ASSUME_32BITUIDS]: Make code unconditional.
23088 [!__ASSUME_32BITUIDS]: Remove conditional code.
23089 * sysdeps/unix/sysv/linux/opendir.c: Do not include
23090 <kernel-features.h>.
23091 [__ASSUME_O_DIRECTORY]: Make code unconditional.
23092 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
23093 132096]: Remove conditional code.
23094 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
23095 * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.c: Do not include
23100 <kernel-features.h>.
23101 [__ASSUME_32BITUIDS]: Make code unconditional.
23102 [!__ASSUME_32BITUIDS]: Remove conditional code.
23103 * sysdeps/unix/sysv/linux/setegid.c: Do not include
23104 <kernel-features.h>.
23105 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
23106 unconditional.
23107 (__setresgid): Do not declare.
23108 [__ASSUME_32BITUIDS]: Make code unconditional.
23109 [!__ASSUME_32BITUIDS]: Remove conditional code.
23110 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
23111 <kernel-features.h>.
23112 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
23113 unconditional.
23114 (__setresuid): Do not declare.
23115 [__ASSUME_32BITUIDS]: Make code unconditional.
23116 [!__ASSUME_32BITUIDS]: Remove conditional code.
23117 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
23118 <kernel-features.h>.
23119 [__ASSUME_32BITUIDS]: Make code unconditional.
23120 [!__ASSUME_32BITUIDS]: Remove conditional code.
23121 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
23122 <kernel-features.h>.
23123 [__ASSUME_32BITUIDS]: Make code unconditional.
23124 [!__ASSUME_32BITUIDS]: Remove conditional code.
23125
a386f1cc
RH
231262012-05-25 Richard Henderson <rth@twiddle.net>
23127
23128 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
23129 dl_hwcap to ifunc resolver.
23130 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
23131 elf_ifunc_invoke.
23132 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
23133 dl_hwcap to ifunc resolver.
23134 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
23135
b6550497
JM
231362012-05-24 Joseph Myers <joseph@codesourcery.com>
23137
23138 [BZ #14153]
23139 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
23140 for |x| <= 2**-26, not 2**-57.
23141 * math/libm-test.inc (acos_test): Do not allow spurious underflow
23142 exception.
23143
b0bc23a1
JL
231442012-05-24 Jeff Law <law@redhat.com>
23145
23146 * stdio-common/Makefile (tests): Add bug25.
23147 * stdio-common/bug25.c: New test.
23148
347c92e9
L
231492012-05-24 H.J. Lu <hongjiu.lu@intel.com>
23150
23151 [BZ #13576]
23152 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
23153 multiple of MALLOC_ALIGNMENT in size.
23154 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
23155
6bcc8b3f
JM
231562012-05-24 Joseph Myers <joseph@codesourcery.com>
23157
23158 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
23159 Require >= 256.
23160 (FILENAME_MAX): Use macro-int-constant.
23161 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
23162 (_IOFBF): Use macro-int-constant.
23163 (_IOLBF): Likewise.
23164 (_IONBF): Likewise.
23165 (SEEK_CUR): Likewise.
23166 (SEEK_END): Likewise.
23167 (SEEK_SET): Likewise.
23168 (TMP_MAX): Likewise.
23169 (EOF): Use macro-int-constant. Require < 0.
23170 (NULL): Use macro-constant. Require == 0.
23171 (stdin): Require type to be FILE *.
23172 (stdout): Likewise.
23173 (stderr): Likewise.
23174 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
23175 macro-int-constant.
23176 (EXIT_SUCCESS): Likewise.
23177 (NULL): Use macro-constant. Require == 0.
23178 (RAND_MAX): Use macro-int-constant.
23179 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
23180 [C99-based standards] (strtof): Require function.
23181 [C99-based standards] (strtold): Likewise.
23182 [C99-based standards] (strtoll): Likewise.
23183 [C99-based standards] (strtoull): Likewise.
23184 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
23185 [ISO || ISO99 || ISO11] (limits.h): Likewise.
23186 [ISO || ISO99 || ISO11] (math.h): Likewise.
23187 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
23188 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
23189 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23190
d18ea0c5
AS
231912012-05-24 Andreas Schwab <schwab@linux-m68k.org>
23192
23193 [BZ #14132]
56d25bb8
AS
23194 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
23195 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
23196 * intl/dgettext.c (DCGETTEXT): Likewise.
23197 * intl/gettext.c (DCGETTEXT): Likewise.
23198 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
23199 * posix/regex_internal.h (gettext): Likewise.
23200 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
23201 Remove declaration.
23202 * include/argz.h (__argz_count_internal)
23203 (__argz_stringify_internal): Remove declaration.
23204 (__argz_count, __argz_stringify): Declare hidden proto.
23205 * intl/dcgettext.c: Remove use of INTDEF.
23206 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
23207 * string/argz-stringify.c: Likewise.
23208 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
23209 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
23210 Declare hidden proto.
d18ea0c5
AS
23211 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
23212 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
23213 Declare hidden proto.
23214 * include/stdio.h (__asprintf_internal): Don't declare.
23215 (__asprintf): Don't define as macro. Declare hidden proto.
23216 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
23217 (__fsetlocking): Declare hidden proto.
23218 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
23219 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
23220 hidden proto.
23221 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
23222 (_IO_setlinebuf): Remove use of INTUSE.
23223 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
23224 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
23225 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
23226 Remove declaration.
23227 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
23228 (_IO_do_flush): Remove use of INTUSE.
23229 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
23230 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
23231 (_IO_adjust_column, _IO_least_wmarker)
23232 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
23233 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
23234 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
23235 (_IO_default_doallocate, _IO_wdefault_doallocate)
23236 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
23237 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
23238 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
23239 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
23240 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
23241 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
23242 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
23243 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
23244 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
23245 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
23246 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
23247 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
23248 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
23249 proto.
23250 (_IO_flush_all_internal, _IO_adjust_column_internal)
23251 (_IO_default_uflow_internal, _IO_default_finish_internal)
23252 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
23253 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
23254 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
23255 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
23256 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
23257 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
23258 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
23259 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
23260 (_IO_file_close_internal, _IO_file_close_it_internal)
23261 (_IO_file_underflow_internal, _IO_file_overflow_internal)
23262 (_IO_file_init_internal, _IO_file_attach_internal)
23263 (_IO_file_fopen_internal, _IO_file_read_internal)
23264 (_IO_file_sync_internal, _IO_file_seek_internal)
23265 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
23266 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
23267 (_IO_str_underflow_internal, _IO_str_overflow_internal)
23268 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
23269 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
23270 (_IO_list_all_internal, _IO_link_in_internal)
23271 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
23272 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
23273 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
23274 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
23275 (_IO_do_write_internal, _IO_padn_internal)
23276 (_IO_getline_info_internal, _IO_getline_internal)
23277 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
23278 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
23279 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
23280 (_IO_vfscanf_internal, _IO_vfprintf_internal)
23281 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
23282 (_IO_init_internal, _IO_un_link_internal): Don't declare.
23283 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
23284 with libc_hidden_ver, remove use of INTUSE.
23285 * libio/genops.c: Likewise.
23286 * libio/freopen.c: Likewise.
23287 * libio/freopen64.c: Likewise.
23288 * libio/iofclose.c: Likewise.
23289 * libio/iofdopen.c: Likewise.
23290 * libio/iofflush.c: Likewise.
23291 * libio/iofflush_u.c: Likewise.
23292 * libio/iofgets.c: Likewise.
23293 * libio/iofgets_u.c: Likewise.
23294 * libio/iofopen.c: Likewise.
23295 * libio/iofopncook.c: Likewise.
23296 * libio/iofread.c: Likewise.
23297 * libio/iofread_u.c: Likewise.
23298 * libio/ioftell.c: Likewise.
23299 * libio/iofwrite.c: Likewise.
23300 * libio/iogetline.c: Likewise.
23301 * libio/iogets.c: Likewise.
23302 * libio/iogetwline.c: Likewise.
23303 * libio/iopadn.c: Likewise.
23304 * libio/iopopen.c: Likewise.
23305 * libio/ioseekoff.c: Likewise.
23306 * libio/ioseekpos.c: Likewise.
23307 * libio/iosetbuffer.c: Likewise.
23308 * libio/iosetvbuf.c: Likewise.
23309 * libio/ioungetc.c: Likewise.
23310 * libio/ioungetwc.c: Likewise.
23311 * libio/iovdprintf.c: Likewise.
23312 * libio/iovsprintf.c: Likewise.
23313 * libio/iovsscanf.c: Likewise.
23314 * libio/memstream.c: Likewise.
23315 * libio/obprintf.c: Likewise.
23316 * libio/oldfileops.c: Likewise.
23317 * libio/oldiofclose.c: Likewise.
23318 * libio/oldiofdopen.c: Likewise.
23319 * libio/oldiofopen.c: Likewise.
23320 * libio/oldiopopen.c: Likewise.
23321 * libio/oldstdfiles.c: Likewise.
23322 * libio/putc.c: Likewise.
23323 * libio/setbuf.c: Likewise.
23324 * libio/setlinebuf.c: Likewise.
23325 * libio/stdfiles.c: Likewise.
23326 * libio/strops.c: Likewise.
23327 * libio/vasprintf.c: Likewise.
23328 * libio/vscanf.c: Likewise.
23329 * libio/vsnprintf.c: Likewise.
23330 * libio/vswprintf.c: Likewise.
23331 * libio/wfiledoalloc.c: Likewise.
23332 * libio/wfileops.c: Likewise.
23333 * libio/wgenops.c: Likewise.
23334 * libio/wmemstream.c: Likewise.
23335 * libio/wstrops.c: Likewise.
23336 * libio/__fpurge.c: Likewise.
23337 * libio/__fsetlocking.c: Likewise.
23338 * assert/assert.c: Likewise.
23339 * debug/fgets_chk.c: Likewise.
23340 * debug/fgets_u_chk.c: Likewise.
23341 * debug/fread_chk.c: Likewise.
23342 * debug/fread_u_chk.c: Likewise.
23343 * debug/gets_chk.c: Likewise.
23344 * debug/obprintf_chk.c: Likewise.
23345 * debug/vasprintf_chk.c: Likewise.
23346 * debug/vdprintf_chk.c: Likewise.
23347 * debug/vsnprintf_chk.c: Likewise.
23348 * debug/vsprintf_chk.c: Likewise.
23349 * malloc/mtrace.c: Likewise.
23350 * misc/error.c: Likewise.
23351 * misc/syslog.c: Likewise.
23352 * stdio-common/asprintf.c: Likewise.
23353 * stdio-common/fxprintf.c: Likewise.
23354 * stdio-common/getw.c: Likewise.
23355 * stdio-common/isoc99_fscanf.c: Likewise.
23356 * stdio-common/isoc99_scanf.c: Likewise.
23357 * stdio-common/isoc99_vfscanf.c: Likewise.
23358 * stdio-common/isoc99_vscanf.c: Likewise.
23359 * stdio-common/isoc99_vsscanf.c: Likewise.
23360 * stdio-common/printf-prs.c: Likewise.
23361 * stdio-common/printf_fp.c: Likewise.
23362 * stdio-common/printf_fphex.c: Likewise.
23363 * stdio-common/printf_size.c: Likewise.
23364 * stdio-common/putw.c: Likewise.
23365 * stdio-common/scanf.c: Likewise.
23366 * stdio-common/sprintf.c: Likewise.
23367 * stdio-common/tmpfile.c: Likewise.
23368 * stdio-common/vfprintf.c: Likewise.
23369 * stdio-common/vfscanf.c: Likewise.
23370 * stdlib/strfmon_l.c: Likewise.
23371 * sunrpc/openchild.c: Likewise.
23372 * sunrpc/xdr_stdio.c: Likewise.
23373 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
23374 * sysdeps/mach/hurd/tmpfile.c: Likewise.
23375
d6c33fda
RM
233762012-05-24 Roland McGrath <roland@hack.frob.com>
23377
c1487492
RM
23378 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23379
23380 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
23381 in the third column, to generate for the shared library an IFUNC
23382 that uses _dl_vdso_vsym.
23383 * Makerules (COMPILE.c, compile-stdin.c): New variables.
23384 * Makeconfig (object-suffixes-noshared): New variable.
23385
23386 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
23387 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
23388 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
23389 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
23390
d6c33fda
RM
23391 [BZ #14132]
23392 * include/sys/time.h (__gettimeofday): Remove macro.
23393 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
23394 * time/gettimeofday.c (__gettimeofday): Remove #undef.
23395 Remove INTDEF.
23396 (__gettimeofday): Add libc_hidden_def.
23397 (gettimeofday): Add libc_hidden_weak.
23398 * sysdeps/mach/gettimeofday.c: Likewise.
23399 * sysdeps/posix/gettimeofday.c: Likewise.
23400 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
23401 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
23402 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
23403 (__gettimeofday_internal): Remove strong_alias.
23404 (__gettimeofday): Add libc_hidden_def.
23405 (gettimeofday): Add libc_hidden_weak.
23406 * sysdeps/unix/syscalls.list (gettimeofday):
23407 Remove __gettimeofday_internal alias.
23408
b5a2bbe6
L
234092012-05-24 Daniel Jacobowitz <drow@false.org>
23410 H.J. Lu <hongjiu.lu@intel.com>
23411
23412 [BZ #12495]
23413 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
23414 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
23415 (largebin_index_32_big): New.
23416 (largebin_index): Use it for 16-byte alignment.
23417 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
23418 correction with front_misalign.
23419
cfba4fda
L
234202012-05-24 H.J. Lu <hongjiu.lu@intel.com>
23421
7f907421
L
23422 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
23423 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
23424 Likewise.
23425 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
23426 Likewise.
23427 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
23428 Likewise.
23429 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
23430 Likewise.
23431 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
23432 Likewise.
23433 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
23434 Likewise.
23435 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
23436 Likewise.
23437 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
23438 Likewise.
23439 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
23440 Likewise.
23441 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
23442 Likewise.
23443 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
23444 Likewise.
23445 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
23446 Likewise.
23447
cfba4fda
L
23448 * scripts/data/c++-types-x32-linux-gnu.data: New file.
23449 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
23450
80bad0cc
JM
234512012-05-24 Joseph Myers <joseph@codesourcery.com>
23452
7a25eb06
JM
23453 [BZ #10846]
23454 [BZ #14036]
23455 * math/libm-test.inc (exp_test): Add test from bug 14036.
23456 (pow_test): Add test from bug 10846.
23457
795405f9
JM
23458 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
23459 and other flags.
23460 (special_function): Do not include flags in test name.
23461 (parse_args): Likewise.
23462 * sysdeps/i386/fpu/libm-test-ulps: Update.
23463 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23464 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23465 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23466 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23467
80bad0cc
JM
23468 * math/gen-libm-test.pl (%beautify): Add entries for underflow
23469 exceptions.
23470 * math/libm-test.inc ("Philosophy"): Update comment about
23471 exception testing.
23472 (UNDERFLOW_EXCEPTION): New macro.
23473 (UNDERFLOW_EXCEPTION_OK): Likewise.
23474 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
23475 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
23476 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
23477 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
23478 (INVALID_EXCEPTION_OK): Update value.
23479 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23480 (OVERFLOW_EXCEPTION_OK): Likewise.
23481 (IGNORE_ZERO_INF_SIGN): Likewise.
23482 (test_exceptions): Handle underflow exceptions.
23483 (acos_test): Update for underflow exception expectations.
23484 (cexp_test): Likewise.
23485 (clog_test): Likewise.
23486 (clog10_test): Likewise.
23487 (csqrt_test): Likewise.
23488 (ctan_test): Likewise.
23489 (ctanh_test): Likewise.
23490 (exp_test): Likewise.
23491 (exp10_test): Likewise.
23492 (exp2_test): Likewise.
23493 (expm1_test): Likewise.
23494 (fma_test): Likewise.
23495 (j0_test): Likewise.
23496 (jn_test): Likewise.
23497 (nexttoward_test): Likewise.
23498 (pow_test): Likewise.
23499 (scalbn_test): Likewise.
23500 (scalbln_test): Likewise.
23501 (tan_test): Likewise.
23502 (y1_test): Likewise.
23503 * sysdeps/i386/fpu/libm-test-ulps: Update.
23504 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23505
9e0e3d0b
DM
235062012-05-23 David S. Miller <davem@davemloft.net>
23507
23508 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
23509 (__libc_sigaction): Remove unused local variables.
23510
ccd0a08f
L
235112012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23512
23513 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
23514
62bdf9a6
PE
235152012-05-23 Paul Eggert <eggert@cs.ucla.edu>
23516
f8591f80
PE
23517 mktime: avoid signed integer overflow
23518 * time/mktime.c (__mktime_internal): Do not mishandle the case
23519 where diff == INT_MIN.
23520
94c7d826
PE
23521 mktime: simplify computation of average
23522 * time/mktime.c (ranged_convert): Use new time_t_avg function
23523 instead of rolling our own (probably-slower) code.
23524
ce73d683
PE
23525 mktime: do not assume signed right shift propagates sign bit
23526 * time/mktime.c (isdst_differ): New static function.
23527 (__mktime_internal): No need to normalize tm_isdst now.
23528 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
23529 tm_isdst values.
23530
72a22e59
PE
23531 mktime: merge another wrapv change from gnulib
23532 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
23533 from some compilers.
23534
68605433
PE
23535 mktime: remove incorrect attempt at unusual arithmetics
23536 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
23537 The code didn't really work on such machines anyway.
23538 (TYPE_MINIMUM): Assume two's complement.
23539 (twos_complement_arithmetic): Verify that long_int and time_t
23540 are two's complement (or unsigned, in the latter case).
23541
03cf7fe3
PE
23542 mktime: check signed shifts on long_int and time_t, too
23543 * time/mktime.c (SHR): Check that shifts work as desired
23544 on the types long_int and time_t too, as SHR is used on
23545 such types.
23546
f04dfbc2
PE
23547 mktime: do not assume 'long' is wide enough
23548 * time/mktime.c (verify): Move decl up.
23549 (long_int): New type.
23550 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
23551 to remove assumption in the code that 'long' is wide enough to
23552 store year values. This assumption is not true on x32 and on
23553 some non-glibc platforms.
23554
62bdf9a6
PE
23555 mktime: merge wrapv change from gnulib
23556 * time/mktime.c (WRAPV): New macro.
23557 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
23558 (guess_time_tm, __mktime_internal): Do not assume that signed
23559 integer overflow wraps around; modern compilers generate code
23560 where this assumption is no longer valid.
23561
5e292e4f
L
235622012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23563
23564 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23565 Replace "jmp L(pseudo_end)" with "ret".
23566 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
23567 Likewise.
23568
8caf8c87
AJ
235692012-05-23 Andreas Jaeger <aj@suse.de>
23570
23571 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
23572 * sysdeps/unix/sysv/linux/poll.c: Remove file.
23573
1a09dc56
AJ
235742012-05-23 Andreas Jaeger <aj@suse.de>
23575 Maximilian Attems <max@stro.at>
23576
23577 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
23578 New macros.
23579
1c87aba0
L
235802012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23581
23582 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
23583 code so that pseudo_end is just ret and the stack pointer is
23584 correct also for static library in error case.
23585
40e45bd5
JM
235862012-05-23 Joseph Myers <joseph@codesourcery.com>
23587
c2670533
JM
23588 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
23589 move to syscalls.list.
23590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
23591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
23592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
23593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
23594
40e45bd5
JM
23595 * manual/install.texi (Running make install): Do not mention Linux
23596 kernel version for which pt_chown is not needed.
23597 (Linux): Do not mention problems with nscd with 2.0 kernels.
23598 * INSTALL: Regenerated.
23599
be08eda5
AJ
236002012-05-23 Andreas Jaeger <aj@suse.de>
23601
23602 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
23603 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
23604 macro.
23605 * sysdeps/unix/sysv/linux/s390/bits/mman.h
23606 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23607 * sysdeps/unix/sysv/linux/sh/bits/mman.h
23608 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23609 * sysdeps/unix/sysv/linux/i386/bits/mman.h
23610 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23611 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
23612 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23613 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
23614 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23615 * sysdeps/unix/sysv/linux/bits/in.h
23616 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
23617
a6a056bb
RM
236182012-05-22 Roland McGrath <roland@hack.frob.com>
23619
23620 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
23621 (PREPARE_VERSION): Just use assert instead, it will be elided
23622 under [NDEBUG] anyway.
23623
c9009328
L
236242012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23625
23626 * sysdeps/unix/sysv/linux/Makefile: Include
23627 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 23628 (sysdep_routines): Remove sysctl.
c9009328
L
23629 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
23630 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
23631 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
23632 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
23633 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
23634
73338355
AJ
236352012-05-22 Andreas Jaeger <aj@suse.de>
23636
23637 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
23638 that pseudo_end is just ret and the stack pointer is correct also
23639 for static library in error case.
23640
d44638b0
PP
236412012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
23642
23643 [BZ #14122]
23644 * nss/nsswitch.c (defconfig_entries): New variable.
23645 (__nss_database_lookup): Don't leak defconfig entries.
23646 (nss_parse_service_list): Don't leak on error paths.
23647 (free_database_entries): New function.
23648 (free_defconfig): New function.
23649 (free_mem): Move common code to free_database_entries.
23650
31a39bd8
L
236512012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23652
da0331a8
L
23653 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
23654 Add arch_prctl.
23655 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
23656
31a39bd8
L
23657 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23658 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
23659 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
23660 New macro.
23661 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
23662 (INTERNAL_SYSCALL_TYPES): Likewise.
23663 (LOAD_ARGS_TYPES_[1-6]): Likewise.
23664 (LOAD_REGS_TYPES_[1-6]): Likewise.
23665 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
23666 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
23667
45470df3
AZ
236682012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23669
23670 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
23671 copysignl for GLIBC_2_0.
23672 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
23673 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
23674 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
23675 logbl for GLIBC_2_0.
23676 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
23677 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
23678
98a61bcb
L
236792012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23680
a4f6e481
L
23681 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
23682 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23683
f63d5db6
L
23684 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23685 Use "neg %eax".
23686
98a61bcb
L
23687 * time/mktime.c: Update copyright years.
23688
95770f14
PE
236892012-05-22 Paul Eggert <eggert@cs.ucla.edu>
23690
6226efbd
PE
23691 mktime: merge comment-quoting-style change from gnulib
23692 * time/mktime.c: Quote 'like this' in comments.
23693 The GNU coding standards suggest that we no longer quote `like this',
23694 as "`" and "'" are typically rendered asymmetrically nowadays.
23695 The typical gnulib style is to quote 'like this' when quoting
23696 code, and "like this" when quoting English.
23697
b99e4f78
PE
23698 * time/mktime.c (compile-command): Add "-I.".
23699
643e01e6
PE
23700 mktime: merge mktime-internal.h change from gnulib
23701 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
23702
2554247d
PE
23703 mktime: merge time_r change from gnulib
23704 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
23705
826dd0ab
PE
23706 mktime: merge DEBUG change from gnulib
23707 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
23708 case system <time.h> has a #define.
23709
bd83aabe
PE
23710 mktime: merge <sys/types.h> change from gnulib
23711 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
23712 since <time.t> is now guaranteed to define time_t.
23713
95770f14
PE
23714 mktime: merge HAVE_CONFIG_H change from gnulib
23715 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
23716
5e1a27a9
L
237172012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23718
0e44a77e
L
23719 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23720 Use "neg %eax".
23721
5e1a27a9
L
23722 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
23723 __rlim_t cast.
23724 (struct rusage): Use anonymous union to pad each field to
23725 __syscall_slong_t.
23726
46259bec
DM
237272012-05-21 David S. Miller <davem@davemloft.net>
23728
23729 * Makefules (o-iterator): Remove .s cases.
23730 (compile-command.s): Delete.
23731 (COMPILE.s): Delete.
23732 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
23733
59f0c22e
JM
237342012-05-21 Joseph Myers <joseph@codesourcery.com>
23735
23736 * configure.in (libc_cv_predef_stack_protector): Only consider
23737 "foobar" and "__stack_chk_fail" lines in libc_undefs.
23738 * configure: Regenerated.
23739
20c07380
L
237402012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23741
bbb3154b
L
23742 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23743 New macro. Use R*LP on int and pointer.
23744 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
23745 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
23746 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
23747 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
23748
20c07380
L
23749 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
23750 [__WORDSIZE_TIME64_COMPAT32] instead of
23751 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
23752 (struct utmp): Likewise.
23753 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
23754 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
23755 Renamed to ...
23756 (__WORDSIZE_TIME64_COMPAT32): This.
23757 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
23758 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
23759 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
23760 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
23761 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
23762 (__WORDSIZE_TIME64_COMPAT32): New macro.
23763
d8d1017e
AJ
237642012-05-21 Andreas Jaeger <aj@suse.de>
23765
23766 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
23767 only if [SHARED]. Add prototype for __wcschr_ia32.
23768
6c7fb145
RM
237692012-05-21 Roland McGrath <roland@hack.frob.com>
23770
23771 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
23772 of %rbp unmolested in the jmp_buf while mangling the low bits.
23773 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
23774 unmolested high bits of %rbp while demangling the low bits.
23775 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
23776
66274218
AJ
237772012-05-21 Andreas Jaeger <aj@suse.de>
23778
07c58f8f
AJ
23779 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
23780 * sunrpc/svc_simple.c: Use it for registerrpc.
23781 * sunrpc/xcrypt.c: Use it for passwd2des.
23782
66274218
AJ
23783 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
23784
61f65140
L
237852012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23786
23787 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
23788 Don't define if [__SYSCALL_WORDSIZE != 32].
23789 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
23790 New macro.
23791
5fefb436
AJ
237922012-05-21 Bruno Haible <bruno@clisp.org>
23793 Andreas Jaeger <aj@suse.de>
23794
23795 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
23796 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
23797 inptr and inend for must_buffer_ch.
23798 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
23799 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
23800 * stdio-common/Makefile (tests): Remove bug15.
23801 (bug15-ENV): Remove macro.
23802 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
23803 anymore.
23804
d8e272ab
AJ
238052012-05-19 Andreas Jaeger <aj@suse.de>
23806 Roland McGrath <roland@hack.frob.com>
23807
23808 * manual/contrib.texi: Completely rewritten. It contains now an
23809 alphabetical list of contributors and their contributions.
23810
4a56a162
RH
238112012-05-21 Richard Henderson <rth@twiddle.net>
23812
23813 * misc/getauxval.c (__getauxval): Use unsigned long int.
23814 * misc/sys/auxv.h: Include <sys/cdefs.h>.
23815 (getauxval): Use unsigned long int.
23816
d024d23c
L
238172012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23818
23819 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23820
cbc00a03
RM
238212012-05-21 Roland McGrath <roland@hack.frob.com>
23822
23823 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
23824 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
23825 __alignof__ (long double).
23826
478143fa
AZ
238272012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23828
23829 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23830
c7683a6d
RH
238312012-05-20 Richard Henderson <rth@twiddle.net>
23832
23833 * misc/getauxval.c: New file.
23834 * misc/sys/auxv.h: New file.
23835 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
23836 (routines): Add getauxval.
23837 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
23838 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
23839 * elf/dl-sysdep.c (_dl_auxv): Remove.
23840 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
23841 * elf/dl-support.c (_dl_auxv): New variable.
23842 (_dl_aux_init): Initialize it.
23843 * manual/startup.texi (Auxiliary Vector): New node.
23844 * sysdeps/generic/bits/hwcap.h: New file.
23845 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
23846 * sysdeps/powerpc/sysdep.h: ... here. Include it.
23847 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
23848 * sysdeps/sparc/sysdep.h: ... here. Include it.
23849 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
23850 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
23851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23852 Update.
c7683a6d
RH
23853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
23854 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
23855 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
23856 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
23857 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23858 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23859 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
23860 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
23861
a6f1845d
AZ
238622012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23863
23864 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23865
cbcbe830
DM
238662012-05-19 David S. Miller <davem@davemloft.net>
23867
23868 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23869
e0b16cc2
JM
238702012-05-19 Joseph Myers <joseph@codesourcery.com>
23871
23872 [BZ #14123]
23873 * math/s_ccosh.c: Include <float.h>
23874 (__ccosh): Avoid internal overflow calculating sinh and cosh
23875 values before multiplying by sin and cos values.
23876 * math/s_ccoshf.c: Likewise.
23877 * math/s_ccoshl.c: Likewise.
23878 * math/s_csin.c: Likewise.
23879 * math/s_csinf.c: Likewise.
23880 * math/s_csinl.c: Likewise.
23881 * math/s_csinh.c: Likewise.
23882 * math/s_csinhf.c: Likewise.
23883 * math/s_csinhl.c: Likewise.
23884 * math/libm-test.inc (ccos_test): Add more tests.
23885 (ccosh_test): Likewise.
23886 (csin_test): Likewise.
23887 (csinh_test): Likewise.
23888 * sysdeps/i386/fpu/libm-test-ulps: Update.
23889 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23890
6ad13e08
L
238912012-05-19 H.J. Lu <hongjiu.lu@intel.com>
23892
f66f0ce8
L
23893 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
23894 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
23895
6ad13e08
L
23896 * sysdeps/x86_64/x32/_itoa.h: Add comment.
23897
b1d072a7
JM
238982012-05-19 Joseph Myers <joseph@codesourcery.com>
23899
23900 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
23901 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
23902 * sysdeps/powerpc/soft-fp/Versions: Likewise.
23903 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
23904 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
23905 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
23906 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
23907 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
23908 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
23909 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
23910 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
23911 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
23912 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
23913 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
23914 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
23915 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
23916 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
23917 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
23918 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
23919 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
23920 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
23921 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
23922 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
23923 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
23924 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
23925 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
23926 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
23927 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
23928 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
23929 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
23930 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
23931
9eae47cb
AJ
239322012-05-18 Andreas Jaeger <aj@suse.de>
23933
23934 * csu/.gitignore: Delete.
23935
bb07f69f
L
239362012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23937
23938 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
23939 (timex): Use __syscall_slong_t.
23940
e6bdb741
AJ
239412012-05-18 Andreas Jaeger <aj@suse.de>
23942 Carlos O'Donell <carlos_odonell@mentor.com>
23943
23944 * manual/install.texi (Configuring and compiling): Update
23945 description about files modified in the source directory.
d6c33fda 23946 * INSTALL: Regenerated.
e6bdb741 23947
1b74487e
L
239482012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23949
23950 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
23951 value. Use "or" to set return value to -1.
23952 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
23953 negate return value.
23954
a88b64b9
TMQMF
239552012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23956
23957 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
23958 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
23959 failure if the compiler has Graphite support disabled.
23960 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
23961 Likewise.
23962 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
23963 CFLAGS-memmove.c): Likewise.
23964 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
23965 Likewise.
23966
3707636e
L
239672012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23968
610b8622
L
23969 * sysdeps/x86_64/x32/_itoa.h: New file.
23970
7cd195df
L
23971 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
23972 getdents system call only if kernel and user dirents have the
23973 same d_ino and d_off.
23974
94b07d20
L
23975 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
23976 LLONG_MAX != LONG_MAX.
23977 (_itoa_word): Use _ITOA_WORD_TYPE on value.
23978 (_fitoa_word): Likewise.
23979
18298070
L
23980 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
23981 years.
23982 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
23983 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
23984 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
23985
553c7ea4
L
23986 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
23987 include <bits/wordsize.h>. Check __x86_64__ instead of
23988 __WORDSIZE.
23989 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
23990 if __x86_64__ is defined. Use anonymous union on fpstate.
23991
3707636e
L
23992 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
23993 anonymous union.
23994
b53ef01a
AS
239952012-05-18 Andreas Schwab <schwab@linux-m68k.org>
23996
37fb1dc0
AS
23997 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
23998 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
23999 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
24000 Refer to _rtld_local_ro instead of _rtld_global_ro.
24001 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
24002 Likewise.
24003 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
24004 Likewise.
24005 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
24006 Likewise.
24007 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
24008 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
24009 of _rtld_global, and rtld_progname instead of _dl_argv[0].
24010
b53ef01a
AS
24011 * sysdeps/powerpc/powerpc32/dl-machine.c
24012 (__elf_machine_runtime_setup) [PROF]: Don't reference
24013 _dl_prof_resolve.
24014
7a185db2
AJ
240152012-05-18 Andreas Jaeger <aj@suse.de>
24016
24017 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
24018 function only available for GCCs before 3.4 since GCC 3.4
24019 introduced a builtin.
24020 (lrint): Likewise.
24021 (llrintf): Likewise.
24022 (llrint): Likewise.
24023 (fmaxf): Likewise.
24024 (fmax): Likewise.
24025 (fminf): Likewise.
24026 (fmin): Likewise.
24027 (rint): Likewise.
24028 (rintf): Likewise.
24029 (nearbyint): Likewise.
24030 (nearbyintf): Likewise.
24031 (ceil): Likewise.
24032 (ceilf): Likewise.
24033 (floor): Likewise.
24034 (floorf): Likewise.
24035
3e5aef87
L
240362012-05-17 H.J. Lu <hongjiu.lu@intel.com>
24037
428bd707
L
24038 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
24039 on both fields and cast pointer to __syscall_ulong_t.
24040
3e5aef87
L
24041 * bits/types.h (__fsword_t): New type.
24042 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
24043 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
24044 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24045 (__FSWORD_T_TYPE): Likewise.
24046 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24047 (__FSWORD_T_TYPE): Likewise.
24048 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24049 (__FSWORD_T_TYPE): Likewise.
24050 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
24051 (__FSWORD_T_TYPE): Likewise.
24052 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
24053 __SWORD_TYPE with __fsword_t.
24054 (statfs64): Likewise.
24055
1ba7c3dc
DM
240562012-05-17 David S. Miller <davem@davemloft.net>
24057
24058 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
24059
59910343
AJ
240602012-05-17 Andreas Jaeger <aj@suse.de>
24061
24062 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
24063 warning.
24064
2e4c1e9e
L
240652012-05-17 H.J. Lu <hongjiu.lu@intel.com>
24066
24067 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
24068
de7f5ce7
AJ
240692012-05-17 Andreas Jaeger <aj@suse.de>
24070
24071 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
24072 when it is used.
24073
286abc3d
CM
240742012-05-17 Chris Metcalf <cmetcalf@tilera.com>
24075
24076 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
24077
477cc68e
L
240782012-05-17 H.J. Lu <hongjiu.lu@intel.com>
24079
24080 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
24081 * sysdeps/x86_64/tst-mallocalign1.c: New file.
24082
1a0994f5
CD
240832012-05-17 Andreas Jaeger <aj@suse.de>
24084 Carlos O'Donell <carlos_odonell@mentor.com>
24085
24086 [BZ #14059]
24087 * sysdeps/x86_64/multiarch/init-arch.h
24088 (bit_YMM_Usable): Rename to...
24089 (bit_AVX_Usable): ... this.
24090 (bit_FMA4_Usable): New macro.
24091 (bit_XMM_state): New macro.
24092 (bit_YMM_state): New macro.
24093 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
24094 [__ASSEMBLER__] (index_AVX_Usable): ... this.
24095 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
24096 (CPUID_OSXSAVE): New macro.
24097 (CPUID_AVX): New macro.
24098 (CPUID_FMA4): New macro.
24099 (index_YMM_Usable): Rename to...
24100 (index_AVX_Usable): ... this.
24101 (HAS_AVX): Use HAS_ARCH_FEATURE.
24102 (HAS_FMA4): Likewise.
24103 (HAS_YMM_USABLE): Remove.
24104 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24105 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
24106 are present.
24107 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
24108 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
24109 * sysdeps/x86_64/multiarch/Makefile: Likewise.
24110 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
24111 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
24112
0af797de
CM
241132012-05-17 Chris Metcalf <cmetcalf@tilera.com>
24114
24115 * math/libm-test.c: Support platforms without multiple rounding modes.
24116 * math/bug-nextafter.c: Support platforms without FP exceptions.
24117 * math/bug-nexttoward.c: Likewise.
24118 * math/test-fenv.c: Likewise.
24119 * math/test-misc.c: Likewise.
24120 * stdlib/bug-getcontext.c: Likewise.
24121
e39745ff
AJ
241222012-05-17 Andreas Jaeger <aj@suse.de>
24123
24124 * manual/examples/search.c (critter_cmp): Change signature to
24125 avoid warnings.
24126 * manual/string.texi (Collation Functions): Likewise.
24127
48970aba
L
241282012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24129
24130 * bits/types.h: Fold copyright years.
24131 * bits/typesizes.h: Likewise.
24132 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
24133 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
24134 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
24135 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
24136 * time/time.h: Likewise.
24137
bedee953
PP
241382012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
24139
24140 [BZ #208]
24141 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
24142 in instead of returning them. Return void.
24143 (__libc_mallinfo): Accumulate over all arenas.
24144 (__malloc_stats): Adjust for change in int_mallinfo interface.
24145
61653dfb
RM
241462012-05-16 Roland McGrath <roland@hack.frob.com>
24147
30b99d79
RM
24148 [BZ #10375]
24149 * configure.in (NM): Add AC_CHECK_TOOL for it.
24150 (libc_extra_cflags): New substituted variable.
24151 Check for -fstack-protector being used implicitly.
24152 * configure: Regenerated.
24153 * config.make.in (config-extra-cflags): New variable,
24154 gets @libc_extra_cflags@.
24155 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
24156
61653dfb
RM
24157 [BZ #10375]
24158 * configure.in: Check for _FORTIFY_SOURCE being predefined.
24159 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
24160 * configure: Regenerated.
24161 * config.make.in (CPPUNDEFS): New substituted variable.
24162 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
24163 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
24164 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
24165
661768bb
L
241662012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24167
24168 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
24169 (mq_attr): Use __syscall_slong_t.
24170
d4261567
L
241712012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24172
24173 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
24174 Check __x86_64__ instead of __WORDSIZE.
24175 (_STAT_VER_LINUX): Likewise.
24176 (stat): Check __x86_64__ instead of __WORDSIZE. Use
24177 __syscall_ulong_t and __syscall_slong_t.
24178 (stat64): Likewise.
24179
cf3ff365
L
241802012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24181
24182 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
24183
76cf3e4d
L
241842012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24185
24186 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
24187
a637753a
L
241882012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24189
24190 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
24191 __syscall_ulong_t.
24192
d5e05119
L
24193 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
24194 include <bits/wordsize.h>. Check __x86_64__ instead of
24195 __WORDSIZE.
24196 (greg_t): Use "__extension__ long long int" if __x86_64__ is
24197 defined.
24198 (mcontext_t): Replace "unsigned long" with "unsigned long long".
24199
f62ee380
L
24200 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
24201 include <bits/wordsize.h>. Check __x86_64__ instead of
24202 __WORDSIZE.
24203 (user_regs_struct): Use "__extension__ unsigned long long"
24204 instead of "unsigned long" if __x86_64__ is defined.
24205 (user): Likewise. Pad after pointer field if __ILP32__ is
24206 defined.
24207
4e124ced
JM
242082012-05-16 Joseph Myers <joseph@codesourcery.com>
24209
6a3951a0
JM
24210 * configure.in (makeinfo): Require version 4.5 or later. Allow
24211 versions 5 to 9.
24212 * configure: Regenerated.
24213 * manual/install.texi (texinfo): Increase version requirement to
24214 4.5 or later.
24215 * INSTALL: Regenerated.
24216
4e124ced
JM
24217 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
24218
953ca31a
L
242192012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24220
24221 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
24222
617aca05
L
24223 * sysdeps/x86_64/x32/ffs.c: New file.
24224
5762f7ae
L
24225 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
24226 __syscall_ulong_t.
24227 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
24228 defined. Use __syscall_ulong_t.
24229 (shminfo): Use __syscall_ulong_t.
24230 (shm_info): Likewise.
24231
a26b6856
L
24232 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
24233 __syscall_ulong_t.
24234
cb2b9ef7
L
24235 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
24236 <bits/wordsize.h>.
24237 (msgqnum_t): Use __syscall_ulong_t.
24238 (msglen_t): Likewise.
24239 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
24240 __syscall_ulong_t.
24241
34683bb0
L
24242 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
24243 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
24244
84a68786
L
24245 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
24246
48baa5f1
L
24247 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
24248 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
24249
180be88b
L
24250 * sysvipc/sys/msg.h (msgbuf): Replace long int with
24251 __syscall_slong_t.
24252
5e90c8ad
L
24253 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
24254 include <bits/wordsize.h>. Check __x86_64__ instead of
24255 __WORDSIZE.
24256
23dfb58b
L
24257 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
24258 "unsigned long long int" if __x86_64__ is defined.
24259 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
24260
ce5d54b0
L
24261 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
24262 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
24263 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
24264
13dc9eac
L
24265 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
24266 <stdint.h>.
24267 (GET_PC): Cast to uintptr_t first.
24268 (GET_FRAME): Likewise.
24269 (GET_STACK): Likewise.
24270
a7895d15
L
24271 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
24272 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
24273 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
24274 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
24275 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
24276 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
24277 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
24278 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
24279 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
24280 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
24281 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
24282 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
24283 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
24284 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
24285 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
24286 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
24287 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
24288 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
24289 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
24290 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
24291 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
24292 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
24293 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
24294 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
24295 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
24296 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
24297 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
24298 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
24299 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
24300
656416c9
AS
243012012-05-16 Andreas Schwab <schwab@linux-m68k.org>
24302
5bd66283
AS
24303 * Makerules (+depfiles): Also collect depfiles from .oS in
24304 $(extra-objs).
24305 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
24306 .oS, $(libnldbl-routines)).
24307
656416c9
AS
24308 * Makerules (native-compile-mkdep-flags): Define.
24309 * sunrpc/Makefile (extra-objs): Add $(addprefix
24310 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
24311 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
24312 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
24313 calling $(make-target-directory).
24314
a46f2169
L
243152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24316
24317 * bits/types.h (__snseconds_t): Removed.
24318 * time/time.h (struct timespec): Replace __snseconds_t with
24319 __syscall_slong_t.
24320 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
24321 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
24322 Likewise.
24323 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24324 (__SNSECONDS_T_TYPE): Likewise.
24325 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24326 (__SNSECONDS_T_TYPE): Likewise.
24327 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24328 (__SNSECONDS_T_TYPE): Likewise.
24329
6af6528b
L
243302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24331
24332 * sysdeps/mach/hurd/bits/typesizes.h
24333 (__SYSCALL_SLONG_TYPE): New macro.
24334 (__SYSCALL_ULONG_TYPE): Likewise.
24335
de986b56
L
243362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24337
24338 * bits/types.h (__syscall_slong_t): New type.
24339 (__syscall_ulong_t): Likewise.
24340
24341 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
24342 (__SYSCALL_ULONG_TYPE): Likewise.
24343 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24344 (__SYSCALL_SLONG_TYPE): Likewise.
24345 (__SYSCALL_ULONG_TYPE): Likewise.
24346 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24347 (__SYSCALL_SLONG_TYPE): Likewise.
24348 (__SYSCALL_ULONG_TYPE): Likewise.
24349 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24350 (__SYSCALL_SLONG_TYPE): Likewise.
24351 (__SYSCALL_ULONG_TYPE): Likewise.
24352
85736dc7
L
243532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24354
24355 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
24356 Add sigaltstack-offsets.sym.
24357 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
24358 <sigaltstack-offsets.h>.
24359 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
24360 longjmp_msg pointer.
24361 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
24362 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
24363 signal stack.
24364 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
24365
cc03b296
JM
243662012-05-15 Joseph Myers <joseph@codesourcery.com>
24367
a9538892
JM
24368 * elf/stackguard-macros.h: Remove file.
24369 * sysdeps/generic/stackguard-macros.h: New file.
24370 * sysdeps/i386/stackguard-macros.h: Likewise.
24371 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
24372 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
24373 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
24374 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
24375 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
24376 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
24377 * sysdeps/x86_64/stackguard-macros.h: Likewise.
24378 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
24379 <elf/stackguard-macros.h>.
24380
cc03b296
JM
24381 [BZ #14109]
24382 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
24383 __aligned__ in attribute.
24384 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
24385 (gregset_t): Likewise.
24386
93171016
L
243872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24388
24389 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
24390 * sysdeps/x86_64/64/Implies-after: Here. New file.
24391 * sysdeps/x86_64/x32/Implies-after: New file.
24392
d86813a0
L
243932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24394
24395 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
24396 and access return value for _dl_profile_fixup. Use R10_LP to
24397 load frame size.
24398
2953ec75
L
243992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24400
24401 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
24402
3b550e9e
L
244032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24404
24405 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
24406 * sysdeps/x86_64/x32/sysdep.h: New file.
24407
eda41706
L
244082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24409
24410 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
24411 * sysdeps/x86_64/setjmp.S: Likewise.
24412
9ea01d93
AZ
244132012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24414
24415 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
24416 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
24417 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
24418 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
24419 remove unused global constant.
24420
02a91938
CM
244212012-05-15 Chris Metcalf <cmetcalf@tilera.com>
24422
24423 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
24424 include of <not-cancel.h>.
24425
6540185f
RM
244262012-05-15 Roland McGrath <roland@hack.frob.com>
24427
24428 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
24429
509072a0
AJ
244302012-05-15 Jeff Law <law@redhat.com>
24431 Andreas Jaeger <aj@suse.de>
24432
24433 [BZ #13594]
24434 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
24435 out from...
24436 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
24437 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
24438 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
24439 code changing __hst_map_handle.map.
24440
ba75122d
RM
244412012-05-15 Roland McGrath <roland@hack.frob.com>
24442
24443 * configure.in (sysnames): Look for Implies-before and Implies-after
24444 files.
24445 * configure: Regenerated.
24446
890d8bd8
L
244472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24448
24449 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
24450 8-byte data alignment with LP_SIZE alignment.
24451
f6ee6623
L
244522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24453
24454 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
24455 into R10_LP.
24456
ea2626f6
L
244572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24458
24459 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
24460
085f715e
L
244612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24462
24463 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
24464 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
24465 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
24466 Likewise.
24467 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
24468
be8498fc
L
244692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24470
24471 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
24472 (stackinfo_sub_sp): Likewise.
24473
70bc83b9
L
244742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24475
24476 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
24477 RAX_LP.
24478
9bc0b730
L
244792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24480
24481 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
24482 into R*_LP.
24483
6d2850e7
L
244842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24485
24486 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
24487 sizes into R*_LP.
24488
3cb84561
L
244892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24490
24491 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
24492
54e2ed81
L
244932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24494
24495 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
24496 into R11_LP and load __x86_64_shared_cache_size_half into
24497 R8_LP.
24498
8a17f349
L
244992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24500
24501 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
24502 R8_LP.
24503
777b1eea
AZ
245042012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24505
24506 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
24507 logb for POWER7.
24508 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
24509 logbf for POWER7.
24510 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
24511 logbl for POWER7.
24512 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
24513 powerpc32/power7/fpu/s_logb.c via #include.
24514 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
24515 powerpc32/power7/fpu/s_logbf.c via #include.
24516 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
24517 powerpc32/power7/fpu/s_logbl.c via #include.
24518
d20d4ac2
JM
245192012-05-15 Joseph Myers <joseph@codesourcery.com>
24520
24521 * README.libm: Remove file.
24522
6cdef1ab
L
245232012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24524
24525 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
24526 count for x32. Use R*_LP and omit operand-size suffix.
24527
0b254d8f
L
245282012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24529
24530 * shlib-versions: Move x86_64-.*-linux.* entries to ...
24531 * sysdeps/x86_64/64/shlib-versions: Here. New file.
24532 * sysdeps/x86_64/x32/shlib-versions: New file.
24533
ceb809dc
RM
245342012-05-14 Roland McGrath <roland@hack.frob.com>
24535
24536 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
24537 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
24538 Use _dl_fatal_printf instead.
24539
37f1abd4
JM
245402012-05-14 Joseph Myers <joseph@codesourcery.com>
24541
24542 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
24543 set if not set by the user. Do not allow for being unset.
24544 * sysdeps/unix/sysv/linux/configure: Regenerated.
24545
11de3a33
L
245462012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24547
24548 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
24549 the `q' suffix from lea and replace .quad with ASM_ADDR.
24550
e02f153a
L
245512012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24552
24553 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
24554 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
24555 instead of $17.
24556 (PTR_DEMANGLE): Likewise.
24557
520ae0fd
L
245582012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24559
24560 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
24561 (LP_OP): Likewise.
24562 (ASM_ADDR): Likewise.
24563 (RAX_LP): Likewise.
24564 (RBP_LP): Likewise.
24565 (RBX_LP): Likewise.
24566 (RCX_LP): Likewise.
24567 (RDI_LP): Likewise.
24568 (RSI_LP): Likewise.
24569 (RSP_LP): Likewise.
24570 (R8_LP): Likewise.
24571 (R9_LP): Likewise.
24572 (R10_LP): Likewise.
24573 (R10_LP): Likewise.
24574 (R11_LP): Likewise.
24575 (R12_LP): Likewise.
24576 (R13_LP): Likewise.
24577 (R14_LP): Likewise.
24578 (R15_LP): Likewise.
24579
b985be81
L
245802012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24581
24582 * sysdeps/x86_64/x32/dl-machine.h: New file.
24583
6a4888ff
AJ
245842012-05-14 Andreas Jaeger <aj@suse.de>
24585
24586 * manual/Makefile (subdir): Remove export of subdir.
24587 (all): Remove target.
24588 (.PHONY): Remove all from list.
24589 (mkinstalldirs): Remove.
24590 (.PHONY): Remove installdirs from list.
24591 ($(inst_infodir)/libc.info): Use make-target-directory.
24592 (installdirs): Remove.
24593 (subdir_%): Remove.
24594 (glibc-targets): Remove.
24595 (lib): Remove.
24596 (stubs): Remove.
24597 ($(objpfx)stubs ../po/manual.pot): Remove.
24598 ($(objpfx)stamp%): Remove.
24599 (make-target-directory): Remove.
24600 (subdir_install): Remove.
24601 (routines): Remove.
24602 (aux): Remove.
24603 (sources): Remove.
24604 (objects): Remove.
24605 (headers): Remove.
24606
24607 [BZ #13750]
24608 * manual/.gitignore: Remove, it's not needed anymore.
24609 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
24610 all files in it.
24611 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
24612 directory.
24613 (texis): Renamed to $(objpfx)texis.
24614 (texis-path): New, contains path to generated files.
24615 (chapters.%): Use texis-path for complete path, add extra argument
24616 libc-texinfo.sh.
24617 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
24618 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
24619 (summary,texi, stamp-summary): Use complete path of
24620 files. Generate files in build dir.
24621 (dir-add.texi): Build in build dir.
24622 (libm-err.texi,stamp-libm-err): Likewise.
24623 (version.texi, stamp-version): Likewise.
24624 (.%c.texi): Likewise.
24625 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
24626 (mostlyclean): Remove target.
24627 (realclean): Remove target.
24628 (generated): Add new variable with contents from mostlyclean and
24629 realclean, remove entries duplicated in common-mostlyclean, add
24630 stamp-libm-err and stamp-version.
24631 (generated-dirs): Add libc directory.
24632 ($(inst_infodir)/libc.info): Install files from build dir.
24633
24634 * manual/install.texi (Configuring and compiling): Adjust since
24635 the info files are not part of the tar ball anymore.
24636
7ac77294
AJ
246372012-05-14 Andreas Jaeger <aj@suse.de>
24638
24639 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
24640 variable.
24641
ffb7875d
JM
246422012-05-14 Joseph Myers <joseph@codesourcery.com>
24643
24644 [BZ #13717]
24645 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
24646 to 2.2.0 where earlier.
24647 * sysdeps/unix/sysv/linux/configure: Regenerated.
24648 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
24649 Remove conditional code.
24650 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
24651 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
24652 Remove conditional code.
24653 [!__NR_lchown]: Likewise.
24654 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24655 [__NR_lchown]: Likewise.
24656 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
24657 comment referencing __ASSUME_LCHOWN_SYSCALL.
24658 * sysdeps/unix/sysv/linux/i386/sigaction.c
24659 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24660 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24661 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
24662 Remove conditional code.
24663 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
24664 (__protocol_available): Remove #if 0 code.
24665 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
24666 conditional code.
24667 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
24668 * sysdeps/unix/sysv/linux/kernel-features.h
24669 (__ASSUME_GETCWD_SYSCALL): Don't define.
24670 (__ASSUME_REALTIME_SIGNALS): Likewise.
24671 (__ASSUME_PREAD_SYSCALL): Likewise.
24672 (__ASSUME_PWRITE_SYSCALL): Likewise.
24673 (__ASSUME_POLL_SYSCALL): Likewise.
24674 (__ASSUME_LCHOWN_SYSCALL): Likewise.
24675 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
24676 non-SPARC.
24677 (__ASSUME_SIOCGIFNAME): Don't define.
24678 (__ASSUME_MSG_NOSIGNAL): Likewise.
24679 (__ASSUME_SENDFILE): Define unconditionally.
24680 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
24681 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
24682 conditional code.
24683 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
24684 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
24685 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24686 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24687 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
24688 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24689 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
24691 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24692 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
24694 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24695 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
24697 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24698 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
24700 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24701 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
24703 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24704 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
24706 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24707 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
24709 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24710 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
24712 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24713 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24714 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
24715 Remove conditional code.
24716 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24717 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24718 Remove conditional code.
24719 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24720 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
24721 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
24722 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24723 Remove conditional code.
24724 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24725 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
24726 Remove conditional code.
24727 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24728 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
24729 Remove conditional code.
24730 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24731 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24732 Remove conditional code.
24733 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24734 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24735 Remove conditional code.
24736 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24737 * sysdeps/unix/sysv/linux/sh/pwrite64.c
24738 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24739 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24740 * sysdeps/unix/sysv/linux/sigaction.c
24741 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24742 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24743 * sysdeps/unix/sysv/linux/sigpending.c
24744 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24745 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24746 * sysdeps/unix/sysv/linux/sigprocmask.c
24747 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24748 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24749 * sysdeps/unix/sysv/linux/sigsuspend.c
24750 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24751 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24752 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
24753 (__libc_missing_rt_sigs): Remove.
24754 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
24755 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
24756 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
24757 Remove conditional code.
24758 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
24759 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
24760 return 1.
24761 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
24762 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
24763 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
24764 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
24765
1bfb7291
AJ
247662012-05-14 Andreas Jaeger <aj@suse.de>
24767
caae5a81
AJ
24768 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
24769 it's not used in glibc.
24770 (__coshm1): Likewise.
24771 (__acosh1p): Likewise.
24772 (__sgn): Likewise.
24773
1bfb7291
AJ
24774 * manual/string.texi (Copying and Concatenation): Add missing
24775 variable in concat example.
24776 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
24777
c044d724
L
247782012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24779
144c5467 24780 [BZ #14103]
c044d724
L
24781 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
24782 __builtin_clzl with __builtin_clzll.
24783
2523c62b
L
247842012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24785
24786 [BZ #14104]
24787 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
24788 libc_freeres_ptr.
24789
d7bb4c42
LD
247902012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24791
24792 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
24793 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
24794 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
24795 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
24796
9dc4e1fb
MF
247972012-05-14 Mike Frysinger <vapier@gentoo.org>
24798
24799 * NEWS: Update ia64 info.
24800
c7df0112
AS
248012012-05-12 Andreas Schwab <schwab@linux-m68k.org>
24802
24803 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
24804 used as bcopy.
24805
dc70356c
TS
248062012-05-12 Thomas Schwinge <thomas@codesourcery.com>
24807
24808 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
24809 * sysdeps/unix/syscalls.list (dup3): Likewise.
24810 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
24811 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
24812
9fb1a21f
L
248132012-05-11 H.J. Lu <hongjiu.lu@intel.com>
24814
24815 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
24816 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
24817
4822a2a5
L
248182012-05-11 H.J. Lu <hongjiu.lu@intel.com>
24819
24820 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
24821 thread pointer.
24822 (TLS_IE): Use mov/add instead of movq/addq to load thread
24823 pointer.
24824 (TLS_GD_PREFIX): New.
24825 (TLS_GD): Use it.
24826
842b81d6
DM
248272012-05-11 David S. Miller <davem@davemloft.net>
24828
24829 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
24830 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
24831 (_FPU_SETCW): Likewise.
24832
1cf463cd
L
248332012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24834
24835 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
24836 is 32-byte aligned.
24837
60cc4a18
AS
248382012-05-11 Andreas Schwab <schwab@linux-m68k.org>
24839
24840 [BZ #11837]
24841 * iconvdata/gb18030.c: Update tables.
24842 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
24843 characters specially.
24844 (BODY for TO_LOOP): Add encoding of missing ranges.
24845
febb44a4
TS
248462012-05-11 Thomas Schwinge <thomas@codesourcery.com>
24847
24848 [BZ #13673]
24849 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
24850 * sysdeps/mach/hurd/dup3.c: Likewise.
24851 * sysdeps/mach/hurd/readlinkat.c: Likewise.
24852 * sysdeps/powerpc/memmove.c:: Likewise.
24853
0a10fb9e
L
248542012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24855
24856 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
24857 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
24858
df8a552f
L
248592012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24860
24861 * elf/elf.h (R_X86_64_RELATIVE64): New.
24862 (R_X86_64_NUM): Updated.
24863 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24864 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
24865 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
24866 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
24867 tst-quad1pie tst-quad2pie
24868 (modules-names): Add tst-quadmod1 tst-quadmod2.
24869 ($(objpfx)tst-quad1): New dependency.
24870 ($(objpfx)tst-quad2): Likewise.
24871 ($(objpfx)tst-quad1pie): Likewise.
24872 ($(objpfx)tst-quad2pie): Likewise.
24873 * sysdeps/x86_64/tst-quad1.c: New file.
24874 * sysdeps/x86_64/tst-quad1pie.c: New file.
24875 * sysdeps/x86_64/tst-quad2.c: Likewise.
24876 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
24877 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
24878 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
24879 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
24880 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
24881
f34d6f84
ST
248822012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24883
f42d41d1
ST
24884 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
24885 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
24886 * streams/stropts.h (t_scalar_t): Define type.
24887
3c3571fc
ST
24888 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
24889 (_PATH_PRESERVE): Set to "/var/lib".
24890 (_PATH_RWHODIR): Set to "/var/spool/rwho".
24891
61f06bd3
ST
24892 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
24893 instead of int.
24894
918d4d71
ST
24895 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
24896 if __dir_mkfile succeeded.
24897
f34d6f84
ST
24898 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
24899 checking for _hurd_dtablesize. Unlock it right after having
24900 finished _hurd_dtable allocation.
24901
10589b4a
TS
249022012-05-10 Thomas Schwinge <thomas@schwinge.name>
24903
674cdbc7
TS
24904 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
24905 * sysdeps/mach/hurd/configure: Regenerated.
24906 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
24907 special-casing to...
24908 * sysdeps/gnu/configure.in: ... this new file.
24909 * sysdeps/unix/sysv/linux/configure: Regenerated.
24910 * sysdeps/gnu/configure: New generated file.
24911
8e41b99f
TS
24912 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
24913 for Linux: use nsec instead of usec, as well as:
24914 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
24915 members of type struct timespec.
24916 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
24917 New macros.
24918 (struct stat64): Likewise.
24919 (_STATBUF_ST_NSEC): New macro.
24920 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
24921
10589b4a
TS
24922 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
24923 __strtoul_internal rather than strtoul.
24924
63643c85
PT
249252012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24926
24927 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
24928 and reject them.
24929
3faebe6a
ST
249302012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24931
24932 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
24933 which preserves existing values.
24934 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
24935
c6474b07
PT
249362012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24937
24938 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
24939 TIMEOUT values. Return EINVAL for NFDS values either negative or
24940 greater than FD_SETSIZE.
24941
1043890b
ST
249422012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24943
24944 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
24945 allocated, call __vm_protect to finish enabling the existing space, and
24946 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
24947 allocate the remainder.
24948
37ed8b9b
PT
249492012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24950
24951 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
24952 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
24953
db653660
ST
249542012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24955
37ed8b9b
PT
24956 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
24957 sysdeps/mach/hurd/readlink.c.
b29d4053 24958
db653660
ST
24959 * posix/tst-sysconf.c (posix_options): Only use
24960 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
24961 _POSIX_SYNCHRONIZED_IO when they are defined
24962 * sysdeps/mach/hurd/bits/posix_opt.h:
24963 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
24964 (_XOPEN_REALTIME): Undefine macro.
24965 (_XOPEN_REALTIME_THREADS): Undefine macro.
24966 (_XOPEN_SHM): Undefine macro.
24967 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
24968 macro to -1.
24969 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
24970 macro to -1.
24971 (_POSIX_ASYNC_IO): Undefine macro.
24972 (_POSIX_PRIORITIZED_IO): Undefine macro.
24973 (_POSIX_SPIN_LOCKS): Define macro to -1.
24974
ee16e894
ST
24975 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
24976 SA_NODEFER, SA_RESETHAND.
24977 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
24978 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
24979 F_DUPFD_CLOEXEC.
24980
6103ae3b
TS
249812012-05-10 Thomas Schwinge <thomas@schwinge.name>
24982
24983 * elf/Makefile (pldd-modules): Define unconditionally.
24984
80b4e5f3
TS
249852012-05-10 Thomas Schwinge <thomas@schwinge.name>
24986
24987 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
24988
edadcbd6
ST
249892012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24990
24991 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
24992 Return ENOENT when name is empty.
24993 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
24994
80694780
TS
249952012-05-10 Thomas Schwinge <thomas@schwinge.name>
24996
1792c087
TS
24997 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
24998
80694780
TS
24999 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
25000
6b645f0d
ST
250012012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25002
80694780
TS
25003 Fix mlock in all cases except non-readable pages.
25004 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
25005 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 25006
6b645f0d
ST
25007 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
25008 (__mkdir): When path is `/', just fail with EEXIST.
25009 * sysdeps/mach/hurd/mkdirat.c: Likewise.
25010
e468f8a3
TS
250112012-05-10 Thomas Schwinge <thomas@schwinge.name>
25012
25013 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
25014 <sys/uio.h> (for writev).
25015 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
25016 and <sys/param.h> (for MIN).
25017
a4186cff
PT
250182012-05-10 Pino Toscano <toscano.pino@tiscali.it>
25019
25020 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
25021 REQUESTED_TIME. Properly set the remaining time and return EINTR
25022 if interrupted.
25023
510bbf14
TS
250242012-05-10 Thomas Schwinge <thomas@schwinge.name>
25025
25026 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
25027 Depend on against $(link-rpcuserlibs).
25028
5d5722e8
ST
250292012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25030
a4186cff
PT
25031 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
25032 (__libc_stack_end): Do not use attribute_relro.
25033 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
25034 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 25035 to libthread-provided value.
a4186cff
PT
25036 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
25037 attribute_relro.
5d5722e8 25038
37233df9
TS
250392012-05-10 Thomas Schwinge <thomas@schwinge.name>
25040
be971a2b
TS
25041 [BZ #3748]
25042 * bits/libc-lock.h (__libc_once_get): New macro.
25043 * sysdeps/mach/bits/libc-lock.h: Likewise.
25044 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
25045 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
25046 instead of using implementation details.
25047
37233df9
TS
25048 * libio/fileops.c: Unconditionally include <kernel-features.h>.
25049 * libio/freopen.c: Likewise.
25050 * libio/freopen64.c: Likewise.
25051 * misc/syslog.c: Likewise.
25052 * nscd/connections.c: Likewise.
25053 * nscd/netgroupcache.c: Likewise.
25054 * sysdeps/posix/getcwd.c: Likewise.
25055
38de94a5
RM
250562012-05-10 Roland McGrath <roland@hack.frob.com>
25057
25058 * math/w_ilogbf.c: Add #include <limits.h>.
25059
67530489
ST
250602012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25061
a4186cff 25062 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
25063 path instead of returning without unlocking.
25064
67530489
ST
25065 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
25066 immediate-write ioctls.
25067 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
25068
5aa3a74a
TS
250692012-05-10 Thomas Schwinge <thomas@schwinge.name>
25070
18bad2ae
TS
25071 * sysdeps/mach/hurd/i386/init-first.c (init): Use
25072 __builtin_frame_address instead of making assumptions about the
25073 location of the return address relative to DATA. Force early load of
25074 the return address.
25075 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
25076 __builtin_frame_address.
25077
5aa3a74a
TS
25078 dup3 for GNU Hurd.
25079 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
25080 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
25081 implement dup3 and do some further code clean-ups.
25082 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
25083 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
25084
ecd0de9a
ST
250852012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25086
cd9fa985
ST
25087 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
25088
a4186cff
PT
25089 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
25090 HURD_CRITICAL_END around holding _hurd_dtable_lock.
25091 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
25092 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
25093 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
25094 d->port.lock.
802ca5a5 25095
a4186cff
PT
25096 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
25097 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
25098 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 25099
bcf55240
TS
251002012-05-10 Thomas Schwinge <thomas@schwinge.name>
25101
6960eb42
TS
25102 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
25103 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
25104 definitions.
25105
eb43375f
TS
25106 accept4 for GNU Hurd.
25107 * include/sys/socket.h (__libc_accept4): New prototype.
25108 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
25109 to implement __libc_accept4.
25110 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
25111 __libc_accept4.
25112 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
25113
bcf55240
TS
25114 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
25115 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
25116 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
25117 signal-defines.sym.
25118
6178c55b
ST
251192012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25120
a4186cff 25121 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 25122
6f080c2f
TS
251232012-05-10 Thomas Schwinge <thomas@schwinge.name>
25124
25125 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
25126 assertion on O_CLOEXEC flag.
25127 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
25128 * hurd/intern-fd.c: Likewise.
25129 * hurd/port2fd.c: Likewise.
25130
bcfe3a54
ST
251312012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25132
25133 [BZ #3906]
25134 * bits/in.h (IPV6_PKTINFO): Define new macro.
25135 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
25136
89c9aa49
AZ
251372012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25138
25139 [BZ #13954]
25140 [BZ #13955]
25141 [BZ #13956]
25142 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
25143 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
25144 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
25145 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
25146 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25147 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
25148 * math/libm-test.inc (logb_test) : Additional logb tests.
25149
021db4be
AJ
251502012-05-09 Andreas Schwab <schwab@linux-m68k.org>
25151 Andreas Jaeger <aj@suse.de>
25152
25153 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
25154 * configure: Regenerated.
25155 * config.h.in (LINK_OBSOLETE_RPC): New macro.
25156 * config.make.in (link-obsolete-rpc): New substituted variable.
25157 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
25158 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
25159 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
25160 (shared-only-routines): Don't set it under [link-obsolete-rpc],
25161 so that libc.a contains the symbols.
25162 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
25163 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
25164 * sunrpc/auth_none.c: Likewise.
25165 * sunrpc/auth_unix.c: Likewise.
25166 * sunrpc/authdes_prot.c: Likewise.
25167 * sunrpc/authuxprot.c: Likewise.
25168 * sunrpc/clnt_gen.c: Likewise.
25169 * sunrpc/clnt_perr.c: Likewise.
25170 * sunrpc/clnt_raw.c: Likewise.
25171 * sunrpc/clnt_simp.c: Likewise.
25172 * sunrpc/clnt_tcp.c: Likewise.
25173 * sunrpc/clnt_udp.c: Likewise.
25174 * sunrpc/clnt_unix.c: Likewise.
25175 * sunrpc/des_crypt.c: Likewise.
25176 * sunrpc/des_soft.c: Likewise.
25177 * sunrpc/get_myaddr.c: Likewise.
25178 * sunrpc/key_call.c: Likewise.
25179 * sunrpc/key_prot.c: Likewise.
25180 * sunrpc/netname.c: Likewise.
25181 * sunrpc/pm_getmaps.c: Likewise.
25182 * sunrpc/pm_getport.c: Likewise.
25183 * sunrpc/pmap_clnt.c: Likewise.
25184 * sunrpc/pmap_prot.c: Likewise.
25185 * sunrpc/pmap_prot2.c: Likewise.
25186 * sunrpc/pmap_rmt.c: Likewise.
25187 * sunrpc/publickey.c: Likewise.
25188 * sunrpc/rpc_cmsg.c: Likewise.
25189 * sunrpc/rpc_common.c: Likewise.
25190 * sunrpc/rpc_dtable.c: Likewise.
25191 * sunrpc/rpc_prot.c: Likewise.
25192 * sunrpc/rpc_thread.c: Likewise.
25193 * sunrpc/rtime.c: Likewise.
25194 * sunrpc/svc.c: Likewise.
25195 * sunrpc/svc_auth.c: Likewise.
25196 * sunrpc/svc_raw.c: Likewise.
25197 * sunrpc/svc_run.c: Likewise.
25198 * sunrpc/svc_tcp.c: Likewise.
25199 * sunrpc/svc_udp.c: Likewise.
25200 * sunrpc/svc_unix.c: Likewise.
25201 * sunrpc/svcauth_des.c: Likewise.
25202 * sunrpc/xcrypt.c: Likewise.
25203 * sunrpc/xdr.c: Likewise.
25204 * sunrpc/xdr_array.c: Likewise.
25205 * sunrpc/xdr_float.c: Likewise.
25206 * sunrpc/xdr_intXX_t.c: Likewise.
25207 * sunrpc/xdr_mem.c: Likewise.
25208 * sunrpc/xdr_rec.c: Likewise.
25209 * sunrpc/xdr_ref.c: Likewise.
25210 * sunrpc/xdr_sizeof.c: Likewise.
25211 * sunrpc/xdr_stdio.c: Likewise.
25212
b5c086a2
RM
252132012-05-10 Roland McGrath <roland@hack.frob.com>
25214
25215 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
25216 change. Update copyright years.
25217
6d74dd09
JM
252182012-05-10 Joseph Myers <joseph@codesourcery.com>
25219
25220 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
25221
28e72501
MK
252222012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
25223 Joseph Myers <joseph@codesourcery.com>
25224 Paul Pluzhnikov <ppluzhnikov@google.com>
25225
25226 [BZ #14012]
25227 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
25228 requiring rpcgen.
25229 [cross-compiling] (extra-libs): Likewise.
25230 [cross-compiling] (extra-libs-others): Likewise.
25231 [cross-compiling] (librpcsvc-routines): Likewise.
25232 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
25233 [cross-compiling] (omit-deps): Likewise.
25234 (sunrpc-CPPFLAGS): New variable.
25235 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
25236 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
25237 (cross-rpcgen-objs): New variable.
25238 (extra-objs): Append $(cross-rpcgen-objs).
25239 ($(cross-rpcgen-objs)): New rule.
25240 ($(objpfx)cross-rpcgen): Likewise.
25241 (rpcgen-cmd): Define to use $(built-program-file). Expand
25242 comment.
25243 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
25244 ($(objpfx)x%.stmp): Likewise.
25245 * sunrpc/proto.h [IS_IN_build] (_): Define.
25246 [IS_IN_build] (_libc_intl_domainname): Likewise.
25247
c8c59454
L
252482012-05-10 H.J. Lu <hongjiu.lu@intel.com>
25249
25250 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
25251 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
25252 and R_X86_64_TPOFF64.
25253
6f27cd16
JM
252542012-05-10 Joseph Myers <joseph@codesourcery.com>
25255
25256 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
25257 sysdeps/unix/sysv/syscalls.list.
25258 (stime): Likewise.
25259 (utime): Likewise.
25260 * sysdeps/unix/sysv/syscalls.list: Remove file.
25261
02467e1c
PE
252622012-05-10 Paul Eggert <eggert@cs.ucla.edu>
25263
25264 [BZ #3440]
25265 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
25266 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
25267 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
25268 (__LC_IDENTIFICATION): Make these macros useful in #if
25269 expressions, as required by C99.
25270
da392631
AS
252712012-05-10 Andreas Schwab <schwab@linux-m68k.org>
25272
25273 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
25274 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
25275 after this.
25276
8115f29b
L
252772012-05-09 H.J. Lu <hongjiu.lu@intel.com>
25278
25279 * stdlib/longlong.h: Updated from GCC.
25280
bdd74070
AJ
252812012-05-09 Andreas Jaeger <aj@suse.de>
25282
edfe0dbe
AJ
25283 * nscd/nscd.c (run_modes): Make named enum, reorder so that
25284 default is first entry.
25285 (run_mode): Set type.
25286 (main): Remove informal message about syslog.
25287 (options): Fix typo.
25288
bcfe3a54
ST
25289 [BZ #14053]
25290 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 25291 to asm.
bcfe3a54
ST
25292 (lrint): Likewise.
25293 (llrintf): Likewise.
25294 (llrint): Likewise.
25295 (rint): Likewise.
25296 (rintf): Likewise.
25297 (nearbyint): Likewise.
25298 (nearbyintf): Likewise.
bdd74070 25299
91d8d69e
AJ
253002012-05-09 Andreas Jaeger <aj@suse.de>
25301 Pedro Alves <palves@redhat.com>
25302
25303 * nscd/nscd.c (run_mode): Use enum.
25304 (main): Cleanup coding style issue.
25305
bb90b80b
AJ
253062012-05-09 Alexandre Oliva <aoliva@redhat.com>
25307 Andreas Jaeger <aj@suse.de>
25308
bcfe3a54
ST
25309 * nscd/nscd.c (go_background): Replaced with...
25310 (run_mode): ... this.
bb90b80b 25311 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
25312 (options): Add -F --foreground.
25313 (main): Implement it.
25314 (parse_opt): Parse it.
bb90b80b 25315
1a4b75a1
AJ
253162012-05-09 Andreas Jaeger <aj@suse.de>
25317
25318 [BZ #14083]
25319 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
25320 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
25321 -Wconversion warning.
25322 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
25323 Likewise.
25324
b1cc2472
JM
253252012-05-09 Joseph Myers <joseph@codesourcery.com>
25326
25327 * conform/data/locale.h-data (NULL): Use macro-constant. Require
25328 == 0.
25329 (LC_ALL): Use macro-int-constant.
25330 (LC_COLLATE): Likewise.
25331 (LC_CTYPE): Likewise.
25332 (LC_MESSAGES): Likewise.
25333 (LC_MONETARY): Likewise.
25334 (LC_NUMERIC): Likewise.
25335 (LC_TIME): Likewise.
25336 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
25337 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
25338 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25339 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
25340 Specify type.
25341 [C99-based standards] (float_t): Expect type.
25342 [C99-based standards] (double_t): Expect type.
25343 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
25344 type.
25345 [C99-based standards] (HUGE_VALL): Likewise.
25346 [C99-based standards] (INFINITY): Likewise.
25347 [C99-based standards] (NAN): Likewise.
25348 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
25349 [C99-based standards] (FP_NAN): Likewise.
25350 [C99-based standards] (FP_NORMAL): Likewise.
25351 [C99-based standards] (FP_SUBNORMAL): Likewise.
25352 [C99-based standards] (FP_ZERO): Likewise.
25353 [C99-based standards] (FP_FAST_FMA): Use
25354 optional-macro-int-constant. Specify type. Require == 1.
25355 [C99-based standards] (FP_FAST_FMAF): Likewise.
25356 [C99-based standards] (FP_FAST_FMAL): Likewise.
25357 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
25358 [C99-based standards] (FP_ILOGBNAN): Likewise.
25359 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
25360 Specify type.
25361 [C99-based standards] (MATH_ERREXCEPT): Likewise.
25362 [C99-based standards] (math_errhandling): Specify type.
25363 [ISO99 || ISO11] (signgam): Do not allow.
25364 [non-C99-based standards] (copysignf): Do not allow.
25365 [non-C99-based standards] (exp2f): Likewise.
25366 [non-C99-based standards] (log2f): Likewise.
25367 [non-C99-based standards] (modff): Allow.
25368 [non-C99-based standards] (erff): Do not allow.
25369 [non-C99-based standards] (erfcf): Likewise.
25370 [non-C99-based standards] (gammaf): Likewise.
25371 [non-C99-based standards] (hypotf): Likewise.
25372 [non-C99-based standards] (j0f): Likewise.
25373 [non-C99-based standards] (j1f): Likewise.
25374 [non-C99-based standards] (jnf): Likewise.
25375 [non-C99-based standards] (lgammaf): Likewise.
25376 [non-C99-based standards] (tgammaf): Likewise.
25377 [non-C99-based standards] (y0f): Likewise.
25378 [non-C99-based standards] (y1f): Likewise.
25379 [non-C99-based standards] (ynf): Likewise.
25380 [non-C99-based standards] (isnanf): Likewise.
25381 [non-C99-based standards] (acoshf): Likewise.
25382 [non-C99-based standards] (asinhf): Likewise.
25383 [non-C99-based standards] (atanhf): Likewise.
25384 [non-C99-based standards] (cbrtf): Likewise.
25385 [non-C99-based standards] (expm1f): Likewise.
25386 [non-C99-based standards] (ilogbf): Likewise.
25387 [non-C99-based standards] (log1pf): Likewise.
25388 [non-C99-based standards] (logbf): Likewise.
25389 [non-C99-based standards] (nextafterf): Likewise.
25390 [non-C99-based standards] (remainderf): Likewise.
25391 [non-C99-based standards] (rintf): Likewise.
25392 [non-C99-based standards] (scalbf): Likewise.
25393 [non-C99-based standards] (copysignl): Likewise.
25394 [non-C99-based standards] (exp2l): Likewise.
25395 [non-C99-based standards] (log2l): Likewise.
25396 [non-C99-based standards] (modfl): Allow.
25397 [non-C99-based standards] (erfl): Do not allow.
25398 [non-C99-based standards] (erfcl): Likewise.
25399 [non-C99-based standards] (gammal): Likewise.
25400 [non-C99-based standards] (hypotl): Likewise.
25401 [non-C99-based standards] (j0l): Likewise.
25402 [non-C99-based standards] (j1l): Likewise.
25403 [non-C99-based standards] (jnl): Likewise.
25404 [non-C99-based standards] (lgammal): Likewise.
25405 [non-C99-based standards] (tgammal): Likewise.
25406 [non-C99-based standards] (y0l): Likewise.
25407 [non-C99-based standards] (y1l): Likewise.
25408 [non-C99-based standards] (ynl): Likewise.
25409 [non-C99-based standards] (isnanl): Likewise.
25410 [non-C99-based standards] (acoshl): Likewise.
25411 [non-C99-based standards] (asinhl): Likewise.
25412 [non-C99-based standards] (atanhl): Likewise.
25413 [non-C99-based standards] (cbrtl): Likewise.
25414 [non-C99-based standards] (expm1l): Likewise.
25415 [non-C99-based standards] (ilogbl): Likewise.
25416 [non-C99-based standards] (log1pl): Likewise.
25417 [non-C99-based standards] (logbl): Likewise.
25418 [non-C99-based standards] (nextafterl): Likewise.
25419 [non-C99-based standards] (remainderl): Likewise.
25420 [non-C99-based standards] (rintl): Likewise.
25421 [non-C99-based standards] (scalbl): Likewise.
25422 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25423 [non-C99-based standards] (FP_*): Do not allow.
25424 [C99-based standards] (FP_*): Change to
25425 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
25426 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25427 allow.
25428 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
25429 (SIG_ERR): Likewise.
25430 [X/Open-based standards] (SIG_HOLD): Likewise.
25431 (SIG_IGN): Likewise.
25432 (SIGABRT): Use macro-int-constant. Specify type. Require
25433 positive value.
25434 (SIGFPE): Likewise.
25435 (SIGILL): Likewise.
25436 (SIGINT): Likewise.
25437 (SIGSEGV): Likewise.
25438 (SIGTER): Likewise.
25439 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
25440 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
25441 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
25442 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
25443 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
25444 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
25445 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
25446 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
25447 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
25448 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
25449 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
25450 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
25451 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
25452 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
25453 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
25454 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
25455 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
25456 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
25457 [X/Open-based standards] (SIGTRAP): Likewise.
25458 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
25459 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
25460 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
25461 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
25462 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25463 allow.
25464
b9f1922d
IW
254652012-05-08 Ian Wienand <ianw@vmware.com>
25466
25467 [BZ #14080]
25468 * time/tzset.c (__tzset_parse_tz): Update default rules for
25469 daylight time changes in the Energy Policy Act of 2005.
25470
1db86e88
AJ
254712012-05-09 Andreas Jaeger <aj@suse.de>
25472
25473 [BZ #13983]
25474 * elf/ldconfig.c (parse_conf): Change string to make clear that
25475 ldconfig only issued a warning if ld.so.conf does not exist.
25476
dee4a4e3
DM
254772012-05-08 David S. Miller <davem@davemloft.net>
25478
ee0db190
DM
25479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
25480 movxtod instead of popping the value on the stack.
25481
dee4a4e3
DM
25482 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25483
6a43ec98
CD
254842012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
25485
25486 * config.h.in: Add HAVE_ARM_PCS_VFP.
25487
05c2c961
RMG
254882012-05-08 Roland Mc Grath <roland@hack.frob.com>
25489
bcfe3a54
ST
25490 [BZ #13979]
25491 * include/features.h: Warn if user requests __FORTIFY_SOURCE
25492 checking but the checks are disabled for any reason.
05c2c961 25493
4b30f61a
L
254942012-05-08 H.J. Lu <hongjiu.lu@intel.com>
25495
25496 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
25497 and ELF64_R_TYPE with ELFW(R_TYPE).
25498
eee2bc67
JM
254992012-05-08 Joseph Myers <joseph@codesourcery.com>
25500
7ea5391a
JM
25501 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
25502 (ulimit): Likewise.
25503
eee2bc67
JM
25504 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
25505 (settimeofday): Likewise.
25506
abb66a67
MF
255072012-05-08 Mike Frysinger <vapier@gentoo.org>
25508
25509 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
25510 a struct th_u2 inside the union, and move tu_block/tu_code into
25511 a new th_u3 union of tu_block/tu_code inside of that. Move
25512 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
25513 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
25514 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
25515 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
25516 (th_stuff): Change to th_u1.tu_stuff.
25517 (th_data): Define.
25518 (th_msg): Change to th_u1.th_u2.tu_data.
25519
7f18b530
DM
255202012-05-07 David S. Miller <davem@davemloft.net>
25521
05760585
DM
25522 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25523
7f18b530
DM
25524 [BZ #14074]
25525 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
25526 (SETUP_PIC_REG): Use it.
25527 (SETUP_PIC_REG_LEAF): Use it.
25528
495fd99f
JM
255292012-05-07 Joseph Myers <joseph@codesourcery.com>
25530
25531 [BZ #13885]
25532 [BZ #13923]
25533 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25534 USE_AS_EXPM1L.
25535 (EXPL_FINITE): Likewise.
25536 (FLDLOG): Likewise.
25537 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25538 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25539 e_expl.S.
25540 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25541 USE_AS_EXPM1L.
25542 (EXPL_FINITE): Likewise.
25543 (FLDLOG): Likewise.
25544 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25545 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25546 e_expl.S.
25547 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
25548 test of -max_value argument for long double.
25549 * sysdeps/i386/fpu/libm-test-ulps: Update.
25550 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25551
6693d694
DM
255522012-05-06 David S. Miller <davem@davemloft.net>
25553
25554 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
25555 quad soft-float symbols whose references which are compiler
25556 generated.
25557 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
25558
6c23e11c
JM
255592012-05-06 Joseph Myers <joseph@codesourcery.com>
25560
d8b82cad
JM
25561 [BZ #13884]
25562 [BZ #13914]
25563 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25564 USE_AS_EXP10L.
25565 (EXPL_FINITE): Likewise.
25566 (FLDLOG): Likewise.
25567 (c0): Likewise.
25568 (c1): Likewise.
25569 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
25570 Adjust comments for base varying.
25571 (__expl_finite): Change alias to EXPL_FINITE.
25572 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
25573 e_expl.S.
25574 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
25575 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
25576 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
25577 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
25578 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25579 USE_AS_EXP10L.
25580 (EXPL_FINITE): Likewise.
25581 (FLDLOG): Likewise.
25582 (c0): Likewise.
25583 (c1): Likewise.
25584 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
25585 Adjust comments for base varying.
25586 (__expl_finite): Change alias to EXPL_FINITE.
25587 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
25588 tests for bugs.
25589 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25590
6c23e11c
JM
25591 [BZ #14064]
25592 * math/libm-test.inc (check_float_internal): Correct ulp
25593 calculation for subnormal expected results.
25594
29ba805c
AJ
255952012-05-06 Andreas Jaeger <aj@suse.de>
25596
25597 * Makeconfig (+math-flags): New, set to -frounding-math.
25598 (+cflags): Add +math-flags so that all of glibc gets compiled with
25599 it.
25600
25601 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
25602
7b17aeda
JM
256032012-05-05 Joseph Myers <joseph@codesourcery.com>
25604
5779f134
JM
25605 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
25606 Disable one test.
25607
41498f4d
JM
25608 [BZ #13787]
25609 [BZ #13922]
25610 [BZ #14036]
25611 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
25612 (__ieee754_expl): Allow for and saturate large arguments.
25613 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
25614 (u_threshold): Likewise.
25615 (__exp): Call __ieee754_exp before checking for overflow and
25616 underflow.
25617 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
25618 (u_threshold): Likewise.
25619 (__expf): Call __ieee754_expf before checking for overflow and
25620 underflow.
25621 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
25622 (u_threshold): Likewise.
25623 (__expl): Call __ieee754_expl before checking for overflow and
25624 underflow.
25625 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
25626 (__ieee754_expl): Allow for and saturate large arguments.
25627 * math/libm-test.inc (exp_test): Add another test. Do not allow
25628 missing overflow exception on overflow.
25629 (expm1_test): Do not allow missing overflow exception on overflow.
25630
6698b8bf
JM
25631 * sysdeps/i386/fpu/e_expl.c: Move to ...
25632 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
25633 rather than using inline asm.
25634 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
25635 * sysdeps/x86_64/fpu/e_expl.S: Copy from
25636 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
25637
7b17aeda
JM
25638 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
25639 (nice): Likewise.
25640 (poll): Likewise.
25641 (signal): Likewise.
25642 (time): Likewise.
25643 (times): Likewise.
25644
f7c85819
JM
256452012-05-04 Joseph Myers <joseph@codesourcery.com>
25646
25647 * sysdeps/unix/syscalls.list (adjtime): Add entry from
25648 sysdeps/unix/common/syscalls.list.
25649 (fchmod): Likewise.
25650 (fchown): Likewise.
25651 (ftruncate): Likewise.
25652 (getrusage): Likewise.
25653 (gettimeofday): Likewise.
25654 (setpgid): Likewise.
25655 (setregid): Likewise.
25656 (setreuid): Likewise.
25657 (sigaction): Likewise.
25658 (truncate): Likewise.
25659 (vhangup): Likewise.
25660 * sysdeps/unix/common/syscalls.list: Remove file.
25661 * sysdeps/unix/bsd/Implies: Don't include unix/common.
25662 * sysdeps/unix/sysv/linux/Implies: Likewise.
25663
336270d0
L
256642012-05-04 H.J. Lu <hongjiu.lu@intel.com>
25665
25666 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
25667 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
25668 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
25669 Moved to ...
25670 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
25671 Here.
25672 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
25673 to ...
25674 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
25675 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
25676 to ...
25677 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
25678 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
25679 to ...
25680 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
25681 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
25682 to ...
25683 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
25684 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
25685 to ...
25686 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
25687 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
25688 to ...
25689 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
25690 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
25691 to ...
25692 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25693 Here.
25694 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
25695 to ...
25696 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
25697 Here.
25698 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
25699 to ...
25700 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
25701 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
25702 Moved to ...
25703 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
25704 Here.
25705 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
25706 to ...
25707 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
25708
d128e450
JM
257092012-05-04 Joseph Myers <joseph@codesourcery.com>
25710
fa8ee516
JM
25711 * sysdeps/unix/common/bits/dirent.h: Remove file.
25712 * sysdeps/unix/common/bits/fcntl.h: Likewise.
25713
d128e450
JM
25714 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
25715 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
25716 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
25717 * sysdeps/unix/bsd/isatty.c: Likewise.
25718 * sysdeps/unix/bsd/tcdrain.c: Likewise.
25719 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
25720 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
25721
ff8faaf0 257222012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 25723
62881be4 25724 [BZ #13563]
31dc8730
AZ
25725 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
25726 long double comparison inaccuracies.
25727 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
25728 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25729
6fef930c
AS
257302012-05-04 Andreas Schwab <schwab@linux-m68k.org>
25731
25732 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
25733 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
25734
8f203e6c
JM
257352012-05-04 Joseph Myers <joseph@codesourcery.com>
25736
25737 [BZ #14049]
25738 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
25739 nonzero digits before rounding a hex value.
25740 * stdlib/tst-strtod.c (tests): Add another test.
25741
5197d9c2
AK
257422012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25743
25744 * sysdeps/s390/fpu/libm-test-ulps: Update.
25745
f0c1dedf
AJ
257462012-05-03 Andreas Jaeger <aj@suse.de>
25747
25748 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
25749 does not get optimized out.
25750 (malloc_opt_barrier): New.
25751
a65ef2ae 257522012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 25753 Roland McGrath <roland@hack.frob.com>
a65ef2ae 25754
2b942cb7 25755 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 25756 intermediate file deletion.
2b942cb7 25757 (generated): Add .symlist files.
a65ef2ae 25758
54b71e02
JM
257592012-05-03 Joseph Myers <joseph@codesourcery.com>
25760
25761 [BZ #13775]
25762 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
25763 Redirect under this condition.
25764 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25765 [__USE_GNU] (__dprintf_chk): Not under this condition.
25766 [__USE_GNU] (__vdprintf_chk): Likewise.
25767 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
25768 under this condition.
25769 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25770 [__USE_XOPEN2K8] (dprintf): Define under this condition.
25771 [__USE_XOPEN2K8] (vdprintf): Likewise.
25772 [__USE_GNU] (__dprintf_chk): Not under this condition.
25773 [__USE_GNU] (__vdprintf_chk): Likewise.
25774 [__USE_GNU] (dprintf): Likewise.
25775 [__USE_GNU] (vdprintf): Likewise.
25776
d3dfcc41
RM
257772012-05-03 Roland McGrath <roland@hack.frob.com>
25778
25779 * elf/Makefile (common-generated): Set this instead of generated for
25780 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
25781 $(all-built-dso)-derived lists.
25782
7ac30cc5
AJ
257832012-05-03 Andreas Jaeger <aj@suse.de>
25784
0c51e550
AJ
25785 * sysdeps/i386/fpu/libm-test-ulps: Update.
25786
7ac30cc5
AJ
25787 * FAQ: Removed.
25788 * FAQ.in: Likewise.
25789 * scripts/gen-FAQ.pl: Likewise.
25790 * manual/install.texi (Installation): Point to online location of
25791 FAQ.
25792 * Makefile (files-for-dist): Remove FAQ.
25793 (FAQ): Remove.
25794
d4c2917f
AM
257952012-05-02 Allan McRae <allan@archlinux.org>
25796
25797 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
25798 (LDFLAGS-reldepmod5.so): Likewise.
25799 (LDFLAGS-reldep6mod1.so): Likewise.
25800 (LDFLAGS-reldep6mod4.so): Likewise.
25801 (LDFLAGS-reldep8mod3.so): Likewise.
25802 (LDFLAGS-unload4mod1.so): Likewise.
25803 (LDFLAGS-unload4mod2.so): Likewise.
25804 (LDFLAGS-tst-initorder): Likewise.
25805 (LDFLAGS-tst-initordera2.so): Likewise.
25806 (LDFLAGS-tst-initordera3.so): Likewise.
25807 (LDFLAGS-tst-initordera4.so): Likewise.
25808 (LDFLAGS-tst-initorderb2.so): Likewise.
25809 (LDFLAGS-noload): Likewise.
25810 (LDFLAGS-next): Likewise.
25811 (LDFLAGS-order2mod1.so): Likewise.
25812 (LDFLAGS-order2mod2.so): Likewise.
25813 (LDFLAGS-tst-initorder2): Likewise.
25814 (LDFLAGS-tst-initorder2a.so): Likewise.
25815 (LDFLAGS-tst-initorder2b.so): Likewise.
25816 (LDFLAGS-tst-initorder2c.so): Likewise.
25817 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
25818
d77f993f
DM
258192012-05-02 David S. Miller <davem@davemloft.net>
25820
25821 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25822
171a70b4
PP
258232012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
25824
25825 [BZ #14055]
25826 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
25827
0be196ad
AJ
258282012-05-02 Andreas Jaeger <aj@suse.de>
25829
25830 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
25831 since we manipulate rounding mode.
25832 (CPPFLAGS-test-idouble.c): Likewise.
25833 (CPPFLAGS-test-ifloat.c): Likewise.
25834 (CFLAGS-test-ldouble.c): Likewise.
25835 (CFLAGS-test-double.c): Likewise.
25836 (CFLAGS-test-float.c): Likewise.
25837 (CFLAGS-test-misc.c): Likewise.
25838 (CFLAGS-test-test-fenv.c): Likewise.
25839
4f9d04aa
AZ
258402012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25841
2b942cb7
RM
25842 [BZ #2550]
25843 [BZ #2570]
25844 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
25845 comparisons to determine direction to adjust input.
4f9d04aa 25846
82a79e7d
RM
258472012-05-01 Roland McGrath <roland@hack.frob.com>
25848
f5a01ca9
RM
25849 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
25850 output to the target.
25851
90fe4186
RM
25852 * scripts/localplt.awk: New file.
25853 * elf/Makefile ($(objpfx)check-localplt): Target removed.
25854 (check-localplt-CFLAGS): Variable removed.
25855 ($(all-built-dso:=.jmprel)): New static pattern rule.
25856 (generated): Add those targets.
25857 (localplt-built-dso): New variable.
25858 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
25859
25860 * elf/check-localplt.c: File removed.
25861
82397ed6
RM
25862 * scripts/check-execstack.awk: New file.
25863 * elf/Makefile ($(objpfx)check-execstack): Target removed.
25864 (check-execstack-CFLAGS): Variable removed.
25865 ($(objpfx)check-execstack.h): Target removed.
25866 ($(objpfx)execstack-default): New target.
25867 (generated): Add that instead of check-execstack.h.
25868 ($(all-built-dso:=.phdr)): New static pattern rule.
25869 (generated): Add those targets.
25870 * elf/check-execstack.c: File removed.
25871
82a79e7d
RM
25872 * scripts/check-textrel.awk: New file.
25873 * elf/Makefile ($(objpfx)check-textrel): Target removed.
25874 (check-textrel-CFLAGS): Variable removed.
25875 (all-built-dso): Use := to define.o
25876 ($(all-built-dso:=.dyn)): New static pattern rule.
25877 (generated): Add those targets.
25878 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
25879 * config.make.in (READELF): New substituted variable.
25880 * elf/check-textrel.c: File removed.
25881
62fde54f 258822012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 25883
615605c9
JM
25884 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25885 allow.
25886 * conform/data/ctype.h-data [C99-based standards] (isblank):
25887 Expect function.
25888 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
25889 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
25890 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25891 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
25892 Specify type. Require positive value.
25893 (EILSEQ): Likewise.
25894 (ERANGE): Likewise.
25895 [ISO || POSIX] (EILSEQ): Do not expect.
25896 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
25897 Specify type. Require positive value.
25898 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
25899 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
25900 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
25901 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
25902 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
25903 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
25904 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
25905 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
25906 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
25907 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
25908 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
25909 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
25910 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
25911 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
25912 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
25913 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
25914 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
25915 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
25916 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
25917 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
25918 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
25919 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
25920 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
25921 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
25922 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
25923 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
25924 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
25925 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
25926 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
25927 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
25928 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
25929 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
25930 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
25931 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
25932 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
25933 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
25934 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
25935 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
25936 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
25937 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
25938 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
25939 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
25940 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
25941 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
25942 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
25943 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
25944 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
25945 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
25946 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
25947 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
25948 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
25949 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
25950 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
25951 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
25952 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
25953 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
25954 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
25955 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
25956 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
25957 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
25958 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
25959 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
25960 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
25961 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
25962 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
25963 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
25964 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
25965 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
25966 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
25967 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
25968 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
25969 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
25970 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
25971 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
25972 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
25973 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
25974 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
25975 Require >= 2.
25976 (FLT_ROUNDS): Expect as macro, not constant.
25977 (FLT_MANT_DIG): Use macro-int-constant.
25978 (DBL_MANT_DIG): Likewise.
25979 (LDBL_MANT_DIG): Likewise.
25980 (FLT_DIG): Likewise.
25981 (DBL_DIG): Likewise.
25982 (LDBL_DIG): Likewise.
25983 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
25984 (DBL_MIN_EXP): Likewise.
25985 (LDBL_MIN_EXP): Likewise.
25986 (FLT_MAX_EXP): Use macro-int-constant.
25987 (DBL_MAX_EXP): Likewise.
25988 (LDBL_MAX_EXP): Likewise.
25989 (FLT_MAX_10_EXP): Likewise.
25990 (DBL_MAX_10_EXP): Likewise.
25991 (LDBL_MAX_10_EXP): Likewise.
25992 (FLT_MAX): Use macro-constant.
25993 (DBL_MAX): Likewise.
25994 (LDBL_MAX): Likewise.
25995 (FLT_EPSILON): Use macro-constant. Give upper bound.
25996 (DBL_EPSILON): Likewise.
25997 (LDBL_EPSILON): Likewise.
25998 (FLT_MIN): Likewise.
25999 (DBL_MIN): Likewise.
26000 (LDBL_MIN): Likewise.
26001 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
26002 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
26003 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
26004 [ISO11] (FLT_HAS_SUBNORM): Likewise.
26005 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
26006 [ISO11] (DBL_DECIMAL_DIG): Likewise.
26007 [ISO11] (FLT_DECIMAL_DIG): Likewise.
26008 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
26009 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
26010 [ISO11] (FLT_TRUE_MIN): Likewise.
26011 [ISO11] (LDBL_TRUE_MIN): Likewise.
26012 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26013 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
26014 (SCHAR_MIN): Use macro-int-constant. Specify type.
26015 (SCHAR_MAX): Likewise.
26016 (UCHAR_MAX): Likewise.
26017 (CHAR_MIN): Likewise.
26018 (CHAR_MAX): Likewise.
26019 (MB_LEN_MAX): Use macro-int-constant.
26020 (SHRT_MIN): Use macro-int-constant. Specify type.
26021 (SHRT_MAX): Likewise.
26022 (USHRT_MAX): Likewise.
26023 (INT_MAX): Likewise.
26024 (INT_MIN): Use macro-int-constant. Specify type. Make upper
26025 bound negative.
26026 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
26027 bound with "U".
26028 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
26029 bound with "L".
26030 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
26031 bound negative. Suffix upper bound with "L".
26032 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
26033 bound with "UL".
26034 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
26035 Specify type.
26036 [C99-based standards] (LLONG_MAX): Likewise.
26037 [C99-based standards] (ULLONG_MAX): Likewise.
26038 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
26039 == 0.
26040 [ISO11] (max_align_t): Require type.
26041 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26042
c9140a62
JM
26043 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
26044 from $CFLAGS, without defining away __attribute__ calls.
26045 (checknamespace): Use $CFLAGS_namespace.
26046
9af0bf29
JM
26047 * conform/conformtest.pl (@keywords): Only include C99 keywords
26048 for standards based on C99 or C11.
26049
343222a2
JM
26050 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
26051 Disable tests.
26052 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
26053 UNIX98]: Likewise.
26054
661f8cf0
JM
26055 * conform/conformtest.pl: Handle "macro-int-constant" and test for
26056 usability of symbols in #if.
26057
ee74b9cb
JM
26058 * conform/conformtest.pl: If macro or constant types start
26059 "promoted:", expect the symbol to be of the following type
26060 promoted by the integer promotions.
62fde54f 26061
aafc49b3
JM
26062 * conform/conformtest.pl: Parse all "constant" and "macro" lines
26063 in one place. Also handle "macro-constant".
26064
fefdf574
JM
26065 * conform/conformtest.pl: Only accept expected macro values with
26066 "==". Parse all "macro" lines in one place.
26067 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
26068
f2d922fe
JM
26069 * conform/conformtest.pl: Handle braced types on "constant" lines
26070 instead of handling "typed-constant".
26071 * conform/data/signal.h-data: Use "constant" instead of
26072 "typed-constant".
26073
d22956c9
JM
26074 * conform/conformtest.pl: Handle "optional-" at start of lines in
26075 one place rather than duplicating several cases. Handle each
26076 format of "macro" line with initial "optional-".
26077
028e2e38
JM
26078 * conform/conformtest.pl: Only accept expected constant or
26079 optional-constant values with "==". Parse all "constant" lines in
26080 one place. Parse all "optional-constant" lines in one place.
26081 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
26082 * conform/data/fmtmsg.h-data: Likewise.
26083 * conform/data/netinet/in.h-data: Likewise.
26084 * conform/data/tar.h-data: Likewise.
26085 * conform/data/limits.h-data: Use "==" form on "constant" and
26086 "optional-constant" lines.
26087
1b8f2850
JM
26088 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
26089 Use -std=c99 for XOPEN2K.
26090 (@knownproblems): Remove.
26091 (newtoken): Don't check %isknown.
26092
a05a144b
JM
26093 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
26094 Do not expect macro.
26095 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
26096 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
26097 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
26098 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
26099 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
26100 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
26101 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
26102 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
26103 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
26104 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
26105 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
26106 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
26107 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
26108 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
26109 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
26110 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
26111 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
26112 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
26113 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
26114 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
26115 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
26116 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
26117 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
26118 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
26119 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
26120 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
26121 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
26122 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
26123 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
26124 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
26125 [XPG3] (acosh): Likewise.
26126 [XPG3] (asinh): Likewise.
26127 [XPG3] (atanh): Likewise.
26128 [XPG3] (cbrt): Likewise.
26129 [XPG3] (expm1): Likewise.
26130 [XPG3] (ilogb): Likewise.
26131 [XPG3] (log1p): Likewise.
26132 [XPG3] (logb): Likewise.
26133 [XPG3] (nextafter): Likewise.
26134 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
26135 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
26136 [XPG3] (remainder): Likewise.
26137 [XPG3] (rint): Likewise.
26138 [XPG3 || XPG4 || UNIX98] (round): Likewise.
26139 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
26140 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
26141 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
26142 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
26143 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
26144 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
26145 [UNIX98 || XOPEN2K] (scalb): Expect.
26146 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
26147 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
26148 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
26149 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
26150 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
26151 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
26152 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
26153 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
26154 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
26155 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
26156 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
26157 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
26158 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
26159 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
26160 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
26161 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
26162 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
26163 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
26164 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
26165 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
26166 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
26167 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
26168 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
26169 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
26170 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
26171 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
26172 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
26173 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
26174 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
26175 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
26176 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
26177 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
26178 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
26179 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
26180 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
26181 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
26182 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
26183 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
26184 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
26185 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
26186 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
26187 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
26188 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
26189 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
26190 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
26191 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
26192 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
26193 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
26194 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
26195 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
26196 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
26197 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
26198 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
26199 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
26200 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
26201 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
26202 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
26203 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
26204 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
26205 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
26206 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
26207 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
26208 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
26209 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
26210 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
26211 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
26212 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
26213 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
26214 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
26215 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
26216 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
26217 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
26218 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
26219 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
26220 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
26221 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
26222 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
26223 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
26224 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
26225 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
26226 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
26227 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
26228 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
26229 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
26230 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
26231 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
26232 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
26233 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
26234 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
26235 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
26236 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
26237 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
26238 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
26239 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
26240 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
26241 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
26242 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
26243 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
26244 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
26245 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
26246 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
26247 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
26248 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
26249 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
26250 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
26251 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
26252 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
26253 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
26254 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
26255 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
26256 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
26257 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
26258 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
26259 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
26260 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
26261 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
26262 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
26263 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
26264 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
26265 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
26266 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
26267 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
26268 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
26269 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
26270 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
26271 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
26272 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
26273 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
26274 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
26275 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
26276 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
26277 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
26278 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
26279 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
26280 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
26281 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
26282 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
26283
73c5ebe3
JM
26284 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
26285 _XOPEN_SOURCE_EXTENDED for XPG4.
26286
39c33b6c
JM
26287 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
26288
62fde54f
JM
26289 * Makeconfig (localtime): Remove variable.
26290 (inst_localtime-file): Likewise.
26291
0741d64c
AS
262922012-05-01 Andreas Schwab <schwab@linux-m68k.org>
26293
26294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
26295 Update.
26296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26297 Update.
26298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
26299 Update.
26300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
26301 Update.
26302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
26303 Update.
26304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
26305 Update.
26306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26307 Update.
26308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
26309 Update.
26310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26311 Update.
26312
7cb029ee
JM
263132012-05-01 Joseph Myers <joseph@codesourcery.com>
26314
26315 [BZ #2550]
26316 [BZ #2570]
26317 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
26318 comparisons to determine direction to adjust input.
26319 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
26320 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
26321 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
26322 Likewise.
26323 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
26324 Likewise.
26325 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
26326 Likewise.
26327 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
26328 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
26329 Likewise.
26330 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
26331 Likewise.
26332 * math/libm-test.inc (nexttoward_test): Add more tests.
26333
412bd966
AS
263342012-05-01 Andreas Schwab <schwab@linux-m68k.org>
26335
26336 [BZ #14040]
26337 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
26338 in version GLIBC_2.1, not GLIBC_2.0.
26339 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
26340 Likewise.
26341
9568c0c2
JM
263422012-04-30 Joseph Myers <joseph@codesourcery.com>
26343
adfbc8ac
JM
26344 [BZ #13942]
26345 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
26346 (1 - x) * (1 + x).
26347 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
26348 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
26349 * math/libm-test.inc (acos_test): Add more tests.
26350 (asin_test): Likewise.
26351 * sysdeps/i386/fpu/libm-test-ulps: Update.
26352 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26353
5ba3cc69
JM
26354 [BZ #14034]
26355 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
26356 of square root.
26357 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
26358 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
26359 * math/libm-test.inc (acos_test_tonearest): New function.
26360 (acos_test_towardzero): Likewise.
26361 (acos_test_downward): Likewise.
26362 (acos_test_upward): Likewise.
26363 (asin_test_tonearest): Likewise.
26364 (asin_test_towardzero): Likewise.
26365 (asin_test_downward): Likewise.
26366 (asin_test_upward): Likewise.
26367 (main): Call the new functions.
26368 * sysdeps/i386/fpu/libm-test-ulps: Update.
26369 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26370
9568c0c2
JM
26371 [BZ #13884]
26372 [BZ #13924]
26373 * math/e_exp10.c: Include <float.h>.
26374 (__ieee754_exp10): Handle underflow here rather than multiplying
26375 large negative argument by M_LN10.
26376 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
26377 of __ieee754_expf.
26378 * math/e_exp10l.c: Include <float.h>.
26379 (__ieee754_exp10l): Handle underflow here rather than multiplying
26380 large negative argument by M_LN10l.
26381 * math/libm-test.inc (exp10_test): Add another test. Do not allow
26382 spurious overflow exception on underflow.
26383
5ac3ea17
MP
263842012-04-29 Marek Polacek <polacek@redhat.com>
26385
26386 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
26387 (__fortify_function): New macro.
26388 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
26389 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
26390 __extern_always_inline.
26391 * libio/bits/stdio2.h: Likewise.
26392 * libio/bits/stdio.h: Likewise.
26393 * string/string.h: Likewise.
26394 * string/bits/string3.h: Likewise.
26395 * include/stdio.h: Likewise.
26396 * stdlib/bits/stdlib.h: Likewise.
26397 * stdlib/stdlib.h: Likewise.
26398 * rt/bits/mqueue2.h: Likewise.
26399 * rt/mqueue.h: Likewise.
26400 * posix/bits/unistd.h: Likewise.
26401 * posix/unistd.h: Likewise.
26402 * io/bits/poll2.h: Likewise.
26403 * io/bits/fcntl2.h: Likewise.
26404 * io/fcntl.h: Likewise.
26405 * io/sys/poll.h: Likewise.
26406 * misc/bits/syslog.h: Likewise.
26407 * misc/bits/syslog-ldbl.h: Likewise.
26408 * misc/sys/syslog.h: Likewise.
26409 * socket/bits/socket2.h: Likewise.
26410 * socket/sys/socket.h: Likewise.
26411 * debug/tst-chk1.c: Likewise.
26412 * wcsmbs/bits/wchar2.h: Likewise.
26413 * wcsmbs/bits/wchar-ldbl.h: Likewise.
26414 * wcsmbs/wchar.h: Likewise.
26415
ecf0ebfb
AJ
264162012-04-29 Andreas Jaeger <aj@suse.de>
26417
26418 * Makerules (tests): Remove enable-check-abi protection.
26419 (check-abi-warn): Remove.
26420 (check-abi-%): Remove check-abi-warn usage.
26421
26422 * configure.in: Remove check-abi configure option.
26423 * configure: Regenerated.
26424 * config.make.in (enable-check-abi): Remove.
26425
6d5c57fa
AS
264262012-04-28 Andreas Schwab <schwab@linux-m68k.org>
26427
24c5d07e 26428 [BZ #14033]
ded5180a
AS
26429 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
26430 double functions to double *_finite functions.
26431
7e0d315d
AS
26432 [BZ #13941]
26433 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
26434 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
26435 LDBL_MIN_EXP.
26436 * stdio-common/Makefile (tests): Add tst-sprintf3.
26437 * stdio-common/tst-sprintf3.c: New file.
26438
6d5c57fa
AS
26439 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
26440 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
26441
0749ff8b
JM
264422012-04-28 Joseph Myers <joseph@codesourcery.com>
26443
26444 * conform/conformtest.pl: Remove duplicate typed-constant
26445 handling.
26446
8dbd5d7b
DM
264472012-04-28 David S. Miller <davem@davemloft.net>
26448
26449 * Makerules (%.abilist): Add vpath on sysdep_dirs.
26450 (check-abi-%): Remove AWK script prerequisite and explicit
26451 abilist directory.
26452 (check-abi): Rewrite to just diff the symlist with the abilist.
26453 (config-tls, config-abi-config): Delete, no longer used.
26454 (update-abi-%): Remove AWK script and explicit abilist directory.
26455 (update-abi): Rewrite to simply compare and conditionally copy the
26456 symlist and the sysdep abilist file. Remove update-abi-config
26457 checks.
26458 * abilist/ld.abilist: Remove.
26459 * abilist/libBrokenLocale.abilist: Remove.
26460 * abilist/libanl.abilist: Remove.
26461 * abilist/libcrypt.abilist: Remove.
26462 * abilist/libdl.abilist: Remove.
26463 * abilist/librt.abilist: Remove.
26464 * abilist/libthread_db.abilist: Remove.
26465 * abilist/libutil.abilist: Remove.
26466 * scripts/extract-abilist.awk: Remove.
26467 * scripts/merge-abilist.awk: Remove.
26468 * sysdeps/generic/libcidn.abilist: New file.
26469 * sysdeps/generic/libnss_compat.abilist: New file.
26470 * sysdeps/generic/libnss_db.abilist: New file.
26471 * sysdeps/generic/libnss_dns.abilist: New file.
26472 * sysdeps/generic/libnss_files.abilist: New file.
26473 * sysdeps/generic/libnss_hesiod.abilist: New file.
26474 * sysdeps/generic/libnss_nis.abilist: New file.
26475 * sysdeps/generic/libnss_nisplus.abilist: New file.
26476 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
26477 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
26478 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
26479 file.
26480 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
26481 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
26482 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
26483 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
26484 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
26485 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
26486 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
26487 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
26488 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
26489 file.
26490 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
26491 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
26492 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
26493 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
26494 file.
26495 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
26496 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
26497 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
26498 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
26499 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
26500 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
26501 file.
26502 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
26503 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
26504 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
26505 file.
26506 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
26507 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
26508 New file.
26509 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
26510 New file.
26511 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
26512 New file.
26513 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
26514 New file.
26515 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
26516 New file.
26517 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
26518 New file.
26519 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
26520 New file.
26521 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
26522 New file.
26523 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
26524 New file.
26525 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
26526 New file.
26527 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
26528 New file.
26529 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
26530 New file.
26531 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
26532 New file.
26533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
26534 file.
26535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
26536 New file.
26537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
26538 New file.
26539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
26540 file.
26541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
26542 New file.
26543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
26544 New file.
26545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
26546 file.
26547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
26548 New file.
26549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26550 New file.
26551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
26552 New file.
26553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
26554 New file.
26555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
26556 New file.
26557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
26558 New file.
26559 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
26560 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
26561 file.
26562 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
26563 New file.
26564 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
26565 file.
26566 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
26567 file.
26568 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
26569 file.
26570 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
26571 file.
26572 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
26573 file.
26574 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26575 New file.
26576 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
26577 file.
26578 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
26579 file.
26580 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
26581 New file.
26582 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
26583 file.
26584 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
26585 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
26586 file.
26587 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
26588 New file.
26589 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
26590 file.
26591 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
26592 file.
26593 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
26594 file.
26595 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
26596 file.
26597 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
26598 file.
26599 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26600 New file.
26601 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
26602 file.
26603 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
26604 file.
26605 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
26606 New file.
26607 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
26608 file.
26609 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26610 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
26611 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
26612 file.
26613 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
26614 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
26615 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
26616 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
26617 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
26618 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
26619 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
26620 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
26621 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
26622 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
26623 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
26624 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
26625 file.
26626 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
26627 New file.
26628 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
26629 file.
26630 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
26631 file.
26632 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
26633 file.
26634 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
26635 file.
26636 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
26637 file.
26638 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26639 New file.
26640 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
26641 New file.
26642 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
26643 file.
26644 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
26645 New file.
26646 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
26647 file.
26648 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
26649 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
26650 file.
26651 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
26652 New file.
26653 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
26654 file.
26655 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
26656 file.
26657 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
26658 file.
26659 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
26660 file.
26661 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
26662 file.
26663 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26664 New file.
26665 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
26666 New file.
26667 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
26668 file.
26669 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
26670 New file.
26671 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
26672 file.
26673
41d73a1b
JM
266742012-04-28 Joseph Myers <joseph@codesourcery.com>
26675
26676 * conform/conformtest.pl: Fix typo in handling typed-constant from
26677 allow-header.
26678
28aeeda4
JM
266792012-04-27 Joseph Myers <joseph@codesourcery.com>
26680
adae8f5e
JM
26681 * README: Cut down references to pre-2.6 Linux kernels and
26682 Linuxthreads. Update lists of configurations in libc and ports
26683 and sort alphabetically. Say "or newer" with Linux kernel version
26684 requirements.
26685
28aeeda4
JM
26686 * config.h.in [IS_IN_build]: Allow compiling without optimization.
26687
a462cb63
RA
266882012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26689
26690 [BZ #887]
26691 * math/libm-test.inc (logb_test_downward): New test to expose
26692 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
26693 rounding mode.
26694
6ad3493e
JM
266952012-04-27 Joseph Myers <joseph@codesourcery.com>
26696
26697 [BZ #14027]
26698 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
26699 to be done.
26700 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
26701 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
26702
2ce4f015
JM
267032012-04-26 Joseph Myers <joseph@codesourcery.com>
26704
5aeb141a
JM
26705 * sysdeps/unix/i386/brk.S: Remove file.
26706 * sysdeps/unix/i386/dl-brk.S: Likewise.
26707 * sysdeps/unix/i386/pipe.S: Likewise.
26708 * sysdeps/unix/i386/sigreturn.S: Likewise.
26709 * sysdeps/unix/i386/syscall.S: Likewise.
26710 * sysdeps/unix/i386/vfork.S: Likewise.
26711 * sysdeps/unix/i386/wait.S: Likewise.
26712
7143acae
JM
26713 * sysdeps/unix/common/tcsendbrk.c: Move to ...
26714 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
26715
2ce4f015
JM
26716 * configure.in (arm*-none*): Do not allow without
26717 --enable-hacker-mode.
26718 (netbsd*): Remove case setting base_os.
26719 (386bsd*): Likewise.
26720 (freebsd*): Likewise.
26721 (bsdi*): Likewise.
26722 (osf*): Likewise.
26723 (sunos*): Likewise.
26724 (ultrix*): Likewise.
26725 (newsos*): Likewise.
26726 (dynix*): Likewise.
26727 (*bsd*): Likewise.
26728 (sysv*): Likewise.
26729 (isc*): Likewise.
26730 (esix*): Likewise.
26731 (sco*): Likewise.
26732 (minix*): Likewise.
26733 (irix4*): Likewise.
26734 (irix6*): Likewise.
26735 (solaris[2-9]*): Likewise.
26736 (none): Likewise.
26737 * configure: Regenerated.
26738
0ac229c8
AZ
267392012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26740
26741 [BZ #11521]
26742 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
26743 overflow or cancellation in calculating denominator.
26744 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
26745 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
26746 down expression to avoid unexpected rounding in newer GCCs.
26747 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
26748
33f244f4
DM
267492012-04-26 David S. Miller <davem@davemloft.net>
26750
26751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
26752 long-double compat symbols.
26753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
26755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
26756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
26757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
26758 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
26759 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
26760 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
26761 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
26762 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
26763 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
26764 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
26765 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26766
cfa1f3e8
DM
267672012-04-25 David S. Miller <davem@davemloft.net>
26768
26769 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
26770 HWCAP_* values only after the memory barriers have been defined.
26771 (atomic_full_barrier): Define.
26772 (atomic_read_barrier): Define.
26773 (atomic_write_barrier): Define.
26774
6e236b92
SP
267752012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26776
26777 * shlib-versions: Add libgcc_s version information.
26778 * sysdeps/generic/libgcc_s.h: Remove.
26779 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
26780 libgcc_s.h.
26781 * sysdeps/gnu/unwind-resume.c: Likewise.
26782 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
26783
aab39a09
DM
267842012-04-25 David S. Miller <davem@davemloft.net>
26785
26786 * sysdeps/unix/sparc/brk.S: Delete.
26787 * sysdeps/unix/sparc/dl-brk.S: Delete.
26788 * sysdeps/unix/sparc/pipe.S: Delete.
26789 * sysdeps/unix/sparc/sysdep.S: Delete.
26790 * sysdeps/unix/sparc/sysdep.h: Delete.
26791 * sysdeps/unix/sparc/vfork.S: Delete.
26792 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
26793 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
26794 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
26795 ret_ERRVAL, r0, r1, MOVE): Define.
26796 (JUMPTARGET): Remove.
26797 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
26798 sysdeps/unix/sparc/sysdep.h
26799 (ENTRY, END): Remove.
26800 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26801
a3cc4f48
JM
268022012-04-25 Joseph Myers <joseph@codesourcery.com>
26803
2ed8cda2
JM
26804 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
26805 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
26806 -DIS_IN_build.
26807
35d76d59
JM
26808 * timezone/README: Update upstream location and email address for
26809 tzcode and tzdata.
26810 * timezone/zdump.c: Update from tzcode 2012b.
26811 * timezone/zic.c: Likewise.
26812
a3cc4f48
JM
26813 * configure.in (libc_cv_as_needed): Remove test.
26814 * configure: Regenerated.
26815 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
26816 conditional definition.
26817 [$(have-as-needed) != yes] (no-as-needed): Likewise.
26818 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
26819 * config.make.in (have-as-needed): Remove variable.
26820
ceab42c3
SP
268212012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26822 Paul Pluzhnikov <ppluzhnikov@google.com>
26823
26824 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
26825 strings correctly.
26826
3ce2865f
CLT
268272012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
26828
26829 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
26830 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
26831 * sysdeps/sh/strlen.S: Likewise.
26832
f37e0d68
JM
268332012-04-24 Joseph Myers <joseph@codesourcery.com>
26834
ae186e9a
JM
26835 * sysdeps/unix/fork.S: Remove file.
26836 * sysdeps/unix/i386/fork.S: Likewise.
26837 * sysdeps/unix/sparc/fork.S: Likewise.
26838
b96914af
JM
26839 * sysdeps/unix/system.c: Remove file.
26840 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
26841
f37e0d68
JM
26842 * sysdeps/unix/getegid.S: Remove file.
26843 * sysdeps/unix/geteuid.S: Likewise.
26844
87ef29ca
RM
268452012-04-24 Roland McGrath <roland@hack.frob.com>
26846
83bcd236
RM
26847 * scripts/check-localplt.awk: New file.
26848 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
26849 of diff.
26850 * scripts/data/localplt-generic.data: Add a comment.
26851
87ef29ca
RM
26852 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
26853 NODE when __dir_mkfile failed.
26854 * sysdeps/mach/hurd/symlinkat.c: Likewise.
26855 Reported by Ludovic Courtès <ludo@gnu.org>.
26856
e5a6e567
AJ
268572012-04-24 Andreas Jaeger <aj@suse.de>
26858
26859 * Makerules (common-clean): Also remove gen-as-const-headers
26860 files.
26861
c1820385
JM
268622012-04-24 Joseph Myers <joseph@codesourcery.com>
26863
26864 * Makerules (native-compile): Do not change working directory for
26865 build. Use $(OUTPUT_OPTION) in command.
26866 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
26867
94e02fc4
AZ
268682012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26869
26870 [BZ #13886]
26871 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
26872 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
26873 * math/libm-test.inc (floor_test): Add more tests.
26874 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
26875
3a533ca3
JM
268762012-04-24 Joseph Myers <joseph@codesourcery.com>
26877
940ab4b3
JM
26878 * sysdeps/unix/getdents.c: Remove file.
26879 * sysdeps/unix/sysv/getdents.c: Likewise.
26880 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
26881
90e037bd
JM
26882 * sysdeps/unix/syscalls.list (madvise): Add syscall from
26883 sysdeps/unix/mman/syscalls.list.
26884 (mmap): Likewise.
26885 (mprotect): Likewise.
26886 (msync): Likewise.
26887 (munmap): Likewise.
26888 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
26889 * sysdeps/unix/mman/syscalls.list: Remove.
26890 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
26891
3a533ca3
JM
26892 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
26893 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
26894 * configure: Regenerated.
26895 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
26896 $(libgcc_s_suffix).
26897 * config.make.in (libgcc_s_suffix): Remove variable.
26898
1ad743de
JM
268992012-04-23 Joseph Myers <joseph@codesourcery.com>
26900
4ad451e2
JM
26901 * sysdeps/unix/sysv/gethostname.c: Move to ...
26902 * sysdeps/posix/gethostname.c: ... here.
26903
5e37ce39
JM
26904 * sysdeps/unix/execve.S: Remove file.
26905
1ad743de
JM
26906 * sysdeps/unix/_exit.S: Remove file.
26907
4e681b5b
AJ
269082012-04-23 Andreas Jaeger <aj@suse.de>
26909
26910 [BZ #13739]
26911 * manual/Makefile: Remove make dist support, there's no
26912 need for a stand-alone documentation tar ball.
26913 (TEXI2DVI): Define always, it's not in Makeconfig.
26914 (dist): Removed.
26915 (tar-it): Removed.
26916 (edition): Removed.
26917 (glibc-doc-$(edition).tar): Removed
26918 (%.Z): Removed.
26919 (%.gz): Removed.
26920 (%.uu): Removed.
26921 (ETAGS): Remove, it's in Makeconfig.
26922 (move-if-change): Remove, it's in Makeconfig.
26923
38686a03 269242012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
26925
26926 [BZ #13970]
26927 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
26928 (strtod, strtof, strtold, strtol, strtoul, strtoq)
26929 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
26930 (strtod_l, strtof_l, strtold_l): Remove __wur.
26931 It is not necessarily an error to ignore strtol's return value.
26932 One can reliably look at the stored endptr to decide whether
26933 the number had valid syntax.
26934
7c0616fa
AJ
269352012-04-21 Andreas Jaeger <aj@suse.de>
26936
803cb6b7 26937 [BZ #13739]
7c0616fa
AJ
26938 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
26939
b0fe253f
JM
269402012-04-21 Joseph Myers <joseph@codesourcery.com>
26941
26942 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
26943 * sysdeps/unix/sysv/Versions: Remove file.
26944
8280f22d
MT
269452012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
26946
26947 [BZ #13927]
26948 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26949
75ce411f 269502012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
26951
26952 [BZ #7064]
26953 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
26954 version from __vm86.
26955
097d59fa
JM
269562012-04-20 Joseph Myers <joseph@codesourcery.com>
26957
a90f3bcb
JM
26958 * sysdeps/unix/common/lxstat.c: Remove file.
26959 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
26960
edc7ea78
JM
26961 * sysdeps/unix/sysv/Makefile: Remove file.
26962
cb78c221
JM
26963 * sysdeps/unix/sysv/direct.h: Remove file.
26964
efa6a45f
JM
26965 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
26966 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
26967 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
26968 * sysdeps/unix/sysv/bits/signum.h: Likewise.
26969 * sysdeps/unix/sysv/bits/stat.h: Likewise.
26970 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
26971 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
26972
9c9f2d0c
JM
26973 * sysdeps/unix/sysv/setrlimit.c: Remove file.
26974
4541c83b
JM
26975 * sysdeps/unix/xmknod.c: Remove file.
26976 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
26977
f5d153a0
JM
26978 * sysdeps/unix/sysv/settimeofday.c: Remove file.
26979
aa746595
JM
26980 * sysdeps/unix/sysv/i386/time.S: Remove file.
26981
cce5905e
JM
26982 * sysdeps/unix/fxstat.c: Remove file.
26983 * sysdeps/unix/xstat.c: Likewise.
26984 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
26985
37fa3841
JM
26986 * sysdeps/unix/sysv/sigaction.c: Remove file.
26987
ff1962a3
JM
26988 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
26989 (sysdep_headers): Remove variable.
26990 [termio.h not in sysdep_headers] (generated): Likewise.
26991 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
26992 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
26993 * sysdeps/unix/sysv/tcdrain.c: Likewise.
26994 * sysdeps/unix/sysv/tcflow.c: Likewise.
26995 * sysdeps/unix/sysv/tcflush.c: Likewise.
26996 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
26997 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
26998 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
26999 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
27000 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
27001
e7740d31
JM
27002 * sysdeps/unix/siglist.c: Remove file.
27003
ee06f18b
JM
27004 * sysdeps/unix/getppid.S: Remove file.
27005
097d59fa
JM
27006 * sysdeps/unix/mkdir.c: Remove file.
27007 * sysdeps/unix/rmdir.c: Likewise.
27008
ff3d51ec
AS
270092012-04-19 Andreas Schwab <schwab@linux-m68k.org>
27010
27011 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
27012 ERR_MAX value.
27013 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
27014 errlist-compat value.
27015
50f81fd7
DM
270162012-04-18 David S. Miller <davem@davemloft.net>
27017
27018 * sysdeps/generic/memcopy.h (reg_char): Delete.
27019 * debug/strcat_chk.c: Use char, not reg_char.
27020 * debug/strcpy_chk.c: Likewise.
27021 * debug/strncat_chk.c: Likewise.
27022 * debug/strncpy_chk.c: Likewise.
27023 * string/memchr.c: Likewise.
27024 * string/memrchr.c: Likewise.
27025 * string/rawmemchr.c: Likewise.
27026 * string/strcat.c: Likewise.
27027 * string/strchr.c: Likewise.
27028 * string/strchrnul.c: Likewise.
27029 * string/strcmp.c: Likewise.
27030 * string/strcpy.c: Likewise.
27031 * string/strncat.c: Likewise.
27032 * string/strncmp.c: Likewise.
27033 * string/strncpy.c: Likewise.
27034
8ff41c46
WS
270352012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
27036
27037 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
27038 __builtin_memcopy is called when src and dest ranges are known to not
27039 overlap.
27040
6b652f46
WS
270412012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
27042
27043 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
27044 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
27045 fwd_align_merge macro call.
27046 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
27047 bwd_align_merge macro call.
27048 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27049
b282631e
WS
270502012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
27051
27052 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
27053 bwd_align_merge macros.
27054 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
27055 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
27056 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27057
95aa737c
DM
270582012-04-18 David S. Miller <davem@davemloft.net>
27059
27060 * sysdeps/sparc/sparc64/memcopy.h: Delete.
27061
7a99a614
AJ
270622012-04-18 Andreas Jaeger <aj@suse.de>
27063
27064 [BZ# 6794]
27065 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
27066 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
27067 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27068
27069 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
27070 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
27071 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27072
27073 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
27074 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
27075 Adjust for changed ldbl-128 files.
27076
27077 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
27078 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
27079 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27080
e5270c23
DM
270812012-04-17 David S. Miller <davem@davemloft.net>
27082
27083 * sysdeps/sparc/sparc32/memcopy.h: Delete.
27084
fb5e92c9
AS
270852012-04-17 Andreas Schwab <schwab@linux-m68k.org>
27086
27087 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
27088 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
27089 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
27090 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
27091 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
27092 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
27093
76da7265
AZ
270942012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27095
27096 [BZ #6794]
27097 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
27098 * math/libm-test.inc: Add ilogb errno and exception tests.
27099 * math/w_ilogb.c: New file: ilogb wrapper.
27100 * math/w_ilogbf.c: New file: ilogbf wrapper.
27101 * math/w_ilogbl.c: New file: ilogbl wrapper.
27102 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
27103 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
27104 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
27105 exception being thrown with 0.0 as argument.
27106 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
27107 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
27108 exception being thrown with 0.0 as argument.
27109 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
27110 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
27111 exception being thrown with 0.0 as argument.
27112 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
27113 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
27114 exception being thrown with 0.0 as argument.
27115 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
27116 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 27117 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
27118 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
27119 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
27120 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
27121 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
27122 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
27123 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
27124
0396e69d
PB
271252012-04-17 Petr Baudis <pasky@ucw.cz>
27126
27127 * include/sys/uio.h: Change __vector to __iovec to avoid clash
27128 with altivec.
27129
750b5926
MP
271302012-04-16 Marek Polacek <polacek@redhat.com>
27131
27132 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
27133
751728a1
MP
271342012-04-16 Marek Polacek <polacek@redhat.com>
27135
27136 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
27137 operands of fdivp instruction.
27138
34a27407
L
271392012-04-13 H.J. Lu <hongjiu.lu@intel.com>
27140
27141 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
27142 * elf/tst-auditmod3b.c: Likewise.
27143 * elf/tst-auditmod4b.c: Likewise.
27144 * elf/tst-auditmod5b.c: Likewise.
27145 * elf/tst-auditmod6b.c: Likewise.
27146 * elf/tst-auditmod6c.c: Likewise.
27147 * elf/tst-auditmod7b.c: Likewise.
27148 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
27149 * sysdeps/x86_64/preconfigure.in: Likewise.
27150 * sysdeps/x86_64/preconfigure: Regenerated.
27151
7e73e17d
L
271522012-04-13 H.J. Lu <hongjiu.lu@intel.com>
27153
27154 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
27155 __ILP32__.
27156
c7a6ab72
AB
271572012-04-13 Antoine Balestrat <merkil33@gmail.com>
27158
27159 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27160 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
27161
a9e8e0e0
CL
271622012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
27163
27164 [BZ #13973]
27165 * locale/iso-639.def: Fix gl language name. Spotted by
27166 Yaron Shahrabani.
27167
ec98af7d
RM
271682012-04-12 Roland McGrath <roland@hack.frob.com>
27169
27170 [BZ #2074]
27171 * libio/libio.h (__io_write_fn): Update comment.
27172
247c3ede
PB
271732012-04-12 Petr Baudis <pasky@ucw.cz>
27174
27175 [BZ #2074]
27176 * stdio.texi (Hook Functions): The user provided writer function
27177 is not allowed to return -1.
27178
55939d6d
DM
271792012-04-11 David S. Miller <davem@davemloft.net>
27180
27181 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27182
90020f5a
MF
271832012-04-11 Mike Frysinger <vapier@gentoo.org>
27184
27185 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
27186 Add a leading slash to rtkaio.
27187
288f9098
JM
271882012-04-11 Jim Meyering <meyering@redhat.com>
27189
90020f5a
MF
27190 [BZ #11959]
27191 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
27192 It is not necessarily an error to ignore fwrite's return
27193 value. One can reliably use ferror to test for errors after
27194 the fact.
288f9098 27195
4be2b570
L
271962012-04-10 H.J. Lu <hongjiu.lu@intel.com>
27197
27198 * bits/types.h (__snseconds_t): New type.
27199 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
27200
27201 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
27202 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27203 (__SNSECONDS_T_TYPE): Likewise.
27204 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27205 (__SNSECONDS_T_TYPE): Likewise.
27206 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27207 (__SNSECONDS_T_TYPE): Likewise.
27208
288f9098 272092012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
27210
27211 [BZ #2636]
27212 * manual/time.texi (Processor Time): Return type of times is
27213 elapsed real time since an arbitrary point in the past.
27214 (CPU Time): Move CLK_TCK from here...
27215 (Processor Time): ...to here. Correct description.
27216 * manual/conf.texi (Constants for Sysconf): Correct description of
27217 _SC_CLK_TCK.
27218
d7dd4413
DM
272192012-04-10 David S. Miller <davem@davemloft.net>
27220
27221 [BZ #13967]
27222 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
27223 where the is a gap between DT_REL(A) and DT_JMPREL.
27224
b46068fc
L
272252012-04-10 H.J. Lu <hongjiu.lu@intel.com>
27226
27227 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
27228 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
27229 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
27230
73d65cc3
SP
272312012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27232
27233 * elf/dl-support.c (_dl_inhibit_cache): New variable.
27234 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
27235 (dl_main): Handle --inhibit-cache.
27236 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
27237 _dl_inhibit_cache.
27238 * elf/dl-load.c (_dl_map_object): Use it.
27239 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
27240
bcc8d661
JM
272412012-04-09 Joseph Myers <joseph@codesourcery.com>
27242
8f9a2fae
JM
27243 [BZ #13872]
27244 * sysdeps/i386/fpu/e_powl.S (p78): New object.
27245 (__ieee754_powl): Saturate large exponents rather than testing for
27246 overflow of y*log2(x).
27247 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27248 * math/libm-test.inc (pow_test): Do not permit spurious overflow
27249 exceptions.
27250
bcc8d661
JM
27251 [BZ #11521]
27252 * math/s_ctan.c: Include <float.h>.
27253 (__ctan): Avoid internal overflow or cancellation in calculating
27254 denominator.
27255 * math/s_ctanf.c: Likewise.
27256 * math/s_ctanl.c: Likewise.
27257 * math/s_ctanh.c: Likewise.
27258 * math/s_ctanhf.c: Likewise.
27259 * math/s_ctanhl.c: Likewise.
27260 * math/libm-test.inc (ctan_test): Add more tests.
27261 (ctanh_test): Likewise.
27262 * sysdeps/i386/fpu/libm-test-ulps: Update.
27263 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27264
823fbbb4
AJ
272652012-04-09 Andreas Jaeger <aj@suse.de>
27266
03879793
AJ
27267 [BZ #6894]
27268 * manual/filesys.texi (Directory Entries): Mention that d_namlen
27269 is an optional BSD extension.
27270
823fbbb4
AJ
27271 [BZ #10254]
27272 * manual/stdio.texi (Opening Streams): Document additional fopen
27273 parameters.
27274
8de131cb
RM
272752012-04-09 Roland McGrath <roland@hack.frob.com>
27276
27277 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
27278 %eax without telling the compiler.
27279
c0ed9d7d
CD
272802012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
27281
27282 [BZ # 13963]
27283 * manual/install.texi: Use sourceware.org.
27284
c483f6b4
JM
272852012-04-09 Joseph Myers <joseph@codesourcery.com>
27286
d7dd9453
JM
27287 [BZ #13873]
27288 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
27289 (__ieee754_pow): Generate overflow and underflow using huge*huge
27290 and tiny*tiny rather than just returning constant infinity or zero
27291 for large exponents.
27292 * math/libm-test.inc (pow_test): Require overflow exceptions for
27293 applicable cases of large exponents.
27294
c483f6b4
JM
27295 [BZ #706]
27296 * sysdeps/i386/fpu/e_pow.S (p10): New object.
27297 (__ieee754_pow): Use iterative multiplication algorithm only for
27298 integer exponents with absolute value below 1024. Check for odd
27299 integer exponents when using algorithm for real exponents.
27300 * math/libm-test.inc (pow_test): Add more tests.
27301 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27302
d2de7579
JM
273032012-04-08 Joseph Myers <joseph@codesourcery.com>
27304
27305 [BZ #13705]
27306 * math/libm-test.inc (exp_test): Do not allow overflow exception
27307 on underflow test.
27308
f77f1232
AJ
273092012-04-08 Aurelien Jarno <aurelien@aurel32.net>
27310
27311 [BZ #13705]
27312 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
27313 instead of __kernel_standard_f.
27314
3884932b
MF
273152012-04-08 Mike Frysinger <vapier@gentoo.org>
27316
27317 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
27318 * sysdeps/x86_64/memset_chk.S: Likewise.
27319
54472e9c
AJ
273202012-04-08 Andreas Jaeger <aj@suse.de>
27321
6ab0fbfc
AJ
27322 [BZ #10153]
27323 * manual/startup.texi (Environment Access): Describe return value
27324 for putenv and setenv.
27325
61efba8c
AJ
27326 [BZ #6895]
27327 * manual/filesys.texi (Directory Entries): Add description for
27328 DT_LNK.
27329
95c3f29a
AJ
27330 [BZ #6890]
27331 * manual/filesys.texi (Directory Entries): Clarify that it's file
27332 system not operating system in the description of DT_UNKNOWN.
27333
54472e9c
AJ
27334 [BZ #6578]
27335 * manual/syslog.texi (closelog): Fix reference, it's openlog.
27336
624254b1
SC
273372012-04-08 Stephen Compall <s11@member.fsf.org>
27338
27339 [BZ #6649]
27340 * manual/llio.texi (Opening and Closing Files): Add cross
27341 reference to explain mode argument.
27342
1e4920e0
MF
273432012-04-07 Mike Frysinger <vapier@gentoo.org>
27344
27345 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
27346 * sysdeps/x86_64/memset_chk.S: Likewise.
27347
5ed848f3
DM
273482012-04-07 David S. Miller <davem@davemloft.net>
27349
27350 * elf/elf.h (R_SPARC_WDISP10): Define.
27351 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
27352 R_SPARC_SIZE32.
27353 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
27354 R_SPARC_SIZE64 and R_SPARC_H34.
27355
96154cd8
CD
273562012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
27357
27358 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
27359 conditions and remove no longer applicable assertion.
27360
9904dc47
L
273612012-04-06 H.J. Lu <hongjiu.lu@intel.com>
27362
27363 * bits/byteswap.h: Include <features.h>.
27364 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
27365 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
27366
f8887d0a
L
273672012-04-06 H.J. Lu <hongjiu.lu@intel.com>
27368
27369 * bits/byteswap.h (__bswap_16): Removed.
27370 Include <bits/byteswap-16.h> to get __bswap_16.
27371 * sysdeps/i386/bits/byteswap.h: Likewise.
27372 * sysdeps/s390/bits/byteswap.h: Likewise.
27373 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27374 * bits/byteswap-16.h: New file.
27375 * sysdeps/i386/bits/byteswap-16.h: Likewise.
27376 * sysdeps/s390/bits/byteswap-16.h: Likewise.
27377 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
27378 * string/Makefile (headers): Add bits/byteswap-16.h.
27379
62470f60
PP
273802012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
27381
27382 [BZ #13895]
27383 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
27384 extra indirection.
27385 * nss/Makefile (tests-static, tests): Add tst-nss-static.
27386 * nss/tst-nss-static.c: New.
27387
4dad7bab
RM
273882012-04-06 Robert Millan <rmh@gnu.org>
27389
27390 [BZ #6486]
27391 * manual/llio.texi (File Position Primitive): lseek
27392 refers to WHENCE when it really means OFFSET.
27393
e9142a17
AJ
273942012-04-06 Andreas Jaeger <aj@suse.de>
27395
2c040eff
AJ
27396 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
27397 strncmp declarations.
27398
e9142a17
AJ
27399 * abilist/libc.abilist: Add __poll and __ppoll.
27400
ff9f1c5f
DM
274012012-04-05 David S. Miller <davem@davemloft.net>
27402
dcd2ae90
DM
27403 * scripts/check-local-headers.sh: Accept a host triplet in the
27404 path matched by the exclude regexp.
27405
993eb054
DM
27406 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
27407 definition.
27408 * sysdeps/powerpc/powerpc32/dl-machine.h
27409 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
27410 * sysdeps/s390/s390-32/dl-machine.h
27411 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27412 * sysdeps/sparc/sparc32/dl-machine.h
27413 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27414 * sysdeps/sparc/sparc64/dl-machine.h
27415 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27416
ff9f1c5f
DM
27417 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
27418 lazy binding.
48e2e132 27419 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
27420 undefined symbol errors.
27421
48e2e132 27422 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
27423 DT_NEEDED entries.
27424
e80d6f94
MM
274252012-04-05 Michael Matz <matz@suse.de>
27426
27427 [BZ #13592]
27428 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
27429
349fa79f
AJ
274302012-04-05 Andreas Jaeger <aj@suse.de>
27431
27432 [BZ #13908]
27433 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
27434 comment.
27435
f402708f
KK
274362012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27437
27438 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
27439 which ROUND is no valid rounding mode.
27440
2ecccfc9
KK
274412012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27442
27443 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
27444 read again.
27445 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
27446
8a53f50f
KK
274472012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27448
27449 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
27450 an exception using FPU order intentionally.
27451
274522012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27453
27454 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
27455 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
27456 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
27457 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
27458
d653abb7
SJ
274592012-04-05 Simon Josefsson <simon@josefsson.org>
27460
27461 [BZ #12340]
27462 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
27463 EINVAL when BUFLEN is too smal.
27464
c3b1bf7d
TS
274652012-04-05 Thomas Schwinge <thomas@codesourcery.com>
27466
27467 [BZ #13553]
27468 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
27469 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
27470
b1aa60f3
AJ
274712012-04-03 Andreas Jaeger <aj@suse.de>
27472
c3b1bf7d 27473 [BZ #13938]
67f60a26
AJ
27474 * manual/setjmp.texi (System V contexts): Fix sentence.
27475
b1aa60f3
AJ
27476 [BZ #13926]
27477 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
27478 New macro for this case.
27479 [!__GNUC__] (__bswap_64): New inline function for this case.
27480 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27481 * bits/byteswap.h: Likewise.
27482 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
27483 ull, guard with __GLIBC_HAVE_LONG_LONG.
27484
27485 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
27486 __GLIBC_HAVE_LONG_LONG.
27487
27488 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
27489 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
27490
39c59c35
TMQMF
274912012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27492
27493 [BZ #13691]
27494 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
27495 inptr and inend, rather than using last_ch.
27496
135ffda8
DM
274972012-04-02 David S. Miller <davem@davemloft.net>
27498
27499 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
27500 * stdio-common/printf-parse.h (read_int): Change return type to
27501 'int', return -1 on INT_MAX overflow.
27502 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
27503 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
27504 overflows INT_MAX. Check for overflow of in-format-string precision
27505 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
27506 SIZE_MAX not INT_MAX for integer overflow test.
27507 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
27508 skip the construct in the format string but do not record anything.
27509 * stdio-common/bug22.c: Adjust to test both width/prevision
27510 INT_MAX overflow as well as total length INT_MAX overflow. Check
27511 explicitly for proper errno values.
27512
228c019e
TS
275132012-04-02 Thomas Schwinge <thomas@codesourcery.com>
27514
302cadd3
TS
27515 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
27516 CHAR_MAX.
27517 * string/test-strcmp.c [! WIDE]: Likewise.
27518 * time/tst-mktime2.c: Likewise for INT_MAX.
27519 * string/test-string.h: #include <sys/param.h> for MIN.
27520
228c019e
TS
27521 * csu/init-first.c (__libc_init_first): Call __ctype_init.
27522 * sysdeps/i386/init-first.c (init): Likewise.
27523 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
27524 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
27525 * sysdeps/sh/init-first.c (init): Likewise.
27526
cfa633f5
UD
275272012-04-01 Ulrich Drepper <drepper@gmail.com>
27528
27529 * po/ru.po: Update from translation team.
d1635ef8 27530 * po/vi.po: Likewise.
cfa633f5 27531
6cd0a5ea
SP
275322012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
27533
27534 * resolv/nss_dns/dns-host.c: Merge copyright years.
27535
4b43400f
LD
275362012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27537
27538 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
27539 Optimize memcpy with prefetch if
27540 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
27541 src, dst pointers have unequal 16 byte alignments.
27542
48c41d04
SP
275432012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
27544
27545 [BZ #13928]
27546 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
27547 from a CNAME entry and return the minimum ttl for the query.
27548 (gaih_getanswer_slice): Likewise.
27549
b8dc394d
JL
275502012-03-30 Jeff Law <law@redhat.com>
27551
27552 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
27553 due to long keys.
27554 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
27555 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
27556
2f5a5ed0
JL
27557 * resolv/nss_dns/dns-host.c: Update copyright year.
27558
1d39e359
UD
275592012-03-30 Ulrich Drepper <drepper@gmail.com>
27560
c030f70c 27561 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 27562 requests to save a system call. Fix check that all bytes are sent.
c030f70c 27563
1d39e359
UD
27564 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
27565 comments for sendmmsg.
27566
275672012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
27568
27569 [BZ #13691]
27570 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
27571 with only 1 character between 0x0041 and 0x01b0.
27572 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
27573 * wcsmbs/tst-mbsnrtowcs.c: New file.
27574
20fde227
DM
275752012-03-29 David S. Miller <davem@davemloft.net>
27576
27577 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
27578 small copies by hand.
27579
984a4237
JL
275802012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27581
27582 [BZ #13761]
27583 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
27584 _nss_compat_initgroups_dyn): Fall back to malloc/free
27585 for large group memberships.
27586
18c9d62b
DM
275872012-03-28 David S. Miller <davem@davemloft.net>
27588
88d85d4f
DM
27589 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
27590 that branches into memcpy.
27591 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
27592 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
27593 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27594 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
27595 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
27596 bits.
27597 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
27598 implementation too.
27599 * sysdeps/sparc/mempcpy.S: New file.
27600
e5aa83e1
DM
27601 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
27602 the IFUNC routine in the libc case.
27603 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27604
88570753
DM
27605 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
27606 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
27607 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
27608 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
27609 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
27610 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
27611 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
27612 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
27613
249d7567
DM
27614 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
27615 loop to 256 bytes instead of 64 bytes and fix test signedness.
27616
18c9d62b
DM
27617 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
27618 * sysdeps/sparc/sparc32/Makefile: rather than here...
27619 * sysdeps/sparc/sparc64/Makefile: and here.
27620
05f3d1f6
UD
276212012-03-28 Ulrich Drepper <drepper@gmail.com>
27622
27623 * malloc/mallocbug.c: Avoid warnings about unused variables.
27624
86ae07a8
JL
276252012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
27626
27627 [BZ #13760]
27628 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
27629 in the right place. Discard and retry query if response is
27630 larger than input buffer size.
27631
41bf21a1
JM
276322012-03-28 Joseph Myers <joseph@codesourcery.com>
27633
d6270972
JM
27634 [BZ #369]
27635 [BZ #2678]
27636 [BZ #3866]
27637 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
27638 x for large integer exponent.
27639 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
27640 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
27641 sign of result as needed afterwards.
27642 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
27643 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
27644 result for underflowing pow the same as for overflow.
27645 (__kernel_standard_l): Handle powl overflow and underflow here
27646 rather than calling __kernel_standard.
27647 * math/libm-test.inc (pow_test): Add more tests.
27648
414fca03 27649 [BZ #3868]
41bf21a1
JM
27650 [BZ #13879]
27651 [BZ #13910]
27652 [BZ #13911]
27653 [BZ #13912]
27654 [BZ #13913]
27655 [BZ #13915]
27656 [BZ #13916]
27657 [BZ #13917]
27658 [BZ #13918]
27659 [BZ #13919]
27660 [BZ #13920]
27661 [BZ #13921]
27662 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
27663 * sysdeps/ieee754/k_standard.c: Include <float.h>.
27664 (__kernel_standard_l): New function.
27665 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
27666 __kernel_standard.
27667 * math/w_acosl.c (__acosl): Likewise.
27668 * math/w_asinl.c (__asinl): Likewise.
27669 * math/w_atan2l.c (__atan2l): Likewise.
27670 * math/w_atanhl.c (__atanhl): Likewise.
27671 * math/w_coshl.c (__coshl): Likewise.
27672 * math/w_exp10l.c (__exp10l): Likewise.
27673 * math/w_exp2l.c (__exp2l): Likewise.
27674 * math/w_fmodl.c (__fmodl): Likewise.
27675 * math/w_hypotl.c (__hypotl): Likewise.
27676 * math/w_j0l.c (__j0l, __y0l): Likewise.
27677 * math/w_j1l.c (__j1l, __y1l): Likewise.
27678 * math/w_jnl.c (__jnl, __ynl): Likewise.
27679 * math/w_lgammal.c (__lgammal): Likewise.
27680 * math/w_log10l.c (__log10l): Likewise.
27681 * math/w_log2l.c (__log2l): Likewise.
27682 * math/w_logl.c (__logl): Likewise.
27683 * math/w_powl.c (__powl): Likewise.
27684 * math/w_remainderl.c (__remainderl): Likewise.
27685 * math/w_scalbl.c (sysv_scalbl): Likewise.
27686 * math/w_sinhl.c (__sinhl): Likewise.
27687 * math/w_sqrtl.c (__sqrtl): Likewise.
27688 * math/w_tgammal.c (__tgammal): Likewise.
27689 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
27690 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
27691 * math/libm-test.inc (acos_test): Add more tests.
27692 (acosh_test): Likewise.
27693 (asin_test): Likewise.
27694 (atanh_test): Likewise.
27695 (exp_test): Likewise.
27696 (exp10_test): Likewise.
27697 (exp2_test): Likewise.
27698 (expm1_test): Likewise.
27699 (lgamma_test): Likewise.
27700 (log_test): Likewise.
27701 (log10_test): Likewise.
27702 (log1p_test): Likewise.
27703 (log2_test): Likewise.
27704 (pow_test): Do not allow some spurious overflow exceptions.
27705 (sqrt_test): Add more tests.
27706 (tgamma_test): Likewise.
27707 (y0_test): Likewise.
27708 (y1_test): Likewise.
27709 (yn_test): Likewise.
27710
dd62fda6
AB
277112012-03-27 Anton Blanchard <anton@samba.org>
27712
27713 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
27714 MAP_HUGETLB.
27715 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27716 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
27717 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27718
1e3cdfda
AJ
277192012-03-27 David S. Miller <davem@davemloft.net>
27720
b855ab85
DM
27721 * conform/Makefile: Run run-conformtest.sh using $(BASH).
27722
1e3cdfda
AJ
27723 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
27724 have-as-vis3 check.
27725
277262012-03-27 Andreas Jaeger <aj@suse.de>
27727
27728 * sysdeps/x86_64/elf/configure.in: Moved to ...
27729 * sysdeps/x86_64/configure.in: ... here.
27730 * sysdeps/x86_64/elf/start.S: Moved to ...
27731 * sysdeps/x86_64/start.S: ... here.
27732 * sysdeps/x86_64/elf/configure: Delete.
27733
27734 * sysdeps/x86_64/configure.in: Merge contents from
27735 sysdeps/i386/configure.in (without i686 check).
27736
27737 * sysdeps/i386/elf/Versions: Merge into ...
27738 * sysdeps/i386/Versions: ... this.
27739 * sysdeps/i386/elf/Versions: Delete file.
27740 * sysdeps/i386/elf/start.S: Moved to ...
27741 * sysdeps/i386/start.S: ...here.
27742 * sysdeps/i386/elf/configure.in: Merge into...
27743 * sysdeps/i386/configure.in: ...here.
27744 * sysdeps/i386/elf/configure.in: Delete file.
27745 * sysdeps/i386/elf/configure: Delete file.
27746
27747 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
27748 * debug/backtracesyms.c: ... here.
27749 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
27750 * debug/backtracesymsfd.c: ... here.
27751 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
27752 * sysdeps/generic/ifunc-sel.h: ... here.
27753
27754 * sysdeps/unix/i386/start.c: Delete file.
27755 * sysdeps/unix/sparc/start.c: Delete file.
27756 * sysdeps/unix/start.c: Delete file.
27757
27758 * sysdeps/sh/elf/configure.in: Moved to ...
27759 * sysdeps/sh/configure.in: ... here.
27760 * sysdeps/sh/elf/start.S: Moved to ...
27761 * sysdeps/sh/start.S: ... here.
27762 * sysdeps/sh/elf/configure: Delete file.
27763
27764 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
27765 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
27766 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
27767 * sysdeps/powerpc/powerpc64/entry.h: ... here.
27768 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
27769 * sysdeps/powerpc/powerpc64/start.S: here.
27770 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
27771 * sysdeps/powerpc/powerpc64/Makefile: ... this.
27772 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
27773 * sysdeps/powerpc/powerpc64/configure.in: ... this.
27774 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
27775
27776 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
27777 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
27778 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
27779 * sysdeps/powerpc/powerpc32/start.S: ... here.
27780 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
27781 * sysdeps/powerpc/powerpc32/configure.in: ... this.
27782 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
27783
27784 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
27785 * sysdeps/powerpc/ifunc-sel.h: ... here.
27786 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
27787 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
27788
27789 * sysdeps/sparc/elf/configure.in: Moved to ...
27790 * sysdeps/sparc/configure.in: ... here.
27791 * sysdeps/sparc/elf/configure: Delete file.
27792 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
27793 * sysdeps/sparc/sparc32/start.S: ... here.
27794 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
27795 * sysdeps/sparc/sparc64/start.S: ... here.
27796 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
27797 * sysdeps/sparc/sparc32/Makefile: ... this.
27798 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
27799 * sysdeps/sparc/sparc64/Makefile: ... this.
27800
27801 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
27802 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
27803 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
27804 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
27805 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
27806 * sysdeps/s390/s390-32/setjmp.S: ... here.
27807 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
27808 * sysdeps/s390/s390-32/configure.in: ... here.
27809 * sysdeps/s390/s390-32/elf/configure: Delete file.
27810 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
27811 * sysdeps/s390/s390-32/start.S: ... here.
27812
27813 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
27814 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
27815 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
27816 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
27817 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
27818 * sysdeps/s390/s390-64/setjmp.S: ... here.
27819 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
27820 * sysdeps/s390/s390-64/configure.in: ... here
27821 * sysdeps/s390/s390-64/elf/configure: Delete file.
27822 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
27823 * sysdeps/s390/s390-64/start.S: ... here.
27824 * sysdeps/s390/s390-64/elf/configure: Delete.
27825
27826 * configure.in: Remove support for elf directories in sysdeps.
27827
27828 * configure: Regenerated.
27829 * sysdeps/i386/configure: Regenerated.
27830 * sysdeps/powerpc/powerpc32/configure: Regenerated.
27831 * sysdeps/powerpc/powerpc64/configure: Regenerated.
27832 * sysdeps/s390/s390-32/configure: Regenerated.
27833 * sysdeps/s390/s390-64/configure: Regenerated.
27834 * sysdeps/sh/configure: Regenerated.
27835 * sysdeps/sparc/configure: Regenerated.
27836 * sysdeps/x86_64/configure: Regenerated.
27837
a3f61311
AS
278382012-03-26 Andreas Schwab <schwab@linux-m68k.org>
27839
c876e002
AS
27840 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27841
a3f61311
AS
27842 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
27843 denormal result into account.
27844
ac4c54f0
RM
278452012-03-25 Roland McGrath <roland@hack.frob.com>
27846
27847 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
27848 Reported by Allan McRae <allan@archlinux.org>.
27849
6a9b9c02
JL
278502012-03-23 Jeff Law <law@redhat.com>
27851
27852 * nss/getnssent.c (__nss_getent): Fix typo.
27853
4c42a0c1
DM
278542012-03-23 David S. Miller <davem@davemloft.net>
27855
27856 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27857
1532c7ac
L
278582012-03-23 H.J. Lu <hongjiu.lu@intel.com>
27859
27860 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
27861 to pad to uint64_t for each field.
27862 (dl_tls_index): Replace unsigned long with uint64_t.
27863
3ff42526
PP
278642012-03-23 Daniel Jacobowitz <dmj@google.com>
27865 Paul Pluzhnikov <ppluzhnikov@google.com>
27866
27867 [BZ #6528]
27868 * grp/Makefile (otherlibs): Don't set it.
27869 * inet/Makefile (otherlibs): Likewise.
27870 * login/Makefile (otherlibs): Likewise.
27871 * nscd/Makefile (otherlibs): Likewise.
27872 * posix/Makefile (otherlibs): Likewise.
27873 * pwd/Makefile (otherlibs): Likewise.
27874 * rt/Makefile (otherlibs): Likewise.
27875 * sunrpc/Makefile (otherlibs): Likewise.
27876 * nss/Makefile (otherlibs): Likewise.
27877 Add libnss_files to routines and static-only-routines.
27878 ($(objpfx)getent): Remove rule.
27879 * resolv/Makefile: Add libnss_dns and libresolv to routines and
27880 static-only-routines.
27881
7c69cd14
JM
278822012-03-22 Joseph Myers <joseph@codesourcery.com>
27883
27884 [BZ #13892]
27885 * math/s_cexp.c: Include <float.h>.
27886 (__cexp): Handle exp result overflowing not necessarily
27887 overflowing both real and imaginary parts of result.
27888 * math/s_cexpf.c: Likewise.
27889 * math/s_cexpl.c: Likewise.
27890 * math/libm-test.inc (cexp_test): Add more tests.
27891 * sysdeps/i386/fpu/libm-test-ulps: Update.
27892 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27893
81b035fe
L
278942012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27895
27896 * include/link.h (ELFW): New macro.
27897 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
27898 Replace ELF64_R_TYPE with ELFW(R_TYPE).
27899
1da7940c
L
279002012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27901
27902 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
27903 with uint64_t.
27904
b749dbb9
L
279052012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27906
27907 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
27908 declaration.
27909 (struct La_x32_retval): Likewise.
27910
2ff87f3f
L
279112012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27912
27913 * sysdeps/x86_64/preconfigure.in: New file.
27914 * sysdeps/x86_64/preconfigure: New generated file.
27915
c0df8e69
JM
279162012-03-22 Joseph Myers <joseph@codesourcery.com>
27917
48e44791
JM
27918 [BZ #13824]
27919 * math/e_exp2l.c: Include <float.h>.
27920 (__ieee754_exp2l): Handle overflow and underflow cases
27921 separately. Only pass fractional part of argument to
27922 __ieee754_expl.
27923 * math/libm-test.inc (exp2_test): Add more tests.
27924
c0df8e69
JM
27925 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
27926 negating x to take absolute value.
27927 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
27928 Likewise.
27929 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
27930 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
27931 Likewise.
27932 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
27933 computing low part if x was negated.
27934 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
27935
c8e43ba7
L
279362012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27937
27938 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
27939 la_x32_gnu_pltexit.
27940 (pltexit): Cast int_retval to ptrdiff_t.
27941 * elf/tst-auditmod3b.c: Likewise.
27942 * elf/tst-auditmod4b.c: Likewise.
27943 * elf/tst-auditmod5b.c: Likewise.
27944 * elf/tst-auditmod6b.c: Likewise.
27945 * elf/tst-auditmod6c.c: Likewise.
27946 * elf/tst-auditmod7b.c: Likewise.
27947
27948 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
27949 and x32_gnu_pltexit.
27950
27951 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
27952 __ELF_NATIVE_CLASS.
27953 (La_x32_regs): New macro.
27954 (La_x32_retval): Likewise.
27955 (la_x32_gnu_pltenter): New function prototype.
27956 (la_x32_gnu_pltexit): Likewise.
27957
7998fa78
AS
279582012-03-21 Andreas Schwab <schwab@linux-m68k.org>
27959
dcb33988
AS
27960 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
27961 exponent.
27962
233fc563
AS
27963 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27964
7998fa78
AS
27965 * configure.in (libc_cv_cc_nofma): Check for option to disable
27966 generation of FMA instructions.
27967 * configure: Regenerate.
27968 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
27969 * sysdeps/ieee754/dbl-64/Makefile: New file.
27970 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27971 Remove brandred-fma4.
27972 (CFLAGS-brandred-fma4.c): Remove.
27973 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
27974 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
27975 define.
27976 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
27977 define.
27978
8e95c99a
L
279792012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27980
27981 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
27982 LLONG_MAX != LONG_MAX.
27983 (_itoa_word): Use _ITOA_WORD_TYPE on value.
27984 (_fitoa_word): Likewise.
27985 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
27986 LLONG_MAX != LONG_MAX.
27987 * stdio-common/_itowa.h: Include <_itoa.h>.
27988 (_itowa_word): Use _ITOA_WORD_TYPE on value.
27989 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
27990 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
27991 only if not defined.
27992 (_ITOA_WORD_TYPE): Likewise.
27993 (_itoa_word): Use _ITOA_WORD_TYPE on value.
27994 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
27995
6f4db457
DM
279962012-03-21 David S. Miller <davem@davemloft.net>
27997
27998 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27999
7785fe5a
L
280002012-03-21 H.J. Lu <hongjiu.lu@intel.com>
28001
28002 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
28003 of x86_64 when setting libc_cv_slibdir, libdir and
28004 libc_cv_localedir.
28005 * sysdeps/unix/sysv/linux/configure: Regenerated.
28006
4535cd55
JM
280072012-03-21 Joseph Myers <joseph@codesourcery.com>
28008
28009 * manual/lang.texi (Old Varargs): Remove section.
28010 (How Variadic): Update menu.
28011 (va_start): Do not mention varargs.h.
28012
17228132
TS
280132012-03-21 Thomas Schwinge <thomas@codesourcery.com>
28014 Joseph Myers <joseph@codesourcery.com>
28015
28016 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
28017 link test.
28018 * configure: Regenerated.
28019
8149f976
TS
280202012-03-21 Thomas Schwinge <thomas@codesourcery.com>
28021
05f3d1f6
UD
28022 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
28023 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
28024 conformtest.pl
8149f976 28025
1a4ac776
JM
280262012-03-21 Joseph Myers <joseph@codesourcery.com>
28027
be22ce65
JM
28028 * NOTES: Remove.
28029 * Makefile (files-for-dist): Remove NOTES.
28030 (NOTES): Remove rule.
28031 * README: Don't refer to NOTES.
28032 * manual/creature.texi: Don't include macros.texi.
28033 * manual/intro.texi (creature.texi): Remove comment referring to
28034 NOTES.
28035
40b601fb
JM
28036 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
28037 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
28038 * configure: Regenerated.
28039 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
28040 LIBC_TRY_CC_OPTION.
28041 (libc_cv_as_i686): Likewise.
28042 (libc_cv_cc_avx): Likewise.
28043 (libc_cv_cc_sse2avx): Likewise.
28044 (libc_cv_cc_fma4): Likewise.
28045 (libc_cv_cc_novzeroupper): Likewise.
28046 * sysdeps/i386/configure: Regenerated.
28047
1a4ac776
JM
28048 [BZ #13883]
28049 * sysdeps/i386/fpu/s_cexp.S: Remove.
28050 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
28051 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
28052 * math/libm-test.inc (cexp_test): Add more tests.
28053 * sysdeps/i386/fpu/libm-test-ulps: Update.
28054 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28055
a458e7fe
AM
280562012-03-21 Allan McRae <allan@archlinux.org>
28057
28058 * timezone/Makefile: Do not install iso3166.tab and zone.tab
28059
0cb7efc5
JM
280602012-03-21 Joseph Myers <joseph@codesourcery.com>
28061
28062 [BZ #13871]
28063 * math/w_exp2.c: Do not include <float.h>.
28064 (o_threshold, u_threshold): Remove.
28065 (__exp2): Calculate result before checking finiteness and calling
28066 __kernel_standard.
28067 * math/w_exp2f.c: Likewise.
28068 * math/w_exp2l.c: Likewise.
28069 * math/libm-test.inc (exp2_test): Require overflow exception for
28070 1e6 input.
2460d3aa
JM
28071
28072 [BZ #3866]
28073 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
28074 range of signed 64-bit integers before using fistpll. Remove
28075 checks for whether integers fit in mantissa bits.
28076 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
28077 the range of signed 32-bit integers before using fistpl. Remove
28078 checks for whether integers fit in mantissa bits.
28079 * sysdeps/i386/fpu/e_powl.S (p64): New object.
28080 (__ieee754_powl): Test for y outside the range of signed 64-bit
28081 integers before using fistpll. Reduce 64-bit values to 63-bit
28082 ones as needed.
28083 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
28084 divide-by-zero is raised for zero to large negative powers.
28085 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
28086 (__ieee754_powl): Test for y outside the range of signed 64-bit
28087 integers before using fistpll. Reduce 64-bit values to 63-bit
28088 ones as needed.
28089 * math/libm-test.inc (pow_test): Add more tests.
28090
eb96ffb0
L
280912012-03-20 H.J. Lu <hongjiu.lu@intel.com>
28092
28093 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
28094 <stdio-common/_itoa.h>.
28095 * debug/segfault.c: Likewise.
28096 * elf/dl-cache.c: Likewise.
28097 * elf/dl-minimal.c: Likewise.
28098 * elf/dl-misc.c: Likewise.
28099 * elf/dl-sysdep.c: Likewise.
28100 * elf/dl-version.c: Likewise.
28101 * elf/rtld.c: Likewise.
28102 * hurd/hurdsock.c: Likewise.
28103 * hurd/lookup-retry.c: Likewise.
28104 * malloc/malloc.c: Likewise.
28105 * malloc/mtrace.c: Likewise.
28106 * nscd/nscd_getgr_r.c: Likewise.
28107 * nscd/nscd_getpw_r.c: Likewise.
28108 * nscd/nscd_getserv_r.c: Likewise.
28109 * posix/getopt_init.c: Likewise.
28110 * posix/wordexp.c: Likewise.
28111 * stdio-common/_itoa.c: Likewise.
28112 * stdio-common/printf_fphex.c: Likewise.
28113 * stdio-common/vfprintf.c: Likewise.
28114 * string/_strerror.c: Likewise.
28115 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
28116 * sysdeps/i386/i686/hp-timing.h: Likewise.
28117 * sysdeps/mach/_strerror.c: Likewise.
28118 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
28119 * sysdeps/mach/hurd/sethostid.c: Likewise.
28120 * sysdeps/mach/hurd/xmknodat.c: Likewise.
28121 * sysdeps/mach/xpg-strerror.c: Likewise.
28122 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
28123 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
28124 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
28125 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
28126 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
28127 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
28128 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
28129 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
28130 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
28131 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
28132 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
28133 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
28134 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
28135 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
28136 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
28137 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
28138 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
28139 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
28140 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
28141 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
28142 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
28143
28144 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
28145
28146 * stdio-common/_itoa.h: Moved to ...
28147 * sysdeps/generic/_itoa.h: Here.
28148
28149 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
28150
28151 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
28152 instead of "_itoa.h" and "_itowa.h".
28153 * stdio-common/vfprintf.: Likewise.
28154
d1af992d
L
281552012-03-20 H.J. Lu <hongjiu.lu@intel.com>
28156
28157 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
28158 <bits/wordsize.h>.
28159 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
28160 (__signbit): Likwise.
28161 (llrintf): Likwise.
28162 (llrint): Likwise.
28163
114883e0
L
281642012-03-20 H.J. Lu <hongjiu.lu@intel.com>
28165
28166 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
28167 __WORDSIZE != 64.
28168
c135cc1b
JM
281692012-03-20 Joseph Myers <joseph@codesourcery.com>
28170
28171 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
28172 OVERFLOW_EXCEPTION_OK.
28173 * math/libm-test.inc ("Philosophy"): Update comment about
28174 exception testing.
28175 (OVERFLOW_EXCEPTION): Define.
28176 (OVERFLOW_EXCEPTION_OK): Likewise.
28177 (INVALID_EXCEPTION_OK): Renumber.
28178 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28179 (IGNORE_ZERO_INF_SIGN): Likewise.
28180 (test_exceptions): Handle FE_OVERFLOW.
28181 (exp10_test): Expect overflow exceptions.
28182 (exp2_test): Likewise.
28183 (expm1_test): Likewise.
28184 (nextafter_test): Likewise.
28185 (pow_test): Likewise.
28186 (scalbn_test): Likewise.
28187 (scalbln_test): Likewise.
28188
95443d88
L
281892012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28190
28191 * sysdeps/x86_64/bits/atomic.h
28192 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
28193 64bit integer.
28194 (atomic_exchange_acq): Likewise.
28195 (__arch_exchange_and_add_body): Likewise.
28196 (__arch_add_body): Likewise.
28197 (atomic_add_negative): Likewise.
28198 (atomic_add_zero): Likewise.
28199
490df6c4
L
282002012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28201
c2722551 28202 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
28203 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
28204
5e52b189
L
282052012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28206
28207 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
28208 Check __x86_64__ instead of __WORDSIZE.
28209
a9879d4c
L
282102012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28211
28212 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
28213
5df98260
DM
282142012-03-19 David S. Miller <davem@davemloft.net>
28215
e1497744
DM
28216 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28217
5df98260
DM
28218 * sysdeps/sparc/fpu/fenv_private.h: New file.
28219 * sysdeps/sparc/fpu/math_private.h: Use it.
28220 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
28221 Remove.
28222 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
28223 (libc_feholdexcept_setroundl): Remove.
28224 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
28225 Remove.
28226 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
28227 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
28228
b4c35121
L
282292012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28230
28231 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
28232 int64_t instead of long int.
28233 (INSERT_WORDS64): Likwise.
28234
56965fd7
L
282352012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28236
28237 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
28238 _Unwind_GetCFA return to _Unwind_Ptr first.
28239
83d1aec8
JM
282402012-03-19 Joseph Myers <joseph@codesourcery.com>
28241
1897ad44
JM
28242 [BZ #13629]
28243 * math/s_clog.c: Include <float.h>.
28244 (__clog): Scale large or subnormal inputs.
28245 * math/s_clogf.c: Likewise.
28246 * math/s_clogl.c: Likewise.
28247 * math/s_clog10.c: Include <float.h>.
28248 (M_LOG10_2): Define.
28249 (__clog10): Scale large or subnormal inputs.
28250 * math/s_clog10f.c: Likewise.
28251 * math/s_clog10l.c: Likewise.
28252 * math/libm-test.inc (clog_test): Add more tests.
28253 (clog10_test): Likewise.
28254 * sysdeps/i386/fpu/libm-test-ulps: Update.
28255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28256
7726d6a9
JM
28257 [BZ #11451]
28258 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
28259 x and y.
28260 * math/libm-test.inc (atan2_test): Add another test.
28261
83d1aec8
JM
28262 * Makerules (common-objdir-compile): Remove.
28263 * sysdeps/unix/Makefile (config-generated): Do not add
28264 $(unix-generated) to variable.
28265 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
28266 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
28267 Remove rule.
28268 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
28269 Likewise.
28270 [generic bits/local_lim.h] (before-compile): Do not append to
28271 variable.
28272 [generic bits/local_lim.h] (common-generated): Likewise.
28273 [generic sys/param.h] (before-compile): Do not append to variable.
28274 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
28275 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
28276 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
28277 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
28278 include.
28279 [generic sys/param.h] (sys/param.h-includes): Remove variable.
28280 [generic sys/param.h] (sys/param.h-includes): Remove rule.
28281 [generic sys/param.h] ($(addprefix
28282 $(common-objpfx),$(sys/param.h-includes))): Likewise.
28283 [generic sys/param.h] (common-generated): Do not append to
28284 variable.
28285 [generic sys/param.h] (sysdep_headers): Likewise.
28286 [generic bits/errno.h] (before-compile): Do not append to
28287 variable.
28288 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
28289 rule.
28290 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
28291 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
28292 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
28293 [generic bits/errno.h] (common-generated): Do not append to
28294 variable.
28295 [generic bits/ioctls.h] (before-compile): Do not append to
28296 variable.
28297 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
28298 rule.
28299 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
28300 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
28301 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
28302 rule.
28303 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
28304 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
28305 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
28306 [generic bits/ioctls.h] (common-generated): Do not append to
28307 variable.
28308 [generic sys/syscall.h] (syscall.h): Remove variable.
28309 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
28310 rule.
28311 [generic sys/syscall.h] (before-compile): Do not append to
28312 variable.
28313 [generic sys/syscall.h] (common-generated): Likewise.
28314 * sysdeps/unix/errnos-tmpl.c: Remove file.
28315 * sysdeps/unix/errnos.awk: Likewise.
28316 * sysdeps/unix/ioctls-tmpl.c: Likewise.
28317 * sysdeps/unix/ioctls.awk: Likewise.
28318 * sysdeps/unix/mk-local_lim.c: Likewise.
28319 * sysdeps/unix/snarf-ioctls: Likewise.
28320
4851a949
RH
283212012-03-19 Richard Henderson <rth@twiddle.net>
28322
bd37f2ee
RH
28323 * sysdeps/i386/fpu/fenv_private.h: New file.
28324 * sysdeps/i386/fpu/math_private.h: Use it.
28325 (math_opt_barrier, math_force_eval): Remove.
28326 (libc_feholdexcept_setround_53bit): Remove.
28327 (libc_feupdateenv_53bit): Remove.
28328 * sysdeps/x86_64/fpu/math_private.h: Likewise.
28329 (math_opt_barrier, math_force_eval): Remove.
28330 (libc_feholdexcept): Remove.
28331 (libc_feholdexcept_setround): Remove.
28332 (libc_fetestexcept, libc_fesetenv): Remove.
28333 (libc_feupdateenv_test): Remove.
28334 (libc_feupdateenv, libc_feholdsetround): Remove.
28335 (libc_feresetround): Remove.
28336
d0adc922
RH
28337 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
28338 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
28339
0fe0f1f8
RH
28340 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
28341 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
28342 (libc_feupdateenv_testl): New.
28343 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
28344 (libc_feupdateenv_testf): New.
28345 (libc_feupdateenv): Use libc_feupdateenv_test.
28346 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
28347 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
28348
eb92c487
RH
28349 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
28350 (libc_feholdsetroundf, libc_feholdsetroundl): New.
28351 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
28352 (libc_feresetround_noex): New.
28353 (libc_feresetround_noexf): New.
28354 (libc_feresetround_noexl): New.
28355 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
28356 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
28357 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
28358 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
28359 SET_RESTORE_ROUND.
28360 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
28361 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
28362 (__cos): Likewise.
28363 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
28364 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
28365 SET_RESTORE_ROUND_NOEX.
28366 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
28367 SET_RESTORE_ROUND_NOEXF.
28368 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
28369 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
28370 (libc_feholdsetroundf): New.
28371 (libc_feresetround, libc_feresetroundf): New.
28372
7d2e8012
RH
28373 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
28374 (libc_feholdexcept_setround_53bit): Convert from macro to function.
28375 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
28376
b4dabbb4
RH
28377 * sysdeps/generic/math_private.h: Include <fenv.h>.
28378 (default_libc_feholdexcept): New.
28379 (default_libc_feholdexcept_setround): New.
28380 (default_libc_fesetenv, default_libc_feupdateenv): New.
28381 (libc_feholdexcept): Only define if undefined.
28382 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
28383 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
28384 (libc_feholdexcept_setroundl): Likewise.
28385 (libc_feholdexcept_setround_53bit): Likewise.
28386 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
28387 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
28388 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
28389 (libc_feupdateenv_53bit): Likewise.
28390 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
28391 (libc_feholdexcept): Convert from macro to inline function.
28392 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
28393 (libc_fesetenv, libc_feupdateenv): Likewise.
28394
4851a949
RH
28395 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
28396 not previously defined.
28397 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
28398 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
28399 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
28400 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
28401 * sysdeps/ieee754/flt-32/math_private.h: New file.
28402 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
28403 math_private.h below SET_FLOAT_WORD.
28404 (__isnan, __isinf_ns, __finite): Remove.
28405 (__isnanf, __isinf_nsf, __finitef): Remove.
28406
e79d442e
AS
284072012-03-18 Andreas Schwab <schwab@linux-m68k.org>
28408
28409 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28410
90b80344
DM
284112012-03-17 David S. Miller <davem@davemloft.net>
28412
28413 [BZ #6471]
28414 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
28415 for 2.16.
28416
edc21804
DM
284172012-03-16 David S. Miller <davem@davemloft.net>
28418
77e927af
DM
28419 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
28420 warnings.
28421
374976dd
DM
28422 [BZ #6471]
28423 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
28424 properly.
28425 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
28426 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
28427 sysdep_routines when subdir is sysvipc.
28428 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
28429 __getshmlba helper.
28430
edc21804
DM
28431 * sysdeps/sparc/fpu/libm-test/ulps: Update.
28432
473c3ef3
L
284332012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28434
28435 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
28436 [__LP64__].
28437
eb0f39b6
L
284382012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28439
28440 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
28441 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
28442 (__lround): Renamed to ...
28443 (__llround): This. Replace long int with long long int.
28444 Define lround functions as aliases of llround functions.
28445 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
28446
6b6cd74b
L
284472012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28448
28449 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
28450 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
28451 adresses to uintptr_t. Replace "long int" and "unsigned long
28452 int" with "greg_t" on va_arg.
28453
f1a77b01
L
284542012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28455
28456 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
28457 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
28458
28459 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
28460 Move e_machine check before EI_CLASS check. Handle x32
28461 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
28462 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
28463 SKIP_EM_IA_64 and include
28464 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
28465
28466 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
28467 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
28468 (add_system_dir): New macro.
28469
28470 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
28471 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
28472
11b90b9f
JM
284732012-03-16 Joseph Myers <joseph@codesourcery.com>
28474
c36e1d23
JM
28475 [BZ #2551]
28476 [BZ #2552]
28477 [BZ #2553]
28478 [BZ #2554]
28479 [BZ #2562]
28480 [BZ #2563]
28481 [BZ #2565]
28482 [BZ #2566]
28483 [BZ #2576]
28484 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
28485 (y0): Likewise.
28486 * math/w_j0f.c (j0f): Likewise.
28487 (y0f): Likewise.
28488 * math/w_j0l.c (__j0l): Likewise.
28489 (__y0l): Likewise.
28490 * math/w_j1.c (j1): Likewise.
28491 (y1): Likewise.
28492 * math/w_j1f.c (j1f): Likewise.
28493 (y1f): Likewise.
28494 * math/w_j1l.c (__j1l): Likewise.
28495 (__y1l): Likewise.
28496 * math/w_jn.c (jn): Likewise.
28497 (yn): Likewise.
28498 * math/w_jnf.c (jnf): Likewise.
28499 (ynf): Likewise.
28500 * math/w_jnl.c (__jnl): Likewise.
28501 (__ynl): Likewise.
28502 * math/libm-test.inc (j0_test): Add more tests.
28503 (j1_test): Likewise.
28504 (jn_test): Likewise. Add trailing semicolon to existing test.
28505 (y0_test): Likewise.
28506 (y1_test): Likewise.
28507 * sysdeps/i386/fpu/libm-test-ulps: Update.
28508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28509
11b90b9f
JM
28510 [BZ #13851]
28511 [BZ #13854]
28512 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
28513 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
28514 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
28515 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
28516 (__tanl): Set errno for infinite argument.
28517 * sysdeps/i386/fpu/mptan.c: Remove.
28518 * sysdeps/i386/fpu/s_tan.S: Likewise.
28519 * sysdeps/i386/fpu/s_tanl.S: Likewise.
28520 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
28521 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
28522 * math/libm-test.inc (tan_test): Add more tests and enable more
28523 tests for double and long double.
28524 * sysdeps/i386/fpu/libm-test-ulps: Update.
28525 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28526
6a1bd2a1
JK
285272012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
28528
28529 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
28530 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
28531
10a803e0
RM
285322012-03-16 Roland McGrath <roland@hack.frob.com>
28533
28534 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
28535 * configure.in: Use it for both main tree and add-ons.
28536 * configure: Regenerated.
28537
f196c7f7
L
285382012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28539
28540 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
28541
8848d99d
JM
285422012-03-16 Joseph Myers <joseph@codesourcery.com>
28543
96cbe7f4
JM
28544 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
28545 in comment.
28546
8848d99d
JM
28547 [BZ #13851]
28548 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
28549 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
28550 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
28551 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
28552 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
28553 infinite argument.
28554 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
28555 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
28556 != 0 for prec == 2.
28557 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
28558 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
28559 * sysdeps/i386/fpu/s_cosl.S: Likewise.
28560 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
28561 * sysdeps/i386/fpu/s_sinl.S: Likewise.
28562 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
28563 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
28564 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
28565 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
28566 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
28567 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
28568 * math/libm-test.inc (cos_test): Add more tests and enable more
28569 tests for long double.
28570 (sin_test): Likewise.
28571 (sincos_test): Likewise.
28572 * sysdeps/i386/fpu/libm-test-ulps: Update.
28573 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28574
dd7f4703
DM
285752012-03-16 David S. Miller <davem@davemloft.net>
28576
28577 * sysdeps/sparc/fpu/math_private.h: New file.
28578
006f1daa
DM
285792012-03-15 David S. Miller <davem@davemloft.net>
28580
c0c83bc8
DM
28581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
28582 file.
e6a62e18 28583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
28584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
28585 file.
e6a62e18
DM
28586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
28587 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
28588 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
28589 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
28590 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
28591 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
28592 sysdep routines.
28593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28594
88cb87d9
DM
28595 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
28596 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
28597
006f1daa 28598 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
28599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
28600 sparc-ifunc.h
006f1daa 28601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
28602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
28603 Likewise.
28604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
28605 Likewise.
006f1daa
DM
28606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
28607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
28608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
28609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
28610 Likewise.
006f1daa
DM
28611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
28612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
28613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
28614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
28615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
28616 Likewise.
28617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
28618 Likewise.
006f1daa
DM
28619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
28620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
28621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
28622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
28623 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
28624 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
28625 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
28626 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
28627 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
28628 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
28629 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
28630 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
28631 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
28632 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
28633 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
28634 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
28635 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
28636 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
28637 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
28638 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
28639 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
28640 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
28641 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
28642 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
28643
11e0098e
AS
286442012-03-15 Andreas Schwab <schwab@linux-m68k.org>
28645
28646 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
28647 scaling.
28648 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28649
e85b09d0
AJ
286502012-03-15 Andreas Jaeger <aj@suse.de>
28651
28652 [BZ #13852]
28653 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
28654 ieee754/flt-32 implementation for sin, cos and sincos.
28655 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
28656 * sysdeps/i386/fpu/s_cosf.S: Likewise.
28657 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
28658 * sysdeps/i386/fpu/s_sinf.S: Likewise.
28659 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
28660 ieee754/flt-32 implementation for tan.
28661
28662 * math/libm-test.inc (cos_test): Enable some large input tests for
28663 float as well
28664 (sin_test): Likewise.
28665 (sincos_test): Likewise.
28666 (tan_test): Add tests for large input.
28667
28668 * sysdeps/i386/fpu/libm-test-ulps: Update.
28669
81c64153
AJ
286702012-03-15 Andreas Jaeger <aj@suse.de>
28671
28672 [BZ #13658]
28673 * math/libm-test.inc (cos_test): Add more test cases.
28674 (sin_test): Likewise.
28675 (sincos_test): Likewise.
28676
7bbfa5c6
AJ
286772012-03-15 Andreas Jaeger <aj@suse.de>
28678
28679 [BZ #13837]
28680 * math/libm-test.inc (cos_test): Add a test case for large input
28681 value.
28682 (sin_test): Likewise.
28683 (sincos_test): Likewise.
28684
286852012-03-15 Andreas Jaeger <aj@suse.de>,
28686 Joseph Myers <joseph@codesourcery.com>
28687
28688 [BZ #13658]
0671f479 28689 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
28690 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
28691 * sysdeps/i386/fpu/branred.c: Likewise.
28692 * sysdeps/i386/fpu/dosincos.c: Likewise.
28693 * sysdeps/i386/fpu/mpa.c: Likewise.
28694 * sysdeps/i386/fpu/s_cos.S: Likewise.
28695 * sysdeps/i386/fpu/s_sin.S: Likewise.
28696 * sysdeps/i386/fpu/s_sincos.S: Likewise.
28697 * sysdeps/i386/fpu/sincos32.c: Likewise.
28698
28699 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
28700 Define.
28701 (libc_feupdateenv_53bit): Define.
28702 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
28703 Define.
28704 (libc_feupdateenv_53bit): Define.
28705
28706 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
28707 53 bit (without extend i386 double precision).
28708
28709 * math/libm-test.inc (sincos_test): Add tests for large input.
28710 (sin): Likewise.
28711 (cos): Likewise.
28712
28713 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
28714
9cad04ea
AS
287152012-03-15 Andreas Schwab <schwab@linux-m68k.org>
28716
28717 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28718
f7062b9a
DM
287192012-03-15 David S. Miller <davem@davemloft.net>
28720
28721 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
28722 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
28723 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
28724 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
28725 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
28726 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
28727 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
28728 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
28729 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
28730 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
28731 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
28732 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
28733 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
28734 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
28735 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
28736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
28737 file.
f7062b9a 28738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
28739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
28740 file.
f7062b9a 28741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
28742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
28743 file.
f7062b9a 28744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
28745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
28746 file.
f7062b9a
DM
28747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
28748 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
28749 fmin/fmax sysdep routines.
28750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28751
7bd951ff
DM
287522012-03-14 David S. Miller <davem@davemloft.net>
28753
559398ab
DM
28754 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
28755 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
28756 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
28757 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
28758 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
28759 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
28760 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
28761 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
28762 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
28763 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
28764 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
28765 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
28766 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
28767 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
28768 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
28769 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
28770 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
28771 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
28772 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
28773 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
28774 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
28775 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
28776 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
28777 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
28778 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
28779 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
28780 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
28781 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
28782 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
28783 routines.
28784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
28785 file.
559398ab 28786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
28787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
28788 file.
559398ab 28789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
28790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
28791 file.
559398ab 28792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
28793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
28794 file.
559398ab 28795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
28796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
28797 file.
559398ab 28798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
28799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
28800 file.
28801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
28802 file.
28803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
28804 file.
28805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
28806 file.
28807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
28808 New file.
28809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
28810 file.
28811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
28812 file.
559398ab 28813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
28814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
28815 file.
559398ab 28816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
28817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
28818 file.
559398ab 28819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
28820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
28821 file.
559398ab 28822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
28823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
28824 VIS3 routines.
559398ab
DM
28825
28826 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
28827 New file.
28828
5a1c1e32
DM
28829 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28830
eae47a36
DM
28831 * sysdeps/sparc/configure.in: New file.
28832 * sysdeps/sparc/configure: Generate.
28833 * configure.in (libc_cv_sparc_as_vis3): Substitute.
28834 * configure: Regenerate.
28835 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
28836 * config.make.in (have-as-vis3): New.
28837 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
28838 available use -Av9d instead of -Av9a.
28839 * sysdeps/sparc/sparc64/Makefile: Likewise.
28840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
28841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
28842 New file.
28843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
28844 file.
28845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
28846 New file.
28847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
28848 file.
eae47a36
DM
28849 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
28850 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
28851 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
28852 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
28853 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
28854
c0c83bc8
DM
28855 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
28856 fzeros/fnegs to load 0x80000000 into a float register instead of
28857 using the stack.
7bd951ff
DM
28858 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
28859
bd951ccb
JM
288602012-03-14 Joseph Myers <joseph@codesourcery.com>
28861
28862 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28863 bits/syscall.h.
28864 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
28865 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
28866 ($(inst_includedir)/bits/syscall.h): Remove rule.
28867 ($(objpfx)bits/syscall.d): Include instead of
28868 $(objpfx)syscall-list.d.
28869 (generated): Change syscall-list.h and syscall-list.d to
28870 bits/syscall.h and bits/syscall.d.
28871
bb4e6db2
RM
288722012-03-14 Roland McGrath <roland@hack.frob.com>
28873
28874 [BZ #13846]
28875 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
28876
aa4a2ae1
JM
288772012-03-14 Joseph Myers <joseph@codesourcery.com>
28878
e456826d
JM
28879 [BZ #13841]
28880 * math/s_csqrt.c: Include <float.h>.
28881 (__csqrt): Scale large or subnormal inputs.
28882 * math/s_csqrtf.c: Likewise.
28883 * math/s_csqrtl.c: Likewise.
28884 * math/libm-test.inc (csqrt_test): Add more tests.
28885 * sysdeps/i386/fpu/libm-test-ulps: Update.
28886 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28887
aa4a2ae1
JM
28888 [BZ #13840]
28889 * math/libm-test.inc (hypot_test): Add more tests.
28890
7c10fd35
DM
288912012-03-13 David S. Miller <davem@davemloft.net>
28892
28893 [BZ #13840]
28894 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
28895 double-precision for the calculation instead of scaling.
28896
f453b98b
JM
288972012-03-13 Joseph Myers <joseph@codesourcery.com>
28898
28899 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
28900 manipulate bits before adding and subtracting TWO52[sx].
28901 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
28902 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
28903 Likewise.
28904 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
28905
09a3453f
DM
289062012-03-13 David S. Miller <davem@davemloft.net>
28907
8e59da90
DM
28908 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
28909 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
28910 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
28911 rtld-global-offsets.h
28912 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28913
2a8ab7f2
DM
28914 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
28915 large parameters.
28916
10f62770
DM
28917 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
28918
5f0bdb18
DM
28919 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
28920 'err' in the ifdef scope in which it is actually used.
28921
09a3453f
DM
28922 * nss/nss_db/db-init.c: Include string.h
28923
b4b2eb5e
DM
289242012-03-12 David S. Miller <davem@davemloft.net>
28925
98bb2f1c
DM
28926 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
28927 masking out of the most significant byte of random value used.
28928 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28929 Fix coding style in previous change.
28930
b4b2eb5e
DM
28931 * sysdeps/unix/sysv/linux/kernel-features.h
28932 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
28933 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
28934 expression.
28935 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
28936 later.
28937
6e226b09
DM
289382012-03-11 David S. Miller <davem@davemloft.net>
28939
a1bcbd40
DM
28940 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28941 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
28942 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
28943 for 'resultvar' otherwise things get truncated on 64-bit.
28944
cb9d6174
DM
28945 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28946 Fix masking out of the most significant byte of random value used.
28947
6e226b09
DM
28948 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28949
058c132d
AS
289502012-03-10 Andreas Schwab <schwab@linux-m68k.org>
28951
28952 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28953
2d2cd515
DM
289542012-03-09 David S. Miller <davem@davemloft.net>
28955
28956 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
28957 variables with appropriate CPP guards.
28958 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
28959 frame pointer, not the stack pointer. Correct layout comments. Fix test
28960 on resulting framesize and the management of the outregs buffer for pltexit.
28961 Preserve floating point return values across _dl_call_pltexit call.
28962 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
28963 framesize and the management of the outregs buffer for pltexit.
28964 Preserve floating point return values across _dl_call_pltexit
28965 call.
28966 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
28967 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
28968 (print_exit): Fix format string for return register value.
28969
9a07f9d0
JM
289702012-03-10 Joseph Myers <joseph@codesourcery.com>
28971
28972 * sunrpc/Makefile (others): Add rpcgen.
28973 ($(objpfx)rpcgen): Remove special build rule and dependency on
28974 libc.
28975 * sunrpc/rpcgen.c: New file.
28976
547b5e30
PE
289772012-03-09 Paul Eggert <eggert@cs.ucla.edu>
28978
c524201a
PE
28979 [BZ #13673]
28980 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
28981 * stdio-common/bug-vfprintf-nargs.c: Likewise.
28982 * sysdeps/i386/crti.S: Likewise.
28983 * sysdeps/i386/crtn.S: Likewise.
28984 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
28985 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
28986 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
28987 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
28988 * sysdeps/sh/crti.S: Likewise.
28989 * sysdeps/sh/crtn.S: Likewise.
28990 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
28991
7b6235f2
PE
28992 [BZ #13673]
28993 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
28994 with URL.
28995 * locale/programs/locfile-kw.gperf: Likewise.
28996 * locale/programs/charmap-kw.h: Regenerated.
28997 * locale/programs/locfile-kw.h: Likewise.
28998
547b5e30
PE
28999 [BZ #13673]
29000 * intl/plural.y: Replace FSF snail mail address with URL.
29001 * intl/plural.c: Regenerated.
29002
5f0a5dae
RH
290032012-03-09 Richard Henderson <rth@twiddle.net>
29004
29005 * include/math_private.h: Remove file.
29006 * math/math_private.h: Move file ...
29007 * sysdeps/generic/math_private.h: ... here.
29008
b8c03620
RH
29009 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
29010 * sysdeps/powerpc/fpu/math_private.h: Likewise.
29011 * sysdeps/x86_64/fpu/math_private.h: Likewise.
29012
4e234f5d 29013 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
29014 and <math_private.h>.
29015 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
29016 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
29017 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
29018 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
29019 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
29020 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
29021 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29022 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29023 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
29024 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29025 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29026 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29027 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
29028 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29029 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
29030 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
29031 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29032 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29033 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29034 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
29035 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29036 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
29037 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
29038 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29039 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
29040 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29041 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
29042 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29043 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29044 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29045 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
29046 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29047 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
29048 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29049 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
29050 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29051 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29052 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
29053 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
29054 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29055 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
29056 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
29057 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
29058 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
29059 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
29060 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
29061 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
29062 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
29063 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29064 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
29065 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
29066 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
29067 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
29068 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
29069 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
29070 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29071 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29072 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
29073 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
29074 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
29075 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29076 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
29077 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29078 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
29079 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
29080 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29081 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29082 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29083 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
29084 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
29085 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
29086 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29087 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
29088 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29089 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
29090 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
29091 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
29092 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
29093 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
29094 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
29095 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
29096 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
29097 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
29098 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
29099 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
29100 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
29101 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
29102 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
29103 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
29104 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29105 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29106 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
29107 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29108 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
29109 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
29110 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
29111 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29112 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
29113 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29114 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
29115 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
29116 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
29117 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
29118 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
29119 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
29120 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
29121 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
29122 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
29123 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
29124 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29125 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
29126 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
29127 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
29128 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
29129 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
29130 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29131 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
29132 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
29133 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
29134 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
29135 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
29136 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
29137 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29138 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
29139 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
29140 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
29141 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
29142 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
29143 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
29144 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
29145 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
29146 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
29147 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
29148 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
29149 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
29150 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
29151 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
29152 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
29153 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
29154 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
29155 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29156 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
29157 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
29158 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
29159 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
29160 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
29161 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
29162 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
29163 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
29164 * sysdeps/ieee754/k_standard.c: Likewise.
29165 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
29166 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
29167 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29168 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
29169 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
29170 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
29171 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
29172 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
29173 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
29174 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
29175 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29176 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
29177 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
29178 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
29179 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
29180 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
29181 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
29182 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
29183 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
29184 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
29185 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
29186 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
29187 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
29188 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
29189 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
29190 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
29191 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
29192 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
29193 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
29194 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
29195 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
29196 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
29197 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
29198 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
29199 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
29200 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
29201 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
29202 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
29203 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
29204 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
29205 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
29206 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
29207 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
29208 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
29209 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
29210 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
29211 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
29212 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
29213 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
29214 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
29215 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
29216 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
29217 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
29218 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
29219 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29220 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
29221 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
29222 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
29223 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
29224 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
29225 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
29226 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
29227 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
29228 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
29229 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29230 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29231 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
29232 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
29233 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
29234 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
29235 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
29236 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29237 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
29238 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
29239 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
29240 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
29241 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
29242 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
29243 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29244 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
29245 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
29246 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
29247 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
29248 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
29249 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
29250 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
29251 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
29252 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
29253 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29254 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
29255 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
29256 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
29257 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
29258 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
29259 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
29260 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
29261 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
29262 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
29263 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
29264 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
29265 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
29266 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
29267 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
29268 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
29269 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
29270 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
29271 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
29272 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
29273 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
29274 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
29275 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
29276 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
29277 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
29278 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29279 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
29280 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29281 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
29282 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29283 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29284 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
29285 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29286 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
29287 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
29288 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
29289 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29290 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
29291 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
29292 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
29293 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
29294 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
29295 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
29296 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
29297 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
29298 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
29299 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
29300 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
29301 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
29302 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
29303 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
29304 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
29305 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
29306 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
29307 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
29308 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
29309 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
29310 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
29311 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
29312 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
29313 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
29314 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
29315 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
29316 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
29317 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
29318 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
29319 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
29320 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
29321 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
29322 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
29323 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
29324 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
29325 * sysdeps/ieee754/s_lib_version.c: Likewise.
29326 * sysdeps/ieee754/s_matherr.c: Likewise.
29327 * sysdeps/ieee754/s_signgam.c: Likewise.
29328 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
29329 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29330 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
29331 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
29332 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
29333 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
29334 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
29335 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
29336 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
29337 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
29338 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
29339 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
29340 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
29341 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
29342 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
29343 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
29344 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
29345 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
29346 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
29347 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29348 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 29349
1991fa03
JM
293502012-03-09 Joseph Myers <joseph@codesourcery.com>
29351
29352 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
29353 * sunrpc/rpc_main.c: Likewise.
29354 * sunrpc/rpc_svcout.c: Likewise.
29355
60d6f5a6
DM
293562012-03-09 David S. Miller <davem@davemloft.net>
29357
29358 * include/math_private.h: New file.
29359
4962050e
JM
293602012-03-09 Joseph Myers <joseph@codesourcery.com>
29361
02a6f887
JM
29362 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
29363 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
29364 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
29365 from <bits/socket_type.h>.
29366 (enum __socket_type): Don't define here.
29367 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
29368 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29369 bits/socket_type.h.
29370
c6e013c1
JM
29371 [BZ #13566]
29372 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
29373 checking __USE_GNU.
29374
4962050e
JM
29375 * Makerules ($(inst_includedir)/%.h): New rule.
29376 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
29377 (install-others): Remove variable setting.
29378 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
29379
38842f45
RH
293802012-03-08 Richard Henderson <rth@twiddle.net>
29381
67bb6da6
RH
29382 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
29383 from macro to inline function; merge with the
29384 !__LIBC_INTERNAL_MATH_INLINES version.
29385 (__ieee754_sqrtf): Likewise.
29386
15194b4b
RH
29387 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
29388 to inline function.
29389 (__rintf, __floor, __floorf): Likewise.
29390
64e21ede
RH
29391 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
29392 macro to inline function.
29393 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
29394
38842f45
RH
29395 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
29396 not <math/math_private.h>.
29397
c64bf5fe
DM
293982012-03-08 David S. Miller <davem@davemloft.net>
29399
29400 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
29401 copyright year.
29402 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
29403
82d86f28
TS
294042012-03-08 Thomas Schwinge <thomas@codesourcery.com>
29405
29406 * resolv/gai_misc.c (handle_requests): Fix struct timespec
29407 normalization.
29408 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
29409 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
29410
aea5d727
UD
294112012-03-08 Ulrich Drepper <drepper@gmail.com>
29412
29413 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
29414 be defined individually, they must be defined as a block. Define
29415 S for printing a string instead of hidint the different by using a
29416 macro for adding the 'l'.
29417 * stdio-common/tst-fphex-wide.c: Adjust.
29418
70bca0a3
MP
294192012-03-07 Marek Polacek <polacek@redhat.com>
29420
29421 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
29422
65b81130
MP
294232012-03-08 Marek Polacek <polacek@redhat.com>
29424
29425 [BZ #13806]
29426 * stdio-common/Makefile (tests): Add tst-fphex-wide.
29427 * stdio-common/tst-fphex.c: Define a few macros to make the
29428 test reusable. Use them.
29429 * stdio-common/tst-fphex-wide.c: New file.
29430
07037eeb
JM
294312012-03-08 Joseph Myers <joseph@codesourcery.com>
29432
a7a93d50
JM
29433 [BZ #6911]
29434 * manual/macros.texi (gnusystems): New macro.
29435 (nongnusystems): Likewise.
29436 (gnulinuxhurdsystems): Likewise.
29437 (gnuhurdsystems): Likewise..
29438 (gnulinuxsystems): Likewise.
29439 * manual/charset.texi: Use new macros or @theglibc{} to refer to
29440 variants of the GNU system, not "GNU system".
29441 * manual/conf.texi: Likewise.
29442 * manual/errno.texi: Likewise. Update example of errno macro
29443 expansion.
29444 * manual/filesys.texi: Likewise.
29445 (getumask): Document as specific to GNU/Hurd.
29446 * manual/install.texi: Likewise. Reword some references to
29447 GNU/Linux.
29448 * manual/intro.texi: Likewise.
29449 * manual/io.texi: Likewise.
29450 (File Name Portability): Detail which constraints are inapplicable
29451 to all GNU systems and which are only inapplicable to GNU/Hurd.
29452 * manual/job.texi: Likewise.
29453 * manual/llio.texi: Likewise.
29454 (O_NOCTTY): Document as present on GNU/Linux.
29455 * manual/maint.texi: Likewise.
29456 * manual/memory.texi: Likewise.
29457 * manual/pattern.texi: Likewise.
29458 * manual/pipe.texi: Likewise.
29459 * manual/process.texi: Likewise.
29460 * manual/resource.texi: Likewise.
29461 (RUSAGE_CHILDREN): Remove statement about specifying a particular
29462 child on GNU/Hurd.
29463 * manual/setjmp.texi: Likewise.
29464 * manual/signal.texi: Likewise.
29465 * manual/startup.texi: Likewise.
29466 * manual/stdio.texi: Likewise.
29467 * manual/terminal.texi: Likewise.
29468 (ONLCR): Document as POSIX.
29469 (OXTABS): Document availability on GNU/Linux as XTABS.
29470 (ONOEOT): Document availability separately from other bits.
29471 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
29472 * manual/time.texi: Likewise.
29473 * manual/users.texi: Likewise.
29474 * INSTALL: Regenerated.
29475 * sysdeps/gnu/errlist.c: Regenerated.
29476
07037eeb
JM
29477 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
29478 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
29479 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
29480 puts.
29481 * configure: Regenerated.
29482
d1d3431a
JM
294832012-03-07 Joseph Myers <joseph@codesourcery.com>
29484
af6a1e37
JM
29485 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
29486 default includes instead of AC_HEADER_CHECK.
29487 * sysdeps/i386/configure: Regenerated.
29488
d1d3431a
JM
29489 [BZ #10716]
29490 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
29491 * math/s_cacoshf.c (__cacoshf): Likewise.
29492 * math/s_cacoshl.c (__cacoshl): Likewise.
29493 * math/s_casinh.c (__casinh): Set signs of result from argument.
29494 * math/s_casinhf.c (__casinhf): Likewise.
29495 * math/s_casinhl.c (__casinhl): Likewise.
29496 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
29497 (casinh_test): Add more tests.
29498 * sysdeps/i386/fpu/libm-test-ulps: Update.
29499 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29500
482ff4da
UD
295012012-03-07 Ulrich Drepper <drepper@gmail.com>
29502
872fda05
UD
29503 * po/zh_TW.po: Update from translation team.
29504
a4300c7a
UD
29505 * login/Makefile (distribute): Remove variable.
29506 * catgets/Makefile: Likewise.
29507 * mach/Makefile: Likewise.
29508 * malloc/Makefile: Likewise.
29509 * misc/Makefile: Likewise.
29510 * iconv/Makefile: Likewise.
29511 * nscd/Makefile: Likewise.
29512 * hurd/Makefile: Likewise.
29513 * manual/Makefile: Likewise.
29514 * locale/Makefile: Likewise.
29515 * intl/Makefile: Likewise.
29516 * conform/Makefile: Likewise.
29517 * nss/Makefile: Likewise.
29518 * time/Makefile: Likewise.
29519 * soft-fp/Makefile: Likewise.
29520 * dirent/Makefile: Likewise.
29521 * gmon/Makefile: Likewise.
29522 * po/Makefile: Likewise.
29523 * rt/Makefile: Likewise.
29524 * socket/Makefile: Likewise.
29525 * math/Makefile: Likewise.
29526 * signal/Makefile: Likewise.
29527 * debug/Makefile: Likewise.
29528 * elf/Makefile: Likewise.
29529 * timezone/Makefile: Likewise.
29530 * stdlib/Makefile: Likewise.
29531 * iconvdata/Makefile: Likewise.
29532 * sunrpc/Makefile: Likewise.
29533 * io/Makefile: Likewise.
29534 * argp/Makefile: Likewise.
29535 * inet/Makefile: Likewise.
29536 * hesiod/Makefile: Likewise.
29537 * grp/Makefile: Likewise.
29538 * csu/Makefile: Likewise.
29539 * wctype/Makefile: Likewise.
29540 * crypt/Makefile: Likewise.
29541 * libio/Makefile: Likewise.
29542 * string/Makefile: Likewise.
29543 * nis/Makefile: Likewise.
29544 * resolv/Makefile: Likewise.
29545 * stdio-common/Makefile: Likewise.
29546 * wcsmbs/Makefile: Likewise.
29547 * dlfcn/Makefile: Likewise.
29548 * posix/Makefile: Likewise.
29549
3b7c4e74 29550 [BZ #6959]
482ff4da
UD
29551 * timezone/Makefile: Don't install timezone files, just the programs
29552 and scripts.
29553
f72ed77d
UD
295542012-03-06 Ulrich Drepper <drepper@gmail.com>
29555
a000466f
UD
29556 * nss/databases.def: Add missing gshadow entry.
29557
f72ed77d
UD
29558 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
29559
a53b7a4e
MP
295602012-03-06 Marek Polacek <polacek@redhat.com>
29561
29562 [BZ #13726]
29563 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
29564 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
29565 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
29566 * stdio-common/tst-long-dbl-fphex.c: New file.
29567
e9258400
DM
295682012-03-06 David S. Miller <davem@davemloft.net>
29569
29570 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29571 (set_obp_int): New function.
29572 (get_obp_int): New function.
29573 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
29574 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
29575 Avoid unused variable warnings on 'val' and use builtin_expect.
29576 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
29577 __builtin_expect.
e9258400
DM
29578 (INLINE_CLONE_SYSCALL): Likewise.
29579
3bd2c723
DM
295802012-03-05 David S. Miller <davem@davemloft.net>
29581
29582 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29583
bbb78d03
AS
295842012-03-05 Andreas Schwab <schwab@linux-m68k.org>
29585
884c5db4
AS
29586 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29587
bbb78d03
AS
29588 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
29589 only for |x| >= 40.
29590 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29591
1c9f702a 295922012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
29593
29594 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
29595 Replace gettimeofday with __vdso_gettimeofday.
29596
7be16f82
RM
29597 * sysdeps/unix/sysv/linux/x86_64/init-first.c
29598 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
29599 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
29600
29601 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
29602 time with __vdso_time.
29603
ed58a00f
JM
296042012-03-05 Joseph Myers <joseph@codesourcery.com>
29605
29606 * manual/lang.texi (size_t): Note types to which size_t may be
29607 equivalent with the GNU C Library, but do not describe when
29608 differences between them are significant.
29609
30ee4ced
AJ
296102012-03-05 Andreas Jaeger <aj@suse.de>
29611
29612 * sysdeps/i386/fpu/libm-test-ulps: Update.
29613
b7cd39e8
JM
296142012-03-05 Joseph Myers <joseph@codesourcery.com>
29615
29616 [BZ #3976]
29617 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
29618 (__ieee754_pow): Save and restore rounding mode and use
29619 round-to-nearest for main computations.
29620 * math/libm-test.inc (pow_test_tonearest): New function.
29621 (pow_test_towardzero): Likewise.
29622 (pow_test_downward): Likewise.
29623 (pow_test_upward): Likewise.
29624 (main): Call the new functions.
29625 * sysdeps/i386/fpu/libm-test-ulps: Update.
29626 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
29627
29628 [BZ #3976]
29629 * math/libm-test.inc (cosh_test_tonearest): New function.
29630 (cosh_test_towardzero): Likewise.
29631 (cosh_test_downward): Likewise.
29632 (cosh_test_upward): Likewise.
29633 (sinh_test_tonearest): Likewise.
29634 (sinh_test_towardzero): Likewise.
29635 (sinh_test_downward): Likewise.
29636 (sinh_test_upward): Likewise.
29637 (main): Call the new functions.
29638 * sysdeps/i386/fpu/libm-test-ulps: Update.
29639 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29640
6c6a98c9
TV
296412012-03-05 Tom de Vries <tom@codesourcery.com>
29642
29643 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
29644 default stack guard is set in last bytes.
29645 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
29646
21bb2d2e 296472012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 29648
21bb2d2e 29649 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 29650
21bb2d2e
AJ
29651 [BZ #13656]
29652 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
29653 possibly allocate from heap instead of stack.
29654 * stdio-common/bug-vfprintf-nargs.c: New file.
29655 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 29656
c6922934
AS
296572012-03-03 Andreas Schwab <schwab@linux-m68k.org>
29658
29659 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29660
bc957d53
MP
296612012-03-03 Marek Polacek <polacek@redhat.com>
29662
29663 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
29664 * math/math_private.h: Likewise.
29665 * stdlib/tst-strtod.c: Likewise.
29666 * sysdeps/i386/i486/bits/atomic.h: Likewise.
29667 * sysdeps/x86_64/bits/atomic.h: Likewise.
29668
6358490d
DM
296692012-03-02 David S. Miller <davem@davemloft.net>
29670
29671 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
29672 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
29673 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
29674 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
29675 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
29676 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
29677 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
29678 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
29679
01ae168d
RM
296802012-03-02 Roland McGrath <roland@hack.frob.com>
29681
d9a17c07
RM
29682 [BZ #13792]
29683 * manual/examples/README: New file, says the example source files
29684 can be used under GPL>=2.
29685 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
29686 line containing just "*/".
29687 * manual/examples/add.c: Add copyright header (GPL>=2).
29688 * manual/examples/argp-ex1.c: Likewise.
29689 * manual/examples/argp-ex2.c: Likewise.
29690 * manual/examples/argp-ex3.c: Likewise.
29691 * manual/examples/argp-ex4.c: Likewise.
29692 * manual/examples/atexit.c: Likewise.
29693 * manual/examples/db.c: Likewise.
29694 * manual/examples/dir.c: Likewise.
29695 * manual/examples/dir2.c: Likewise.
29696 * manual/examples/execinfo.c: Likewise.
29697 * manual/examples/filecli.c: Likewise.
29698 * manual/examples/filesrv.c: Likewise.
29699 * manual/examples/fmtmsgexpl.c: Likewise.
29700 * manual/examples/genpass.c: Likewise.
29701 * manual/examples/inetcli.c: Likewise.
29702 * manual/examples/inetsrv.c: Likewise.
29703 * manual/examples/isockad.c: Likewise.
29704 * manual/examples/longopt.c: Likewise.
29705 * manual/examples/memopen.c: Likewise.
29706 * manual/examples/memstrm.c: Likewise.
29707 * manual/examples/mkfsock.c: Likewise.
29708 * manual/examples/mkisock.c: Likewise.
29709 * manual/examples/mygetpass.c: Likewise.
29710 * manual/examples/pipe.c: Likewise.
29711 * manual/examples/popen.c: Likewise.
29712 * manual/examples/rprintf.c: Likewise.
29713 * manual/examples/search.c: Likewise.
29714 * manual/examples/select.c: Likewise.
29715 * manual/examples/setjmp.c: Likewise.
29716 * manual/examples/sigh1.c: Likewise.
29717 * manual/examples/sigusr.c: Likewise.
29718 * manual/examples/stpcpy.c: Likewise.
29719 * manual/examples/strdupa.c: Likewise.
29720 * manual/examples/strftim.c: Likewise.
29721 * manual/examples/strncat.c: Likewise.
29722 * manual/examples/subopt.c: Likewise.
29723 * manual/examples/swapcontext.c: Likewise.
29724 * manual/examples/termios.c: Likewise.
29725 * manual/examples/testopt.c: Likewise.
29726 * manual/examples/testpass.c: Likewise.
29727 * manual/examples/timeval_subtract.c: Likewise.
29728
01ae168d
RM
29729 [BZ #13792]
29730 * manual/time.texi (Elapsed Time): Move timeval_subtract example
29731 function to ...
29732 * manual/timeval_subtract.c.texi: ... here, new file.
29733
49efa33d
DM
297342012-03-02 David S. Miller <davem@davemloft.net>
29735
29736 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
29737
28afd92d
JM
297382012-03-02 Joseph Myers <joseph@codesourcery.com>
29739
804360ed
JM
29740 [BZ #3976]
29741 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
29742 (__sin): Save and restore rounding mode and use round-to-nearest
29743 for all computations.
29744 (__cos): Save and restore rounding mode and use round-to-nearest
29745 for all computations.
29746 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
29747 <fenv.h>.
29748 (tan): Save and restore rounding mode and use round-to-nearest for
29749 all computations.
29750 * math/libm-test.inc (cos_test_tonearest): New function.
29751 (cos_test_towardzero): Likewise.
29752 (cos_test_downward): Likewise.
29753 (cos_test_upward): Likewise.
29754 (sin_test_tonearest): Likewise.
29755 (sin_test_towardzero): Likewise.
29756 (sin_test_downward): Likewise.
29757 (sin_test_upward): Likewise.
29758 (tan_test_tonearest): Likewise.
29759 (tan_test_towardzero): Likewise.
29760 (tan_test_downward): Likewise.
29761 (tan_test_upward): Likewise.
29762 (main): Call the new functions.
29763 * sysdeps/i386/fpu/libm-test-ulps: Update.
29764 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29765
a6d06d7b
JM
29766 [BZ #10135]
29767 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
29768 small n, then large n, before computing and testing k+n.
29769 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
29770 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
29771 Likewise.
29772 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
29773 Likewise.
29774 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
29775 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
29776 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
29777 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
29778 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
29779 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
29780 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
29781 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
29782 * math/libm-test.inc (scalbn_test): Add more tests.
29783 (scalbln_test): Likewise.
29784
07e12bb3
JM
29785 * manual/filesys.texi (mode_t): Describe constraints on size and
29786 signedness, not exact equivalence to a particular type.
29787 (ino_t): Likewise.
29788 (ino64_t): Likewise.
29789 (dev_t): Likewise.
29790 (nlink_t): Likewise.
29791 (blkcnt_t): Likewise.
29792 (blkcnt64_t): Likewise.
29793 * manual/llio.texi (off_t): Likewise.
29794
28afd92d
JM
29795 [BZ #3976]
29796 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
29797 (__ieee754_exp): Save and restore rounding mode and use
29798 round-to-nearest for all computations.
29799 * math/libm-test.inc (exp_test_tonearest): New function.
29800 (exp_test_towardzero): Likewise.
29801 (exp_test_downward): Likewise.
29802 (exp_test_upward): Likewise.
29803 (main): Call the new functions.
29804 * sysdeps/i386/fpu/libm-test-ulps: Update.
29805 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29806
b1eeb65d
CD
298072012-03-01 Chris Demetriou <cgd@google.com>
29808
29809 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
29810 have predictable order.
29811
53362a4b
DM
298122012-03-01 David S. Miller <davem@davemloft.net>
29813
3c969083
DM
29814 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
29815
759707de
DM
29816 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
29817 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
29818 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
29819 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
29820
dfdb8ff2
DM
29821 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
29822 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
29823 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
29824 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
29825 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
29826 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
29827 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
29828 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
29829 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
29830
ead89f96
DM
29831 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29832
7f66bd07
DM
29833 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
29834 * sysdeps/sparc/fpu/libm-test-ulps: to here.
29835 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
29836
53362a4b
DM
29837 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
29838 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29839 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29840 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
29841 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
29842 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
29843 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
29844 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29845 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29846 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
29847 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
29848 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29849 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29850 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29851 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29852 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29853 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
29854 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
29855 * sysdeps/sparc/elf/configure: Regenerated.
29856
7b1902cb
JM
298572012-03-01 Joseph Myers <joseph@codesourcery.com>
29858
bec039bc
JM
29859 * configure.in (AS, LD): Require binutils 2.20 or later.
29860 * configure: Regenerated.
29861 * manual/install.texi (Tools for Compilation): Give binutils 2.20
29862 as required minimum version.
29863 * INSTALL: Regenerated.
29864
7b1902cb
JM
29865 [BZ #2541]
29866 [BZ #4108]
29867 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
29868 before squaring exponent.
29869 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
29870 bottom long double and 27 bits of top long double before squaring
29871 exponent.
29872 * math/libm-test.inc (erfc_test): Add more tests.
29873 * sysdeps/i386/fpu/libm-test-ulps: Update.
29874 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29875 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29876
f775c276
KT
298772012-03-01 Kai Tietz <ktietz@redhat.com>
29878
29879 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
29880 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
29881 containing bit-fields.
29882 * soft-fp/extended.h (_FP_UNION_E): Likewise.
29883 * soft-fp/single.h (_FP_UNION_S): Likewise.
29884 * soft-fp/double.h (_FP_UNION_D): Likewise.
29885
5b8a4d4a
JM
298862012-02-29 Joseph Myers <joseph@codesourcery.com>
29887
0bab47b6
JM
29888 [BZ #13786]
29889 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
29890 not include ../strcmp.S.
29891 [USE_AS_STRNCASECMP_L]: Likewise.
29892 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
29893 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
29894 * sysdeps/i386/i686/multiarch/strncase_l-c.c
29895 (__strncasecmp_l_ia32): Define as alias to
29896 __strncasecmp_l_nonascii.
29897
0fcad3e2
JM
29898 [BZ #5794]
29899 * math/libm-test.inc (expm1_test): Add test for bug 5794.
29900 * sysdeps/i386/fpu/libm-test-ulps: Update.
29901 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29902
5b8a4d4a
JM
29903 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
29904 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29905
8fdceb2e
JL
299062012-02-29 Jeff Law <law@redhat.com>
29907
29908 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
29909 out of bounds read.
29910
1f393a11
MP
299112012-02-29 Marek Polacek <polacek@redhat.com>
29912
29913 [BZ #13706]
29914 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
29915 * elf/Makefile: Add rules to run tst-unused-dep.out.
29916
8847f037
DM
299172012-02-28 David S. Miller <davem@davemloft.net>
29918
29919 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
29920 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
29921 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
29922 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
29923 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
29924 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
29925
169d7f11
JM
299262012-02-29 Joseph Myers <joseph@codesourcery.com>
29927
29928 * math/libm-test.inc (llround_test): Move one test from
29929 lround_test. Use TEST_f_L in moved test.
29930 (lround_test): Move misplaced test to llround_test. Add testcase
29931 from bug 2561.
29932
39adf059
UD
299332012-02-28 Ulrich Drepper <drepper@gmail.com>
29934
29935 * sysdeps/x86_64/fpu/e_expf.S: New file.
29936 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
29937
71b5d1c5
SB
299382012-02-28 Stanislav Brabec <sbrabec@suse.cz>
29939
29940 [BZ #13637]
29941 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
29942 of remain_len that may cause incomplete multi-byte character and
29943 false match.
29944 * posix/bug-regex33.c: New file.
29945 * posix/Makefile (tests): Add bug-regex33.
29946
1f77f049
JM
299472012-02-28 Joseph Myers <joseph@codesourcery.com>
29948
29949 * manual/macros.texi: New file.
29950 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
29951 * manual/libc.texinfo: Include macros.texi.
29952 * manual/creatute.texi: Likewise.
29953 * manual/install.texi: Likewise.
29954 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
29955 @glibcadj{} in references to the GNU C Library.
29956 * manual/charset.texi: Likewise.
29957 * manual/conf.texi: Likewise.
29958 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
29959 when not using those macros.
29960 * manual/creature.texi: Likewise.
29961 * manual/crypt.texi: Likewise.
29962 * manual/errno.texi: Likewise.
29963 * manual/filesys.texi: Likewise.
29964 * manual/header.texi: Likewise.
29965 * manual/install.texi: Likewise.
29966 * manual/intro.texi: Likewise.
29967 * manual/io.texi: Likewise.
29968 * manual/job.texi: Likewise.
29969 * manual/lang.texi: Likewise.
29970 * manual/libc.texiinfo: Likewise.
29971 * manual/llio.texi: Likewise.
29972 * manual/locale.texi: Likewise.
29973 * manual/maint.texi: Likewise.
29974 * manual/math.texi: Likewise.
29975 * manual/memory.texi: Likewise.
29976 * manual/message.texi: Likewise.
29977 * manual/nss.texi: Likewise.
29978 * manual/pattern.texi: Likewise.
29979 * manual/process.texi: Likewise.
29980 * manual/resource.texi: Likewise.
29981 * manual/search.texi: Likewise.
29982 * manual/setjmp.texi: Likewise.
29983 * manual/signal.texi: Likewise.
29984 * manual/socket.texi: Likewise.
29985 * manual/startup.texi: Likewise.
29986 * manual/stdio.texi: Likewise.
29987 * manual/string.texi: Likewise.
29988 * manual/sysinfo.texi: Likewise.
29989 * manual/syslog.texi: Likewise.
29990 * manual/terminal.texi: Likewise.
29991 * manual/time.texi: Likewise.
29992 * manual/users.texi: Likewise.
29993 * INSTALL: Regenerated.
29994 * NOTES: Regenerated.
d40c5d54 29995 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 29996
450bf206
AS
299972012-02-28 Andreas Schwab <schwab@linux-m68k.org>
29998
29999 * include/dirent.h: Include <dirstream.h> before
30000 <dirent/dirent.h>.
30001
741a235b
DM
300022012-02-28 David S. Miller <davem@davemloft.net>
30003
30004 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
30005 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
30006 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
30007 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
30008
d6b5aa58
DM
300092012-02-27 David S. Miller <davem@davemloft.net>
30010
1aff59a3
DM
30011 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
30012 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
30013 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
30014 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
30015
d6b5aa58
DM
30016 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
30017 frame pointer instead of stack pointer relative arg slot.
30018 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
30019 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
30020 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
30021
433f48bf
CD
300222012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
30023
30024 [BZ #3992]
30025 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
30026
d674b76d
DM
300272012-02-27 David S. Miller <davem@davemloft.net>
30028
30029 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
30030 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
30031 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
30032 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
30033 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
30034 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
30035 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
30036 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
30037
0e7727f7
JM
300382012-02-27 Joseph Myers <joseph@codesourcery.com>
30039
30040 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
30041 later. Allow versions 5-9.
43be4ca2 30042 * configure: Regenerated.
0e7727f7
JM
30043 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
30044 required minimum version and 4.6 as recommended version. Do not
30045 mention bugs in GCC 2.7 and 2.8.
43be4ca2 30046 * INSTALL: Regenerated.
0e7727f7 30047
a78bc654
DM
300482012-02-27 David S. Miller <davem@davemloft.net>
30049
428d5830
DM
30050 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
30051 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
30052 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
30053 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
30054 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
30055 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
30056 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
30057 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
30058
a78bc654
DM
30059 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
30060 manipulate bits before adding and subtracting TWO112[sx].
30061 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
30062
4579f81c
RM
300632012-02-27 Roland McGrath <roland@hack.frob.com>
30064
36c8acb4
RM
30065 [BZ #13775]
30066 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
30067 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
30068 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
30069 being in POSIX, because they are in 1003.1-2008.
30070
84ad622b
RM
30071 * rt/tst-aio.c: Include <fcntl.h>.
30072 * rt/tst-aio7.c: Likewise.
30073 * rt/tst-aio64.c: Likewise.
30074
4579f81c
RM
30075 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
30076
abd923db
JM
300772012-02-27 Joseph Myers <joseph@codesourcery.com>
30078
30079 * manual/install.texi (--with-headers): Describe headers as
30080 interface headers, not private headers.
30081 (Specific advice for GNU/Linux systems): Describe use of headers
30082 from "make headers_install", not private headers from older
30083 kernels.
43be4ca2 30084 * INSTALL: Regenerated.
abd923db
JM
30085 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
30086 Change to 2.6.19.
30087 * sysdeps/unix/sysv/linux/configure: Regenerated.
30088
6664049b
JM
30089 * manual/llio.texi (fclean): Remove documentation.
30090
bb8b6697
JM
30091 * manual/Makefile (libc-texi-generated): New variable. Include
30092 version.texi.
30093 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
30094 $(libc-texi-generated), not duplicated list of files.
30095 (version.texi, stamp-version): New rules.
30096 (realclean): Remove $(libc-texi-generated), not individual files
30097 from that list. Do not remove dir-add.texinfo.
30098 * manual/libc.texinfo: Comment out uses of edition numbers and
30099 references to printed manual. Remove last-updated dates.
30100 (EDITION): Comment out.
30101 (ISBN): Likewise.
30102 (VERSION, UPDATED): Remove.
30103 (version.texi): Include.
30104
12e5c3b9
AS
301052012-02-27 Andreas Schwab <schwab@linux-m68k.org>
30106
30107 * sysdeps/posix/spawni.c: Include <signal.h>.
30108 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
30109 * sysdeps/pthread/aio_fsync.c: Likewise.
30110
4efeffc1 301112012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 30112
ba63ba08
UD
30113 * conform/Makefile (tests): Run only when not cross-compiling and
30114 when fast-check is not defined.
30115
d94a4670
UD
30116 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
30117 * conform/data/limits.h-data: Fixes for POSIX2008.
30118 * conform/run-conformtest.sh: Run all tests.
30119 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
30120 headers.
30121 * include/bits/dlfcn.h: Likewise.
30122 * include/langinfo.h: Likewise.
30123 * include/monetary.h: Likewise.
30124 * include/sys/poll.h: Likewise.
30125
30126 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
30127 for __USE_GNU.
30128 * posix/spawn.h: Define __need_sigset_t.
30129 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
30130 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
30131 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
30132 to get sigevent_t only.
30133 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
30134 only for __USE_GNU.
30135 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30136 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
30137 process_vm_writev only for __USE_GNU.
30138 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
30139
30140 * conform/Makefile: For now ignore errors from run-conformtest.
30141 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
30142 POSIX to avoid namespace pollution. Don't prepend headers.
30143 * conform/data/aio.h-data: Fixes for POSIX testing.
30144 * conform/data/fcntl.h-data: Likewise.
30145 * conform/data/glob.h-data: Likewise.
30146 * conform/data/grp.h-data: Likewise.
30147 * conform/data/pthread.h-data: Likewise.
30148 * conform/data/pwd.h-data: Likewise.
30149 * conform/data/signal.h-data: Likewise.
30150 * conform/data/spawn.h-data: Likewise.
30151 * conform/data/stdio.h-data: Likewise.
30152 * conform/data/stdlib.h-data: Likewise.
30153 * conform/data/stropts.h-data: Likewise.
30154 * conform/data/sys/mman.h-data: Likewise.
30155 * conform/data/sys/stat.h-data: Likewise.
30156 * conform/data/sys/types.h-data: Likewise.
30157 * conform/data/sys/wait.h-data: Likewise.
30158 * conform/data/time.h-data: Likewise.
30159 * conform/data/unistd.h-data: Likewise.
30160 * conform/data/utime.h-data: Likewise.
30161
30162 * io/sys/stat.h: fchmod was always in POSIX.
30163 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
30164 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
30165 * rt/aio.h: Define __need_timespec before including <time.h>.
30166 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
30167 struct. Add forward declaration of pthread_attr_t and use it in
30168 sigevent.
30169 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
30170 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30171 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
30172 always remove CLK_TCK definition.
30173
c20105c3
AS
301742012-02-26 Andreas Schwab <schwab@linux-m68k.org>
30175
30176 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
30177
7a270350
UD
301782012-02-25 Ulrich Drepper <drepper@gmail.com>
30179
31341567
UD
30180 * conform/run-conformtest.sh: New file.
30181 * conform/Makefile: Run run-conformtest for tests.
30182 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
30183 support.
30184
30185 * conform/data/uchar.h-data: New file.
30186 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
30187 * conform/data/arpa/inet.h-data: Likewise.
30188 * conform/data/assert.h-data: Likewise.
30189 * conform/data/complex.h-data: Likewise.
30190 * conform/data/cpio.h-data: Likewise.
30191 * conform/data/ctype.h-data: Likewise.
30192 * conform/data/dirent.h-data: Likewise.
30193 * conform/data/dlfcn.h-data: Likewise.
30194 * conform/data/errno.h-data: Likewise.
30195 * conform/data/fcntl.h-data: Likewise.
30196 * conform/data/float.h-data: Likewise.
30197 * conform/data/fmtmsg.h-data: Likewise.
30198 * conform/data/fnmatch.h-data: Likewise.
30199 * conform/data/ftw.h-data: Likewise.
30200 * conform/data/glob.h-data: Likewise.
30201 * conform/data/grp.h-data: Likewise.
30202 * conform/data/iconv.h-data: Likewise.
30203 * conform/data/inttypes.h-data: Likewise.
30204 * conform/data/langinfo.h-data: Likewise.
30205 * conform/data/libgen.h-data: Likewise.
30206 * conform/data/limits.h-data: Likewise.
30207 * conform/data/locale.h-data: Likewise.
30208 * conform/data/math.h-data: Likewise.
30209 * conform/data/monetary.h-data: Likewise.
30210 * conform/data/mqueue.h-data: Likewise.
30211 * conform/data/ndbm.h-data: Likewise.
30212 * conform/data/net/if.h-data: Likewise.
30213 * conform/data/netdb.h-data: Likewise.
30214 * conform/data/netinet/in.h-data: Likewise.
30215 * conform/data/nl_types.h-data: Likewise.
30216 * conform/data/poll.h-data: Likewise.
30217 * conform/data/pthread.h-data: Likewise.
30218 * conform/data/pwd.h-data: Likewise.
30219 * conform/data/regex.h-data: Likewise.
30220 * conform/data/sched.h-data: Likewise.
30221 * conform/data/search.h-data: Likewise.
30222 * conform/data/semaphore.h-data: Likewise.
30223 * conform/data/setjmp.h-data: Likewise.
30224 * conform/data/signal.h-data: Likewise.
30225 * conform/data/spawn.h-data: Likewise.
30226 * conform/data/stdarg.h-data: Likewise.
30227 * conform/data/stdio.h-data: Likewise.
30228 * conform/data/stdlib.h-data: Likewise.
30229 * conform/data/string.h-data: Likewise.
30230 * conform/data/strings.h-data: Likewise.
30231 * conform/data/stropts.h-data: Likewise.
30232 * conform/data/sys/ipc.h-data: Likewise.
30233 * conform/data/sys/mman.h-data: Likewise.
30234 * conform/data/sys/msg.h-data: Likewise.
30235 * conform/data/sys/resource.h-data: Likewise.
30236 * conform/data/sys/select.h-data: Likewise.
30237 * conform/data/sys/sem.h-data: Likewise.
30238 * conform/data/sys/shm.h-data: Likewise.
30239 * conform/data/sys/socket.h-data: Likewise.
30240 * conform/data/sys/stat.h-data: Likewise.
30241 * conform/data/sys/statvfs.h-data: Likewise.
30242 * conform/data/sys/time.h-data: Likewise.
30243 * conform/data/sys/timeb.h-data: Likewise.
30244 * conform/data/sys/times.h-data: Likewise.
30245 * conform/data/sys/types.h-data: Likewise.
30246 * conform/data/sys/uio.h-data: Likewise.
30247 * conform/data/sys/un.h-data: Likewise.
30248 * conform/data/sys/utsname.h-data: Likewise.
30249 * conform/data/sys/wait.h-data: Likewise.
30250 * conform/data/syslog.h-data: Likewise.
30251 * conform/data/tar.h-data: Likewise.
30252 * conform/data/termios.h-data: Likewise.
30253 * conform/data/utime.h-data: Likewise.
30254 * conform/data/utmpx.h-data: Likewise.
30255 * conform/data/varargs.h-data: Likewise.
30256 * conform/data/wchar.h-data: Likewise.
30257 * conform/data/wctype.h-data: Likewise.
30258 * conform/data/wordexp.h-data: Likewise.
30259
30260 * include/stropts.h: New file.
30261 * include/uchar.h: New file.
30262 * include/aio.h: Changes to allow conformtest.pl to use the headers.
30263 * include/assert.h: Likewise.
30264 * include/ctype.h: Likewise.
30265 * include/dirent.h: Likewise.
30266 * include/dlfcn.h: Likewise.
30267 * include/fcntl.h: Likewise.
30268 * include/fnmatch.h: Likewise.
30269 * include/glob.h: Likewise.
30270 * include/grp.h: Likewise.
30271 * include/libio.h: Likewise.
30272 * include/locale.h: Likewise.
30273 * include/math.h: Likewise.
30274 * include/net/if.h: Likewise.
30275 * include/netdb.h: Likewise.
30276 * include/netinet/in.h: Likewise.
30277 * include/pthread.h: Likewise.
30278 * include/pwd.h: Likewise.
30279 * include/regex.h: Likewise.
30280 * include/sched.h: Likewise.
30281 * include/search.h: Likewise.
30282 * include/setjmp.h: Likewise.
30283 * include/signal.h: Likewise.
30284 * include/stdio.h: Likewise.
30285 * include/stdlib.h: Likewise.
30286 * include/string.h: Likewise.
30287 * include/sys/cdefs.h: Likewise.
30288 * include/sys/mman.h: Likewise.
30289 * include/sys/msg.h: Likewise.
30290 * include/sys/resource.h: Likewise.
30291 * include/sys/select.h: Likewise.
30292 * include/sys/socket.h: Likewise.
30293 * include/sys/stat.h: Likewise.
30294 * include/sys/statvfs.h: Likewise.
30295 * include/sys/time.h: Likewise.
30296 * include/sys/times.h: Likewise.
30297 * include/sys/uio.h: Likewise.
30298 * include/sys/utsname.h: Likewise.
30299 * include/sys/wait.h: Likewise.
30300 * include/termios.h: Likewise.
30301 * include/time.h: Likewise.
30302 * include/ulimit.h: Likewise.
30303 * include/unistd.h: Likewise.
30304 * include/utime.h: Likewise.
30305 * include/wchar.h: Likewise.
30306 * include/wctype.h: Likewise.
30307 * include/wordexp.h: Likewise.
30308
30309 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
30310
7a270350
UD
30311 * time/time.h: TIME_UTC must be a macro.
30312 Make timespec_get available for ISO C11 only as well.
30313
7724defc
UD
303142012-02-24 Ulrich Drepper <drepper@gmail.com>
30315
30316 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
30317 Reported by Peng Haitao <penght@cn.fujitsu.com>.
30318
6b1d1d46
JM
303192012-02-24 Joseph Myers <joseph@codesourcery.com>
30320
30321 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 30322
0f8bbd69
JM
303232012-02-24 Joseph Myers <joseph@codesourcery.com>
30324
30325 * manual/texinfo.tex: Update to version 2012-01-19.16.
30326
66ab80bc
JM
303272012-02-24 Joseph Myers <joseph@codesourcery.com>
30328
30329 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
30330
74981cc5
RM
303312012-02-24 Roland McGrath <roland@hack.frob.com>
30332
ee968201
RM
30333 [BZ #13738]
30334 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
30335 * manual/fdl-1.3.texi: New file.
30336 * manual/fdl-1.1.texi: File removed.
30337
74981cc5
RM
30338 [BZ #13738]
30339 * manual/libc.texinfo (FDL_VERSION): New @set.
30340 Use it for mention of FDL in cover text.
30341 (Documentation License): Use it in @include file name.
30342
7bb764bc
JM
303432012-02-22 Joseph Myers <joseph@codesourcery.com>
30344 Roland McGrath <roland@hack.frob.com>
30345
30346 [BZ #5461]
30347 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
30348 not LONG_LONG_MAX and LONG_LONG_MIN.
30349 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
30350 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
30351 name.
30352 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
30353
6cbeae47
JM
303542012-02-22 Joseph Myers <joseph@codesourcery.com>
30355
30356 [BZ #2547]
30357 [BZ #11365]
30358 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
30359 manipulate bits before adding and subtracting TWO23[sx].
30360 * math/libm-test.inc (nearbyint_test): Add more tests.
30361
fe45ce09
JM
303622012-02-22 Joseph Myers <joseph@codesourcery.com>
30363
30364 [BZ #2548]
30365 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
30366 bits before adding and subtracting TWO23[sx].
30367 * math/libm-test.inc (rint_test): Add more tests.
30368 (rint_test_tonearest): Likewise.
30369 (rint_test_towardzero): Likewise.
30370 (rint_test_downward): Likewise.
30371 (rint_test_upward: Likewise.
30372
ff3b3d82
JM
303732012-02-22 Joseph Myers <joseph@codesourcery.com>
30374
30375 [BZ #10110]
30376 * include/stdc-predef.h: New file. Extracted from features.h.
30377 * include/features.h: Include stdc-predef.h.
30378 * Makefile (headers): Add stdc-predef.h.
30379 * CONFORMANCE (Compiler limitations): Update.
30380
ef0aab35
JM
303812012-02-22 Joseph Myers <joseph@codesourcery.com>
30382
30383 * manual/libc.texinfo (VERSION, UPDATED): Revert.
30384
58639409
DM
303852012-02-21 David S. Miller <davem@davemloft.net>
30386
30387 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
30388 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
30389
c0e70b25
DM
303902012-02-20 David S. Miller <davem@davemloft.net>
30391
30392 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
30393 using a normal save/restore sequence, rather than allocating a
30394 dummy stack frame just to store a frame pointer and restore.
30395 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30396
fb06851d
JM
303972012-02-21 Joseph Myers <joseph@codesourcery.com>
30398
30399 * manual/install.texi: Fix stray word in line-wrapped comment.
30400
7a8b71c3
DM
304012012-02-20 David S. Miller <davem@davemloft.net>
30402
d510c123
DM
30403 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
30404 both binutils and gcc support GOTDATA.
30405
0722d7c2
DM
30406 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
30407 "rd %pc" in the PIC register setup sequences.
30408
3d2b3019
DM
30409 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
30410 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
30411 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
30412 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
30413 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
30414 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
30415 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30416 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30417 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
30418 (SYSCALL_ERROR_HANDLER): Likewise.
30419 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
30420 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30421 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
30422 (SYSCALL_ERROR_HANDLER): Likewise.
30423
c80098a9
DM
30424 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
30425 (HAVE_GCC_GOTDATA): New.
30426 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
30427 relocation support in both binutils and gcc.
30428 * sysdeps/sparc/elf/configure: Regenerate.
30429
3a2545a0
DM
30430 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
30431 * sysdeps/sparc/sparc32/elf/configure: Delete.
30432 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
30433 * sysdeps/sparc/sparc64/elf/configure: Delete.
30434 * sysdeps/sparc/elf/configure.in: New file.
30435 * sysdeps/sparc/elf/configure: Generate.
30436
7a8b71c3
DM
30437 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
30438 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
30439 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
30440 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
30441 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
30442
f1e86fca
JM
304432012-02-21 Joseph Myers <joseph@codesourcery.com>
30444
30445 * manual/install.texi: Do not mention specific glibc version
30446 numbers.
30447 * manual/libc.texinfo (VERSION, UPDATED): Update.
30448 (@copying): Use @copyright{} and range of years.
30449
0e7dfaef
JM
304502012-02-21 Joseph Myers <joseph@codesourcery.com>
30451
30452 [BZ #13695]
30453 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
30454 [crti.S not in sysdirs] (generated): Do not append.
30455 [crti.S not in sysdirs] (omit-deps): Likewise.
30456 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
30457 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
30458 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
30459 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
30460 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
30461 Likewise.
30462 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
30463 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
30464 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
30465 * csu/defs.awk: Remove file.
30466 * sysdeps/generic/initfini.c: Likewise.
30467 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
30468 variable.
30469 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
30470 Likewise.
30471
599af3ca
JM
304722012-02-20 Joseph Myers <joseph@codesourcery.com>
30473
30474 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
30475 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
30476 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
30477 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
30478 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30479 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
30480 <bits/epoll.h>.
30481 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
30482 (__EPOLL_PACKED): Define to empty if not defined by
30483 <bits/epoll.h>.
30484 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
30485 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30486 bits/epoll.h.
30487
0e499750
JM
304882012-02-20 Joseph Myers <joseph@codesourcery.com>
30489
30490 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
30491 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
30492 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
30493 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
30494 <bits/timerfd.h>.
30495 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
30496 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30497 bits/timerfd.h.
30498
5ad91f6e
JM
304992012-02-20 Joseph Myers <joseph@codesourcery.com>
30500
30501 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
30502 in C locale.
30503 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30504 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
30505 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
30506 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30507
06b99b02
AJ
305082012-02-20 Aurelien Jarno <aurelien@aurel32.net>
30509
30510 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30511 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
30512
7638c0fd
AS
305132012-02-19 Andreas Schwab <schwab@linux-m68k.org>
30514
30515 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
30516 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
30517 defined.
30518 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
30519 Likewise.
30520 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
30521 entry for 2.16.
30522
92221550
AJ
305232012-02-19 Aurelien Jarno <aurelien@aurel32.net>
30524
30525 * math/w_acos.c: Use non-signaling floating-point comparisons.
30526 * math/w_acosf.c: Likewise.
30527 * math/w_acosh.c: Likewise.
30528 * math/w_acoshf.c: Likewise.
30529 * math/w_acoshl.c: Likewise.
30530 * math/w_acosl.c: Likewise.
30531 * math/w_asin.c: Likewise.
30532 * math/w_asinf.c: Likewise.
30533 * math/w_asinl.c: Likewise.
30534 * math/w_atanh.c: Likewise.
30535 * math/w_atanhf.c: Likewise.
30536 * math/w_atanhl.c: Likewise.
30537 * math/w_exp2.c: Likewise.
30538 * math/w_exp2f.c: Likewise.
30539 * math/w_exp2l.c: Likewise.
30540 * math/w_j0.c: Likewise.
30541 * math/w_j0f.c: Likewise.
30542 * math/w_j0l.c: Likewise.
30543 * math/w_j1.c: Likewise.
30544 * math/w_j1f.c: Likewise.
30545 * math/w_j1l.c: Likewise.
30546 * math/w_jn.c: Likewise.
30547 * math/w_jnf.c: Likewise.
30548 * math/w_log.c: Likewise.
30549 * math/w_log10.c: Likewise.
30550 * math/w_log10f.c: Likewise.
30551 * math/w_log10l.c: Likewise.
30552 * math/w_log2.c: Likewise.
30553 * math/w_log2f.c: Likewise.
30554 * math/w_log2l.c: Likewise.
30555 * math/w_logf.c: Likewise.
30556 * math/w_logl.c: Likewise.
30557 * math/w_sqrt.c: Likewise.
30558 * math/w_sqrtf.c: Likewise.
30559 * math/w_sqrtl.c: Likewise.
30560 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30561 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
30562 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30563 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
30564 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
30565
ebaf36eb
JM
305662012-02-19 Joseph Myers <joseph@codesourcery.com>
30567
30568 [BZ #9739]
30569 * manual/string.texi (strnlen): Use correct parameter name in
30570 equivalent expression.
30571
71c254a6
JM
305722012-02-19 Joseph Myers <joseph@codesourcery.com>
30573
30574 [BZ #11174]
30575 * manual/users.texi (seteuid): Consistently use neweuid for
30576 argument name.
30577
16d2c631
JM
305782012-02-19 Joseph Myers <joseph@codesourcery.com>
30579
30580 [BZ #13704]
30581 * manual/nss.texi (Services in the NSS configuration): Correct
30582 list of services in example configuration file.
30583
cd837b09
NB
305842012-02-19 Nick Bowler <nbowler@draconx.ca>
30585
30586 [BZ #11322]
30587 * manual/arith.texi: Remove statements about negative zero
30588 behaving identically to zero.
30589
02c4bbad
JM
305902012-02-18 Joseph Myers <joseph@codesourcery.com>
30591
30592 [BZ #5993]
30593 * manual/install.texi: Do not document upgrading from libc5.
30594
366842e7
JM
305952012-02-18 Joseph Myers <joseph@codesourcery.com>
30596
30597 [BZ #4596]
30598 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
30599
dd54084d
DM
306002012-02-18 David S. Miller <davem@davemloft.net>
30601
30602 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
30603 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
30604 %o7 across the call.
30605 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
30606 instead.
30607 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
30608 SETUP_PIC_REG_LEAF.
30609 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30610 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
30611 * sysdeps/sparc/crtn.S: Likewise.
30612
2bcc53a3
UD
306132012-02-17 Ulrich Drepper <drepper@gmail.com>
30614
30615 * aout/Makefile: Remove.
30616
09c093b5
RK
306172012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
30618
30619 [BZ #13058]
30620 * manual/examples/argp-ex1.c (main): Format definition in GNU
30621 style.
30622 * manual/examples/argp-ex2.c (main): Likewise.
30623 * manual/examples/argp-ex3.c (main): Likewise.
30624 * manual/examples/argp-ex4.c (main): Likewise.
30625 * manual/examples/longopt.c (main): Use new-style prototype
30626 definition.
30627 * manual/examples/strncat.c (main): Specify return type and use
30628 (void) for arguments.
30629 * manual/examples/subopt.c (main): Use char **argv argument.
30630
2ee633a2
JM
306312012-02-17 Joseph Myers <joseph@codesourcery.com>
30632
30633 [BZ #5077]
30634 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
30635 rounding modes.
30636
0520adde
FB
306372012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
30638
30639 [BZ #6907]
30640 * manual/string.texi (strchr): Change when strchrnul is
30641 recommended.
30642
3f4081cd
DGM
306432012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
30644
30645 [BZ #174]
30646 * manual/locale.texi (setlocale): Document LOCPATH.
30647
d1b10e78
JM
306482012-02-17 Joseph Myers <joseph@codesourcery.com>
30649
30650 [BZ #10210]
30651 * manual/process.texi (execle): Move @dots{} before last argument.
30652
79c6869c
PB
306532012-02-17 Paul Bolle <pebolle@tiscali.nl>
30654
30655 [BZ #12047]
30656 * manual/charset.texi (Generic Charset Conversion): Fix typo
30657 (LC_TYPE -> LC_CTYPE).
30658
cc6e48bc
NB
306592012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
30660
30661 [BZ #5805]
30662 * manual/arith.texi (scalbn): Use @var{} on parameter names.
30663 (scalbnf): Likewise.
30664 (scalbnl): Likewise.
30665 (scalbln): Likewise.
30666 (scalblnf): Likewise.
30667 (scalblnl): Likewise.
30668 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
30669 (vwarnx): Likewise.
30670 (verr): Likewise.
30671 (verrx): Likewise.
30672 * manual/filesys.texi (telldir): Use braces around return type.
30673 * manual/llio.texi (mmap): Add space after comma.
30674 (mmap64): Likewise.
30675 * manual/math.texi (jn): Use @var{} on parameter names.
30676 (jnf): Likewise.
30677 (jnl): Likewise.
30678 (yn): Likewise.
30679 (ynf): Likewise.
30680 (ynl): Likewise.
30681 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
30682 line.
30683 * manual/resource.texi (ulimit): Use @dots{} instead of literal
30684 "...".
30685 (sched_get_priority_min): Remove semicolon on @deftypefun line.
30686 (sched_get_priority_max): Likewise.
30687 * manual/signal.texi (sigvec): Add space after comma.
30688 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
30689 names.
30690 (if_indextoname): Likewise.
30691 (if_freenameindex): Likewise.
30692 (sendto): Use ',' instead of '.' in prototype.
30693 * manual/startup.texi (syscall): Use @dots{} instead of literal
30694 "...".
30695 * manual/stdio.texi (__fpending): Separate initial words of
30696 paragraph from @deftypefun line.
30697 * manual/syslog.texi (syslog): Use @dots{} instead of literal
30698 "...".
30699 (vsyslog): Use @var{} on parameter names.
30700 * manual/terminal.texi (stty): Use @var{} on parameter names.
30701 * manual/users.texi (getutmp): Use @var{} on parameter names.
30702 (getutmpx): Likewise.
30703
5b23062f
JM
307042012-02-17 Joseph Myers <joseph@codesourcery.com>
30705
30706 [BZ #6884]
30707 * manual/stdio.texi (fopen): Fix typos in description of
30708 ",ccs=STRING".
30709
8dee4833
AJ
307102012-02-17 Aurelien Jarno <aurelien@aurel32.net>
30711
30712 [BZ #4026]
30713 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
30714 get clock_id definition.
30715
9078ce93
TS
307162012-02-17 Thomas Schwinge <thomas@schwinge.name>
30717
30718 [BZ #4822]
30719 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
30720 (madvise): Cast every argument to void on its own.
30721
3835c55f
JM
307222012-02-17 Joseph Myers <joseph@codesourcery.com>
30723
30724 [BZ #9902]
30725 * manual/startup.texi (Exit Status): Fix typo.
30726
35c47e37
JM
307272012-02-17 Joseph Myers <joseph@codesourcery.com>
30728
30729 [BZ #10140]
30730 * manual/examples/argp-ex1.c: Include <stdlib.h>.
30731 * manual/examples/argp-ex2.c: Likewise.
30732 * manual/examples/argp-ex3.c: Likewise.
30733
e3b69ca7
RH
307342012-02-16 Richard Henderson <rth@redhat.com>
30735
30736 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
30737 * sysdeps/s390/s390-32/initfini.c: Remove.
30738 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
30739 * sysdeps/s390/s390-64/initfini.c: Remove.
30740
df83af67
KK
307412012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30742
30743 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
30744 compiler output for sysdeps/generic/initfini.c.
30745 * sysdeps/sh/elf/initfini.c: Remove file.
30746
f63f3380
DM
307472012-02-16 David S. Miller <davem@davemloft.net>
30748
fb59b3a4
DM
30749 [BZ #11494]
30750 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
30751
f63f3380
DM
30752 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
30753 * sysdeps/sparc/crti.S: New file.
30754 * sysdeps/sparc/crtn.S: New file.
30755 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
30756 * sysdeps/sparc/sparc64/Makefile: Likewise.
30757
df6a4a4a
MF
307582012-02-15 Mike Frysinger <vapier@gentoo.org>
30759
6dd8f3dc 30760 [BZ #3335]
df6a4a4a
MF
30761 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
30762
1cac7236
RM
307632012-02-15 Roland McGrath <roland@hack.frob.com>
30764
d2c736f8
RM
30765 [BZ #4822]
30766 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
30767
1cac7236
RM
30768 * mach/devstream.c (cookie_io_functions_t): Macro removed.
30769 (write, read, close): Likewise.
30770 Patch by Aurelien Jarno <aurelien@aurel32.net>.
30771
8e475601
JM
307722012-02-15 Joseph Myers <joseph@codesourcery.com>
30773
30774 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
30775 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
30776 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
30777 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
30778 <bits/signalfd.h>.
30779 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
30780 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30781 bits/signalfd.h.
30782
ed656b40
MP
307832012-02-14 Marek Polacek <polacek@redhat.com>
30784
30785 * sysdeps/x86_64/crti.S: New file.
30786 * sysdeps/x86_64/crtn.S: New file.
30787 * sysdeps/x86_64/elf/initfini.c: Remove file.
30788
2a979d3a
JM
307892012-02-13 Joseph Myers <joseph@codesourcery.com>
30790
30791 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
30792 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
30793 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
30794 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
30795 <bits/inotify.h>.
30796 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
30797 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30798 bits/inotify.h.
30799
2a418ac3
JM
308002012-02-13 Joseph Myers <joseph@codesourcery.com>
30801
30802 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
30803 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
30804 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
30805 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
30806 <bits/eventfd.h>.
30807 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
30808 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30809 bits/eventfd.h.
30810
fb779be7
TS
308112012-02-10 Thomas Schwinge <thomas@codesourcery.com>
30812
e19e83c5
RM
30813 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
30814 __feraiseexcept instead of feraiseexcept.
7c35ffed 30815
fb779be7
TS
30816 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
30817 nanosleep invocations.
30818 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
30819 strings, and add error checking for a nanosleep invocations.
30820
59ba27a6
PE
308212012-02-09 Paul Eggert <eggert@cs.ucla.edu>
30822
30823 Replace FSF snail mail address with URLs, as per GNU coding standards.
30824 Most of the snail mail addresses were wrong anyway, and omitting
30825 them makes the source code easier to maintain. Almost all of the
30826 changes are to license notices and to locale LC_IDENTIFICATION
30827 addresses, except for this one:
30828 * manual/libc.texinfo: In "Published by", give the FSF's URL,
30829 not its snail mail address.
30830
57b957eb
RH
308312012-02-09 Richard Henderson <rth@twiddle.net>
30832
af850b1c
RH
30833 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
30834 of kernel-features.h.
30835
57b957eb
RH
30836 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
30837
6b73181a
MP
308382012-02-08 Marek Polacek <polacek@redhat.com>
30839
30840 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
30841 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
30842 * sysdeps/gnu/_G_config.h: Likewise.
30843 * sysdeps/generic/_G_config.h: Likewise.
30844
26ecc33a
AS
308452012-02-08 Andreas Schwab <schwab@linux-m68k.org>
30846
6c6dbc63
AS
30847 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
30848 tests.
30849 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30850
e216c012
AS
30851 * sysdeps/powerpc/powerpc32/crti.S: New file.
30852 * sysdeps/powerpc/powerpc32/crtn.S: New file.
30853 * sysdeps/powerpc/powerpc64/crti.S: New file.
30854 * sysdeps/powerpc/powerpc64/crtn.S: New file.
30855
26ecc33a
AS
30856 * Makeconfig (have-initfini): Don't set.
30857 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
30858 * configure.in (nopic_initfini): Don't substitute.
30859 * config.h.in (HAVE_INITFINI): Don't #undef.
30860 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
30861 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
30862
3add8e13
JM
308632012-02-08 Joseph Myers <joseph@codesourcery.com>
30864
30865 Support crti.S and crtn.S provided directly by architectures.
30866 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
30867 [crti.S in sysdirs] (omit-deps): Likewise.
30868 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
30869 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
30870 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
30871 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
30872 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
30873 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
30874 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
30875 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
30876 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
30877 compiler output for sysdeps/generic/initfini.c.
30878 * sysdeps/i386/elf/Makefile: Remove file.
30879 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
30880
a22f12b4
MP
308812012-02-07 Marek Polacek <polacek@redhat.com>
30882
30883 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
30884 * sysdeps/gnu/_G_config.h: Likewise.
30885 * sysdeps/mach/hurd/_G_config.h: Likewise.
30886
148cf100
MP
308872012-02-07 Marek Polacek <polacek@redhat.com>
30888
30889 * math/Makefile (tests): Add tst-CMPLX2.
30890 * math/tst-CMPLX2.c: New file.
30891
cfdc0dd7
AS
308922012-02-07 Andreas Schwab <schwab@linux-m68k.org>
30893
84ba42c4
AS
30894 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30895
cfdc0dd7
AS
30896 * math/libm-test.inc (jn_test): Add missing L suffix.
30897
622c86f4
MP
308982012-02-06 Marek Polacek <polacek@redhat.com>
30899
30900 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
30901 * sysdeps/i386/fpu/e_powf.S: Likewise.
30902 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30903 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
30904 * sysdeps/i386/fpu/e_acosh.S: Likewise.
30905 * sysdeps/i386/fpu/e_pow.S: Likewise.
30906 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30907 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30908 * sysdeps/i386/fpu/s_expm1.S: Likewise.
30909 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30910 * sysdeps/i386/fpu/e_log2.S: Likewise.
30911 * sysdeps/i386/fpu/e_log2l.S: Likewise.
30912 * sysdeps/i386/fpu/e_scalb.S: Likewise.
30913 * sysdeps/i386/fpu/e_powl.S: Likewise.
30914 * sysdeps/i386/fpu/s_log1p.S: Likewise.
30915 * sysdeps/i386/fpu/e_log10f.S: Likewise.
30916 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30917 * sysdeps/i386/fpu/e_logl.S: Likewise.
30918 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30919 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
30920 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30921 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30922 * sysdeps/i386/fpu/e_log2f.S: Likewise.
30923 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30924 * sysdeps/i386/fpu/e_log.S: Likewise.
30925 * sysdeps/i386/fpu/s_cexp.S: Likewise.
30926 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30927 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
30928 * sysdeps/i386/fpu/e_logf.S: Likewise.
30929 * sysdeps/i386/fpu/e_log10l.S: Likewise.
30930 * sysdeps/i386/fpu/e_atanh.S: Likewise.
30931 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
30932 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30933 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
30934 * sysdeps/i386/fpu/e_log10.S: Likewise.
30935 * sysdeps/i386/fpu/s_frexp.S: Likewise.
30936 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30937 * sysdeps/i386/fpu/s_asinh.S: Likewise.
30938 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30939 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30940 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30941 * sysdeps/i386/asm-syntax.h: Likewise.
30942 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30943 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30944 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30945 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
30946 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
30947 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30948 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30949 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30950 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30951 * sysdeps/powerpc/sysdep.h: Likewise.
30952 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
30953 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30954
d4a54ac6
JM
309552012-02-06 Joseph Myers <joseph@codesourcery.com>
30956
30957 [BZ #411]
30958 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
30959
314054ea
JM
309602012-02-06 Joseph Myers <joseph@codesourcery.com>
30961
30962 * sysdeps/i386/sysdep.h: Include <features.h>.
30963 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
30964 version.
30965
d8e0ca50
JM
309662012-02-05 Joseph Myers <joseph@codesourcery.com>
30967
30968 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
30969 Define.
30970 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
30971 LOAD_PIC_REG_STR.
30972
b1da7dd9
JM
309732012-02-03 Joseph Myers <joseph@codesourcery.com>
30974
30975 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
30976 (SETUP_PIC_REG): Use GET_PC_THUNK.
30977 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
30978 macro.
30979
9a1d9254
JM
309802012-02-03 Joseph Myers <joseph@codesourcery.com>
30981
30982 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
30983 for non-PIC compilation.
30984 (SETUP_PIC_REG): Add .p2align directive.
30985 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
30986 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
30987 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30988 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30989 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
30990 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30991 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
30992 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30993 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30994 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30995 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30996 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30997 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30998 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30999 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
31000 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
31001 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
31002 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
31003 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
31004 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
31005 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31006 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
31007 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
31008 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
31009 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
31010 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
31011 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31012 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
31013 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
31014 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
31015 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
31016 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31017 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
31018 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
31019 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
31020 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
31021 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
31022 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
31023 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
31024 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
31025 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
31026
65dc3b75
JM
310272012-02-03 Joseph Myers <joseph@codesourcery.com>
31028
31029 * math/tst-CMPLX.c: Include <stdio.h>.
31030
d55bf177
JM
310312012-01-31 Joseph Myers <joseph@codesourcery.com>
31032
31033 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
31034 float.
31035 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
31036 * sysdeps/sparc/bits/mathdef.h: Likewise.
31037
69db4f8f
MP
310382012-01-31 Marek Polacek <polacek@redhat.com>
31039
31040 * libio/libio.h: Don't define _PARAMS.
31041 * locale/programs/config.h: Don't define PARAMS.
31042 * stdlib/strtol_l.c: Likewise.
31043 (__strtol_l): Remove PARAMS from the prototype.
31044
41b81892
UD
310452012-01-31 Ulrich Drepper <drepper@gmail.com>
31046
3b49edc0
UD
31047 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
31048 names. Just use the correct names. Remove unnecessary wrapper
31049 functions.
31050 * malloc/arena.c: Likewise.
31051 * malloc/hooks.c: Likewise.
31052
41b81892
UD
31053 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
31054 ARENA_TEST says not to. Simplify test for creation of a new arena.
31055 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
31056
27a25b6e
UD
310572012-01-30 Ulrich Drepper <drepper@gmail.com>
31058
31059 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
31060 into tail calls.
31061 (update_get_addr): New function.
31062 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
31063 GET_ADDR_MODULE parameter.
31064
c8a89e7d
JM
310652012-01-30 Joseph Myers <joseph@codesourcery.com>
31066
31067 * crypt/cert.c: Remove __STDC__ conditionals.
31068 * crypt/crypt-entry.c: Likewise.
31069 * crypt/crypt_util.c: Likewise.
31070 * libio/filedoalloc.c: Likewise.
31071 * libio/fileops.c: Likewise.
31072 * libio/genops.c: Likewise.
31073 * libio/iofclose.c: Likewise.
31074 * libio/iofdopen.c: Likewise.
31075 * libio/iofopen.c: Likewise.
31076 * libio/iofopen64.c: Likewise.
31077 * libio/iogetdelim.c: Likewise.
31078 * libio/iopopen.c: Likewise.
31079 * libio/obprintf.c: Likewise.
31080 * libio/oldfileops.c: Likewise.
31081 * libio/oldiofclose.c: Likewise.
31082 * libio/oldiofdopen.c: Likewise.
31083 * libio/oldiofopen.c: Likewise.
31084 * libio/oldiopopen.c: Likewise.
31085 * libio/wfiledoalloc.c: Likewise.
31086 * libio/wgenops.c: Likewise.
31087 * locale/programs/xmalloc.c: Likewise.
31088 * misc/syslog.c: Likewise.
31089 * stdio-common/xbug.c: Likewise.
31090 * string/memchr.c: Likewise.
31091 * string/memcmp.c: Likewise.
31092 * string/memrchr.c: Likewise.
31093 * string/rawmemchr.c: Likewise.
31094 * sysdeps/posix/getcwd.c: Likewise.
31095 * time/strftime_l.c: Likewise.
31096
3b100462
JM
310972012-01-30 Joseph Myers <joseph@codesourcery.com>
31098
31099 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
31100 * config.make.in (config-cflags-sse2avx): Define.
31101 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
31102 Fix typo.
31103
607998af
CM
311042012-01-29 Chris Metcalf <cmetcalf@tilera.com>
31105
31106 * scripts/config.guess: Update from upstream config git repository.
31107 * scripts/config.sub: Likewise.
31108
3601428f
CM
311092012-01-28 Chris Metcalf <cmetcalf@tilera.com>
31110
3ac8b282
CM
31111 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
31112 (EM_NUM): Update.
31113 (R_TILEPRO_*, R_TILEGX_*): New macros.
31114
e034841e
CM
31115 * scripts/firstversions.awk: Fix bug in version range handling.
31116
540d7568
CM
31117 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
31118
3601428f
CM
31119 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
31120
463de862
CM
31121 * include/sys/epoll.h: New file.
31122 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
31123 libc_hidden_def.
31124
73139a76
UD
311252012-01-28 Ulrich Drepper <drepper@gmail.com>
31126
96bc5b45
UD
31127 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
31128 Avoid unnecessary __WORDSIZE == 64 test.
31129 (fmaxf): Use VEX format if possible.
31130 (fmax): Likewise.
31131 (fminf): Likewise.
31132 (fmin): Likewise.
31133
56f6f6a2
UD
31134 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
31135 * math/math_private.h: Remove libc_fegetround* and
31136 libc_fesetround*.
31137 * sysdeps/i386/configure.in: Check for -msse2avx.
31138 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
31139 also if SSE2AVX is defined.
31140 Remove libc_fegetround* and libc_fesetround*.
31141 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
31142 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
31143 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
31144 of HAS_YMM_USABLE.
31145 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31146 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31147 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31148 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31149 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31150
73139a76
UD
31151 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
31152
d73f93a4
AZ
311532012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31154
31155 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
31156 size is not set.
31157 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
31158
6ee65ed6
UD
311592012-01-27 Ulrich Drepper <drepper@gmail.com>
31160
31161 [BZ #13618]
31162 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
31163 relocation.
31164 * Makeconfig (libm): Define.
31165 * elf/Makefile: Add rules to build and run tst-relsort1.
31166 * elf/tst-relsort1.c: New file.
31167 * elf/tst-relsort1mod1.c: New file.
31168 * elf/tst-relsort1mod2.c: New file.
31169
8db21882
JM
311702012-01-27 Joseph Myers <joseph@codesourcery.com>
31171
31172 * math/s_ldexp.c: Remove __STDC__ conditionals.
31173 * math/s_ldexpf.c: Likewise.
31174 * math/s_ldexpl.c: Likewise.
31175 * math/s_nextafter.c: Likewise.
31176 * math/s_nexttowardf.c: Likewise.
31177 * math/s_significand.c: Likewise.
31178 * math/s_significandf.c: Likewise.
31179 * math/s_significandl.c: Likewise.
31180 * math/w_jnl.c: Likewise.
31181 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
31182 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
31183 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
31184 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
31185 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
31186 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
31187 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
31188 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
31189 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
31190 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
31191 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
31192 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31193 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
31194 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
31195 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
31196 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
31197 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
31198 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
31199 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
31200 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
31201 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
31202 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
31203 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
31204 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31205 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
31206 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
31207 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
31208 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
31209 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
31210 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
31211 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
31212 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
31213 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
31214 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
31215 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
31216 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
31217 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
31218 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
31219 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
31220 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
31221 * sysdeps/ieee754/k_standard.c: Likewise.
31222 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
31223 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
31224 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
31225 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
31226 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
31227 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
31228 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
31229 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
31230 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
31231 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
31232 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
31233 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
31234 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
31235 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
31236 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
31237 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
31238 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
31239 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
31240 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
31241 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
31242 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
31243 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
31244 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
31245 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
31246 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
31247 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
31248 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
31249 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
31250 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
31251 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
31252 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
31253 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
31254 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
31255 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
31256 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
31257 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
31258 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
31259 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
31260 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
31261 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
31262 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
31263 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
31264 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
31265 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
31266 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
31267 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
31268 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
31269 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
31270 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
31271 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
31272 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
31273 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
31274 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
31275 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
31276 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
31277 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
31278 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
31279 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
31280 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
31281 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
31282 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
31283 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
31284 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
31285 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
31286 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
31287 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
31288 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
31289 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
31290 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
31291 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
31292 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
31293 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
31294 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
31295 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
31296 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
31297 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
31298 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
31299 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
31300 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
31301 * sysdeps/ieee754/s_matherr.c: Likewise.
31302 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
31303 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
31304 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
31305 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
31306
965a54a4
JM
313072012-01-26 Joseph Myers <joseph@codesourcery.com>
31308
31309 * crypt/md5.h: Remove __STDC__ conditionals.
31310 * libio/libioP.h: Likewise.
31311 * locale/programs/config.h: Likewise.
31312 * sysdeps/generic/sysdep.h: Likewise.
31313 * sysdeps/i386/asm-syntax.h: Likewise.
31314 * sysdeps/s390/asm-syntax.h: Likewise.
31315 * sysdeps/unix/sysdep.h: Likewise.
31316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
31317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31318
7071ad79
JM
313192012-01-26 Joseph Myers <joseph@codesourcery.com>
31320
31321 * libio/libio.h: Remove __STDC__ conditionals.
31322 * malloc/obstack.h: Likewise.
31323 * math/complex.h: Likewise.
31324 * math/math.h: Likewise.
31325 * sysdeps/generic/_G_config.h: Likewise.
31326 * sysdeps/gnu/_G_config.h: Likewise.
31327 * sysdeps/mach/hurd/_G_config.h: Likewise.
31328 * sysdeps/powerpc/bits/mathdef.h: Likewise.
31329 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
31330 * sysdeps/sparc/bits/mathdef.h: Likewise.
31331
afc5ed09
UD
313322012-01-26 Ulrich Drepper <drepper@gmail.com>
31333
31334 [BZ #13583]
31335 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 31336 Clean up HAS_* macros.
afc5ed09 31337 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
31338 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
31339 possible.
31340 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
31341 HAS_AVX.
31342 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31343 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31344 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31345 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31346 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 31347
bdb6de1d
JM
313482012-01-25 Joseph Myers <joseph@codesourcery.com>
31349
31350 * elf/tst-unique3.cc (gets): Remove declaration.
31351 * elf/tst-unique3lib.cc (gets): Likewise.
31352 * elf/tst-unique3lib2.cc (gets): Likewise.
31353 * elf/tst-unique4.cc (gets): Likewise.
31354
b15549e6
UD
313552012-01-24 Ulrich Drepper <drepper@gmail.com>
31356
31357 * include/stdio.h: Add C++ protection. Add gets declarations and
31358 definitions.
31359 * debug/tst-chk1.c: Don't declare gets here.
31360 * stdio-common/tst-gets.c: Likewise.
31361
a037381f
JM
313622012-01-24 Joseph Myers <joseph@codesourcery.com>
31363
31364 * posix/glob: Remove directory.
31365
f1d4aa75
JM
313662012-01-24 Joseph Myers <joseph@codesourcery.com>
31367
31368 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
31369
81c0c964
PT
313702012-01-22 Pino Toscano <toscano.pino@tiscali.it>
31371
31372 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
31373 of the non-standard EPFNOSUPPORT.
31374
0ea698ae
ST
313752011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
31376
31377 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
31378 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
31379 ANYWHERE set to 1 only on KERN_NO_SPACE error.
31380
d220b117
UD
313812012-01-21 Ulrich Drepper <drepper@gmail.com>
31382
31383 * wcsmbs/uchar.h: Test __STDC_VERSION__.
31384
3e1aa84e
UD
313852012-01-20 Ulrich Drepper <drepper@gmail.com>
31386
31387 * nscd/aicache.c (addhstaiX): Do not cache negative results of
31388 transient errors.
31389 * nscd/grpcache.c (cache_addgr): Likewise.
31390 * nscd/hstcache.c (cache_addhst): Likewise.
31391 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31392 * nscd/pwdcache.c (cache_addpw): Likewise.
31393 * nscd/servicescache.c (cache_addserv): Likewise.
31394
400aa020
UD
313952012-01-16 Ulrich Drepper <drepper@gmail.com>
31396
d77e7869
UD
31397 * malloc/malloc.c: Various cleanups.
31398 * malloc/hooks.c: Likewise.
31399
400aa020
UD
31400 * stdlib/Makefile (tests): Add bug-fmtmsg1.
31401 * stdlib/bug-fmtmsg1.c: New file.
31402
31403 * stdlib/fmtmsg.c (init): Add missing unlock.
31404 Patch by Peng Haitao <penght@cn.fujitsu.com>.
31405
e0a309cf
MP
314062012-01-12 Marek Polacek <polacek@redhat.com>
31407
31408 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
31409 and _GNU_SOURCE.
31410
929d11c7
WS
314112012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
31412
31413 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
31414 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
31415 macro to ensure uniqueness of label name.
31416 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
31417 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
31418
41d0e869
UD
314192012-01-11 Ulrich Drepper <drepper@gmail.com>
31420
0cc5ed3b
UD
31421 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
31422
41d0e869
UD
31423 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
31424 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
31425 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
31426 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
31427
a47a831a
UD
314282012-01-10 Ulrich Drepper <drepper@gmail.com>
31429
daa891c0
UD
31430 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
31431
31432 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
31433 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
31434 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
31435
e58ef0f2
UD
31436 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
31437
a47a831a 31438 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
31439 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
31440 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 31441 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
31442
31443 * math/bits/math-finite.h: Add ldexp support.
31444
a0bfc9c7
MP
314452012-01-10 Marek Polacek <polacek@redhat.com>
31446
31447 * locale/programs/localedef.h (show_archive_content): Add noreturn
31448 attribute.
31449
d6e97a1d
UD
314502012-01-09 Ulrich Drepper <drepper@gmail.com>
31451
31452 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
31453
d5835c26
UD
314542012-01-08 Ulrich Drepper <drepper@gmail.com>
31455
e5f484c6
UD
31456 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
31457
d5835c26
UD
31458 * io/Makefile (headers): Add bits/poll2.h.
31459
d1f741e9
WS
314602011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
31461
31462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
31463 typo #include statement.
31464
ec09c1c4
UD
314652012-01-08 Ulrich Drepper <drepper@gmail.com>
31466
31467 * include/sys/cdefs.h: Define __attribute_alloc_size.
31468 * catgets/gencat.c: Add alloc_size attribute and apply consistently
31469 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
31470 * elf/pldd.c: Likewise.
31471 * iconv/iconv_charmap.c: Likewise.
31472 * iconv/iconvconfig.c: Likewise.
31473 * iconv/strtab.c: Likewise.
31474 * locale/programs/locale.c: Likewise.
31475 * locale/programs/localedef.h: Likewise.
31476 * locale/programs/simple-hash.c: Likewise.
31477 * nscd/nscd.h: Likewise.
31478 * nss/makedb.c: Likewise.
31479 * sysdeps/generic/ldconfig.h: Likewise.
31480 * locale/programs/localedef.c: Remove xmalloc prototype.
31481 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
31482
20b38e03
PP
314832012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
31484
31485 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
31486 appropriate.
31487
a0da5fe1
UD
314882012-01-08 Ulrich Drepper <drepper@gmail.com>
31489
1d5a644a 31490 * math/Makefile (tests): Add tst-CMPLX.
669704fd 31491 * math/tst-CMPLX.c: New file.
1d5a644a 31492
8784a6db
UD
31493 * math/complex.h (CMPLXL): Fix typo.
31494
d9a216c0
UD
31495 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
31496 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
31497 GLIBC_2.16.
31498 * debug/tst-chk1.c: Add poll and ppoll tests.
31499 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
31500 * include/sys/poll.h: Add hidden proto for ppoll.
31501 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
31502 * sysdeps/mach/hurd/ppoll.c: Likewise.
31503 * io/ppoll.c: Likewise.
31504 * debug/poll_chk.c: New file.
31505 * debug/ppoll_chk.c: New file.
31506 * include/bits/poll2.h: New file.
31507 * io/bits/poll2.h: New file.
31508
ac097f5c
UD
31509 [BZ #1350]
31510 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
31511
2119dcfa
UD
31512 * configure.in: static is always set to yes. Remove.
31513 * config.make.in: Don't set build-static.
31514 * Makeconfig: Remove use of build-static.
31515 * dlfcn/Makefile: Likewise.
31516 * elf/Makefile: Likewise.
31517 * math/Makefile: Likewise.
31518 * misc/Makefile: Likewise.
31519 * nptl/Makefile: Likewise.
31520 * sysdeps/mach/hurd/Makefile: Likewise.
31521
121766a9
UD
31522 * configure.in: PWD_P is not used anymore.
31523 * config.make.in: Remove PWD_P entry.
31524
51a1d39c 31525 * configure.in: Remove last remnants of RANLIB.
8720d066 31526 No need to check for signed size_t anymore.
215f4bdc
UD
31527 Don't set libc_commonpagesize and libc_relro_required here for Alpha
31528 and IA-64.
3857022a 31529 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
31530 * aclocal.m4: Likewise.
31531
d3ed7225
UD
31532 * wcsmbs/mbrtoc16.c: Implement using towc function.
31533 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
31534 * wcsmbs/wcsmbsload.c: Likewise.
31535 * iconv/gconv_simple.c: Likewise.
31536 * iconv/gconv_int.h: Likewise.
31537 * iconv/gconv_builtin.h: Likewise.
31538 * iconv/iconv_prog.c: Remove CHAR16 handling.
31539
31540 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
31541
31542 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
31543
a0da5fe1
UD
31544 * configure.in: Remove --with-elf and --enable-bounded options.
31545 Dont set base_machine for ia64. More non-ELF conditions removed.
31546 Remove testing and setting of leading underscore information.
31547 * config.make.in (build-bounded): Set to no.
31548 * config.h.in: Remove NO_UNDERSCORES entry.
31549 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
31550 them.
31551 * csu/start.c: Remove !NO_UNDERSCORE code.
31552 * locale/localeinfo.h: Likewise.
31553 * sysdeps/generic/machine-gmon.h: Likewise.
31554 * sysdeps/generic/sysdep.h: Likewise.
31555 * sysdeps/i386/sysdep.h: Likewise.
31556 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31557 * sysdeps/mach/sysdep.h: Likewise.
31558 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31559 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31560 * sysdeps/sh/sysdep.h: Likewise.
31561 * sysdeps/sparc/sparc32/alloca.S: Likewise.
31562 * sysdeps/unix/i386/sysdep.S: Likewise.
31563 * sysdeps/unix/sparc/start.c: Likewise.
31564 * sysdeps/unix/sparc/sysdep.S: Likewise.
31565 * sysdeps/unix/sparc/sysdep.h: Likewise.
31566 * sysdeps/unix/start.c: Likewise.
31567 * sysdeps/unix/x86_64/sysdep.S: Likewise.
31568 * sysdeps/x86_64/sysdep.h: Likewise.
31569
df78418a
UD
315702012-01-07 Ulrich Drepper <drepper@gmail.com>
31571
a784e502
UD
31572 [BZ #13553]
31573 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
31574 for non-gcc.
31575 * argp/argp-fmtstream.h: Use const instead __const.
31576 * argp/argp.h: Likewise.
31577 * assert/assert.h: Likewise.
31578 * bits/fenv.h: Likewise.
31579 * bits/sched.h: Likewise.
31580 * bits/sigset.h: Likewise.
31581 * bits/sigthread.h: Likewise.
31582 * catgets/nl_types.h: Likewise.
31583 * conform/data/pthread.h-data: Likewise.
31584 * crypt/crypt-private.h: Likewise.
31585 * crypt/crypt.h: Likewise.
31586 * crypt/crypt_util.c: Likewise.
31587 * ctype/ctype.h: Likewise.
31588 * debug/execinfo.h: Likewise.
31589 * debug/mbsnrtowcs_chk.c: Likewise.
31590 * debug/mbsrtowcs_chk.c: Likewise.
31591 * debug/wcsnrtombs_chk.c: Likewise.
31592 * debug/wcsrtombs_chk.c: Likewise.
31593 * debug/wcstombs_chk.c: Likewise.
31594 * dirent/dirent.h: Likewise.
31595 * dlfcn/dlfcn.h: Likewise.
31596 * elf/neededtest4.c: Likewise.
31597 * grp/grp.h: Likewise.
31598 * gshadow/gshadow.h: Likewise.
31599 * iconv/gconv.h: Likewise.
31600 * iconv/gconv_int.h: Likewise.
31601 * iconv/gconv_simple.c: Likewise.
31602 * iconv/iconv.h: Likewise.
31603 * iconv/loop.c: Likewise.
31604 * iconv/skeleton.c: Likewise.
31605 * include/aio.h: Likewise.
31606 * include/aliases.h: Likewise.
31607 * include/argz.h: Likewise.
31608 * include/arpa/inet.h: Likewise.
31609 * include/assert.h: Likewise.
31610 * include/dirent.h: Likewise.
31611 * include/dlfcn.h: Likewise.
31612 * include/execinfo.h: Likewise.
31613 * include/fcntl.h: Likewise.
31614 * include/fenv.h: Likewise.
31615 * include/glob.h: Likewise.
31616 * include/grp.h: Likewise.
31617 * include/libintl.h: Likewise.
31618 * include/mntent.h: Likewise.
31619 * include/netdb.h: Likewise.
31620 * include/pwd.h: Likewise.
31621 * include/rpc/netdb.h: Likewise.
31622 * include/sched.h: Likewise.
31623 * include/search.h: Likewise.
31624 * include/shadow.h: Likewise.
31625 * include/signal.h: Likewise.
31626 * include/stdio.h: Likewise.
31627 * include/stdlib.h: Likewise.
31628 * include/string.h: Likewise.
31629 * include/sys/socket.h: Likewise.
31630 * include/sys/stat.h: Likewise.
31631 * include/sys/statfs.h: Likewise.
31632 * include/sys/statvfs.h: Likewise.
31633 * include/sys/syslog.h: Likewise.
31634 * include/sys/time.h: Likewise.
31635 * include/sys/uio.h: Likewise.
31636 * include/time.h: Likewise.
31637 * include/unistd.h: Likewise.
31638 * include/utmp.h: Likewise.
31639 * include/wchar.h: Likewise.
31640 * include/wctype.h: Likewise.
31641 * inet/aliases.h: Likewise.
31642 * inet/arpa/inet.h: Likewise.
31643 * inet/netinet/ether.h: Likewise.
31644 * inet/netinet/in.h: Likewise.
31645 * intl/libintl.h: Likewise.
31646 * io/bits/fcntl2.h: Likewise.
31647 * io/fcntl.h: Likewise.
31648 * io/ftw.h: Likewise.
31649 * io/sys/poll.h: Likewise.
31650 * io/sys/stat.h: Likewise.
31651 * io/sys/statfs.h: Likewise.
31652 * io/sys/statvfs.h: Likewise.
31653 * io/utime.h: Likewise.
31654 * libio/bits/stdio.h: Likewise.
31655 * libio/bits/stdio2.h: Likewise.
31656 * libio/libio.h: Likewise.
31657 * libio/libioP.h: Likewise.
31658 * libio/stdio.h: Likewise.
31659 * locale/lc-ctype.c: Likewise.
31660 * locale/locale.h: Likewise.
31661 * login/utmp.h: Likewise.
31662 * malloc/arena.c: Likewise.
31663 * malloc/malloc.c: Likewise.
31664 * malloc/malloc.h: Likewise.
31665 * malloc/mcheck.c: Likewise.
31666 * malloc/mtrace.c: Likewise.
31667 * math/bits/mathcalls.h: Likewise.
31668 * math/fenv.h: Likewise.
31669 * math/math_private.h: Likewise.
31670 * misc/bits/error.h: Likewise.
31671 * misc/bits/syslog.h: Likewise.
31672 * misc/err.h: Likewise.
31673 * misc/error.h: Likewise.
31674 * misc/fstab.h: Likewise.
31675 * misc/mntent.h: Likewise.
31676 * misc/regexp.h: Likewise.
31677 * misc/search.h: Likewise.
31678 * misc/sgtty.h: Likewise.
31679 * misc/sys/mman.h: Likewise.
31680 * misc/sys/syslog.h: Likewise.
31681 * misc/sys/uio.h: Likewise.
31682 * misc/sys/xattr.h: Likewise.
31683 * misc/ttyent.h: Likewise.
31684 * nis/rpcsvc/ypclnt.h: Likewise.
31685 * nss/nss.h: Likewise.
31686 * posix/bits/unistd.h: Likewise.
31687 * posix/fnmatch.h: Likewise.
31688 * posix/glob.h: Likewise.
31689 * posix/sched.h: Likewise.
31690 * posix/spawn.h: Likewise.
31691 * posix/sys/wait.h: Likewise.
31692 * posix/unistd.h: Likewise.
31693 * posix/wordexp.h: Likewise.
31694 * pwd/pwd.h: Likewise.
31695 * resolv/netdb.h: Likewise.
31696 * resource/sys/resource.h: Likewise.
31697 * rt/aio.h: Likewise.
31698 * rt/bits/mqueue2.h: Likewise.
31699 * rt/mqueue.h: Likewise.
31700 * shadow/shadow.h: Likewise.
31701 * signal/signal.h: Likewise.
31702 * socket/send.c: Likewise.
31703 * socket/sendto.c: Likewise.
31704 * socket/sys/socket.h: Likewise.
31705 * stdio-common/printf.h: Likewise.
31706 * stdlib/bits/stdlib.h: Likewise.
31707 * stdlib/fmtmsg.h: Likewise.
31708 * stdlib/monetary.h: Likewise.
31709 * stdlib/stdlib.h: Likewise.
31710 * stdlib/ucontext.h: Likewise.
31711 * streams/stropts.h: Likewise.
31712 * string/argz.h: Likewise.
31713 * string/bits/string2.h: Likewise.
31714 * string/string.h: Likewise.
31715 * string/strings.h: Likewise.
31716 * sunrpc/rpc/auth.h: Likewise.
31717 * sunrpc/rpc/auth_des.h: Likewise.
31718 * sunrpc/rpc/clnt.h: Likewise.
31719 * sunrpc/rpc/netdb.h: Likewise.
31720 * sunrpc/rpc/pmap_clnt.h: Likewise.
31721 * sunrpc/rpc/xdr.h: Likewise.
31722 * sysdeps/generic/inttypes.h: Likewise.
31723 * sysdeps/generic/net/if.h: Likewise.
31724 * sysdeps/generic/sys/swap.h: Likewise.
31725 * sysdeps/gnu/net/if.h: Likewise.
31726 * sysdeps/gnu/utmpx.h: Likewise.
31727 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
31728 * sysdeps/i386/i486/bits/string.h: Likewise.
31729 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
31730 * sysdeps/s390/bits/string.h: Likewise.
31731 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
31732 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
31733 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
31734 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
31735 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
31736 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
31737 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
31738 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
31739 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
31740 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
31741 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
31742 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
31743 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
31744 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
31745 * sysdeps/unix/sysv/linux/readv.c: Likewise.
31746 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
31747 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
31748 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31749 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
31750 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
31751 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31752 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
31753 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
31754 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
31755 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
31756 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
31757 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
31758 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31759 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
31760 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
31761 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
31762 * sysvipc/sys/ipc.h: Likewise.
31763 * sysvipc/sys/msg.h: Likewise.
31764 * sysvipc/sys/sem.h: Likewise.
31765 * sysvipc/sys/shm.h: Likewise.
31766 * termios/termios.h: Likewise.
31767 * time/sys/time.h: Likewise.
31768 * time/time.h: Likewise.
31769 * wcsmbs/bits/wchar2.h: Likewise.
31770 * wcsmbs/uchar.h: Likewise.
31771 * wcsmbs/wchar.h: Likewise.
31772 * wctype/wctype.h: Likewise.
31773
0269750c
UD
31774 [BZ #13551]
31775 * Makeconfig: Remove all but ELF support including AIX support.
31776 * Makerules: Likewise.
31777 * config.h.in: Likewise.
31778 * config.make.in: Likewise.
31779 * configure: Likewise.
31780 * configure.in: Likewise.
31781 * csu/Makefile: Likewise.
31782 * csu/version.c: Likewise.
31783 * debug/Makefile: Likewise.
31784 * dlfcn/Makefile: Likewise.
31785 * elf/Makefile: Likewise.
31786 * extra-lib.mk: Likewise.
31787 * iconv/Makefile: Likewise.
31788 * include/libc-symbols.h: Likewise.
31789 * include/shlib-compat.h: Likewise.
31790 * resolv/Makefile: Likewise.
31791 * resolv/res_libc.c: Likewise.
31792 * rt/Makefile: Likewise.
31793 * sysdeps/i386/asm-syntax.h: Likewise.
31794 * sysdeps/i386/sysdep.h: Likewise.
31795 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31796 * sysdeps/mach/sysdep.h: Likewise.
31797 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
31798 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
31799 * sysdeps/s390/asm-syntax.h: Likewise.
31800 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31801 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31802 * sysdeps/sh/sysdep.h: Likewise.
31803 * sysdeps/unix/sparc/sysdep.h: Likewise.
31804 * sysdeps/wordsize-32/divdi3.c: Likewise.
31805 * sysdeps/x86_64/sysdep.h: Likewise.
31806
00bbd29b
UD
31807 * argp/Versions: Remove _argp_unlock_xxx.
31808
31809 [BZ #13559]
31810 * abilist/ld.abilist: Update. Adjust for removal of tls option.
31811 * abilist/libBrokenLocale.abilist: Likewise.
31812 * abilist/libanl.abilist: Likewise.
31813 * abilist/libc.abilist: Likewise.
31814 * abilist/libcrypt.abilist: Likewise.
31815 * abilist/libdl.abilist: Likewise.
31816 * abilist/libm.abilist: Likewise.
31817 * abilist/libnsl.abilist: Likewise.
31818 * abilist/libpthread.abilist: Likewise.
31819 * abilist/libresolv.abilist: Likewise.
31820 * abilist/librt.abilist: Likewise.
31821 * abilist/libthread_db.abilist: Likewise.
31822 * abilist/libutil.abilist: Likewise.
31823 * abilist/libnss_db.abilist: New file.
31824
31825 * scripts/abilist.awk: Add support for indirect functions.
31826
a2693a0e
UD
31827 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
31828
3f05895f
UD
31829 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
31830
ecb6fb48
UD
31831 * shlib-versions: Remove entries for ports architectures.
31832
664f8cb9
UD
31833 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
31834 files in ports.
31835 * elf/stackguard-macros.h: Remove support for IA-64.
31836 * elf/tst-auditmod1.c: Likewise.
31837 * sysdeps/generic/ldsodefs.h: Likewise.
31838
7ae81d88
UD
31839 * sysdeps/unix/sysv/linux/configure.in: Ports should define
31840 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
31841 configure files.
31842
bdeba135
UD
31843 [BZ #13552]
31844 * configure.in: Remove --enable-omitfp support.
31845 * FAQ.in: Adjust.
31846 * config.make.in: Likewise.
31847 * Makeconfig: Likewise.
31848 * manual/install.texi: Likewise.
31849
d75a0a62
UD
31850 In case anyone cares, the IA-64 architecture could move to ports.
31851 * sysdeps/ia64/*: Removed.
31852 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 31853 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 31854
dcc9756b
UD
31855 [BZ #13555]
31856 * configure.in: Remove entries for unsupported architectures.
31857
d3761ebc 31858 [BZ #13533]
9954432e
UD
31859 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
31860 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
31861 routines.
31862 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
31863 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
31864 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
31865 fall back to using wcrtomb.
31866 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
31867 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
31868 renaming.
31869 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
31870 * wcsmbs/tst-c16c32-1.c: New file.
31871
31872 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
31873 local variable.
31874
c3a87236
UD
31875 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
31876
28926a1b
UD
31877 * elf/tst-unique3.cc: Add explicit declaration of gets.
31878 * elf/tst-unique3lib.cc: Likewise.
31879 * elf/tst-unique3lib2.cc: Likewise.
31880 * elf/tst-unique4.cc: Likewise.
31881
df78418a
UD
31882 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
31883
8ecd6b2a
JM
318842012-01-06 Joseph Myers <joseph@codesourcery.com>
31885
31886 [BZ #13566]
31887 * assert/assert.h (static_assert): Don't define for C++.
31888 * libio/stdio.h (gets): Do declare for C++ <= C++11.
31889 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
31890
9f115170
UD
318912012-01-03 Ulrich Drepper <drepper@gmail.com>
31892
5e0d0300
UD
31893 * iconv/loop.c (single loop): Fix assertion in storing of
31894 remaining bytes.
31895
9f115170
UD
31896 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
31897
81fb02b0
UD
318982012-01-01 Ulrich Drepper <drepper@gmail.com>
31899
31900 * posix/getconf.c: Update copyright year.
31901 * nss/getent.c: Likewise.
a316c1f6 31902 * nss/makedb.c: Likewise.
81fb02b0
UD
31903 * iconv/iconvconfig.c: Likewise.
31904 * iconv/iconv_prog.c: Likewise.
31905 * elf/ldconfig.c: Likewise.
a316c1f6
UD
31906 * elf/pldd.c: Likewise.
31907 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
31908 * catgets/gencat.c: Likewise.
31909 * csu/version.c: Likewise.
31910 * elf/ldd.bash.in: Likewise.
31911 * elf/sprof.c (print_version): Likewise.
31912 * locale/programs/locale.c: Likewise.
31913 * locale/programs/localedef.c: Likewise.
a316c1f6 31914 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
31915 * nscd/nscd.c (print_version): Likewise.
31916 * debug/xtrace.sh: Likewise.
31917 * malloc/memusage.sh: Likewise.
31918 * malloc/mtrace.pl: Likewise.
31919 * debug/catchsegv.sh: Likewise.
31920
2ba92745
JJ
319212011-12-30 Jakub Jelinek <jakub@redhat.com>
31922
31923 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
31924 pure attribute.
31925
dadebdae
UD
319262011-12-24 Ulrich Drepper <drepper@gmail.com>
31927
d3761ebc 31928 [BZ #13533]
db6af3eb
UD
31929 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
31930 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
31931 transformations.
31932 * iconv/gconv_int.h: Likewise.
31933 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
31934 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
31935 from libc for GLIBC_2.16.
31936 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
31937 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
31938 * wcsmbs/uchar.h: Really define mbstate_t.
31939 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
31940 * wcsmbs/c16rtomb.c: New file.
31941 * wcsmbs/mbrtoc16.c: New file.
31942 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
31943 for C/POSIX locale.
31944 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
31945 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
31946
dadebdae
UD
31947 * wcsmbs/wchar.h: Add missing __restrict.
31948
67371b56
UD
319492011-12-23 Ulrich Drepper <drepper@gmail.com>
31950
74033a25
UD
31951 [BZ #13532]
31952 * time/Makefile (routines): Add timespec_get.
31953 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
31954 * time/time.h: Define TIME_UTC and declare timespec_get. Define
31955 timespec for ISO C11.
31956 * time/timespec_get.c: New file.
31957 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
31958 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
31959
380d7e87
UD
31960 [BZ #13531]
31961 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
31962 * stdlib/stdlib.h: Declare aligned_alloc.
31963 * Versions.def: Add GLIBC_2.16 for libc.
31964 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
31965
4e9e7a35
UD
31966 [BZ 13527]
31967 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
31968 ISO C11.
31969
380d7e87 31970 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
31971 code.
31972
03a71829
UD
31973 [BZ #13528]
31974 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
31975
839e283e
UD
31976 [BZ #13529]
31977 * assert/assert.h (static_assert): Define.
31978
ce5294e2 31979 * version.h: Update for 2.16 development version.
90fa7312 31980
8d44e150 31981 [BZ #13526]
d7809905
UD
31982 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
31983 _ISOC11_SOURCE.
31984
c0da14cd
UD
31985 * version.h (RELEASE): Bump for 2.15 release.
31986 * include/features.h (__GLIBC_MINOR__): Bump to 15.
31987
530a3249
MP
31988 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
31989 Patch by Marek Polacek <mpolacek@redhat.com>.
31990
67371b56
UD
31991 * bits/byteswap.h: Protect long long constants with __extension__.
31992 * sysdeps/i386/bits/byteswap.h: Likewise.
31993 * sysdeps/ia64/bits/byteswap.h: Likewise.
31994 * sysdeps/s390/bits/byteswap.h: Likewise.
31995 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31996
15db4de1
LD
319972011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31998
31999 [BZ #13540]
bbe315ea
LD
32000 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
32001 destination buffer.
15db4de1
LD
32002 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
32003
2b2596b1
MP
320042011-12-23 Marek Polacek <polacek@redhat.com>
32005
32006 * elf/dl-addr.c (determine_info): Add inline keyword.
32007 * elf/tst-auditmod4b.c (check_avx): Likewise.
32008 * elf/tst-auditmod6b.c (check_avx): Likewise.
32009 * elf/tst-auditmod6c.c (check_avx): Likewise.
32010 * elf/tst-auditmod7b.c (check_avx): Likewise.
32011
70c6c246
UD
320122011-12-23 Ulrich Drepper <drepper@gmail.com>
32013
32014 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
32015 !__SSE_MATH__.
32016
c044cf14
LD
320172011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32018
15db4de1 32019 [BZ #13540]
c044cf14
LD
32020 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
32021 processing for last bytes.
32022
6b13d9d9
BH
320232011-08-06 Bruno Haible <bruno@clisp.org>
32024
d455f537
BH
32025 [BZ #13061]
32026 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
32027 U+0385, not to U+1FEE.
32028
6b13d9d9
BH
32029 [BZ #13062]
32030 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
32031 entry for U+00A5 U+0301.
32032
db910efd
UD
320332011-12-22 Ulrich Drepper <drepper@gmail.com>
32034
27deeafc
UD
32035 [BZ #13166]
32036 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
32037 buffer for the output is too small.
32038
aed9d171
UD
32039 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
32040 optimization.
32041
db910efd
UD
32042 [BZ #13185]
32043 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
32044 SSE flags if possible.
32045
2bd779ae
LD
320462011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32047
e7f9dac3 32048 [BZ #13540]
2bd779ae
LD
32049 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
32050 processing for last bytes.
32051
154bfc16
JM
320522011-12-22 Joseph Myers <joseph@codesourcery.com>
32053
32054 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
32055 (syscall-list-default-options, syscall-list-default-condition)
32056 (syscall-list-includes): Define.
32057 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
32058 list of ABIs and options and #if conditions for each ABI. Do not
32059 handle common syscalls between ABIs specially.
32060 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
32061 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/s390/Makefile (64bit-predefine): Remove.
32066 (syscall-list-variants, syscall-list-32bit-options)
32067 (syscall-list-32bit-condition, syscall-list-64bit-options)
32068 (syscall-list-64bit-condition): Define.
32069 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
32070 Remove.
32071 (syscall-list-variants, syscall-list-32bit-options)
32072 (syscall-list-32bit-condition, syscall-list-64bit-options)
32073 (syscall-list-64bit-condition): Define.
32074 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
32075 Remove.
32076 (syscall-list-variants, syscall-list-32bit-options)
32077 (syscall-list-32bit-condition, syscall-list-64bit-options)
32078 (syscall-list-64bit-condition): Define.
32079
21eaf3a5
UD
320802011-12-22 Ulrich Drepper <drepper@gmail.com>
32081
16c6f992
UD
32082 * locale/iso-639.def: Add brx entry.
32083
41043168
UD
32084 [BZ #13328]
32085 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
32086 Proposed by Mariusz_Cukr <marcukr@op.pl>.
32087
21eaf3a5
UD
32088 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
32089 __feraiseexcept_renamed.
32090
e3a851a2
UD
320912011-12-21 Ulrich Drepper <drepper@gmail.com>
32092
4920765e
UD
32093 [BZ #13538]
32094 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
32095 EPOLLET with unsigned values.
32096 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
32097 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
32098
e3a851a2
UD
32099 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
32100 to large cancellation.
32101 * math/s_cacoshf.c: Likewise.
32102 * math/s_cacoshl.c: Likewise.
32103
b27e24b8
RK
321042011-11-18 Richard B. Kreckel <kreckel@ginac.de>
32105
32106 [BZ #13305]
aebefeee 32107 [BZ #12786]
b27e24b8
RK
32108 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
32109 * math/s_cacoshf.c: Likewise.
32110 * math/s_cacoshl.c: Likewise.
32111
ee190f67
UD
321122011-12-21 Ulrich Drepper <drepper@gmail.com>
32113
32114 [BZ #13439]
32115 * iconv/gconv.h: Define __GCONV_SWAP.
32116 * iconvdata/unicode.c: The swap bit must be stored in __flags.
32117 * iconvdata/utf-16.c: Likewise.
32118 * iconvdata/utf-32.c: Likewise.
32119
707f25df
AS
321202011-12-21 Andreas Schwab <schwab@linux-m68k.org>
32121
32122 [BZ #13524]
32123 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
32124 numerator after shifting it by one limb.
32125
d2daaa1e
RÁE
321262011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
32127
32128 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
32129 under [__USE_EXTERN_INLINES].
32130
a4647e72
UD
321312011-12-17 Ulrich Drepper <drepper@gmail.com>
32132
32133 [BZ #13446]
32134 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
32135
f0b264f1
AZ
321362011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32137
32138 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
32139 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
32140 optimized code.
32141 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
32142 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
32143 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
32144 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
32145 for strncasecmp/strncasecmp_l compilation.
32146 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
32147 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
32148
8ef4f244
MP
321492011-12-08 Marek Polacek <mpolacek@redhat.com>
32150
32151 [BZ #13484]
32152 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
32153 of __asm__.
32154
97ac2654
UD
321552011-12-17 Ulrich Drepper <drepper@gmail.com>
32156
32157 [BZ #13506]
32158 * time/tzfile.c (__tzfile_read): Check values from file header.
32159
91d2a845
WS
321602011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
32161
32162 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
32163 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
32164 * powerpc/powerpc32/dl-start.S: Likewise.
32165 * powerpc/powerpc32/elf/start.S: Likewise.
32166 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
32167 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
32168 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
32169 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
32170 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
32171 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
32172 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
32173 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
32174 * powerpc/powerpc32/fpu/s_round.S: Likewise.
32175 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
32176 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
32177 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
32178 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
32179 * powerpc/powerpc32/memset.S: Likewise.
32180 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
32181 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
32182 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
32183 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
32184 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
32185 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
32186 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
32187 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
32188 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
32189 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
32190 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
32191 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
32192 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
32193
a1267ba1
AZ
321942011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32195
32196 * math/libm-test.inc: Added more nearbyint tests.
32197 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
32198 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
32199 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
32200 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
32201
ad8ac1bd
RL
322022011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
32203
32204 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
32205 FD_CLOEXEC.
32206
1d3e4b61
UD
322072011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32208
32209 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
32210 Add wcscpy-ssse3 wcscpy-c.
32211 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
32212 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
32213 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
32214 * sysdeps/x86_64/wcschr.S: New file.
32215 * sysdeps/x86_64/wcsrchr.S: New file.
32216 * string/test-strcmp.c: Remove checking of wcscmp function for
32217 wrong alignments.
32218 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
32219 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
32220 wcsrchr-sse2 wcsrchr-c.
32221 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
32222 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
32223 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
32224 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
32225 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
32226 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
32227 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
32228 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
32229 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
32230 * wcsmbc/wcschr.c (WCSCHR): New macro.
32231
5b330a2d
UD
322322011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32233
32234 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
32235 * wcsmbs/test-wcsrchr.c: New file.
32236 * string/test-strrchr.c: Add wcsrchr support.
32237 (WIDE): New macro.
32238 * wcsmbs/test-wcscpy.c: New file.
32239 * string/test-strcpy.c: Add wcscpy support.
32240 (WIDE): New macro.
26428b7c 32241
f039c043
UD
322422011-12-10 Ulrich Drepper <drepper@gmail.com>
32243
32244 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
32245 the inner loop.
32246
850fb039
AS
322472011-12-06 Andreas Schwab <schwab@linux-m68k.org>
32248
32249 [BZ #13472]
32250 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
32251
4efbd5cb
UD
322522011-12-04 Ulrich Drepper <drepper@gmail.com>
32253
52ff5dd0 32254 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 32255 Minor optimizations.
52ff5dd0 32256
4efbd5cb
UD
32257 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
32258 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
32259 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
32260
8a426e12
UD
322612011-12-03 Ulrich Drepper <drepper@gmail.com>
32262
aff2453d
UD
32263 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
32264 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
32265 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
32266 for gcc to avoid warnings.
32267 * inet/Makefile (tests): Add tst-checks.
32268 * inet/tst-checks.c: New file.
32269
32270 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
32271 warning.
32272
32273 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
32274 __wmemcmp_sse2.
32275
32276 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
32277 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
32278
8a426e12
UD
32279 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
32280
9bea3473
UD
322812011-12-02 Ulrich Drepper <drepper@gmail.com>
32282
3a965496
UD
32283 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
32284 problem.
32285
9bea3473
UD
32286 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
32287
f101631b
UD
322882011-11-29 Joseph Myers <joseph@codesourcery.com>
32289
32290 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
32291 conditional on GCC version.
32292 (__arch_compare_and_exchange_val_8_acq)
32293 (__arch_compare_and_exchange_val_16_acq)
32294 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
32295 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
32296 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
32297
a98275aa
UD
322982011-12-02 Joseph Myers <joseph@codesourcery.com>
32299
32300 * sysdeps/sh/backtrace.c: New file.
32301
d4cc29a2
AS
323022011-12-02 Andreas Schwab <schwab@redhat.com>
32303
32304 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
32305 parenthesis.
32306
6257af2d
AS
323072011-12-01 Andreas Schwab <schwab@redhat.com>
32308
32309 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
32310 falling back to utime.
32311
b5f44c1a
AS
323122011-11-30 Andreas Schwab <schwab@redhat.com>
32313
32314 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
32315 expectations for float.
32316
f3a6cc0a
AS
323172011-11-29 Andreas Schwab <schwab@redhat.com>
32318
32319 * locale/weight.h (findidx): Add parameter len.
32320 * locale/weightwc.h (findidx): Likewise.
32321 * posix/fnmatch_loop.c (FCT): Adjust caller.
32322 * posix/regcomp.c (build_equiv_class): Likewise.
32323 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
32324 * posix/regexec.c (check_node_accept_bytes): Likewise.
32325 * string/strcoll_l.c (STRCOLL): Likewise.
32326 * string/strxfrm_l.c (STRXFRM): Likewise.
32327
9d65ea3a
UD
323282011-11-17 Ulrich Drepper <drepper@gmail.com>
32329
32330 * Makefile.in: Remove CVSOPT handling.
32331 * configure.in: Remove use of AC_REVISION.
32332 * iconvdata/Makefile (distribute): No need to filter out CVS.
32333 * scripts/list-sources.sh: Remove CVS, subversion and monotone
32334 handling.
32335
5583a086
AS
323362011-11-16 Andreas Schwab <schwab@redhat.com>
32337
32338 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
32339 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
32340 [USE_AS_STRNCASECMP_L]: Likewise.
32341 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
32342 NO_TLS_DIRECT_SEG_REFS.
32343 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
32344 Fix argument offsets for non-PIC.
32345 [USE_AS_STRNCASECMP_L]: Likewise.
32346 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
32347 NO_TLS_DIRECT_SEG_REFS.
32348
d62a8200
UD
323492011-11-15 Ulrich Drepper <drepper@gmail.com>
32350
9d65ea3a 32351 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
32352 O_CLOEXEC.
32353 * locale/loadlocale.c (_nl_load_locale): Likewise.
32354
09f93bd3
AS
323552011-11-15 Andreas Schwab <schwab@redhat.com>
32356
446514f9
AS
32357 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
32358 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
32359 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
32360 (SYSCALL_GETTIME): Set errno on error.
32361
09f93bd3
AS
32362 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
32363 count references to noai6ai_cached.
32364
312be3f9
UD
323652011-11-15 Ulrich Drepper <drepper@gmail.com>
32366
32367 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
32368
32369 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
32370 FD_CLOEXEC for /proc/self/maps.
32371
32372 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
32373 FD_CLOEXEC for /proc/meminfo.
32374
32375 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
32376 gai.conf.
32377
32378 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
32379 FD_CLOEXEC for given file.
32380
32381 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
32382
32383 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
32384 FD_CLOEXEC for /etc/hosts.
32385 (_gethtent): Likewise.
32386
32387 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
32388
32389 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
32390 cancellation and set FD_CLOEXEC for /etc/netgroup.
32391
32392 * nss/nss_files/files-key.c (search): Don't allow cancellation when
32393 reading /etc/publickey.
32394
32395 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
32396 allow cancellation when reading /etc/group.
32397
32398 * nss/nss_files/files-alias.c (internal_setent): Don't allow
32399 cancellation.
32400 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
32401
32402 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
32403 when using data file.
32404
32405 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
32406
32407 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
32408 (write_nis_obj): Use "c" and "e" in fopen.
32409
32410 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
32411
32412 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
32413
32414 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
32415
32416 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
32417
32418 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
32419 locale.alias.
32420
32421 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
32422
32423 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
32424
32425 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
32426
32427 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
32428 file parsing and set FD_CLOEXEC.
32429
82af0fa8
UD
324302011-11-14 Ulrich Drepper <drepper@gmail.com>
32431
32432 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
32433
a5fb313c
AS
324342011-11-14 Andreas Schwab <schwab@redhat.com>
32435
32436 * malloc/arena.c (arena_get2): Don't call reused_arena when
32437 _int_new_arena failed.
32438
6abf3465
UD
324392011-11-14 Ulrich Drepper <drepper@gmail.com>
32440
32441 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
32442 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
32443 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
32444 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32445 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32446 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
32447 to compile strcasecmp and strncasecmp.
32448 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
32449 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
32450
32451 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
32452
76e3966e
UD
324532011-11-13 Ulrich Drepper <drepper@gmail.com>
32454
32455 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
32456 locale-defines.sym to gen-as-const-headers.
32457 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
32458 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
32459 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
32460 to compile strcasecmp and strncasecmp.
32461 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
32462 strcasecmp_l and strncasecmp_l.
32463 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
32464 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
32465 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
32466 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
32467 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
32468 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
32469 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
32470 * sysdeps/i386/i686/multiarch/strncase.S: New file.
32471 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
32472 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
32473 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
32474
ab26144e
UD
324752011-11-12 Ulrich Drepper <drepper@gmail.com>
32476
7edb22ef
UD
32477 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
32478 result of SYSDEP_GETTIME_CPU to retval.
32479 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
32480 parameter list to macro. Remove trailing semicolon. Adjust users.
32481
9694fc44
UD
32482 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
32483 variable.
32484
8ad89ef8
UD
32485 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
32486 mantissa words.
32487 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
32488
0c822ef9
UD
32489 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
32490 from unused variable.
32491
874e0564
UD
32492 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
32493 DWARF definitions.
32494 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
32495 for assembling.
32496
3a2edc79
UD
32497 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
32498 over namespaces.
32499
f3c2577f
UD
32500 * sunrpc/rpc_prot.c (rejected): Fix case value.
32501
294ce126
UD
32502 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
32503 unsigned long long int to avoid warnings in shift.
32504
5e2b63c6
UD
32505 * posix/regex_internal.c (re_string_reconstruct): Actually use result
32506 of use of trans.
32507 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
32508 variable tmp.
32509
e7f4b08e
UD
32510 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
32511 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
32512 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
32513
ab26144e
UD
32514 * nis/nis_table.c (nis_list): Use variable of correct type for
32515 result of __follow_path call.
32516
8a6d5255
AZ
325172011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32518
32519 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
32520 of math functions ceil, trunc, floor, round, and sqrt, when
32521 avaliable on the platform.
32522 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
32523 name clash.
32524 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32525 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
32526 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
32527
aaddc98c
MP
325282011-10-30 Marek Polacek <mpolacek@redhat.com>
32529
32530 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
32531 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
32532
95b7042b
RM
325332011-11-11 Roland McGrath <roland@hack.frob.com>
32534
32535 * include/unistd.h: Fix __readlink return type.
32536 Reported by Chris Metcalf <cmetcalf@tilera.com>.
32537
57769839
UD
325382011-11-11 Ulrich Drepper <drepper@gmail.com>
32539
32540 * stdlib/ucontext.h: Undo last change for makecontext.
32541
edc5984d
AS
325422011-11-11 Andreas Schwab <schwab@redhat.com>
32543
98591e58
AS
32544 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
32545
edc5984d
AS
32546 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
32547 * setjmp/setjmp.h: Mark functions as non-leaf.
32548 * setjmp/bits/setjmp2.h: Likewise.
32549 * stdlib/ucontext.h: Likewise.
32550
77cdc054
AS
325512011-11-10 Andreas Schwab <schwab@redhat.com>
32552
32553 * malloc/arena.c (_int_new_arena): Don't increment narenas.
32554 (reused_arena): Don't check arena limit.
32555 (arena_get2): Atomically check arena limit.
32556
fe72eebd
UD
325572011-11-08 Ulrich Drepper <drepper@gmail.com>
32558
5f078c32
UD
32559 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
32560 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
32561
fe72eebd
UD
32562 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
32563 instructions.
32564
ae1bc2fa
AS
325652011-11-07 Andreas Schwab <schwab@redhat.com>
32566
7583a88d
AS
32567 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
32568 handler when locking.
32569
ae1bc2fa
AS
32570 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
32571 Fix size of allocated buffer.
32572
10fb0bfa
AS
325732011-11-04 Andreas Schwab <schwab@redhat.com>
32574
998832a4
AS
32575 [BZ #10103]
32576 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
32577 declarations for long double functions.
32578 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
32579
10fb0bfa
AS
32580 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
32581
3d7ba52b
AS
325822011-11-03 Andreas Schwab <schwab@redhat.com>
32583
a9ae54a1
AS
32584 * nscd/nscd.c (main): Don't start AVC thread until credentials are
32585 installed.
32586
3d7ba52b
AS
32587 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
32588 is disabled.
32589
bc8db248
ST
325902011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
32591
32592 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
32593
45b96dd6
AS
325942011-11-01 Andreas Schwab <schwab@linux-m68k.org>
32595
647776f6
AS
32596 * include/alloca.h (stackinfo_alloca_round): Define.
32597 (extend_alloca): Use it.
32598 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
32599 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
32600 here.
32601
d91a8b93
AS
32602 * scripts/check-local-headers.sh: Ignore libaudit.h.
32603
45b96dd6
AS
32604 * nscd/Makefile (extra-objs): Make recursively expanded.
32605
432d41ce
UD
326062011-11-01 Ulrich Drepper <drepper@gmail.com>
32607
34372fc6
UD
32608 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
32609 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
32610
fadb59f8
UD
32611 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
32612 * posix/tst-rfc3484-2.c: Likewise.
32613 * posix/tst-rfc3484-3.c: Likewise.
32614
78239589
UD
32615 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
32616 process_vm_writev.
32617 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
32618 process_vm_writev.
32619 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
32620 process_vm_writev from libc using GLIBC_2.15 version.
32621
432d41ce
UD
32622 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
32623
02f9c6cf
PP
326242011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
32625
32626 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
32627 stack usage.
32628
3a2c0242
UD
326292011-10-31 Ulrich Drepper <drepper@gmail.com>
32630
f4ec4833
UD
32631 [BZ #13367]
32632 * nss/getent.c (initgroups_keys): Show error message in case no group
32633 names are given.
32634
3a2c0242
UD
32635 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
32636 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
32637 __bump_nl_timestamp.
32638 * nscd/connections (nscd_init): When host database is served open
32639 netlink socket and request notification about configuration changes.
32640 (main_loop_poll): Track netlink file descriptor and bump timestamp
32641 in case data becomes available.
32642 (main_loop_epoll): Likewise.
32643 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
32644 (database_pers_head): Add extra_data fileds.
32645 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
32646 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
32647 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
32648 Adjust caller.
32649 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
32650 in6ai data, call __free_in6ai.
32651 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
32652 Add -DHAVE_NETLINK.
32653 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
32654 interface information. Reuse previous data if netlink timestamp
32655 is not changed.
32656 (__bump_nl_timestamp): New function.
32657 (__free_in6ai): New function.
32658
636064eb
UD
326592011-10-30 Ulrich Drepper <drepper@gmail.com>
32660
32661 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
32662 close_not_cancel_no_status here.
32663 (__check_pf): Reorganize code a bit to not call close twice if OOM.
32664
9beb2334
UD
326652011-10-29 Ulrich Drepper <drepper@gmail.com>
32666
6ef76f3b
UD
32667 [BZ #13276]
32668 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
32669 return value.
32670
0ffc4f3e 32671 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
32672 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
32673 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
32674
cb95113e
UD
326752011-07-03 Andreas Jaeger <aj@suse.de>
32676
32677 [BZ #10709]
32678 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
32679 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
32680 * math/libm-test.inc (sin_test): Add test case.
32681
a1b560ff
UD
326822011-10-29 Ulrich Drepper <drepper@gmail.com>
32683
c9aaface
UD
32684 [BZ #13337]
32685 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
32686 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32687
d272e7f1
UD
32688 * elf/chroot_canon.c (chroot_canon): Cleanups.
32689
1bc33071
UD
32690 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
32691
1760874d
TJ
32692 [BZ #13335]
32693 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
32694 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32695
51d91b18
UD
32696 * string/test-strchr.c: Make usable for strchrnul testing.
32697 * string/test-strchrnul.c: New file.
32698 * string/Makefile (strop-tests): Add strchrnul.
32699
a1b560ff 32700 * po/it.po: Update from translation team.
b611fb81 32701 * po/es.po: Likewise.
a1b560ff 32702
a5b81e1f
UD
327032011-10-28 Ulrich Drepper <drepper@gmail.com>
32704
fd52bc6d
UD
32705 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
32706 the three constants needed as parameters. Drop the others.
32707 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
32708 __m128i_strloadu_tolower.
52e4b9eb
UD
32709 Create and initialize variable zero and use it in all the places
32710 where _mm_setzero_si128 was used.
fd52bc6d 32711
a5b81e1f
UD
32712 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
32713 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
32714 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
32715 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
32716 anymore.
32717 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
32718 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
32719 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
32720 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
32721 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
32722 __mpranred, __mptan.
32723 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
32724 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
32725 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
32726 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
32727 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
32728 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
32729 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
32730 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
32731 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
32732
b4343346
AS
327332011-10-28 Andreas Schwab <schwab@redhat.com>
32734
0c92d8a8
AS
32735 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
32736 redefine if SHARED.
32737 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
32738
b4343346
AS
32739 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
32740 wide char related routines to wcsmbs subdir.
32741
3871f58f
AS
327422011-10-27 Andreas Schwab <schwab@redhat.com>
32743
32744 [BZ #13344]
32745 * misc/sys/cdefs.h (__THROWNL): Define.
32746 * posix/unistd.h: Use __THREADNL instead of __THREAD
32747 for memory synchronization functions.
32748
94d44d9f
RM
327492011-10-26 Roland McGrath <roland@hack.frob.com>
32750
21b64b15 32751 [BZ #13349]
94d44d9f
RM
32752 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
32753 doesn't exist.
32754 * manual/stdio.texi (Obstack Streams): Node removed.
32755
f6ce9294
AS
327562011-10-26 Andreas Schwab <schwab@redhat.com>
32757
80479147
AS
32758 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
32759 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32760 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32761
f6ce9294
AS
32762 * math/math_private.h (math_force_eval): Allow non-addressable
32763 arguments.
32764 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
32765
618280a1
UD
327662011-10-25 Ulrich Drepper <drepper@gmail.com>
32767
e0016b11
UD
32768 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
32769 file is not needed.
32770
32771 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
32772 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
32773 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32774 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32775 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32776 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32777 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32778 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
32779 Add AVX variants.
32780 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
32781 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
32782 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
32783 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
32784 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
32785 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
32786 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
32787 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
32788 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
32789 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
32790 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
32791 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
32792 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
32793 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
32794 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
32795 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
32796 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
32797 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
32798 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
32799
32800 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
32801 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
32802
618280a1
UD
32803 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
32804 place. Use VEX encoding when compiling for AVX.
32805
37822576
AS
328062011-10-25 Andreas Schwab <schwab@redhat.com>
32807
1f1e1947
AS
32808 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
32809 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
32810
37822576
AS
32811 * string/test-strchr.c (do_test): Don't generate NUL bytes.
32812
31ea014d
UD
328132011-10-25 Ulrich Drepper <drepper@gmail.com>
32814
d7826aa1 32815 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 32816 useless if() expression.
d7826aa1
UD
32817 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32818 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
32819 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32820 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32821 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32822 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32823 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32824 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32825 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32826 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32827 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32828 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32829 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
32830 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32831 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
32832 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32833 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32834 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32835 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
32836
31ea014d
UD
32837 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
32838
16437fec
AS
328392011-10-25 Andreas Schwab <schwab@redhat.com>
32840
32841 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
32842 condition.
32843 * elf/dl-fini.c (_dl_sort_fini): Likewise.
32844
31d3cc00
UD
328452011-10-25 Ulrich Drepper <drepper@gmail.com>
32846
32847 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
32848 .text section. Avoid duplicate constants.
32849 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32850 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32851 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32852 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32853 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32854 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32855 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32856 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32857 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32858 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
32859 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32860 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32861 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
32862 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
32863 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
32864 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
32865 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
32866 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32867 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32868 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32869 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32870 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32871 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32872 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
32873 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
32874 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
32875 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
32876 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
32877 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
32878 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
32879 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
32880 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
32881 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32882 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
32883 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
32884 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
32885 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
32886 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
32887 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
32888 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
32889 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
32890 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
32891 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
32892 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
32893 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
32894
58985aa9
UD
328952011-10-24 Ulrich Drepper <drepper@gmail.com>
32896
202c9deb
UD
32897 * sysdeps/x86_64/dla.h: Move to ...
32898 * sysdeps/x86_64/fpu/dla.h: ...here.
32899 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
32900 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 32901
af968f62
UD
32902 * config.make.in: Add have-mfma4 entry.
32903 * configure.in: Substitute libc_cv_cc_fma4.
32904 * math/Makefile (dbl-only-routines): Add sincostab.
32905 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
32906 Use __sincostab not sincos.
32907 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
32908 name is a macro.
32909 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32910 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32911 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32912 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
32913 using __copysign.
32914 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
32915 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
32916 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
32917 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
32918 and __inv.
32919 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
32920 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
32921 __copysign.
32922 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
32923 define aliases when function name is a macro.
32924 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
32925 sysdeps/ieee754/dbl-64/sincos.tbl.
32926 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
32927 fma4-enabled routines.
32928 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
32929 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
32930 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
32931 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
32932 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
32933 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
32934 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
32935 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
32936 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
32937 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
32938 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
32939 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
32940 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
32941 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
32942 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
32943 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
32944 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
32945 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
32946 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
32947 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
32948 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
32949 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
32950 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
32951 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
32952 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
32953 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
32954 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
32955 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
32956 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
32957 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
32958
58985aa9
UD
32959 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
32960 rename.
32961 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32962 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32963 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32964 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32965 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32966 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32967 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32968 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32969
a201fbcf
AS
329702011-10-24 Andreas Schwab <schwab@redhat.com>
32971
32972 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
32973
fc2ee42a
LD
329742011-10-23 Ulrich Drepper <drepper@gmail.com>
32975
bb3129bd
UD
32976 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
32977
0275fff8
UD
32978 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
32979 prediction.
32980 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
32981
2fa2ae85
UD
32982 * string/strnlen.c: Don't define STRNLEN, reverse logic.
32983 Remove unused variable magic_bits.
32984 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
32985
fc2ee42a
LD
32986 * string/strnlen.c: Define and use STRNLEN macro.
32987 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
32988 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
32989 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
32990 * wcsmbs/wcslen.c: Define and use WCSLEN.
32991 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
32992 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
32993 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
32994 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
32995 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
32996 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
32997 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
32998
ce7dd29f
LD
329992011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33000
33001 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33002 strnlen-sse2-no-bsf.
33003 Rename strlen-no-bsf to strlen-sse2-no-bsf.
33004 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
33005 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
33006 Add strnlen support.
33007 (USE_AS_STRNLEN): New macro.
33008 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
33009 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
33010 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
33011 * sysdeps/x86_64/wcslen.S: New file.
33012
979c70a3
MZ
330132011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
33014
33015 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
33016 XMM-moves are used for copying on small sizes.
33017
2d09f82f
LD
330182011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33019
33020 * wcsmbs/Makefile (strop-tests): Add wcschr.
33021 * wcsmbs/test-wcschr.c: New file.
33022 * string/test-strchr.c: Update.
33023 Add wcschr support.
33024 (WIDE): New macro.
33025
619fccca
LD
330262011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33027
2d09f82f 33028 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
33029 * wcsmbs/test-wcslen.c: New file.
33030 * string/test-strlen.c: Update.
33031 Add wcslen support.
33032 (WIDE): New macro.
33033
09f699ea
UD
330342011-10-23 Ulrich Drepper <drepper@gmail.com>
33035
33036 * po/it.po: Update from translation team.
33037
95584d3b
LD
330382011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33039
33040 * sysdeps/x86_64/wcscmp.S: Update.
33041 Fix wrong comparison semantics.
33042 wcscmp shall use signed comparison not unsigned.
33043 Don't use substraction to avoid overflow bug.
33044 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
33045 * wcsmbc/wcscmp.c: Likewise.
33046 * string/test-strcmp.c: Likewise.
33047 Add new tests to check cases with negative values.
33048
c8b3296b
UD
330492011-10-23 Ulrich Drepper <drepper@gmail.com>
33050
33051 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
33052 * sysdeps/x86_64/dla.h: ...here. New file.
33053 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
33054 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33055 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33056 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33057 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33058 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33059 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33060 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33061 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33062
246ad57a
AS
330632011-10-23 Andreas Schwab <schwab@linux-m68k.org>
33064
33065 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
33066 __ynl_finite aliases.
33067
a1a87169
UD
330682011-10-22 Ulrich Drepper <drepper@gmail.com>
33069
0d355eb7
UD
33070 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33071
a1a87169
UD
33072 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
33073 define DLA_FMA.
33074 [DLA_FMA] (EMULV): Use DLA_FMA.
33075 [DLA_FMA] (MUL12): Use EMULV.
33076 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
33077 that are not needed.
33078 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33079 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33080 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33081 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33082 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33083 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33084 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33085
ee2aafe0
AS
330862011-10-22 Andreas Schwab <schwab@linux-m68k.org>
33087
33088 * math/s_nan.c: Undef __nan.
33089 * math/s_nanf.c: Undef __nanf.
33090 * math/s_nanl.c: Undef __nanl.
33091 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
33092 "math_private.h".
33093
bc62c2fb
UD
330942011-10-22 Ulrich Drepper <drepper@gmail.com>
33095
77425c63
UD
33096 * math/s_catan.c: Add branch predictions.
33097 * math/s_catanf.c: Likewise.
33098 * math/s_catanh.c: Likewise.
33099 * math/s_catanhf.c: Likewise.
33100 * math/s_catanhl.c: Likewise.
33101 * math/s_catanl.c: Likewise.
33102 * math/s_cexp.c: Likewise.
33103 * math/s_cexpf.c: Likewise.
33104 * math/s_cexpl.c: Likewise.
33105 * math/s_clog.c: Likewise.
33106 * math/s_clog10.c: Likewise.
33107 * math/s_clog10f.c: Likewise.
33108 * math/s_clog10l.c: Likewise.
33109 * math/s_clogf.c: Likewise.
33110 * math/s_clogl.c: Likewise.
33111 * math/s_csqrt.c: Likewise.
33112 * math/s_csqrtf.c: Likewise.
33113 * math/s_csqrtl.c: Likewise.
33114 * math/s_ctanf.c: Likewise.
33115 * math/s_ctanh.c: Likewise.
33116 * math/s_ctanhf.c: Likewise.
33117 * math/s_ctanhl.c: Likewise.
33118 * math/s_ctanl.c: Likewise.
33119
bc62c2fb
UD
33120 * math/math_private.h: Define __nan, __nanf, __nanl.
33121 * math/s_cacosh.c: Include <math_private.h>.
33122 * math/s_cacoshl.c: Likewise.
33123 * math/s_casinh.c: Likewise.
33124 * math/s_casinhf.c: Likewise.
33125 * math/s_casinhl.c: Likewise.
33126 * math/s_ccos.c: Rely entire on ccosh.
33127 * math/s_ccosf.c: Rely entire on ccoshf.
33128 * math/s_ccosl.c: Rely entirely on ccoshl.
33129 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
33130 Remove tests for FE_INVALID.
33131 * math/s_ccoshf.c: Likewise.
33132 * math/s_ccoshl.c: Likewise.
33133 * math/s_csin.c: Likewise.
33134 * math/s_csinf.c: Likewise.
33135 * math/s_csinh.c Likewise.
33136 * math/s_csinhf.c: Likewise.
33137 * math/s_csinhl.c: Likewise.
33138 * math/s_csinl.c: Likewise.
33139 * math/s_ctan.c: Likewise.
33140 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
33141 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
33142 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
33143
8ec250a4
UD
331442011-10-21 Ulrich Drepper <drepper@gmail.com>
33145
c196fed8
UD
33146 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
33147 compilation problems.
33148
8ec250a4
UD
33149 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
33150 __builtin_expect.
33151
8d4f46c6
UD
331522011-10-20 Ulrich Drepper <drepper@gmail.com>
33153
ed72b654
UD
33154 * sysdeps/i386/configure.in: Test for -mfma4 option.
33155 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
33156 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
33157 COMMON_CPUID_INDEX_80000001.
33158 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
33159 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
33160 use it if FMA3 is not supported.
33161 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
33162
8d4f46c6
UD
33163 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
33164 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
33165
d45c60c2
AS
331662011-10-20 Andreas Schwab <schwab@redhat.com>
33167
33168 [BZ #12892]
33169 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
33170 it would create a cycle with a link time dependency.
33171
d9a4d2ab
UD
331722011-10-19 Ulrich Drepper <drepper@gmail.com>
33173
855d1560
UD
33174 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
33175 instruction.
33176 * string/Makefile (strop-tests): Add rawmemchr.
33177 * string/test-rawmemchr.c: New file.
33178
d9a4d2ab
UD
33179 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
33180 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
33181 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
33182 when compiling str{,n}casecmp and when AVX is available. Hook up
33183 new optimized code in initializers.
33184
8f3b1ffe
AS
331852011-10-19 Andreas Schwab <schwab@redhat.com>
33186
33187 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
33188 __feraiseexcept instead of feraiseexcept.
33189
d38f1dba
UD
331902011-10-18 Ulrich Drepper <drepper@gmail.com>
33191
d9a8d0ab
UD
33192 * math/math_private.h: Define defaults for libc_fetestexcept and
33193 libc_feupdateenv.
33194 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
33195 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
33196 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33197 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
33198 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33199 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
33200 libc_fetestexcept and libc_feupdateenv.
33201
4855e3dd
UD
33202 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
33203 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
33204 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
33205 * sysdeps/x86_64/fpu/math_private.h: Define special version of
33206 libc_feholdexcept_setround.
33207
581d30e3
UD
33208 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
33209 Add s_nearbyint-c and s_nearbyintf-c.
33210 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
33211 nearbyintf inlines.
33212 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
33213 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
33214 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
33215 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
33216
d38f1dba
UD
33217 * math/math_private.h: Define defaults for libc_fegetround,
33218 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
33219 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
33220 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
33221 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
33222 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
33223 standard functions.
33224 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33225 Remove comments and hacks for old compiler versions.
33226 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
33227 libc_fegetround, libc_fesetround, libc_feholdexcept, and
33228 libc_feholdexceptl.
33229
caa6c9d8
AS
332302011-10-18 Andreas Schwab <schwab@redhat.com>
33231
33232 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
33233 (__feraiseexcept_renamed): Add __NTH.
33234 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
33235 namespace violations.
33236
97c066e6
UD
332372011-10-17 Ulrich Drepper <drepper@gmail.com>
33238
99ce7b04
UD
33239 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
33240
1004d182
UD
33241 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
33242
228a984d
UD
33243 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
33244 recently added interfaces.
33245 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
33246
c8553a6a
UD
33247 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
33248 about macro parameter expansion.
33249
ed22dcf6
UD
33250 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
33251 __NO_MATH_INLINES is defined. Cleanups.
33252
33253 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
33254 and __floorf is target has SSE4.1.
33255 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
33256 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
33257 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
33258 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
33259
b171c137
UD
33260 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
33261 name.
33262 (floorf): Likewise.
33263
97c066e6
UD
33264 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
33265
629f62ef
AS
332662011-10-17 Andreas Schwab <schwab@redhat.com>
33267
49a43d80
AS
33268 * misc/sys/cdefs.h: Fix last change.
33269
629f62ef
AS
33270 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
33271 database lookup.
33272
e453f6cd
UD
332732011-10-16 Ulrich Drepper <drepper@gmail.com>
33274
aa78043a
UD
33275 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
33276
ad0f5cad
UD
33277 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
33278 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33279 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33280 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33281 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33282 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33283 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33284 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33285 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33286 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
33287 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
33288 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
33289 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
33290 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
33291 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
33292 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
33293 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
33294 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
33295 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
33296 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
33297 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
33298 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
33299
33300 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
33301 ceil, ceilf, floor, floorf.
33302
33303 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
33304 Perform IRELATIVE relocations last.
33305
e453f6cd
UD
33306 * elf/do-rel.h: Add another parameter nrelative, replacing the
33307 local variable with the same name. Change name of the function
33308 to end in Rel or Rela (uppercase).
33309 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
33310 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
33311 elf_dynamic_do_##reloc function.
33312
fd5bdc09
UD
333132011-10-15 Ulrich Drepper <drepper@gmail.com>
33314
79b195b5
UD
33315 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
33316 is sufficient, at least on modern CPUs.
33317
d4a28569
UD
33318 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
33319
b61099b5
UD
33320 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
33321 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
33322
bcf01e6d
UD
33323 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
33324 __expl_finite.
33325 * math/bits/math-finite.h: Add entries for exp.
33326 * math/e_expl.c: Add __*_finite alias.
33327 * sysdeps/i386/fpu/e_exp.S: Likewise.
33328 * sysdeps/i386/fpu/e_expf.S: Likewise.
33329 * sysdeps/i386/fpu/e_expl.c: Likewise.
33330 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33331 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
33332 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
33333 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
33334 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
33335 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
33336 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
33337
ba1a0d59
UD
33338 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
33339 is sufficient, at least on modern CPUs.
33340
fd5bdc09
UD
33341 * ctype/ctype-info.c (__ctype_init): Define.
33342 * include/ctype.h (__ctype_init): Declare.
33343 (__ctype_b_loc): The variable is always initialized.
33344 (__ctype_toupper_loc): Likewise.
33345 (__ctype_tolower_loc): Likewise.
33346 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
33347 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
33348
7872cfb0
AS
333492011-10-15 Andreas Schwab <schwab@linux-m68k.org>
33350
b468825a
AS
33351 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
33352
7872cfb0
AS
33353 * configure.in: Also look in $cxxmachine/include for C++ system
33354 headers.
33355
be13f7bf
LD
333562011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33357
33358 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
33359 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
33360 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
33361 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
33362 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
33363 (USE_AS_WMEMCMP): New macro.
33364 Fixing indents.
33365 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
33366 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
33367 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
33368 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
33369 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33370 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
33371 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
33372 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
33373 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
33374 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
33375 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
33376 (USE_AS_WMEMCMP): New macro.
33377 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
33378 * sysdeps/string/test-memcmp.c: Update.
33379 Fix simple_wmemcmp.
33380 Add new tests.
33381 * wcsmbs/wmemcmp.c: Update.
33382 (WMEMCMP): New macro.
33383 Fix overflow bug.
33384
556a2007
AJ
333852011-10-12 Andreas Jaeger <aj@suse.de>
33386
33387 [BZ #13268]
33388 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
33389
538faaa7
UD
333902011-10-15 Ulrich Drepper <drepper@gmail.com>
33391
ab6737ff
UD
33392 * libio/iofwide.c (do_length): Avoid warning.
33393
538faaa7
UD
33394 * ctype/ctype.h (__isctype_f): Add missing __THROW.
33395
396a21b1
UD
333962011-10-14 Ulrich Drepper <drepper@gmail.com>
33397
cdf2901f
UD
33398 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
33399
38ad40ce
UD
33400 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
33401 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
33402 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
33403 * sysdeps/i386/i686/fpu/e_log.S: New file.
33404 * sysdeps/i386/i686/fpu/e_logf.S: New file.
33405 * sysdeps/i386/i686/fpu/e_logl.S: New file.
33406
396a21b1
UD
33407 * ctype/ctype.h: Add support for inlined isXXX functions when
33408 compiling C++ code.
33409
6b1f68c9
AS
334102011-10-14 Andreas Schwab <schwab@redhat.com>
33411
349290c0
AS
33412 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33413
6b1f68c9
AS
33414 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
33415
f2282d42
RM
334162011-10-13 Roland McGrath <roland@hack.frob.com>
33417
33418 [BZ #13291]
33419 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
33420
5298ffa8
AS
334212011-10-13 Andreas Schwab <schwab@redhat.com>
33422
714fad23
AS
33423 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
33424 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
33425 feraiseexcept.
33426
81dcc7fb
AS
33427 * sysdeps/x86_64/memrchr.S: Check for zero size.
33428
5298ffa8
AS
33429 * string/stratcliff.c: Add memrchr tests.
33430
951fbcec
LD
334312011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33432
33433 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33434 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
33435 rawmemchr-sse2 rawmemchr-sse2-bsf.
33436 * sysdeps/i386/i686/multiarch/memchr.S: New file.
33437 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
33438 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
33439 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
33440 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
33441 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
33442 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
33443 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
33444 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
33445 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
33446 * string/memrchr.c (MEMRCHR): New macro.
33447
0ac5ae23
UD
334482011-10-12 Ulrich Drepper <drepper@gmail.com>
33449
33450 Add integration with gcc's -ffinite-math-only and optimize wrapper
33451 functions in libm.
33452 * Versions.def: Define GLIBC_2.15 version for libm.
33453 * math/Makefile (headers): Add bits/math-finite.h.
33454 * math/bits/math-finite.h: New file.
33455 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
33456 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
33457 * math/e_acoshl.c: Add __*_finite alias.
33458 * math/e_acosl.c: Likewise.
33459 * math/e_asinl.c: Likewise.
33460 * math/e_atan2l.c: Likewise.
33461 * math/e_atanhl.c: Likewise.
33462 * math/e_coshl.c: Likewise.
33463 * math/e_exp10.c: Likewise.
33464 * math/e_exp10f.c: Likewise.
33465 * math/e_exp10l.c: Likewise.
33466 * math/e_exp2l.c: Likewise.
33467 * math/e_fmodl.c: Likewise.
33468 * math/e_gammal_r.c: Likewise.
33469 * math/e_hypotl.c: Likewise.
33470 * math/e_j0l.c: Likewise.
33471 * math/e_j1l.c: Likewise.
33472 * math/e_jnl.c: Likewise.
33473 * math/e_lgammal_r.c: Likewise.
33474 * math/e_log10l.c: Likewise.
33475 * math/e_log2l.c: Likewise.
33476 * math/e_logl.c: Likewise.
33477 * math/e_powl.c: Likewise.
33478 * math/e_sinhl.c: Likewise.
33479 * math/e_sqrtl.c: Likewise.
33480 * math/e_scalb.c: Completely rewritten and optimized.
33481 * math/e_scalbf.c: Likewise.
33482 * math/e_scalbl.c: Likewise.
33483 * math/w_acos.c: Likewise.
33484 * math/w_acosf.c: Likewise.
33485 * math/w_acosl.c: Likewise.
33486 * math/w_acosh.c: Likewise.
33487 * math/w_acoshf.c: Likewise.
33488 * math/w_acoshl.c: Likewise.
33489 * math/w_asin.c: Likewise.
33490 * math/w_asinf.c: Likewise.
33491 * math/w_asinl.c: Likewise.
33492 * math/w_atan2.c: Likewise.
33493 * math/w_atan2f.c: Likewise.
33494 * math/w_atan2l.c: Likewise.
33495 * math/w_atanh.c: Likewise.
33496 * math/w_atanhf.c: Likewise.
33497 * math/w_atanhl.c: Likewise.
33498 * math/w_exp10.c: Likewise.
33499 * math/w_exp10f.c: Likewise.
33500 * math/w_exp10l.c: Likewise.
33501 * math/w_fmod.c: Likewise.
33502 * math/w_fmodf.c: Likewise.
33503 * math/w_fmodl.c: Likewise.
33504 * math/w_j0.c: Likewise.
33505 * math/w_j0f.c: Likewise.
33506 * math/w_j0l.c: Likewise.
33507 * math/w_j1.c: Likewise.
33508 * math/w_j1f.c: Likewise.
33509 * math/w_j1l.c: Likewise.
33510 * math/w_jn.c: Likewise.
33511 * math/w_jnf.c: Likewise.
33512 * math/w_log.c: Likewise.
33513 * math/w_logf.c: Likewise.
33514 * math/w_logl.c: Likewise.
33515 * math/w_log10.c: Likewise.
33516 * math/w_log10f.c: Likewise.
33517 * math/w_log10l.c: Likewise.
33518 * math/w_log2.c: Likewise.
33519 * math/w_log2f.c: Likewise.
33520 * math/w_log2l.c: Likewise.
33521 * math/w_pow.c: Likewise.
33522 * math/w_powf.c: Likewise.
33523 * math/w_powl.c: Likewise.
33524 * math/w_remainder.c: Likewise.
33525 * math/w_remainderf.c: Likewise.
33526 * math/w_remainderl.c: Likewise.
33527 * math/w_scalb.c: Likewise.
33528 * math/w_scalbf.c: Likewise.
33529 * math/w_scalbl.c: Likewise.
33530 * math/w_sqrt.c: Likewise.
33531 * math/w_sqrtf.c: Likewise.
33532 * math/w_sqrtl.c: Likewise.
33533 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
33534 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
33535 used.
33536 * math/math_private.h: Declare __kernel_standard_f.
33537 * math/w_cosh.c: Remove cruft and optimize a bit.
33538 * math/w_coshf.c: Likewise.
33539 * math/w_coshl.c: Likewise.
33540 * math/w_exp2.c: Likewise.
33541 * math/w_exp2f.c: Likewise.
33542 * math/w_exp2l.c: Likewise.
33543 * math/w_hypot.c: Likewise.
33544 * math/w_hypotf.c: Likewise.
33545 * math/w_hypotl.c: Likewise.
33546 * math/w_lgamma.c: Likewise.
33547 * math/w_lgamma_r.c: Likewise.
33548 * math/w_lgammaf.c: Likewise.
33549 * math/w_lgammaf_r.c: Likewise.
33550 * math/w_lgammal.c: Likewise.
33551 * math/w_lgammal_r.c: Likewise.
33552 * math/w_sinh.c: Likewise.
33553 * math/w_sinhf.c: Likewise.
33554 * math/w_sinhl.c: Likewise.
33555 * math/w_tgamma.c: Likewise.
33556 * math/w_tgammaf.c: Likewise.
33557 * math/w_tgammal.c: Likewise.
33558 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33559 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33560 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
33561 Minor optimizations. Pretty printing. Remove cruft.
33562 * sysdeps/i386/fpu/e_acosf.S: Likewise.
33563 * sysdeps/i386/fpu/e_acosh.S: Likewise.
33564 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
33565 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
33566 * sysdeps/i386/fpu/e_acosl.c: Likewise.
33567 * sysdeps/i386/fpu/e_asin.S: Likewise.
33568 * sysdeps/i386/fpu/e_asinf.S: Likewise.
33569 * sysdeps/i386/fpu/e_atan2.S: Likewise.
33570 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
33571 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
33572 * sysdeps/i386/fpu/e_atanh.S: Likewise.
33573 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
33574 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
33575 * sysdeps/i386/fpu/e_exp10.S: Likewise.
33576 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
33577 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
33578 * sysdeps/i386/fpu/e_exp2.S: Likewise.
33579 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
33580 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
33581 * sysdeps/i386/fpu/e_fmod.S: Likewise.
33582 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
33583 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
33584 * sysdeps/i386/fpu/e_hypot.S: Likewise.
33585 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
33586 * sysdeps/i386/fpu/e_log.S: Likewise.
33587 * sysdeps/i386/fpu/e_log10.S: Likewise.
33588 * sysdeps/i386/fpu/e_log10f.S: Likewise.
33589 * sysdeps/i386/fpu/e_log10l.S: Likewise.
33590 * sysdeps/i386/fpu/e_log2.S: Likewise.
33591 * sysdeps/i386/fpu/e_log2f.S: Likewise.
33592 * sysdeps/i386/fpu/e_log2l.S: Likewise.
33593 * sysdeps/i386/fpu/e_logf.S: Likewise.
33594 * sysdeps/i386/fpu/e_logl.S: Likewise.
33595 * sysdeps/i386/fpu/e_pow.S: Likewise.
33596 * sysdeps/i386/fpu/e_powf.S: Likewise.
33597 * sysdeps/i386/fpu/e_powl.S: Likewise.
33598 * sysdeps/i386/fpu/e_remainder.S: Likewise.
33599 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
33600 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
33601 * sysdeps/i386/fpu/e_scalb.S: Likewise.
33602 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
33603 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
33604 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
33605 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
33606 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
33607 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33608 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33609 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33610 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33611 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33612 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33613 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
33614 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33615 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33616 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33617 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33618 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33619 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33620 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33621 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33622 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33623 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33624 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33625 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33626 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33627 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33628 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33629 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33630 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33631 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33632 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33633 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33634 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33635 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
33636 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33637 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33638 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33639 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33640 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33641 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33642 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33643 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33644 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33645 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33646 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33647 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33648 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33649 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33650 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33651 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33652 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33653 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33654 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33655 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33656 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
33657 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33658 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33659 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33660 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33661 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33662 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33663 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33664 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33665 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33666 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33667 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33668 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33669 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33670 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33671 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33672 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33673 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33674 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33675 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
33676 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33677 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33678 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33679 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33680 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33681 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33682 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33683 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33684 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33685 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33686 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33687 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33688 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33689 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
33690 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33691 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33692 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33693 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33694 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33695 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33696 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33697 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33698 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33699 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33700 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
33701 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33702 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
33703 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
33704 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
33705 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
33706 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
33707 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
33708 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
33709 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
33710 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
33711 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
33712 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
33713 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
33714 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33715 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
33716 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
33717 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
33718 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
33719 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
33720 (__isnanf): Likewise.
33721 (__isinf_ns): Likewise.
33722 (__isinf_nsf): Likewise.
33723 (__finite): Likewise.
33724 (__finitef): Likewise.
33725 (__ieee754_sqrt): Define as macro.
33726 (__ieee754_sqrtf): Define as macro.
33727 (__ieee754_sqrtl): Define as macro.
33728 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
33729 inlined copy.
33730 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
33731 __FINITE_MATH_ONLY__ consistent.
33732 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
33733
12cc2fcd
AS
337342011-10-10 Andreas Schwab <schwab@linux-m68k.org>
33735
a843a204
AS
33736 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
33737 of rawmemchr.
33738
12cc2fcd
AS
33739 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
33740
c853acd5
UD
337412011-10-09 Ulrich Drepper <drepper@gmail.com>
33742
33743 * po/ja.po: Update from translation team.
33744
c658d255
RM
337452011-10-08 Roland McGrath <roland@hack.frob.com>
33746
110946e4
RM
33747 * locale/programs/locarchive.c (prepare_address_space): New function.
33748 (create_archive, enlarge_archive, open_archive): Use it.
33749
50604220
RM
33750 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
33751 inside [SHARED], where it is used.
33752
c658d255
RM
33753 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
33754
33755 * nss/getent.c (netgroup_keys): Remove unused variable.
33756 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33757
6a621eb7
UD
337582011-10-08 Ulrich Drepper <drepper@gmail.com>
33759
7edb55ce
UD
33760 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
33761 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
33762 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
33763 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
33764 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
33765 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
33766 * math/Makefile (libm-calls): Add s_isinf_ns.
33767 * math/divtc3.c: Use __isinf_nsl instead of isinf.
33768 * math/multc3.c: Likewise.
33769 * math/s_casin.c: Likewise.
33770 * math/s_casinf.c: Likewise.
33771 * math/s_casinl.c: Likewise.
33772 * math/s_ccos.c: Likewise.
33773 * math/s_ccosf.c: Likewise.
33774 * math/s_ccosl.c: Likewise.
33775 * math/s_ctan.c: Likewise.
33776 * math/s_ctanf.c: Likewise.
33777 * math/s_ctanh.c: Likewise.
33778 * math/s_ctanhf.c: Likewise.
33779 * math/s_ctanhl.c: Likewise.
33780 * math/s_ctanl.c: Likewise.
33781 * math/w_fmod.c: Likewise.
33782 * math/w_fmodf.c: Likewise.
33783 * math/w_fmodl.c: Likewise.
33784 * math/w_remainder.c: Likewise.
33785 * math/w_remainderf.c: Likewise.
33786 * math/w_remainderl.c: Likewise.
33787 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
33788 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
33789 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
33790 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
33791 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
33792 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
33793 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
33794 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
33795
187da0ae
UD
33796 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
33797 of the number.
33798 * stdio-common/printf_fphex.c: Likewise.
33799 * stdio-common/printf_size.c: Likewise.
33800
9277c064
UD
33801 * math/e_exp10.c: Include math_private.h using <...> not "...".
33802 * math/e_exp10f.c: Likewise.
33803 * math/e_exp10l.c: Likewise.
33804 * math/e_exp2l.c: Likewise.
33805 * math/e_j0l.c: Likewise.
33806 * math/e_j1l.c: Likewise.
33807 * math/e_jnl.c: Likewise.
33808 * math/e_lgammal_r.c: Likewise.
33809 * math/e_rem_pio2l.c: Likewise.
33810 * math/e_scalb.c: Likewise.
33811 * math/e_scalbf.c: Likewise.
33812 * math/e_scalbl.c: Likewise.
33813 * math/k_cosl.c: Likewise.
33814 * math/k_sinl.c: Likewise.
33815 * math/k_tanl.c: Likewise.
33816 * math/s_cacoshf.c: Likewise.
33817 * math/s_catan.c: Likewise.
33818 * math/s_catanf.c: Likewise.
33819 * math/s_catanh.c: Likewise.
33820 * math/s_catanhf.c: Likewise.
33821 * math/s_catanhl.c: Likewise.
33822 * math/s_catanl.c: Likewise.
33823 * math/s_ccosh.c: Likewise.
33824 * math/s_ccoshf.c: Likewise.
33825 * math/s_ccoshl.c: Likewise.
33826 * math/s_cexp.c: Likewise.
33827 * math/s_cexpf.c: Likewise.
33828 * math/s_cexpl.c: Likewise.
33829 * math/s_clog.c: Likewise.
33830 * math/s_clog10.c: Likewise.
33831 * math/s_clog10f.c: Likewise.
33832 * math/s_clog10l.c: Likewise.
33833 * math/s_clogf.c: Likewise.
33834 * math/s_clogl.c: Likewise.
33835 * math/s_csin.c: Likewise.
33836 * math/s_csinf.c: Likewise.
33837 * math/s_csinh.c: Likewise.
33838 * math/s_csinhf.c: Likewise.
33839 * math/s_csinhl.c: Likewise.
33840 * math/s_csinl.c: Likewise.
33841 * math/s_csqrt.c: Likewise.
33842 * math/s_csqrtf.c: Likewise.
33843 * math/s_csqrtl.c: Likewise.
33844 * math/s_ctan.c: Likewise.
33845 * math/s_ctanf.c: Likewise.
33846 * math/s_ctanh.c: Likewise.
33847 * math/s_ctanhf.c: Likewise.
33848 * math/s_ctanhl.c: Likewise.
33849 * math/s_ctanl.c: Likewise.
33850 * math/s_ldexp.c: Likewise.
33851 * math/s_ldexpf.c: Likewise.
33852 * math/s_ldexpl.c: Likewise.
33853 * math/s_significand.c: Likewise.
33854 * math/s_significandf.c: Likewise.
33855 * math/s_significandl.c: Likewise.
33856 * math/w_acos.c: Likewise.
33857 * math/w_acosf.c: Likewise.
33858 * math/w_acosh.c: Likewise.
33859 * math/w_acoshf.c: Likewise.
33860 * math/w_acoshl.c: Likewise.
33861 * math/w_acosl.c: Likewise.
33862 * math/w_asin.c: Likewise.
33863 * math/w_asinf.c: Likewise.
33864 * math/w_asinl.c: Likewise.
33865 * math/w_atan2.c: Likewise.
33866 * math/w_atan2f.c: Likewise.
33867 * math/w_atan2l.c: Likewise.
33868 * math/w_atanh.c: Likewise.
33869 * math/w_atanhf.c: Likewise.
33870 * math/w_atanhl.c: Likewise.
33871 * math/w_cosh.c: Likewise.
33872 * math/w_coshf.c: Likewise.
33873 * math/w_coshl.c: Likewise.
33874 * math/w_dremf.c: Likewise.
33875 * math/w_exp10.c: Likewise.
33876 * math/w_exp10f.c: Likewise.
33877 * math/w_exp10l.c: Likewise.
33878 * math/w_exp2.c: Likewise.
33879 * math/w_exp2f.c: Likewise.
33880 * math/w_fmod.c: Likewise.
33881 * math/w_fmodf.c: Likewise.
33882 * math/w_fmodl.c: Likewise.
33883 * math/w_hypot.c: Likewise.
33884 * math/w_hypotf.c: Likewise.
33885 * math/w_hypotl.c: Likewise.
33886 * math/w_j0.c: Likewise.
33887 * math/w_j0f.c: Likewise.
33888 * math/w_j0l.c: Likewise.
33889 * math/w_j1.c: Likewise.
33890 * math/w_j1f.c: Likewise.
33891 * math/w_j1l.c: Likewise.
33892 * math/w_jn.c: Likewise.
33893 * math/w_jnf.c: Likewise.
33894 * math/w_jnl.c: Likewise.
33895 * math/w_lgamma.c: Likewise.
33896 * math/w_lgamma_r.c: Likewise.
33897 * math/w_lgammaf.c: Likewise.
33898 * math/w_lgammaf_r.c: Likewise.
33899 * math/w_lgammal.c: Likewise.
33900 * math/w_lgammal_r.c: Likewise.
33901 * math/w_log.c: Likewise.
33902 * math/w_log10.c: Likewise.
33903 * math/w_log10f.c: Likewise.
33904 * math/w_log10l.c: Likewise.
33905 * math/w_log2.c: Likewise.
33906 * math/w_log2f.c: Likewise.
33907 * math/w_log2l.c: Likewise.
33908 * math/w_logf.c: Likewise.
33909 * math/w_logl.c: Likewise.
33910 * math/w_pow.c: Likewise.
33911 * math/w_powf.c: Likewise.
33912 * math/w_powl.c: Likewise.
33913 * math/w_remainder.c: Likewise.
33914 * math/w_remainderf.c: Likewise.
33915 * math/w_remainderl.c: Likewise.
33916 * math/w_scalb.c: Likewise.
33917 * math/w_scalbf.c: Likewise.
33918 * math/w_scalbl.c: Likewise.
33919 * math/w_sinh.c: Likewise.
33920 * math/w_sinhf.c: Likewise.
33921 * math/w_sinhl.c: Likewise.
33922 * math/w_sqrt.c: Likewise.
33923 * math/w_sqrtf.c: Likewise.
33924 * math/w_sqrtl.c: Likewise.
33925 * math/w_tgamma.c: Likewise.
33926 * math/w_tgammaf.c: Likewise.
33927 * math/w_tgammal.c: Likewise.
33928
6a621eb7
UD
33929 * po/ja.po: Update from translation team.
33930
bf582445
AJ
339312011-09-29 Andreas Jaeger <aj@suse.de>
33932
f9efbf3a
AJ
33933 [BZ #13179]
33934 * sunrpc/netname.c (netname2host): Fix logic.
33935
bf582445
AJ
33936 [BZ #6779]
33937 [BZ #6783]
33938 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
33939 correctly.
33940 * math/w_remainder.c (__remainder): Likewise.
33941 * math/w_remainderf.c (__remainderf): Likewise.
33942 * math/libm-test.inc (remainder_test): Add test cases.
33943
48693bea
AK
339442011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33945
33946 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
33947 sdiv_qrnnd.
33948
42622229
LD
339492011-10-07 Ulrich Drepper <drepper@gmail.com>
33950
33951 * string/test-memcmp.c: Avoid unncessary #defines.
33952 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
33953
093ecf92
LD
339542011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33955
33956 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
33957 Use new sse2 version for core i3 - i7 as it's faster
33958 than sse42 version.
33959 (bit_Prefer_PMINUB_for_stringop): New.
33960 * sysdeps/x86_64/rawmemchr.S: Update.
33961 Replace with faster SSE2 version.
33962 * sysdeps/x86_64/memrchr.S: New file.
33963 * sysdeps/x86_64/memchr.S: Update.
33964 Replace with faster SSE2 version.
33965
fde56e5c
MP
339662011-09-12 Marek Polacek <mpolacek@redhat.com>
33967
33968 * elf/dl-load.c (lose): Add cast to avoid warning.
33969
21fd49a9
UD
339702011-10-07 Ulrich Drepper <drepper@gmail.com>
33971
5a06e643
UD
33972 * po/ca.po: Update from translation team.
33973
684ae515
UD
33974 * inet/getnetgrent_r.c: Hook up nscd.
33975 * nscd/Makefile (routines): Add nscd_netgroup.
33976 (nscd-modules): Add netgroupcache.
33977 (CFLAGS-netgroupcache.c): Define.
33978 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
33979 (cache_search): Add const to second parameter.
33980 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
33981 INNETGR.
33982 (dbs): Add netgrdb entry.
33983 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
33984 (verify_persistent_db): Handle netgrdb.
33985 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
33986 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
33987 GETFDNETGR.
33988 (netgroup_response_header): Define.
33989 (innetgroup_response_header): Define.
33990 (datahead): Add netgroup_response_header and innetgroup_response_header
33991 elements.
33992 * nscd/nscd.conf: Add entries for netgroup cache.
33993 * nscd/nscd.h (dbtype): Add netgrdb.
33994 (_PATH_NSCD_NETGROUP_DB): Define.
33995 (netgroup_iov_disabled): Declare.
33996 (xmalloc, xcalloc, xrealloc): Move declarations here.
33997 (cache_search): Adjust prototype.
33998 Add netgroup-related prototypes.
33999 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
34000 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
34001 (__nscd_innetgr): Declare.
34002 * nscd/selinux.c (perms): Use access_vector_t as element type and
34003 add netgroup-related initializers.
34004 * nscd/netgroupcache.c: New file.
34005 * nscd/nscd_netgroup.c: New file.
34006 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
34007 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
34008 For four parameters use innetgr.
34009 * nss/nss_files/files-init.c: Add definition and callback for netgr.
34010 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
34011 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
34012 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
34013
21fd49a9
UD
34014 * nscd/connections.c (register_traced_file): Don't register file
34015 for disabled databases.
34016
054c0457
UD
340172011-10-06 Ulrich Drepper <drepper@gmail.com>
34018
32b63198
UD
34019 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
34020
054c0457
UD
34021 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
34022 from tree and freeing node.
34023
64031225
JO
340242011-09-25 Jiri Olsa <jolsa@redhat.com>
34025
34026 * nss/nsswitch.c (__nss_database_lookup): Handle
34027 nss_parse_service_list out of memory case.
34028
0490345c
JO
340292011-09-15 Jiri Olsa <jolsa@redhat.com>
34030
34031 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
34032 out of memory case.
34033
3a62d00d
AS
340342011-10-04 Andreas Schwab <schwab@redhat.com>
34035
34036 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
34037 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
34038 pass it down.
34039 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
34040 elf_machine_rela, elf_machine_lazy_rel.
34041 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
34042 (ELF_DYNAMIC_DO_REL): Likewise.
34043 (ELF_DYNAMIC_DO_RELA): Likewise.
34044 (ELF_DYNAMIC_RELOCATE): Likewise.
34045 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
34046 to ELF_DYNAMIC_DO_REL.
34047 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
34048 (dl_main): In trace mode always set __RTLD_NOIFUNC.
34049 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
34050 elf_machine_rela.
34051 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
34052 skip_ifunc, don't call ifunc function if non-zero.
34053 (elf_machine_rela): Likewise.
34054 (elf_machine_lazy_rel): Likewise.
34055 (elf_machine_lazy_rela): Likewise.
34056 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
34057 (elf_machine_lazy_rel): Likewise.
34058 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
34059 Likewise.
34060 (elf_machine_lazy_rel): Likewise.
34061 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34062 Likewise.
34063 (elf_machine_lazy_rel): Likewise.
34064 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
34065 (elf_machine_lazy_rel): Likewise.
34066 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
34067 (elf_machine_lazy_rel): Likewise.
34068 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
34069 (elf_machine_lazy_rel): Likewise.
34070 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
34071 (elf_machine_lazy_rel): Likewise.
34072 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
34073 (elf_machine_lazy_rel): Likewise.
34074 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
34075 (elf_machine_lazy_rel): Likewise.
34076
68577918
UD
340772011-09-28 Ulrich Drepper <drepper@gmail.com>
34078
34079 * nss/nss_files/files-init.c (_nss_files_init): Use static
34080 initialization for all the *_traced_file variables.
34081
68822d74
AS
340822011-09-28 Andreas Schwab <schwab@redhat.com>
34083
34084 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34085
2056100b
RM
340862011-09-27 Roland McGrath <roland@hack.frob.com>
34087
34088 [BZ #13226]
34089 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
34090
32c76b63
AS
340912011-09-27 Andreas Schwab <schwab@redhat.com>
34092
34093 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
34094 Reread the line before reparsing it.
34095
bf972c9d
AS
340962011-09-26 Andreas Schwab <schwab@redhat.com>
34097
34098 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
34099
e057a1b5
JM
341002011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
34101 Maxim Kuvyrkov <maxim@codesourcery.com>
34102 Joseph Myers <joseph@codesourcery.com>
34103
34104 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
34105 if needed for __stack_chk_guard.
34106
bc7e1c36
RM
341072011-09-19 Roland McGrath <roland@hack.frob.com>
34108
ecb1482f
RM
34109 * sysdeps/posix/spawni.c (script_execute): Always define it.
34110 It will be optimized away if unused.
34111 (maybe_script_execute): New function.
34112 (__spawni): Call it.
34113
bc7e1c36
RM
34114 * Makerules: Don't include tls.make.
34115 (config-tls): Always set to thread.
34116 * tls.make.c: File removed.
34117
1c3b002b
MF
341182011-09-19 Mike Frysinger <vapier@gentoo.org>
34119
34120 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
34121 * config.make.in (CPPFLAGS-config): New substituted variable.
34122
2840865d
UD
341232011-09-15 Ulrich Drepper <drepper@gmail.com>
34124
88738eb6
UD
34125 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
34126
cbf645a6 34127 [BZ #13192]
2840865d
UD
34128 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
34129 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
34130
b402e91a
RM
341312011-09-15 Roland McGrath <roland@hack.frob.com>
34132
34133 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
34134 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
34135 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
34136 (CALL_FAIL): Likewise.
34137 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
34138 (CALL_FAIL): Macro removed.
34139 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
34140
4c1a1f71
UD
341412011-09-15 Ulrich Drepper <drepper@gmail.com>
34142
34143 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
34144 for __FINITE_MATH_ONLY__ == 1.
34145
edc121be
AS
341462011-09-15 Andreas Schwab <schwab@redhat.com>
34147
34148 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
34149 __ieee754_sqrt instead of sqrt.
34150 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
34151 __ieee754_sqrtf instead of sqrtf.
34152 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
34153 __floorf instead of floorf.
34154 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
34155 __floorf, __truncf instead of floorf, truncf.
34156
cd205654
UD
341572011-09-14 Ulrich Drepper <drepper@gmail.com>
34158
ee4d0315
UD
34159 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
34160
cd205654
UD
34161 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
34162 __extern_always_inline.
34163 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
34164 32-bit.
34165
48b67d71
AS
341662011-09-14 Andreas Schwab <schwab@redhat.com>
34167
34168 * elf/rtld.c (dl_main): Also relocate in dependency order when
34169 doing symbol dependency testing.
34170
1ae12c75
AS
341712011-09-13 Andreas Schwab <schwab@linux-m68k.org>
34172
34173 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34174 Always define `refsym'.
34175
995a80df
AS
341762011-09-13 Andreas Schwab <schwab@redhat.com>
34177
e529793b
AS
34178 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
34179 (__FD_ELT): Renamed from __FDELT.
34180 * misc/bits/select2.h (__FD_ELT): Likewise.
34181 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
34182 __FD_MASK instead of __FDELT, __FDMASK.
34183 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
34184 Likewise.
34185 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
34186 Likewise.
34187
52d4fef8
AS
34188 * elf/Makefile (gen-ldd): Fix pattern.
34189
995a80df
AS
34190 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
34191 (init_tls): Likewise.
34192
8682f8b0
UD
341932011-09-12 Ulrich Drepper <drepper@gmail.com>
34194
34195 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
34196
de82006d
AS
341972011-09-12 Andreas Schwab <schwab@redhat.com>
34198
a7c8e6a1
AS
34199 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
34200 `struct cmsghdr *' instead of `void *'.
34201 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
34202 Likewise.
34203
0f31fe77
AS
342042011-09-11 Andreas Schwab <schwab@linux-m68k.org>
34205
34206 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
34207 if non-absolute.
34208 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
34209 ldd_rewrite_script.
0f31fe77 34210
32b4c839
UD
342112011-09-11 Ulrich Drepper <drepper@gmail.com>
34212
83cd1420
UD
34213 * configure.in: Remove --with-tls option.
34214 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
34215 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
34216 out in case it is missing.
34217 * sysdeps/ia64/elf/configure.in: Likewise.
34218 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
34219 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
34220 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
34221 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
34222 * sysdeps/sh/elf/configure.in: Likewise.
34223 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
34224 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
34225 * sysdeps/x86_64/elf/configure.in: Likewise.
34226 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
34227 * sysdeps/mach/hurd/tls.h: Likewise.
34228
633f745d
UD
34229 [BZ #13067]
34230 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
34231
f318beb8
UD
34232 [BZ #13090]
34233 * configure.in: Fix use of AC_INIT.
34234
32b4c839
UD
34235 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
34236
3ce1f295
UD
342372011-09-10 Ulrich Drepper <drepper@gmail.com>
34238
bb016596
UD
34239 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
34240 __set_errno.
8e58439c
UD
34241 * malloc/hooks.c: Likewise.
34242
aebae053 34243 [BZ #11929]
02d46fc4
UD
34244 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
34245 variables statically.
34246 (narenas): Initialize.
34247 (list_lock): Initialize.
bb016596
UD
34248 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
34249 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
34250 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
34251 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
34252 Add initializers to main_arena and mp_.
34253 (malloc_state): Remove pagesize member. Change all users to use
34254 GLRO(dl_pagesize).
34255
34256 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
34257 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
34258 is always initialized.
34259
22a89187
UD
34260 * malloc/malloc.c: Removed unused configurations and dead code.
34261 * malloc/arena.c: Likewise.
34262 * malloc/hooks.c: Likewise.
02d46fc4 34263 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 34264
d063d164
UD
34265 * include/tls.h: Removed. USE___THREAD must always be defined.
34266 * bits/libc-tsd.h: Don't handle !USE___THREAD.
34267 * elf/dl-libc.c: Likewise.
34268 * elf/dl-tsd.c: Likewise.
34269 * include/errno.h: Likewise.
34270 * include/netdb.h: Likewise.
34271 * include/resolv.h: Likewise.
34272 * inet/herrno-loc.c: Likewise.
34273 * inet/herrno.c: Likewise.
34274 * malloc/arena.c: Likewise.
34275 * malloc/hooks.c: Likewise.
34276 * malloc/malloc.c: Likewise.
34277 * resolv/res-state.c: Likewise.
34278 * resolv/res_libc.c: Likewise.
34279 * sysdeps/i386/dl-machine.h: Likewise.
34280 * sysdeps/ia64/dl-machine.h: Likewise.
34281 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
34282 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
34283 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
34284 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
34285 * sysdeps/sh/dl-machine.h: Likewise.
34286 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34287 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34288 * sysdeps/unix/i386/sysdep.S: Likewise.
34289 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
34290 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
34291 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
34292 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
34293 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
34294 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
34295 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
34296 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34297 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34298 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
34299 * sysdeps/unix/x86_64/sysdep.S: Likewise.
34300 * sysdeps/x86_64/dl-machine.h: Likewise.
34301 * tls.make.c: Likewise.
34302
3ce1f295
UD
34303 * configure.in: Remove --with-__thread option. Make tests for
34304 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
34305 tls_model attribute fail if no support is available. Remove
34306 USE_IN_LIBIO.
34307 * Makeconfig: Adjust for dropped configure option. All features are
34308 now mandatory.
34309 * Makerules: Likewise.
34310 * Versions.def: Likewise.
34311 * argp/argp-fmtstream.c: Likewise.
34312 * argp/argp-fmtstream.h: Likewise.
34313 * argp/argp-help.c: Likewise.
34314 * assert/assert.c: Likewise.
34315 * config.h.in: Likewise.
34316 * config.make.in: Likewise.
34317 * configure: Likewise.
34318 * configure.in: Likewise.
34319 * csu/Versions: Likewise.
34320 * csu/init.c: Likewise.
34321 * elf/tst-audit2.c: Likewise.
34322 * elf/tst-tls10.c: Likewise.
34323 * elf/tst-tls10.h: Likewise.
34324 * elf/tst-tls11.c: Likewise.
34325 * elf/tst-tls12.c: Likewise.
34326 * elf/tst-tls14.c: Likewise.
34327 * elf/tst-tlsmod11.c: Likewise.
34328 * elf/tst-tlsmod12.c: Likewise.
34329 * elf/tst-tlsmod13.c: Likewise.
34330 * elf/tst-tlsmod13a.c: Likewise.
34331 * elf/tst-tlsmod14a.c: Likewise.
34332 * elf/tst-tlsmod15b.c: Likewise.
34333 * elf/tst-tlsmod16a.c: Likewise.
34334 * elf/tst-tlsmod16b.c: Likewise.
34335 * elf/tst-tlsmod7.c: Likewise.
34336 * elf/tst-tlsmod8.c: Likewise.
34337 * elf/tst-tlsmod9.c: Likewise.
34338 * gmon/gmon.c: Likewise.
34339 * grp/fgetgrent_r.c: Likewise.
34340 * grp/putgrent.c: Likewise.
34341 * hurd/fopenport.c: Likewise.
34342 * include/libc-symbols.h: Likewise.
34343 * include/tls.h: Likewise.
34344 * intl/gettextP.h: Likewise.
34345 * intl/loadinfo.h: Likewise.
34346 * locale/global-locale.c: Likewise.
34347 * locale/localeinfo.h: Likewise.
34348 * mach/devstream.c: Likewise.
34349 * malloc/arena.c: Likewise.
34350 * malloc/set-freeres.c: Likewise.
34351 * misc/err.c: Likewise.
34352 * misc/getttyent.c: Likewise.
34353 * misc/mntent_r.c: Likewise.
34354 * posix/getopt.c: Likewise.
34355 * posix/wordexp.c: Likewise.
34356 * pwd/fgetpwent_r.c: Likewise.
34357 * resolv/Versions: Likewise.
34358 * resolv/res_hconf.c: Likewise.
34359 * shadow/fgetspent_r.c: Likewise.
34360 * shadow/putspent.c: Likewise.
34361 * stdio-common/printf_fphex.c: Likewise.
34362 * stdio-common/tmpfile.c: Likewise.
34363 * stdlib/abort.c: Likewise.
34364 * stdlib/fmtmsg.c: Likewise.
34365 * sunrpc/auth_unix.c: Likewise.
34366 * sunrpc/clnt_perr.c: Likewise.
34367 * sunrpc/clnt_tcp.c: Likewise.
34368 * sunrpc/clnt_udp.c: Likewise.
34369 * sunrpc/clnt_unix.c: Likewise.
34370 * sunrpc/openchild.c: Likewise.
34371 * sunrpc/svc_simple.c: Likewise.
34372 * sunrpc/svc_tcp.c: Likewise.
34373 * sunrpc/svc_udp.c: Likewise.
34374 * sunrpc/svc_unix.c: Likewise.
34375 * sunrpc/xdr.c: Likewise.
34376 * sunrpc/xdr_array.c: Likewise.
34377 * sunrpc/xdr_rec.c: Likewise.
34378 * sunrpc/xdr_ref.c: Likewise.
34379 * sunrpc/xdr_stdio.c: Likewise.
34380
1248c1c4
PB
343812011-09-09 Ulrich Drepper <drepper@gmail.com>
34382
34383 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34384
343852011-07-03 Andreas Jaeger <aj@suse.de>
34386
34387 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
34388 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
34389 regenerate with gen-libm-tests.pl.
34390
343912010-05-12 Petr Baudis <pasky@suse.cz>
34392
34393 [BZ #11589]
34394 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
34395 around j0() zero points by switching to j1().
34396 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34397 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34398 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
34399 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34400
f22e1074
UD
344012011-09-09 Ulrich Drepper <drepper@gmail.com>
34402
f19009c1
UD
34403 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
34404 instead of 0.
34405 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 34406 instead of 0.
f19009c1
UD
34407 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34408 Patch in part by Pavel Roskin <proski@gnu.org>.
34409
3f8cc204
UD
34410 [BZ #13138]
34411 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
34412 realloc.
34413 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
34414 Free memory block if necessary.
34415
f22e1074
UD
34416 [BZ #12847]
34417 * libio/genops.c (INTDEF): For string streams the _lock pointer can
34418 be NULL. Don't lock in this case.
34419
0a2349f9
RM
344202011-09-09 Roland McGrath <roland@hack.frob.com>
34421
34422 * elf/elf.h (ELFOSABI_GNU): New macro.
34423 (ELFOSABI_LINUX): Define to that.
34424
f3cdd467
DZ
344252011-07-29 Denis Zaitceff <zaitceff@gmail.com>
34426
34427 * string/strncat.c (strncat): Undef the symbol in case it has been
34428 defined in bits/string.h.
34429
74718d13
UD
344302011-09-09 Ulrich Drepper <drepper@gmail.com>
34431
633e9e0f
UD
34432 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
34433
0a2349f9 34434 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
34435 link map.
34436
f9924780
AJ
344372011-08-17 Andreas Jaeger <aj@suse.de>
34438
34439 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
34440
7f5517aa
PP
344412011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
34442 Ian Lance Taylor <iant@google.com>
34443
34444 * math/libm-test.inc (lround_test): New testcase.
34445 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
34446
762011fe
UD
344472011-09-08 Ulrich Drepper <drepper@gmail.com>
34448
92963737
UD
34449 * Makefile: Remove support for automatic cvs check-ins.
34450 * Makerules: Likewise.
34451 * config.make.in: Likewise.
34452 * configure.in: Likewise.
34453 * intl/Makefile: Likewise.
34454 * locale/Makefile: Likewise.
34455 * po/Makefile: Likewise.
34456 * posix/Makefile: Likewise.
34457 * sysdeps/gnu/Makefile: Likewise.
34458 * sysdeps/mach/hurd/Makefile: Likewise.
34459 * sysdeps/sparc/sparc32/Makefile: Likewise.
34460
b0727fd8
JS
34461 [BZ #13118]
34462 * posix/Makefile (bug-regex32-ENV): Define.
34463 Patch by John Stanley <jpsinthemix@verizon.net>.
34464
a0f33f99
UD
34465 * misc/Makefile (headers): Add bits/select2.h.
34466 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
34467 * misc/bits/select2.h: New file.
34468 * include/bits/select2.h: New file.
34469 * debug/Makefile (routines): Add fdelt_chk.
34470 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
34471 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
34472 FD_ISSET.
34473 * debug/fdelt_chk.c: New file.
34474
762011fe
UD
34475 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
34476 * wcsmbs/test-wmemcmp.c: Likewise.
34477 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 34478 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
34479
344802011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34481
34482 * string/Makefile (strop-tests): Add memcmp.
34483 * string/test-wmemcmp.c: New file.
34484 * string/test-memcmp.c: Add wmemcmp support.
34485
7f513ec8
RM
344862011-09-08 Roland McGrath <roland@hack.frob.com>
34487
0442afb4
RM
34488 [BZ #13153]
34489 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
34490 2011-07-19 change.
34491
7f513ec8
RM
34492 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
34493 garbage value in a __mach_port_mod_refs call in the cases of the
34494 task-self and thread-self ports.
34495
a12b2239
ST
344962011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
34497
34498 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
34499
610f9ab4
AS
345002011-09-08 Andreas Schwab <schwab@redhat.com>
34501
7f513ec8 34502 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 34503
48882a1a
LD
345042011-09-07 Ulrich Drepper <drepper@gmail.com>
34505
b49865be
UD
34506 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
34507
fdc86bc9
UD
34508 * elf/dl-libc.c (dlerror_run): Pass back error code from
34509 dl_catch_error.
34510
c966526a
UD
34511 [BZ #13123]
34512 * elf/dl-load.c (lose): Free l_origin if it is valid.
34513
48882a1a
LD
34514 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
34515 names.
34516 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
34517 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34518 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34519 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34520 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
34521 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
34522
77a2a8b4
AZ
345232011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34524
34525 * sysdeps/powerpc/fpu/e_hypot.c: New file.
34526 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
34527 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
34528 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
34529 * sysdeps/powerpc/fpu/k_cosf.c: New file.
34530 * sysdeps/powerpc/fpu/k_sinf.c: New file.
34531 * sysdeps/powerpc/fpu/s_cosf.c: New file.
34532 * sysdeps/powerpc/fpu/s_sinf.c: New file.
34533 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
34534 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
34535
24f579d8
AM
345362011-08-15 Alan Modra <amodra@gmail.com>
34537
34538 [BZ #13092]
34539 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
34540 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
34541 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
34542 ppc_mcount to static-only-routines.
34543 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
34544 __mcount_internal.
34545 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
34546 __mcount_internal with usual JUMPTARGET. Remove useless nop.
34547
3d4837df
UD
345482011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
34549
34550 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
34551 for finite and infinity parameters.
34552
22700377
WS
345532011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
34554
34555 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
34556 and add nop instructions for throughput optimization.
34557 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34558
5025581e
WS
345592011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
34560
34561 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
34562 aligned copy for power7 with vector-scalar instructions.
34563 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
34564
08a300c9
L
345652011-07-24 H.J. Lu <hongjiu.lu@intel.com>
34566
34567 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
34568 AVX check.
34569
59178ef9
AS
345702011-09-07 Andreas Schwab <schwab@redhat.com>
34571
34572 [BZ #13144]
34573 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
34574 last change.
34575
e38ba7ab
UD
345762011-09-07 Ulrich Drepper <drepper@gmail.com>
34577
34578 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34579 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
34580 syscall wrapper around clock_gettime in __vdso_clock_gettime.
34581 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
34582 clock_gettime.
34583
d53a73ac
UD
345842011-09-06 Ulrich Drepper <drepper@gmail.com>
34585
fc8bffcc
UD
34586 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
34587 Forgot to demangle the pointer.
34588
ceaa0c5d
UD
34589 * sysdeps/i386/sysdep.h: Define atom_text_section.
34590 * sysdeps/x86_64/sysdep.h: Likewise.
34591 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
34592 section with atom_text_section.
34593 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34594 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34595 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
34596 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34597 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
34598
a77d3c17
UD
34599 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
34600 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
34601 already be defined. Change to take two parameters and don't assign
34602 result to variable. Adjust all users.
34603 Define INTERNAL_GETTIME if not already defined.
34604 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
34605 call.
34606 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
34607 HAVE_CLOCK_GETTIME_VSYSCALL.
34608 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
34609
d53a73ac
UD
34610 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
34611 gettimeofday vsyscall, just use time.
34612
a8f84144
AS
346132011-09-06 Andreas Schwab <schwab@redhat.com>
34614
34615 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
34616 <errno.h>.
34617
ef606249
UD
346182011-09-06 Ulrich Drepper <drepper@gmail.com>
34619
34620 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
34621 syscall on x86-64.
34622 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
34623 syscall.
34624 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
34625 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
34626 syscall if possible.
34627
6585cb60
UD
346282011-09-05 Ulrich Drepper <drepper@gmail.com>
34629
34630 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
34631 e_ident. Don't pass to find_mapsXX.
34632 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
34633
a5f524e4
LD
346342011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34635
34636 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34637 strchr-sse2-no-bsf strrchr-sse2-no-bsf
34638 * sysdeps/x86_64/multiarch/strchr.S: Update.
34639 Check bit_slow_BSF bit.
34640 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34641 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
34642 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
34643
554881ef
UD
346442011-09-05 Ulrich Drepper <drepper@gmail.com>
34645
d96de963
UD
34646 [BZ #13134]
34647 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
34648 before glibc 2.15.
34649 (tryshell): Define.
34650 (__spawni): Change last parameter to be flag. Test
34651 SPAWN_XFLAGS_USE_PATH flag to use path or not.
34652 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
34653 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
34654 * posix/spawni.c: Likewise.
34655 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
34656 * posix/spawnp.c: Likewise. Change normal version to use
34657 SPAWN_XFLAGS_USE_PATH.
34658 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
34659 SPAWN_XFLAGS_TRY_SHELL.
34660
d48e5868
UD
34661 [BZ #13150]
34662 * posix/glob.h: Remove gcc 1.x support.
34663
554881ef
UD
34664 [BZ #13068]
34665 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
34666
693fb948
LD
346672011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34668
34669 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34670 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
34671 strrchr-sse2-bsf
34672 * sysdeps/i386/i686/multiarch/strchr.S: New file.
34673 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
34674 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
34675 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
34676 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
34677 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
34678
1b48c537
UD
346792011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34680
49d42c37
UD
34681 * sysdeps/x86_64/wcscmp.S: New file.
34682
1b48c537
UD
34683 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
34684 wcscmp-c wcscmp-sse2
34685 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
34686 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
34687 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
34688 * wcsmbs/wcscmp.c: Allow renaming.
34689
15c95c5d
DM
346902011-09-05 David S. Miller <davem@davemloft.net>
34691
34692 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
34693 stack slot, rather than the struct return pointer slot.
34694 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
34695 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
34696 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
34697 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
34698
2f0ad8f3
UD
346992011-09-05 Ulrich Drepper <drepper@gmail.com>
34700
d88ae418
UD
34701 * po/ja.po: Update from translation team.
34702
2f0ad8f3
UD
34703 [BZ #13144]
34704 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
34705 kernel in 64-bit binaries.
34706
5f4318d1
DM
347072011-09-01 David S. Miller <davem@davemloft.net>
34708
34709 * elf/elf.h (HWCAP_SPARC_*): Move to..
34710 * sysdeps/sparc/sysdep.h: this new file and add new values.
34711 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
34712 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
34713 _DL_HWCAP_COUNT to 24.
34714 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
34715 entries.
34716 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
34717 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
34718 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
34719 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
34720 instead of magic constants.
34721 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34722
3ba57516
DM
347232011-08-31 David S. Miller <davem@davemloft.net>
34724
34725 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
34726 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
34727 Reimplement to do errno handling inline.
34728 (SYSCALL_ERROR_HANDLER): New macro.
34729 (__SYSCALL_STRING): Do not do errno handling in asm.
34730 (__CLONE_SYSCALL_STRING): Delete.
34731 (__INTERNAL_SYSCALL_STRING): Delete.
34732 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
34733 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
34734 (PSEUDO): Reimplement to do errno handling inline.
34735 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
34736 (SYSCALL_ERROR_HANDLER): New macro.
34737 (__SYSCALL_STRING): Do not do errno handling in asm.
34738 (__CLONE_SYSCALL_STRING): Delete.
34739 (__INTERNAL_SYSCALL_STRING): Delete.
34740 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
34741 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
34742 i386.
34743 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
34744 (inline_syscall*): Add 'err' argument.
34745 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
34746 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
34747 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
34748 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
34749
34750 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
34751 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34752
2bc17433
AS
347532011-08-30 Andreas Schwab <schwab@redhat.com>
34754
34755 * elf/rtld.c (dl_main): Relocate objects in dependency order.
34756
fbeb5f4d
JO
347572011-08-29 Jiri Olsa <jolsa@redhat.com>
34758
34759 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
34760 directive.
34761
ad69cc26
DM
347622011-08-24 David S. Miller <davem@davemloft.net>
34763
34764 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
34765
39dd69df
AS
347662011-08-24 Andreas Schwab <schwab@redhat.com>
34767
34768 * elf/Makefile: Add rules to build and run unload8 test.
34769 * elf/unload8.c: New file.
34770 * elf/unload8mod1.c: New file.
34771 * elf/unload8mod1x.c: New file.
34772 * elf/unload8mod2.c: New file.
34773 * elf/unload8mod3.c: New file.
34774
34775 * elf/dl-close.c (_dl_close_worker): Reset private search list if
34776 it wasn't used.
34777
2c0b250a
DM
347782011-08-23 David S. Miller <davem@davemloft.net>
34779
34780 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
34781 subtract stack bias.
34782 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
34783 %sp not %fp in calculations.
34784 (_JMPBUF_UNWINDS_ADJ): Likewise.
34785
22044b48
DM
34786 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
34787 (aio_suspend): Call it to force an exception region around the
34788 AIO_MISC_WAIT() invocation.
34789
2cae4995
AS
347902011-08-23 Andreas Schwab <schwab@redhat.com>
34791
34792 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
34793 backslash.
34794
873a772e
AJ
347952011-07-04 Aurelien Jarno <aurelien@aurel32.net>
34796
34797 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
34798 protection macro.
34799 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
34800 and <dl-machine.h>.
34801 (Elf64_FuncDesc): Remove.
34802
25ad0df1
DM
348032011-08-22 David S. Miller <davem@davemloft.net>
34804
34805 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
34806 sigaltstack check, add missing cfi directives.
34807 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
34808 missing cfi directives, and sigaltstack handling.
34809
e888bcbe
AS
348102011-08-16 Andreas Schwab <schwab@redhat.com>
34811
34812 [BZ #11724]
34813 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
34814 object is seen twice.
34815 * elf/dl-fini.c (_dl_sort_fini): Likewise.
34816
34817 * elf/Makefile (distribute): Add tst-initorder2.c.
34818 (tests): Add tst-initorder2.
34819 (modules-names): Add tst-initorder2a tst-initorder2b
34820 tst-initorder2c tst-initorder2d. Add rules to build them.
34821 ($(objpfx)tst-initorder2.out): New rule.
34822 * elf/tst-initorder2.c: New file.
34823 * elf/tst-initorder2.exp: New file.
34824
87162f46
AS
348252011-08-22 Andreas Schwab <schwab@redhat.com>
34826
70538b7f
AS
34827 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
34828
f55ffe58
AS
34829 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
34830 dependencies back to end of function.
34831
87162f46
AS
34832 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34833 $(elfobjdir)/ld.so.
34834
91b392a4
UD
348352011-08-21 Ulrich Drepper <drepper@gmail.com>
34836
34837 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
34838 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
34839 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
34840 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
34841 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
34842 of __vdso_gettimeofday.
34843 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
34844 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
34845 attribute_hidden.
34846 (_libc_vdso_platform_setup): Remove initialization of
34847 __vdso_gettimeofday and __vdso_time.
34848
5c43483f
UD
348492011-08-20 Ulrich Drepper <drepper@gmail.com>
34850
775a77e7
UD
34851 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
34852 and fgetc_unlocked.
34853 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
34854 getc_unlocked.
89f447ed 34855
49c74ba9
UD
34856 * elf/dl-open.c (add_to_global): Report additions to the global scope
34857 for LD_DEBUG=scopes.
34858 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 34859 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 34860
5c43483f
UD
34861 [BZ #13114]
34862 * stdio-common/Makefile (tests): Add bug24.
34863 * stdio-common/bug24.c: New file.
34864
a101b025
AJ
348652011-08-19 Andreas Jaeger <aj@suse.de>
34866
34867 [BZ #13114]
34868 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
34869 non-existant file when using close-on-exec mode.
34870
c88f1766
UD
348712011-08-20 Ulrich Drepper <drepper@gmail.com>
34872
0276a718
UD
34873 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
34874 the very first instruction.
34875
c88f1766
UD
34876 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
34877 the CFI state in the end.
34878 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
34879 inclusion of dl-trampoline.h.
34880 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
34881
51ccffa0
AS
348822011-08-19 Andreas Schwab <schwab@redhat.com>
34883
94d7165f
AS
34884 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
34885 expectations for long double.
34886
51ccffa0
AS
34887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
34888 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
34889
fd708658 348902011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
34891
34892 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
34893 artificual limit depends upon the system page size.
34894
44f0a71e
UD
348952011-08-17 Ulrich Drepper <drepper@gmail.com>
34896
34897 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
34898 * resolv/Makefile: Define CFLAGS-libresolv.
34899
8de79a24
AS
349002011-08-17 Andreas Schwab <schwab@redhat.com>
34901
34902 * nss/makedb.c (compute_tables): Make variables used in nested
34903 function static.
34904
27724598
UD
349052011-08-17 Ulrich Drepper <drepper@gmail.com>
34906
c5305d88
UD
34907 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
34908 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
34909 if buffer was too small.
34910
27724598
UD
34911 * elf/pldd.c (main): Attach to all threads in the process.
34912 Rewrite /proc handling to use *at functions.
34913
076fe015
UD
349142011-08-16 Ulrich Drepper <drepper@gmail.com>
34915
174baab3
UD
34916 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
34917 specifies first scope to show.
34918 (dl_open_worker): Update callers. Move printing scope of new
34919 object to before the relocation.
44f0a71e 34920 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
34921 * sysdeps/generic/ldsodefs.h: Update declaration.
34922
076fe015
UD
34923 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
34924 string for the scope number.
34925
a60df2c3
UD
349262011-08-14 Ulrich Drepper <drepper@gmail.com>
34927
34928 * nscd/servicescache.c (cache_addserv): Make sure written is always
34929 initialized.
34930
5e4287d1
RM
349312011-08-14 Roland McGrath <roland@hack.frob.com>
34932
85ae0589
RM
34933 * sysdeps/i386/i486/bits/atomic.h
34934 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
34935 statement expression, so as to suppress "set but not used" warning.
34936 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
34937
69f63097
RM
34938 * string/strncat.c (STRNCAT): Use prototype definition.
34939
675456ef
RM
34940 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
34941 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
34942 -Iprograms here.
34943 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
34944 (localedef-modules): Add localedef.
34945 (locale-modules): Add locale.
34946
5e4287d1
RM
34947 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
34948 * elf/rtld.c (dl_main): Invert order of assignment in last change,
34949 to avoid a warning.
34950
9c96ff23
DM
349512011-08-14 David S. Miller <davem@davemloft.net>
34952
34953 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
34954 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
34955
f9ddf089
UD
349562011-08-13 Ulrich Drepper <drepper@gmail.com>
34957
44f0a71e 34958 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
34959 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
34960 * elf/rtld.c (dl_main): Set l_name of vDSO.
34961 Call _dl_show_scope when DL_DEBUG_SCOPES.
34962 (process_dl_debug): Recognize scopes flag and also set it for all.
34963 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
34964 Declare _dl_show_scope.
34965
1dc27704
UD
34966 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
34967 (do_dlopen): Pass caller_dlopen to dl_open.
34968 (__libc_dlopen_mode): Initialize caller_dlopen.
34969
f9ddf089
UD
34970 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
34971 of libc. Make tolower call locale-independent. Optimize a bit by
34972 using isdigit instead of isalnum.
34973 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
34974
9ac533d3
UD
349752011-08-12 Ulrich Drepper <drepper@gmail.com>
34976
34977 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
34978 was a dependency or dynamically loaded.
34979
89edf2e9
UD
349802011-08-11 Ulrich Drepper <drepper@gmail.com>
34981
8e999d29
UD
34982 * intl/l10nflist.c: Allow architecture-specific pop function.
34983 * sysdeps/x86_64/l10nflist.c: New file.
34984
89edf2e9
UD
34985 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
34986 classification.
34987
14d96785
AS
349882011-08-10 Andreas Schwab <schwab@redhat.com>
34989
34990 * include/dirent.h: Add libc_hidden_proto for scandirat and
34991 scandirat64. Don't declare __scandirat64.
34992 * dirent/scandirat.c: Add libc_hidden_def.
34993 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
34994 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
34995
6761ac04
DM
349962011-08-10 David S. Miller <davem@davemloft.net>
34997
34998 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
34999 enum.
35000 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35001 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35002 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35003
c55fbd1e
UD
350042011-08-09 Ulrich Drepper <drepper@gmail.com>
35005
35006 * Versions.def [libc]: Add GLIBC_2.15.
35007 * dirent/Makefile (routines): Add scandirat and scandirat64.
35008 * dirent/Versions [libc]: Export scandirat and scandirat64 for
35009 GLIBC_2.15.
35010 * dirent/dirent.h: Declare scandirat and scandirat64.
35011 * dirent/scandirat.c: New file.
35012 * dirent/scandirat64.c: New file.
35013 * sysdeps/wordsize-64/scandirat.c: New file.
35014 * sysdeps/wordsize-64/scandirat64.c: New file.
35015 * dirent/opendir.c: Define opendirat.
35016 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
35017 using scandirat.
35018 * dirent/scandir64.c: Adjust for scandir.c change.
35019 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
35020 __scandirat64, and __scandir_cancel_handler.
35021 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
35022 additional parameter and use openat instead of open (outside of ld.so).
35023 Add new __opendir as wrapper around __opendirat.
35024 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
35025 here without requiring old scandirat implementation.
35026
879165f2
UD
350272011-08-08 Ulrich Drepper <drepper@gmail.com>
35028
35029 * dirent/scandir.c (cancel_handler): Renamed to
35030 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
35031 defined. Adjust users.
35032 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
35033 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
35034
cb7e923b
UD
350352011-08-04 Ulrich Drepper <drepper@gmail.com>
35036
16292edd
UD
35037 * string/test-string.h (IMPL): Use __STRING to expand name and then
35038 stringify it.
35039
cb7e923b
UD
35040 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
35041 of cleanups.
35042
cff82933
LD
350432011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35044
35045 * string/Makefile: Update.
35046 (strop-tests): Append strncat.
35047 * string/test-wcscmp.c: New file.
35048 New comprehensive test for wcscmp.
35049 * string/test-strcmp.c: Update.
35050 (WIDE): New define.
35051
9be9bfcc
AS
350522011-07-22 Andreas Schwab <schwab@redhat.com>
35053
35054 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
35055 line.
35056
2e96f1c7
AS
350572011-07-26 Andreas Schwab <schwab@redhat.com>
35058
35059 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
35060 encoding to ACE if AI_IDN.
35061
85188888
JJ
350622011-08-01 Jakub Jelinek <jakub@redhat.com>
35063
35064 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
35065 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
35066
5fa16e9b
LD
350672011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35068
35069 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
35070 Fix overflow bug in strncat.
35071 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
35072
35073 * string/test-strncat.c: Update.
35074 Add new tests for checking overflow bugs.
35075
350762011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35077
35078 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35079 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
35080 * sysdeps/i386/i686/multiarch/strcat.S: New file.
35081 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
35082 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
35083 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
35084 * sysdeps/i386/i686/multiarch/strncat.S: New file.
35085 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
35086 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
35087
35088 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
35089 (USE_AS_STRCAT): Define.
35090 Add strcat and strncat support.
35091 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
35092
8c1a459f
AS
350932011-07-25 Andreas Schwab <schwab@redhat.com>
35094
35095 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
35096 __n bigger than INT_MAX+1.
35097 (__strncmp_g): Likewise.
35098
bba33c28
UD
350992011-07-23 Ulrich Drepper <drepper@gmail.com>
35100
798be72d
UD
35101 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
35102 * libio/stido.h: Likewise.
35103
8accd4dc
UD
35104 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
35105 (AF_NFC): Define.
35106 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
35107 (AF_NFC): Define.
35108
cbff0d96
UD
35109 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
35110 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35111 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35112 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
35113 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35114
9191c04a
UD
35115 [BZ #13021]
35116 * scripts/test-installation.pl: Don't expect libnss_test1 to be
35117 installed.
35118
bba33c28
UD
35119 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
35120 typo.
35121 (_dl_x86_64_save_sse): Likewise.
35122
90f139dd
UD
351232011-07-22 Ulrich Drepper <drepper@gmail.com>
35124
1aae088a
UD
35125 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
35126 OSXSAVE.
35127 (_dl_x86_64_save_sse): Likewise.
35128
8e2045f5
UD
35129 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
35130
90f139dd
UD
35131 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
35132
1d002f25
AS
351332011-07-21 Andreas Schwab <schwab@redhat.com>
35134
35135 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
35136 change.
35137 (_dl_x86_64_save_sse): Use correct AVX check.
35138
21137f89
UD
351392011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35140
35141 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
35142 bug in strncpy/strncat.
35143 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
35144
a65c0b7a
UD
351452011-07-21 Ulrich Drepper <drepper@gmail.com>
35146
35147 * string/tester.c (test_strcat): Add tests for different alignments
35148 of source and destination.
35149 (test_strncat): Likewise.
35150
6986b98a
UD
351512011-07-20 Ulrich Drepper <drepper@gmail.com>
35152
90bb2039
UD
35153 [BZ #12852]
35154 * posix/glob.c (glob): Check passed in values before using them in
35155 expressions to avoid some overflows.
35156 (glob_in_dir): Likewise.
35157
5644ef54
UD
35158 [BZ #13007]
35159 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
35160 check for AVX enablement so that we don't crash with old kernels and
35161 new hardware.
35162 * elf/tst-audit4.c: Add same checks here.
35163 * elf/tst-audit6.c: Likewise.
35164
35165 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 35166
bfc9dc9b
AS
351672011-07-09 Andreas Schwab <schwab@linux-m68k.org>
35168
35169 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
35170
702e64bb
UD
351712011-07-20 Ulrich Drepper <drepper@gmail.com>
35172
35173 * po/cs.po: Update from translation team.
35174 * po/bg.po: Likewise.
35175
295e904f
MP
351762011-07-12 Marek Polacek <mpolacek@redhat.com>
35177
35178 * misc/sys/cdefs.h: Add support for const attribute.
35179 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
35180 to gnu_dev_{major,minor,makedev} functions.
35181
3ff94596
MP
351822011-07-20 Marek Polacek <mpolacek@redhat.com>
35183
35184 * intl/dcigettext.c (get_output_charset): Add missing bracket.
35185
28b59fca
AS
351862011-07-20 Andreas Schwab <schwab@redhat.com>
35187
35188 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
35189 strlen results.
35190
19df733e
AK
351912011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35192
35193 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
35194 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
35195 register in order to avoid conflicts with the soft frame pointer
35196 being held in r11 when necessary.
35197 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
35198 (INTERNAL_VSYSCALL_NCS): Likewise.
35199
c8835729
MP
352002011-07-14 Marek Polacek <mpolacek@redhat.com>
35201
35202 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
35203 * elf/dl-fini.c (_dl_fini): Adjust caller.
35204 * elf/dl-close.c (_dl_close_worker): Likewise.
35205 * sysdeps/generic/ldsodefs.h: Adjust declaration.
35206
b902330c
MP
352072011-07-15 Marek Polacek <mpolacek@redhat.com>
35208
8991e135
MP
35209 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
35210 "aux_cache->nlibs < 0".
35211
b902330c
MP
35212 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
35213 in the reload-count case.
35214
99710781
LD
352152011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35216
35217 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35218 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
35219 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
35220 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
35221 * sysdeps/x86_64/multiarch/strcat.S: New file.
35222 * sysdeps/x86_64/multiarch/strncat.S: New file.
35223 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
35224 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
35225 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
35226 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
35227 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
35228 (USE_AS_STRCAT): Define.
35229 Add strcat and strncat support.
35230 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
35231 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
35232 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
35233 * string/strncat.c: Update.
35234 (USE_AS_STRNCAT): Define.
35235 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35236 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
35237 and i7.
35238 * sysdeps/x86_64/multiarch/init-arch.h
35239 (bit_Prefer_PMINUB_for_stringop): New.
35240 (index_Prefer_PMINUB_for_stringop): Likewise.
35241 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
35242 bit_Prefer_PMINUB_for_stringop.
35243
7dc6bd90
UD
352442011-07-19 Ulrich Drepper <drepper@gmail.com>
35245
35246 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
35247 buffer64.
35248 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
35249 of casting of buffer.
35250 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
35251 buffer32 and buffer64.
35252 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
35253 writes instead of casting of buffer.
35254 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
35255 buffer32.
35256 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
35257 casting of buffer.
35258
e0e72284
AS
352592011-07-19 Andreas Schwab <schwab@redhat.com>
35260
35261 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
35262
feb1eb0b
UD
352632011-07-19 Ulrich Drepper <drepper@gmail.com>
35264
35265 * nscd/nscd.c (termination_handler): Don't do anything for a database
35266 if it has not yet been initialized.
35267
298711ff
UD
352682011-07-18 Ulrich Drepper <drepper@gmail.com>
35269
35270 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
35271
352722011-07-15 Marek Polacek <mpolacek@redhat.com>
35273
35274 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
35275
f9d68389
UD
352762011-07-18 Ulrich Drepper <drepper@gmail.com>
35277
35278 * po/nl.po: Update from translation team.
35279 * po/sv.po: Likewise.
35280
db290cf5
RM
352812011-07-16 Roland McGrath <roland@hack.frob.com>
35282
35283 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
35284 now disallowed by GCC.
5c550700 35285
fd5e21c7
RM
35286 * configure.in (use-default-link): Default to yes if a test -shared
35287 link meets our qualifications.
35288 * configure: Regenerated.
35289
5c550700
RM
35290 * config.make.in (output-format): New variable.
35291 * configure.in: Check for ld --print-output-format support.
35292 * configure: Regenerated.
35293 * Makerules ($(common-objpfx)format.lds)
35294 [$(output-format) != unknown]: Just use $(output-format),
35295 instead of the linker-script munging.
35296
9fa2c032
RM
352972011-07-14 Roland McGrath <roland@hack.frob.com>
35298
a6928d51
RM
35299 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
35300 of $(common-objpfx)shlib.lds.
35301 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
35302
661607b3
RM
35303 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
35304 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
35305
9fa2c032
RM
35306 * configure.in (-z relro check): Adjust test code to add a large
35307 writable data section after it.
35308 * configure: Regenerated.
35309
defe9061
RM
353102011-07-11 Roland McGrath <roland@hack.frob.com>
35311
35312 * configure.in (-z relro check): Fix test code to make the variable
35313 truly const.
35314 * configure: Regenerated.
35315
319b9ad4
UD
353162011-07-11 Ulrich Drepper <drepper@gmail.com>
35317
35318 * nscd/nscd.h (struct traced_file): Define.
35319 (struct database_dyn): Remove inotify_descr, reset_res, and filename
35320 elements. Add traced_files.
35321 (inotify_fd): Declare.
35322 (register_traced_file): Declare.
35323 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
35324 (inotify_fd): Export.
35325 (resolv_conf_descr): Remove.
35326 (nscd_init): Move inotify descriptor creation to main.
35327 Don't register files for notification here.
35328 (register_traced_file): New function.
35329 (invalidate_cache): Don't use reset_res to determine whether to call
35330 res_init, go through the list of registered files.
35331 (main_loop_poll): The inotify descriptors are now stored in the
35332 structures for the traced files.
35333 (main_loop_epoll): Likewise
35334 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
35335 to __nss_disable_nscd.
35336 * nscd/cache.c (prune_cache): There is no single inotify descriptor
35337 for a database anymore. Check the records for all the registered
35338 files instead.
35339 * nss/Makefile (libnss_files-routines): Add files-init.
35340 (libnss_db-routines): Add db-init.
35341 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
35342 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
35343 * nss/nss_db/db-init.c: New file.
35344 * nss/nss_files/files-init.c: New file.
35345 * nss/nsswitch.c (nss_load_library): New function. Broken out of
35346 __nss_lookup_function.
35347 (__nss_lookup_function): Call nss_load_library.
35348 (nss_load_all_libraries): New function.
35349 (__nss_disable_nscd): Take parameter with callback function for files
35350 to register. Set is_nscd. Load all the DSOs for the NSS modules
35351 used for the cached services.
35352 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
35353 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
35354 options for features to all the files in nscd.
35355
35356 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
35357
23bee3e8
RM
353582011-07-10 Roland McGrath <roland@hack.frob.com>
35359
35360 * csu/elf-init.c (__libc_csu_init): Comment typo.
35361
46a5b7f0
UD
353622011-07-09 Ulrich Drepper <drepper@gmail.com>
35363
35364 * po/pl.po: Update from translation team.
35365 * po/ja.po: Likewise.
35366 * po/ru.po: Likewise.
35367 * po/ko.po: Likewise.
35368 * po/fr.po: Likewise.
35369
d30cf5bb
RM
353702011-07-09 Roland McGrath <roland@hack.frob.com>
35371
113ddea4
RM
35372 * configure.in (.ctors/.dtors header and trailer check):
35373 Use an empirical test on a built program.
35374 * configure: Regenerated.
35375
574920b4
RM
35376 * configure.in (-z relro check): Use an empirical test on a built DSO.
35377 Detect, but do not require, on ia64.
35378 * configure: Regenerated.
35379
d30cf5bb
RM
35380 * configure.in (READELF): Find it with AC_CHECK_TOOL.
35381 Update tests that use readelf to use $READELF instead.
35382 * configure: Regenerated.
35383
8538fdb3
UD
353842011-07-08 Ulrich Drepper <drepper@gmail.com>
35385
35386 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
35387 if the result is not used.
35388
04d08991
AJ
353892011-07-05 Andreas Jaeger <aj@suse.de>
35390
35391 [BZ#9696]
35392 * stdlib/tst-strtod.c: Add testcase.
35393
de283087
AD
353942011-07-07 Ulrich Drepper <drepper@gmail.com>
35395
4e5f31c8 35396 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 35397 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
35398 The latter has a higher limit. Take additional parameter to pass to
35399 the new function.
35400 (__pathconf): Pass file to __statfs_link_max.
35401 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
35402 __statfs_link_max.
35403 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
35404 __statfs_link_max.
35405
de283087
AD
35406 [BZ #12868]
35407 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
35408 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35409 Handle Lustre.
35410 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
35411 (__statfs_filesize_max): Likewise.
35412 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
35413
c75fa153
AJ
354142011-07-05 Andreas Jaeger <aj@suse.de>
35415
35416 * resolv/res_comp.c (dn_skipname): Remove unused variable.
35417
1a544854
UD
354182011-07-06 Marek Polacek <mpolacek@redhat.com>
35419
35420 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
35421 `status' variable.
35422 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
35423 Likewise.
35424
6f0eec67
UD
354252011-07-04 H.J. Lu <hongjiu.lu@intel.com>
35426
35427 * Makefile (strop-tests): Add strncat.
35428 * string/test-strncat.c: New file.
35429
aae30307
UD
354302011-06-30 Marek Polacek <mpolacek@redhat.com>
35431
35432 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
35433
c0cfb5eb
UD
354342011-06-21 Andreas Jaeger <aj@suse.de>
35435
35436 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
35437 Copy rule from iconvdata/Makefile.
35438
01636b21
UD
354392011-07-06 Ulrich Drepper <drepper@gmail.com>
35440
35441 [BZ #12922]
35442 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
35443 but no long options are defined, just return 'W'.
35444
9895c8bc
UD
354452011-06-22 Marek Polacek <mpolacek@redhat.com>
35446
35447 [BZ #9696]
35448 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
35449
5d4cf042
UD
354502011-07-06 Ulrich Drepper <drepper@gmail.com>
35451
35452 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
35453 netgroups to read.
960e5535 35454 (innetgr): Likewise.
5d4cf042 35455
751eb97e
RM
354562011-07-05 Roland McGrath <roland@hack.frob.com>
35457
35458 * config.make.in (install_root): Default to $(DESTDIR).
35459
f15f1e45
UD
354602011-07-05 Ulrich Drepper <drepper@gmail.com>
35461
35462 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
35463
4e34ac6a
RM
354642011-07-02 Roland McGrath <roland@hack.frob.com>
35465
5e9b6af4
RM
35466 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
35467
84f9ea0f
RM
35468 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
35469 containing directory rather than embedding absolute directory names.
35470
ea5ee9f7
RM
35471 * scripts/check-local-headers.sh: Rewritten using awk.
35472 Match by word, not by line. Print error messages for matches.
35473 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
35474
1b74661a
RM
35475 * Makerules [shlib-lds-flags empty]:
35476 ($(common-objpfx)libc_pic.opts): New target.
35477 ($(common-objpfx)libc_pic.os.clean): New target.
35478 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
35479
35480 * config.make.in (OBJCOPY): New variable.
35481 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
35482 * configure: Regenerated.
35483
f781ef40
RM
35484 * config.make.in (use-default-link): New variable.
35485 * configure.in (use_default_link): Grok --with-default-link to set it.
35486 * configure: Regenerated.
35487 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
35488 (shlib-lds, shlib-lds-flags): Define to empty.
35489
2d4fa81e
RM
35490 * Makerules (shlib-lds): New variable.
35491 (shlib-lds-flags): New variable.
35492 (build-shlib, build-moduile, build-module-asneeded): Use it.
35493 ($(common-objpfx)libc.so): Use $(shlib-lds).
35494 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
35495 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
35496
31fffa6b
RM
35497 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
35498 DT_FLAGS/DT_FLAGS_1 with zero flags.
35499
4e34ac6a
RM
35500 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
35501 linker script munging.
35502
fcfc776b
UD
355032011-07-02 Ulrich Drepper <drepper@gmail.com>
35504
35505 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
35506 as 128-bit value.
35507 * crypt/sha512.c (sha512_process_block): Perform total addition using
35508 128-bit if possible.
35509 (__sha512_finish_ctx): Likewise.
35510 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
35511 as 64-bit value.
35512 * crypt/sha256.c (SWAP64): Define.
35513 (sha256_process_block): Perform total addition using 64-bit if
35514 possible.
35515 (__sha256_finish_ctx): Likewise.
35516
99231d9a
UD
355172011-07-01 Ulrich Drepper <drepper@gmail.com>
35518
35519 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
35520 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35521 * nscd/hstcache.c (cache_addhst): Likewise.
35522 * nscd/grpcache.c (cache_addgr): Likewise.
35523 * nscd/aicache.c (addhstaiX): Likewise
35524 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
35525
445b4a53
TK
355262011-07-01 Thorsten Kukuk <kukuk@suse.de>
35527
35528 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
35529 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35530 * nscd/hstcache.c (cache_addhst): Likewise.
35531 * nscd/grpcache.c (cache_addgr): Likewise.
35532 * nscd/aicache.c (addhstaiX): Likewise
35533
6d4d8e8e
AS
355342011-07-01 Andreas Schwab <schwab@redhat.com>
35535
35536 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
35537 domain only when needed.
35538
89f654c5
AS
355392011-06-30 Andreas Schwab <schwab@redhat.com>
35540
35541 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
35542 is always restored.
35543
cf3b23ff
UD
355442011-06-29 Ulrich Drepper <drepper@gmail.com>
35545
35546 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
35547 are re-adding the entry.
35548 * nscd/servicescache.c (cache_addserv): Likewise.
35549
751626f9
AJ
355502011-06-30 Aurelien Jarno <aurelien@aurel32.net>
35551
35552 * sysdeps/generic/dl-irel.h: fix protection against multiple
35553 inclusions.
35554 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
35555
9113ea1f
UD
355562011-06-28 Ulrich Drepper <drepper@gmail.com>
35557
5c0b8d90
UD
35558 [BZ #12935]
35559 * malloc/memusage.sh: Fix quoting in message.
35560 * debug/xtrace.sh: Likewise.
35561
9113ea1f
UD
35562 * configure.in: Remove support for --experimental-malloc option, make
35563 it the default.
35564 * config.make.in: Likewise.
35565 * malloc/Makefile: Likewise.
35566
a4172181
AS
355672011-06-27 Andreas Schwab <schwab@redhat.com>
35568
35569 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
35570 two-byte characters.
35571
78a7eee7
RM
355722011-06-27 Roland McGrath <roland@hack.frob.com>
35573
62bede13
RM
35574 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
35575 AC_CACHE_CHECK invocation.
35576 * configure: Regenerated.
35577
78a7eee7
RM
35578 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
35579
5ce33a62
UD
355802011-06-27 Ulrich Drepper <drepper@gmail.com>
35581
034807a9
UD
35582 [BZ #12350]
35583 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
35584 bit from old_res_options.
35585
4902da17
UD
35586 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
35587
5ce33a62
UD
35588 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
35589 value type for setfct.
35590
c2344f56
L
355912011-06-23 H.J. Lu <hongjiu.lu@intel.com>
35592
35593 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35594 __gettimeofday instead of gettimeofday.
35595
68468076
UD
355962011-06-26 Ulrich Drepper <drepper@gmail.com>
35597
35598 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
35599
acb0d739
L
356002011-06-24 H.J. Lu <hongjiu.lu@intel.com>
35601
35602 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
35603
35604 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
35605 info.
35606
8912479f
L
356072011-06-22 H.J. Lu <hongjiu.lu@intel.com>
35608
35609 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35610 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35611 strcpy-sse2-unaligned strncpy-sse2-unaligned
35612 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
35613 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
35614 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
35615 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
35616 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
35617 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
35618 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
35619 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
35620 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
35621 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
35622 (STRCPY): Support SSE2 and SSSE3 versions.
35623
d5495a11
UD
356242011-06-24 Ulrich Drepper <drepper@gmail.com>
35625
35626 [BZ #12874]
35627 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
35628 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
35629 kernels which artificially limit size of requests.
35630
0b1cbaae
L
356312011-06-22 H.J. Lu <hongjiu.lu@intel.com>
35632
35633 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35634 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35635 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
35636 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
35637 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
35638 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
35639 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
35640 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
35641 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
35642 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
35643 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
35644 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
35645 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
35646 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
35647 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
35648 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35649 Enable unaligned load optimization for Intel Core i3, i5 and i7
35650 processors.
35651 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
35652 Define.
35653 (index_Fast_Unaligned_Load): Define.
35654 (HAS_FAST_UNALIGNED_LOAD): Define.
35655
07f494a0
MP
356562011-06-23 Marek Polacek <mpolacek@redhat.com>
35657
35658 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
35659
fa3fc0fe
UD
356602011-06-22 Ulrich Drepper <drepper@gmail.com>
35661
35662 [BZ #12907]
35663 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
35664 until it is clear that the information is realy needed.
35665 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
35666
e12df166
AS
356672011-06-22 Andreas Schwab <schwab@redhat.com>
35668
35669 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
35670
852eb34d
UD
356712011-06-22 Ulrich Drepper <drepper@gmail.com>
35672
84e2a551
UD
35673 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35674 /sys/devices/system/cpu/online if it is usable.
35675
852eb34d
UD
35676 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
35677 reading the information from the /proc filesystem to once a second.
35678
6e502e19
UD
356792011-06-21 Andreas Jaeger <aj@suse.de>
35680
35681 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
35682 NULL after inclusion of kernel headers.
35683
75d39ff2
UD
356842011-06-21 Ulrich Drepper <drepper@gmail.com>
35685
51f9aa6a
UD
35686 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
35687 calls to internal_setent.
35688
c0244a9d
UD
35689 [BZ #12885]
35690 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
35691 addresses using gethostbyname4_r ignore IPv4 addresses.
35692
c5e3c2ae
UD
35693 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
35694 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
35695
75d39ff2
UD
35696 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
35697
42675c6f
DM
356982011-06-20 David S. Miller <davem@davemloft.net>
35699
35700 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
35701 inclusions.
35702 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
35703
35704 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
35705 (elf_irel): Use it.
35706 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
35707 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
35708 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
35709 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
35710 * sysdeps/x86_64/dl-irel.h: Likewise.
35711
35712 * elf/dl-runtime.c: Use elf_ifunc_invoke.
35713 * elf/dl-sym.c: Likewise.
35714
57912a71
UD
357152011-06-15 Ulrich Drepper <drepper@gmail.com>
35716
35717 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
35718 need to dereference resplen2.
35719
ee22793d
AS
357202011-06-14 Andreas Schwab <schwab@redhat.com>
35721
35722 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
35723
a9e836b0
UD
357242011-06-15 Ulrich Drepper <drepper@gmail.com>
35725
77fb9117
UD
35726 * Makeconfig: Define vardbdir and inst_vardbdir.
35727 * nss/Makefile: Add rules to install db-Makefile.
35728
40c1b22c
UD
35729 * nss/nss_db/db-XXX.c: Cleanup.
35730
9f2da732
UD
35731 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
35732 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
35733 GLIBC_PRIVATE.
35734 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
35735 * nss/makedb.c: Implement -g option to specify that value strings
35736 are generated and should not be added to table iterated over for
35737 get*ent calls.
35738 * nss/nss_db/db-initgroups.c: New file.
35739
82e9a1f7
UD
35740 * nss/getent.c: Add support for initgroups lookups through getgrouplist
35741 interface.
35742
c41af17e
UD
35743 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
35744 (internal_getgrouplist): Adjust to name change.
35745 Update use_initgroups_entry if this is not the first call.
35746 * nss/databases.def: Add initgroups entry.
35747
a9e836b0
UD
35748 * nss/makedb.c (compute_tables): Check result of multiple hash table
35749 sizes to minimize maximum chain length.
35750
2666d441
UD
357512011-06-14 Ulrich Drepper <drepper@gmail.com>
35752
35753 * Versions.def: Add entry for libnss_db.
35754 * shlib-versions: Likewise.
35755 * nss/Makefile: Add rules to build libnss_db.
35756 * nss/Versions: Add libnss_db information. Organize libnss_files
35757 entries better.
35758 * nss/db-Makefile: Add gshadow support. Change rules for the new
35759 makedb progra. Some minor improvements to generate smaller files.
35760 * nss/nss_db/nss_db.h: Move NSS database header data structures to
35761 here from...
35762 * nss/makedb.c: ...here.
35763 Improve database format to be smaller and require less memory at
35764 runtime.
35765 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
35766 db anymore.
35767 * nss/nss_db/db-netgrp.c: Likewise.
35768 * nss/nss_db/db-open.c: Likewise.
35769 * nss/nss_files/flies-XXX.x: Adjust comments.
35770 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
35771 * nss/nss_files/files-grp.c: Likewise.
35772 * nss/nss_files/files-hosts.c: Likewise.
35773 * nss/nss_files/files-network.c: Likewise.
35774 * nss/nss_files/files-proto.c: Likewise.
35775 * nss/nss_files/files-pwd.c: Likewise.
35776 * nss/nss_files/files-rpc.c: Likewise.
35777 * nss/nss_files/files-service.c: Likewise.
35778 * nss/nss_files/files-sgrp.c: Likewise.
35779 * nss/nss_files/files-spwd.c: Likewise.
35780 * nss/nss_db/db-alias.c: Removed.
35781 * nss/nss_db/dummy-db.h: Removed.
35782
9ee76b5a
UD
357832011-06-02 Ulrich Drepper <drepper@gmail.com>
35784
35785 * nss/makedb.c: Rewritten to not use database library.
35786 * nss/Makefile: Update to build new makedb program.
35787
c71ca1f8
AJ
357882011-06-14 Andreas Jaeger <aj@suse.de>
35789
35790 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
35791 memset declaration.
35792
3154bfb8
UD
357932011-06-10 Andreas Schwab <schwab@redhat.com>
35794
35795 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
35796 tmpbuf.
35797
b350afab
RM
357982011-06-10 Roland McGrath <roland@hack.frob.com>
35799
decd4e50
RM
35800 * Makerules (shlib.lds): Fail if the linker script comes out empty.
35801 * elf/Makefile ($(objpfx)ld.so): Likewise.
35802
5615eaf2
RM
35803 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
35804 Don't list ld.so twice in dependencies.
35805
35806 * posix/bug-regex31.c: Include <stdlib.h>.
35807
35808 * nscd/hstcache.c (cache_addhst): Remove unused variable.
35809
35810 * nis/nss_compat/compat-spwd.c
35811 (getspent_next_nss_netgr): Remove unused variable.
35812 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
35813
35814 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
35815 nonmembers" output to use the right array.
35816
35817 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
35818
35819 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
35820
35821 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
35822 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
35823 * catgets/gencat.c (read_input_file): Likewise.
35824 * locale/programs/locarchive.c (enlarge_archive): Likewise.
35825
35826 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
35827 variable definition inside #if's controlling its use.
35828
35829 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
35830
35831 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
35832
35833 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
35834
35835 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
35836 unreachable code.
35837
35838 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
35839
b68e08db
RM
35840 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
35841 * configure: Regenerated.
35842
b350afab
RM
35843 * Makerules: Revert last change.
35844 * elf/Makefile: Likewise.
35845
28368601
RM
358462011-06-09 Roland McGrath <roland@hack.frob.com>
35847
35848 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
35849 * elf/Makefile ($(objpfx)librtld.os): Likewise.
35850 (reloc-link): Likewise.
35851
11988f8f
UD
358522011-06-09 Ulrich Drepper <drepper@gmail.com>
35853
35854 * elf/Makefile: Add rules to build pldd.
35855 * elf/pldd.c: New file.
35856 * elf/pldd-xx.c: New file.
35857
e80fab37
UD
358582011-06-07 Ulrich Drepper <drepper@gmail.com>
35859
35860 * version.h: Update for 2.15 development version.
35861
9b849836
DM
358622011-06-07 David S. Miller <davem@davemloft.net>
35863
35864 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
35865 ifuncs.
35866 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
35867 elf_machine_lazy_rel): Likewise.
35868 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
35869 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
35870 elf_machine_lazy_rel): Likewise.
35871 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
35872 dl_hwcap via passed in argument.
35873 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
35874 Likewise.
35875
5a31b283
AK
358762011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35877
35878 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
35879
069e52f8
RM
358802011-06-06 Roland McGrath <roland@hack.frob.com>
35881
35882 [BZ #12849]
35883 * manual/fdl-1.1.texi: New file, verbatim from:
35884 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
35885 * manual/lgpl-2.1.texi: New file, verbatim from:
35886 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
35887 * manual/Makefile (licenses): New variable, list those new file names.
35888 (texis): Use it.
35889 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
35890
35891 * manual/fdl.texi: File removed.
35892 * manual/lesser.texi: File removed.
35893 * manual/libc.texinfo (Copying, Documentation License):
35894 Use new @include file names, put @appendix directive before @include.
35895
f16846a5
JJ
358962011-06-04 Jakub Jelinek <jakub@redhat.com>
35897
35898 [BZ #12841]
35899 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
35900 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
35901 (mq_open): Add __NTH.
35902
3d29045b
L
359032011-06-02 H.J. Lu <hongjiu.lu@intel.com>
35904
35905 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35906 Assume Intel Core i3/i5/i7 processor if AVX is available.
35907
8c297311
UD
359082011-05-31 Ulrich Drepper <drepper@gmail.com>
35909
35910 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
35911 typo.
35912
c8fc0c91
UD
359132011-05-31 Andreas Schwab <schwab@redhat.com>
35914
35915 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
35916 memory. Use alloca_account. Fix memory leak when retrying.
35917
5b27a807
UD
359182011-05-31 Ulrich Drepper <drepper@gmail.com>
35919
356f8bc6
UD
35920 * version.h (RELEASE): Bump for 2.14 release.
35921 * include/features.h (__GLIBC_MINOR__): Bump to 14.
35922
5b27a807
UD
35923 * config.make.in (RANLIB): Remove entry.
35924
01f16ab0
UD
359252011-05-30 Ulrich Drepper <drepper@gmail.com>
35926
41fce8bd
UD
35927 * po/Makefile (po-sed-cmd): Add ksh to extensions.
35928 (libc.pot): Work around missing support for .ksh extension in xgettext.
35929
4769ae77
UD
35930 [BZ #12684]
35931 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
35932 if both request failed.
35933 (send_dg): In case of server errors clear resplen or *resplen2.
35934
6b1e7d19
UD
35935 [BZ #12454]
35936 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
35937 when there are multiple maps.
35938 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
35939 (_dl_fini): Remove test here.
35940
01f16ab0
UD
35941 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
35942
b1ebd700
UD
359432011-05-29 Ulrich Drepper <drepper@gmail.com>
35944
7ae22829
UD
35945 [BZ #12350]
35946 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
35947 bit from old_res_options.
35948 (gaih_inet): Likewise.
35949
553149f6 35950 [BZ #11099]
18a84741 35951 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
35952 as signed.
35953
652ffab1
UD
35954 * resolv/res_init.c (res_setoptions): Make the code more compact.
35955
16985fd0
UD
35956 [BZ #11558]
35957 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
35958 set RES_USEVC.
35959
0464f746
UD
35960 [BZ #11634]
35961 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
35962
7d17596c
UD
35963 * malloc/malloc.h: Mark malloc hook variables as deprecated.
35964
cf6bbbd7
UD
35965 [BZ #11781]
35966 * malloc/malloc.h: Declare malloc hook variables as volatile.
35967
13f1ab36
UD
35968 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
35969 in last patch.
35970
b1ebd700
UD
35971 [BZ #11799]
35972 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 35973 raise in the comment.
80e2212d
UD
35974 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
35975 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35976 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 35977
ce67228d
UD
359782011-05-28 Ulrich Drepper <drepper@gmail.com>
35979
8887a920
UD
35980 [BZ #12811]
35981 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
35982 grow the buffers more if it already has to be sufficient.
35983 (build_wcs_upper_buffer): Likewise.
35984 * posix/regexec.c (check_matching): Likewise.
35985 (clean_state_log_if_needed): Likewise.
35986 (extend_buffers): Don't enlarge buffers beyond size of the input
35987 buffer.
35988 Patches mostly by Emil Wojak <emil@wojak.eu>.
35989 * posix/bug-regex32.c: New file.
35990 * posix/Makefile (tests): Add bug-regex32.
35991
4f031072
UD
35992 * locale/findlocale.c (_nl_find_locale): Return right away if
35993 _nl_explode_name failed.
35994 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
35995
d0478f0c
UD
35996 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
35997
de81b246
UD
35998 * debug/xtrace.sh: Unify messages.
35999 * malloc/memusage.sh: Likewise.
36000
c738465a
UD
36001 [BZ #12813]
36002 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
36003 time symbol from vDSO. Substitute with vsyscall if not available.
36004 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
36005 __vdso_time.
36006
f1f929d7
UD
36007 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
36008 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
36009 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
36010 Add sendmmsg and internal_sendmmsg.
36011 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
36012 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
36013 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
36014
ce67228d
UD
36015 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
36016 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
36017 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
36018
e57420c6
UD
360192011-05-27 Ulrich Drepper <drepper@gmail.com>
36020
a8509ca5
UD
36021 [BZ #12813]
36022 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
36023 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
36024 available.
36025 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
36026 __vdso_getcpu.
36027
e57420c6
UD
36028 [BZ #12814]
36029 * iconvdata/Makefile (tests): Add bug-iconv9.
36030 * iconvdata/bug-iconv9.c: New file.
36031
4d07db15
AS
360322011-05-27 Andreas Schwab <schwab@redhat.com>
36033
36034 [BZ #12814]
36035 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
36036
ea486f69
JJ
360372011-05-25 Jakub Jelinek <jakub@redhat.com>
36038
36039 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
36040 (struct user_regs_struct): Change intcs field back to cs.
36041
6f038433
UD
360422011-05-25 Ulrich Drepper <drepper@gmail.com>
36043
36044 * po/ja.po: Update from translation team.
36045
67f86a25
UD
360462011-05-23 Ulrich Drepper <drepper@gmail.com>
36047
36048 [BZ #12795]
36049 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
36050 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
36051
def7fbd6
AS
360522011-05-20 Andreas Schwab <schwab@redhat.com>
36053
36054 * stdlib/longlong.h: Update from GCC.
36055
f50ef8f1
AS
360562011-05-23 Andreas Schwab <schwab@redhat.com>
36057
36058 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
36059 parameter name.
36060 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
36061 Add parameter name.
36062 (__sysconf): Pass it down.
36063
de7ce8f1
UD
360642011-05-22 Ulrich Drepper <drepper@gmail.com>
36065
f2962a71
UD
36066 [BZ #12671]
36067 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
36068 some situations.
36069 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
36070 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
36071 add in in __libc_use_alloca calls. Adjust callers.
36072 (glob): Use malloc in some situations.
36073
de7ce8f1
UD
36074 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
36075 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
36076 pltexit.
36077
aec84f53
UD
360782011-05-21 Ulrich Drepper <drepper@gmail.com>
36079
05bb4a68
UD
36080 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
36081 and CLOCK_BOOTTIME_ALARM.
36082
7ea72f99
UD
36083 [BZ #12782]
36084 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
36085 is returned.
36086
7e4afad5
UD
36087 * string/_strerror.c (__strerror_r): Print negative errors as signed
36088 numbers.
36089
8e211fec
UD
36090 [BZ #12777]
36091 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
36092 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
36093 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
36094
f7d82dc9
UD
36095 * configure.in: Fix typo in redirection and correct removal of test
36096 files in two cases.
36097
cc9e536d
UD
36098 [BZ #12788]
36099 * locale/setlocale.c (new_composite_name): Fix test to check for
36100 identical name of all categories.
36101
aec84f53
UD
36102 [BZ #12792]
36103 * libio/filedoalloc.c (local_isatty): New function.
36104 (_IO_file_doallocate): Use local_isatty.
36105 * stdio-common/perror.c (perror): In case a new stream is used
36106 forward the stream error.
36107 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
36108 error flag.
36109
78e64fdc
RT
361102011-05-20 Ulrich Drepper <drepper@gmail.com>
36111
34a9094f
UD
36112 [BZ #11869]
36113 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
36114 alloca.
36115 * include/alloca.h (extend_alloca_account): Define.
36116
78e64fdc
RT
36117 [BZ #11857]
36118 * posix/regex.h: Fix comments with documentation of user-accessible
36119 fields after compilation and describe correct free'ing of pattern
36120 after re_compile_pattern.
36121 Patch by Reuben Thomas <rrt@sc3d.org>.
36122
457bddfc
RA
361232011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
36124
36125 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
36126 and -mno-altivec to prevent the compiler from using Altivec and/or
36127 VSX instructions when the corresponding registers are not available.
36128
a4527b51
AS
361292011-05-19 Andreas Schwab <schwab@redhat.com>
36130
36131 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
36132
ed690b2f
UD
361332011-05-19 Ulrich Drepper <drepper@gmail.com>
36134
36135 * libio/freopen.c (freopen): Use __dup2, not dup2.
36136 * libio/freopen64.c (freopen64): Likewise.
36137
8db73634
L
361382011-05-17 H.J. Lu <hongjiu.lu@intel.com>
36139
36140 [BZ #12775]
36141 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
36142 * math/Makefile (tests): Add test-powl.
36143 (CFLAGS-test-powl.c): Define.
36144 * math/test-powl.c: New file.
36145
0a197a9d
L
361462011-05-16 H.J. Lu <hongjiu.lu@intel.com>
36147
36148 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
36149
ee30c380
UD
361502011-05-17 Ulrich Drepper <drepper@gmail.com>
36151
36152 [BZ #11837]
36153 * iconvdata/gb18030.c: Update to GB18020-2005.
36154
6ce75379
UD
361552011-05-16 Ulrich Drepper <drepper@gmail.com>
36156
a4b89fd8
AR
36157 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
36158 RE_SYNTAX_POSIX_AWK): Update to match recent development.
36159 Patch by Aharon Robbins <arnold@skeeve.com>.
36160
ea389b12
UD
36161 [BZ #11892]
36162 * stdlib/putenv.c (putenv): Don't always create copy of the variable
36163 on the stack.
36164
68a3f91f
UD
36165 [BZ #11895]
36166 * misc/pselect.c (__pselect): Handle timeout value errors hidden
36167 through underflows.
36168
15cc7dd1
UD
36169 [BZ #12766]
36170 * misc/error.c (error_at_line): Ensure file_name and old_file_name
36171 point to strings before performing equality test for error_one_per_line
36172 mode.
36173
f3799213
UD
36174 [BZ #11697]
36175 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
36176
d79a9c94
UD
36177 [BZ #11820]
36178 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
36179 (struct user_fpregs_struct): Avoid __uint*_t types.
36180
56e5eb46
UD
36181 [BZ #6420]
36182 * malloc/mtrace.c (tr_where): Add additional parameter to point to
36183 symbol info. Use it instead of calling _dl_addr locally.
36184 (lock_and_info): New function.
36185 (tr_freehook): Call lock_and_info and pass symbol info as additional
36186 parameter to tr_where.
36187 (tr_mallochook): Likewise.
36188 (tr_reallochook): Likewise.
36189 (tr_memalignhook): Likewise.
36190
6ce75379
UD
36191 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
36192 used and couldn't be at all thread-safe.
36193
f8a3b5bf
UD
361942011-05-15 Ulrich Drepper <drepper@gmail.com>
36195
94b7cc37
UD
36196 * libio/freopen.c (freopen): Don't close old file descriptor
36197 before the new one is opened. Instead dup the new file descriptor
36198 to the old one after the new stream is created.
36199 * libio/freopen64.c (freopen64): Likewise.
36200 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
36201 * libio/fileops.c (_IO_new_file_close_it): Handle new
36202 _IO_FLAGS2_NOCLOSE flag.
36203 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
36204 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
36205 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
36206 _IO_FLAGS2_NOCLOSE flag.
36207 * include/unistd.h: Add hidden_proto for dup3.
36208 Define __have_dup3.
36209 * io/dup3.c: Define hidden symbol.
36210 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
36211
bd25564e
UD
36212 [BZ #7101]
36213 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
36214 when an incomplete long option is used.
36215 * posix/tst-getopt_long1.c: New file.
36216 * posix/Makefile (tests): Add tst-getopt_long1.
36217
c84cfef4
UD
36218 [BZ #10138]
36219 * scripts/config.guess: Update from autoconf-2.68.
36220 * scripts/config.sub: Likewise.
36221
3b85df27
UD
36222 [BZ #10157]
36223 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
36224 tests into ...
36225 (has_cpuclock): ...this. New function.
36226 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
36227 macro here based on has_cpuclock code.
36228
15a856b1
UD
36229 [BZ #10149]
36230 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36231 First byte (not low byte) is now always NUL.
36232 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
36233
05f399e6
UD
36234 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36235 Use non-cancelable interfaces.
36236
10a52685 36237 [BZ #9809]
94ecc67d
UD
36238 * locale/iso-639.def: Add entry for Sorani.
36239
f8a3b5bf
UD
36240 [BZ #11901]
36241 * include/stdlib.h: Move include protection to the right place.
36242 Define abort_msg_s. Declare __abort_msg with it.
36243 * stdlib/abort.c (__abort_msg): Adjust type.
36244 * assert/assert.c (__assert_fail_base): New function. Majority
36245 of code from __assert_fail. Allocate memory for __abort_msg with
36246 mmap.
36247 (__assert_fail): Now call __assert_fail_base.
36248 * assert/assert-perr.c: Remove bulk of implementation. Use
36249 __assert_fail_base.
36250 * include/assert.hL Declare __assert_fail_base.
36251 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
36252 mmap.
36253 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
36254
1af4e298
UD
362552011-05-14 Ulrich Drepper <drepper@gmail.com>
36256
f8a3b5bf 36257 [BZ #11952]
d26dfc60
MG
36258 [BZ #12453]
36259 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
36260 until all modules are registered in the DTV.
36261 * elf/Makefile: Add rules to build and run tst-tls19.
36262 * elf/tst-tls19.c: New file.
36263 * elf/tst-tls19mod1.c: New file.
36264 * elf/tst-tls19mod2.c: New file.
36265 * elf/tst-tls19mod3.c: New file.
36266 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
36267
2fc54d6f
UD
36268 [BZ #12083]
36269 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
36270 correctly.
36271
98d76b46
UD
36272 [BZ #12601]
36273 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
36274 two-byte sequence errors.
36275 * iconvdata/Makefile (tests): Add bug-iconv8.
36276 * iconvdata/bug-iconv8.c: New file.
36277
da3c19ef
UD
36278 [BZ #12626]
36279 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
36280 buf2 definition.
36281
ca408c15
UD
36282 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
36283
d6f67f7d
UD
36284 [BZ #12432]
36285 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
36286 (dummy_getcfa): New function.
36287 (init): Get _Unwind_GetCFA address, use dummy if not found.
36288 (backtrace_helper): In recursion check, also check whether CFA changes.
36289 (__backtrace): Completely initialize arg.
36290
1af4e298 36291 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
36292 storing incomplete byte sequence in state object. Avoid testing for
36293 guaranteed too small input if we know there is enough data available.
1af4e298 36294
da62f81b
AS
362952011-05-11 Andreas Schwab <schwab@redhat.com>
36296
36297 * Makeconfig (+link-pie): Indent.
36298 * Rules (binaries-pie): Define if $(have-fpie) and
36299 $(build-shared).
36300 (binaries-shared): Also filter out $(binaries-pie).
36301 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
36302 * nscd/Makefile (others-pie): Add nscd.
36303 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
36304 ($(objpfx)nscd): Remove command override.
36305 * login/Makefile (others-pie): Add pt_chown.
36306 ($(objpfx)pt_chown): Remove command override.
36307 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
36308 remove command overrides.
36309
fcabc0f8
UD
363102011-05-13 Ulrich Drepper <drepper@gmail.com>
36311
20030ae6
UD
36312 * libio/tst_putwc.c: Fix error messages.
36313
fcabc0f8
UD
36314 [BZ #12724]
36315 * libio/fileops.c (_IO_new_file_close_it): Always flush when
36316 currently writing and seek to current position when not.
36317 * libio/Makefile (tests): Add bug-fclose1.
36318 * libio/bug-fclose1.c: New file.
36319
320a5dc0
PB
363202011-05-12 Ulrich Drepper <drepper@gmail.com>
36321
36322 [BZ #12511]
36323 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
36324 don't set DF_1_NODELETE here.
36325 (do_lookup_x): When entering new entry test for copy relocation
36326 and if necessary set DF_1_NODELETE flag.
36327 * elf/tst-unique4.cc: New file.
36328 * elf/tst-unique4.h: New file.
36329 * elf/tst-unique4lib.cc: New file.
36330 * elf/Makefile: Add rules to build and run tst-unique4.
36331 Patch by Piotr Bury <pbury@goahead.com>.
36332
22836f52
UD
363332011-05-11 Ulrich Drepper <drepper@gmail.com>
36334
f574184a
UD
36335 [BZ #12052]
36336 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
36337
e1fb097f
UD
36338 [BZ #12625]
36339 * misc/mntent_r.c (addmntent): Flush the stream after the output
36340
22836f52
UD
36341 [BZ #12393]
36342 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
36343 (is_trusted_path_normalize): Skip initial colon. Append slash
36344 to empty buffer. Duplicate is_trusted_path code but allow
36345 constructed patch to be prefix.
36346 (is_dst): Allow $ORIGIN followed by /.
36347 (_dl_dst_substitute): Correct clearing of check_for_trusted.
36348 Correct testing of result of is_trusted_path_normalize
36349 (decompose_rpath): Fix warning.
36350
7b3b0b2a
UD
363512011-05-10 Ulrich Drepper <drepper@gmail.com>
36352
36353 [BZ #11257]
36354 * grp/initgroups.c (internal_getgrouplist): When we found the service
36355 list through the initgroups entry in nsswitch.conf do not always
36356 continue on a successful lookup. Don't always use the
eac80ce2 36357 __nss_group_database value if it is set.
7b3b0b2a
UD
36358 * nss/nsswitch.conf (initgroups): Change action for successful db
36359 lookup to continue for compatibility.
36360
2a81eaa5
UD
363612011-05-09 Ulrich Drepper <drepper@gmail.com>
36362
be97a69e
UD
36363 [BZ #11532]
36364 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
36365 and CP774 modules.
36366 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
36367 and CP774 modules.
36368 * iconvdata/tst-tables.sh: Likewise.
36369 * iconvdata/cp770.c: New file.
36370 * iconvdata/cp771.c: New file.
36371 * iconvdata/cp772.c: New file.
36372 * iconvdata/cp773.c: New file.
36373 * iconvdata/cp774.c: New file.
36374 * iconvdata/testdata/CP770: New file.
36375 * iconvdata/testdata/CP770..UTF8: New file.
36376 * iconvdata/testdata/CP771: New file.
36377 * iconvdata/testdata/CP771..UTF8: New file.
36378 * iconvdata/testdata/CP772: New file.
36379 * iconvdata/testdata/CP772..UTF8: New file.
36380 * iconvdata/testdata/CP773: New file.
36381 * iconvdata/testdata/CP773..UTF8: New file.
36382 * iconvdata/testdata/CP774: New file.
36383 * iconvdata/testdata/CP774..UTF8: New file.
36384
36385 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
36386 END CHARMAP line.
36387 * iconvdata/gen-8bit-gap.sh: Likewise.
36388 * iconvdata/gen-8bit.sh: Likewise.
36389
c1e9e399
UD
36390 * locale/iso-639.def: Add ary entry.
36391
24c55fb3 36392 [BZ #11258]
96b4b1b0
UD
36393 * locale/C-translit.h.in: Add U20A1 transliteration.
36394
bdc2f971
KB
36395 [BZ #12178]
36396 * locale/iso-639.def: Add wae entry.
36397 Patch by Kevin Bortis <bortis@translate-wae.ch>.
36398
2952b117
UD
36399 [BZ #12545]
36400 * locale/programs/localedef.c (construct_output_path): Use ssize_t
36401 for n.
36402
2a81eaa5
UD
36403 [BZ #12711]
36404 * locale/C-translit.h.in: Add entry for U20B9.
36405 Patch by pravin.d.s@gmail.com.
36406
28377d1b
UD
364072011-05-08 Ulrich Drepper <drepper@gmail.com>
36408
7fb90fb8
UD
36409 [BZ #12713]
36410 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
36411 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
36412 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
36413 in rtld. Use *stat64.
7fb90fb8 36414 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 36415 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 36416 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
36417 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
36418 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
36419 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
36420 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
36421 __fstatat64 macros.
7fb90fb8
UD
36422 * include/dirent.h: Add libc_hidden_proto for rewinddir.
36423 * dirent/rewinddir.c: Add libc_hidden_def.
36424 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 36425 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 36426
28377d1b
UD
36427 * include/dirent.h (__alloc_dir): Add flags parameter.
36428 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
36429 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
36430 __alloc_dir.
36431 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
36432 from fdopendir if O_CLOEXEC is already set.
36433
66bdbaa4
AM
364342011-03-15 Alan Modra <amodra@gmail.com>
36435
36436 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
36437 l_tls_firstbyte_offset non-zero. Save padding offset in
36438 l_tls_firstbyte_offset for later use.
36439 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
36440 freeing static tls block.
36441
95721191
JN
364422011-03-05 Jonathan Nieder <jrnieder@gmail.com>
36443
36444 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
36445 where #ifdef was intended. The intent is to prevent ARG_MAX from
36446 being defined by the kernel headers.
36447
f87dfb1f
UD
364482011-05-07 Ulrich Drepper <drepper@gmail.com>
36449
36450 [BZ #12734]
36451 * resolv/resolv.h: Define RES_NOTLDQUERY.
36452 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
36453 no-tld-query and set RES_NOTLDQUERY.
36454 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
36455 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
36456 modern BIND to search name as TLD unless forbidden.
36457
47c3cd7a
UD
364582011-05-07 Petr Baudis <pasky@suse.cz>
36459 Ulrich Drepper <drepper@gmail.com>
36460
36461 [BZ #12393]
36462 * elf/dl-load.c (fillin_rpath): Move trusted path check...
36463 (is_trusted_path): ...to here.
c1e9ea35 36464 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 36465 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 36466 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 36467
8a35c912
PP
364682011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
36469
36470 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
36471 __BEGIN/__END_DECLS.
36472
acd41f47
UD
364732011-05-06 Ulrich Drepper <drepper@gmail.com>
36474
36475 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
36476 NSS_STATUS_NOTFOUND if no record was found.
36477
597df647
AS
364782011-05-05 Andreas Schwab <schwab@redhat.com>
36479
36480 * sunrpc/Makefile (headers): Add rpc/netdb.h.
36481 (headers-not-in-tirpc): Remove rpc/netdb.h
36482 * resolv/netdb.h: Revert last change.
36483
b9af1301
PP
364842011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
36485
36486 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
36487 circular dependency between libgcc.a and libc.a.
36488
4e34d5f5
AS
364892011-05-05 Andreas Schwab <schwab@redhat.com>
36490
36491 * resolv/netdb.h: Don't include <rpc/netdb.h>.
36492 * nis/Makefile: Don't install rpcsvc/*.
36493 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
36494 instead of <rpc/types.h>.
36495 (MAXHOSTNAMELEN): Define.
36496
00ee369c
AS
364972011-05-03 Andreas Schwab <schwab@redhat.com>
36498
36499 * elf/ldconfig.c (add_dir): Don't crash on empty path.
36500
0b592a30
MB
365012011-04-28 Maciej Babinski <mbabinski@google.com>
36502
36503 [BZ #12714]
36504 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
36505 gethostbyname4_r when IPv6 results are possible.
36506
6e04cbbe
UD
365072011-05-02 Ulrich Drepper <drepper@gmail.com>
36508
36509 [BZ #12723]
36510 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
36511 _PC_PIPE_BUF handling.
36512
e4ecafe0
BH
365132011-04-30 Bruno Haible <bruno@clisp.org>
36514
36515 [BZ #12717]
36516 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
36517 * resolv/netdb.h (getnameinfo): Change type of flags parameter
36518 to 'int'.
36519 * inet/getnameinfo.c (getnameinfo): Likewise.
36520
125ee683
UD
365212011-04-29 Ulrich Drepper <drepper@gmail.com>
36522
36523 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
36524 to groups setting in database lookup.
36525 * nss/nsswitch.conf: Add initgroups entry.
36526
b722481a
EB
365272011-04-22 Ulrich Drepper <drepper@gmail.com>
36528
36529 [BZ #12685]
36530 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
36531 mode string.
36532 Patch by Eric Blake <eblake@redhat.com>.
36533
4df46dbd
L
365342011-04-20 H.J. Lu <hongjiu.lu@intel.com>
36535
36536 * sunrpc/Makefile (need-export-routines): Add svc_run.
36537 (routines): Remove svc_run.
36538 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
36539 * sunrpc/clnt_perr.c (clnt_perrno): Export.
36540 * sunrpc/svc_run.c (svc_run): Likewise.
36541 * sunrpc/svc_udp.c (svcudp_create): Likewise.
36542
e84142d2
UD
365432011-04-21 Ulrich Drepper <drepper@gmail.com>
36544
36545 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
36546 problem in reallocation in last patch.
36547
877175d8
UD
365482011-04-20 Ulrich Drepper <drepper@gmail.com>
36549
36550 * sunrpc/Makefile: Move inclusion of Rules.
36551
ab8eed78
UD
365522011-04-19 Ulrich Drepper <drepper@gmail.com>
36553
36554 * nss/nss_files/files-initgroups.c: New file.
36555 * nss/Makefile (libnss_files-routines): Add files-initgroups.
36556 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
36557 _nss_files_initgroups_dyn.
36558
e3d8f584
RS
365592011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
36560
36561 * elf/elf.h (R_ARM_IRELATIVE): Define.
36562
af190f45
UD
365632011-04-19 Ulrich Drepper <drepper@gmail.com>
36564
36565 * po/ru.po: Update from translation team.
36566
53cf59ef
UD
365672011-04-17 Ulrich Drepper <drepper@gmail.com>
36568
36569 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
36570 dependencies.
36571
4c559bcd
MF
365722011-02-06 Mike Frysinger <vapier@gentoo.org>
36573
36574 [BZ #12653]
36575 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
36576 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
36577 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36578 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36579 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
36580
4420675c
AS
365812011-03-28 Andreas Schwab <schwab@linux-m68k.org>
36582
36583 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
36584 differing bytes.
36585 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
36586 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
36587 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36588
75ea32ab
UD
365892011-04-17 Ulrich Drepper <drepper@gmail.com>
36590
36591 [BZ #12420]
36592 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
36593 storing it.
36594 * stdlib/bug-getcontext.c: New file.
36595 * stdlib/Makefile: Add rules to build and run bug-getcontext.
36596
27390476
AK
365972011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36598
36599 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
36600 instructions into .machine "z9-109".
36601 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
36602 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
36603
10442705
AK
366042011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36605
36606 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
36607 between environment variables and auxiliary vector.
36608
7b57bfe5
UD
366092011-04-16 Ulrich Drepper <drepper@gmail.com>
36610
36611 * Makefile: Add rules to build linkobj/libc.so.
36612 * include/libc-symbols.h: Define libc_hidden_nolink.
36613 * include/rpc/auth.h: Mark functions which are to be hidden.
36614 * include/rpc/auth_des.h: Likewise.
36615 * include/rpc/auth_unix.h: Likewise.
36616 * include/rpc/clnt.h: Likewise.
36617 * include/rpc/des_crypt.h: Likewise.
36618 * include/rpc/key_prot.h: Likewise.
36619 * include/rpc/pmap_clnt.h: Likewise.
36620 * include/rpc/pmap_prot.h: Likewise.
36621 * include/rpc/pmap_rmt.h: Likewise.
36622 * include/rpc/rpc_msg.h: Likewise.
36623 * include/rpc/svc.h: Likewise.
36624 * include/rpc/svc_auth.h: Likewise.
36625 * include/rpc/xdr.h: Likewise.
36626 * nis/Makefile: Link all DSOs against linkobj/libc.so.
36627 * nss/Makefile: Likewise.
36628 * sunrpc/Makefile: Don't install headers. Build library with normal
36629 entry points. Don't build rpcinfo. Link RPC tests appropriately.
36630 * sunrpc/auth_des.c: Hide exported symbols by default, export some
36631 for the compat linking library. Remove use of INTDEF/INTUSE.
36632 * sunrpc/auth_none.c: Likewise.
36633 * sunrpc/auth_unix.c: Likewise.
36634 * sunrpc/authdes_prot.c: Likewise.
36635 * sunrpc/authuxprot.c: Likewise.
36636 * sunrpc/clnt_gen.c: Likewise.
36637 * sunrpc/clnt_perr.c: Likewise.
36638 * sunrpc/clnt_raw.c: Likewise.
36639 * sunrpc/clnt_simp.c: Likewise.
36640 * sunrpc/clnt_tcp.c: Likewise.
36641 * sunrpc/clnt_udp.c: Likewise.
36642 * sunrpc/clnt_unix.c: Likewise.
36643 * sunrpc/des_crypt.c: Likewise.
36644 * sunrpc/des_soft.c: Likewise.
36645 * sunrpc/get_myaddr.c: Likewise.
36646 * sunrpc/key_call.c: Likewise.
36647 * sunrpc/key_prot.c: Likewise.
36648 * sunrpc/netname.c: Likewise.
36649 * sunrpc/pm_getmaps.c: Likewise.
36650 * sunrpc/pm_getport.c: Likewise.
36651 * sunrpc/pmap_clnt.c: Likewise.
36652 * sunrpc/pmap_prot.c: Likewise.
36653 * sunrpc/pmap_prot2.c: Likewise.
36654 * sunrpc/pmap_rmt.c: Likewise.
36655 * sunrpc/publickey.c: Likewise.
36656 * sunrpc/rpc_cmsg.c: Likewise.
36657 * sunrpc/rpc_common.c: Likewise.
36658 * sunrpc/rpc_dtable.c: Likewise.
36659 * sunrpc/rpc_prot.c: Likewise.
36660 * sunrpc/rpc_thread.c: Likewise.
36661 * sunrpc/rtime.c: Likewise.
36662 * sunrpc/svc.c: Likewise.
36663 * sunrpc/svc_auth.c: Likewise.
36664 * sunrpc/svc_authux.c: Likewise.
36665 * sunrpc/svc_raw.c: Likewise.
36666 * sunrpc/svc_run.c: Likewise.
36667 * sunrpc/svc_simple.c: Likewise.
36668 * sunrpc/svc_tcp.c: Likewise.
36669 * sunrpc/svc_udp.c: Likewise.
36670 * sunrpc/svc_unix.c: Likewise.
36671 * sunrpc/svcauth_des.c: Likewise.
36672 * sunrpc/xcrypt.c: Likewise.
36673 * sunrpc/xdr.c: Likewise.
36674 * sunrpc/xdr_array.c: Likewise.
36675 * sunrpc/xdr_float.c: Likewise.
36676 * sunrpc/xdr_intXX_t.c: Likewise.
36677 * sunrpc/xdr_mem.c: Likewise.
36678 * sunrpc/xdr_rec.c: Likewise.
36679 * sunrpc/xdr_ref.c: Likewise.
36680 * sunrpc/xdr_sizeof.c: Likewise.
36681 * sunrpc/xdr_stdio.c: Likewise.
36682
e6c61494
UD
366832011-04-10 Ulrich Drepper <drepper@gmail.com>
36684
36685 [BZ #12650]
36686 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
36687 * sysdeps/ia64/dl-tls.h: Likewise.
36688 * sysdeps/powerpc/dl-tls.h: Likewise.
36689 * sysdeps/s390/dl-tls.h: Likewise.
36690 * sysdeps/sh/dl-tls.h: Likewise.
36691 * sysdeps/sparc/dl-tls.h: Likewise.
36692 * sysdeps/x86_64/dl-tls.h: Likewise.
36693 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
36694
34fe483e
AS
366952011-03-14 Andreas Schwab <schwab@redhat.com>
36696
36697 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
36698 rpath element also skip the following colon.
36699 (expand_dynamic_string_token): Add is_path parameter and pass
36700 down to DL_DST_REQUIRED and _dl_dst_substitute.
36701 (decompose_rpath): Call expand_dynamic_string_token with
36702 non-zero is_path. Ignore empty rpaths.
36703 (_dl_map_object_from_fd): Call expand_dynamic_string_token
36704 with zero is_path.
36705
f12a32e6
AS
367062011-04-08 Andreas Schwab <schwab@linux-m68k.org>
36707
36708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36709 Make cancelable.
36710
38a7d692
UD
367112011-04-09 Ulrich Drepper <drepper@gmail.com>
36712
36713 [BZ #12655]
36714 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
36715 Patch by Filipe David Manana <fdmanana@apache.org>.
36716
e451d22b
AS
367172011-04-07 Andreas Schwab <schwab@redhat.com>
36718
36719 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
36720 Maintain aligned stack.
36721 (CHECK_RSP): Remove unused macro.
36722
dedc7c7b
UD
367232011-04-03 Ulrich Drepper <drepper@gmail.com>
36724
36725 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
36726 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
36727
94521213
UD
367282011-04-02 Ulrich Drepper <drepper@gmail.com>
36729
36730 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
36731
8cb700c0 36732 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 36733
0354e355
L
367342011-03-26 H.J. Lu <hongjiu.lu@intel.com>
36735
36736 [BZ #12518]
36737 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
36738 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
36739 * sysdeps/x86_64/memmove.c: New file.
36740 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
36741 (memcpy): Renamed to ...
36742 (__new_memcpy): This.
36743 (memcpy): Provide GLIBC_2_14 memcpy.
36744 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
36745 (memcpy): Provide GLIBC_2_2_5 memcpy.
36746
8593482f
UD
367472011-04-01 Ulrich Drepper <drepper@gmail.com>
36748
36749 [BZ #12631]
36750 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
36751
81a5726b
AS
367522011-03-30 Andreas Schwab <schwab@redhat.com>
36753
36754 * misc/syncfs.c: New file.
36755 * misc/Makefile (routines): Add syncfs.
36756 * posix/unistd.h: Declare syncfs.
36757 * sysdeps/unix/syscalls.list: Add syncfs.
36758
00e5419f
AS
367592011-04-01 Andreas Schwab <schwab@redhat.com>
36760
36761 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
36762 open_by_handle_at.
36763 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
36764 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36765 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36766 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36767 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36768 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
36769 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36770
748876bf
UD
367712011-04-01 Ulrich Drepper <drepper@gmail.com>
36772
658e451d
UD
36773 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
36774 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36775 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
36776 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36777 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36778 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36779 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36780
748876bf
UD
36781 * io/Makefile: Compile fallocate.c, fallocate64.c, and
36782 sync_file_range.c with -fexceptions.
36783 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
36784 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
36785 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
36786 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
36787 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
36788 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36789 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
36790 sync_file_range as cancellation point
36791 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
36792 now a wrapper around __call_sync_file_range with cancellation handling.
36793 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
36794 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
36795 function name to __call_sync_file_range.
36796 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
36797 Add call_sync_file_range.
748876bf 36798
6e63d5e1
AS
367992011-04-01 Andreas Schwab <schwab@redhat.com>
36800
36801 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 36802 bits/timex.h.
6e63d5e1 36803
46998f74
UD
368042011-04-01 Ulrich Drepper <drepper@gmail.com>
36805
4c1423ed
UD
36806 * iconv/iconv.h: Fix typo in comment.
36807 * io/fcntl.h: Likewise.
36808 * libio/stdio.h: Likewise.
36809 * posix/spawn.h: Likewise.
36810 * posix/unistd.h: Likewise.
36811 * stdlib/stdlib.h: Likewise.
36812 * time/time.h: Likewise.
36813 * wcsmbs/wchar.h: Likewise.
36814
158648c0
UD
36815 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
36816 open_by_handle): Add.
36817 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
36818 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
36819 Augment a few comments.
36820 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36821 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36822 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36823 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36824 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36825 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
36826 open_by_handle.
36827
46998f74
UD
36828 * io/fcntl.h (AT_EMPTY_PATH): Define.
36829
83fe108b
UD
368302011-03-30 Ulrich Drepper <drepper@gmail.com>
36831
36832 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
36833 * sysdeps/unix/sysv/linux/bits/time.h: New file.
36834 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
36835 to...
36836 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
36837 * Versions.def: Add GLIBC_2.14.
36838 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
36839 Export.
83fe108b 36840
bb242059
UD
368412011-03-22 Ulrich Drepper <drepper@gmail.com>
36842
36843 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
36844 round counter.
36845 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36846
c97a1282
L
368472011-03-20 H.J. Lu <hongjiu.lu@intel.com>
36848
36849 [BZ #12597]
36850 * string/test-strncmp.c (do_page_test): New function.
36851 (check2): Likewise.
36852 (test_main): Call check2.
36853 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
36854
2a115601
UD
368552011-03-20 Ulrich Drepper <drepper@gmail.com>
36856
36857 [BZ #12587]
36858 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
36859 Handle cache information in CPU leaf 4.
36860 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36861
8126d904
UD
368622011-03-18 Ulrich Drepper <drepper@gmail.com>
36863
042c49c6 36864 [BZ #12583]
8126d904
UD
36865 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
36866 character representation.
36867 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
36868
ccfe366e
RA
368692011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
36870
36871 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
36872 END(__isnan) to END(__isnanf) to match function entry point/label
36873 EALIGN(__isnanf,...).
36874
c6e13027
JJ
368752011-03-10 Jakub Jelinek <jakub@redhat.com>
36876
36877 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
36878
33f85a3f
UD
368792011-03-10 Ulrich Drepper <drepper@gmail.com>
36880
028478fa
UD
36881 [BZ #12510]
36882 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
36883 copy from the symbol referenced in the relocation to initialize the
36884 used variable.
36885 Patch by Piotr Bury <pbury@goahead.com>.
36886 * elf/Makefile: Add rules to build and tst-unique3.
36887 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
36888 * elf/tst-unique3.cc: New file.
36889 * elf/tst-unique3.h: New file.
36890 * elf/tst-unique3lib.cc: New file.
36891 * elf/tst-unique3lib2.cc: New file.
36892
33f85a3f
UD
36893 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
36894
03592fc7
MF
368952011-03-10 Mike Frysinger <vapier@gentoo.org>
36896
36897 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
36898 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
36899 to _start.
03592fc7 36900
6a5ee102
UD
369012011-03-06 Ulrich Drepper <drepper@gmail.com>
36902
36903 * elf/dl-load.c (_dl_map_object): If we are looking for the first
36904 to-be-loaded object along a path to loader is ld.so.
36905
7e4ba49c
HJ
369062011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
36907 Ulrich Drepper <drepper@gmail.com>
36908
36909 * sysdeps/x86_64/memset.S: After aligning destination, code
36910 branches to different locations depending on the value of
36911 misalignment, when multiarch is enabled. Fix this.
36912
369132011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
36914
36915 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
36916 Set _x86_64_preferred_memory_instruction for AMD processsors.
36917 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36918 Set bit_Prefer_SSE_for_memop for AMD processors.
36919
13a804de
UD
369202011-03-04 Ulrich Drepper <drepper@gmail.com>
36921
36922 * libio/fmemopen.c (fmemopen): Optimize a bit.
36923
9d25c392
AS
369242011-03-03 Andreas Schwab <schwab@redhat.com>
36925
36926 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
36927
a5543c6a
RM
369282011-03-03 Roland McGrath <roland@redhat.com>
36929
36930 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
36931
012d35f7
DM
369322011-02-28 Aurelien Jarno <aurelien@aurel32.net>
36933
7e4ba49c 36934 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
36935 __bzero_ultra1 instead of __memset_ultra1.
36936
4bff6e01
AS
369372011-02-23 Andreas Schwab <schwab@redhat.com>
36938 Ulrich Drepper <drepper@gmail.com>
36939
36940 [BZ #12509]
36941 * include/link.h (struct link_map): Add l_orig_initfini.
36942 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
36943 returning unsuccessfully.
36944 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
36945 close of a file loaded at startup, restore the original l_initfini
36946 list.
36947 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
36948 list, store the pointer.
36949 * elf/Makefile ($(objpfx)noload-mem): New rule.
36950 (noload-ENV): Define.
36951 (tests): Add $(objpfx)noload-mem.
36952 * elf/noload.c: Include <memcheck.h>.
36953 (main): Call mtrace. Close all opened handles.
36954
f2092faf
AS
369552011-02-17 Andreas Schwab <schwab@redhat.com>
36956
36957 [BZ #12454]
36958 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
36959 dependencies are missing.
36960
6c8a2e88
ST
369612011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
36962
f2092faf 36963 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
36964 Hurd needs munmap.
36965 * sysdeps/mach/hurd/ifreq.h: New file.
36966
84a42118
PB
369672011-01-27 Petr Baudis <pasky@suse.cz>
36968 Ulrich Drepper <drepper@gmail.com>
36969
071f805e 36970 [BZ 12445]#
84a42118
PB
36971 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
36972 to extend_alloca().
36973 * stdio-common/bug23.c: New file.
36974 * stdio-common/Makefile (tests): Add bug23.
36975
e23fe25b
AS
369762010-09-28 Andreas Schwab <schwab@redhat.com>
36977 Ulrich Drepper <drepper@gmail.com>
36978
36979 [BZ #12489]
36980 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
36981 before performing relro protection. At old place add assertion
36982 to make sure nothing changed.
36983
d3f02e10
NS
369842011-02-17 Nathan Sidwell <nathan@codesourcery.com>
36985 Glauber de Oliveira Costa <glommer@gmail.com>
36986
36987 * elf/elf.h: Add new ARM TLS relocs.
36988
d55fd7a5
RA
369892011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
36990
36991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
36992 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
36993 cast from r3.
36994 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
36995 'tests' variable.
36996 * sysdeps/wordsize-64/tst-writev.c: New file.
36997
2206397e
RA
369982011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
36999
37000 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
37001 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
37002 insns in _dl_start to prevent a TOC reference before relocs are
37003 resolved.
37004
e9433893
UD
370052011-02-15 Ulrich Drepper <drepper@gmail.com>
37006
37007 [BZ #12469]
37008 * Makeconfig: Remove RANLIB definition.
37009 * Makerules: Don't use RANLIB.
37010 * aclocal.m4: Remove ranlib test.
37011 * configure.in: No need to check for ranlib.
37012 * elf/rtld-Rules: Don't use RANLIB.
37013
f75286c6
ST
370142011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
37015
8e31c82d
ST
37016 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
37017 protection macro.
37018 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
37019 inclusion protection macro.
37020
f75286c6
ST
37021 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
37022 SIGRTMIN and SIGRTMAX and print information in that case only when
37023 SIGRTMIN is defined.
37024
c1d0e639
JJ
370252011-02-11 Jakub Jelinek <jakub@redhat.com>
37026
37027 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
37028 arginfo fn returning -1.
37029
37030 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
37031 and thousands string is zero terminated.
37032
edf9294e
AS
370332011-02-03 Andreas Schwab <schwab@redhat.com>
37034
37035 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
37036 sysdeps/unix/sysv/linux/bits/socket.h.
37037
2b7e92df
ST
370382011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
37039
edf9294e
AS
37040 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
37041 (__CPU_COUNT): Remove old macros.
37042 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
37043 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
37044 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
37045 (__sched_cpualloc, __sched_cpufree): Add declarations.
37046
a4c7ea7b
UD
370472011-02-05 Ulrich Drepper <drepper@gmail.com>
37048
37049 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
37050 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
37051 * nscd/aicache.c (addhstaiX): Return timeout of added value.
37052 (readdhstai): Return value of addhstaiX call.
37053 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
37054 (addgrbyX): Return value returned by cache_addgr.
37055 (readdgrbyname): Return value returned by addgrbyX.
37056 (readdgrbygid): Likewise.
37057 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
37058 (addpwbyX): Return value returned by cache_addpw.
37059 (readdpwbyname): Return value returned by addhstbyX.
37060 (readdpwbyuid): Likewise.
37061 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
37062 (addservbyX): Return value returned by cache_addserv.
37063 (readdservbyname): Return value returned by addservbyX:
37064 (readdservbyport): Likewise.
37065 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
37066 (addhstbyX): Return value returned by cache_addhst.
37067 (readdhstbyname): Return value returned by addhstbyX.
37068 (readdhstbyaddr): Likewise.
37069 (readdhstbynamev6): Likewise.
37070 (readdhstbyaddrv6): Likewise.
37071 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
37072 (readdinitgroups): Return value returned by addinitgroupsX.
37073 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
37074 (prune_cache): Keep track of timeout value of re-added entries.
37075 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
37076 * nscd/nscd.h: Adjust prototypes of readd* functions.
37077
a0bf67cc
RM
370782011-02-04 Roland McGrath <roland@redhat.com>
37079
37080 * nis/nis_server.c (nis_servstate): Use the right name for 0.
37081 (nis_stats): Likewise.
37082 * nis/nis_modify.c (nis_modify): Likewise.
37083 * nis/nis_remove.c (nis_remove): Likewise.
37084 * nis/nis_add.c (nis_add): Likewise.
37085
37086 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
37087
37088 * posix/fnmatch_loop.c: Add some consts.
37089
37090 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
37091
435b95eb
L
370922011-02-02 H.J. Lu <hongjiu.lu@intel.com>
37093
37094 [BZ #12460]
37095 * config.make.in (config-cflags-novzeroupper): Define.
37096 * configure.in: Substitute libc_cv_cc_novzeroupper.
37097 * elf/Makefile (AVX-CFLAGS): Define.
37098 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
37099 (CFLAGS-tst-auditmod4a.c): Likewise.
37100 (CFLAGS-tst-auditmod4b.c): Likewise.
37101 (CFLAGS-tst-auditmod6b.c): Likewise.
37102 (CFLAGS-tst-auditmod6c.c): Likewise.
37103 (CFLAGS-tst-auditmod7b.c): Likewise.
37104 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
37105
8517b15e
UD
371062011-02-02 Ulrich Drepper <drepper@gmail.com>
37107
37108 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
37109 function to the callback.
37110 Patch partly by Jiri Olsa <jolsa@redhat.com>.
37111
10a656fe
AS
371122011-02-02 Andreas Schwab <schwab@redhat.com>
37113
37114 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
37115 of errno.
37116
968dad0a
UD
371172011-01-19 Ulrich Drepper <drepper@gmail.com>
37118
9f94d2ea 37119 [BZ #11724]
968dad0a
UD
37120 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
37121 of constructors.
37122 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
37123 of destructors.
37124 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
37125
37126 [BZ #11724]
37127 * elf/Makefile: Add rules to build and run new test.
37128 * elf/tst-initorder.c: New file.
37129 * elf/tst-initorder.exp: New file.
37130 * elf/tst-initordera1.c: New file.
37131 * elf/tst-initordera2.c: New file.
37132 * elf/tst-initordera3.c: New file.
37133 * elf/tst-initordera4.c: New file.
37134 * elf/tst-initorderb1.c: New file.
37135 * elf/tst-initorderb2.c: New file.
37136 * elf/tst-order-a1.c: New file.
37137 * elf/tst-order-a2.c: New file.
37138 * elf/tst-order-a3.c: New file.
37139 * elf/tst-order-a4.c: New file.
37140 * elf/tst-order-b1.c: New file.
37141 * elf/tst-order-b2.c: New file.
37142 * elf/tst-order-main.c: New file.
37143 New test case by George Gensure <werkt0@gmail.com>.
37144
86e92359
UD
371452010-10-01 Andreas Schwab <schwab@redhat.com>
37146
37147 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
37148 decoding ACE if AI_CANONIDN.
37149
5d5732b0
UD
371502011-01-18 Ulrich Drepper <drepper@gmail.com>
37151
37152 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
37153
a77e8cbc
UD
371542011-01-17 Ulrich Drepper <drepper@gmail.com>
37155
6392473f
UD
37156 * version.h (RELEASE): Bump for 2.13 release.
37157 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
37158
620a0529
UD
37159 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
37160
18ba70a5
UD
37161 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
37162 MADV_NOHUGEPAGE.
32465c3e
UD
37163 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
37164 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
37165 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37166 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
37167 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37168 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
37169
c0dafcf1
UD
37170 * posix/getconf.c: Update copyright year.
37171 * catgets/gencat.c: Likewise.
37172 * csu/version.c: Likewise.
37173 * debug/catchsegv.sh: Likewise.
37174 * debug/xtrace.sh: Likewise.
37175 * elf/ldconfig.c: Likewise.
37176 * elf/ldd.bash.in: Likewise.
37177 * elf/sprof.c (print_version): Likewise.
37178 * iconv/iconv_prog.c: Likewise.
37179 * iconv/iconvconfig.c: Likewise.
37180 * locale/programs/locale.c: Likewise.
37181 * locale/programs/localedef.c: Likewise.
37182 * malloc/memusage.sh: Likewise.
37183 * malloc/mtrace.pl: Likewise.
37184 * nscd/nscd.c (print_version): Likewise.
37185 * nss/getent.c: Likewise.
37186
a77e8cbc
UD
37187 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
37188 PF_CAIF, and PF_ALG.
37189 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37190
77e8bddf
AS
371912011-01-16 Andreas Schwab <schwab@linux-m68k.org>
37192
1f20b93a
AS
37193 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
37194 (modules-names): Use them.
37195 (ifunc-test-modules, ifunc-pie-tests): Define.
37196 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
37197 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
37198 (test-extras): Likewise.
37199 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
37200 $(compile-command.c).
37201 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
37202 (all-built-dso): Define.
37203 (check-textrel.out, check-execstack.out): Depend on it.
37204
77e8bddf
AS
37205 * configure.in: Don't override --enable-multi-arch.
37206
bc425b33
UD
372072011-01-15 Ulrich Drepper <drepper@gmail.com>
37208
37209 [BZ #6812]
37210 * nscd/hstcache.c (tryagain): Define.
37211 (cache_addhst): Return tryagain not notfound for temporary errors.
37212 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
37213 failed.
37214
794c3ad3
UD
372152011-01-14 Ulrich Drepper <drepper@gmail.com>
37216
70181fdd
UD
37217 [BZ #10563]
37218 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
37219 to make the syscall.
37220 * sysdeps/unix/sysv/linux/setgroups.c: New file.
37221
794c3ad3
UD
37222 [BZ #12378]
37223 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
37224 and fall back to matching as normal character if the string ends before
37225 the matching ']' is found. This is what POSIX requires.
37226 * posix/testfnm.c: Adjust test result.
37227 * posix/globtest.sh: Adjust test result. Add new test.
37228 * posix/tst-fnmatch.input: Likewise.
37229 * posix/tst-fnmatch2.c: Add new test.
37230
68dc9497
AS
372312010-12-28 Andreas Schwab <schwab@linux-m68k.org>
37232
37233 * elf/Makefile (check-execstack): Revert last change. Depend on
37234 check-execstack.h.
37235 (check-execstack.h): New target.
37236 (generated): Add check-execstack.h.
37237 * elf/check-execstack.c: Include "check-execstack.h".
37238 (main): Revert last change.
37239 (handle_file): Return zero if GNU_STACK is absent and
37240 DEFAULT_STACK_PERMS doesn't include PF_X.
37241
451f001b
UD
372422011-01-13 Ulrich Drepper <drepper@gmail.com>
37243
cfa28e56
UD
37244 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
37245 in child fails because the descriptor is already closed.
8cf8ce17
UD
37246 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
37247 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
37248 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 37249
1086d70d
UD
37250 [BZ #12397]
37251 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
37252 syscall.
37253
451f001b
UD
37254 [BZ #10484]
37255 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
37256 temporary buffer used to handle multi lookups locally.
a85b5cb4 37257 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 37258
08769175
UD
372592011-01-12 Ulrich Drepper <drepper@gmail.com>
37260
37261 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
37262 loader is ld.so.
37263
5e49c52e
UD
372642011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
37265
37266 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
37267 alignment for SSE2.
37268
60522a5f
UD
372692011-01-12 Ulrich Drepper <drepper@gmail.com>
37270
37271 [BZ #12394]
37272 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
37273 characters. When rounding increased number of integer digits recompute
37274 number of groups.
37275 * stdio-common/tst-grouping.c: New file.
37276 * stdio-common/Makefile: Add rules to build and run tst-grouping.
37277
f257bbd7
UD
372782011-01-09 Ulrich Drepper <drepper@gmail.com>
37279
37280 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
37281 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
37282
37283 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
37284 void.
37285 * bits/select.h: Likewise.
37286
fa9c15cb
UD
372872011-01-08 Ulrich Drepper <drepper@gmail.com>
37288
37289 * po/ja.po: Update from translation team.
37290
16c2895f
DM
372912011-01-04 David S. Miller <davem@sunset.davemloft.net>
37292
37293 [BZ #11155]
37294 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
37295 implementation just like for lxstat, fxstatat, et al.
37296
2543fef2
JM
372972010-12-27 Jim Meyering <meyering@redhat.com>
37298
37299 [BZ #12348]
37300 * posix/regexec.c (build_trtable): Return failure indication upon
37301 calloc failure. Otherwise, re_search_internal could infloop on OOM.
37302
98727dbe
UD
373032010-12-25 Ulrich Drepper <drepper@gmail.com>
37304
5bd6dc5c
UD
37305 [BZ #12201]
37306 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
37307 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
37308 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
37309 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
37310
97983464
UD
37311 [BZ #12207]
37312 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
37313
98727dbe
UD
37314 [BZ #12204]
37315 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
37316 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
37317
4a531bb0
L
373182010-12-15 H.J. Lu <hongjiu.lu@intel.com>
37319
37320 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
37321 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
37322 script has SORT_BY_INIT_PRIORITY.
37323 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
37324 NO_CTORS_DTORS_SECTIONS is defined.
37325 * elf/soinit.c: Likewise.
37326 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
37327 NO_CTORS_DTORS_SECTIONS is defined.
37328 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
37329 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
37330 * sysdeps/sh/init-first.c: Likewise.
37331 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
37332
07eb4b71
UD
373332010-12-24 Ulrich Drepper <drepper@gmail.com>
37334
37335 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
37336 always use the slow path.
37337
30950a5f
RA
373382010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
37339
37340 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
37341 similar rule which adds the sysdep directories to the header search in
37342 order to pick up the correct platform stackinfo.h.
37343 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
37344 perform test if it is, otherwise return successfully without testing.
37345 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
37346 DEFAULT_STACK_PERMS define in stackinfo.h.
37347 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
37348 defined in stackinfo.h.
37349 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
37350 DEFAULT_STACK_PERMS defined in stackinfo.h.
37351 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
37352 * sysdeps/ia64/stackinfo.h: Likewise.
37353 * sysdeps/s390/stackinfo.h: Likewise.
37354 * sysdeps/sh/stackinfo.h: Likewise.
37355 * sysdeps/sparc/stackinfo.h: Likewise.
37356 * sysdeps/x86_64/stackinfo.h: Likewise.
37357 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
37358 PF_X for powerpc64. Retain PF_X for powerpc32.
37359
db753e2c
UD
373602010-12-19 Ulrich Drepper <drepper@gmail.com>
37361
14b697f7
UD
37362 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
37363 accurately.
db753e2c
UD
37364 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
37365 GETDENTS_64BIT_ALIGNED.
37366
28300719
UD
373672010-12-14 Ulrich Drepper <dreper@gmail.com>
37368
14b697f7 37369 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 37370
4f197237
AS
373712010-12-10 Andreas Schwab <schwab@redhat.com>
37372
dbb0472f
AS
37373 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
37374 _GNU_SOURCE.
37375
4f197237
AS
37376 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
37377 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
37378 Remove __restrict.
37379 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
37380 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
37381
fb88ac72
UD
373822010-12-09 Ulrich Drepper <drepper@gmail.com>
37383
37384 [BZ #11655]
37385 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
37386 are initialized.
37387
42acbb92
JJ
373882010-12-09 Jakub Jelinek <jakub@redhat.com>
37389
37390 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
37391
c038d98d
UD
373922010-12-03 Ulrich Drepper <drepper@gmail.com>
37393
37394 * po/it.po: Update from translation team.
37395
3a4a2499
L
373962010-12-01 H.J. Lu <hongjiu.lu@intel.com>
37397
37398 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
37399 unused codes.
37400
1e24cf6e
UD
374012010-11-30 Ulrich Drepper <drepper@gmail.com>
37402
37403 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
37404
a7690819
AS
374052010-11-24 Andreas Schwab <schwab@redhat.com>
37406
37407 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
37408 specially.
37409 (gaih_getanswer_slice): Likewise.
37410
3bf8d1b1
JJ
374112010-10-20 Jakub Jelinek <jakub@redhat.com>
37412
37413 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
37414
6db52fbb
PB
374152010-05-31 Petr Baudis <pasky@suse.cz>
37416
37417 [BZ #11149]
37418 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
37419 silently even in the chroot mode.
37420
eaca7569
UD
374212010-11-22 Ulrich Drepper <drepper@gmail.com>
37422
37423 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
37424 last patch a bit. Pretty printing
37425
3056dcdb
UD
374262010-05-31 Petr Baudis <pasky@suse.cz>
37427
37428 [BZ #10085]
37429 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
37430 initialization of skip_initgroups_dyn.
37431
cf7c9078
UD
374322010-11-19 Ulrich Drepper <drepper@gmail.com>
37433
37434 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
37435 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
37436
a1fb5e3e
UD
374372010-11-16 Ulrich Drepper <drepper@gmail.com>
37438
37439 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
37440
3540d66b
AS
374412010-11-11 Andreas Schwab <schwab@redhat.com>
37442
37443 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
37444 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
37445 (tst-fnmatch-ENV): Set MALLOC_TRACE.
37446 ($(objpfx)tst-fnmatch-mem): New rule.
37447 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
37448 * posix/tst-fnmatch.c (main): Call mtrace.
37449
13b69574
L
374502010-11-11 H.J. Lu <hongjiu.lu@intel.com>
37451
37452 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37453 Support Intel processor model 6 and model 0x2c.
37454
da93d214
LM
374552010-11-10 Luis Machado <luisgpm@br.ibm.com>
37456
37457 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
37458 signed comparison.
37459
8ca52c6e
L
374602010-11-09 H.J. Lu <hongjiu.lu@intel.com>
37461
37462 [BZ #12205]
37463 * string/test-strncasecmp.c (check_result): New function.
37464 (do_one_test): Use it.
37465 (check1): New function.
37466 (test_main): Use it.
37467 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
37468 Support strcasecmp and strncasecmp.
37469
69da074d
UD
374702010-11-08 Ulrich Drepper <drepper@gmail.com>
37471
37472 [BZ #12194]
37473 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
37474 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37475
ff02d528
L
374762010-11-07 H.J. Lu <hongjiu.lu@intel.com>
37477
37478 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
37479 IFUNC support.
37480 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37481 memset-x86-64.
37482 * sysdeps/x86_64/multiarch/bzero.S: New file.
37483 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
37484 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
37485 * sysdeps/x86_64/multiarch/memset.S: New file.
37486 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
37487 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37488 Set bit_Prefer_SSE_for_memop for Intel processors.
37489 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
37490 Define.
37491 (index_Prefer_SSE_for_memop): Define.
37492 (HAS_PREFER_SSE_FOR_MEMOP): Define.
37493
344d0b54
LM
374942010-11-04 Luis Machado <luisgpm@br.ibm.com>
37495
37496 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
37497 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
37498
c0dde15b
UD
374992010-11-03 H.J. Lu <hongjiu.lu@intel.com>
37500
37501 [BZ #12191]
37502 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37503 (__x86_64_raw_data_cache_size_half): Likewise.
37504 (__x86_64_raw_shared_cache_size): Likewise.
37505 (__x86_64_raw_shared_cache_size_half): Likewise.
37506
37507 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37508 (__x86_64_raw_data_cache_size_half): Likewise.
37509 (__x86_64_raw_shared_cache_size): Likewise.
37510 (__x86_64_raw_shared_cache_size_half): Likewise.
37511 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
37512 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
37513 and __x86_64_raw_shared_cache_size_half. Round
37514 __x86_64_data_cache_size_half, __x86_64_data_cache_size
37515 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
37516 to multiple of 256 bytes.
37517
0e516e0e
MS
375182010-11-03 Ulrich Drepper <drepper@gmail.com>
37519
37520 [BZ #12167]
37521 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
37522 of inacessible symlinks. Verify result of symlink before returning it.
37523 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
37524 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
37525
0e012e87
ER
375262010-10-28 Erich Ritz <erichritz@gmail.com>
37527
37528 * math/math.h (isinf): Fix typo in comment.
37529
de0ff7bc
UD
375302010-11-01 Ulrich Drepper <drepper@gmail.com>
37531
37532 * po/da.po: Update from translation team.
37533
fa41c84d
UD
375342010-10-26 Ulrich Drepper <drepper@gmail.com>
37535
37536 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
37537 is added to the list.
37538
f0967738
AK
375392010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37540 Ulrich Drepper <drepper@gmail.com>
37541
37542 * elf/dl-object.c (_dl_new_object): Don't append the new object to
37543 the global list here. Move code to...
37544 (_dl_add_to_namespace_list): ...here. New function.
37545 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
37546 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
37547 * elf/dl-load.c (lose): Don't remove the element from the list.
37548 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
37549 (_dl_map_object): Likewise.
37550
375512010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
37552
37553 [BZ #12159]
37554 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
37555 into all bytes of SSE register.
37556 Patch by Richard Li <richardpku@gmail.com>.
37557
f0967738 375582010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
37559
37560 [BZ #12140]
37561 * malloc/malloc.c (_int_free): Fill correct number of bytes when
37562 perturbing.
37563
d0b9e94f
MB
375642010-10-20 Michael B. Brutman <brutman@us.ibm.com>
37565
37566 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
37567 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
37568 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
37569 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
37570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
37571 submachine.
37572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
37573
8e9f92e9
AS
375742010-10-22 Andreas Schwab <schwab@redhat.com>
37575
37576 * include/dlfcn.h (__RTLD_SECURE): Define.
37577 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
37578 mode & __RTLD_SECURE instead.
37579 (open_path): Rename preloaded parameter to secure.
37580 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
37581 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
37582 * elf/dl-deps.c (openaux): Likewise.
37583 * elf/rtld.c (struct map_args): Remove is_preloaded.
37584 (map_doit): Don't use it.
37585 (dl_main): Likewise.
37586 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
37587 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
37588
bc96fbda
AS
375892010-09-09 Andreas Schwab <schwab@redhat.com>
37590
37591 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
37592 (sysd-rules-targets): Remove duplicates.
37593 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
37594 rtld-%.$o dependency.
37595
22cd1c9b
AS
375962010-10-18 Andreas Schwab <schwab@redhat.com>
37597
37598 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
37599 _dl_map_object do it.
37600
18edac48
UD
376012010-10-19 Ulrich Drepper <drepper@gmail.com>
37602
37603 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
37604 fast fma builtins, define the macros in the C99 standard.
37605 (FP_FAST_FMAF): Likewise.
37606 (FP_FAST_FMAL): Likewise.
37607 * sysdeps/x86_64/bits/mathdef.h: Likewise.
37608
37609 * bits/mathdef.h: Update copyright year.
37610 * sysdeps/powerpc/bits/mathdef.h: Likewise.
37611
d2050124
MM
376122010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
37613
37614 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
37615 builtins, define the macros in the C99 standard.
37616 (FP_FAST_FMAF): Likewise.
37617 (FP_FAST_FMAL): Likewise.
37618 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
37619 multiply/add.
37620 (FP_FAST_FMAF): Likewise.
37621
475facd1
JJ
376222010-10-15 Jakub Jelinek <jakub@redhat.com>
37623
37624 [BZ #3268]
37625 * math/libm-test.inc (fma_test): Some new testcases.
37626 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
37627 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
37628 y and infinite z. Do multiplication by C already in long double.
37629 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
37630 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
37631 y and infinite z. Do bitwise or of inexact bit into u.d.
37632 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
37633 * sysdeps/i386/fpu/s_fmaf.S: Removed.
37634 * sysdeps/i386/fpu/s_fma.S: Removed.
37635 * sysdeps/i386/fpu/s_fmal.S: Removed.
37636
7c08a05c
JJ
376372010-10-16 Jakub Jelinek <jakub@redhat.com>
37638
37639 [BZ #3268]
37640 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
37641 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
37642 computation is not scheduled after fetestexcept. Fix value
37643 of minimum denormal long double.
37644
f3f7372d
JJ
376452010-10-14 Jakub Jelinek <jakub@redhat.com>
37646
37647 [BZ #3268]
37648 * math/libm-test.inc (fma_test): Add some more tests.
37649 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
37650 correctly.
37651
14d43591
AS
376522010-10-15 Andreas Schwab <schwab@redhat.com>
37653
37654 * scripts/data/localplt-s390-linux-gnu.data: New file.
37655 * scripts/data/localplt-s390x-linux-gnu.data: New file.
37656
5e908464
JJ
376572010-10-13 Jakub Jelinek <jakub@redhat.com>
37658
37659 [BZ #3268]
37660 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
37661 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
37662 instead of dbl-64.
37663 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
37664 inlines.
37665 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
37666 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
37667 if one of x and y is very large and the other is subnormal.
37668 * sysdeps/s390/fpu/s_fmaf.c: New file.
37669 * sysdeps/s390/fpu/s_fma.c: New file.
37670 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
37671 * sysdeps/powerpc/fpu/s_fma.S: New file.
37672 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
37673 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
37674 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
37675
376762010-10-12 Jakub Jelinek <jakub@redhat.com>
37677
37678 [BZ #3268]
37679 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
37680 fma tests.
37681 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
37682 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
37683 * sysdeps/i386/i686/multiarch/s_fma.c: Include
37684 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
37685 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
37686 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
37687 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
37688
b833d51f
UD
376892010-10-12 Ulrich Drepper <drepper@redhat.com>
37690
37691 [BZ #12078]
37692 * posix/regcomp.c (parse_branch): One more memory leak plugged.
37693 * posix/bug-regex31.input: Add test case.
37694
1751705d
UD
376952010-10-11 Ulrich Drepper <drepper@gmail.com>
37696
e9b9cbf5
UD
37697 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
37698 * posix/bug-regex31.input: New file.
37699
37700 [BZ #12078]
37701 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
37702 (parse_sub_exp): Fix last change, use postorder.
37703
ef06edbe
UD
37704 * posix/bug-regex31.c: New file.
37705 * posix/Makefile: Add rules to build and run bug-regex31.
37706
a129c80d
UD
37707 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
37708
37709 [BZ #12078]
37710 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
37711
b76b818e
UD
37712 [BZ #12108]
37713 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
37714 to have entries in sys_siglist.
37715
1751705d
UD
37716 [BZ #12093]
37717 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
37718 be NULL.
37719
9ff8d36f
JJ
377202010-10-07 Jakub Jelinek <jakub@redhat.com>
37721
37722 [BZ #3268]
37723 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
37724 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
37725 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
37726 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
37727 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37728 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
37729 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
37730 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
37731 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
37732 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
37733 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
37734 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
37735 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
37736 * math/ftestexcept.c (fetestexcept): Likewise.
37737 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
37738 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
37739 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
37740 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
37741 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
37742 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
37743 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37744
af325969
UD
377452010-10-11 Ulrich Drepper <drepper@gmail.com>
37746
c579b202 37747 [BZ #12107]
af325969
UD
37748 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
37749 newline.
37750
67a67b95
UD
377512010-10-06 Ulrich Drepper <drepper@gmail.com>
37752
37753 * string/bug-strstr1.c: New file.
37754 * string/Makefile: Add rules to build and run bug-strstr1.
37755
5fb308bc
EB
377562010-10-05 Eric Blake <eblake@redhat.com>
37757
37758 [BZ #12092]
37759 * string/str-two-way.h (two_way_long_needle): Always clear memory
37760 when skipping input due to the shift table.
37761
45db99c7
UD
377622010-10-03 Ulrich Drepper <drepper@gmail.com>
37763
3b111893
UD
37764 [BZ #12005]
37765 * malloc/mcheck.c: Handle large requests.
37766
45db99c7
UD
37767 [BZ #12077]
37768 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
37769 for strncmp and strncasecmp.
37770 * string/stratcliff.c: Add tests for strcmp and strncmp.
37771 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
37772
cf7a1eb8
NI
377732010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37774
37775 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
37776 __set_fpscr.
37777
6484ba5e
AJ
377782010-09-30 Andreas Jaeger <aj@suse.de>
37779
37780 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
37781 (CGROUP_SUPER_MAGIC): Define.
37782 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37783 Handle btrfs and cgroup file systems.
37784 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
37785 Likewise.
37786
91c42559
LM
377872010-09-27 Luis Machado <luisgpm@br.ibm.com>
37788
37789 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
37790 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
37791
87a97932
AK
377922010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37793
37794 [BZ #12067]
37795 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
37796 trying to locate the ELF header.
37797
c21cc9bc
AS
377982010-09-27 Andreas Schwab <schwab@redhat.com>
37799
37800 [BZ #11611]
37801 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
37802 Mask out sign-bit copies when constructing f_fsid.
37803
315970f6
PB
378042010-09-24 Petr Baudis <pasky@suse.cz>
37805
37806 * debug/stack_chk_fail_local.c: Add missing licence exception.
37807 * debug/warning-nop.c: Likewise.
37808
1ac7a2c7
JM
378092010-09-15 Joseph Myers <joseph@codesourcery.com>
37810
37811 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
37812 implementing getdents64 using getdents syscall, set d_type if
37813 __ASSUME_GETDENTS32_D_TYPE.
37814
56801c50
AS
378152010-09-16 Andreas Schwab <schwab@redhat.com>
37816
37817 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
37818 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
37819
dda51327
UD
378202010-09-21 Ulrich Drepper <drepper@redhat.com>
37821
37822 [BZ #12037]
37823 * posix/unistd.h: Undo change of feature selection for ftruncate from
37824 2010-01-11.
37825
8ffcee4a
UD
378262010-09-20 Ulrich Drepper <drepper@redhat.com>
37827
a545ecd9 37828 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
37829 detection.
37830
e24f0a8b
AS
378312010-09-20 Andreas Schwab <schwab@redhat.com>
37832
37833 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
37834 fanotify_mark.
37835 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37836
7291c56f
AS
378372010-09-14 Andreas Schwab <schwab@redhat.com>
37838
37839 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
37840 variables after CHECK_SP call.
37841 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
37842
bc5fb037
AS
378432010-09-13 Andreas Schwab <schwab@redhat.com>
37844 Ulrich Drepper <drepper@redhat.com>
37845
37846 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
37847 re-relocationg ld.so.
37848 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
37849 _dl_init_paths call.
37850 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
37851 here anymore.
37852
e66e7419
UD
378532010-09-14 Ulrich Drepper <drepper@redhat.com>
37854
37855 * resolv/res_init.c (__res_vinit): Count the default server we added.
37856
c044aa75
CLT
378572010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
37858 Ulrich Drepper <drepper@redhat.com>
37859
37860 [BZ #11968]
37861 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
37862 (____longjmp_chk): Use %ebx for saving value across system call.
37863 Add unwind info.
37864
32cf4069
AS
378652010-09-06 Andreas Schwab <schwab@redhat.com>
37866
37867 * manual/Makefile: Don't mix pattern rules with normal rules.
37868
817328ee
AS
378692010-09-05 Andreas Schwab <schwab@linux-m68k.org>
37870
37871 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
37872 operation.
37873 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
37874 * libio/iofopncook.c (_IO_cookie_init): Likewise.
37875 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
37876 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
37877 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37878 Likewise.
37879
29fddf61
UD
378802010-09-04 Ulrich Drepper <drepper@redhat.com>
37881
37882 [BZ #11979]
37883 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
37884 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
37885
0959ffc9
UD
378862010-09-02 Ulrich Drepper <drepper@redhat.com>
37887
37888 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
37889 * sysdeps/x86_64/addmul_1.S: Likewise.
37890 * sysdeps/x86_64/lshift.S: Likewise.
37891 * sysdeps/x86_64/mul_1.S: Likewise.
37892 * sysdeps/x86_64/rshift.S: Likewise.
37893 * sysdeps/x86_64/sub_n.S: Likewise.
37894 * sysdeps/x86_64/submul_1.S: Likewise.
37895
ece29840
ST
378962010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
37897
0959ffc9
UD
37898 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
37899 Define __sched_param instead of SCHED_* and sched_param when
ece29840 37900 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 37901 * bits/sched.h [__need_schedparam]
ece29840 37902 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
37903 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
37904 (__defined_schedparam): Define to 1.
ece29840
ST
37905 (__sched_param): New structure, identical to sched_param.
37906 (__need_schedparam): Undefine.
37907
e53a31fe
MF
379082010-08-31 Mike Frysinger <vapier@gentoo.org>
37909
fdc0c10d
MF
37910 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
37911 (epoll_create1): Declare.
37912
e53a31fe
MF
37913 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
37914
a726d796
AS
379152010-08-31 Andreas Schwab <schwab@redhat.com>
37916
37917 [BZ #7066]
37918 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
37919 shifting retval into place.
37920
2f3e3dc7
UD
379212010-09-01 Ulrich Drepper <drepper@redhat.com>
37922
f2933da9
UD
37923 * nis/rpcsvc/nis.h: Update copyright notice.
37924 * nis/rpcsvc/nis.x: Likewise.
37925 * nis/rpcsvc/nis_callback.h: Likewise.
37926 * nis/rpcsvc/nis_callback.x: Likewise.
37927 * nis/rpcsvc/nis_object.x: Likewise.
37928 * nis/rpcsvc/nis_tags.h: Likewise.
37929 * nis/rpcsvc/yp.h: Likewise.
37930 * nis/rpcsvc/yp.x: Likewise.
37931 * nis/rpcsvc/ypupd.h: Likewise.
37932 * nis/yp_xdr.c: Likewise.
37933 * nis/ypupdate_xdr.c: Likewise.
37934
2f3e3dc7
UD
37935 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
37936 mainly the body of pmap_getport. Add parameters to specify timeouts.
37937 (pmap_getport): Use __libc_rpc_getport.
37938 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
37939 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
37940 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
37941
f3dcc2f9
AS
379422010-08-31 Andreas Schwab <schwab@linux-m68k.org>
37943
37944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
37945 fanotify_mark.
37946
6d34eb5b
RM
379472010-08-27 Roland McGrath <roland@redhat.com>
37948
37949 * sysdeps/i386/i686/multiarch/Makefile
37950 (CFLAGS-varshift.c): New variable.
37951
9ea3de11
UD
379522010-08-27 Ulrich Drepper <drepper@redhat.com>
37953
c96d23fc
UD
37954 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
37955 * sysdeps/i386/i686/multiarch/varshift.c: New file.
37956
9ea3de11
UD
37957 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
37958
37959 * sysdeps/x86_64/strlen.S: Minimal code improvement.
37960
623aac7f
L
379612010-08-26 H.J. Lu <hongjiu.lu@intel.com>
37962
37963 * sysdeps/x86_64/strlen.S: Unroll the loop.
37964 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37965 strlen-sse2 strlen-sse2-bsf.
37966 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
37967 __strlen_no_bsf if bit_Slow_BSF is set.
37968 (__strlen_sse42): Removed.
37969 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
37970 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
37971
8b2b7715
RM
379722010-08-25 Roland McGrath <roland@redhat.com>
37973
37974 * sysdeps/x86_64/multiarch/varshift.S: File removed.
37975 * sysdeps/x86_64/multiarch/varshift.c: New file.
37976 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
37977 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
37978 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
37979 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
37980
e73015f2
L
379812010-08-25 H.J. Lu <hongjiu.lu@intel.com>
37982
37983 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37984 strlen-sse2 strlen-sse2-bsf.
37985 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
37986 __strlen_sse2_bsf if bit_Slow_BSF is unset.
37987 (__strlen_sse2): Removed.
37988 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
37989 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
37990 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
37991 bit_Slow_BSF for Atom.
37992 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
37993 (index_Slow_BSF): Define.
37994 (HAS_SLOW_BSF): Define.
37995
df24a73e
UD
379962010-08-25 Ulrich Drepper <drepper@redhat.com>
37997
37998 [BZ #10851]
37999 * resolv/res_init.c (__res_vinit): When no server address at all
38000 is given default to loopback.
38001
f2ac4868
RM
380022010-08-24 Roland McGrath <roland@redhat.com>
38003
09055553
RM
38004 * configure.in: Remove config-name.h generation.
38005 * configure: Regenerated.
38006 * config-name.in: File removed.
38007 * scripts/config-uname.sh: New file.
38008 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
38009 ($(objdir)config-name.h): New target.
38010
f2ac4868
RM
38011 * sunrpc/rpc_parse.h: Avoid nested comment.
38012
73f27d5e
RH
380132010-08-24 Richard Henderson <rth@redhat.com>
38014 Ulrich Drepper <drepper@redhat.com>
38015 H.J. Lu <hongjiu.lu@intel.com>
38016
38017 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
38018 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
38019 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
38020 Replace _mm_srli_si128 with __m128i_shift_right. Replace
38021 _mm_alignr_epi8 with _mm_loadu_si128.
38022 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
38023 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
38024 (__m128i_shift_right): Removed.
38025 * sysdeps/i386/i686/multiarch/varshift.h: New file.
38026 * sysdeps/i386/i686/multiarch/varshift.S: New file.
38027 * sysdeps/x86_64/multiarch/varshift.h: New file.
38028 * sysdeps/x86_64/multiarch/varshift.S: New file.
38029
84b9230c
MF
380302010-08-21 Mike Frysinger <vapier@gentoo.org>
38031
38032 * configure.in: Move assembler checks to before sysdep dir checking.
38033
9bbd0ddc
PB
380342010-08-20 Petr Baudis <pasky@suse.cz>
38035
38036 * LICENSES: Sync the sunrpc license.
38037
9da4bb31
UD
380382010-08-19 Ulrich Drepper <drepper@redhat.com>
38039
a7ab6ec8
UD
38040 * sunrpc/auth_des.c: Update copyright notice once again.
38041 * sunrpc/auth_none.c: Likewise.
38042 * sunrpc/auth_unix.c: Likewise.
38043 * sunrpc/authdes_prot.c: Likewise.
38044 * sunrpc/authuxprot.c: Likewise.
38045 * sunrpc/bindrsvprt.c: Likewise.
38046 * sunrpc/clnt_gen.c: Likewise.
38047 * sunrpc/clnt_perr.c: Likewise.
38048 * sunrpc/clnt_raw.c: Likewise.
38049 * sunrpc/clnt_simp.c: Likewise.
38050 * sunrpc/clnt_tcp.c: Likewise.
38051 * sunrpc/clnt_udp.c: Likewise.
38052 * sunrpc/clnt_unix.c: Likewise.
38053 * sunrpc/des_crypt.c: Likewise.
38054 * sunrpc/des_soft.c: Likewise.
38055 * sunrpc/get_myaddr.c: Likewise.
38056 * sunrpc/getrpcport.c: Likewise.
38057 * sunrpc/key_call.c: Likewise.
38058 * sunrpc/key_prot.c: Likewise.
38059 * sunrpc/openchild.c: Likewise.
38060 * sunrpc/pm_getmaps.c: Likewise.
38061 * sunrpc/pm_getport.c: Likewise.
38062 * sunrpc/pmap_clnt.c: Likewise.
38063 * sunrpc/pmap_prot.c: Likewise.
38064 * sunrpc/pmap_prot2.c: Likewise.
38065 * sunrpc/pmap_rmt.c: Likewise.
38066 * sunrpc/rpc/auth.h: Likewise.
38067 * sunrpc/rpc/auth_unix.h: Likewise.
38068 * sunrpc/rpc/clnt.h: Likewise.
38069 * sunrpc/rpc/des_crypt.h: Likewise.
38070 * sunrpc/rpc/key_prot.h: Likewise.
38071 * sunrpc/rpc/netdb.h: Likewise.
38072 * sunrpc/rpc/pmap_clnt.h: Likewise.
38073 * sunrpc/rpc/pmap_prot.h: Likewise.
38074 * sunrpc/rpc/pmap_rmt.h: Likewise.
38075 * sunrpc/rpc/rpc.h: Likewise.
38076 * sunrpc/rpc/rpc_des.h: Likewise.
38077 * sunrpc/rpc/rpc_msg.h: Likewise.
38078 * sunrpc/rpc/svc.h: Likewise.
38079 * sunrpc/rpc/svc_auth.h: Likewise.
38080 * sunrpc/rpc/types.h: Likewise.
38081 * sunrpc/rpc/xdr.h: Likewise.
38082 * sunrpc/rpc_clntout.c: Likewise.
38083 * sunrpc/rpc_cmsg.c: Likewise.
38084 * sunrpc/rpc_common.c: Likewise.
38085 * sunrpc/rpc_cout.c: Likewise.
38086 * sunrpc/rpc_dtable.c: Likewise.
38087 * sunrpc/rpc_hout.c: Likewise.
38088 * sunrpc/rpc_main.c: Likewise.
38089 * sunrpc/rpc_parse.c: Likewise.
38090 * sunrpc/rpc_parse.h: Likewise.
38091 * sunrpc/rpc_prot.c: Likewise.
38092 * sunrpc/rpc_sample.c: Likewise.
38093 * sunrpc/rpc_scan.c: Likewise.
38094 * sunrpc/rpc_scan.h: Likewise.
38095 * sunrpc/rpc_svcout.c: Likewise.
38096 * sunrpc/rpc_tblout.c: Likewise.
38097 * sunrpc/rpc_util.c: Likewise.
38098 * sunrpc/rpc_util.h: Likewise.
38099 * sunrpc/rpcinfo.c: Likewise.
38100 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
38101 * sunrpc/rpcsvc/key_prot.x: Likewise.
38102 * sunrpc/rpcsvc/klm_prot.x: Likewise.
38103 * sunrpc/rpcsvc/mount.x: Likewise.
38104 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
38105 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
38106 * sunrpc/rpcsvc/rex.x: Likewise.
38107 * sunrpc/rpcsvc/rstat.x: Likewise.
38108 * sunrpc/rpcsvc/rusers.x: Likewise.
38109 * sunrpc/rpcsvc/sm_inter.x: Likewise.
38110 * sunrpc/rpcsvc/spray.x: Likewise.
38111 * sunrpc/rpcsvc/yppasswd.x: Likewise.
38112 * sunrpc/rtime.c: Likewise.
38113 * sunrpc/svc.c: Likewise.
38114 * sunrpc/svc_auth.c: Likewise.
38115 * sunrpc/svc_authux.c: Likewise.
38116 * sunrpc/svc_raw.c: Likewise.
38117 * sunrpc/svc_run.c: Likewise.
38118 * sunrpc/svc_simple.c: Likewise.
38119 * sunrpc/svc_tcp.c: Likewise.
38120 * sunrpc/svc_udp.c: Likewise.
38121 * sunrpc/svc_unix.c: Likewise.
38122 * sunrpc/svcauth_des.c: Likewise.
38123 * sunrpc/xcrypt.c: Likewise.
38124 * sunrpc/xdr.c: Likewise.
38125 * sunrpc/xdr_array.c: Likewise.
38126 * sunrpc/xdr_float.c: Likewise.
38127 * sunrpc/xdr_mem.c: Likewise.
38128 * sunrpc/xdr_rec.c: Likewise.
38129 * sunrpc/xdr_ref.c: Likewise.
38130 * sunrpc/xdr_sizeof.c: Likewise.
38131 * sunrpc/xdr_stdio.c: Likewise.
38132
9da4bb31
UD
38133 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
38134 handling.
38135
bdaa77bc
AS
381362010-08-19 Andreas Schwab <schwab@redhat.com>
38137
38138 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
38139
fe2f79db
LM
381402010-08-19 Luis Machado <luisgpm@br.ibm.com>
38141
38142 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
38143 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
38144 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
38145 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
38146 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
38147 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
38148 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
38149 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
38150 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
38151 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
38152 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
38153 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
38154 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
38155 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
38156
b9b42ee0
AB
381572010-07-26 Anton Blanchard <anton@samba.org>
38158
38159 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
38160 * malloc/arena.c (heap_trim): Likewise.
38161
1c06ba31
UD
381622010-08-16 Ulrich Drepper <drepper@redhat.com>
38163
38164 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
38165 here. Not...
38166 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
38167 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
38168
f8392f40
L
381692010-08-12 H.J. Lu <hongjiu.lu@intel.com>
38170
38171 * sysdeps/i386/elf/Makefile: New file.
38172
3162f12e
AS
381732010-08-14 Andreas Schwab <schwab@linux-m68k.org>
38174
38175 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
38176 from fanotify_init.
38177 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
38178 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
38179
28c90b2c
UD
381802010-08-15 Ulrich Drepper <drepper@redhat.com>
38181
38182 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
38183 of strncasecmp_l.
1feccb6c 38184 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 38185
ca6bb004
UD
381862010-08-14 Ulrich Drepper <drepper@redhat.com>
38187
e9f82e0d
UD
38188 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
38189 strncase_l-nonascii.
38190 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
38191 Add strncase_l-ssse3.
38192 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
38193 * sysdeps/x86_64/strcmp.S: Likewise.
38194 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
38195 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
38196 * sysdeps/x86_64/strncase.S: New file.
38197 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
38198 * sysdeps/x86_64/strncase_l.S: New file.
38199 * string/Makefile (strop-tests): Add strncasecmp.
38200 * string/test-strncasecmp.c: New file.
38201
38202 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
38203 warning.
38204
ca6bb004
UD
38205 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
38206 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
38207
052fa7b3
AS
382082010-08-14 Andreas Schwab <schwab@linux-m68k.org>
38209
38210 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
38211
962dba78
UD
382122010-08-12 Ulrich Drepper <drepper@redhat.com>
38213
38214 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
38215 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
38216 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
38217
bebff237
AM
382182010-05-01 Alan Modra <amodra@gmail.com>
38219
38220 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
38221 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
38222 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
38223 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
38224 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
38225 tidying. Don't tail-call __sigjmp_save for static lib.
38226 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
38227 save location.
38228 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
38229 (CALL_MCOUNT): Add eh info, and nop after bl.
38230 (TAIL_CALL_SYSCALL_ERROR): New macro.
38231 (PSEUDO_RET): Use it.
38232 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
38233 Correct save location of integer regs and cr.
38234 (_dl_profile_resolve): Correct cr save location. Delete nops
38235 after bl when SHARED. Reduce cfi size a little by better
38236 placement of cfi directives.
38237 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
38238 make a stack frame. Instead use parm save area as a temp.
38239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
38240 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
38241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
38242 Don't make a stack frame for parent, use parm save area.
38243 Increase child stack frame to 112 bytes. Don't save unused reg,
38244 and adjust reg usage. Set up cfi on error recovery and
38245 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
38246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
38247 (__makecontext): Add dummy nop after jump to exit.
38248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
38249 Use correct parm save area and cr save, reduce stack frame.
38250 Correct cfi for possible PSEUDO_RET frame setup.
38251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
38252 Branch to local label emitted by PSEUDO_RET rather than
38253 __syscall_error.
38254
02637374
AS
382552010-08-12 Andreas Schwab <schwab@redhat.com>
38256
38257 [BZ #11904]
38258 * locale/programs/locale.c (print_assignment): New function.
38259 (show_locale_vars): Use it.
38260
c3e2f19b
UD
382612010-08-11 Ulrich Drepper <drepper@redhat.com>
38262
3cdaa6ad
UD
38263 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
38264 field.
38265 (struct statfs64): Likewise.
38266 (_STATFS_F_FLAGS): Define.
38267 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
38268 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38269 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
38270 (ST_VALID): Define locally.
38271 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
38272 __statvfs_getflags, use the provided value.
38273 * sysdeps/unix/sysv/linux/kernel-features.h: Define
38274 __ASSUME_STATFS_F_FLAGS.
38275
754f7da3
UD
38276 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
38277
10b3bedc
UD
38278 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
38279 Add sys/fanotify.h.
38280 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
38281 fanotify_mask for GLIBC_2.13.
38282 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
38283 fanotify_init and fanotify_mark.
38284 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
38285 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
38286
c08fb0d7
UD
38287 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
38288 Add prlimit.
38289 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
38290 prlimit64 for GLIBC_2.13.
38291 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
38292 prlimit64.
38293 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
38294 syscall.
38295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
38296 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
38297 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
38298 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
38299 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
38300 add prlimit alias.
38301 * sysdeps/unix/sysv/linux/prlimit.c: New file.
38302
15bac72b
UD
38303 [BZ #11903]
38304 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
38305 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
38306
c3e2f19b
UD
38307 * nss/Makefile: Add rules to build and run tst-nss-test1.
38308 * shlib-versions: Add entry for libnss_test1.
38309 * nss/nss_test1.c: New file.
38310 * nss/tst-nss-test1.c: New file.
38311
38312 * nss/nsswitch.c (__nss_database_custom): Define new variable.
38313 (__nss_configure_lookup): Set appropriate entry in
38314 __nss_configure_lookup to true.
38315 * nss/nsswitch.h: Define enum with indeces of databases in
38316 databases and __nss_database_custom arrays. Declare
38317 __nss_database_custom.
38318 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
38319 to avoid using nscd when custom rules are installed.
38320 * nss/getXXbyYY_r.c: Likewise.
38321 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
38322
38323 * nss/nss_files/files-parse.c: Whitespace fixes.
38324
f15ce4d8
UD
383252010-08-09 Ulrich Drepper <drepper@redhat.com>
38326
38327 [BZ #11883]
38328 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
38329 * posix/fnmatch_loop.c: Likewise.
38330
d22e4cc9
AK
383312010-07-17 Andi Kleen <ak@linux.intel.com>
38332
38333 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
38334 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
38335 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
38336 * Versions.def [GLIBC_2.13]: Add.
38337
805bc17d
UD
383382010-08-06 Ulrich Drepper <drepper@redhat.com>
38339
38340 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
38341 Also fail if tpwd after pwuid call is NULL.
38342
5a42321d
ST
383432010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
38344
38345 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
38346 when converting to ms.
38347
fd3ebeda
ST
383482010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
38349
38350 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
38351 EOPNOTSUPP errors with ENOTTY.
38352 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
38353 EOPNOTSUPP errors with ENOTTY.
38354
73507d3a
UD
383552010-07-31 Ulrich Drepper <drepper@redhat.com>
38356
38357 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
38358 Add strcasecmp_l-ssse3.
38359 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
38360 strcasecmp.
38361 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
38362 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
38363 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
38364
fe36dd02
UD
383652010-07-30 Ulrich Drepper <drepper@redhat.com>
38366
66f6765a
UD
38367 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
38368
42e08a54
UD
38369 * string/Makefile (strop-tests): Add strcasecmp.
38370 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
38371 strcasecmp_l-nonascii.
38372 (gen-as-const-headers): Add locale-defines.sym.
38373 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
38374 * sysdeps/x86_64/strcasecmp.S: New file.
38375 * sysdeps/x86_64/strcasecmp_l.S: New file.
38376 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
38377 * sysdeps/x86_64/locale-defines.sym: New file.
38378 * string/test-strcasecmp.c: New file.
38379
fe36dd02
UD
38380 * string/test-strcasestr.c: Test both ends of the range of characters.
38381 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
38382
48cbc0d6
RM
383832010-07-29 Roland McGrath <roland@redhat.com>
38384
76e6d6bc 38385 [BZ #11856]
48cbc0d6
RM
38386 * manual/locale.texi (Yes-or-No Questions): Fix example code.
38387
880113d9
UD
383882010-07-27 Ulrich Drepper <drepper@redhat.com>
38389
38390 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
38391 for ld.so.
38392
deb9cabb
AS
383932010-07-27 Andreas Schwab <schwab@redhat.com>
38394
38395 * manual/memory.texi (Malloc Tunable Parameters): Document
38396 M_PERTURB.
38397
1c7570ff
RM
383982010-07-26 Roland McGrath <roland@redhat.com>
38399
38400 [BZ #11840]
38401 * configure.in (-fgnu89-inline check): Set and substitute
38402 gnu89_inline, not libc_cv_gnu89_inline.
38403 * configure: Regenerated.
38404 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
38405
24fb0f88
UD
384062010-07-26 Ulrich Drepper <drepper@redhat.com>
38407
38408 * string/test-strnlen.c: New file.
38409 * string/Makefile (strop-tests): Add strnlen.
38410 * string/tester.c (test_strnlen): Add a few more test cases.
38411 * string/tst-strlen.c: Better error reporting.
38412
38413 * sysdeps/x86_64/strnlen.S: New file.
38414
8e96b93a
UD
384152010-07-24 Ulrich Drepper <drepper@redhat.com>
38416
38417 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
38418 lower-latency instructions.
38419
dbc676d4
UD
384202010-07-23 Ulrich Drepper <drepper@redhat.com>
38421
38422 * string/test-strcasestr.c: New file.
38423 * string/test-strstr.c: New file.
38424 * string/Makefile (strop-tests): Add strstr and strcasestr.
38425 * string/str-two-way.h: Don't undefine MAX.
38426 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
38427
f6a31e0e
AS
384282010-07-21 Andreas Schwab <schwab@redhat.com>
38429
38430 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38431 strcasestr-nonascii.
38432 (CFLAGS-strcasestr-nonascii.c): Define.
38433 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
38434 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
38435 Remove unused attribute.
38436
5dbc3b6c
RM
384372010-07-20 Roland McGrath <roland@redhat.com>
38438
38439 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
38440 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
38441 ld.so.cache was broken. With it, there is no way to disable dsocaps
38442 like LD_HWCAP_MASK can disable hwcaps.
38443
23d101d8
EPM
384442010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
38445
38446 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
38447
cc9f2e47
UD
384482010-07-16 Ulrich Drepper <drepper@redhat.com>
38449
38450 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
38451 call in strcasestr.
38452 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
38453 __strcasestr_sse42_nonascii.
38454 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
38455 strcasestr-nonascii.c.
38456 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
38457
77c1b069
LM
384582010-06-15 Luis Machado <luisgpm@br.ibm.com>
38459
38460 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
38461 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
38462 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
38463 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
38464
440566c3
UD
384652010-07-09 Ulrich Drepper <drepper@redhat.com>
38466
38467 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
38468 fcntl.
38469
5be9d05d
AS
384702010-07-06 Andreas Schwab <schwab@redhat.com>
38471
c30b7ee2 38472 [BZ #11577]
5be9d05d
AS
38473 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
38474 dl_signal_cerror.
38475
8a492a67
UD
384762010-07-06 Ulrich Drepper <drepper@redhat.com>
38477
38478 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
38479 _PC_PIPE_BUF using F_GETPIPE_SZ.
38480
713df3d5
RM
384812010-07-05 Roland McGrath <roland@redhat.com>
38482
38483 * manual/arith.texi (Rounding Functions): Fix rint description
38484 implicit in round description.
38485
702e8f14
UD
384862010-07-02 Ulrich Drepper <drepper@redhat.com>
38487
38488 * elf/Makefile: Fix linking for a few tests to make recent linker
38489 happy.
38490
52ed8be9
AS
384912010-06-30 Andreas Schwab <schwab@redhat.com>
38492
38493 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
38494 $(common-objpfx)libc_nonshared.a.
38495
f47c9a11
LM
384962010-06-21 Luis Machado <luisgpm@br.ibm.com>
38497
38498 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
38499 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
38500 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38501 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38502 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
38503 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
38504 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38505 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
38507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
38508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
38509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
38511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
38513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
38514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
38515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
38516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
38518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
38520 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
38521 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
38522 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
38523 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
38524 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
38525 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
38526 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
38527 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
38528 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
38529 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
38530 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
38531 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
38532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
38533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
38534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
38535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
38536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
38537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
38538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
38539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
38540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
38541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
38542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
38543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
38544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
38545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
38546
6fb8cbcb
L
385472010-06-25 H.J. Lu <hongjiu.lu@intel.com>
38548
38549 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
38550 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
38551 * string/memmove.c (memmove): Renamed to ...
38552 (MEMMOVE): ...this. Default to memmove.
38553 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
38554 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
38555 (END_CHK): Define.
38556 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38557 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
38558 mempcpy-ssse3-back memmove-ssse3-back.
38559 * sysdeps/x86_64/multiarch/bcopy.S: New file .
38560 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
38561 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
38562 * sysdeps/x86_64/multiarch/memcpy.S: New file.
38563 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
38564 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
38565 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
38566 * sysdeps/x86_64/multiarch/memmove.c: New file.
38567 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
38568 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
38569 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
38570 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
38571 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
38572 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
38573 Define.
38574 (index_Fast_Copy_Backward): Define.
38575 (HAS_ARCH_FEATURE): Define.
38576 (HAS_FAST_REP_STRING): Define.
38577 (HAS_FAST_COPY_BACKWARD): Define.
38578
4e733bac 385792010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
38580
38581 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
38582 Restore proper fallback handling.
38583
63c4ed22
UD
385842010-06-19 Ulrich Drepper <drepper@redhat.com>
38585
ac2b484c
UD
38586 [BZ #11701]
38587 * posix/group_member.c (__group_member): Correct checking loop.
38588
63c4ed22
UD
38589 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
38590 OOM in getpwuid_r correctly. Return error number when the caller
38591 should return, otherwise -1.
38592 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
38593 call returning > 0 value.
38594 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
38595
765ade4b
AS
385962010-06-07 Andreas Schwab <schwab@redhat.com>
38597
38598 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
38599 libc_nonshared.a from targets in modules-names.
38600
80da2e09
KS
386012010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
38602
38603 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
38604 requires it.
38605
158db122
LM
386062010-06-10 Luis Machado <luisgpm@br.ibm.com>
38607
38608 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
38609 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
38610 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
38611 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
38612
caa78cf8
AS
386132010-06-02 Andreas Schwab <schwab@redhat.com>
38614
38615 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
38616
b2ef2c01
UD
386172010-06-14 Ulrich Drepper <drepper@redhat.com>
38618
38619 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
38620 and F_GETPIPE_SZ.
38621 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
38622 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38623 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38624 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38625 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38626 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
38627
fbd643b6
RM
386282010-06-14 Roland McGrath <roland@redhat.com>
38629
38630 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
38631
f32f2869
JJ
386322010-06-07 Jakub Jelinek <jakub@redhat.com>
38633
38634 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
38635 __REDIRECT followed by __THROW.
38636 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
38637 * posix/getopt.h (getopt): Likewise.
38638
2a50c078
EPM
386392010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
38640
38641 * hurd/lookup-at.c (__file_name_lookup_at): Accept
38642 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
38643 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
38644 in AT_FLAGS.
38645 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
38646 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
38647
eb5ad2eb
LM
386482010-05-28 Luis Machado <luisgpm@br.ibm.com>
38649
38650 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
38651
3c88fe1e
L
386522010-05-26 H.J. Lu <hongjiu.lu@intel.com>
38653
38654 [BZ #11640]
38655 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38656 Properly check family and model.
38657
d2f73151
TY
386582010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
38659
38660 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
38661
ebd2e13d
LM
386622010-05-24 Luis Machado <luisgpm@br.ibm.com>
38663
38664 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
38665
b32b8b45
UD
386662010-05-21 Ulrich Drepper <drepper@redhat.com>
38667
38668 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
38669 symbol reference.
38670
9acbe24d
AS
386712010-05-19 Andreas Schwab <schwab@redhat.com>
38672
38673 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
38674 symbol reference.
38675
f0ccf6ea
AS
386762010-05-21 Andreas Schwab <schwab@redhat.com>
38677
3d04ff3a
AS
38678 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
38679 and internal_recvmmsg.
38680 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
38681 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
38682 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
38683 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
38684
f0ccf6ea
AS
38685 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
38686 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
38687 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
38688
5b08ac57
AS
386892010-05-20 Andreas Schwab <schwab@redhat.com>
38690
38691 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
38692
4828935d
LM
386932010-05-17 Luis Machado <luisgpm@br.ibm.com>
38694
38695 POWER7 optimizations.
38696 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
38697 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
38698
373d545e
UD
386992010-05-19 Ulrich Drepper <drepper@redhat.com>
38700
38701 * version.h: Update for 2.13 development version.
38702
21a2b1ae
AS
387032010-05-12 Andrew Stubbs <ams@codesourcery.com>
38704
38705 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
38706 exceptions. Return 0.
38707
3f7dcb2b
RM
387082010-05-07 Roland McGrath <roland@redhat.com>
38709
38710 * elf/ldconfig.c (main): Add a const.
38711
5f24d53a 387122010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 38713
a160f8d8
UD
38714 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
38715 (args_options): Add no-idn option.
38716 (ahosts_keys_int): Add idn_flags to ai_flags.
38717 (parse_option): Handle 'i' option to clear idn_flags.
38718
5f24d53a
UD
38719 * malloc/malloc.c (_int_free): Possible race in the most recently
38720 added check. Only act on the data if no current modification
38721 happened.
265bb1ce
UD
38722
38723See ChangeLog.17 for earlier changes.
This page took 5.188956 seconds and 5 git commands to generate.